/* Importa a fonte Geometos Rounded localmente (formato TTF, nome em caixa alta) */
@font-face {
    font-family: 'GEOMETOS ROUNDED';
    src: url('../fonte/GeometosRounded.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Importa a fonte Geometos Rounded do Google Fonts (ou local, se disponível) */
@import url('https://fonts.googleapis.com/css2?family=Geometos+Rounded:wght@700&display=swap');

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html { scroll-behavior: smooth; }
/* garante espaço quando o alvo é ancorado (#id) */
section, .section { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  section, .section { scroll-margin-top: 80px; }
}

/* Variáveis CSS para cores da Ativecon */
:root {
    --ativecon-orange: #DB4600;
    --ativecon-orange-light: #FF8E01;
    --ativecon-black: #000000;
    --ativecon-gray: #CBCBCB;
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--ativecon-black);
}

/* Aplica GEOMETOS ROUNDED nos títulos principais */
.section-title,
h1,
h2,
h3,
h4,
h5,
h6,
.timeline-content h3,
.value-card h3,
.sector-card h3,
.context-card h3,
.competency-sector h3,
.team-member h3,
.values-section h3,
.projects-gallery h3,
.gallery-item h4,
.testimonials h3,
.social-title {
    font-family: 'GEOMETOS ROUNDED', Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* Fonte GEOMETOS ROUNDED para os textos da navbar */
.nav-link,
.navbar,
.nav-toggle,
.nav-menu {
    font-family: 'GEOMETOS ROUNDED', Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    background-color: var(--ativecon-black);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ativecon-orange-light);
    border-bottom-color: var(--ativecon-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--ativecon-black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--ativecon-orange);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: var(--ativecon-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(219, 70, 0, 0.3);
}

/* Torre de Lápis */
.pencil-tower {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.pencil {
    max-width: 100px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.pencil:hover {
    transform: scale(1.05);
}

.pencil-middle {
    margin-top: -20px;
}

.pencil-bottom {
    margin-top: -20px;
}

/* Prova de Valor */    
.value-proof-section {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
    color: var(--ativecon-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Setores */
.sectors-section {
    padding: 60px 0;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sector-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sector-card h3 {
    margin-top: 1rem;
    color: var(--ativecon-black);
    font-size: 1.2rem;
}

/* Placeholder para imagens */
.image-placeholder {
    background-color: #f3f4f6;
    border: 2px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    min-height: 150px;
    margin: 1rem 0;
}

/* Contexto */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.context-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.context-card:hover {
    transform: translateY(-5px);
}

.context-card h3 {
    color: var(--ativecon-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.challenges-section {
    text-align: center;
    margin-top: 3rem;
}

.challenges-section h3 {
    color: var(--ativecon-black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Competências */
.competencies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.competency-sector {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.competency-sector:hover {
    transform: translateY(-5px);
}

.competency-sector h3 {
    color: var(--ativecon-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.competency-sector ul {
    list-style: none;
    margin-top: 1rem;
}

.competency-sector li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.competency-sector li:before {
    content: "▶ ";
    color: var(--ativecon-orange);
    font-weight: bold;
}

/* Jornada - Timeline */
.journey-timeline {
    position: relative;
    margin: 3rem 0;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ativecon-orange);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: stretch;
    margin: 3rem 0;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--ativecon-orange);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content,
.timeline-image {
    height: 100%;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 45%;
    margin: 0 2.5%;
    position: relative;
}

.timeline-image {
    width: 45%;
    margin: 0 2.5%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.timeline-image img {
    width: 100%;
    max-width: 320px;
    min-width: 160px;
    height: 220px;
    max-height: 300px;
    min-height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .timeline-image img {
        width: 100%;
        max-width: 260px;
        min-width: 120px;
        height: 160px;
        max-height: 200px;
        min-height: 100px;
    }
}

@media (max-width: 600px) {
    .timeline-image img {
        width: 100%;
        max-width: 98vw;
        min-width: 80px;
        height: 100px;
        max-height: 120px;
        min-height: 60px;
    }
}

.timeline-content h3 {
    color: var(--ativecon-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.testimonials {
    text-align: center;
    margin-top: 4rem;
}

.testimonials h3 {
    color: var(--ativecon-black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Gente */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-member {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h3 {
    color: var(--ativecon-orange);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.values-section {
    text-align: center;
    margin-top: 3rem;
}

.values-section h3 {
    color: var(--ativecon-black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Histórico */
.history-timeline {
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item h4 {
    color: var(--ativecon-orange);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.projects-gallery h3 {
    color: var(--ativecon-black);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Projetos – padroniza o tamanho das imagens (logos) nos cards */
.projects-gallery .project-img {
  width: 100%;
  height: 160px;          /* altura uniforme do “quadro” da logo */
  object-fit: contain;    /* não recorta a logo */
  object-position: center;
  background: #fff;       /* fundo neutro para transparências */
  border-radius: 10px;
  padding: 12px;          /* respiro interno para logos largas/altas */
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* Responsivo */
@media (max-width: 900px) {
  .projects-gallery .project-img { height: 140px; padding: 10px; }
}
@media (max-width: 600px) {
  .projects-gallery .project-img { height: 120px; padding: 8px; }
}

/* Footer */
.footer {
    background-color: var(--ativecon-black);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-logo img {
    max-width: 120px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 8px auto;
}

/* =========================
   Formulário de Contato - estilo Ativecon
========================= */
#contato.section {
    background: var(--light-gray); /* fundo cinza claro, sem degradê */
    color: var(--ativecon-black);
    padding: 3rem 0;
    /* Removido o border-top e border-bottom */
}

#contato .container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    color: var(--ativecon-black);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2rem 2rem 1.5rem 2rem;
    animation: fadeInUp 0.8s ease;
    opacity: 1;
    transform: translateY(0);
}

#contato .section-title {
    color: var(--ativecon-orange);
    text-align: center;
    margin-bottom: 1.5rem;
}

#contactForm label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--ativecon-black);
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid var(--ativecon-orange);
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    color: var(--ativecon-black);
    resize: vertical;
    transition: box-shadow 0.3s, border-color 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--ativecon-orange-light);
    box-shadow: 0 0 0 2px rgba(255, 142, 1, 0.15);
    outline: none;
}

#contactForm textarea {
    min-height: 90px;
}

#contactForm button[type="submit"] {
    background: var(--ativecon-orange);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(219, 70, 0, 0.10);
}

#contactForm button[type="submit"]:hover {
    background: #d46a00;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(219, 70, 0, 0.18);
}

#formMensagem {
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
    min-height: 24px;
    transition: color 0.3s;
}

/* Animação fadeInUp (igual usada no restante do site) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Navbar - Mobile
========================= */
@media (max-width: 900px) {
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100vw;
        background: var(--ativecon-black);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 0;
        display: none;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        text-align: left;
        font-size: 1.1rem;
    }
    .nav-toggle {
        display: flex;
    }
}

/* =========================
   Responsividade geral
========================= */
@media (max-width: 900px) {
    .container {
        padding: 0 10px;
    }
    .hero-content,
    .value-cards-section,
    .sectors-header {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem;
    }
    .hero-visual,
    .value-visual,
    .sectors-visual {
        justify-content: center !important;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    .hero-visual img,
    .value-visual img,
    .sectors-visual img {
        margin: 0 auto;
    }
    .competencies-grid,
    .sectors-grid,
    .context-grid,
    .team-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* =========================
   Mobile específico (celulares pequenos)
========================= */
@media (max-width: 600px) {
    .container {
        padding: 0 4px;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .hero-title {
        font-size: 1rem;
    }
    .pencil-section-img,
    .pencil,
    .sector-card img,
    .team-member img,
    .hero-visual img,
    .value-visual img,
    .sectors-visual img {
        max-width: 50px !important;
        height: auto !important;
    }
    .image-placeholder {
        min-height: 60px;
        font-size: 12px;
        padding: 8px;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .cta-button {
        width: 100%;
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    #contato .container {
        padding: 1rem 0.5rem 1rem 0.5rem;
    }
    #contactForm input,
    #contactForm textarea {
        font-size: 0.95rem;
    }
    #contactForm button[type="submit"] {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* =========================
   Animações para mobile
========================= */
@keyframes fadeInUpMobile {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-content,
    .value-cards-section,
    .sectors-header,
    .competencies-grid,
    .team-grid,
    .gallery-grid,
    .context-grid {
        animation: fadeInUpMobile 0.7s ease;
    }
    #contato .container {
        animation: fadeInUpMobile 0.7s ease;
    }
}

/* =========================
   Ajustes extras para botões e inputs
========================= */
@media (max-width: 600px) {
    button,
    input,
    textarea {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.8rem 0.5rem;
    }
}

/* Carrossel responsivo e imagem circular */
.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    flex-wrap: nowrap;
}

.testimonial-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    background: var(--white);
    color: var(--ativecon-black);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 370px;
    min-height: 240px;
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
    animation: fadeInUp 0.6s;
    margin: 0 0.5rem;
}

.testimonial-slide.active {
    display: flex;
    z-index: 2;
    transform: scale(1.04);
    box-shadow: 0 10px 32px rgba(219, 70, 0, 0.13);
}

.testimonial-img {
    margin-bottom: 1.2rem;
    padding: 0;
    background: none;
    border: none;
}

.testimonial-img img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--ativecon-orange);
    box-shadow: 0 2px 8px rgba(219, 70, 0, 0.10);
    background: var(--light-gray);
}

.testimonial-text {
    font-size: 1.08rem;
    color: var(--ativecon-black);
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--ativecon-orange);
    font-size: 1rem;
}

.testimonial-carousel button {
    background: var(--ativecon-orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(219, 70, 0, 0.10);
    outline: none;
}
.testimonial-carousel button:hover {
    background: #d46a00;
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .testimonial-carousel {
        gap: 1rem;
    }
    .testimonial-slide {
        min-width: 80vw;
        max-width: 90vw;
        padding: 1.5rem 0.7rem 1.3rem 0.7rem;
    }
    .testimonial-img img {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 600px) {
    .testimonial-carousel {
        gap: 0.3rem;
    }
    .testimonial-slide {
        min-width: 98vw;
        max-width: 99vw;
        padding: 1.1rem 0.2rem 1.1rem 0.2rem;
    }
    .testimonial-img img {
        width: 48px;
        height: 48px;
    }
    .testimonial-text {
        font-size: 0.98rem;
    }
    .testimonial-carousel button {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}

/* Adicione ao seu styles.css */
.social-media {
    margin-top: 2.5rem;
    text-align: center;
}

.social-title {
    font-weight: 600;
    color: var(--ativecon-orange);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.social-icons img {
    width: 38px;
    height: 38px;
    transition: transform 0.2s;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(219,70,0,0.07);
}

.social-icons img:hover {
    transform: scale(1.13) rotate(-8deg);
    box-shadow: 0 4px 16px rgba(219,70,0,0.13);
}

/* Tamanhos responsivos para títulos e textos */
@media (max-width: 900px) {
    .section-title,
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1.05rem; }
    h5, h6 { font-size: 1rem; }
    .hero-title { font-size: 1.3rem; }
    .hero-subtitle { font-size: 1rem; }
    body, p, li, label, input, textarea, button {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .section-title,
    h1 { font-size: 1.3rem; }
    h2 { font-size: 1.1rem; }
    h3 { font-size: 1rem; }
    h4, h5, h6 { font-size: 0.98rem; }
    .hero-title { font-size: 1.05rem; }
    .hero-subtitle { font-size: 0.95rem; }
    body, p, li, label, input, textarea, button {
        font-size: 0.97rem;
    }
}




/* Responsividade para Timeline */
@media (max-width: 900px) {
    .journey-timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        margin-left: 60px;
    }
    
    .timeline-content {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .timeline-content::after {
        display: none;
    }
    
    .timeline-image {
        width: 100%;
        margin: 0 0 1.5rem 0;
    }
    
    .timeline-image img {
        max-width: 250px;
        height: 200px;
    }
}

@media (max-width: 600px) {
    .timeline-image img {
        max-width: 200px;
        height: 150px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

.sector-card img {
    width: 80px;
    height: 80px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .sector-card img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 600px) {
    .sector-card img {
        width: 48px;
        height: 48px;
    }
}

/* Formulário de contato estilizado */
form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    max-width: 480px;
    margin: 0 auto 2rem auto;
}

form label {
    font-weight: bold;
    color: var(--ativecon-orange, #e65100);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

form input,
form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s;
    resize: none;
}

form input:focus,
form textarea:focus {
    border-color: var(--ativecon-orange, #e65100);
    outline: none;
}

form textarea {
    min-height: 90px;
    max-height: 220px;
}

form button[type="submit"] {
    background: var(--ativecon-orange, #e65100);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

form button[type="submit"]:hover {
    background: #b84300;
}

/* Ultra-compacto entre CONTEXTO e COMPETÊNCIAS */
#contexto { padding-bottom: 8px !important; margin-bottom: 0 !important; }
#contexto .section-title { margin-bottom: 0.75rem !important; }
#contexto .context-grid { margin-bottom: 0.75rem !important; }
#contexto .challenges-section { margin-top: 0.75rem !important; }

/* início de COMPETÊNCIAS mais próximo */
#contexto + #competencias { padding-top: 8px !important; margin-top: 0 !important; }
#competencias .section-title { margin-top: 0 !important; margin-bottom: 1rem !important; }
#competencias .competencies-grid { margin-top: 0 !important; }

@media (max-width: 900px) {
  #contexto { padding-bottom: 6px !important; }
  #contexto + #competencias { padding-top: 6px !important; }
  #contexto .section-title { margin-bottom: 0.5rem !important; }
  #contexto .context-grid { margin-bottom: 0.5rem !important; }
  #contexto .challenges-section { margin-top: 0.5rem !important; }
  #competencias .section-title { margin-bottom: 0.75rem !important; }
}


/* #contexto + #competencias { margin-top: -4px !important; } */

/* Quem somos: destacar rótulos em negrito e separar do texto */
#gente .gente-texto strong {
  color: var(--ativecon-orange, #e65100);
  font-weight: 700;
}

/* Quem somos: apenas os textos em negrito separados */
#gente .gente-texto p { margin: 0 0 1rem; }
#gente .gente-texto strong {
  color: var(--ativecon-orange, #e65100);
  font-weight: 700;
  display: block;     /* quebra linha: o negrito fica sozinho */
  margin: 0.6rem 0;   /* espaço acima/abaixo do negrito */
}

/* limpar regra antiga de espaço lateral no negrito */
#gente .gente-texto li strong { margin-right: 0; }

/* Opcional: respira melhor os itens da lista */
#gente .gente-texto li {
  line-height: 1.7;
  margin: 0.25rem 0;
}


/* GENTE (Quem somos) – estilo final e único */
#gente .gente-texto p {
  margin: 0 0 1rem;
  line-height: 1.7;
}
#gente .gente-texto strong {
  color: var(--ativecon-orange, #e65100);
  font-weight: 700;
  display: block;      /* negrito em linha própria */
  margin: 0.6rem 0;    /* espaço acima/abaixo do negrito */
}
#gente .gente-texto li {
  line-height: 1.7;
  margin: 0.25rem 0;
}

/* Navbar: transições e versão compacta ao rolar */
.navbar {
  transition: padding 220ms ease, border-radius 220ms ease, box-shadow 220ms ease, width 220ms ease, margin 220ms ease, background-color 220ms ease;
}

/* links/logo suavemente responsivos à compactação */
.navbar .nav-link { transition: padding 180ms ease, font-size 180ms ease, opacity 180ms ease; }
.navbar .nav-logo img { transition: transform 200ms ease, max-height 200ms ease; }

/* Estado compacto quando sai do início */
.navbar.scrolled {
  padding: 6px 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  /* reduz ligeiramente a largura para os cantos aparecerem */
  width: calc(100% - 32px);
  margin: 8px auto 0;
  left: 0; right: 0; /* garante centralização quando fixed */
  background-color: #000000; /* mantém a cor atual da sua navbar */
}

/* Enxuga os itens quando compacta */
.navbar.scrolled .nav-logo img { transform: scale(0.88); }
.navbar.scrolled .nav-link {
  padding: 6px 10px;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* Licença */
.license-section {
  background: #111;
  padding: 24px 0;
  font-size: .85rem;
  color: #ddd;
}
.license-box { text-align: center; }
.license-title {
  margin: 0 0 .5rem;
  font-weight: 600;
  color: #fff;
}
.license-text {
  margin: 0 0 .5rem;
  line-height: 1.4;
}
.license-link a {
  color: var(--ativecon-orange, #e65100);
  text-decoration: none;
  font-weight: 500;
}
.license-link a:hover { text-decoration: underline; }

