/* =============================================================
   StarMind — Visual System
   Hybrid Bold: Editorial Corporate × AI Tech
   Shared stylesheet: index, sophia, privacy, escritorios, atendimento, midia
   ============================================================= */

/* -------------------------------------------------------------
   1. RESET
   ------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    max-width: 100%;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Seções desligadas por JS (ex.: carrossel sem imagens na pasta) */
[hidden] {
    display: none !important;
}

/* -------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------- */
:root {
    /* Color — Dark / Navy */
    --ink: #050B1A;
    --navy-950: #08122B;
    --navy-900: #0D1B3D;
    --navy-800: #15275A;
    --navy-700: #243E7E;
    --navy-600: #3A56A0;
    --navy-50: #DCE3F0;

    /* Color — Light / Paper */
    --paper: #FAFAF7;
    --paper-warm: #F3F1EA;
    --bone: #E8E5DC;

    /* Color — Accent / Ember */
    --ember-700: #C24A1E;
    --ember-600: #E55A28;
    --ember-500: #FF6B35;
    --ember-400: #FF8B5C;
    --ember-300: #FFB47E;
    --ember-100: #FFE4D2;

    /* Color — Text */
    --text: #0B1A3A;
    --text-soft: #3B4A6B;
    --muted: #6B7794;
    --border: #E5E2D9;
    --border-strong: #D4D0C2;

    /* Color — On-dark Text */
    --on-dark: #F4F1E8;
    --on-dark-soft: #BCC4D8;
    --on-dark-muted: #7E89A6;
    --on-dark-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Fraunces', 'Times New Roman', Georgia, serif;

    /* Type Scale (fluid) */
    --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
    --fs-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
    --fs-base: 1rem;
    --fs-md: clamp(1.0625rem, 1.02rem + 0.22vw, 1.125rem);
    --fs-lg: clamp(1.1875rem, 1.12rem + 0.36vw, 1.5rem);
    --fs-xl: clamp(1.4375rem, 1.3rem + 0.74vw, 2rem);
    --fs-2xl: clamp(1.75rem, 1.5rem + 1.25vw, 3rem);
    --fs-3xl: clamp(2.125rem, 1.75rem + 2.25vw, 4.25rem);
    --fs-4xl: clamp(2.5rem, 1.9rem + 3.5vw, 6rem);
    /* Hero display: smaller on mobile to prevent ugly word breaks */
    --fs-display: clamp(2.25rem, 1.6rem + 4vw, 8rem);

    /* Spacing (8pt-aligned) */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* Layout */
    --container: 1240px;
    --container-wide: 1440px;
    --container-narrow: 920px;
    --container-prose: 760px;
    --gutter: clamp(1rem, 4vw, 2rem);

    /* Radii */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(8, 18, 43, 0.06);
    --shadow-md: 0 4px 16px rgba(8, 18, 43, 0.08);
    --shadow-lg: 0 16px 48px rgba(8, 18, 43, 0.12);
    --shadow-glow: 0 0 60px rgba(112, 80, 237, 0.25);

    /* Easing */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);

    /* Header height */
    --header-h: 72px;
}

/* -------------------------------------------------------------
   3. BASE
   ------------------------------------------------------------- */
body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    max-width: 100vw;
}

::selection {
    background: var(--ember-500);
    color: var(--paper);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 0.75rem 1.25rem;
    background: var(--ink);
    color: var(--paper);
    z-index: 9999;
    transition: top 0.2s var(--ease-out);
}

.skip-link:focus { top: 0; }

:focus-visible {
    outline: 2px solid var(--ember-500);
    outline-offset: 3px;
    border-radius: 2px;
}

/* -------------------------------------------------------------
   4. TYPOGRAPHY
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
    line-height: 1.65;
    color: var(--text-soft);
    overflow-wrap: break-word;
}

strong {
    font-weight: 700;
    color: var(--text);
}

/* === Strong on dark backgrounds === forces paper color === */
.impact-section strong,
.press strong,
.cta-band strong,
.careers strong,
.methodology strong,
.product-hero strong,
.page-hero strong,
.hero strong {
    color: var(--paper);
}

.serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ember-500);
    box-shadow: 0 0 0 3px rgba(112, 80, 237, 0.18);
    animation: pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(112, 80, 237, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(112, 80, 237, 0.05); }
}

/* -------------------------------------------------------------
   5. LAYOUT
   ------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-wide { max-width: var(--container-wide); }
.container-narrow { max-width: var(--container-narrow); }
.container-prose { max-width: var(--container-prose); }

section {
    padding-block: clamp(4rem, 10vw, 8rem);
    position: relative;
}

.section-head {
    max-width: 760px;
    margin-bottom: var(--sp-16);
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .section-divider {
    justify-content: center;
}

.section-head .eyebrow { margin-bottom: var(--sp-4); }
.section-head h2 { margin-bottom: var(--sp-5); }
.section-head p { font-size: var(--fs-md); }

.impact-stat,
.stat-card,
.metric-card,
.feature-card,
.method-card,
.capability,
.solution,
.team-member,
.data-row > * {
    min-width: 0;
}

/* -------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.625rem;
    border-radius: var(--r-pill);
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease-out),
                background 0.2s var(--ease-out),
                color 0.2s var(--ease-out),
                box-shadow 0.25s var(--ease-out),
                border-color 0.2s var(--ease-out);
    white-space: nowrap;
    text-align: center;
}

.btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--ease-out);
    flex-shrink: 0;
}

.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--ember-500);
    color: var(--ink);
    box-shadow: 0 10px 24px -10px rgba(112, 80, 237, 0.5);
}
.btn-primary:hover {
    background: var(--ember-400);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(112, 80, 237, 0.6);
}

.btn-secondary {
    background: var(--ink);
    color: var(--paper);
}
.btn-secondary:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--paper);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    padding-block: 1.1rem;
    font-size: var(--fs-md);
}

/* -------------------------------------------------------------
   7. HEADER / NAV
   ------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 18, 43, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.site-header.scrolled { background: rgba(5, 11, 26, 0.92); }

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
    height: var(--header-h);
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--paper);
    font-weight: 800;
    letter-spacing: -0.025em;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.logo-mark {
    width: 26px;
    height: 26px;
    color: var(--ember-500);
    transition: transform 0.6s var(--ease-spring);
}

.logo:hover .logo-mark { transform: rotate(72deg); }

.primary-nav { flex: 1; display: none; min-width: 0; }

.primary-nav ul {
    display: flex;
    gap: var(--sp-8);
    justify-content: center;
}

.primary-nav a {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--on-dark-soft);
    position: relative;
    padding-block: 0.25rem;
    transition: color 0.2s var(--ease-out);
    white-space: nowrap;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--ember-500);
    transition: width 0.3s var(--ease-out);
}

.primary-nav a:hover,
.primary-nav a.is-active { color: var(--paper); }

.primary-nav a:hover::after,
.primary-nav a.is-active::after { width: 100%; }

.header-cta {
    display: none;
    padding: 0.6rem 1.125rem;
    font-size: var(--fs-sm);
}

.menu-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    flex-shrink: 0;
}

.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--navy-950);
    z-index: 999;
    padding: var(--sp-8) var(--gutter) var(--sp-12);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease-out);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

body.menu-open .mobile-menu { transform: translateY(0); }

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.mobile-menu a:not(.btn) {
    display: block;
    padding: var(--sp-4) 0;
    color: var(--paper);
    font-size: var(--fs-lg);
    font-weight: 500;
    border-bottom: 1px solid var(--on-dark-border);
}

.mobile-menu .mobile-cta {
    margin-top: var(--sp-8);
    width: 100%;
    justify-content: center;
    padding-block: 1.1rem;
    font-size: var(--fs-md);
    border-radius: var(--r-pill);
}

/* -------------------------------------------------------------
   8. HERO (home)
   ------------------------------------------------------------- */
.hero {
    position: relative;
    background: var(--navy-950);
    color: var(--on-dark);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + var(--sp-16));
    padding-bottom: var(--sp-16);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.7;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(112, 80, 237, 0.10), transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(58, 86, 160, 0.20), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.6;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    align-items: center;
}

.hero-content { min-width: 0; }
.hero-content .eyebrow {
    color: var(--on-dark-soft);
    margin-bottom: var(--sp-6);
}

.hero h1 {
    font-size: var(--fs-display);
    color: var(--paper);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: var(--sp-8);
    font-weight: 700;
    overflow-wrap: normal;
    word-wrap: normal;
    hyphens: manual;
    -webkit-hyphens: manual;
}

.hero h1 .serif {
    color: var(--ember-300);
    font-weight: 300;
}

.hero-lead {
    font-size: var(--fs-md);
    color: var(--on-dark-soft);
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: var(--sp-10);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-bottom: var(--sp-16);
}

.hero-strip {
    border-top: 1px solid var(--on-dark-border);
    padding-top: var(--sp-8);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8) var(--sp-6);
}

.hero-strip .item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.hero-strip .num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.75rem);
    color: var(--paper);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: baseline;
}

.hero-strip .num .unit {
    color: var(--ember-400);
    font-weight: 600;
    margin-left: 0.05em;
}

.hero-strip .label {
    font-size: var(--fs-sm);
    color: var(--on-dark-soft);
    line-height: 1.35;
    font-weight: 400;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(112, 80, 237, 0.15), transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* -------------------------------------------------------------
   9. PAGE HERO
   ------------------------------------------------------------- */
.page-hero {
    position: relative;
    background: var(--navy-950);
    color: var(--on-dark);
    padding-top: calc(var(--header-h) + var(--sp-16));
    padding-bottom: var(--sp-16);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(112, 80, 237, 0.12), transparent 60%),
        radial-gradient(ellipse 60% 70% at 0% 100%, rgba(58, 86, 160, 0.18), transparent 60%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--fs-xs);
    color: var(--on-dark-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--on-dark-soft);
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--ember-400); }
.breadcrumb .sep { opacity: 0.4; }

.page-hero h1 {
    color: var(--paper);
    font-size: var(--fs-3xl);
    max-width: 18ch;
    margin-bottom: var(--sp-5);
    line-height: 1;
}

.page-hero h1 .serif { color: var(--ember-300); }

.page-hero .lead {
    color: var(--on-dark-soft);
    font-size: var(--fs-md);
    max-width: 60ch;
}

.page-hero .meta {
    margin-top: var(--sp-6);
    font-size: var(--fs-xs);
    color: var(--on-dark-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* -------------------------------------------------------------
   10. SECTION DIVIDER
   ------------------------------------------------------------- */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--sp-4);
    flex-wrap: wrap;
}

.section-divider .num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1rem;
    color: var(--ember-600);
    letter-spacing: 0;
}

.section-divider .line {
    flex: 0 0 64px;
    height: 1px;
    background: var(--border-strong);
}

.section-divider.on-dark { color: var(--on-dark-soft); }
.section-divider.on-dark .num { color: var(--ember-400); }
.section-divider.on-dark .line { background: var(--on-dark-border); }

/* -------------------------------------------------------------
   11. CAPABILITIES
   ------------------------------------------------------------- */
.capabilities { background: var(--paper); }
.capabilities h2 .serif { color: var(--ember-600); }

.capability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.capability {
    background: var(--paper);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    position: relative;
    transition: background 0.3s var(--ease-out);
}

.capability:hover { background: var(--paper-warm); }

.capability .num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: var(--fs-xl);
    color: var(--ember-600);
    line-height: 1;
}

.capability h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.2;
}

.capability p {
    font-size: var(--fs-sm);
    color: var(--text-soft);
}

.capability .arrow {
    margin-top: auto;
    align-self: flex-start;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.3s;
}

.capability:hover .arrow {
    background: var(--ember-500);
    border-color: var(--ember-500);
    color: var(--ink);
    transform: rotate(-45deg);
}

/* -------------------------------------------------------------
   12. IMPACT
   ------------------------------------------------------------- */
.impact-section {
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 60%;
    height: 60%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(112, 80, 237, 0.12), transparent 60%);
    pointer-events: none;
}

.impact-section h2 { color: var(--paper); }
.impact-section h2 .serif { color: var(--ember-300); }
.impact-section .section-head p { color: var(--on-dark-soft); }

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    position: relative;
}

.impact-stat {
    position: relative;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--on-dark-border);
}

.impact-stat .big-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(4.5rem, 11vw, 9rem);
    line-height: 0.85;
    color: var(--paper);
    letter-spacing: -0.05em;
    margin-bottom: var(--sp-5);
    font-variation-settings: "opsz" 144, "SOFT" 100;
    display: flex;
    align-items: flex-start;
    gap: 0.05em;
}

.impact-stat .big-num .pct {
    font-size: 0.45em;
    color: var(--ember-400);
    margin-top: 0.4em;
    font-style: normal;
    font-weight: 400;
}

.impact-stat p {
    font-size: var(--fs-md);
    color: var(--on-dark-soft);
    margin-bottom: var(--sp-4);
    max-width: 38ch;
    line-height: 1.45;
}

.impact-stat .source {
    font-size: var(--fs-xs);
    color: var(--on-dark-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* -------------------------------------------------------------
   13. SOLUTIONS
   ------------------------------------------------------------- */
.solutions { background: var(--paper); }
.solutions h2 .serif { color: var(--ember-600); }

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}

.solution {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--sp-10);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out),
                border-color 0.3s var(--ease-out),
                box-shadow 0.4s var(--ease-out);
}

.solution::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(112, 80, 237, 0.10), transparent 70%);
    transform: translate(40%, -40%);
    transition: transform 0.6s var(--ease-out);
    pointer-events: none;
}

.solution:hover {
    transform: translateY(-4px);
    border-color: var(--ember-500);
    box-shadow: var(--shadow-lg);
}

.solution:hover::before { transform: translate(20%, -20%); }

.solution-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

.solution-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.solution h3 {
    font-family: var(--font-sans);
    font-size: var(--fs-2xl);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin: 0;
}

.solution h3 .serif {
    color: var(--ember-600);
    font-weight: 300;
}

.solution-lead {
    font-size: var(--fs-md);
    color: var(--text-soft);
    line-height: 1.55;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    margin-top: var(--sp-2);
}

.solution-features li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: var(--sp-3);
    align-items: baseline;
    font-size: var(--fs-sm);
    color: var(--text-soft);
}

.solution-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--ember-500);
    border-radius: 50%;
    align-self: center;
    transform: translateY(-1px);
}

.solution-features strong { color: var(--text); }

.solution-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}

.solution-highlight {
    background: var(--ink);
    color: var(--on-dark);
    padding: var(--sp-5) var(--sp-6);
    border-radius: var(--r-md);
    margin-top: var(--sp-2);
    position: relative;
    z-index: 1;
}

.solution-highlight .label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ember-400);
    margin-bottom: var(--sp-2);
}

.solution-highlight strong {
    color: var(--paper);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: var(--fs-lg);
    letter-spacing: -0.02em;
    display: block;
    line-height: 1.2;
}

.solution-highlight span {
    display: block;
    font-size: var(--fs-sm);
    color: var(--on-dark-soft);
    margin-top: var(--sp-1);
}

/* -------------------------------------------------------------
   14. PRESS BAND (home preview)
   ------------------------------------------------------------- */
.press {
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.press::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(112, 80, 237, 0.15), transparent 60%);
    pointer-events: none;
}

.press-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    align-items: end;
}

.press h2 {
    color: var(--paper);
    margin-bottom: var(--sp-4);
}

.press h2 .serif { color: var(--ember-300); }

.press p {
    color: var(--on-dark-soft);
    font-size: var(--fs-md);
    max-width: 60ch;
}

.press-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* -------------------------------------------------------------
   15. LOGO MARQUEE
   ------------------------------------------------------------- */
.logo-marquee {
    position: relative;
    overflow: hidden;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 8%,
        #000 92%,
        transparent
    );
}

.logo-marquee + .logo-marquee { margin-top: var(--sp-6); }

.logo-marquee-track {
    display: flex;
    width: max-content;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
    /* A duração é definida por JS conforme a quantidade de imagens
       da pasta, para que a velocidade por logo seja sempre a mesma. */
    animation: marquee var(--marquee-duration, 48s) linear infinite;
    will-change: transform;
}

/* Faixa embutida no cartão do hero de produto: sem as margens
   negativas usadas quando ela ocupa a largura do container. */
.product-image .logo-marquee {
    margin-inline: 0;
    padding-inline: 0;
}

.product-image .logo-marquee-track {
    gap: clamp(1.25rem, 3vw, 2rem);
}

/* Enquanto o manifesto não chegou, reserva a altura para não
   haver salto de layout. */
.logo-marquee-track:empty {
    min-height: clamp(72px, 10vw, 88px);
    animation: none;
}

[data-galeria]:empty {
    min-height: 78px;
}

.logo-marquee.reverse .logo-marquee-track {
    animation-direction: reverse;
    animation-duration: var(--marquee-duration, 56s);
}

.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.logo-item {
    flex-shrink: 0;
    width: clamp(120px, 16vw, 160px);
    height: clamp(72px, 10vw, 88px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-3);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}

.logo-item img {
    max-width: 88%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.clients {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
}

.partners { background: var(--paper-warm); }
.partners .logo-item { background: var(--paper); }
.partners h2 .serif,
.clients h2 .serif { color: var(--ember-600); }

/* -------------------------------------------------------------
   16. CTA BAND
   ------------------------------------------------------------- */
.cta-band {
    background: var(--navy-950);
    color: var(--on-dark);
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(112, 80, 237, 0.22), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(58, 86, 160, 0.30), transparent 50%);
    pointer-events: none;
}

.cta-band-inner {
    position: relative;
    text-align: center;
    max-width: 880px;
    margin-inline: auto;
}

.cta-band h2 {
    color: var(--paper);
    font-size: var(--fs-3xl);
    margin-bottom: var(--sp-5);
}

.cta-band h2 .serif { color: var(--ember-300); }

.cta-band p {
    color: var(--on-dark-soft);
    font-size: var(--fs-md);
    margin-bottom: var(--sp-10);
    max-width: 620px;
    margin-inline: auto;
}

/* -------------------------------------------------------------
   17. TEAM
   ------------------------------------------------------------- */
.team { background: var(--paper); }
.team h2 .serif { color: var(--ember-600); }

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
}

.team-member {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-6);
    align-items: start;
    padding-bottom: var(--sp-12);
    border-bottom: 1px solid var(--border);
}

.team-member:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144;
    flex-shrink: 0;
}

.member-info { min-width: 0; }

.member-info .role {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ember-600);
    margin-bottom: var(--sp-2);
}

.member-info h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-3);
}

.member-info p {
    font-size: var(--fs-sm);
    color: var(--text-soft);
}

/* -------------------------------------------------------------
   18. CAREERS
   ------------------------------------------------------------- */
.careers {
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.careers::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(112, 80, 237, 0.10), transparent 60%);
    pointer-events: none;
}

.careers h2 { color: var(--paper); }
.careers h2 .serif { color: var(--ember-300); }
.careers .section-head p { color: var(--on-dark-soft); }

.careers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    margin-bottom: var(--sp-12);
}

.job {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--r-md);
    transition: background 0.25s var(--ease-out),
                border-color 0.25s var(--ease-out),
                transform 0.3s var(--ease-out);
}

.job:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--ember-500);
    transform: translateX(4px);
}

.job > div { min-width: 0; }

.job .job-title {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--paper);
    margin-bottom: 0.25rem;
}

.job .job-code {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: var(--fs-sm);
    color: var(--ember-400);
}

.job-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, transform 0.3s;
    flex-shrink: 0;
}

.job:hover .job-arrow {
    background: var(--ember-500);
    color: var(--ink);
    transform: rotate(-45deg);
}

.careers-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    padding-top: var(--sp-10);
    border-top: 1px solid var(--on-dark-border);
}

.careers-info h3 {
    color: var(--paper);
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-3);
}

.careers-info p {
    color: var(--on-dark-soft);
    font-size: var(--fs-sm);
}

/* -------------------------------------------------------------
   19. ARTICLE (Legal / Privacy)
   ------------------------------------------------------------- */
.article {
    background: var(--paper);
    padding-block: var(--sp-20) var(--sp-24);
}

.article-body {
    max-width: var(--container-prose);
    margin-inline: auto;
    font-size: var(--fs-md);
    line-height: 1.75;
    color: var(--text-soft);
}

.article-body > p:first-of-type {
    font-size: var(--fs-lg);
    color: var(--text);
    line-height: 1.55;
    margin-bottom: var(--sp-10);
    padding-bottom: var(--sp-10);
    border-bottom: 1px solid var(--border);
}

.article-body h2 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--text);
    margin-top: var(--sp-16);
    margin-bottom: var(--sp-6);
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    padding-top: var(--sp-6);
}

.article-body h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--ember-500);
}

.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--text);
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
}

.article-body p { margin-bottom: var(--sp-5); }

.article-body ul,
.article-body ol {
    margin-bottom: var(--sp-6);
    padding-left: 0;
}

.article-body ul li,
.article-body ol li {
    position: relative;
    padding-left: var(--sp-6);
    margin-bottom: var(--sp-3);
    list-style: none;
}

.article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    background: var(--ember-500);
    border-radius: 50%;
}

.article-body strong {
    color: var(--text);
    font-weight: 700;
}

.article-toc {
    background: var(--paper-warm);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: var(--sp-6);
    margin-bottom: var(--sp-12);
}

.article-toc h2 {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 var(--sp-4);
    padding: 0;
}

.article-toc h2::before { display: none; }

.article-toc ul {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-2);
}

.article-toc ul li {
    padding-left: 0;
    margin-bottom: 0;
}

.article-toc ul li::before { display: none; }

.article-toc a {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    transition: color 0.2s;
    display: inline-flex;
    gap: 0.5rem;
}

.article-toc a:hover { color: var(--ember-600); }

.article-toc a .ch {
    color: var(--ember-600);
    font-family: var(--font-serif);
    font-style: italic;
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   20. OFFICES PAGE
   ------------------------------------------------------------- */
.offices {
    background: var(--paper);
    padding-block: var(--sp-20);
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
    max-width: var(--container);
    margin-inline: auto;
}

.office { display: flex; flex-direction: column; min-width: 0; }

.office-image {
    aspect-ratio: 4/3;
    width: 100%;
    background: var(--bone);
    overflow: hidden;
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-6);
    position: relative;
}

.office-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(8, 18, 43, 0.15));
    pointer-events: none;
}

.office-image img,
.office-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.office:hover .office-image img,
.office:hover .office-image svg { transform: scale(1.04); }

.office-tag {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ember-600);
    margin-bottom: var(--sp-3);
}

.office-name {
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: var(--sp-4);
    letter-spacing: -0.03em;
}

.office-name .serif { color: var(--ember-600); }

.office-address {
    font-size: var(--fs-md);
    color: var(--text-soft);
    line-height: 1.7;
}

.office-address p { margin: 0; }

/* -------------------------------------------------------------
   21. PRODUCT PAGES (SophIA, Atendimento)
   ------------------------------------------------------------- */
.product-hero {
    background: var(--navy-950);
    color: var(--on-dark);
    padding-top: calc(var(--header-h) + var(--sp-20));
    padding-bottom: var(--sp-20);
    overflow: hidden;
    position: relative;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 50% at 50% 100%, rgba(112, 80, 237, 0.20), transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(58, 86, 160, 0.30), transparent 60%);
    pointer-events: none;
}

.product-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding-inline: var(--gutter);
    text-align: center;
}

.product-hero h1 {
    color: var(--paper);
    font-size: var(--fs-4xl);
    margin-bottom: var(--sp-6);
    letter-spacing: -0.045em;
    line-height: 1;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.product-hero h1 .serif { color: var(--ember-300); }

.product-hero .lead {
    color: var(--on-dark-soft);
    font-size: var(--fs-md);
    max-width: 64ch;
    margin: 0 auto var(--sp-10);
}

.product-hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    justify-content: center;
    margin-bottom: var(--sp-10);
}

.product-hero .nps {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    color: var(--on-dark-soft);
    flex-wrap: wrap;
    justify-content: center;
}

.product-hero .nps strong {
    color: var(--ember-400);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: var(--fs-md);
}

.product-image {
    margin: var(--sp-12) auto 0;
    max-width: 720px;
    background: var(--paper);
    padding: clamp(0.75rem, 2vw, 1.25rem);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.06);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--r-xl) - 0.75rem);
}

.problem { background: var(--paper); }
.problem h2 .serif { color: var(--ember-600); }

.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-bottom: var(--sp-12);
}

.problem-quote {
    background: var(--paper-warm);
    border-left: 3px solid var(--ember-500);
    padding: var(--sp-8);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    min-width: 0;
}

.problem-quote p {
    font-size: var(--fs-md);
    color: var(--text);
    line-height: 1.55;
}

.problem-quote cite {
    display: block;
    margin-top: var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-style: normal;
}

.stat-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

.stat-card {
    background: var(--ink);
    color: var(--on-dark);
    padding: var(--sp-8);
    border-radius: var(--r-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(112, 80, 237, 0.18), transparent 70%);
    transform: translate(40%, -40%);
}

.stat-card .num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    color: var(--ember-400);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: var(--sp-3);
    display: block;
    position: relative;
    z-index: 1;
}

.stat-card p {
    color: var(--on-dark-soft);
    font-size: var(--fs-sm);
    margin: 0;
    position: relative;
    z-index: 1;
}

.features { background: var(--paper-warm); }
.features h2 .serif { color: var(--ember-600); }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

.feature-card {
    background: var(--paper);
    border: 1px solid var(--border);
    padding: var(--sp-8);
    border-radius: var(--r-lg);
    transition: transform 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--ember-500);
    box-shadow: var(--shadow-md);
}

.feature-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper-warm);
    color: var(--ember-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-5);
    flex-shrink: 0;
}

.feature-card .icon svg { width: 20px; height: 20px; }

.feature-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-3);
}

.feature-card p {
    font-size: var(--fs-sm);
    margin: 0;
}

.process { background: var(--paper); }
.process h2 .serif { color: var(--ember-600); }

.process-steps {
    display: flex;
    flex-direction: column;
    max-width: 760px;
    margin-inline: auto;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-6);
    padding-block: var(--sp-8);
    border-bottom: 1px solid var(--border);
}

.process-step:last-child { border-bottom: 0; }

.process-step-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    color: var(--ember-600);
    font-variation-settings: "opsz" 144;
    line-height: 0.9;
    letter-spacing: -0.03em;
    width: 72px;
    flex-shrink: 0;
}

.process-step > div { min-width: 0; }

.process-step h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-3);
}

.process-step p {
    font-size: var(--fs-sm);
    margin: 0;
}

.methodology {
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.methodology::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(112, 80, 237, 0.12), transparent 60%);
    pointer-events: none;
}

.methodology h2 { color: var(--paper); }
.methodology h2 .serif { color: var(--ember-300); }
.methodology .section-head p { color: var(--on-dark-soft); }

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

.method-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--on-dark-border);
    padding: var(--sp-8);
    border-radius: var(--r-lg);
}

.method-card h3 {
    color: var(--paper);
    font-size: var(--fs-lg);
    margin-bottom: var(--sp-3);
}

.method-card h3 .serif { color: var(--ember-400); }

.method-card p {
    color: var(--on-dark-soft);
    font-size: var(--fs-sm);
    margin: 0;
}

.results { background: var(--paper); }
.results h2 .serif { color: var(--ember-600); }

.metric-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.metric-card {
    background: var(--paper);
    padding: var(--sp-8);
    text-align: center;
    transition: background 0.3s var(--ease-out);
}

.metric-card:hover { background: var(--paper-warm); }

.metric-card .num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    color: var(--ink);
    letter-spacing: -0.04em;
    display: block;
    margin-bottom: var(--sp-2);
    line-height: 1;
}

.metric-card .num .pct { color: var(--ember-500); }

.metric-card p {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    margin: 0;
}

.media-press {
    background: var(--paper-warm);
    padding-block: var(--sp-16);
    border-top: 1px solid var(--border);
}

.media-press h2 {
    text-align: center;
    font-size: var(--fs-xl);
    margin-bottom: var(--sp-10);
}

.media-press h2 .serif { color: var(--ember-600); }

.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--sp-4);
    max-width: 760px;
    margin-inline: auto;
}

.media-logos img {
    height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    background: var(--paper);
    padding: 14px 22px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    box-sizing: content-box;
    transition: transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
}

.media-logos img:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------
   22. PRESS PAGE (midia.html)
   ------------------------------------------------------------- */
.press-page { background: var(--paper); padding-block: var(--sp-20); }

.press-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--sp-4);
    margin-bottom: var(--sp-12);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--border);
}

.press-filters .count {
    font-size: var(--fs-sm);
    color: var(--text-soft);
}

.press-filters .count strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--ember-600);
    font-size: var(--fs-md);
    margin-right: 0.25rem;
}

.press-filters .legend {
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
}

.press-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

.press-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-6);
    align-items: start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s var(--ease-out),
                border-color 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.press-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--ember-500);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease-out);
}

.press-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.press-card:hover::before { transform: scaleY(1); }

.press-card-body { min-width: 0; }

.press-card-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
    flex-wrap: wrap;
}

.press-card-source {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ember-600);
}

.press-card-source::before {
    content: '';
    width: 14px;
    height: 1px;
    background: currentColor;
}

.press-card-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: var(--paper-warm);
    color: var(--text-soft);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.press-card-tag.article {
    background: var(--ink);
    color: var(--paper);
}

.press-card-title {
    font-family: var(--font-sans);
    font-size: var(--fs-lg);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--sp-3);
}

.press-card:hover .press-card-title {
    color: var(--ember-700);
}

.press-card-excerpt {
    font-size: var(--fs-sm);
    color: var(--text-soft);
    margin: 0;
    line-height: 1.55;
}

.press-card-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper-warm);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s, transform 0.3s;
    flex-shrink: 0;
}

.press-card-arrow svg { width: 16px; height: 16px; }

.press-card:hover .press-card-arrow {
    background: var(--ember-500);
    color: var(--ink);
    transform: rotate(-45deg);
}

/* -------------------------------------------------------------
   23. FOOTER (Centered, simplified)
   ------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: var(--on-dark);
    padding-block: var(--sp-20) var(--sp-10);
    border-top: 1px solid var(--on-dark-border);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.footer-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.footer-brand {
    margin-bottom: var(--sp-10);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-8);
    padding-bottom: var(--sp-10);
    border-bottom: 1px solid var(--on-dark-border);
    margin-bottom: var(--sp-8);
    text-align: center;
}

.footer-col h4 {
    color: var(--paper);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: var(--sp-4);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    align-items: center;
}

.footer-col a {
    color: var(--on-dark-soft);
    font-size: var(--fs-sm);
    transition: color 0.2s var(--ease-out);
}

.footer-col a:hover { color: var(--ember-400); }

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--on-dark-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: var(--ember-500);
    border-color: var(--ember-500);
}

.footer-social a img {
    width: 16px;
    height: 16px;
    filter: invert(1);
    transition: filter 0.2s;
}

.footer-social a:hover img { filter: invert(0); }

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    color: var(--on-dark-muted);
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.footer-legal .company-name {
    color: var(--on-dark-soft);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
}

.footer-legal .cnpj {
    color: var(--on-dark-muted);
    font-size: var(--fs-xs);
}

/* Botão que reabre o painel de preferências de cookies.
   Vive dentro de .footer-col ul li e precisa de regra própria
   porque .footer-col a só alcança âncoras. */
.footer-prefs {
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    color: var(--on-dark-soft);
    cursor: pointer;
    text-align: center;
    transition: color 0.2s var(--ease-out);
}

.footer-prefs:hover { color: var(--ember-400); }

.footer-mega {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(3rem, 14vw, 12rem);
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--paper);
    opacity: 0.03;
    user-select: none;
    pointer-events: none;
    position: absolute;
    bottom: -0.1em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}

/* -------------------------------------------------------------
   24. COOKIE BANNER
   -------------------------------------------------------------
   Aviso não modal, ancorado na base. Não escurece a página nem
   bloqueia a leitura: recusar precisa ser tão fácil quanto
   aceitar. Fica abaixo do menu mobile (z-index 999) e do header
   (1000), de modo que o menu aberto o encobre naturalmente.
   ------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: var(--navy-950);
    color: var(--on-dark);
    border-top: 1px solid var(--on-dark-border);
    box-shadow: 0 -12px 40px rgba(5, 11, 26, 0.35);
    padding-block: var(--sp-6);
    padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
    max-height: 90vh;
    overflow-y: auto;
    animation: cookie-in 0.45s var(--ease-out) both;
}

@keyframes cookie-in {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    align-items: center;
}

.cookie-text { min-width: 0; }

.cookie-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--paper);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--sp-2);
}

.cookie-title .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ember-500);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: var(--fs-sm);
    color: var(--on-dark-soft);
    max-width: 68ch;
    margin: 0;
}

.cookie-text a {
    color: var(--ember-300);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover { color: var(--ember-400); }

/* Ações — aceitar e recusar têm o MESMO peso visual por exigência
   regulatória: mesmo tamanho, mesmo preenchimento, mesma fonte. */
.cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s var(--ease-out),
                color 0.2s var(--ease-out),
                border-color 0.2s var(--ease-out),
                transform 0.2s var(--ease-out);
}

.cookie-btn:hover { transform: translateY(-1px); }

.cookie-accept {
    background: var(--ember-500);
    color: var(--ink);
}
.cookie-accept:hover { background: var(--ember-400); }

.cookie-reject {
    background: var(--paper);
    color: var(--ink);
}
.cookie-reject:hover { background: var(--bone); }

.cookie-custom {
    background: transparent;
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.25);
}
.cookie-custom:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--paper);
}

/* Painel de categorias — expande dentro do próprio aviso. */
.cookie-prefs {
    grid-column: 1 / -1;
    display: grid;
    gap: var(--sp-4);
    margin-top: var(--sp-2);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--on-dark-border);
}

.cookie-cat {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-4) var(--sp-5);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--r-md);
}

.cookie-cat > div { min-width: 0; }

.cookie-cat h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.cookie-cat p {
    font-size: var(--fs-xs);
    color: var(--on-dark-soft);
    line-height: 1.5;
    margin: 0;
}

.cookie-cat .always {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ember-300);
    white-space: nowrap;
    align-self: center;
}

.cookie-prefs .cookie-btn { justify-self: start; }

/* Switch acessível: o input real permanece no DOM, apenas
   transparente sobre o trilho, preservando teclado e leitores. */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    align-self: center;
}

.cookie-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.cookie-switch .track {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid var(--on-dark-border);
    border-radius: var(--r-pill);
    pointer-events: none;
    transition: background 0.2s var(--ease-out),
                border-color 0.2s var(--ease-out);
}

.cookie-switch .track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--paper);
    transition: transform 0.25s var(--ease-out),
                background 0.2s var(--ease-out);
}

.cookie-switch input:checked + .track {
    background: var(--ember-500);
    border-color: var(--ember-500);
}

.cookie-switch input:checked + .track::after {
    transform: translateX(20px);
    background: var(--ink);
}

.cookie-switch input:focus-visible + .track {
    outline: 2px solid var(--ember-500);
    outline-offset: 3px;
}

.cookie-switch input:disabled { cursor: not-allowed; }

/* -------------------------------------------------------------
   25. REVEAL ANIMATIONS
   ------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out),
                transform 0.9s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out),
                transform 0.7s var(--ease-out);
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.40s; }

/* -------------------------------------------------------------
   26. RESPONSIVE
   ------------------------------------------------------------- */
@media (min-width: 600px) {
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
    /* 5 itens em 2 colunas ficam 2+2+1; em 3 ficam 3+2. */
    .footer-cols { grid-template-columns: repeat(3, 1fr); }
    .hero-strip { grid-template-columns: repeat(4, 1fr); }
    .careers-info { grid-template-columns: repeat(3, 1fr); }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-cards { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .methodology-grid { grid-template-columns: repeat(3, 1fr); }
    .metric-cards { grid-template-columns: repeat(3, 1fr); }
    .article-toc ul { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .primary-nav { display: block; }
    .header-cta { display: inline-flex; }
    .menu-toggle { display: none; }

    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--sp-16);
    }

    .capability-grid { grid-template-columns: repeat(4, 1fr); }

    .impact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--sp-8);
    }

    .solutions-grid { grid-template-columns: repeat(2, 1fr); }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-12) var(--sp-16);
    }

    .careers-grid { grid-template-columns: repeat(2, 1fr); }

    .press-inner {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .offices-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-16);
    }

    .features-grid { grid-template-columns: repeat(4, 1fr); }

    .footer-cols {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1000px;
        margin-inline: auto;
        margin-bottom: var(--sp-10);
    }

    .press-list { grid-template-columns: repeat(2, 1fr); }

    .cookie-inner { grid-template-columns: 1fr auto; }
    .cookie-actions { grid-template-columns: repeat(3, auto); }
    .cookie-cat { padding: var(--sp-5) var(--sp-6); }
}

@media (min-width: 1200px) {
    .page-hero h1 { font-size: var(--fs-4xl); }
}

/* -------------------------------------------------------------
   27. MOTION PREFERENCES
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }

    .hero-canvas { display: none; }
    .logo-marquee-track { animation: none; }

    .cookie-banner {
        animation: none;
        transform: none;
        opacity: 1;
    }
}
