:root {
    /* Paleta principal — cinza como protagonista, azul como acento */
    --blue: #0043AB;
    --blue-deep: #002F77;
    --blue-night: #002054;
    --blue-soft: #4A6FA8;
    --blue-tint: #E8EEF7;

    /* Azul-marinho profundo (faixas escuras / tiles) — formato McKinsey */
    --navy: #0B1F4D;
    --navy-deep: #060F2A;
    --gold: #E8C76C;

    /* Motivo de hexágonos (textura da marca Eidos) */
    --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='none' stroke='%234A6FA8' stroke-width='1'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/svg%3E");

    /* Cinzas (estilo Apple, refinados) */
    --white: #FFFFFF;
    --warm-white: #FBFBFC;
    --off-white: #F5F5F7;
    --gray-100: #EDEDF0;
    --gray-200: #D2D2D7;
    --gray-400: #86868B;
    --gray-500: #6E6E73;
    --gray-700: #424245;
    --gray-900: #1D1D1F;
    --gray-soft: #7F7F7F;
    --ink: #1F1F23;
    --charcoal: #2A2D33;
    --charcoal-deep: #1A1D23;

    --section-pad: clamp(64px, 9vw, 120px);
    --container-max: 1440px;
    --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}


/* ============= NAVBAR ============= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(251, 251, 252, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-links a {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--blue);
}

/* Link de texto: sublinhado azul que corre da esquerda para a direita no hover */
.nav-links a:not(.nav-cta) {
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
    transform: scaleX(1);
}

.nav-links a.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 980px;
    white-space: nowrap;
    flex-shrink: 0;
    /* Specificidade maior que ".nav-links a" para que a animação suave
       (transform + sombra) realmente seja aplicada no botão */
    transition: background 0.45s var(--ease),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 2px rgba(0, 67, 171, 0.15);
}

.nav-links a.nav-cta:hover {
    background: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 67, 171, 0.28);
}

/* ---- Hambúrguer (oculto no desktop) ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s var(--ease);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover {
    background: var(--gray-100);
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), width 0.3s var(--ease);
    transform-origin: center;
}
.navbar.is-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar.is-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.navbar.is-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Menu mobile dropdown ----
   Ponto de quebra em 900px: com o item "Além da Contabilidade" (mais longo)
   o menu horizontal ficaria apertado em tablets; a partir daqui ele vira o
   hambúrguer, que tem espaço de sobra para a frase inteira. */
@media (max-width: 900px) {
    .nav-container {
        padding: 0 20px;
        gap: 12px;
    }
    .nav-logo {
        min-width: 0;
    }
    .nav-logo-img {
        height: 48px;
    }

    .nav-hamburger {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
        /* Menu sempre montado; a visibilidade é controlada por opacity +
           visibility para permitir uma abertura/fechamento suaves.
           Estado fechado: invisível, levemente acima e sem capturar cliques. */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transform-origin: top;
        transition: opacity 0.28s var(--ease),
                    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0s linear 0.34s;
    }

    .navbar.is-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.28s var(--ease),
                    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
                    visibility 0s;
    }

    .nav-links li {
        display: block !important;
    }

    .nav-links a {
        display: block;
        padding: 14px 24px;
        font-size: 17px;
        font-weight: 500;
        color: var(--gray-900);
        border-radius: 0;
    }

    .nav-links a:hover {
        background: var(--blue-tint);
        color: var(--blue);
    }
    /* No dropdown mobile o destaque é o fundo; o sublinhado animado fica só no desktop */
    .nav-links a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin: 8px 20px 0;
        padding: 13px 20px !important;
        font-size: 16px !important;
        text-align: center;
        border-radius: 980px;
        background: var(--blue);
        color: var(--white) !important;
        display: block;
        white-space: nowrap;
    }

    .nav-cta:hover {
        background: var(--blue-deep) !important;
        transform: none;
    }
}

@media (max-width: 420px) {
    .nav-container {
        padding: 0 14px;
    }
    .nav-logo-img {
        height: 42px;
    }
}


/* ============= HERO ============= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 104px 0 0;
    background:
        radial-gradient(ellipse 55% 45% at 88% 8%, rgba(0, 67, 171, 0.07) 0%, transparent 62%),
        radial-gradient(ellipse 48% 42% at 6% 92%, rgba(0, 32, 84, 0.05) 0%, transparent 60%),
        linear-gradient(165deg, #FFFFFF 0%, #F7F9FC 52%, #F5F7FA 100%);
}

/* Ritmo vertical sutil de "estrutura" ao fundo, sem competir com o texto */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(0, 32, 84, 0.04) 1px, transparent 1px);
    background-size: 104px 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 72%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 72%, transparent 100%);
}

.hero-main {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 32px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.hero-left {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    opacity: 0.8;
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--blue);
    display: inline-block;
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 700;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
    line-height: 1.06;
    margin-bottom: 28px;
    color: var(--ink);
}

.hero-title-accent {
    color: var(--blue);
    font-style: italic;
    font-weight: 600;
}

.soft-underline {
    text-decoration: underline;
    text-decoration-thickness: 0.045em;
    text-underline-offset: 0.16em;
    text-decoration-color: rgba(0, 67, 171, 0.45);
    text-decoration-skip-ink: none;
}

.hero-subtitle {
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 400;
    line-height: 1.62;
    color: var(--gray-soft);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* Botão secundário institucional (contorno azul) */
.btn-outline {
    color: var(--blue);
    border: 1.5px solid rgba(0, 67, 171, 0.45);
    padding: 13.5px 30px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    background: transparent;
    transition: background 0.3s var(--ease), color 0.3s var(--ease),
                border-color 0.3s var(--ease), transform 0.2s var(--ease),
                box-shadow 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 67, 171, 0.22);
}

/* ---- Composição institucional (lado direito): mosaico editorial ---- */
.hero-stage {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backdrop geométrico discreto — motivo de hexágono da marca, fora do agrupamento de cards */
.mosaic-backdrop {
    position: absolute;
    inset: -34px -22px -22px -22px;
    z-index: 0;
    pointer-events: none;
}

.mosaic-backdrop svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mosaic-backdrop .mb-lines line {
    stroke: var(--gray-soft);
    stroke-opacity: 0.18;
    stroke-width: 1;
}

.mosaic-backdrop .mb-hex {
    stroke: var(--blue);
    stroke-opacity: 0.13;
    stroke-width: 1.25;
}

.mosaic-backdrop .mb-node {
    fill: var(--blue);
    fill-opacity: 0.5;
}

.mosaic-backdrop .mb-node-soft {
    fill: var(--blue-soft);
    fill-opacity: 0.45;
}

/* Mosaico: 1 bloco principal + 2 secundários + faixa-síntese */
.mosaic {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "feature feature"
        "cardA   cardB"
        "strip   strip";
    gap: 14px;
}

.m-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(0, 32, 84, 0.07);
    border-radius: 18px;
    box-shadow: 0 26px 52px -32px rgba(0, 32, 84, 0.34),
                0 2px 8px rgba(0, 32, 84, 0.045);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
                opacity 0.4s var(--ease);
}

/* Card principal — mais presença tipográfica e profundidade */
.m-feature {
    grid-area: feature;
    position: relative;
    padding: 22px 24px 24px;
    overflow: hidden;
    background: linear-gradient(158deg, #FFFFFF 0%, #F6FAFF 100%);
}

.m-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue-night) 100%);
}

.m-feature-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.m-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--blue);
}

.m-feature-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 8px;
}

.m-feature-desc {
    font-size: 14px;
    line-height: 1.52;
    color: var(--gray-soft);
    max-width: 95%;
}

/* Cards secundários */
.m-sub {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
}

.m-org {
    grid-area: cardA;
}

/* Variação sutil de fundo para criar contraste entre os dois módulos */
.m-diag {
    grid-area: cardB;
    background: linear-gradient(160deg, #FFFFFF 0%, #F3F7FF 100%);
}

.m-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-tint);
    margin-bottom: 13px;
}

.m-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Chip do card principal — único detalhe em azul cheio, como ponto focal */
.m-icon-feature {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    background: var(--blue);
    box-shadow: 0 10px 20px -8px rgba(0, 67, 171, 0.55);
}

.m-icon-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.m-title {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--blue);
    margin-bottom: 5px;
}

.m-desc {
    font-size: 12.5px;
    line-height: 1.46;
    color: var(--gray-soft);
}

/* Faixa-síntese (selo de fechamento da proposta) */
.m-strip {
    position: relative;
    grid-area: strip;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    border-radius: 14px;
    background: var(--blue-tint);
    border: 1px solid rgba(0, 67, 171, 0.10);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
                opacity 0.4s var(--ease);
}

.m-strip-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.m-strip-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.m-strip-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.35;
    color: var(--blue-night);
}

/* Relevo no hover — mesma lógica da seção "O Diagnóstico": o módulo ativo
   sobe e ganha sombra, enquanto os demais recuam para destacá-lo */
.mosaic:hover .m-card:not(:hover),
.mosaic:hover .m-strip:not(:hover) {
    opacity: 0.5;
}

.m-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 62px -24px rgba(0, 32, 84, 0.42),
                0 4px 12px rgba(0, 32, 84, 0.07);
    z-index: 2;
}

.m-strip:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px -18px rgba(0, 67, 171, 0.38);
    z-index: 2;
}

/* ---- Faixa inferior: pilares conceituais ---- */
.hero-pillars {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 32px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid rgba(0, 32, 84, 0.10);
}

.hero-pillar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-pillar svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: var(--blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-pillar span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
    line-height: 1.25;
}

/* ---- Responsivo ---- */
@media (max-width: 960px) {
    .hero {
        padding-top: 116px;
    }
    .hero-main {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 36px 28px 12px;
        align-items: start;
    }
    .hero-left {
        max-width: 600px;
    }
    .hero-stage {
        max-width: 560px;
        margin: 8px auto 0;
    }
    .hero-pillars {
        flex-wrap: wrap;
        gap: 16px 28px;
        padding: 20px 28px 30px;
    }
    .hero-pillar {
        flex: 1 1 40%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 104px;
    }
    .hero-main {
        padding: 28px 20px 8px;
    }
    .hero-stage {
        max-width: none;
        margin: 4px auto 0;
    }
    /* No mobile o mosaico vira uma pilha vertical organizada */
    .mosaic {
        grid-template-columns: 1fr;
        grid-template-areas:
            "feature"
            "cardA"
            "cardB"
            "strip";
        gap: 12px;
    }
    .hero-cta {
        width: 100%;
    }
    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        flex: 1 1 100%;
        text-align: center;
    }
    .hero-pillars {
        gap: 14px 20px;
        padding: 18px 20px 28px;
    }
    .hero-pillar {
        flex: 1 1 100%;
    }
    .hero-pillar span {
        font-size: 13.5px;
    }
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    padding: 15px 32px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.45s var(--ease),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 67, 171, 0.18);
}

.btn-primary:hover {
    background: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 67, 171, 0.28);
}

.btn-secondary {
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 8px;
    transition: color 0.3s var(--ease), transform 0.2s var(--ease);
}

.btn-secondary:hover {
    color: var(--blue);
    transform: translateX(3px);
}

.btn-large {
    padding: 19px 44px;
    font-size: 17px;
}

/* ============= SECTIONS BASE ============= */
.section {
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 820px;
}

.section-eyebrow {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    text-align: center;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 5.5vw, 70px);
    font-weight: 700;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
    line-height: 1.08;
    text-align: center;
    margin-bottom: 32px;
    color: var(--gray-900);
}

.section-lead {
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 400;
    color: var(--gray-500);
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
    line-height: 1.5;
}

.highlight-blue {
    color: var(--blue);
}

.highlight-blue-light {
    color: var(--blue-soft);
}


/* ============= DIAGNÓSTICO ============= */
.section-dark {
    background: var(--off-white);
}

/* Diagnóstico — lista editorial (estilo McKinsey): número grande +
   afirmação + descrição em linhas separadas por filetes. Distinta do grid de tiles. */
.symptoms-grid {
    display: flex;
    flex-direction: column;
    margin-top: 56px;
    border-top: 1px solid var(--gray-200);
}

.symptom-card {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(200px, 1fr) 1.5fr;
    gap: 40px;
    align-items: center;
    padding: 36px 0;
    background: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
                background-color 0.4s var(--ease), border-color 0.4s var(--ease),
                border-radius 0.4s var(--ease), opacity 0.4s var(--ease);
}

.symptom-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    height: 72px;
    width: 2px;
    background: var(--blue);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Ao passar o mouse na lista, os demais itens recuam suavemente */
.symptoms-grid:hover .symptom-card:not(:hover) {
    opacity: 0.38;
}

.symptom-card:hover {
    padding: 36px 32px;
    background-color: var(--white);
    border-radius: 18px;
    border-bottom-color: transparent;
    box-shadow: 0 28px 56px -18px rgba(11, 31, 77, 0.18);
    transform: translateY(-3px) translateX(4px);
    z-index: 2;
}

.symptom-card:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.symptom-number {
    font-size: 46px;
    font-weight: 300;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 0;
    opacity: 0.4;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.symptom-card:hover .symptom-number {
    opacity: 1;
}

.symptom-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--gray-900);
}

.symptom-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* Descrições do diagnóstico: a versão completa vale no desktop/tablet;
   a versão curta (.symptom-desc-short) só aparece no mobile (ver @media 600px). */
.symptom-desc-short { display: none; }

@media (max-width: 820px) {
    /* Faixa de celulares grandes / tablets pequenos (520–820px): lista do
       diagnóstico mais enxuta — número e título menores, menos respiro. */
    .symptoms-grid { margin-top: 40px; }
    .symptom-card {
        grid-template-columns: 52px 1fr;
        gap: 6px 18px;
        padding: 18px 0;
    }
    .symptom-card h3 { font-size: 18px; margin-bottom: 5px; }
    .symptom-card p { grid-column: 2; font-size: 14px; line-height: 1.55; }
    .symptom-number { font-size: 30px; align-self: start; }
    /* Em coluna estreita o conteúdo fica no topo, então a barrinha
       azul acompanha o número (e não o centro do bloco inteiro) */
    .symptom-card::before {
        top: 19px;
        height: 30px;
        transform: scaleY(0);
        transform-origin: top;
    }
    .symptom-card:hover { padding: 18px 18px; }
    .symptom-card:hover::before { transform: scaleY(1); }
}

@media (max-width: 520px) {
    /* No celular a lista do diagnóstico fica mais enxuta: menos respiro entre
       itens, número e título menores. Tudo dentro do @media — não afeta o
       desktop nem o tablet. */
    .symptoms-grid { margin-top: 32px; }
    .symptom-card {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 16px 0;
    }
    .symptom-number { font-size: 24px; margin-bottom: 2px; }
    .symptom-card h3 { font-size: 16px; margin-bottom: 4px; }
    .symptom-card p { grid-column: 1; font-size: 13.5px; line-height: 1.5; }
    .symptom-card::before { top: 17px; height: 26px; }
    .symptom-card:hover { padding: 16px 14px; }
}


/* ============= COMPARAÇÃO CONTADOR vs ANALISTA ============= */
.section-light {
    background: var(--white);
}

.comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 40px;
}

.comparison-col {
    padding: 48px 40px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
}

.comparison-accountant {
    background: var(--off-white);
    color: var(--gray-900);
    border: 1px solid var(--gray-100);
}

.comparison-analyst {
    background: linear-gradient(155deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-analyst::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(0, 67, 171, 0.35) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}

.comparison-header {
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.comparison-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.comparison-label-blue {
    color: var(--blue-soft);
}

.comparison-header h3 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.comparison-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comp-bullet {
    font-size: 22px;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-list-blue .comp-bullet {
    color: var(--blue-soft);
    font-weight: 600;
}

.comparison-list strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.comparison-list p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.55;
}

.comparison-list-blue p {
    color: rgba(255, 255, 255, 0.72);
}

.comparison-footer {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

.comparison-footer-blue {
    border-top-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-divider span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-conclusion {
    margin-top: 80px;
    text-align: center;
    padding: 52px 40px;
    background: linear-gradient(135deg, var(--blue-tint) 0%, rgba(232, 238, 247, 0.4) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 67, 171, 0.10);
}

.comparison-conclusion p {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 500;
    font-optical-sizing: auto;
    color: var(--ink);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.comparison-conclusion em {
    font-style: italic;
    color: var(--blue-soft);
}

.comparison-conclusion strong {
    color: var(--blue);
    font-weight: 700;
    font-style: italic;
}

/* CTA ao final da página "Além da Contabilidade" */
.alem-cta {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 56px;
}

@media (max-width: 900px) {
    .comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .comparison-divider {
        transform: rotate(90deg);
    }
}


/* ============= MÉTODO ============= */
.section-darker {
    background: var(--gray-900);
    color: var(--white);
    position: relative;
}

.section-darker .section-title {
    color: var(--white);
}

.section-darker .section-lead {
    color: rgba(255, 255, 255, 0.55);
}

.section-darker .section-eyebrow {
    color: var(--blue-soft);
}

.produtos-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 980px;
    margin: 60px auto 0;
}

.produto-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 56px;
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: start;
}

.produto-card:last-child {
    border-bottom: none;
}

.produto-num {
    font-size: 96px;
    font-weight: 700;
    color: var(--blue-soft);
    letter-spacing: -0.04em;
    line-height: 0.9;
    opacity: 0.9;
}

.produto-tagline {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-soft);
    margin-bottom: 12px;
}

.produto-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.produto-meta .produto-tagline {
    margin-bottom: 0;
}

.produto-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E8C76C;
    background: rgba(232, 199, 108, 0.10);
    border: 1px solid rgba(232, 199, 108, 0.45);
    padding: 7px 14px;
    border-radius: 980px;
}

.produto-premium .produto-num {
    color: #E8C76C;
    opacity: 0.95;
}

.produto-premium .produto-deliverables li:hover {
    background: rgba(232, 199, 108, 0.12);
    border-color: rgba(232, 199, 108, 0.45);
}

.produto-card.produto-premium {
    position: relative;
}

.produto-card.produto-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 199, 108, 0.4) 50%, transparent 100%);
    pointer-events: none;
}

.produto-name {
    font-size: clamp(28px, 2.8vw, 38px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 18px;
}

.produto-desc {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    max-width: 640px;
    margin-bottom: 28px;
}

.produto-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.produto-deliverables li {
    font-size: 13px;
    font-weight: 500;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 980px;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.produto-deliverables li:hover {
    background: rgba(74, 111, 168, 0.18);
    border-color: rgba(74, 111, 168, 0.5);
    color: var(--white);
}

@media (max-width: 700px) {
    .produto-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 48px 0;
    }
    .produto-num {
        font-size: 64px;
    }
}


/* ============= CTA ============= */
.section-cta {
    background: linear-gradient(155deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
    color: var(--white);
    text-align: center;
    padding: calc(var(--section-pad) * 1.05) 0;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(0, 67, 171, 0.22) 0%, transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}

.section-cta > .container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 32px;
    color: var(--white);
}

.section-cta .highlight-blue {
    color: var(--blue-soft);
}

.cta-text {
    font-size: clamp(18px, 1.8vw, 22px);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.section-cta .btn-primary {
    background: var(--white);
    color: var(--blue);
}

.section-cta .btn-primary:hover {
    background: var(--off-white);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.cta-actions {
    margin-top: 44px;
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}


/* ============= FOOTER ============= */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 32px;
    font-size: 14px;
}

.footer-brand-name {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    max-width: 360px;
    line-height: 1.55;
}

.footer-col h4 {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    margin-bottom: 8px;
    font-size: 12.5px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 700px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ============= FORMULÁRIO DE CONTATO ============= */
.contato-form {
    margin-top: 34px;
    max-width: 720px;
}

/* layout institucional em 2 colunas; "Mensagem" ocupa a linha inteira */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
    margin-bottom: 24px;
}
.form-field-full { grid-column: 1 / -1; }

.form-field {
    margin-bottom: 0;
}

/* em telas estreitas o formulário vira uma coluna só */
@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray-400);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 67, 171, 0.12);
}

.form-field textarea {
    resize: vertical;
    min-height: 132px;
    line-height: 1.55;
}

/* dropdown "Principal necessidade atual" — aparência igual aos demais campos,
   com seta personalizada (azul Eidos) e cor cinza enquanto nada foi escolhido */
.form-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230043AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px 18px;
}
.form-field select:required:invalid { color: var(--gray-400); }

.contato-form button.btn-primary {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.form-feedback {
    min-height: 22px;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.form-feedback.is-error {
    color: #C0392B;
}

.form-feedback.is-ok {
    color: var(--blue);
}

.form-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
}


/* ============= ANIMAÇÕES REVEAL ============= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Após o reveal de entrada os symptom-cards trocam para a curva de hover */
.symptom-card.is-visible {
    transition:
        transform        0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow       0.55s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.4s  cubic-bezier(0.22, 1, 0.36, 1),
        border-color     0.4s  cubic-bezier(0.22, 1, 0.36, 1),
        border-radius    0.4s  cubic-bezier(0.22, 1, 0.36, 1),
        opacity          0.4s  cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* Zera o delay após a entrada para que o hover seja idêntico em todos */
.reveal.is-visible { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
    /* O dono do site quer as animações sempre. Sob "reduzir movimento"
       mantemos um fade suave (sem o deslize vertical, que é o "movimento"
       que essa preferência visa reduzir), em vez de desligar tudo. */
    .reveal {
        opacity: 0;
        transform: none;
        transition: opacity 0.9s var(--ease);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}


/* ============= GRID DE PRODUTOS (formato McKinsey, marca Eidos) ============= */
.section-produtos {
    background: var(--off-white);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1120px;
    margin: 64px auto 0;
}

.produto-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 34px;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.produto-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: var(--hex);
    background-size: 110px;
    opacity: 0.14;
    transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}

.produto-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(5, 14, 38, 0.45);
}

.produto-tile:hover::before {
    transform: scale(1.1);
    opacity: 0.22;
}

.produto-tile-num {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--blue-soft);
}

.produto-tile-name {
    display: block;
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 8px;
}

.produto-tile-tagline {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

.produto-tile-cta {
    margin-top: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.produto-tile-cta .seta {
    transition: transform 0.3s var(--ease);
}

.produto-tile:hover .produto-tile-cta .seta {
    transform: translateX(5px);
}

.produto-tile.is-premium {
    background: linear-gradient(155deg, #0d1b2e 0%, #08111c 100%);
}

.produto-tile.is-premium .produto-tile-num {
    color: var(--gold);
}

.produto-tile.is-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 199, 108, 0.6), transparent);
}

@media (max-width: 900px) {
    .produtos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    /* No celular os tiles deixam de ser quadrados altos e viram uma LISTA
       compacta (número + nome/tagline + seta), mantendo o fundo navy e os
       hexágonos da marca. Mesmo espírito da lista do Diagnóstico. */
    .produtos-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 40px;
    }
    .produto-tile {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-height: 0;
        padding: 18px 20px;
        gap: 16px;
        border-radius: 12px;
    }
    .produto-tile-num {
        flex-shrink: 0;
        font-size: 12px;
        letter-spacing: 0.16em;
    }
    .produto-tile-body {
        flex: 1 1 auto;
        min-width: 0;
    }
    .produto-tile-name {
        font-size: 17px;
        line-height: 1.2;
        margin-bottom: 3px;
    }
    .produto-tile-tagline {
        font-size: 12.5px;
        line-height: 1.4;
    }
    /* Na linha mantemos só a seta como indicação de "abrir": o texto
       "Ver produto" é escondido para não competir com nome e tagline. */
    .produto-tile-cta {
        flex-shrink: 0;
        margin-top: 0;
        gap: 0;
        font-size: 0;
        color: var(--blue-soft);
    }
    .produto-tile-cta .seta {
        font-size: 22px;
        line-height: 1;
    }
    /* Numa lista compacta o "levantar" do hover/tap fica estranho — neutraliza. */
    .produto-tile:hover {
        transform: none;
        box-shadow: none;
    }
    .produto-tile::before { background-size: 84px; }
}


/* ============= PÁGINAS DE PRODUTO (Nível 2 e 3) ============= */
/* libera a navbar fixa (~84px) com um respiro pequeno; o conteúdo começa
   logo abaixo, sem o vão grande que o padding da .section criava */
.produto-page { padding-top: 76px; }
.produto-page > .section { padding-top: 14px; padding-bottom: 52px; }

.crumbs {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}
.crumbs a { color: var(--blue); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--gray-700); }

.produto-hero-num {
    font-size: clamp(64px, 12vw, 140px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--blue-soft);
    margin-bottom: 4px;
}

.produto-hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.produto-hero-title {
    font-size: clamp(34px, 4.4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: var(--gray-900);
    margin-bottom: 18px;
    max-width: 20ch;
}

.produto-hero-resumo {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--gray-500);
    max-width: 660px;
    margin-bottom: 14px;
}
.produto-hero-resumo--last { margin-bottom: 0; }

.produto-hero-entregaveis h2,
.detalhe-sub {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
}
.chips li {
    font-size: 14px;
    font-weight: 500;
    padding: 9px 16px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 980px;
    color: var(--gray-700);
}

.produto-hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

/* --- detalhe (Nível 3) --- */
.detalhe-sub { margin-top: 8px; }

.etapas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}

.etapa-card {
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    background: var(--white);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.etapa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(29, 29, 31, 0.08);
}
.etapa-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
}
.etapa-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.etapa-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.55;
}

.detalhe-fechamento {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 500;
    color: var(--blue);
    line-height: 1.4;
    letter-spacing: -0.015em;
    max-width: 820px;
    margin: 8px 0 48px;
}


/* ===================================================================
   PRODUTO — página redesenhada (hero 2 colunas + painel + cards)
   =================================================================== */
.pd-hero {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 60px;
    /* as duas colunas têm a MESMA altura (a do conteúdo mais alto). O número
       da esquerda fica sempre colado no topo e o painel preenche toda a altura,
       distribuindo as etapas — assim os produtos 3–6 aproveitam o espaço como
       os produtos 01 e 02 (sem número flutuando nem vão no painel). */
    align-items: stretch;
    margin-top: 8px;
}

/* a coluna da esquerda vira flex-column: o texto fica no topo e os botões
   são empurrados para a base quando o painel é mais alto (produtos 3–6),
   preenchendo a coluna em vez de deixar um vão. */
.pd-hero-left {
    padding-top: 0;
    display: flex;
    flex-direction: column;
}
.pd-hero-left .pd-actions { margin-top: auto; }

.pd-num {
    font-size: clamp(64px, 7vw, 96px);
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.04em;
    color: rgba(0, 67, 171, 0.24);
    margin-bottom: 12px;
}

.pd-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.pd-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(38px, 4.4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.032em;
    line-height: 1.03;
    color: var(--gray-900);
    margin-bottom: 16px;
    max-width: 13ch;
}

.pd-resumo {
    font-size: clamp(15.5px, 1.3vw, 18px);
    line-height: 1.5;
    color: var(--gray-500);
    max-width: 32em;
    margin-bottom: 24px;
}

.pd-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 16px;
}
.btn-ghost .seta { transition: transform 0.3s var(--ease); }
.btn-ghost:hover .seta { transform: translateX(4px); }
.btn-large .seta { margin-left: 2px; }

/* ---- painel (card à direita) ---- */
.pd-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    border: 1px solid rgba(0, 32, 84, 0.08);
    border-radius: 26px;
    padding: 26px 34px;
    box-shadow: 0 50px 100px -60px rgba(0, 32, 84, 0.42),
                0 2px 6px rgba(0, 32, 84, 0.03);
}
/* textura "blueprint" sutil que esvanece a partir do canto superior direito */
.pd-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(0, 67, 171, 0.035) 0 1px, transparent 1px 26px);
    -webkit-mask-image: radial-gradient(125% 105% at 100% 0%, #000 0%, transparent 68%);
    mask-image: radial-gradient(125% 105% at 100% 0%, #000 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}
.pd-panel > * { position: relative; z-index: 1; }

/* painel FLUXO (produto 01) */
.pd-panel-flow { display: flex; flex-direction: column; justify-content: space-between; }
.pd-flow-step {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 44px 150px;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}
.pd-flow-ico {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--blue-tint);
    color: var(--blue);
}
.pd-flow-ico svg { width: 26px; height: 26px; }
.pd-flow-text h4 { font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 5px; letter-spacing: -0.01em; }
.pd-flow-text p { font-size: 14.5px; color: var(--gray-500); line-height: 1.45; }
.pd-flow-dash { height: 0; border-top: 1.5px dashed rgba(0, 67, 171, 0.28); }
.pd-flow-illus { width: 150px; height: 82px; display: grid; place-items: center; }
.pd-flow-illus svg { max-width: 100%; max-height: 100%; }
.pd-flow-arrow {
    display: flex;
    padding: 4px 0 4px 18px;
    color: var(--blue);
    opacity: 0.42;
}
.pd-flow-arrow svg { width: 20px; height: 20px; }

/* painel LISTA (produtos 02, 03, 04, 06) */
.pd-panel-list { display: flex; flex-direction: column; }
/* o miolo preenche toda a altura do painel e distribui as etapas:
   nos painéis "folgados" (02) elas se espaçam; nos densos (06) ficam no piso
   compacto — sempre ocupando o card inteiro, sem vão. */
.pd-list { display: flex; flex-direction: column; justify-content: space-between; flex: 1; position: relative; }
.pd-list::before {
    content: '';
    position: absolute;
    left: 14px; top: 18px; bottom: 18px;
    width: 2px;
    background: rgba(0, 67, 171, 0.16);
}
.pd-list-item {
    display: grid;
    grid-template-columns: 28px 58px minmax(0, 1fr) 130px;
    align-items: center;
    gap: 18px;
    /* piso compacto: garante que mesmo 6 etapas (produto 06) caibam dentro da
       altura do texto à esquerda; quando sobra espaço, o space-between afasta. */
    padding: 7px 0;
}
.pd-list-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 12.5px; font-weight: 700;
    display: grid; place-items: center;
    position: relative; z-index: 1;
}
.pd-list-ico {
    width: 58px; height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(0, 32, 84, 0.10);
    background: #fff;
    color: var(--blue);
    display: grid; place-items: center;
}
.pd-list-ico svg { width: 26px; height: 26px; }
.pd-list-text h4 { font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; letter-spacing: -0.01em; }
.pd-list-text p { font-size: 14px; color: var(--gray-500); line-height: 1.45; }
.pd-list-mini {
    display: flex; align-items: center; gap: 11px;
    width: 130px;
    background: rgba(0, 67, 171, 0.045);
    border: 1px solid rgba(0, 67, 171, 0.09);
    border-radius: 13px;
    padding: 12px 14px;
}
.pd-list-mini-ico { color: var(--blue); opacity: 0.72; flex-shrink: 0; }
.pd-list-mini-ico svg { width: 24px; height: 24px; }
.pd-mini-lines { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pd-mini-lines i { height: 4.5px; border-radius: 3px; background: rgba(0, 67, 171, 0.16); }
.pd-mini-lines i:nth-child(1) { width: 100%; }
.pd-mini-lines i:nth-child(2) { width: 72%; }
.pd-mini-lines i:nth-child(3) { width: 50%; }

/* painel FRENTES (produto 05) */
.pd-panel-frentes { display: flex; flex-direction: column; justify-content: space-between; }
.pd-frentes-title { font-size: 19px; font-weight: 700; color: var(--gray-900); margin-bottom: 32px; letter-spacing: -0.01em; }
.pd-frentes-rail {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: relative; margin: 0 0 28px;
}
/* linha conectora */
.pd-frentes-rail::before {
    content: '';
    position: absolute; left: 10%; right: 10%; top: 50%;
    height: 2px; transform: translateY(-50%);
    background: rgba(0, 67, 171, 0.22);
    z-index: 0;
}
/* 4 nós sobre a linha, exatamente entre os círculos */
.pd-frentes-rail::after {
    content: '';
    position: absolute; left: 10%; right: 10%; top: 50%;
    height: 7px; transform: translateY(-50%);
    background: radial-gradient(circle, var(--blue) 0 2.4px, transparent 2.8px) 0 center / 25% 100% repeat-x;
    z-index: 0;
}
.pd-frente-circle {
    justify-self: center;
    width: 66px; height: 66px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 32, 84, 0.10);
    color: var(--blue);
    display: grid; place-items: center;
    position: relative; z-index: 1;
    box-shadow: 0 8px 18px -10px rgba(0, 32, 84, 0.35);
}
.pd-frente-circle svg { width: 28px; height: 28px; }
.pd-frentes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pd-frente-num { display: block; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 5px; }
.pd-frente-col h4 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.pd-frente-col p { font-size: 12.5px; color: var(--gray-500); line-height: 1.42; }
.pd-callout {
    display: flex; align-items: center; gap: 12px;
    margin-top: 28px;
    padding: 16px 20px;
    background: rgba(0, 67, 171, 0.05);
    border-radius: 14px;
}
.pd-callout-ico { color: var(--blue); flex-shrink: 0; }
.pd-callout-ico svg { width: 22px; height: 22px; }
.pd-callout p { font-size: 14px; color: var(--gray-700); line-height: 1.45; }

/* ---- O QUE VOCÊ RECEBE (faixa de cards) ---- */
.pd-recebe { position: relative; margin-top: 22px; padding: 22px 0 20px; }
.pd-recebe::before {
    content: '';
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 100vw; transform: translateX(-50%);
    background: var(--off-white);
    z-index: -1;
}
.pd-recebe-head {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}
.pd-recebe-dash { width: 28px; height: 2px; background: var(--blue); display: inline-block; }
.pd-cards { display: grid; grid-template-columns: repeat(var(--pd-cols, 4), 1fr); gap: 12px; }
.pd-card {
    display: flex; gap: 13px; align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(0, 32, 84, 0.07);
    border-radius: 14px;
    padding: 14px 16px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.pd-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0, 32, 84, 0.30); }
.pd-card-ico {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--blue-tint);
    color: var(--blue);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.pd-card-ico svg { width: 20px; height: 20px; }
.pd-card-body h4 { font-size: 14.5px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; line-height: 1.25; letter-spacing: -0.01em; }
.pd-card-body p { font-size: 13px; color: var(--gray-500); line-height: 1.45; }

/* ---- fechamento ---- */
.pd-closer-serif {
    display: flex; align-items: center; justify-content: center;
    gap: 26px; margin-top: 20px;
}
.pd-closer-serif p {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.pd-closer-rule { flex: 1; max-width: 150px; height: 0; border-top: 1.5px dotted rgba(0, 67, 171, 0.4); position: relative; }
.pd-closer-rule::after { content: ''; position: absolute; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translateY(-50%); }
.pd-closer-serif .pd-closer-rule:first-of-type::after { right: 0; }
.pd-closer-serif .pd-closer-rule:last-of-type::after { left: 0; }

.pd-closer-shield {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 20px;
}
.pd-closer-shield .pd-closer-ico { color: var(--blue); flex-shrink: 0; }
.pd-closer-shield .pd-closer-ico svg { width: 22px; height: 22px; }
.pd-closer-shield p { font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; color: var(--gray-700); }

/* ---- responsivo ---- */
/* até 1080px (inclui tablets em paisagem, ex.: iPad 1024) o hero vira 1 coluna:
   o painel ocupa a largura toda e as descrições deixam de espremer em 2 colunas */
@media (max-width: 1080px) {
    .pd-hero { grid-template-columns: 1fr; gap: 40px; }
    .pd-title { max-width: none; }
    .pd-cards { grid-template-columns: repeat(2, 1fr) !important; }
    .pd-frentes-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 760px) {
    .pd-flow-step { grid-template-columns: 48px minmax(0, 1fr); }
    .pd-flow-dash, .pd-flow-illus { display: none; }
    .pd-list-item { grid-template-columns: 24px 48px minmax(0, 1fr); }
    .pd-list-mini { display: none; }
    .pd-list::before { left: 12px; }
    .pd-panel-frentes .pd-frentes-rail { display: none; }
    .pd-frentes-grid { grid-template-columns: 1fr; gap: 18px; }
    .pd-cards { grid-template-columns: 1fr !important; }
    .pd-closer-serif { gap: 14px; }
    .pd-closer-rule { max-width: 40px; }
}


/* ============= QUEM SOMOS / O QUE FAZEMOS (faixa institucional) ============= */
.section-sobre {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.section-sobre::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hex);
    background-size: 130px;
    opacity: 0.08;
    pointer-events: none;
}
.sobre-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.section-sobre .section-eyebrow {
    color: var(--blue-soft);
}
.sobre-title {
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 16px 0 24px;
    color: var(--white);
}
.section-sobre .highlight-blue { color: var(--blue-soft); }
.sobre-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.sobre-pilares { display: flex; flex-direction: column; }
.sobre-pilares li {
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sobre-pilares li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sobre-pilares strong { font-size: 17px; font-weight: 600; color: var(--white); }
.sobre-pilares span { font-size: 14.5px; color: rgba(255, 255, 255, 0.62); line-height: 1.5; }

@media (max-width: 820px) {
    .sobre-grid { grid-template-columns: 1fr; gap: 36px; }
}


/* ============================================================
   COMPACTAÇÃO MOBILE GLOBAL (telas ≤ 600px)
   Densifica o site inteiro no celular: menos espaçamento entre
   e dentro das seções + fontes um pouco menores, para reduzir a
   rolagem até o fim. Tudo isolado neste @media — desktop e tablet
   permanecem exatamente como estão.
   ============================================================ */
@media (max-width: 600px) {
    /* Espaço vertical de TODAS as seções (era ~64px no mobile). */
    :root { --section-pad: 40px; }
    .container { padding: 0 18px; }

    /* --- Tipografia base das seções --- */
    .section-eyebrow { font-size: 13px; margin-bottom: 12px; }
    .section-title   { font-size: clamp(26px, 7.6vw, 33px); line-height: 1.14; margin-bottom: 16px; }
    .section-lead    { font-size: 15px; line-height: 1.45; margin-bottom: 26px; }

    /* --- HERO --- */
    .hero { min-height: auto; padding-top: 88px; }
    .hero-main { padding: 16px 18px 6px; gap: 22px; }
    .hero-eyebrow  { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 14px; }
    .hero-title    { font-size: clamp(29px, 8.4vw, 38px); line-height: 1.1; margin-bottom: 14px; }
    .hero-subtitle { font-size: 14.5px; line-height: 1.5; margin-bottom: 0; }
    .mosaic { gap: 10px; }
    .m-feature { padding: 16px 16px 17px; }
    .m-feature-top { margin-bottom: 12px; }
    .m-feature-title { font-size: 18px; }
    .m-feature-desc { font-size: 13px; }
    .m-sub { padding: 13px 14px 15px; }
    .hero-pillars { gap: 8px 16px; padding: 14px 18px 20px; }
    .hero-pillar span { font-size: 12.5px; }

    /* --- SOBRE (faixa navy) --- */
    .sobre-grid { gap: 20px; }
    .sobre-title { font-size: clamp(23px, 6.6vw, 28px); margin: 6px 0 12px; }
    .sobre-lead  { font-size: 14.5px; line-height: 1.5; }
    .sobre-pilares li { padding: 12px 0; gap: 4px; }
    .sobre-pilares strong { font-size: 15px; }
    .sobre-pilares span   { font-size: 13px; line-height: 1.45; }

    /* --- DIAGNÓSTICO / PRODUTOS: listas começam mais perto do texto --- */
    .symptoms-grid { margin-top: 20px; }
    .produtos-grid { margin-top: 20px; }

    /* No celular usamos as descrições curtas e cards mais compactos. */
    .symptom-desc-full { display: none; }
    .symptom-desc-short { display: block; }
    .symptom-card { padding: 12px 0; }
    .symptom-card::before { top: 13px; height: 22px; }

    /* --- COMPARAÇÃO (Contabilidade vs Eidos) --- */
    .comparison { gap: 14px; margin-top: 24px; }
    .comparison-col { padding: 26px 22px; border-radius: 20px; }
    .comparison-header { margin-bottom: 22px; }
    .comparison-header h3 { font-size: 24px; }
    .comparison-list { gap: 18px; }
    .comparison-list strong { font-size: 16px; margin-bottom: 4px; }
    .comparison-list p { font-size: 14px; line-height: 1.5; }
    .comparison-footer { margin-top: 22px; padding-top: 18px; font-size: 14.5px; }
    .comparison-divider span { width: 44px; height: 44px; font-size: 12px; }
    .comparison-conclusion { margin-top: 28px; padding: 28px 22px; }
    .comparison-conclusion p { font-size: clamp(19px, 5.4vw, 24px); line-height: 1.3; }

    /* --- CTA final --- */
    .cta-title { font-size: clamp(27px, 8vw, 36px); line-height: 1.08; margin-bottom: 14px; }
    .cta-text  { font-size: 15px; line-height: 1.45; margin-bottom: 22px; }
    .cta-actions { margin-top: 22px; }

    /* --- RODAPÉ --- */
    .footer { padding: 40px 0 22px; }
    .footer-grid { gap: 24px; padding-bottom: 28px; }
    .footer-brand-name { font-size: 18px; margin-bottom: 10px; }
    .footer-bottom { padding-top: 20px; }
}

/* ---- no-JS / script-failure fallback (see plans/003) ---- */
/* Applied to .reveal elements when JS is unavailable or has failed, so the
   page is never blank. Must use !important to override the reduced-motion
   .reveal{opacity:0} rule above. */
.reveal.no-js-reveal {
    opacity: 1 !important;
    transform: none !important;
}
