/* ============================================================
   Páginas de case — mesmo visual moderno da home.
   Carregado depois do theme.css e do <style> da página:
   sobrescreve tokens (fontes, cor de destaque) e componentes.
   ============================================================ */
:root {
  --font-serif: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-expanded: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Chivo Mono', ui-monospace, 'Courier New', monospace;
  --gold-300: #FF8A4C; --gold-400: #FF6A1F; --gold-500: #E8590C; --gold-600: #C2410C; --gold-700: #9A3412;
  --accent-primary: #FF6A1F; --accent-primary-hover: #FF8142;
  --blue-900: #0B1220; --blue-950: #070B14;
  --bg-inverse-alt: #0B1220;
  --paper: #F5F3EF; --paper-dark: #ECE9E3;
  --m-ink: #0B1220; --m-accent: #FF6A1F; --m-line: rgba(11,18,32,.12);
}
html { scroll-behavior: smooth; }
body { background: #F5F3EF; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .case-hero h1, .section-title { font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; font-weight: 700; letter-spacing: -0.035em; }
em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; }
.case-hero-meta em, .logo-box em { font-family: inherit; font-style: normal; }

/* Navegação escura com marca */
nav { background: rgba(11,18,32,.82) !important; border-bottom: 1px solid rgba(245,243,239,.12) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-container { max-width: none !important; padding: 1.1rem clamp(20px, 5vw, 72px) !important; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: 'Archivo', sans-serif !important; font-size: 1.05rem !important; font-weight: 600 !important; color: #F5F3EF !important; letter-spacing: -.01em !important; }
.logo::before { content: ""; width: 28px; height: 28px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cpath fill='%23F5F3EF' d='M44.7967 44.7967V56H11.1978V44.7967H22.4011V33.5989L33.5989 44.7967H44.7967Z'/%3E%3Cpath fill='%23F5F3EF' d='M56 0V22.379H44.7967V11.1978H33.5989V28L22.4011 16.7967V11.1978H11.1978V22.4011H0V0H56Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.logo:hover::before { transform: rotate(-8deg) scale(1.1); }
.nav-back { font-family: 'Archivo', sans-serif !important; color: rgba(245,243,239,.7) !important; font-size: .82rem !important; letter-spacing: .04em !important; }
.nav-back:hover { color: #FF6A1F !important; }

/* Hero alinhado à esquerda, tipografia grande */
.case-hero { background: #0B1220 !important; padding: 9.5rem clamp(20px, 5vw, 72px) 5rem !important; }
.case-hero::before { background: radial-gradient(closest-side at 85% 10%, rgba(255,106,31,.22), transparent 70%) !important; }
.case-hero-container { max-width: 1320px !important; margin: 0 auto !important; }
.case-label { font-family: 'Chivo Mono', monospace !important; font-weight: 500 !important; color: #FF6A1F !important; letter-spacing: .14em !important; font-size: .74rem !important; }
.case-label::before { background: #FF6A1F !important; width: 2.25rem !important; }
.case-hero h1 { font-size: clamp(2.4rem, 6.2vw, 5.6rem) !important; line-height: 1 !important; max-width: 17ch; letter-spacing: -.04em !important; word-spacing: .04em; }
.case-hero-meta { gap: 2.5rem !important; padding-top: 1.75rem; border-top: 1px solid rgba(245,243,239,.14); }
.case-hero-meta strong { font-family: 'Chivo Mono', monospace !important; font-weight: 500 !important; letter-spacing: .12em !important; font-size: .68rem !important; color: rgba(245,243,239,.45) !important; }
.case-hero-meta em { color: #F5F3EF !important; }
.case-intro { color: rgba(245,243,239,.72) !important; font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important; line-height: 1.6 !important; max-width: 62ch !important; }

/* KPIs à esquerda */
.kpi-strip { background: #FFFFFF !important; border-bottom: 1px solid var(--m-line) !important; }
.kpi-strip-inner { max-width: 1320px !important; padding: 0 clamp(20px, 5vw, 72px); }
.kpi-card { text-align: left !important; padding: 2.75rem 2rem 2.75rem 0 !important; border-right: 1px solid var(--m-line) !important; }
.kpi-card + .kpi-card { padding-left: 2rem !important; }
.kpi-number { font-family: 'Archivo', sans-serif !important; font-weight: 700 !important; letter-spacing: -.04em !important; font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important; color: var(--m-ink) !important; }
.kpi-label { font-family: 'Archivo', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; font-size: .92rem !important; color: #5B6475 !important; }

/* Seções */
.section { padding-left: clamp(20px, 5vw, 72px) !important; padding-right: clamp(20px, 5vw, 72px) !important; }
.section-container { max-width: 1320px !important; }
.section-label { font-family: 'Chivo Mono', monospace !important; font-weight: 500 !important; letter-spacing: .14em !important; font-size: .74rem !important; color: #C2410C !important; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.6rem) !important; line-height: 1.02 !important; }
.section p, .section li { max-width: 78ch; }

/* Componentes: cantos arredondados, menos bordas pesadas */
.pillar, .logo-box, .color-swatch, .result-big, .result-line, .quote-block, .phase-content { border-radius: 18px; }
.logo-box, .color-swatch { overflow: hidden; }
.quote-block { border-radius: 20px !important; background: #0B1220 !important; }
.quote-block cite, .pillar-tag { font-family: 'Chivo Mono', monospace !important; letter-spacing: .1em !important; }
.pillar { border-color: var(--m-line) !important; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,18,32,.08); }
.phase-number { border-color: var(--m-line) !important; color: #C2410C !important; font-family: 'Archivo', sans-serif !important; }
.result { background: #0B1220 !important; }
.result-big { border-color: rgba(255,106,31,.5) !important; }
.result-big-number, .result-line-value { font-family: 'Archivo', sans-serif !important; letter-spacing: -.03em !important; color: #FF6A1F !important; }

/* Botões em pílula */
.btn { border-radius: 999px !important; font-family: 'Archivo', sans-serif !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; padding: .95rem 1.7rem !important; font-size: .95rem !important; }
.btn-primary { background: #FF6A1F !important; color: #0B1220 !important; border-color: #FF6A1F !important; }
.btn-primary:hover { background: #FF8142 !important; }

/* Rodapé de chamada */
.case-footer { background: #FF6A1F !important; color: #0B1220 !important; padding-left: clamp(20px, 5vw, 72px) !important; padding-right: clamp(20px, 5vw, 72px) !important; }
.case-footer-container { max-width: 1320px !important; }
.case-footer h2 { color: #0B1220 !important; font-size: clamp(2.2rem, 5.4vw, 4.6rem) !important; line-height: 1 !important; letter-spacing: -.04em !important; word-spacing: .06em; margin-bottom: 1rem !important; }
.case-footer p { color: rgba(11,18,32,.78) !important; }
.case-footer .btn-primary { background: #0B1220 !important; color: #F5F3EF !important; border-color: #0B1220 !important; }
.case-footer .btn-ghost { color: #0B1220 !important; border: 1px solid rgba(11,18,32,.4) !important; background: transparent !important; }
.case-footer .btn-ghost:hover { background: rgba(11,18,32,.08) !important; }
.footer-bottom { background: #0B1220 !important; color: rgba(245,243,239,.6) !important; }
.footer-bottom a { color: rgba(245,243,239,.8) !important; }

/* Marca como marca d'água no hero */
.case-hero::after { content: ""; position: absolute; right: -4vw; bottom: -6vw; width: min(40vw, 560px); aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cpath fill='%23F5F3EF' d='M44.7967 44.7967V56H11.1978V44.7967H22.4011V33.5989L33.5989 44.7967H44.7967Z'/%3E%3Cpath fill='%23F5F3EF' d='M56 0V22.379H44.7967V11.1978H33.5989V28L22.4011 16.7967V11.1978H11.1978V22.4011H0V0H56Z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .05; pointer-events: none; }

/* Barra de progresso de leitura */
.m-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: #FF6A1F; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Entrada suave dos blocos (só com JS) */
.js .m-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .m-rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .m-rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.footer-bottom p + p { margin-top: .5rem; }
.footer-bottom a { color: inherit; }
