/* =========================================================
   RESET
========================================================= */

@layer reset, theme, base, components, utilities;

@layer reset {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic", Arial, Helvetica, sans-serif;
    color: #111111;
    background: #EEEEEE;
}


/* =========================================================
   IDENTIDADE VISUAL — PONTE AMBIENTAL
========================================================= */

:root {

    /* Cores oficiais */
    --azul-ponte: #085389;
    --cinza-claro: #EEEEEE;
    --cinza-escuro: #111111;

    /* Cores auxiliares derivadas da identidade */
    --azul-escuro: #052f4e;
    --azul-profundo: #031f34;
    --azul-claro: #5da9df;

    --branco: #FFFFFF;

    --container: 1400px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}


.header-container {
    width: 100%;
    max-width: var(--container);

    margin: auto;

    height: 100px;

    padding: 0 40px;

    display: flex;
    align-items: center;

    gap: 45px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: flex;
    align-items: center;

    margin-right: auto;
}


.logo img {
    width: 190px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.nav {
    display: flex;
    align-items: center;

    gap: 32px;
}


.nav a {
    position: relative;

    text-decoration: none;

    color: var(--branco);

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.3px;

    padding: 40px 0;
}


.nav a::after {
    content: "";

    position: absolute;

    bottom: 30px;
    left: 0;

    width: 0;
    height: 2px;

    background: var(--azul-claro);

    transition: width 0.3s ease;
}


.nav a:hover::after {
    width: 100%;
}


/* =========================================================
   ÁREA DO CLIENTE
========================================================= */

.cliente-button {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 14px 20px;

    border: 1px solid rgba(255, 255, 255, 0.55);

    text-decoration: none;

    color: var(--branco);

    font-size: 13px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.cliente-button:hover {
    background: var(--azul-ponte);

    border-color: var(--azul-ponte);

    color: var(--branco);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    /*
       Azul profundo à esquerda
       e transparência progressiva
       para revelar a fotografia.
    */

    background:
        linear-gradient(
            90deg,
            rgba(3, 31, 52, 0.98) 0%,
            rgba(5, 47, 78, 0.92) 30%,
            rgba(8, 83, 137, 0.62) 60%,
            rgba(3, 31, 52, 0.25) 100%
        ),
        url("../images/hero.jpg");

    background-size: cover;
    background-position: center;
}

/* =========================================================
   VÍDEO DO HERO
========================================================= */

.hero-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    transform: translate(-50%, -50%);

    object-fit: cover;

    z-index: 0;
}

/* Camada azul geral sobre a fotografia */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(3, 31, 52, 0.96) 0%,
            rgba(3, 31, 52, 0.85) 30%,
            rgba(8, 83, 137, 0.48) 60%,
            rgba(3, 31, 52, 0.18) 100%
        );
}


/* =========================================================
   CONTEÚDO HERO
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: var(--container);

    margin: auto;

    padding:
        160px
        40px
        170px;
}


/* CONSULTORIA AMBIENTAL */

.hero-tag {
    display: inline-block;

    margin-bottom: 30px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 3px;
    color:#085389

}


/* TÍTULO */

.hero h1 {
    max-width: 950px;

    font-size: clamp(
        55px,
        6vw,
        95px
    );

    line-height: 0.98;

    font-weight: 400;

    letter-spacing: -3px;

    color: var(--branco);
}


/* Palavra "territórios" */

.hero h1 span {
    color: var(--branco);
}


/* TEXTO */

.hero-content > p {
    max-width: 620px;

    margin-top: 35px;

    font-size: 18px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.82);
}


/* =========================================================
   BOTÕES HERO
========================================================= */

.hero-buttons {
    margin-top: 45px;

    display: flex;

    gap: 15px;
}


.button {
    min-height: 55px;

    padding: 0 25px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 30px;

    text-decoration: none;

    font-size: 14px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


/* Botão principal */

.button-primary {
    background: var(--azul-ponte);

    color: var(--branco);

    border: 1px solid var(--azul-ponte);
}


.button-primary:hover {
    background: #09639f;

    border-color: #09639f;

    transform: translateY(-2px);
}


/* Botão secundário */

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);

    color: var(--branco);

    background: transparent;
}


.button-secondary:hover {
    background: rgba(255, 255, 255, 0.10);

    border-color: var(--branco);

    transform: translateY(-2px);
}


/* =========================================================
   INFORMAÇÕES INFERIORES DO HERO
========================================================= */

.hero-info {
    position: absolute;

    z-index: 3;

    right: 40px;
    bottom: 40px;

    display: flex;

    gap: 50px;
}


.hero-info div {
    max-width: 150px;
}


.hero-info span {
    font-size: 11px;
    font-weight: 600;

    color: var(--azul-claro);
}


.hero-info p {
    margin-top: 8px;

    font-size: 12px;
    line-height: 1.4;

    color: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   INDICADOR DE SCROLL
========================================================= */

.scroll-indicator {
    position: absolute;

    z-index: 3;

    left: 40px;
    bottom: 35px;

    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 9px;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.65);
}


.scroll-indicator span {
    width: 40px;
    height: 1px;

    background: var(--azul-claro);
}


/* =========================================================
   RESPONSIVO — TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav {
        display: none;
    }

    .cliente-button {
        margin-left: auto;
    }
}


/* =========================================================
   RESPONSIVO — CELULAR
========================================================= */

@media (max-width: 700px) {

    .header-container {
        height: 80px;

        padding: 0 20px;
    }


    .logo img {
        width: 145px;
    }


    .cliente-button {
        display: none;
    }


    .hero {
        background:
            linear-gradient(
                90deg,
                rgba(3, 31, 52, 0.96),
                rgba(5, 47, 78, 0.80)
            ),
            url("../images/hero.jpg");

        background-size: cover;
        background-position: center;
    }


    .hero-content {
        padding:
            130px
            20px
            130px;
    }


    .hero h1 {
        font-size: 52px;

        letter-spacing: -2px;
    }


    .hero-content > p {
        font-size: 16px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    .button {
        width: 100%;
    }


    .hero-info {
        display: none;
    }


    .scroll-indicator {
        left: 20px;
        bottom: 20px;
    }
}

/* =========================================================
   SOBRE A PONTE
========================================================= */

/* =========================================================
   HEADER AO ROLAR A PÁGINA
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 2000;

    background: transparent;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.header.scrolled {
    background: #ffffff;

    border-bottom-color: #eeeeee;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.header.scrolled .nav a {
    color: var(--azul-ponte);
}


.header.scrolled .nav a::after {
    background: var(--azul-ponte);
}


.header.scrolled .logo img {
    filter:
        brightness(0)
        saturate(100%)
        invert(25%)
        sepia(42%)
        saturate(2382%)
        hue-rotate(173deg)
        brightness(88%)
        contrast(96%);
}


.header.scrolled .cliente-button {
    color: var(--azul-ponte);

    border-color: var(--azul-ponte);
}


.header.scrolled .cliente-button:hover {
    background: var(--azul-ponte);

    color: #ffffff;
}


/* =========================================================
   TRANSIÇÃO HERO → A PONTE
========================================================= */

.hero-transition {
    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 180px;

    z-index: 3;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(3, 31, 52, 0.25) 30%,
        rgba(3, 31, 52, 0.70) 65%,
        var(--azul-profundo) 100%
    );
}



/* =========================================================
   A PONTE
========================================================= */

.ponte-section {
    position: relative;

    z-index: 4;

    padding: 100px 40px 110px;

    background: var(--azul-profundo);

    color: var(--branco);
}


.ponte-container {
    width: 100%;

    max-width: var(--container);

    margin: 0 auto;

    display: grid;

    /* sócios | texto */
    grid-template-columns: 1.15fr 0.85fr;

    gap: 110px;

    align-items: stretch;
}



/* =========================================================
   TEXTO — LADO DIREITO
========================================================= */

.ponte-copy {
    position: relative;

    order: 2;

    border-top: 1px solid rgba(255, 255, 255, 0.15);
}


.ponte-label {
    display: flex;

    align-items: center;

    gap: 12px;

    padding-top: 18px;

    margin-bottom: 55px;
}


.ponte-label span {
    color: var(--azul-claro);

    font-size: 10px;

    letter-spacing: 2px;
}


.ponte-label p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;

    letter-spacing: 2px;
}


.ponte-copy h2 {
    max-width: 520px;

    margin: 0;

    font-size: clamp(32px, 3vw, 46px);

    line-height: 1.1;

    font-weight: 400;

    letter-spacing: -0.04em;
}

.ponte-copy h2 span {
    color: var(--azul-claro);
}


.ponte-description {
    max-width: 500px;

    margin-top: 32px;
}


.ponte-description p {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    line-height: 1.75;

    color: rgba(255, 255, 255, 0.58);
}


.ponte-description p + p {
    margin-top: 18px;
}


.ponte-signature {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 40px;
}


.ponte-signature span {
    font-size: 8px;

    letter-spacing: 1.5px;

    color: rgba(255, 255, 255, 0.3);
}



/* =========================================================
   SÓCIOS — LADO ESQUERDO
========================================================= */

.partners {
    position: relative;
    order: 1;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    display: flex;
    flex-direction: column;

    height: 100%;
}


.partners-heading {
    display: flex;

    justify-content: space-between;

    padding: 18px 0 25px;
}


.partners-heading span {
    font-size: 8px;

    letter-spacing: 1.8px;

    color: rgba(255, 255, 255, 0.35);
}



/* =========================================================
   LINHA DO SÓCIO
========================================================= */

.partner {
    position: relative;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.partner:last-child {
    margin-bottom: 0;
}

.partner-header {
    position: relative;

    z-index: 10;

    width: 100%;

    display: grid;

    grid-template-columns: 45px 1fr 25px;

    gap: 15px;

    align-items: center;

    padding: 20px 0;

    border: 0;

    background: transparent;

    color: var(--branco);

    text-align: left;

    cursor: pointer;

    pointer-events: auto;
}


.partner-number {
    color: var(--azul-claro);

    font-size: 9px;

    letter-spacing: 1px;
}


.partner-name {
    font-size: clamp(20px, 1.7vw, 27px);

    font-weight: 400;

    transition: color 0.3s ease;
}


.partner-arrow {
    color: var(--azul-claro);

    font-size: 16px;

    transition: transform 0.35s ease;
}


.partner:hover .partner-name,
.partner.active .partner-name {
    color: var(--azul-claro);
}


.partner.active .partner-arrow {
    transform: rotate(90deg);
}



/* =========================================================
   CONTEÚDO DO SÓCIO ABERTO
========================================================= */

.partner-content {
    display: grid;

    /* foto | informações */
    grid-template-columns: 160px 1fr;

    gap: 30px;

    align-items: center;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    padding: 0 0 0 45px;

    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        padding 0.45s ease;
}


.partner.active .partner-content {
    max-height: 210px;

    opacity: 1;

    padding: 8px 0 25px 45px;
}



/* =========================================================
   FOTO
========================================================= */

.partner-photo {
    width: 150px;
    height: 150px;

    padding: 6px;

    flex-shrink: 0;

    overflow: hidden;

    border: 2px solid rgba(255, 255, 255, 0.65);

    border-radius: 50%;
}


.partner-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    filter: grayscale(15%);

    transition: transform 0.4s ease;
}


.partner-photo:hover img {
    transform: scale(1.035);
}



/* =========================================================
   INFORMAÇÕES DO SÓCIO
========================================================= */

.partner-info {
    min-width: 0;

    display: grid;

    grid-template-columns: 180px 1fr;

    column-gap: 28px;

    row-gap: 14px;

    align-items: center;
}



/* Especialidades */

.partner-tags {
    grid-column: 1;

    grid-row: 1 / 3;

    display: flex;

    flex-wrap: wrap;

    align-content: center;

    gap: 7px 10px;
}


.partner-tags span {
    padding: 0;

    border: 0;

    color: var(--azul-claro);

    font-size: 8px;

    line-height: 1.5;

    letter-spacing: 1.1px;
}



/* Biografia */

.partner-info > p {
    grid-column: 2;

    grid-row: 1;

    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    line-height: 1.55;

    color: rgba(255, 255, 255, 0.55);
}



/* LinkedIn + telefone */

.partner-links {
    grid-column: 2;

    grid-row: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 25px;
}


.partner-links a {
    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    text-transform: uppercase;

    font-size: 8px;

    letter-spacing: 1.2px;

    transition: color 0.25s ease;
}


.partner-links a:hover {
    color: var(--azul-claro);
}



/* =========================================================
   A PONTE — RESPONSIVO
========================================================= */

@media (max-width: 900px) {

    .ponte-section {
        padding: 90px 20px;
    }


    .ponte-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    /* No celular/tablet:
       primeiro apresentação, depois sócios */

    .ponte-copy {
        position: static;

        order: 1;
    }


    .partners {
        order: 2;
    }


    .ponte-copy h2 {
        font-size: 44px;
    }


    .partner-content {
        grid-template-columns: 110px 1fr;

        gap: 20px;

        padding-left: 0;
    }


    .partner.active .partner-content {
        max-height: 350px;

        padding: 10px 0 25px;
    }


    .partner-photo {
        width: 100px;
        height: 100px;
    }


    .partner-info {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .partner-tags,
    .partner-info > p,
    .partner-links {
        grid-column: 1;

        grid-row: auto;
    }

}



/* =========================================================
   A PONTE — CELULAR
========================================================= */

@media (max-width: 600px) {

    .ponte-section {
        padding-left: 20px;
        padding-right: 20px;
    }


    .ponte-copy h2 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }


    .partner-header {
        grid-template-columns: 32px 1fr 20px;

        padding: 18px 0;
    }


    .partner-name {
        font-size: 20px;
    }


    .partner-content {
        grid-template-columns: 80px 1fr;
    }


    .partner-photo {
        width: 75px;
        height: 75px;

        padding: 3px;
    }


    .partner-info > p {
        font-size: 11px;
    }


    .partner-links {
        gap: 15px;
    }

}

/* =========================================================
   SOLUÇÕES
   Corte horizontal limpo entre o azul de A Ponte e o cinza
   claro. Os cards seguem o estilo bento.
========================================================= */

.solutions-section {
    position: relative;
    z-index: 4;
    overflow: hidden;

    padding: 110px 40px 130px;

    color: var(--cinza-escuro);

    background: #eeeeee;
}

.solutions-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}


/* ---------- Cabeçalho ---------- */

.solutions-heading {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    margin-bottom: 44px;
}

.solutions-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 14px;
}

.solutions-label span,
.solutions-label p {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--azul-ponte);
}

.solutions-heading-content h2 {
    max-width: 780px;
    font-size: clamp(32px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.solutions-heading-content h2 span {
    display: block;
    color: var(--azul-ponte);
}

.solutions-heading-content p {
    max-width: 560px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #667583;
}


/* ---------- Bento ---------- */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.solution-card {
    --mx: 50%;
    --my: 0%;

    position: relative;
    overflow: hidden;
    grid-column: span 2;

    padding: 30px 32px 34px;

    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(8, 83, 137, 0.1);
    border-radius: 20px;
    box-shadow: none;

    transition: transform .4s ease, box-shadow .4s ease;
}

/* Card em destaque (Gestão): borda azul escura discreta */
.solution-card-featured {
    border-color: var(--azul-escuro);
    box-shadow: 0 0 0 1px var(--azul-escuro);
}

.solution-card-license {
    grid-column: span 4;
}

.solution-card-geo {
    grid-column: span 6;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    padding-right: 0;
}

/* Brilho que acompanha o cursor */
.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;

    background: radial-gradient(
        360px circle at var(--mx) var(--my),
        rgba(93, 169, 223, 0.16),
        transparent 70%
    );
}

.solution-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.75);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card-body {
    position: relative;
    z-index: 1;
}

.solution-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;

    margin-bottom: 20px;

    color: var(--azul-ponte);
    background: linear-gradient(135deg, #e3f0fa, #f4f9fd);
    border-radius: 14px;
}

.solution-card-icon svg {
    width: 24px;
    height: 24px;
}

.solution-card-tag {
    display: block;
    margin-bottom: 8px;

    font-size: 10.5px;
    letter-spacing: 2.5px;
    color: var(--azul-ponte);
}

.solution-card h3 {
    font-size: 19.5px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--azul-escuro);
}

.solution-card-desc {
    max-width: 420px;
    margin-top: 8px;

    font-size: 14.5px;
    line-height: 1.6;
    color: #667583;
}

.solution-card-groups {
    display: grid;
    gap: 18px;
    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid #e3eaf0;
}

.solution-card-license .solution-card-groups {
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 24px;
}

.solution-card-group h4 {
    margin-bottom: 9px;

    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--azul-ponte);
}

.solution-card-group ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.solution-card-group li {
    position: relative;
    padding-left: 15px;

    font-size: 13.5px;
    line-height: 1.5;
    color: #36424d;
}

.solution-card-group li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 7px;
    height: 1px;
    background: var(--azul-claro);
}

/* Foto do geoprocessamento */
.solution-card-image {
    position: relative;
    z-index: 1;
    min-height: 260px;
    margin: -30px 0 -34px;

    background:
        linear-gradient(90deg, #efefef 0%, rgba(239, 239, 239, 0) 38%),
        url("../images/solucoes/geoprocessamento.jpg") center / cover no-repeat;
}

.solution-card-geo .solution-card-groups {
    grid-template-columns: 1fr 1fr;
}


/* ---------- Rolagem horizontal (desktop) ----------
   js/main.js adiciona .is-hscroll: a seção fica "presa" na tela e,
   conforme a página rola, os cards entram da direita para a esquerda
   até todos aparecerem. Em telas menores o bento empilha normalmente. */

.solutions-section.is-hscroll {
    overflow: visible;
    padding: 0;
}

.is-hscroll .solutions-container {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: none;
    margin: 0;
    padding: 100px max(40px, calc((100vw - var(--container)) / 2 + 40px)) 70px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* O palco é reduzido (transform) quando a janela é baixa demais
   para mostrar título + cards; --fit e a largura são ajustados em js/main.js */
.is-hscroll .solutions-stage {
    width: calc(100% / var(--fit, 1));
    transform: scale(var(--fit, 1));
    transform-origin: 0 0;
}

.is-hscroll .solutions-heading {
    margin-bottom: 36px;
}

.is-hscroll .solutions-grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    will-change: transform;
}

.is-hscroll .solution-card {
    flex: 0 0 370px;
}

.is-hscroll .solution-card-license,
.is-hscroll .solution-card-geo {
    flex-basis: 820px;
}


/* ---------- Responsivo (básico; refinar junto com o mobile) ---------- */

@media (max-width: 1050px) {

    .solutions-section {
        padding: 90px 20px 80px;
    }

    .solutions-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 44px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .solution-card-license,
    .solution-card-geo {
        grid-column: auto;
    }

    .solution-card-license .solution-card-groups,
    .solution-card-geo .solution-card-groups {
        grid-template-columns: 1fr;
    }

    .solution-card-geo {
        grid-template-columns: 1fr;
        padding-right: 28px;
        gap: 0;
    }

    .solution-card-image {
        min-height: 220px;
        margin: 24px -32px -34px;
        background:
            linear-gradient(180deg, #efefef 0%, rgba(239, 239, 239, 0) 38%),
            url("../images/solucoes/geoprocessamento.jpg") center / cover no-repeat;
    }
}

@media (prefers-reduced-motion: reduce) {
    .solution-card,
    .solution-card::before {
        transition: none;
    }

    .solution-card:hover {
        transform: none;
    }
}



/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #021320;
    color: rgba(255, 255, 255, 0.72);

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 40px 48px;

    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 48px;
}

.footer-logo img {
    width: 160px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 260px;
    margin-top: 22px;

    font-size: 15px;
    line-height: 1.7;
    color: var(--branco);
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 26px;
    padding: 13px 22px;

    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--branco);

    background: var(--azul-ponte);

    transition: background .3s ease;
}

.footer-cta:hover {
    background: var(--azul-claro);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 14px;

    font-size: 14px;
    line-height: 1.5;
}

.footer-column h4 {
    margin-bottom: 8px;

    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--azul-claro);
}

.footer-column a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-column a:hover {
    color: var(--branco);
}

.footer-linkedin,
.footer-instagram {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;

    margin-top: 6px;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
}

.footer-linkedin svg,
.footer-instagram svg {
    width: 16px;
    height: 16px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-bottom {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px 40px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--branco);
}

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 48px 20px 36px;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* =========================================================
   MENU MOBILE
   Botão e painel só aparecem até 1050px (o .nav some).
========================================================= */

.menu-toggle,
.mobile-menu {
    display: none;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: 12px;

    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;

    background: var(--branco);

    transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.header.scrolled .menu-toggle span {
    background: var(--azul-ponte);
}

/* Menu aberto: cabeçalho escuro, logo e ícone brancos */
.header.menu-open {
    background: var(--azul-profundo);
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.header.menu-open .logo img {
    filter: brightness(0) invert(1);
}

.header.menu-open .menu-toggle span {
    background: var(--branco);
}

.header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1050px) {

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;

        max-height: calc(100vh - 80px);
        overflow-y: auto;

        padding: 4px 20px 24px;

        background: var(--azul-profundo);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .header.menu-open .mobile-menu {
        display: flex;
    }

    .mobile-menu a {
        padding: 16px 0;

        font-size: 17px;
        text-decoration: none;
        color: var(--branco);

        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mobile-menu .mobile-menu-client {
        margin-top: 18px;
        padding: 14px 18px;

        text-align: center;
        font-size: 14px;
        letter-spacing: 0.5px;

        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 700px) {

    .menu-toggle {
        margin-left: auto;
    }
}

.footer-column,
.footer-brand {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {

    .footer-container {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Âncoras do menu não ficam escondidas atrás do cabeçalho fixo */
#tecnologia,
#contato {
    scroll-margin-top: 80px;
}


/* =========================================================
   POP-UP — 10 ANOS
========================================================= */

.anniversary {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.anniversary[hidden] {
    display: none;
}

.anniversary-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 19, 32, 0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    opacity: 0;
    transition: opacity .5s ease;
}

.anniversary-card {
    position: relative;

    width: 100%;
    max-width: 480px;
    max-height: 100%;
    overflow-y: auto;

    padding: 48px 44px 44px;

    text-align: center;
    color: var(--branco);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(93, 169, 223, 0.22),
            transparent 62%
        ),
        var(--azul-profundo);

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity .5s ease, transform .5s ease;
}

.anniversary.is-visible .anniversary-backdrop {
    opacity: 1;
}

.anniversary.is-visible .anniversary-card {
    opacity: 1;
    transform: none;
}

.anniversary-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    background: transparent;
    border: 0;
    cursor: pointer;
}

.anniversary-close span {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 2px;

    background: rgba(255, 255, 255, 0.75);

    transition: background .3s ease;
}

.anniversary-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.anniversary-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.anniversary-close:hover span {
    background: var(--branco);
}

.anniversary-logo {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 30px;

    filter: brightness(0) invert(1);
}

.anniversary-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;

    line-height: 1;
}

.anniversary-number strong {
    font-size: 104px;
    font-weight: 400;
    letter-spacing: -6px;

    color: transparent;
    -webkit-text-stroke: 2px var(--azul-claro);
}

.anniversary-number span {
    font-size: 15px;
    letter-spacing: 6px;
    text-transform: uppercase;

    color: var(--azul-claro);
}

.anniversary-card h2 {
    margin-top: 22px;

    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.anniversary-card h2 span {
    display: block;
    color: var(--azul-claro);
}

.anniversary-card > p {
    margin: 18px auto 0;
    max-width: 380px;

    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

.anniversary-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-top: 30px;
    padding: 14px 26px;

    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--branco);

    background: var(--azul-ponte);

    transition: background .3s ease;
}

.anniversary-cta:hover {
    background: var(--azul-claro);
}

@media (max-width: 520px) {

    .anniversary-card {
        padding: 44px 24px 32px;
    }

    .anniversary-number strong {
        font-size: 84px;
    }

    .anniversary-card h2 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .anniversary-backdrop,
    .anniversary-card {
        transition: none;
    }
}
