/* ===================== FONTES DA MARCA (self-hosted) =====================
   Space Grotesk (títulos) + IBM Plex Sans (texto) — manual da marca, seção 06
   ======================================================================== */
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:500;font-display:swap;
  src:url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:700;font-display:swap;
  src:url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;
  src:url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;
  src:url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;
  src:url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");}

/* ==========================================================================
   FRANCO DIGITAL — Sistema de design
   1. Tokens · 2. Reset · 3. Tipografia · 4. Layout · 5. Componentes
   6. Seções · 7. Responsivo · 8. Animações / A11y
   ========================================================================== */

/* ============================ 1. TOKENS ================================= */
:root {
  /* Marca — manual da marca v1 */
  --verde: #12693F;          /* Verde Cerrado */
  --verde-broto: #1E9E5A;    /* Verde Broto */
  --laranja: #F2701B;        /* Laranja Sol */
  --laranja-terra: #C2540B;  /* Laranja Terra */
  --grafite: #10231A;        /* Grafite */
  --areia: #F6F7F3;          /* Areia */

  /* Superfícies escuras (grafite e derivados) */
  --ink-900: #10231A;
  --ink-850: #16301F;
  --ink-800: #1C3A28;
  --ink-700: #234531;
  --ink-600: #2C5340;
  --ink-500: #3C6B52;

  /* Superfícies claras */
  --paper: #FFFFFF;
  --paper-50: #F6F7F3;
  --paper-100: #EDEFE9;
  --paper-200: #DFE3DB;
  --paper-300: #C4CABF;

  /* Texto */
  --text-strong: #10231A;
  --text-body: #41514A;
  --text-muted: #5C6B63;
  --text-invert: #F6F7F3;
  --text-invert-soft: #B4C4BA;
  --text-invert-muted: #95A99C;

  /* Acento = verde da marca */
  --accent: #12693F;
  --accent-bright: #1E9E5A;
  --accent-deep: #0D5231;
  --accent-soft: rgba(18, 105, 63, .10);
  --accent-line: rgba(30, 158, 90, .34);

  /* Ação = laranja da marca (sempre com texto grafite) */
  --whats: #F2701B;
  --whats-deep: #C2540B;

  /* Bordas & superfícies */
  --line-light: rgba(16, 35, 26, .11);
  --line-dark: rgba(246, 247, 243, .12);
  --glass: rgba(246, 247, 243, .04);
  --glass-strong: rgba(246, 247, 243, .07);

  /* Sombras */
  --sh-sm: 0 1px 2px rgba(16, 35, 26, .06), 0 2px 8px rgba(16, 35, 26, .04);
  --sh-md: 0 4px 12px rgba(16, 35, 26, .06), 0 12px 32px rgba(16, 35, 26, .08);
  --sh-lg: 0 8px 24px rgba(16, 35, 26, .08), 0 32px 64px rgba(16, 35, 26, .12);
  --sh-dark: 0 24px 64px rgba(6, 16, 11, .5);

  /* Tipografia — manual da marca */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: var(--font-body); /* manual define 2 fontes; etiquetas usam IBM Plex Sans espaçada */

  /* Métrica */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --gutter: clamp(20px, 5vw, 48px);
  --sec-y: clamp(72px, 9vw, 132px);
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-pill: 8px;

  /* Movimento */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s var(--ease);
  --t-mid: .32s var(--ease);
  --t-slow: .6s var(--ease-out);
}

/* ============================ 2. RESET ================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--accent-bright); }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 50%; top: 8px; transform: translate(-50%, -200%);
  z-index: 200; background: var(--ink-900); color: #fff;
  padding: 12px 20px; border-radius: var(--r-pill); font-weight: 600; font-size: 14px;
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ========================= 3. TIPOGRAFIA ================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Filhos de grid nunca podem estourar o container (min-width: auto) */
.hero__inner > *, .split > *, .region > *, .contact > *,
.grid > *, .work__body > *, .step > *, .footer__grid > * { min-width: 0; }

.h-display { font-size: clamp(2.5rem, 6.6vw, 5rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.h-1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.h-2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.h-3 { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.28; }

p { margin: 0; text-wrap: pretty; }

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 62ch;
}

.eyebrow {
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  color: var(--verde); display: block; margin: 0 0 14px;
}

.on-dark { color: var(--text-invert-soft); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-invert); }
.on-dark .lead { color: var(--text-invert-soft); }
.on-dark .eyebrow { color: var(--accent-bright); }

.accent-text { color: var(--accent); }
.on-dark .accent-text { color: var(--accent-bright); }

/* Grifo tipográfico sutil — acompanha a quebra de linha */
.underline-mark {
  background-image: linear-gradient(90deg, var(--laranja), var(--laranja));
  background-repeat: no-repeat;
  background-size: 100% .085em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: .04em;
}

/* ============================ 4. LAYOUT ================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sec-y); position: relative; }
.section--dark { background: var(--ink-900); color: var(--text-invert-soft); }
.section--ink { background: var(--ink-850); color: var(--text-invert-soft); }
.section--soft { background: var(--paper-50); }
.section--verde {
  background: var(--verde); color: rgba(246, 247, 243, .88);
  --accent-bright: #FFFFFF;          /* laranja sobre verde não atinge contraste */
  --accent-line: rgba(255, 255, 255, .34);
  --line-dark: rgba(246, 247, 243, .18);
  --glass: rgba(246, 247, 243, .07);
  --glass-strong: rgba(246, 247, 243, .12);
  --text-invert-soft: rgba(246, 247, 243, .88);
  --text-invert-muted: rgba(246, 247, 243, .74);
}
/* Sobre a faixa verde o botão principal vira branco — verde sobre verde sumiria */
.section--verde .btn--primary { --btn-bg: #FFFFFF; --btn-fg: var(--verde); box-shadow: 0 6px 20px rgba(6, 30, 18, .22); }
.section--verde .btn--primary:hover { --btn-bg: var(--areia); box-shadow: 0 10px 30px rgba(6, 30, 18, .3); }

.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: 0; text-align: left; }


.sec-head .lead { margin-top: 20px; }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Malha técnica de fundo */

/* ========================= 5. COMPONENTES =============================== */

/* --- Botões --- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .945rem; font-weight: 600; letter-spacing: -.005em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-mid), background var(--t-mid), border-color var(--t-mid), color var(--t-mid);
  will-change: transform;
  text-align: center;
  line-height: 1.2;
}
.btn svg { flex: none; }
.btn:hover { transform: none; }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: none; }
.btn--primary:hover { background: var(--accent-deep); }

.btn--whats { --btn-bg: var(--laranja); --btn-fg: var(--grafite); }
.btn--whats:hover { --btn-bg: var(--whats-deep); --btn-fg: #fff; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text-strong);
  border-color: var(--line-light);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--text-strong); background: var(--paper); }

.on-dark .btn--ghost, .btn--ghost-dark {
  --btn-fg: var(--text-invert);
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
}
.on-dark .btn--ghost:hover, .btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .09);
}

.btn--lg { padding: 17px 28px; font-size: .985rem; }
.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Pill / badge --- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: .705rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-bright); flex: none;
  box-shadow: 0 0 0 4px rgba(74, 155, 255, .20);
}
.pill--light { color: var(--accent-deep); border-color: rgba(30, 111, 217, .24); background: rgba(30, 111, 217, .08); }
.pill--light .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(30, 111, 217, .13); }

/* --- Cartões --- */
.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line-light);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
  height: 100%;
}
.card:hover { border-color: var(--verde); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .935rem; line-height: 1.62; color: var(--text-muted); }

.card--dark { background: var(--glass); border-color: var(--line-dark); }
.card--dark:hover { background: var(--glass-strong); border-color: var(--accent-line); box-shadow: var(--sh-dark); }
.card--dark p { color: var(--text-invert-muted); }

.card-num {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  color: var(--accent); opacity: .9;
  display: block; margin-bottom: 16px;
}
.on-dark .card-num { color: var(--accent-bright); }

.card-ico {
  width: 42px; height: 42px; margin-bottom: 18px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(30, 111, 217, .18);
}
.on-dark .card-ico { color: var(--accent-bright); border-color: var(--accent-line); }

/* --- Header --- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transform: translateY(0); transition: transform .38s var(--ease-out), background var(--t-mid), border-color var(--t-mid);
  transition: background var(--t-mid), border-color var(--t-mid), backdrop-filter var(--t-mid), box-shadow var(--t-mid);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 74px;
}
.header.is-stuck {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-light);
}

/* Marca horizontal — símbolo + assinatura (manual da marca, seção 01) */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; transition: opacity var(--t-fast); }
.brand:hover { opacity: .82; }
.brand__sym { width: 38px; height: 38px; flex: none; border-radius: 10px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  letter-spacing: -.028em; color: var(--grafite); white-space: nowrap;
}
.brand__name span { color: var(--verde); }
.brand__tag {
  display: flex; align-items: center; gap: 7px; margin-top: 6px;
  font-family: var(--font-body); font-size: .545rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted);
}
.brand__tag::before { content: ""; width: 16px; height: 2px; background: var(--laranja); flex: none; border-radius: 2px; }
.brand--stack { display: block; }
.brand--stack .brand__sym { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 16px; }
.brand--stack .brand__name { font-size: 1.32rem; }
/* Sobre fundo escuro o "Franco" vira areia e o "Digital" vira verde broto */
.on-dark .brand__name, .footer .brand__name { color: var(--areia); }
.on-dark .brand__name span, .footer .brand__name span { color: var(--verde-broto); }
.on-dark .brand__tag, .footer .brand__tag { color: var(--text-invert-muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-pill);
  font-size: .885rem; font-weight: 500; color: var(--text-body);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover, .nav a.is-active { color: var(--verde); background: var(--accent-soft); }

.header__cta { display: flex; align-items: center; gap: 12px; flex: none; }

.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.burger:hover { background: var(--paper-100); border-color: var(--verde); }
.burger span {
  display: block; width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--grafite);
  transition: transform var(--t-mid), opacity var(--t-fast);
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(7, 8, 11, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 96px var(--gutter) 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  letter-spacing: -.03em; color: var(--text-invert);
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer nav a span {
  font-family: var(--font-body); font-size: .7rem; color: var(--text-invert-muted); letter-spacing: .1em;
}
.drawer__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.drawer__meta {
  font-size: .82rem; color: var(--text-invert-muted); line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 20px; margin-top: 8px;
}
.drawer__meta a { color: var(--text-invert-soft); }
body.no-scroll { overflow: hidden; }

/* --- WhatsApp flutuante --- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 20px 13px 15px;
  border-radius: var(--r-pill);
  background: var(--whats); color: #06281A;
  font-size: .9rem; font-weight: 600;
  box-shadow: 0 8px 28px rgba(18, 140, 126, .38);
  transition: transform var(--t-mid), box-shadow var(--t-mid), opacity var(--t-mid);
  transform: translateY(120%); opacity: 0;
}
.wa-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(18, 140, 126, .48); }
.wa-float svg { flex: none; }
.wa-float__label { white-space: nowrap; }

/* ============================ 6. SEÇÕES ================================= */

/* --- HERO --- */
.hero {
  position: relative;
  background: var(--areia);
  color: var(--text-body);
  padding-top: clamp(118px, 15vw, 168px);
  padding-bottom: clamp(64px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
}
.hero h1 { margin: 22px 0 0; color: var(--text-strong); }
.hero__sub { margin-top: 22px; font-size: clamp(1rem, 1.5vw, 1.135rem); line-height: 1.7; max-width: 54ch; color: var(--text-body); }
.hero .btn-row { margin-top: 34px; }
.hero__meta {
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: .82rem; color: var(--text-muted);
}
.hero__meta li { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { color: var(--verde); flex: none; }

.hero__note { margin-top: 26px; font-size: .9rem; color: var(--text-muted); max-width: 52ch; }

/* --- Barra de credibilidade --- */
.credbar { background: var(--verde); }
.credbar__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.credbar__item {
  padding: clamp(24px, 3vw, 34px) clamp(14px, 2vw, 28px);
  display: flex; align-items: center; gap: 14px;
  border-left: 1px solid rgba(246, 247, 243, .2);
}
.credbar__item:first-child { border-left: 0; }
.credbar__item svg { color: #fff; opacity: .92; flex: none; }
.credbar__item b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .965rem; color: #fff; letter-spacing: -.02em; line-height: 1.3;
}
.credbar__item span { font-size: .8rem; color: rgba(246, 247, 243, .8); }

/* --- Portfólio --- */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.filter {
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: .855rem; font-weight: 500;
  color: var(--text-invert-soft);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  transition: all var(--t-fast);
}
.filter:hover { color: var(--text-invert); border-color: rgba(255, 255, 255, .3); }
.filter[aria-pressed="true"] {
  background: var(--text-invert); color: var(--ink-900); border-color: var(--text-invert); font-weight: 600;
}


.work { display: flex; flex-direction: column; }
.work.is-hidden { display: none; }

.work__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--grafite); border-radius: var(--r-md); }
.work__media picture { display: block; width: 100%; height: 100%; }
.work__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .75s var(--ease-out);
}
.work:hover .work__media img { transform: scale(1.045); }
.work__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 11, .72) 0%, rgba(7, 8, 11, .12) 42%, transparent 70%);
  opacity: .75; transition: opacity var(--t-mid);
}
.work:hover .work__media::after { opacity: .9; }

.work__zoom {
  position: absolute; z-index: 2; right: 14px; top: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 8, 11, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  color: var(--text-invert);
  opacity: 0; transform: scale(.85);
  transition: opacity var(--t-mid), transform var(--t-mid), background var(--t-fast);
}
.work:hover .work__zoom, .work__zoom:focus-visible { opacity: 1; transform: scale(1); }
.work__zoom:hover { background: var(--accent); border-color: var(--accent); }

.work__seg {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  font-size: .78rem; font-weight: 600; color: var(--text-invert);
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(7, 8, 11, .68);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
}

.work__body {
  padding: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.work__body h3 { font-size: 1.16rem; color: var(--text-invert); }
.work__body p { font-size: .9rem; line-height: 1.62; color: var(--text-invert-muted); margin: 0; }
.work__foot { margin-top: auto; padding-top: 8px; }
.work__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; color: var(--accent-bright);
  padding: 7px 0;
  transition: gap var(--t-fast), color var(--t-fast);
}
.work__link:hover { gap: 12px; color: #fff; }
.work__nolink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-invert-muted);
  padding: 7px 0;
}

.work--wide { grid-column: span 2; }
.work--wide .work__media { aspect-ratio: 21 / 9; }

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(4, 5, 8, .95);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-mid), visibility var(--t-mid);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { max-width: 1180px; width: 100%; }
.lightbox__fig img {
  width: 100%; max-height: 76vh; object-fit: contain;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .12);
  background: var(--ink-800);
}
.lightbox__cap {
  margin-top: 16px; text-align: center;
  font-size: .875rem; color: var(--text-invert-muted);
}
.lightbox__cap b { color: var(--text-invert); font-weight: 600; display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: 3px; }
.lightbox__close {
  position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px);
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-invert);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .18); }

/* --- Faixa de impacto --- */
.statement { position: relative; }
.statement h2 { font-size: clamp(1.75rem, 5vw, 3.15rem); line-height: 1.1; max-width: 17ch; }
.statement p { margin: 26px 0 0; max-width: 58ch; color: var(--text-invert-soft); font-size: clamp(.98rem, 1.5vw, 1.1rem); }

.closing-note {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--ink-900);
  color: var(--text-invert-soft);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px;
}
.closing-note p {
  font-family: var(--font-display); font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-invert); line-height: 1.4; letter-spacing: -.02em;
  max-width: 34ch; margin: 0;
}

.deadline {
  margin-top: clamp(32px, 4vw, 44px);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--accent-line);
  background: linear-gradient(120deg, rgba(30, 111, 217, .18), rgba(30, 111, 217, .05));
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
}
.deadline__big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--text-invert); letter-spacing: -.03em; line-height: 1.2;
}
.deadline p { font-size: .9rem; color: var(--text-invert-soft); max-width: 46ch; margin: 0; }

/* --- Região --- */
.region {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
/* --- FAQ --- */
.faq { display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item:first-child { border-top: 1px solid var(--line-light); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  letter-spacing: -.02em; color: var(--text-strong);
  transition: color var(--t-fast);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: none; width: 26px; height: 26px; margin-top: 2px;
  border-radius: 50%; border: 1px solid var(--line-light);
  display: grid; place-items: center; position: relative;
  transition: transform var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute;
  background: currentColor; border-radius: 2px;
  transition: opacity var(--t-fast);
}
.faq__icon::before { width: 11px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 11px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(180deg); border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid);
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 46px 26px 4px;
  font-size: .96rem; line-height: 1.72; color: var(--text-muted);
  max-width: 68ch;
}

/* --- Contato --- */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.contact__list { display: grid; gap: 2px; margin-top: 34px; }
.cinfo {
  display: flex; gap: 16px; align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.cinfo:last-child { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.cinfo .cinfo__ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-dark);
  color: var(--accent-bright);
}
.cinfo b {
  display: block; font-family: var(--font-body); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-invert-muted); font-weight: 500; margin-bottom: 5px;
}
.cinfo a, .cinfo span {
  display: block; color: var(--text-invert); font-size: .995rem; font-weight: 500;
  letter-spacing: -.01em;
  transition: color var(--t-fast);
}
.cinfo a:hover { color: var(--accent-bright); }
.cinfo small { color: var(--text-invert-muted); font-size: .82rem; font-weight: 400; }

.form {
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line-dark);
  display: grid; gap: 16px;
}
.form h3 { font-size: 1.12rem; color: var(--text-invert); margin-bottom: -2px; }
.form > p { font-size: .875rem; color: var(--text-invert-muted); margin-bottom: 6px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-body); font-size: .655rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-invert-muted); font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text-invert);
  font-size: .93rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .28); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-bright); background: rgba(0, 0, 0, .45);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A7AEBE' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}
.field select option { background: var(--ink-800); color: var(--text-invert); }
.form__note { font-size: .78rem; color: var(--text-invert-muted); line-height: 1.55; text-align: center; }

/* --- CTA final --- */
.final { position: relative; }
.final h2 { font-size: clamp(1.9rem, 5.4vw, 3.4rem); max-width: 16ch; }
.final p { margin: 24px 0 0; max-width: 54ch; color: var(--text-invert-soft); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.final .btn-row { margin-top: 38px; }
.final__sub { margin-top: 22px; font-size: .9rem; color: var(--text-invert-soft); }

/* --- Footer --- */
.footer {
  background: var(--ink-850);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(52px, 6vw, 76px) 28px;
  color: var(--text-invert-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 52px);
}
.footer__brand p {
  margin-top: 18px; font-size: .9rem; line-height: 1.7;
  color: var(--text-invert-muted); max-width: 34ch;
}
.footer h3 {
  font-family: var(--font-body); font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-invert-soft);
  font-weight: 500; margin-bottom: 18px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a, .footer address a {
  font-size: .9rem; color: var(--text-invert-muted);
  transition: color var(--t-fast);
}
.footer__links a:hover, .footer address a:hover { color: var(--text-invert); }
.footer address { font-style: normal; display: grid; gap: 11px; font-size: .9rem; }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer__bottom p { margin: 0; }

/* ========================= 7. RESPONSIVO ================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 64px); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: grid; }
  .split { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .region { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .credbar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credbar__item:nth-child(odd) { border-left: 0; }
  .credbar__item:nth-child(n+3) { border-top: 1px solid rgba(246, 247, 243, .2); }
  .work--wide { grid-column: span 1; }
  .work--wide .work__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  /* No celular o screenshot aparece inteiro, sem corte lateral */
  .work__media, .work--wide .work__media { aspect-ratio: auto; }
  .work__media picture, .work__media img { height: auto; }
  .g-3, .g-4 { grid-template-columns: 1fr; }
  .closing-note { flex-direction: column; align-items: flex-start; }
  .closing-note .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .wa-float__label { display: none; }
  .wa-float { padding: 15px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero .btn-row .btn, .final .btn-row .btn { width: 100%; }
  .hero__meta { gap: 10px 18px; font-size: .78rem; }
  .brand__sym { width: 34px; height: 34px; }
  .brand__name { font-size: 1.04rem; }
  .faq__a p { padding-right: 4px; }
  .deadline { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .h-display { font-size: clamp(1.95rem, 9.2vw, 2.35rem); letter-spacing: -.03em; }
  .statement h2, .final h2 { font-size: clamp(1.6rem, 8.2vw, 2rem); }
  .filters { gap: 6px; }
  .filter { padding: 9px 14px; font-size: .8rem; }
  .credbar__grid { grid-template-columns: 1fr; }
  .credbar__item { border-left: 0; }
  .credbar__item + .credbar__item { border-top: 1px solid rgba(246, 247, 243, .2); }
}

/* ======================= 8. ANIMAÇÕES / A11Y ============================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
  .wa-float { transform: none; opacity: 1; }
}

@media print {
  .header, .wa-float, .drawer, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ======================= 9. HERÓI ANIMADO ============================== */
.hero__title .w, .hero .w { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease-out) forwards; }
.hero__title .w:nth-child(1) { animation-delay: .05s }
.hero__title .w:nth-child(2) { animation-delay: .15s }
.hero__title .w:nth-child(3) { animation-delay: .25s }
.hero__title .w:nth-child(4) { animation-delay: .35s }
.hero__sub.w { animation-delay: .5s }
.hero .btn-row.w { animation-delay: .62s }
.hero__note.w { animation-delay: .74s }
.hero .underline-mark { background-size: 0% .085em; animation: draw .7s var(--ease-out) .9s forwards; }
@keyframes rise { to { opacity: 1; transform: none } }
@keyframes draw { to { background-size: 100% .085em } }


/* ========================= 10. CARROSSEL =============================== */
.car { position: relative; }
.car__track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: 4px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter);
}
.car__track::-webkit-scrollbar { display: none; }
.car__track:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 6px; }
.car__slide { flex: 0 0 min(100%, 520px); scroll-snap-align: start; }
.car--work .car__slide { flex-basis: min(100%, 760px); }
.car__nav { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.car__btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-light); color: var(--text-strong); background: var(--paper);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.car__btn:hover { background: var(--verde); color: #fff; border-color: var(--verde); }
.car__btn:disabled { opacity: .35; pointer-events: none; }
.on-dark .car__btn { border-color: var(--line-dark); color: var(--text-invert); background: transparent; }
.on-dark .car__btn:hover { background: var(--text-invert); color: var(--grafite); }
.car__bar { flex: 1; height: 2px; background: var(--line-light); border-radius: 2px; overflow: hidden; }
.on-dark .car__bar { background: var(--line-dark); }
.car__bar i { display: block; height: 100%; width: 0; background: var(--laranja); transition: width .45s var(--ease-out); }

/* slides de texto */
._unused_slide_arg {
  padding: clamp(28px, 3.4vw, 44px) 0 0; border-top: 2px solid var(--grafite);
  min-height: 100%;
}
.on-dark .slide-step { border-top-color: var(--areia); }
.slide-arg h3, .slide-step h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: 14px; }
.slide-arg p, .slide-step p { font-size: 1.02rem; line-height: 1.68; max-width: 44ch; color: var(--text-muted); }
.on-dark .slide-step p { color: var(--text-invert-soft); }
.slide-step__k { display: block; font-size: .85rem; font-weight: 600; color: var(--verde-broto); margin-bottom: 18px; }

/* ===================== 11. LISTA EDITORIAL ============================== */
.rows { border-top: 1px solid var(--line-light); }
.row {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px 40px;
  padding: 26px 0; border-bottom: 1px solid var(--line-light); align-items: baseline;
}
.row h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--text-strong); position: relative; padding-left: 0;
  transition: padding var(--t-mid), color var(--t-mid);
}
.row h3::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 0; height: 3px; border-radius: 2px;
  background: var(--laranja); transition: width var(--t-mid);
}
.row:hover h3 { padding-left: 34px; color: var(--verde); }
.row:hover h3::before { width: 22px; }
.row p { color: var(--text-muted); font-size: .98rem; line-height: 1.65; max-width: 58ch; }
.on-dark .rows { border-top-color: var(--line-dark); }
.on-dark .row { border-bottom-color: var(--line-dark); }
.on-dark .row h3 { color: var(--text-invert); }
.on-dark .row:hover h3 { color: #fff; }
.on-dark .row p { color: var(--text-invert-soft); }

/* ======================== 12. NUVEM DE PALAVRAS ========================= */
.cloud {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.35; letter-spacing: -.02em;
  color: var(--text-strong); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0;
}
.cloud span { transition: color var(--t-fast); }
.cloud span:hover { color: var(--verde); }
.cloud i { display: none; }
.cloud span:not(:last-child)::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--laranja); margin: 0 clamp(12px, 1.6vw, 22px); vertical-align: middle; }
.cloud--sm { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; }
.on-dark .cloud { color: var(--text-invert); }
.on-dark .cloud span:hover { color: var(--verde-broto); }


@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .car__slide { flex-basis: 86%; }
  .car--work .car__slide { flex-basis: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .w, .hero__title .w, .show { opacity: 1; transform: none; animation: none; }
  .hero .underline-mark { background-size: 100% .085em; animation: none; }
  .hero-slides img { animation: none; }
  .hero-slides img:first-child { opacity: 1; }
  .car__track { scroll-behavior: auto; }
}


/* ======================= 14. PROFUNDIDADE E MOVIMENTO ==================== */
.header.is-hidden { transform: translateY(-100%); }

/* marca d'água do F no herói */
.hero { overflow: hidden; }
.hero__mark {
  position: absolute; right: -6vw; top: -4vw; width: 44vw; height: 44vw; max-width: 640px; max-height: 640px;
  color: var(--verde); opacity: .055; pointer-events: none; will-change: transform;
}

/* seções escuras e verdes entram em diagonal */
.section--dark, .section--ink, .section--verde {
  clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -3vw; padding-top: calc(var(--sec-y) + 3vw);
}

/* botões com varredura */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .14); transform: translateX(-102%) skewX(-12deg); transition: transform .38s var(--ease-out); }
.btn:hover::after { transform: translateX(0) skewX(-12deg) scaleX(1.3); }

/* revelação em cascata */
.rows .row, .cloud span { transition-delay: calc(var(--i, 0) * 45ms); }
.rows .row { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out), padding var(--t-mid); }
.rows.is-in .row { opacity: 1; transform: none; }
.cloud span { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color var(--t-fast); }
.cloud.is-in span { opacity: 1; transform: none; }

/* imagens entram em cortina */
.car--work .work__media { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.car--work.is-in .work__media { clip-path: inset(0 0 0 0); }

/* frases grandes, palavra por palavra */
.words .wd { display: inline-block; opacity: .16; transform: translateY(.18em); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.words.is-in .wd { opacity: 1; transform: none; }

/* linhas de serviço: varredura de fundo */
.row { position: relative; }
.row::before { content: ""; position: absolute; inset: 0 -16px; background: var(--accent-soft); border-radius: var(--r-md); transform: scaleX(0); transform-origin: left; transition: transform .38s var(--ease-out); z-index: -1; }
.on-dark .row::before { background: rgba(246, 247, 243, .05); }
.row:hover::before { transform: scaleX(1); }
.row { z-index: 0; }

/* portfólio: slides maiores, foto respira, etiqueta segue o cursor */
.car--work .car__slide { flex-basis: min(100%, 880px); }
.work__media img { transition: transform 1.1s var(--ease-out), filter .5s; }
.work:hover .work__media img { transform: scale(1.035); }
.cur {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: var(--laranja); color: var(--grafite);
  font-weight: 600; font-size: .85rem; white-space: nowrap;
  transform: translate(-50%, -50%) scale(0); transition: transform .25s var(--ease-out); will-change: left, top;
}
.cur.is-on { transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }

/* rodapé: marca gigante */
.footer { overflow: hidden; }
.footer__giant {
  margin: clamp(48px, 7vw, 96px) 0 -0.12em; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.4rem, 12.5vw, 13rem); line-height: .85; letter-spacing: -.05em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(246, 247, 243, .14); user-select: none;
}

@media (max-width: 760px) {
  .hero__mark { width: 70vw; height: 70vw; right: -22vw; top: 6vw; }
  .section--dark, .section--ink, .section--verde { clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%); margin-top: -5vw; padding-top: calc(var(--sec-y) + 5vw); }
}
@media (prefers-reduced-motion: reduce) {
  .header.is-hidden { transform: none; }
  .rows .row, .cloud span, .words .wd { opacity: 1; transform: none; transition: none; }
  .car--work .work__media { clip-path: none; }
  .show__col { animation: none; }
  .btn::after { display: none; }
  .hero__mark { transform: none !important; }
}


/* ================= 15. VITRINE 3D — colunas infinitas de projetos ============ */
.show {
  position: relative; height: clamp(440px, 56vw, 680px); width: calc(100% + 22vw);
  perspective: 1400px; perspective-origin: 60% 40%;
  opacity: 0; animation: rise .9s var(--ease-out) .25s forwards;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.hero__inner { overflow: visible; }
.show__stage {
  --tx: 0deg; --ty: 0deg;
  position: absolute; inset: -18% -8% -18% -6%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  transform: rotateX(calc(16deg + var(--tx))) rotateY(calc(-16deg + var(--ty))) rotateZ(7deg);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.show__col { display: flex; flex-direction: column; gap: 18px; animation: showUp 46s linear infinite; will-change: transform; }
.show__col:nth-child(2) { animation-duration: 58s; animation-direction: reverse; }
.show__col:nth-child(3) { animation-duration: 52s; }
.show__col img {
  width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: top;
  border-radius: 8px; background: var(--grafite);
  box-shadow: 0 18px 44px rgba(16, 35, 26, .22), 0 0 0 1px rgba(16, 35, 26, .08);
}
@keyframes showUp { to { transform: translateY(-50%) } }
.hero .grid-bg { display: none; }

@media (max-width: 1080px) {
  .show { height: clamp(380px, 70vw, 560px); width: calc(100% + 2 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .show__stage { inset: -12% -6% -12% -6%; }
}
@media (max-width: 560px) {
  .show { height: 380px; }
  .show__stage { grid-template-columns: 1fr 1fr; gap: 12px; inset: -10% -18% -10% -8%;
    transform: rotateX(12deg) rotateY(-10deg) rotateZ(5deg); }
  .show__col:nth-child(3) { display: none; }
  .show__col { gap: 12px; }
}


/* ============================ 16. REPAGINADA 3D ============================ */

/* --- abertura em cortina --- */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--verde);
  display: grid; place-items: center; pointer-events: none;
  animation: introUp .8s var(--ease-out) 1.05s forwards;
}
.intro__sym { width: clamp(64px, 9vw, 110px); height: clamp(64px, 9vw, 110px); border-radius: 22%; background: #fff; padding: 0;
  animation: introPop .7s var(--ease-out) .1s both; }
@keyframes introPop { from { transform: scale(.6) rotate(-8deg); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes introUp { to { transform: translateY(-101%); visibility: hidden } }
.hero__title .w, .hero .w { animation-delay: calc(var(--d, 0s) + 1.1s) !important; }
.hero__title .w:nth-child(1) { --d: .05s } .hero__title .w:nth-child(2) { --d: .15s } .hero__title .w:nth-child(3) { --d: .25s } .hero__title .w:nth-child(4) { --d: .35s }
.hero__sub.w { --d: .5s } .hero .btn-row.w { --d: .62s } .hero__note.w { --d: .74s }
.hero .underline-mark { animation-delay: 2s; }
.show { animation-delay: 1.3s; }

/* --- barra de progresso e grão --- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 250; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--laranja); transition: width .12s linear; }
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 240; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-2%,1%) } 50% { transform: translate(1%,-2%) } 75% { transform: translate(-1%,-1%) } 100% { transform: translate(2%,2%) } }

/* --- anel do cursor --- */
.ring {
  position: fixed; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; z-index: 260; pointer-events: none;
  border: 1.5px solid var(--laranja); transform: translate(-50%, -50%) scale(0); transition: transform .28s var(--ease-out), background .2s, border-color .2s;
  mix-blend-mode: multiply;
}
.ring.is-on { transform: translate(-50%, -50%) scale(1); }
.ring.is-link { transform: translate(-50%, -50%) scale(1.7); background: rgba(242, 112, 27, .18); }
.on-dark ~ .ring, .ring.is-dark { mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .ring, .progress { display: none; } }

/* --- baralho 3D de motivos --- */
.split-deck { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.deck__nav { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.deck__hint { font-size: .85rem; color: var(--text-muted); }
.deck { position: relative; height: clamp(340px, 34vw, 420px); perspective: 1600px; cursor: pointer; }
.deck__card {
  position: absolute; inset: 0; padding: clamp(28px, 3.4vw, 44px); border-radius: 14px;
  background: #fff; border: 1px solid var(--line-light);
  box-shadow: 0 30px 60px rgba(16, 35, 26, .16), 0 0 0 1px rgba(16, 35, 26, .03);
  transform: translateY(calc(var(--n) * -16px)) translateZ(calc(var(--n) * -70px)) rotateX(calc(var(--n) * 2deg));
  opacity: calc(1 - var(--n) * .22); z-index: calc(20 - var(--n));
  transition: transform .7s var(--ease-out), opacity .5s var(--ease-out);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  transform-style: preserve-3d; backface-visibility: hidden;
}
.deck__card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 14px 0 0 14px; background: var(--laranja); }
.deck__card.is-out { transform: translateX(-60%) translateY(-6%) rotateZ(-10deg) rotateY(-30deg); opacity: 0; z-index: 30; }
.deck__card h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.12; }
.deck__card p { font-size: 1.02rem; line-height: 1.65; color: var(--text-muted); max-width: 46ch; }
.deck__k { font-size: .8rem; font-weight: 600; color: var(--verde); }

/* --- portfólio em cover-flow --- */
.car--flow .car__track { perspective: 1400px; padding-inline: 12%; scroll-padding-inline: 12%; gap: 0; }
.car--flow .car__slide { flex-basis: 76%; scroll-snap-align: center; transform-style: preserve-3d; transition: transform .35s var(--ease-out), opacity .35s; will-change: transform; padding-inline: 12px; }
.car--flow .car__nav { justify-content: center; max-width: 520px; margin-inline: auto; }
.car--flow .work__media { box-shadow: 0 30px 70px rgba(6, 16, 11, .5); }

/* --- etapas que empilham ao rolar --- */
.stack { display: grid; gap: 0; perspective: 1400px; }
.stack__item {
  position: sticky; top: calc(96px + var(--i) * 18px);
  margin-bottom: 18px; transform-origin: top center; will-change: transform;
}
.stack__in {
  min-height: clamp(300px, 42vh, 420px); padding: clamp(28px, 4vw, 56px);
  border-radius: 16px; border: 1px solid var(--line-dark);
  background: var(--ink-800); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  box-shadow: 0 -20px 60px rgba(6, 16, 11, .45);
}
.stack__item:nth-child(odd) .stack__in { background: var(--ink-700); }
.stack__item:nth-child(3) .stack__in { background: var(--verde); }
.stack__item:nth-child(5) .stack__in { background: var(--laranja); color: var(--grafite); }
.stack__item:nth-child(5) .stack__in h3, .stack__item:nth-child(5) .stack__in p, .stack__item:nth-child(5) .stack__k { color: var(--grafite); }
.stack__k { font-size: .85rem; font-weight: 600; color: var(--verde-broto); }
.stack__item:nth-child(3) .stack__k { color: #fff; }
.stack__in h3 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); color: var(--text-invert); letter-spacing: -.03em; }
.stack__in p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-invert-soft); max-width: 52ch; }
.stack__item:nth-child(3) .stack__in p { color: rgba(246,247,243,.9); }

/* --- F extrudado --- */
.final__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.f3d { perspective: 1200px; display: grid; place-items: center; min-height: 300px; }
.f3d__spin { position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1; transform-style: preserve-3d; animation: f3dSpin 16s linear infinite; }
.f3d__l { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(calc(var(--z) * -3.5px)); filter: brightness(calc(1 - var(--z) * .055)); border-radius: 27%; }
.f3d__l:first-child { filter: none; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
@keyframes f3dSpin { from { transform: rotateX(14deg) rotateY(0) } to { transform: rotateX(14deg) rotateY(360deg) } }

/* --- frases grandes: viram do chão --- */
.words { perspective: 900px; }
.words .wd { transform: rotateX(-65deg) translateY(.35em); transform-origin: 50% 100%; }

/* --- inclinação com o mouse --- */
[data-tilt] { transform: perspective(1200px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .35s var(--ease-out); will-change: transform; }

@media (max-width: 900px) {
  .split-deck { grid-template-columns: 1fr; }
  .final__grid { grid-template-columns: 1fr; }
  .f3d { min-height: 220px; order: 2; }
  .car--flow .car__track { padding-inline: 6%; scroll-padding-inline: 6%; }
  .car--flow .car__slide { flex-basis: 88%; }
  .stack__item { top: calc(84px + var(--i) * 12px); }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero__title .w, .hero .w, .show { animation-delay: 0s !important; }
  body::after, .ring { display: none; }
  .deck__card, .f3d__spin, [data-tilt], .car--flow .car__slide { transition: none; animation: none; transform: none; }
  .words .wd { transform: none; }
}
