/* ==========================================================================
   Consulta RF. — V2 Design System
   Engenhar template adaptado: hero com trapézio lima diagonal + foto
   Tipografia: Montserrat (display) + Open Sans (body)
   ========================================================================== */

/* ─── Tokens ─── */
:root {
    --navy: #1a1a2e;
    --navy-deep: #0a0a1c;
    --lima: #a5cf3b;
    --lima-deep: #5d781e;
    --paper: #faf8f1;
    --white: #ffffff;
    --ink: #2a2a3a;
    --ink-soft: #555566;
    --ink-mute: #888892;
    --rule: #e2dfd2;

    --font-display: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;
}

/* ─── Self-hosted fonts (variable, Latin range — cobre PT-BR) ─── */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/opensans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── Top Strip Aviso ─── */
.top-strip {
    background: var(--white);
    color: var(--ink);
    padding: 8px 0 9px;
    font-size: 12px;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--rule);
}
.top-strip .row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}
.top-strip .row > span:first-child {
    grid-column: 2;
    text-align: center;
}
.top-strip .row > .social-icons {
    grid-column: 3;
    justify-self: end;
}
.top-strip .lima { color: var(--lima-deep); font-weight: 800; }
.top-strip .social-icons { display: flex; gap: 4px; }
.top-strip .social-icons a {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    color: var(--navy);
    border: 1px solid rgba(26, 26, 46, 0.18);
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.top-strip .social-icons a:hover {
    background: var(--navy);
    color: var(--lima);
    border-color: var(--navy);
}
.top-strip .social-icons svg { width: 12px; height: 12px; fill: currentColor; }

/* ─── Header ─── */
.hdr {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hdr-logo-row { display: none; }

/* nav bar com logo integrado */
.nav-bar {
    background: var(--navy);
    border-bottom: 3px solid var(--lima);
}
.nav-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
}
.nav-bar-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    margin-left: -10px;
}
.nav-bar-logo img {
    height: 36px;
    width: auto;
    display: block;
}
.nav-bar-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}
.nav-bar-links a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    padding: 7px 11px;
    transition: background 0.18s ease;
}
.nav-bar-links a:hover { background: rgba(255, 255, 255, 0.08); }
.nav-bar-links a.active,
.nav-bar-links a[aria-current="page"] {
    background: var(--lima);
    color: var(--navy);
    font-weight: 700;
}
/* Dropdown no nav (Serviços > Consultas/API) */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    padding: 7px 11px;
    transition: background 0.18s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.16s ease;
}
.nav-dropdown[open] summary,
.nav-dropdown summary:hover { background: rgba(255, 255, 255, 0.08); }
.nav-dropdown[open] summary::after { transform: rotate(180deg); }
.nav-dropdown.is-current summary {
    background: var(--lima);
    color: var(--navy);
    font-weight: 700;
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 4px;
    min-width: 220px;
    background: var(--navy);
    border: 1px solid rgba(165, 207, 59, 0.4);
    border-top: 3px solid var(--lima);
    z-index: 200;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}
.nav-dropdown-menu a {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.16s ease, color 0.16s ease;
}
.nav-dropdown-menu a:last-child { border-bottom: 0; }
.nav-dropdown-menu a:hover { background: rgba(165, 207, 59, 0.14); color: var(--lima); }
.nav-dropdown-menu a[aria-current="page"] { color: var(--lima); background: rgba(165, 207, 59, 0.08); }
.nav-dropdown-menu a small {
    grid-column: 2;
    display: block;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}
.nav-dropdown-menu a:hover small { color: rgba(165, 207, 59, 0.7); }
.nav-dropdown-menu .nav-dropdown-num {
    grid-column: 1;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    color: var(--lima);
    letter-spacing: 0.04em;
}


/* ─── Hero ─── */
/* ─── Hero Photo (image full-bleed + texto sobreposto, estilo editorial) ─── */
.hero-photo {
    position: relative;
    min-height: calc(100vh - 70px);
    overflow: hidden;
    background: var(--navy-deep);
    color: var(--white);
}
.hero-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/assets/desk-fiscal-hero.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.65;
}
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(7, 7, 18, 0.78) 0%, rgba(7, 7, 18, 0.55) 25%, rgba(7, 7, 18, 0.2) 55%, rgba(7, 7, 18, 0) 85%);
}
.hero-photo::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 42px;
    background: rgba(7, 7, 18, 0.78);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 -3px 14px rgba(0, 0, 0, 0.5));
}
.hero-photo-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: flex-end;
    padding: 56px 0 56px;
}
.hero-photo-content .container {
    max-width: none;
    padding-left: 56px;
    padding-right: 24px;
    margin: 0;
    width: 100%;
}
.hero-photo-mark {
    width: 56px;
    height: 3px;
    background: var(--lima);
    margin-bottom: 28px;
}
.hero-photo-eyebrow {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 32px;
}
.hero-photo-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.016em;
    color: var(--white);
    max-width: 22ch;
    margin: 0;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 8px 28px rgba(0, 0, 0, 0.55),
        0 16px 48px rgba(0, 0, 0, 0.35);
}
.hero-photo-headline strong { font-weight: 800; color: var(--lima); }
.hero-photo-headline em { font-style: normal; font-weight: 800; color: var(--lima); }
.hero-photo-deck {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 52ch;
    margin: 24px 0 36px;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.65),
        0 4px 16px rgba(0, 0, 0, 0.5);
}
.hero-photo-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-hero.ghost-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-hero.ghost-light:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

@media (max-width: 880px) {
    .hero-photo { min-height: calc(100vh - 100px); }
    .hero-photo-content { min-height: calc(100vh - 100px); padding: 40px 0 88px; }
    .hero-photo-bg { opacity: 0.6; }
}

.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    color: var(--white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/assets/desk-fiscal-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: flex;
    align-items: stretch;
    width: 100%;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    width: 100%;
    align-items: stretch;
    min-height: 560px;
    max-width: none;
    padding: 0;
}

.hero-left {
    grid-column: 2;
    grid-row: 1;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}
.hero-left .small-pre {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    padding-left: 16px;
}

/* ─── Trapézio lima (esquerda) ─── */
.hero-right-cell {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 560px;
}
.hero-right-shadow { display: none; }

.hero-right {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #b6db4f 0%, var(--lima) 45%, #95bd34 100%);
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
    padding: 56px 56px 56px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    color: var(--navy);
    min-height: 560px;
    filter: drop-shadow(16px 10px 40px rgba(7, 7, 18, 0.78));
}
.hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}
.hero-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.14) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-right > * { position: relative; z-index: 2; }

/* Headline */
.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.12;
    letter-spacing: -0.012em;
    color: var(--navy);
    max-width: 100%;
}
.hero-headline strong { font-weight: 800; color: var(--navy-deep); display: inline-block; }
.hero-headline em { font-style: normal; font-weight: 800; color: var(--navy-deep); }

.hero-deck {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--navy);
    margin: 14px 0 6px;
    max-width: 36ch;
}
.hero-deck strong { font-weight: 700; }

/* CTAs */
.hero-cta-row {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.btn-hero {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 11px 18px;
    background: var(--navy);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--navy);
    transition: all 0.2s ease;
}
.btn-hero:hover { background: var(--white); color: var(--navy); }
.btn-hero.ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-hero.ghost:hover { background: var(--navy); color: var(--white); }

/* ─── Page Hero (interior) — usa imagem boardroom ─── */
.page-hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background-image: url('/assets/boardroom-fiscal-hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 38, 0.55) 0%, rgba(20, 20, 38, 0.85) 100%);
    z-index: 1;
}
.page-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 64px;
    padding-bottom: 56px;
}
.page-hero .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.08;
    color: var(--white);
    max-width: 22ch;
}
.page-hero h1 strong { font-weight: 800; }

/* ─── Serviços / cards ─── */
/* ─── Home intro (deck entre hero e cards) ─── */
.home-intro {
    padding: 72px 0 88px;
    background: var(--paper);
    border-top: 1px solid var(--rule);
}

/* ─── Stat Strip (transição entre home-intro e servicos) ─── */
.stat-strip {
    background: var(--paper);
    padding: 26px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.stat-strip-row {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    gap: 24px 32px;
    flex-wrap: wrap;
}
.stat-strip-item {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    padding-bottom: 6px;
    cursor: default;
}
.stat-strip-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.stat-strip-item:hover::after {
    transform: scaleX(1);
}
.stat-strip-item strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--lima-deep);
    letter-spacing: -0.008em;
    text-transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .stat-strip-item::after { transition: none; }
}

@media (max-width: 880px) {
    .stat-strip { padding: 18px 0; }
    .stat-strip-row { gap: 14px 20px; justify-content: flex-start; }
    .stat-strip-item { font-size: 9.5px; letter-spacing: 0.16em; }
    .stat-strip-item strong { font-size: 14px; }
}
.home-intro-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 22px;
}
.home-intro h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.08;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin: 0 0 40px;
    max-width: 24ch;
}
.home-intro h2 strong { font-weight: 800; }
.home-intro h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.home-intro-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 64px;
    row-gap: 22px;
    padding-top: 30px;
    border-top: 4px double var(--navy);
}
.home-intro-body p:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
}
.home-intro-body p:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
.home-intro-body p:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}
.home-intro-body p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}
.home-intro-body p strong { color: var(--navy); font-weight: 700; }
.home-intro-body p a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--lima);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
.home-intro-body p a:hover {
    color: var(--lima-deep);
    text-decoration-color: var(--lima-deep);
}

@media (max-width: 880px) {
    .home-intro { padding: 56px 0 64px; }
    .home-intro-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 22px;
        padding-top: 22px;
    }
    .home-intro-body p:nth-child(1),
    .home-intro-body p:nth-child(2),
    .home-intro-body p:nth-child(3) {
        grid-column: 1;
        grid-row: auto;
    }
    .home-intro-body p { font-size: 15px; }
}

.servicos { padding: 88px 0 88px; background: var(--paper); }
.servicos-head {
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 36px;
    align-items: end;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
}
.servicos-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 18px;
}
.servicos-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin: 0;
    max-width: 18ch;
}
.servicos-head h2 strong { font-weight: 800; }
.servicos-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.servicos-head-link {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--navy);
    transition: color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}
.servicos-head-link:hover { color: var(--lima-deep); border-color: var(--lima); }

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.serv-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 32px 30px 28px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}
.serv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--lima);
    transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.serv-card:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
}
.serv-card:hover::before { width: 100%; }

.serv-card[data-num]::after {
    content: attr(data-num);
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--rule);
    z-index: 1;
    transition: color 0.25s ease;
    user-select: none;
    pointer-events: none;
}
.serv-card[data-num]:hover::after { color: var(--lima-deep); }

.serv-card-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lima-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.serv-card-tag::before {
    content: "";
    width: 14px;
    height: 1px;
    background: var(--lima-deep);
}
.serv-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
}
.serv-card h3 em {
    font-style: italic;
    font-weight: 600;
    color: var(--ink-soft);
}
.serv-card-02[data-num]::after {
    top: auto;
    bottom: 14px;
    right: 18px;
    font-size: 34px;
    color: rgba(165, 207, 59, 0.55);
}
.serv-card-02 h3 em {
    color: var(--navy);
}
.serv-card-03[data-num]::after {
    font-size: 38px;
    color: rgba(26, 26, 46, 0.08);
}
.serv-card-03 h3 em {
    font-weight: 700;
    color: var(--lima-deep);
    font-style: normal;
    border-bottom: 2px solid var(--lima);
}
.serv-card-04[data-num]::after {
    top: auto;
    bottom: 14px;
    right: 18px;
    font-size: 34px;
    color: rgba(165, 207, 59, 0.55);
}
.serv-card-04 h3 em {
    font-weight: 800;
    color: var(--navy);
    font-style: normal;
    letter-spacing: -0.005em;
}
.serv-card-h3-mute {
    font-weight: 500;
    color: var(--ink-soft);
    font-size: 0.78em;
    letter-spacing: 0.04em;
    margin-left: 4px;
    vertical-align: 0.05em;
}
.serv-card p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
    flex: 1;
}
.serv-card-link {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    align-self: flex-start;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--lima);
    margin-top: 8px;
    transition: color 0.18s ease;
}
.serv-card:hover .serv-card-link { color: var(--lima-deep); }

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

/* ─── Case Spread (image + text feature) — pages internas ─── */
.case-spread {
    padding: 88px 0 96px;
    background: var(--paper);
}
.faq-section + .case-spread,
.case-spread:has(+ .faq-section) {
    padding-bottom: 36px;
}
.case-spread-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}
.case-spread.text-only .case-spread-grid {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 0;
}
.case-spread.text-only .case-spread-text {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 64px;
    row-gap: 28px;
    align-items: start;
}
.case-spread.text-only .case-spread-eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
}
.case-spread.text-only h1 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 18ch;
}
.case-spread.text-only .case-spread-body {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: start;
    border-left: 2px solid var(--lima);
    padding-left: 36px;
    margin: 0;
    max-width: 52ch;
}
.case-spread.text-only .case-spread-stat {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    margin-top: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}
.case-spread.text-only .case-spread-text.no-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    align-items: start;
}
.case-spread.text-only .case-spread-text.no-body h1 {
    max-width: 24ch;
}
.case-spread-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    align-self: flex-start;
}
.case-spread-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.case-spread-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}
.case-spread-brand img { height: 32px; width: auto; }
.case-spread-brand small {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-mute);
    padding-left: 14px;
    border-left: 1px solid var(--rule);
}
.case-spread-stat {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rule);
}
.case-spread-stat-num {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(64px, 7.4vw, 104px);
    line-height: 0.92;
    color: var(--navy);
    letter-spacing: -0.04em;
}
.case-spread-stat-num strong { font-weight: 700; color: var(--lima-deep); }
.case-spread-stat-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink-soft);
    max-width: 26ch;
    font-weight: 500;
}
.case-spread h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.018em;
    max-width: 22ch;
    margin-top: 8px;
}
.case-spread h1 strong { font-weight: 800; }
.case-spread h1 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.case-spread-body {
    font-size: 15px;
    line-height: 1.72;
    color: var(--ink);
    max-width: 58ch;
}
.case-spread-body strong { color: var(--navy); font-weight: 700; }
.case-spread-body p + p { margin-top: 18px; }
.case-spread-image {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    outline: 2px solid var(--navy);
    outline-offset: 0;
    box-shadow: 14px 14px 0 0 var(--lima), 18px 18px 36px rgba(7, 7, 18, 0.18);
    position: relative;
}

/* Variante tipográfica (sem foto) — usado em /por-que-confiar/ */
.case-spread-anchor {
    aspect-ratio: 4 / 5;
    background: var(--paper-warm, #ede8d8);
    outline: 2px solid var(--navy);
    outline-offset: 0;
    box-shadow: 14px 14px 0 0 var(--lima), 18px 18px 36px rgba(7, 7, 18, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.case-spread-anchor::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(26, 26, 46, 0.18);
    pointer-events: none;
}
.case-spread-anchor-tag {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    position: relative;
    z-index: 2;
}
.case-spread-anchor-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(80px, 12vw, 130px);
    line-height: 0.92;
    color: var(--navy);
    letter-spacing: -0.05em;
    position: relative;
    z-index: 2;
}
.case-spread-anchor-num em { color: var(--lima-deep); font-style: italic; }
.case-spread-anchor-meta {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 16px;
    position: relative;
    z-index: 2;
}
.case-spread-anchor-label {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    max-width: 28ch;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(26, 26, 46, 0.18);
    position: relative;
    z-index: 2;
}
.case-spread-image::after {
    /* selo decorativo no canto */
    content: "";
    position: absolute;
    bottom: -16px;
    left: -16px;
    width: 56px;
    height: 56px;
    background: var(--lima);
    border: 3px solid var(--paper);
    z-index: 2;
}

/* ─── Stats Grid (4 stats em fundo navy) ─── */
.stats-section { background: var(--navy); padding: 88px 0; color: var(--white); }
.stats-section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
    align-items: end;
}
.stats-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.stats-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--white);
    letter-spacing: -0.012em;
    max-width: 18ch;
}
.stats-section-head h2 strong { font-weight: 800; }
.stats-section-head .lede {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 50ch;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.stat-card {
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    padding: 26px 22px 22px 24px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    position: relative;
}
.stat-card:hover {
    background: var(--lima);
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -14px rgba(7, 7, 18, 0.55);
}
.stat-card:hover .stat-tag,
.stat-card:hover .stat-value,
.stat-card:hover .stat-label { color: var(--navy); }
.stat-card.highlight { background: var(--lima); border-color: var(--navy); border-left: 3px solid var(--navy); }
.stat-card.highlight .stat-tag,
.stat-card.highlight .stat-value,
.stat-card.highlight .stat-label { color: var(--navy); }
.stat-card.highlight:hover { background: var(--navy); border-color: var(--lima); border-left: 3px solid var(--lima); }
.stat-card.highlight:hover .stat-tag { color: var(--lima); }
.stat-card.highlight:hover .stat-value { color: var(--white); }
.stat-card.highlight:hover .stat-label { color: rgba(255, 255, 255, 0.78); }
.stat-tag {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lima);
    line-height: 1.1;
    display: block;
    margin-bottom: 10px;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.018em;
}
.stat-label {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* ─── Trust Mosaic (4 cartões staggered) ─── */
.trust-section { padding: 96px 0; background: var(--paper); }
.trust-section-head { margin-bottom: 56px; }
.trust-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.trust-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--navy);
    max-width: 22ch;
    margin-bottom: 14px;
}
.trust-section-head h2 strong { font-weight: 800; }
.trust-section-head .lede {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
}
.trust-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
.trust-card {
    padding: 28px 26px;
    border: 2px solid var(--navy);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.trust-card:hover { transform: translateY(-3px); }
.trust-card .tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1;
}
.trust-card .title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: -0.022em;
    margin: 4px 0;
}
.trust-card .desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.trust-card-d .desc { color: var(--navy); }
@media (min-width: 760px) {
    .trust-mosaic {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto;
        gap: 0;
        min-height: 460px;
        padding: 28px 0;
        position: relative;
    }
    .trust-card-a { grid-column: 2 / 8; grid-row: 1; background: var(--lima); }
    .trust-card-b { grid-column: 8 / 12; grid-row: 1; background: var(--white); z-index: 4; transform: translateY(28px); }
    .trust-card-b:hover { transform: translateY(25px); }
    .trust-card-c { grid-column: 4 / 10; grid-row: 2; background: var(--navy); z-index: 3; transform: translateY(-32px); }
    .trust-card-c:hover { transform: translateY(-35px); }
    .trust-card-c .tag { color: var(--lima); }
    .trust-card-c .title { color: var(--white); }
    .trust-card-c .desc { color: rgba(255, 255, 255, 0.78); }
    .trust-card-d { grid-column: 10 / 13; grid-row: 2; background: var(--lima); z-index: 2; transform: translateY(28px); }
    .trust-card-d:hover { transform: translateY(25px); }
}

/* ─── Feature Row (alternating image+text, /servicos/ pattern) ─── */
.feature-row {
    padding: 88px 0;
    background: var(--paper);
    scroll-margin-top: 32px;
}
.feature-row.alt-bg { background: var(--white); }
.feature-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.feature-row.reverse .feature-row-grid > .feature-row-art { order: 2; }
.feature-row.reverse .feature-row-grid > .feature-row-text { order: 1; }

.feature-row-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.feature-row-text .num {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 0.9;
    color: var(--lima-deep);
    letter-spacing: -0.04em;
}
.feature-row-text .num strong { font-weight: 700; }
.feature-row-text .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
}
.feature-row-text h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.018em;
    max-width: 22ch;
}
.feature-row-text h2 strong { font-weight: 800; }
.feature-row-text h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.feature-row-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 52ch;
}
.feature-row-text p strong { color: var(--navy); font-weight: 600; }
.feature-row-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--rule);
    padding-top: 18px;
    margin-top: 4px;
}
.feature-row-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.5;
}
.feature-row-list li::before {
    content: "▸";
    color: var(--lima-deep);
    font-weight: 700;
    flex-shrink: 0;
}
.feature-row-link {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid var(--lima);
    padding-bottom: 4px;
    margin-top: 8px;
    align-self: flex-start;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.feature-row-link:hover { color: var(--lima-deep); border-bottom-color: var(--navy); }

/* Art block (illustrative, not photo) */
.feature-row-art {
    aspect-ratio: 5 / 4;
    background: var(--lima);
    position: relative;
    box-shadow: 14px 14px 0 0 var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-row.reverse .feature-row-art {
    box-shadow: -14px 14px 0 0 var(--navy);
}
.feature-row-art::before {
    /* subtle pattern */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(26, 26, 46, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 26, 46, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.feature-row-art-icon {
    width: clamp(120px, 18vw, 200px);
    height: clamp(120px, 18vw, 200px);
    color: var(--navy);
    z-index: 2;
    position: relative;
}
.feature-row-art-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-row-art-num {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(120px, 17vw, 210px);
    line-height: 0.82;
    letter-spacing: -0.045em;
    color: transparent;
    -webkit-text-stroke: 1.8px var(--navy);
    z-index: 2;
    position: relative;
    user-select: none;
}
.feature-row-art-num::after {
    content: ".";
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: var(--navy);
    color: var(--navy);
    margin-left: 0.02em;
}

/* Photo variant */
.feature-row-art.feature-row-art-photo {
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    filter: saturate(0.88) contrast(1.04);
}
/* Grain overlay — replace dot pattern, simulate film/print */
.feature-row-art.feature-row-art-photo::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 220px 220px;
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}
.feature-row-art.feature-row-art-photo .feature-row-art-tag {
    background: rgba(247, 244, 235, 0.92);
    color: var(--navy);
    backdrop-filter: blur(3px);
}

/* Color block variant — editorial pull-quote */
.feature-row-art.feature-row-art-color {
    align-items: stretch;
    justify-content: stretch;
    padding: 40px 36px;
}
.feature-row-art.feature-row-art-color::before { display: none; }
.feature-row-art.feature-row-art-navy {
    background: var(--navy);
    color: var(--paper);
}
.feature-row-art.feature-row-art-lima {
    background: var(--lima);
    color: var(--navy);
}
.feature-row-art-pull {
    align-self: stretch;
    width: 100%;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: space-between;
    height: 100%;
}
.feature-row-art-pull-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    opacity: 0.7;
    flex-shrink: 0;
}
.feature-row-art-pull-body {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.38;
    letter-spacing: -0.012em;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
}
.feature-row-art-pull-tag {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    border-top: 1px solid currentColor;
    padding-top: 14px;
    flex-shrink: 0;
    opacity: 0.85;
}
.feature-row-art-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--navy);
    background: rgba(246, 244, 236, 0.85);
    padding: 5px 10px 4px;
    backdrop-filter: blur(2px);
}
.feature-row-art-tag::before {
    content: "— ";
    opacity: 0.55;
}

/* ─── Timeline (process steps, /como-funciona/ pattern) ─── */
.timeline-section {
    padding: 96px 0 88px;
    background: var(--navy);
    color: var(--white);
}
.timeline-section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 64px;
    align-items: end;
}
.timeline-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.timeline-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--white);
    letter-spacing: -0.012em;
    max-width: 18ch;
}
.timeline-section-head h2 strong { font-weight: 800; }
.timeline-section-head .lede {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 50ch;
}

.timeline {
    position: relative;
    padding-left: 0;
}
.timeline::before {
    /* linha vertical lima conectando os steps */
    content: "";
    position: absolute;
    left: 19px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: rgba(165, 207, 59, 0.42);
}
.timeline-step {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    padding: 32px 0 32px 60px;
    position: relative;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.14);
    transition: background 0.4s ease;
}
.timeline-step:last-child { border-bottom: none; }
.timeline-step:hover {
    background: rgba(165, 207, 59, 0.05);
}
.timeline-step::before {
    /* dot marker lima */
    content: "";
    position: absolute;
    left: 12px;
    top: 44px;
    width: 18px;
    height: 18px;
    background: var(--lima);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--navy);
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.timeline-step:hover::before {
    transform: scale(1.4);
    box-shadow: 0 0 0 5px var(--navy), 0 0 0 11px rgba(165, 207, 59, 0.32);
}
.timeline-step-marker,
.timeline-step-content {
    transition: transform 0.4s ease;
}
.timeline-step:hover .timeline-step-marker,
.timeline-step:hover .timeline-step-content {
    transform: translateX(8px);
}
.timeline-step-content p {
    transition: color 0.4s ease;
}
.timeline-step:hover .timeline-step-content p {
    color: rgba(255, 255, 255, 0.95);
}
.timeline-step-list li {
    transition: color 0.4s ease;
}
.timeline-step:hover .timeline-step-list li {
    color: rgba(255, 255, 255, 0.95);
}
.timeline-step-marker {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.timeline-step-num {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(32px, 3.8vw, 50px);
    line-height: 0.95;
    color: var(--lima);
    letter-spacing: -0.04em;
}
.timeline-step-num strong { font-weight: 800; }
.timeline-step-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}
.timeline-step-content h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.012em;
    margin-bottom: 14px;
}
.timeline-step-content h3 strong { font-weight: 800; }
.timeline-step-content p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    max-width: 56ch;
    margin-bottom: 18px;
}
.timeline-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.timeline-step-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}
.timeline-step-list li::before {
    content: "▸";
    color: var(--lima);
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── Integrations Grid (ERPs/CRMs) ─── */
.integrations-section { padding: 88px 0 96px; background: var(--paper); }
.integrations-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 48px;
    align-items: end;
}
.integrations-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.integrations-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.012em;
    max-width: 22ch;
}
.integrations-head h2 strong { font-weight: 800; }
.integrations-head .lede {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 50ch;
}
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.erp-card {
    padding: 18px 20px 20px;
    background: var(--white);
    border: 2px solid var(--navy);
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
}
.erp-card:hover {
    background: var(--lima);
    transform: translateY(-3px);
}
.erp-card strong {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--navy);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}
.erp-card small {
    font-family: var(--font-body);
    font-size: 11.5px;
    color: var(--ink-soft);
    letter-spacing: 0.04em;
    line-height: 1.4;
    display: block;
}

/* ─── Risk Cards (4 cards de risco fiscal, /por-que-confiar/) ─── */
.risk-section { padding: 96px 0 88px; background: var(--paper); }
.risk-section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 48px;
    align-items: end;
}
.risk-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.risk-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.012em;
    max-width: 22ch;
}
.risk-section-head h2 strong { font-weight: 800; }
.risk-section-head .lede {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 50ch;
}
.risk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.risk-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.35s ease, transform 0.35s ease, color 0.35s ease;
}
.risk-card:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}
.risk-card:hover .risk-card-tag { color: var(--lima); }
.risk-card:hover .risk-card-title { color: var(--white); }
.risk-card:hover .risk-card-body { color: rgba(255, 255, 255, 0.78); }
.risk-card:hover .risk-card-icon { color: var(--lima); }
.risk-card-icon {
    width: 36px;
    height: 36px;
    color: var(--navy);
    margin-bottom: 4px;
    transition: color 0.35s ease;
}
.risk-card-icon svg {
    width: 100%; height: 100%;
    fill: none; stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.risk-card-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lima-deep);
    line-height: 1;
    transition: color 0.35s ease;
}
.risk-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin: 4px 0 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
    transition: color 0.35s ease, border-color 0.35s ease;
}
.risk-card:hover .risk-card-title { border-bottom-color: rgba(255, 255, 255, 0.18); }
.risk-card-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
    transition: color 0.35s ease;
}

/* ─── Tipologia Section (3 colunas — texto / card lima / stats) ─── */
.tipologia-section { padding: 96px 0 88px; background: var(--white); }
.tipologia-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 88px;
    align-items: center;
}

/* Coluna 1 — Texto */
.tipologia-text { display: flex; flex-direction: column; gap: 18px; }
.tipologia-text .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
    line-height: 1;
}
.tipologia-text h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(20px, 1.9vw, 24px);
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin-top: 4px;
    text-wrap: balance;
}
.tipologia-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 48ch;
    text-wrap: pretty;
}
.tipologia-text p strong { color: var(--navy); font-weight: 700; }

/* Coluna 2 — Card com borda lima */
.tipologia-card {
    border: 2px solid var(--lima);
    padding: 32px 32px 32px;
    background: var(--white);
    display: flex;
    flex-direction: column;
}
.tipologia-card-eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 22px;
    max-width: 14ch;
}
.tipologia-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.tipologia-card-list li {
    padding: 14px 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--navy);
    border-bottom: 1.5px solid var(--lima);
    line-height: 1.3;
}
.tipologia-card-list li:last-child { border-bottom: none; }
.tipologia-card-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 6px 0 30px;
    padding: 22px 0;
    border-top: 1px solid var(--lima);
    border-bottom: 1px solid var(--lima);
}
.tipologia-feature + .tipologia-feature {
    border-left: 1px solid rgba(165, 207, 59, 0.45);
    padding-left: 28px;
    margin-left: -14px;
}
.tipologia-feature-label {
    display: block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 8px;
}
.tipologia-feature-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.45;
    margin: 0;
}
.tipologia-card-cta {
    display: inline-flex;
    align-items: stretch;
    align-self: flex-start;
    text-decoration: none;
    background: var(--lima);
    transition: background 0.25s ease;
}
.tipologia-card-cta:hover { background: var(--lima-deep); }
.tipologia-card-cta-text {
    padding: 12px 18px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    display: flex;
    align-items: center;
}
.tipologia-card-cta-arrow {
    border-left: 1.5px solid var(--navy);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    color: var(--navy);
}
.tipologia-card-cta-arrow svg { width: 16px; height: 16px; fill: currentColor; }

/* Coluna 3 — Stats stacked */
.tipologia-stats { display: flex; flex-direction: column; gap: 36px; }
.tipologia-stat-item { display: flex; flex-direction: column; gap: 4px; }
.tipologia-stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 2.4vw, 30px);
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: -0.012em;
}
.tipologia-stat-label {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* ─── Compare Section (Portal RFB × Plataforma) ─── */
.compare-section { padding: 96px 0; background: var(--paper); color: var(--ink); }
.compare-section-head { margin-bottom: 48px; max-width: 60ch; }
.compare-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.compare-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.012em;
}
.compare-section-head h2 strong { font-weight: 800; }
.compare-section-head h2 em { font-style: italic; font-weight: 700; color: var(--lima-deep); }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.compare-card {
    background: var(--paper);
    border: 2px solid var(--navy);
    padding: 36px 32px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    transform-origin: center center;
    transition:
        transform 0.35s ease-out,
        border-color 0.35s ease-out,
        box-shadow 0.35s ease-out;
}
.compare-card:hover {
    transform: translateY(-6px) scale(1.025);
    border-color: rgba(26, 26, 46, 0.55);
    box-shadow:
        0 24px 56px -20px rgba(7, 7, 18, 0.7),
        0 8px 20px -10px rgba(7, 7, 18, 0.45);
    z-index: 2;
}
.compare-card-head {
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rule);
}
.compare-card-eyebrow {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 8px;
    display: block;
    transform-origin: left center;
    transition: transform 0.35s ease-out, color 0.35s ease-out;
}
.compare-card:hover .compare-card-eyebrow {
    transform: scale(1.4);
    color: var(--navy);
}
.compare-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2vw, 26px);
    color: var(--navy);
    letter-spacing: -0.018em;
    line-height: 1.15;
}
.compare-card-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.compare-card-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
}
.compare-card-list li:last-child { border-bottom: none; padding-bottom: 0; }
.compare-card-list li:first-child { padding-top: 0; }
.compare-card-list .label {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lima-deep);
    display: block;
    margin-bottom: 4px;
}
.compare-card-list .value {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--navy);
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .compare-card,
    .compare-card-eyebrow { transition: none; }
    .compare-card:hover { transform: none; }
    .compare-card:hover .compare-card-eyebrow { transform: none; }
}

/* ─── Final CTA ─── */
.cta-final {
    padding: 80px 0;
    background: var(--paper);
    border-top: 4px solid var(--lima);
}
.cta-final-inner {
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 48px;
    align-items: center;
}
.cta-final h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.15;
    color: var(--navy);
    max-width: 28ch;
    margin-bottom: 8px;
    letter-spacing: -0.012em;
}
.cta-final h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.cta-final p { color: var(--ink-soft); max-width: 56ch; }
.cta-final-btn {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 28px;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    display: inline-flex;
    gap: 10px;
    transition: all 0.2s ease;
}
.cta-final-btn:hover { background: var(--lima); color: var(--navy); border-color: var(--lima); }

/* ─── Case Horizontal (banner image, used on /faq/) ─── */
.case-horizontal {
    padding: 64px 0 72px;
    background: var(--paper);
    position: relative;
}
.case-horizontal-text {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 44px;
}
.case-horizontal-eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--lima-deep);
    display: inline-block;
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--lima);
}
.case-horizontal h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(26px, 2.8vw, 40px);
    line-height: 1.04;
    color: var(--navy);
    letter-spacing: -0.02em;
    max-width: 18ch;
    margin-top: 8px;
}
.case-horizontal h1 strong { font-weight: 800; }
.case-horizontal h1 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.case-horizontal-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-soft);
    padding-left: 28px;
    border-left: 3px solid var(--lima);
    align-self: end;
}
.case-horizontal-body p { margin: 0 0 14px; }
.case-horizontal-body p:last-child { margin-bottom: 0; }
.case-horizontal-body strong { color: var(--navy); font-weight: 700; }
.case-horizontal-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    outline: 1px solid var(--navy);
    outline-offset: 0;
    box-shadow: 16px 16px 0 0 var(--lima);
    margin-bottom: 16px;
}

@media (max-width: 880px) {
    .case-horizontal { padding: 48px 0 56px; }
    .case-horizontal-text { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; }
    .case-horizontal-body { padding-left: 18px; border-left-width: 2px; }
    .case-horizontal-image { aspect-ratio: 16 / 9; box-shadow: 8px 8px 0 0 var(--lima); }
}

/* ─── Editorial FAQ (Option A — magazine column, all open) ─── */
.faq-section {
    padding: 28px 0 64px;
    background: var(--paper);
    position: relative;
}
.faq-section::before {
    content: "•   •   •";
    display: block;
    text-align: center;
    color: var(--lima-deep);
    font-size: 14px;
    letter-spacing: 0.4em;
    margin-bottom: 32px;
    user-select: none;
}
.faq-section-head {
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 4px double var(--navy);
    max-width: 78ch;
}
.faq-section-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.faq-section-head .lede {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(20px, 1.6vw, 24px);
    line-height: 1.45;
    color: var(--navy);
    letter-spacing: -0.008em;
    margin: 0;
}
.faq-section-head .lede strong { font-weight: 700; }
.faq-section-head .lede em { font-style: normal; font-weight: 700; color: var(--lima-deep); }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.faq-category {
    scroll-margin-top: 80px;
}
.faq-category-head {
    margin-bottom: 4px;
    padding: 4px 0 12px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--rule);
    transition: border-color 0.2s ease;
}
.faq-category-head::-webkit-details-marker { display: none; }
.faq-category-head:hover { border-bottom-color: var(--lima); }
.faq-category-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 0;
    border-bottom: 0;
    display: inline-block;
    transition: color 0.2s ease;
}
.faq-category-head:hover .eyebrow,
.faq-category[open] > .faq-category-head .eyebrow {
    color: var(--lima-deep);
}
.faq-category-toggle {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 24px;
    line-height: 1;
    color: var(--navy);
    transition: transform 0.25s ease, color 0.2s ease;
    user-select: none;
    flex-shrink: 0;
}
.faq-category-head:hover .faq-category-toggle,
.faq-category[open] > .faq-category-head .faq-category-toggle {
    color: var(--lima-deep);
}
.faq-category[open] > .faq-category-head .faq-category-toggle {
    transform: rotate(45deg);
}
.faq-category > .faq-entry {
    animation: faq-cat-fade 0.32s ease;
}
@keyframes faq-cat-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .faq-category-toggle { transition: none; }
    .faq-category > .faq-entry { animation: none; }
}

.faq-entry {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 56px;
    row-gap: 10px;
    padding: 36px 0 30px;
    border-top: 1px solid var(--rule);
    align-items: start;
}
.faq-entry:first-child { border-top: 0; padding-top: 8px; }
.faq-entry:last-child { padding-bottom: 8px; }
.faq-num { grid-column: 1; grid-row: 1 / span 2; }
.faq-question { grid-column: 2; grid-row: 1; }
.faq-answer { grid-column: 2; grid-row: 2; }

.faq-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 0.9;
    color: var(--lima-deep);
    letter-spacing: -0.025em;
    position: relative;
    padding-top: 26px;
}
.faq-num-text {
    position: relative;
    display: inline-block;
}
.faq-num-text::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: var(--lima);
}
.faq-num-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}
.faq-num-circle circle {
    fill: none;
    stroke: var(--lima);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 289;
    stroke-dashoffset: 289;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-entry:hover .faq-num-circle circle {
    stroke-dashoffset: 0;
}
.faq-num-text {
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .faq-num-circle circle { transition: none; }
}

.faq-question {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.014em;
    padding-top: 8px;
    margin: 0;
    max-width: 32ch;
}

.faq-answer {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--ink);
    max-width: 64ch;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--navy); font-weight: 700; }

@media (max-width: 880px) {
    .faq-section { padding: 64px 0 72px; }
    .faq-section-head {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 36px;
        padding-bottom: 22px;
    }
    .faq-entry {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
        column-gap: 18px;
        row-gap: 14px;
        padding: 40px 0 32px;
    }
    .faq-entry:first-child { padding-top: 8px; }
    .faq-entry:last-child { padding-bottom: 8px; }
    .faq-num {
        grid-column: 1;
        grid-row: 1;
        font-size: 36px;
        padding-top: 8px;
    }
    .faq-num-text::after { width: 60%; height: 2px; bottom: -6px; }
    .faq-num-circle { width: 80px; height: 80px; }
    .faq-question {
        grid-column: 2;
        grid-row: 1;
        padding-top: 12px;
        font-size: 19px;
        line-height: 1.25;
    }
    .faq-answer {
        grid-column: 1 / -1;
        grid-row: 2;
        font-size: 15px;
    }
}

/* ─── Generic section (interior pages) ─── */
.section {
    padding: 72px 0;
    border-top: 1px solid var(--rule);
}
.section h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.12;
    color: var(--navy);
    margin-bottom: 18px;
    max-width: 22ch;
}
.section h2 strong { font-weight: 800; }
.section .lede {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 56ch;
    margin-bottom: 36px;
}

/* ─── Context Frame (Governança fiscal) ─── */
.context-frame {
    padding: 88px 0;
    background: var(--paper);
    border-top: 1px solid var(--rule);
}

/* Intro block — bg branco unificando hero + governança em /por-que-confiar/ */
.intro-block {
    background: var(--white);
}
.intro-block + .intro-block {
    border-top: 0;
    padding-top: 18px;
    position: relative;
}
.case-spread.intro-block:has(+ .intro-block) {
    padding-bottom: 18px;
}
.intro-block + .intro-block::before {
    content: "•   •   •";
    display: block;
    text-align: center;
    color: var(--lima-deep);
    font-size: 14px;
    letter-spacing: 0.4em;
    margin-bottom: 28px;
    user-select: none;
}
/* When context-frame follows another intro-block: same layout as case-spread.text-only */
.intro-block + .intro-block.context-frame .context-frame-grid {
    grid-template-columns: 1.15fr 1fr;
    column-gap: 64px;
}
.intro-block + .intro-block.context-frame .context-frame-body {
    border-left: 2px solid var(--lima);
    padding-left: 36px;
}
.context-frame-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: start;
}
.context-frame-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.context-frame-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.08;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin: 16px 0 0;
    max-width: 14ch;
}
.context-frame-head h2 strong { font-weight: 800; }
.context-frame-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.context-frame-body {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.74;
    color: var(--ink);
}
.context-frame-body p { margin: 0 0 18px; }
.context-frame-body p:last-child { margin-bottom: 0; }
.context-frame-body strong { color: var(--navy); }
.context-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
}
.context-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 6px 11px;
    border: 1px solid var(--navy);
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.16s ease, color 0.16s ease;
}
.context-tag:hover {
    background: var(--navy);
    color: var(--lima);
}
.context-tag.is-open {
    background: var(--navy);
    color: var(--lima);
}
.context-tag-popover {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 320px;
    max-width: 90vw;
    padding: 16px 18px;
    background: var(--navy);
    color: var(--white);
    border-left: 3px solid var(--lima);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 400;
    z-index: 10;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    text-align: left;
}
.context-tag-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--navy);
}
.context-tag-popover strong {
    display: block;
    color: var(--lima);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.context-tag.is-open .context-tag-popover {
    display: block;
}

/* ─── API Orbital (animação no hero da /api/) ─── */
.case-spread-orbital {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 380px;
    margin: 0 auto;
    background: transparent;
    overflow: visible;
    isolation: isolate;
}

.api-orbital-corner {
    position: absolute;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-soft);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
}
.api-orbital-corner.tl { top: 4px; left: 4px; }
.api-orbital-corner.tr { top: 4px; right: 4px; }
.api-orbital-corner.bl { bottom: 4px; left: 4px; }
.api-orbital-corner.br { bottom: 4px; right: 4px; }
.api-orbital-corner.tr,
.api-orbital-corner.br { flex-direction: row-reverse; }
.api-orbital-corner::before {
    content: "";
    width: 10px;
    height: 1px;
    background: var(--lima-deep);
}

.api-orbital-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.api-orbital-stage > * { position: absolute; }

/* Trilhas (rings tracejados) */
.api-orbital-track {
    border: 1px dashed rgba(86, 110, 38, 0.28);
    border-radius: 50%;
    pointer-events: none;
}
.api-orbital-track.t1 { width: 32%; height: 32%; }
.api-orbital-track.t2 { width: 56%; height: 56%; }
.api-orbital-track.t3 { width: 82%; height: 82%; }

/* Núcleo */
.api-orbital-core {
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--lima);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.08em;
    z-index: 5;
    box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(165, 207, 59, 0.5);
}

/* Pulse expansão */
.api-orbital-pulse {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--lima-deep);
    z-index: 3;
    animation: orbital-pulse 4s ease-out infinite;
    pointer-events: none;
}
.api-orbital-pulse.delay { animation-delay: 2s; }
@keyframes orbital-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    80% { opacity: 0; }
    100% { transform: scale(4.2); opacity: 0; }
}

/* Anéis (cada anel é um círculo absoluto que rotaciona) */
.api-orbital-ring {
    border-radius: 50%;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.api-orbital-ring.r1 { width: 32%; height: 32%; animation: orbital-spin-rev 14s linear infinite; }
.api-orbital-ring.r2 { width: 56%; height: 56%; animation: orbital-spin 22s linear infinite; }
.api-orbital-ring.r3 { width: 82%; height: 82%; animation: orbital-spin-rev 32s linear infinite; }

@keyframes orbital-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes orbital-spin-rev {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Dots dentro dos anéis */
.api-orbital-dot {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--lima-deep);
    box-shadow: 0 0 8px rgba(86, 110, 38, 0.4);
}

/* Tags (nós maiores no ring externo) */
.api-orbital-node {
    position: absolute;
    transform: translate(-50%, -50%);
    background: var(--paper);
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 4px 8px;
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    /* Counter-rotation pra texto ficar legível */
    animation: orbital-spin 32s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .api-orbital-ring,
    .api-orbital-pulse,
    .api-orbital-node {
        animation: none !important;
    }
}

@media (max-width: 880px) {
    .case-spread-orbital { max-width: 280px; }
    .api-orbital-core { width: 48px; height: 48px; font-size: 12px; }
    .api-orbital-corner { font-size: 8px; letter-spacing: 0.22em; }
    .api-orbital-pulse { width: 48px; height: 48px; }
}

/* ─── Contact page ─── */
.contact-section {
    padding: 88px 0 96px;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    scroll-margin-top: 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.contact-form-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-field label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lima-deep);
}
.contact-field-optional {
    font-weight: 400;
    color: var(--ink-mute);
    letter-spacing: 0.12em;
    text-transform: none;
    margin-left: 4px;
}
.contact-field input,
.contact-field textarea {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    padding: 13px 14px;
    background: var(--white);
    border: 1px solid rgba(26, 26, 46, 0.2);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--ink-mute);
    opacity: 1;
}
.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(165, 207, 59, 0.22);
}
.contact-field textarea {
    min-height: 140px;
    resize: vertical;
    font-family: var(--font-body);
}
.contact-submit {
    align-self: flex-start;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 30px;
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}
.contact-submit:hover {
    background: var(--lima);
    color: var(--navy);
    border-color: var(--lima);
}
.contact-submit:disabled {
    opacity: 0.5;
    cursor: wait;
}
.contact-microcopy {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 8px 0 0;
    max-width: 56ch;
}
.contact-microcopy a {
    color: var(--lima-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-microcopy a:hover { color: var(--navy); }

.contact-status {
    padding: 14px 18px;
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.contact-status.is-success {
    background: rgba(165, 207, 59, 0.16);
    border-left: 3px solid var(--lima);
    color: var(--navy);
    display: block;
}
.contact-status.is-error {
    background: rgba(190, 50, 50, 0.08);
    border-left: 3px solid #be3232;
    color: #8b1f1f;
    display: block;
}

.contact-section-top {
    padding-top: 56px;
    border-top: 0;
}
.contact-sidebar-intro {
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-sidebar-h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.4vw, 32px);
    line-height: 1.12;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin: 0;
    max-width: 18ch;
}
.contact-sidebar-h1 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }

.contact-sidebar {
    border-left: 4px solid var(--lima);
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-self: stretch;
}
.contact-sidebar-block .eyebrow {
    color: var(--lima-deep);
    margin-bottom: 10px;
    display: inline-block;
}
.contact-sidebar-block h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.008em;
    margin: 0 0 8px;
}
.contact-sidebar-block p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
}
.contact-sidebar-block p.secondary {
    color: var(--ink-soft);
    font-size: 13px;
    margin-top: 4px;
}
.contact-sidebar-block a {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--lima);
    transition: color 0.18s ease, border-color 0.18s ease;
    display: inline-block;
    word-break: break-word;
}
.contact-sidebar-block a:hover {
    color: var(--lima-deep);
    border-color: var(--lima-deep);
}
.contact-sidebar-block a.eyebrow-link {
    color: var(--lima-deep);
    border-bottom: 0;
    margin-bottom: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    transition: color 0.18s ease, transform 0.18s ease;
}
.contact-sidebar-block a.eyebrow-link span {
    display: inline-block;
    margin-left: 4px;
    transform: translateX(0);
    transition: transform 0.22s ease;
}
.contact-sidebar-block a.eyebrow-link:hover {
    color: var(--navy);
}
.contact-sidebar-block a.eyebrow-link:hover span {
    transform: translateX(3px);
}
.contact-sidebar-note {
    margin: 8px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.contact-dropdown { position: relative; }
.contact-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    color: var(--lima-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    transition: color 0.18s ease;
}
.contact-dropdown summary::-webkit-details-marker { display: none; }
.contact-dropdown summary span {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.22s ease;
}
.contact-dropdown[open] summary span { transform: rotate(90deg); }
.contact-dropdown summary:hover { color: var(--navy); }
.contact-dropdown-menu {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: dropdown-fade 0.22s ease;
}
.contact-dropdown-menu a {
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--lima);
    display: inline-block;
    padding-bottom: 1px;
    align-self: flex-start;
    word-break: break-word;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.contact-dropdown-menu a:hover { color: var(--lima-deep); border-color: var(--lima-deep); }
@keyframes dropdown-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
    .contact-section { padding: 56px 0 64px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .contact-form-pair { grid-template-columns: 1fr; gap: 22px; }
    .contact-sidebar {
        border-left: 0;
        border-top: 4px solid var(--lima);
        padding-left: 0;
        padding-top: 28px;
        gap: 22px;
    }
}

/* ─── Catalog Pointer (link de "ver catálogo") ─── */
.catalog-pointer {
    padding: 64px 0;
    background: var(--paper);
    border-top: 1px solid var(--rule);
}
.catalog-pointer-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 36px 40px;
    border: 1px solid var(--navy);
    border-left: 6px solid var(--lima);
    background: var(--paper);
}
.catalog-pointer-card .eyebrow {
    color: var(--lima-deep);
    display: inline-block;
    margin-bottom: 12px;
}
.catalog-pointer-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.22;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin: 0 0 10px;
}
.catalog-pointer-card h3 strong { font-weight: 800; }
.catalog-pointer-card p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
    max-width: 64ch;
}
.catalog-pointer-link {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    padding: 14px 22px;
    border: 2px solid var(--navy);
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
}
.catalog-pointer-link:hover {
    background: var(--navy);
    color: var(--lima);
    border-color: var(--navy);
}

@media (max-width: 880px) {
    .catalog-pointer { padding: 40px 0; }
    .catalog-pointer-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px 22px;
    }
    .catalog-pointer-link { justify-self: start; }
}

/* ─── Delivery Modes (Em lote vs API) ─── */
.delivery-section {
    padding: 96px 0 104px;
    background: var(--paper);
    border-top: 4px solid var(--lima);
    position: relative;
}
.delivery-section::before {
    content: "API";
    position: absolute;
    top: 28px;
    right: 32px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(64px, 8vw, 132px);
    line-height: 0.9;
    color: var(--lima);
    opacity: 0.18;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}
.delivery-section-tag {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
}
.delivery-section-head {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 4px double var(--navy);
}
.delivery-section-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.04;
    color: var(--navy);
    letter-spacing: -0.022em;
    max-width: 18ch;
}
.delivery-section-head h2 strong {
    font-weight: 800;
    background: linear-gradient(180deg, transparent 62%, rgba(165, 207, 59, 0.45) 62%, rgba(165, 207, 59, 0.45) 92%, transparent 92%);
    padding: 0 4px;
}
.delivery-section-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.delivery-section-head .lede {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 52ch;
    padding-bottom: 4px;
}
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.delivery-card {
    border: 1px solid var(--navy);
    padding: 36px 32px 32px;
    background: var(--paper);
    position: relative;
}
.delivery-card-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 14px;
    display: block;
}
.delivery-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.18;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--lima);
    display: inline-block;
}
.delivery-card p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--ink);
    margin: 0 0 14px;
}
.delivery-card p:last-of-type { margin-bottom: 18px; }
.delivery-card strong { color: var(--navy); font-weight: 700; }
.delivery-card-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}
.delivery-card-format {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
    padding: 5px 10px;
    border: 1px solid var(--rule);
    background: var(--paper);
    cursor: pointer;
    position: relative;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.delivery-card-format:hover,
.delivery-card-format.is-open {
    background: var(--navy);
    color: var(--lima);
    border-color: var(--navy);
}
.delivery-card-format-popover {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 300px;
    max-width: 90vw;
    padding: 14px 16px;
    background: var(--navy);
    color: var(--white);
    border-left: 3px solid var(--lima);
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none;
    text-align: left;
    z-index: 20;
    box-shadow: 0 12px 28px -10px rgba(7, 7, 18, 0.55);
}
.delivery-card-format-popover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 14px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--navy);
}
.delivery-card-format-popover strong {
    display: block;
    color: var(--lima);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.delivery-card-format.is-open .delivery-card-format-popover {
    display: block;
}

/* ─── Diferenciais (Data Center, SLA, etc.) ─── */
.diferenciais-section {
    padding: 88px 0;
    background: var(--navy);
    color: rgba(255,255,255,0.78);
    border-top: 4px solid var(--lima);
}
.diferenciais-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 56px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.diferenciais-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.diferenciais-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.018em;
    margin-top: 14px;
    max-width: 16ch;
}
.diferenciais-head h2 strong { font-weight: 800; }
.diferenciais-head h2 em { font-style: normal; font-weight: 800; color: var(--lima); }
.diferenciais-head .lede {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.7);
    max-width: 52ch;
    padding-bottom: 4px;
}
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    border-left: 1px solid rgba(255,255,255,0.12);
}
.diferencial-cell {
    padding: 32px 28px 36px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: background 0.18s ease;
}
.diferencial-cell:hover { background: rgba(165, 207, 59, 0.06); }
.diferencial-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--lima);
    margin-bottom: 14px;
}
.diferencial-cell h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    color: var(--white);
    margin: 0 0 10px;
    letter-spacing: -0.008em;
}
.diferencial-cell p {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ─── Benefícios (resultado prático) ─── */
.benefits-section {
    padding: 88px 0 96px;
    background: var(--paper);
}

/* ─── Services Grid (catálogo 2×2 cards com hover-reveal) ─── */
.services-grid-section {
    padding: 80px 0 88px;
    background: var(--paper);
}
.services-grid-head {
    margin-bottom: 40px;
    padding-bottom: 22px;
    border-bottom: 4px double var(--navy);
    max-width: 78ch;
}
.services-grid-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.services-grid-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.08;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin: 0;
    max-width: 22ch;
}
.services-grid-head h2 strong { font-weight: 800; }
.services-grid-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }

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

.service-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    background-color: var(--navy);
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--navy); }

.service-card-photo .service-card-img {
    filter: saturate(0.88) contrast(1.04);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(7,7,18,0.85) 0%, rgba(7,7,18,0.35) 50%, rgba(7,7,18,0.05) 100%);
    pointer-events: none;
}

.service-card-navy { background-color: var(--navy); color: var(--paper); }
.service-card-lima { background-color: var(--lima); color: var(--navy); }

/* Decorative italic numeral on color cards (visual content para não ficar chapado) */
.service-card-deco {
    position: absolute;
    bottom: -0.18em;
    right: -0.06em;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(110px, 13vw, 180px);
    line-height: 0.8;
    letter-spacing: -0.045em;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}
.service-card-navy .service-card-deco { color: rgba(165, 207, 59, 0.22); }
.service-card-lima .service-card-deco { color: rgba(7, 7, 18, 0.12); }

.service-card-front,
.service-card-back {
    position: absolute;
    inset: 0;
    padding: 22px 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transition: opacity 0.35s ease;
}
.service-card-front {
    justify-content: flex-end;
    color: var(--paper);
}
.service-card-lima .service-card-front { color: var(--navy); }

.service-card-tag {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 8px;
}
.service-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.1;
    letter-spacing: -0.014em;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.service-card-num {
    font-style: italic;
    font-weight: 800;
    color: var(--lima);
    font-size: 0.85em;
}
.service-card-lima .service-card-num { color: rgba(7, 7, 18, 0.55); }

.service-card-back {
    opacity: 0;
    background: rgba(7, 7, 18, 0.94);
    color: var(--paper);
    justify-content: center;
    padding: 22px 20px;
}
.service-card-back-eyebrow {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lima);
    margin-bottom: 12px;
}
.service-card-desc {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 18px;
}
.service-card-cta {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lima);
    border-bottom: 2px solid var(--lima);
    padding-bottom: 3px;
    align-self: flex-start;
}

.service-card:hover .service-card-front,
.service-card:focus-visible .service-card-front {
    opacity: 0;
}
.service-card:hover .service-card-back,
.service-card:focus-visible .service-card-back {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .service-card, .service-card-front, .service-card-back { transition: none; }
}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .service-card { aspect-ratio: 5 / 4; }
}
@media (max-width: 700px) {
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card { aspect-ratio: 4 / 3; }
    /* Mobile sem hover — força back-state visível */
    .service-card-front { opacity: 0; }
    .service-card-back { opacity: 1; background: rgba(7, 7, 18, 0.86); }
}

/* ─── FAQ Embutido (em página transacional) ─── */
.embedded-faq {
    padding: 72px 0 80px;
    background: var(--paper);
}
.embedded-faq-head {
    margin-bottom: 32px;
    max-width: 60ch;
}
.embedded-faq-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.embedded-faq-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.014em;
    margin: 0;
}
.embedded-faq-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.embedded-faq-head h2 strong { font-weight: 800; }

.embedded-faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--rule);
}
.embedded-faq-item {
    border-bottom: 1px solid var(--rule);
}
.embedded-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: color 0.2s ease;
}
.embedded-faq-item summary::-webkit-details-marker { display: none; }
.embedded-faq-item summary:hover { color: var(--lima-deep); }
.embedded-faq-q {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.3;
    color: var(--navy);
    letter-spacing: -0.008em;
    flex: 1;
}
.embedded-faq-toggle {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 24px;
    line-height: 1;
    color: var(--lima-deep);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    user-select: none;
}
.embedded-faq-item[open] .embedded-faq-toggle {
    transform: rotate(45deg);
}
.embedded-faq-answer {
    padding: 0 0 22px;
    max-width: 76ch;
    animation: faq-fade 0.28s ease;
}
.embedded-faq-answer p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}
.embedded-faq-answer p strong { color: var(--navy); font-weight: 700; }
@keyframes faq-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.embedded-faq-link {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--navy);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--lima);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.embedded-faq-link:hover {
    color: var(--lima-deep);
    border-color: var(--lima-deep);
}

@media (prefers-reduced-motion: reduce) {
    .embedded-faq-toggle, .embedded-faq-answer { transition: none; animation: none; }
}

/* Cross-link banner — cross-page CTA between sections */
.cross-link {
    background: var(--white);
    padding: 32px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.cross-link-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cross-link-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    flex-shrink: 0;
}
.cross-link-cta {
    color: var(--navy);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(16px, 1.4vw, 20px);
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--lima);
    transition: color 0.18s ease, border-color 0.18s ease;
}
.cross-link-cta:hover {
    color: var(--lima-deep);
    border-color: var(--lima-deep);
}
.cross-link-arrow {
    transition: transform 0.22s ease;
    display: inline-block;
}
.cross-link-cta:hover .cross-link-arrow {
    transform: translateX(4px);
}
@media (max-width: 700px) {
    .cross-link-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.benefits-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 4px double var(--navy);
}
.benefits-head .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.benefits-head h2 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.018em;
    margin-top: 14px;
    max-width: 16ch;
}
.benefits-head h2 strong { font-weight: 800; }
.benefits-head h2 em { font-style: normal; font-weight: 800; color: var(--lima-deep); }
.benefits-head .lede {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 52ch;
    padding-bottom: 4px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 56px;
}
.benefit-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--rule);
    align-items: start;
}
.benefit-row:last-child,
.benefit-row:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
.benefit-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--lima-deep);
    line-height: 1;
    padding-top: 4px;
    letter-spacing: 0.02em;
}
.benefit-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
}
.benefit-text strong { color: var(--navy); font-weight: 700; }

@media (max-width: 880px) {
    .context-frame { padding: 56px 0; }
    .context-frame-grid,
    .intro-block + .intro-block.context-frame .context-frame-grid { grid-template-columns: 1fr; gap: 28px; column-gap: 28px; }
    .intro-block + .intro-block.context-frame .context-frame-body { border-left: 0; padding-left: 0; }
    .delivery-section { padding: 56px 0; }
    .delivery-section-head { grid-template-columns: 1fr; gap: 18px; }
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .delivery-card { padding: 28px 22px; }
    .diferenciais-section { padding: 56px 0; }
    .diferenciais-head { grid-template-columns: 1fr; gap: 18px; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .benefits-section { padding: 56px 0 64px; }
    .benefits-head { grid-template-columns: 1fr; gap: 18px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ─── Legal pages (Política / Termos) — minimal editorial ─── */
.legal-hero {
    padding: 72px 0 56px;
    background: var(--paper);
    border-top: 4px solid var(--lima);
    border-bottom: 1px solid var(--rule);
}
.legal-hero .eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--lima-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--lima);
    display: inline-block;
    margin-bottom: 14px;
}
.legal-hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.04;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0 0 32px;
    max-width: 22ch;
}
.legal-hero h1 strong { font-weight: 800; }
.legal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-family: var(--font-body);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.legal-hero-meta strong { color: var(--navy); font-weight: 600; }

.legal-body { padding: 64px 0 96px; background: var(--paper); }
.legal-body-grid {
    max-width: 720px;
    margin: 0 auto;
}

.legal-intro {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(18px, 1.4vw, 21px);
    line-height: 1.5;
    color: var(--navy);
    letter-spacing: -0.005em;
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 4px double var(--navy);
}
.legal-intro p { margin: 0 0 14px; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-intro strong { font-weight: 700; }

.legal-toc {
    border: 1px solid var(--navy);
    padding: 28px 32px 30px;
    margin-bottom: 64px;
    background: transparent;
}
.legal-toc-title {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.legal-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.legal-toc li {
    counter-increment: toc;
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: baseline;
    gap: 12px;
}
.legal-toc li::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12.5px;
    color: var(--lima-deep);
    letter-spacing: 0.04em;
}
.legal-toc a {
    font-family: var(--font-body);
    font-size: 14.5px;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.16s ease;
}
.legal-toc a:hover { color: var(--lima-deep); }

.legal-section {
    margin-bottom: 64px;
    scroll-margin-top: 40px;
}
.legal-section:last-child { margin-bottom: 0; }
.legal-section-num {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 14px;
}
.legal-section h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(19px, 1.9vw, 24px);
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.012em;
    margin: 0 0 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
}
.legal-section h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: var(--navy);
    letter-spacing: -0.005em;
    margin: 28px 0 12px;
}
.legal-section p {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 16px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
    list-style: none;
    margin: 14px 0 22px;
    padding: 0;
}
.legal-section ul li {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}
.legal-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 1px;
    background: var(--lima-deep);
}
.legal-section strong { color: var(--navy); font-weight: 700; }
.legal-section em {
    font-style: normal;
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--lima);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.legal-section a {
    color: var(--lima-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.16s ease;
}
.legal-section a:hover { color: var(--navy); }

.legal-callout {
    border-left: 3px solid var(--lima);
    padding: 22px 26px;
    margin: 24px 0;
    background: rgba(165, 207, 59, 0.06);
}
.legal-callout-tag {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lima-deep);
    margin-bottom: 10px;
}
.legal-callout p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink);
}
.legal-callout p + p { margin-top: 8px; }
.legal-callout strong { color: var(--navy); font-weight: 700; }

.legal-end {
    margin-top: 72px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    font-family: var(--font-body);
    font-size: 12.5px;
    letter-spacing: 0.06em;
    color: var(--ink-mute);
    text-align: center;
}

@media (max-width: 880px) {
    .legal-hero { padding: 56px 0 40px; }
    .legal-body { padding: 48px 0 72px; }
    .legal-toc { padding: 22px 20px; margin-bottom: 44px; }
    .legal-section { margin-bottom: 48px; }
    .legal-hero-meta { gap: 6px 18px; }
}

/* ─── WhatsApp Float ─── */
.whats {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 100;
    text-decoration: none;
    transition: transform 0.18s ease;
}
.whats:hover { transform: scale(1.08); }
.whats svg { width: 28px; height: 28px; fill: currentColor; }

/* ─── Footer ─── */
.ftr {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0;
    border-top: 4px solid var(--lima);
}
.ftr .lima { color: var(--lima); }
.ftr-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.6fr 0.85fr 1.2fr;
    gap: 48px;
    padding: 52px 0 40px;
}
.ftr-brand-logo {
    height: 32px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}
.ftr-tag {
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    max-width: 38ch;
    margin: 0 0 18px;
}
.ftr-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.ftr-meta strong { color: var(--lima); font-weight: 600; }
.ftr-col-title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--lima);
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(165, 207, 59, 0.32);
}
.ftr-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ftr-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.5;
    transition: color 0.16s ease;
}
.ftr-col a:hover { color: var(--lima); }
.ftr-col:nth-child(2) ul {
    display: block;
    column-count: 2;
    column-gap: 24px;
}
.ftr-col:nth-child(2) ul li {
    margin-bottom: 8px;
    break-inside: avoid;
}
.ftr-addr {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11.5px;
    line-height: 1.5;
}
.ftr-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}
.ftr-bottom-sep {
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

/* ─── Responsive ─── */
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right-cell, .hero-left { grid-column: 1; grid-row: auto; }
    .hero-right {
        clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 100%);
        padding: 56px 32px;
        text-align: left;
    }
    .hero-left { text-align: left; align-items: flex-start; padding: 32px 24px; }
    .servicos-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .servicos-head { grid-template-columns: 1fr; gap: 18px; }
    .nav-bar-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0 12px;
    }
    .nav-bar-inner { flex-wrap: wrap; padding: 8px 0; }
    .nav-bar-links { gap: 0; }
    .nav-bar-links a { padding: 6px 10px; font-size: 11px; }
    .nav-dropdown summary { padding: 6px 10px; font-size: 11px; gap: 6px; }
    .nav-dropdown-menu {
        position: relative;
        left: auto;
        transform: none;
        margin: 4px auto 6px;
        min-width: 200px;
    }
    .hdr-logo .logo-img { height: 32px; }
    .top-strip { font-size: 10.5px; }
    .top-strip .row {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: center;
    }
    .top-strip .row > span:first-child { grid-column: 1; }
    .top-strip .row > .social-icons { grid-column: 1; justify-self: center; }

    .case-spread-grid { grid-template-columns: 1fr; gap: 36px; }
    .case-spread-stat { flex-direction: column; align-items: flex-start; gap: 10px; }
    .case-spread-image { aspect-ratio: 4 / 3; }
    .stats-section-head { grid-template-columns: 1fr; gap: 22px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cta-final-inner { grid-template-columns: 1fr; gap: 24px; }
    .feature-row-grid { grid-template-columns: 1fr; gap: 36px; }
    .feature-row.reverse .feature-row-grid > .feature-row-art { order: 0; }
    .feature-row.reverse .feature-row-grid > .feature-row-text { order: 0; }
    .feature-row-art { aspect-ratio: 4 / 3; box-shadow: 8px 8px 0 0 var(--navy); }
    .feature-row.reverse .feature-row-art { box-shadow: 8px 8px 0 0 var(--navy); }

    .timeline-section-head { grid-template-columns: 1fr; gap: 22px; }
    .timeline-step { grid-template-columns: 1fr; gap: 14px; padding-left: 50px; }
    .timeline-step::before { top: 38px; }
    .integrations-head { grid-template-columns: 1fr; gap: 22px; }
    .integrations-grid { grid-template-columns: 1fr 1fr; }

    .risk-section-head { grid-template-columns: 1fr; gap: 22px; }
    .risk-grid { grid-template-columns: 1fr 1fr; }
    .tipologia-section-grid { grid-template-columns: 1fr; gap: 36px; }
    .tipologia-card-features { gap: 20px; }
    .tipologia-feature + .tipologia-feature { padding-left: 20px; margin-left: -10px; }
    .compare-grid { grid-template-columns: 1fr; gap: 22px; }

    .ftr-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 48px 0 32px;
    }
    .ftr-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ftr-bottom-sep { display: none; }

    .case-spread.text-only .case-spread-text {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }
    .case-spread.text-only .case-spread-eyebrow,
    .case-spread.text-only h1,
    .case-spread.text-only .case-spread-body {
        grid-column: 1;
        grid-row: auto;
    }
    .case-spread.text-only .case-spread-body {
        border-left: 0;
        padding-left: 0;
        align-self: start;
    }
}

@media (max-width: 600px) {
    .hide-mobile { display: none; }
    .top-strip { font-size: 10px; letter-spacing: 0.04em; }
    .top-strip .row > span:first-child { line-height: 1.4; }
    .servicos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nav-bar-links {
        width: 100%;
        justify-content: center;
        gap: 0;
        row-gap: 2px;
    }
    .nav-bar-links a { padding: 5px 8px; font-size: 10px; letter-spacing: 0.06em; }
    .nav-dropdown summary { padding: 5px 8px; font-size: 10px; gap: 5px; }
}
