/* ==========================================================================
   SANKOFA SOLAR — DESIGN SYSTEM V1.0 (agosto 2026)
   Tokens ouro/terra, Archivo Expanded + Google Sans/DM Sans, grid editorial,
   tipografia gigante, blocos de cor cheios, fotografia tratada em duotone.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* ---- Ouro · assinatura (usado em blocos cheios e destaques) ---- */
  --ouro-300: #F7D375;
  --ouro-400: #F0BA3C;
  --ouro-500: #E3A017;
  --ouro-600: #C4820A;
  --ouro-700: #9A6406;

  /* ---- Terra · estrutura ---- */
  --terra-100: #F4EBE1;
  --terra-200: #E6D5C4;
  --terra-300: #C9A98C;
  --terra-400: #A07553;
  --terra-500: #7A4F2E;
  --terra-600: #5A3820;
  --terra-700: #3E2617;
  --terra-800: #2A1A10;
  --terra-900: #1A100A;
  --terra-950: #140C07;

  --preto-terra: #120B06;
  --branco-cal: #FFFDF9;

  --sucesso: #4E7A3E;
  --erro: #B23A1F;
  --erro-fg: #D9583A;
  --info: #3D6470;

  /* ---- Tema escuro (padrão) ---- */
  --bg: var(--terra-950);
  --surface: var(--terra-900);
  --surface-raised: var(--terra-800);
  --border: var(--terra-700);
  --text: var(--terra-100);
  --text-muted: var(--terra-300);
  --text-faint: var(--terra-400);
  --accent: var(--ouro-500);
  --on-accent: var(--terra-800);
  --header-bg: rgba(18,11,6,0.82);
  --footer-bg: var(--preto-terra);

  --font-display: 'Archivo', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-full: 999px;

  --max-width: 1280px;
  --transition: 180ms ease;
}

/* ---- Tema claro ---- */
:root[data-theme="light"] {
  --bg: var(--branco-cal);
  --surface: var(--terra-100);
  --surface-raised: #FFFFFF;
  --border: var(--terra-200);
  --text: var(--terra-700);
  --text-muted: var(--terra-500);
  --text-faint: var(--terra-400);
  --accent: var(--ouro-700);
  --on-accent: var(--branco-cal);
  --header-bg: rgba(255,253,249,0.86);
  --footer-bg: var(--terra-900);
}
:root[data-theme="light"] .footer-col li,
:root[data-theme="light"] .footer-bottom,
:root[data-theme="light"] .footer-brand .brand-word,
:root[data-theme="light"] .site-footer h4 { color: var(--terra-100); }
:root[data-theme="light"] .site-footer a:hover { color: var(--branco-cal); }
:root[data-theme="light"] .footer-col a { color: var(--terra-300); }

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Grão cinematográfico (fixo, sutil, por cima de tudo) ---- */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.container-wide { max-width: 1520px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }

/* ---- Tipografia ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118, 'wght' 800;
  color: var(--text);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-variation-settings: 'wdth' 112, 'wght' 700; }
p.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-muted); }
p { color: var(--text-muted); }

/* ---- Etiqueta / rótulo (eyebrow), conforme design system oficial ---- */
.tag {
  display: inline;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
}
.tag.muted { color: var(--text-faint); }

/* ---- Wordmark gigante (bleed) ---- */
.mega-word {
  position: relative;
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 800;
  font-size: clamp(80px, 17vw, 260px);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
  user-select: none;
}
.hero-bottom .mega-word { margin-bottom: clamp(34px, 6.5vw, 104px); }
.mega-word.outline { -webkit-text-stroke: 1.5px var(--border); color: var(--text); }
.mega-word.accent { color: var(--accent); }

/* ---- "SOLAR" compõe o lockup com SANKOFA, mesma família tipográfica, em escala menor ---- */
.wordmark-solar {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4vw);
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 100, 'wght' 800;
  font-size: 0.32em;
  letter-spacing: -0.02em;
  color: var(--accent);
  white-space: nowrap;
}

/* ---- Cabeçalho ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-variation-settings: 'wdth' 110, 'wght' 800; font-size: 15px; letter-spacing: 0.06em; line-height: 1.2; }

.header-right { display: flex; align-items: center; gap: var(--space-6); }
.main-nav { display: flex; align-items: center; gap: var(--space-7); }
.main-nav ul { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.main-nav a:not(.btn) {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); transition: color var(--transition); position: relative; padding-bottom: 4px;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ''; position: absolute; left:0; right:0; bottom:-4px; height:1.5px; background: var(--accent); }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; flex-shrink: 0; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); transition: var(--transition); }

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--radius-full); border: 1px solid var(--border);
  background: var(--surface-raised); color: var(--text);
  transition: border-color var(--transition), color var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius-full); border: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--ouro-400); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: rgba(227,160,23,0.08); border-color: var(--ouro-400); color: var(--ouro-400); }
.btn-on-accent { background: var(--on-accent); color: var(--accent); }
.btn-on-accent:hover { background: var(--terra-950); }
.btn-sm { font-size: 10.5px; padding: 10px 20px; }
.btn-lg { font-size: 13px; padding: 18px 36px; }

/* ---- Hero cinematográfico (com foto tratada) ---- */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-cinema .hero-photo {
  position: absolute; inset: 0; z-index: 0;
}
.hero-cinema .hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  filter: grayscale(0.35) sepia(0.4) saturate(1.85) contrast(1.15) brightness(0.88);
}
.hero-cinema .hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(11,7,4,0.4) 40%, rgba(11,7,4,0.6) 100%),
    linear-gradient(120deg, rgba(227,160,23,0.32), rgba(11,7,4,0.2) 55%);
  mix-blend-mode: multiply;
}
.hero-cinema .hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 70% 30%, rgba(227,160,23,0.26), transparent 60%);
}
.hero-top { position: relative; z-index: 2; padding: clamp(18px,3vw,32px) 0 0; }
.hero-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; row-gap: 16px; }
.hero-top-left { display: flex; flex-direction: column; gap: 10px; max-width: 58ch; }
.hero-top-left .tag { font-weight: 700; font-size: 12.5px; }
.hero-copy-caption { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text); }
.hero-top-right { padding-top: 2px; }
.hero-bottom { position: relative; z-index: 2; padding-bottom: clamp(28px,4vw,48px); margin-top: clamp(var(--space-6), 4vw, var(--space-8)); }
.hero-bottom .container { display: flex; flex-direction: column; gap: var(--space-5); }
.hero-strip { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-strip .lede { margin: 0; white-space: nowrap; }

/* A foto do herói mantém tratamento escuro sempre — o texto por cima fica fixo, independente do tema */
.hero-cinema .hero-top-left .tag,
.hero-cinema .wordmark-solar { color: var(--ouro-400); }
.hero-cinema .mega-word,
.hero-cinema .hero-copy-caption,
.hero-cinema .hero-strip .lede { color: var(--terra-100); }

/* variação menor para páginas internas */
.hero-sm { min-height: 56vh; position: relative; overflow: hidden; }
.hero-sm .mega-word { font-size: clamp(56px, 11vw, 150px); }
.hero-sm .pattern-bg { position: absolute; inset: 0; color: var(--accent); opacity: 0.08; pointer-events: none; }
.hero-sm .container { position: relative; z-index: 1; }

/* ---- Seções ---- */
section { padding: clamp(56px,7vw,112px) 0; }
.section-surface { background: var(--surface); }
.divider { border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: var(--space-7); display: flex; flex-direction: column; gap: 16px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head .tag { margin-bottom: 2px; }

/* ---- Faixa CTA neutra ---- */
.cta-panel { background: var(--surface); border-top: 1px solid var(--border); }

/* ---- Bloco de cor cheio (ouro) ---- */
.color-block {
  background: var(--accent); color: var(--on-accent);
  position: relative; overflow: hidden;
}
.color-block h2, .color-block h3 { color: var(--on-accent); }
.color-block p { color: var(--on-accent); opacity: 0.78; }
.color-block .tag { color: var(--on-accent); opacity: 0.65; }
.color-block .mega-word { color: var(--on-accent); opacity: 0.9; }
.color-block .mega-word.outline { -webkit-text-stroke: 1.5px rgba(42,26,16,0.35); }
.color-block .pattern-bg { position: absolute; inset: 0; color: var(--on-accent); opacity: 0.08; pointer-events: none; }
.color-block .container { position: relative; z-index: 1; }

/* Início, Sobre, Projetos, Equipe e Clientes: textura 40% mais sutil para melhor contraste com o texto */
.texture-dim .pattern-bg { opacity: 0.048; }

/* ---- Editorial split (texto grande + coluna lateral) ---- */
.split { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: var(--space-8); align-items: start; }
.split.split-narrow-media { grid-template-columns: 0.8fr 1.2fr; }
.split .split-lead { display: flex; flex-direction: column; gap: var(--space-4); }
.split .split-side { display: flex; flex-direction: column; gap: var(--space-4); padding-top: 8px; }

/* ---- Fotografia tratada (duotone/tonalidade unificada) ---- */
.photo-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.25) sepia(0.32) saturate(1.55) contrast(1.08) brightness(0.95);
}
.photo-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(227,160,23,0.22), rgba(16,10,6,0.4));
  mix-blend-mode: multiply;
}
.photo-frame.ratio-portrait { aspect-ratio: 4/5; }
.photo-frame.ratio-square { aspect-ratio: 1/1; }
.photo-frame.ratio-wide { aspect-ratio: 3/2; }
.photo-caption { display: block; margin-top: 10px; }

/* ---- Citação / manifesto ---- */
.manifesto {
  max-width: 880px;
}
.manifesto p {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 106, 'wght' 500;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.25;
  color: var(--text);
}
.manifesto footer { margin-top: var(--space-4); }
.manifesto .accent-word { color: var(--accent); }

/* ---- Linhas editoriais numeradas (serviços / linha do tempo) ---- */
.index-list { display: flex; flex-direction: column; }
.index-row {
  display: grid; grid-template-columns: 90px 1fr; gap: var(--space-6);
  padding: var(--space-6) 0; border-top: 1px solid var(--border);
  align-items: baseline;
}
.index-list .index-row:last-child { border-bottom: 1px solid var(--border); }
.index-num { font-family: var(--font-mono); font-size: 14px; color: var(--accent); letter-spacing: 0.05em; }
.index-row h3 { margin-bottom: 8px; }
.index-row p { max-width: 60ch; font-size: 15px; }
.index-row-head { color: var(--text-faint); }

/* ---- Grid genérico ---- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Estatísticas ---- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.stat { border-left: 1px solid var(--border); padding-left: var(--space-4); }
.stat strong { display: block; font-family: var(--font-display); font-variation-settings: 'wdth' 118, 'wght' 800; font-size: clamp(32px, 3.4vw, 48px); color: var(--accent); line-height: 1; }
.stat span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

/* ---- Card padrão (projetos/timeline) ---- */
.card {
  background: var(--surface-raised); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-body { padding: 28px; }
.card-body .tag { margin-bottom: 14px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; }

/* ---- Timeline editorial ---- */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-6);
  padding: var(--space-6) 0; border-top: 1px solid var(--border);
}
.timeline:last-child .timeline-item:last-child,
.timeline .timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-year { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: 0.06em; }
.timeline-item h3 { font-size: 21px; margin-bottom: 8px; }
.timeline-item h3.sub { font-size: 16px; margin-top: 20px; color: var(--text-muted); }
.timeline-item p { font-size: 14.5px; margin-bottom: 6px; }
.timeline-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: var(--space-4); }

.link-arrow { font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.link-arrow svg { width: 15px; height: 15px; }

/* ---- Cliente / parceiro ---- */
.client-card { text-align: center; padding: var(--space-6) var(--space-4); }
.client-mark {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto var(--space-4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-variation-settings: 'wdth' 115, 'wght' 700; font-size: 1.4rem;
  background: var(--accent); color: var(--on-accent);
}
.client-card span { color: var(--text-faint); font-size: 0.85rem; }

/* ---- Badges ---- */
.badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 13px; border-radius: var(--radius-full); border: 1px solid var(--border); color: var(--text-faint); }

/* ---- Aviso cultural ---- */
.culture-note { margin-top: var(--space-6); padding: var(--space-6); background: var(--surface-raised); border-left: 3px solid var(--erro); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.culture-note .tag { color: var(--erro-fg); margin-bottom: 12px; }
.culture-note p { font-size: 15px; line-height: 1.75; }

/* ---- Formulário ---- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field span.label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field textarea {
  font-family: inherit; font-size: 15px; padding: 14px 16px;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--surface); color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227,160,23,0.18); }

.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: var(--space-5); }
.icon-chip { width: 42px; height: 42px; border-radius: var(--radius-md); flex-shrink: 0; background: var(--surface-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.icon-chip svg { width: 19px; height: 19px; }
.info-row strong { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.info-row a, .info-row span.value { font-size: 15.5px; color: var(--text); }

/* ---- Rodapé ---- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--border); padding: var(--space-8) 0 var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand svg { width: 28px; height: 28px; }
.footer-brand .brand-word { font-size: 14px; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-4); }
.footer-col li { margin-bottom: 12px; font-size: 14px; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-bottom .socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--text-muted); text-decoration: underline; }

/* ---- Utilitários ---- */
.mt-1{margin-top:var(--space-2);} .mt-2{margin-top:var(--space-4);} .mt-3{margin-top:var(--space-5);} .mt-4{margin-top:var(--space-6);}
.mb-1{margin-bottom:var(--space-2);} .mb-2{margin-bottom:var(--space-4);} .mb-3{margin-bottom:var(--space-5);}
.text-center { text-align: center; }

/* ---- Responsivo ---- */
@media (max-width: 1279px) { .container, .container-wide { padding: 0 48px; } }
@media (max-width: 1023px) { .container, .container-wide { padding: 0 32px; } }
@media (max-width: 767px)  { .container, .container-wide { padding: 0 20px; } }

@media (max-width: 960px) {
  .split, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .hero-copy-caption { display: none; }
  .hero-strip .lede { white-space: normal; max-width: 46ch; }
  .timeline-item { grid-template-columns: 1fr; gap: var(--space-2); }
  .timeline-photos { grid-template-columns: 1fr; }
  .index-row { grid-template-columns: 50px 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 86px 0 0 0; background: var(--bg);
    transform: translateX(100%); transition: transform var(--transition);
    padding: var(--space-5); overflow-y: auto;
    flex-direction: column; align-items: flex-start; gap: var(--space-5);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .main-nav a:not(.btn) { font-size: 13px; }
  .main-nav a.active::after { display: none; }
  .nav-cta { margin-top: var(--space-4); }
  .nav-toggle { display: flex; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Revelar ao rolar ---- */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   MANUAL DA MARCA — componentes de documentação (página marca.html)
   ========================================================================== */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-4); }
.swatch { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--surface-raised); }
.swatch-color { height: 72px; }
.swatch-label { padding: 10px 12px; }
.swatch-label strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.swatch-label span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

.space-scale { display: flex; flex-direction: column; gap: 12px; }
.space-row { display: flex; align-items: center; gap: 16px; }
.space-row .space-tag { width: 90px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); flex-shrink: 0; }
.space-row .space-bar { height: 14px; background: var(--accent); border-radius: 3px; }
.space-row .space-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

.demo-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.radius-demo { width: 64px; height: 64px; background: var(--surface-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); text-align: center; flex-shrink: 0; }
.elevation-demo { width: 140px; height: 90px; border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); flex-shrink: 0; }
.elevation-demo.raised { box-shadow: 0 6px 18px rgba(0,0,0,0.35); border-color: transparent; }
.elevation-demo.overlay { box-shadow: 0 14px 34px rgba(0,0,0,0.5); border-color: transparent; }

.pattern-swatch { position: relative; height: 110px; border-radius: var(--radius-md); border: 1px solid var(--border); overflow: hidden; background: var(--surface-raised); }
.pattern-swatch svg { position: absolute; inset: 0; color: var(--text-faint); opacity: 0.55; }

.ds-table-wrap { overflow-x: auto; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.ds-table th { text-align: left; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.ds-table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.ds-table .chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text); white-space: nowrap; }
.ds-table .dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; }

.alert { padding: var(--space-5); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-left: 3px solid var(--border); background: var(--surface-raised); }
.alert .tag { margin-bottom: 10px; }
.alert p { font-size: 14.5px; line-height: 1.7; }

.type-specimen { padding: var(--space-6) 0; border-top: 1px solid var(--border); }
.type-specimen:first-child { border-top: none; padding-top: 0; }
.type-specimen .specimen-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--space-4); }
.type-specimen .specimen-face { font-family: var(--font-display); font-variation-settings: 'wdth' 110, 'wght' 800; font-size: clamp(44px, 7vw, 90px); line-height: 1; color: var(--text); }
.type-specimen .specimen-face.body-face { font-family: var(--font-body); font-variation-settings: normal; font-weight: 500; }

.lockup-row { display: flex; gap: var(--space-8); flex-wrap: wrap; align-items: flex-end; }
.lockup-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.lockup-item .brand { pointer-events: none; }

@media (max-width: 760px) {
  .ds-table { min-width: 560px; }
}

/* ---- Diagrama orbital de serviços (Início) ---- */
.orbit-diagram { max-width: 860px; margin: 0 auto; }
.orbit-diagram svg { width: 100%; height: auto; display: block; }
