/* Hava · site portfólio
   Fundo claro (areia/off-white), imagem em P&B, cor só no detalhe:
   roxo = Hava Memories, verde = Hava Impulso, carvão = marca-mãe. */

:root {
  --areia: #E8E3DD;
  --off: #F4F1ED;
  --branco: #FFFFFF;
  --carvao: #1A1A1A;
  --grafite: #5E5A56;
  --linha: #D3CBC2;
  --roxo: #4B0B8B;
  --roxo-escuro: #380768;
  --verde: #144736;
  --verde-escuro: #0D3427;

  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script: "Nothing You Could Do", "Segoe Script", "Bradley Hand", cursive;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(96px, 13vw, 190px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background: var(--areia);
  color: var(--carvao);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.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;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); position: relative; }
.section--off { background: var(--off); }

/* Grão de filme sobre tudo */
.grain {
  position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tipografia */
.eyebrow, .front-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grafite);
}
.eyebrow::before, .front-label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.display {
  font-weight: 300;
  font-size: clamp(2.1rem, 4.9vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display em { font-style: normal; }
.arrow { display: inline-block; transition: transform .5s var(--ease); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.text-link:hover .arrow { transform: translateX(6px); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--memories { background: var(--roxo); color: var(--branco); }
.btn--memories:hover { background: var(--roxo-escuro); }
.btn--impulso { background: var(--verde); color: var(--branco); }
.btn--impulso:hover { background: var(--verde-escuro); }
.btn-kicker { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; font-weight: 600; }

/* Abertura (só com JS) */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; background: var(--areia);
  display: grid; place-items: center;
}
.loader-count, .loader-pct {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: .95rem; font-weight: 400; letter-spacing: .12em; color: var(--grafite); font-variant-numeric: tabular-nums;
}
.loader-count { top: calc(28px + env(safe-area-inset-top, 0px)); display: flex; }
.loader-pct { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); margin: 0; }
.digit { display: block; height: 1.2em; line-height: 1.2em; overflow: hidden; width: .72em; text-align: center; }
.strip { display: block; will-change: transform; }
.strip span { display: block; height: 1.2em; }
.loader-logo { width: min(56vw, 440px); height: auto; overflow: visible; }
.loader-logo path { fill: var(--carvao); fill-opacity: 0; stroke: var(--carvao); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader-frame {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(30vw, 260px); aspect-ratio: 3 / 4; overflow: hidden; background: #0d0d0d; visibility: hidden;
}
.loader-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0;
}
.loader-frame img.on { opacity: 1; }

/* 00 · Cabeçalho */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-bottom: 14px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  color: var(--carvao);
  background: rgba(232, 227, 221, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 26, 26, .08);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.site-header.is-over-hero:not(.menu-open) {
  color: var(--branco); background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.burger { position: relative; width: 22px; height: 10px; display: inline-block; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 0; }
.burger i:last-child { top: 8.5px; }
.menu-open .burger i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 4.25px; transform: rotate(-45deg); }
.brand { justify-self: center; display: block; position: relative; height: 36px; width: 90px; transition: opacity .5s var(--ease); }
.brand img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .5s var(--ease); }
.brand-light { opacity: 0; }
.is-over-hero:not(.menu-open) .brand { opacity: 0; pointer-events: none; }
.btn--header {
  justify-self: end; min-height: 40px; padding: 8px 20px; font-size: .8rem;
  border: 1px solid currentColor; background: transparent; color: inherit;
}
.btn--header:hover { background: var(--carvao); color: var(--branco); border-color: var(--carvao); }
.is-over-hero:not(.menu-open) .btn--header:hover { background: var(--branco); color: var(--carvao); border-color: var(--branco); }

/* Menu em tela cheia */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--areia);
  display: flex; align-items: center;
  padding-top: calc(96px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  overflow-y: auto;
}
.menu-inner { width: 100%; max-width: var(--container); margin: 0 auto; display: grid; gap: 48px; }
.menu-list { list-style: none; padding: 0; display: grid; }
.menu-list a {
  display: flex; align-items: baseline; gap: 22px; text-decoration: none;
  font-size: clamp(1.9rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.2;
  padding-block: 10px; border-bottom: 1px solid var(--linha);
  transition: padding-left .5s var(--ease), color .4s var(--ease);
}
.menu-list li:nth-child(1) a:hover { color: var(--roxo); }
.menu-list li:nth-child(2) a:hover { color: var(--verde); }
.menu-list a:hover { padding-left: 14px; }
.menu-list span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--grafite); font-variant-numeric: tabular-nums; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: .9rem; color: var(--grafite); }
.menu-foot a { text-decoration: none; }
.menu-foot a:hover { color: var(--carvao); }

/* 01 · Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--areia); }
.hero-media {
  position: absolute; inset: 0; overflow: hidden; background: #0d0d0d;
  clip-path: inset(0% 0% 0% 0% round 0px);
  will-change: clip-path;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides img, .hero-slides video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.hero-slides img.is-active { opacity: 1; }
.hero-slides img.is-active, .hero-slides img.is-leaving { animation: drift 9s linear both; }
.hero-slides video { opacity: 1; }
.is-loading .hero-slides img.is-active { animation: none; transform: scale(1.14); }
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.5) 100%); }
.hero-mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 1500px); height: auto; opacity: .2; pointer-events: none;
}
.hero-content {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  color: var(--branco); text-align: center;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hero-tagline {
  font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.15;
  max-width: 18ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.sound {
  position: absolute; z-index: 3;
  right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  background: none; border: 1px solid rgba(255,255,255,.6); color: var(--branco); border-radius: 999px;
  padding: 6px 16px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; cursor: pointer;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; color: var(--branco);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
}
.scroll-cue i { width: 1px; height: 44px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--branco); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* 02 · Frase manuscrita */
.pulse { position: relative; background: var(--areia); }
.pulse-stage {
  display: grid; justify-items: center; gap: clamp(18px, 2.6vw, 32px);
  padding-block: clamp(72px, 9vw, 120px) clamp(32px, 4vw, 56px);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.handwriting { width: min(1040px, calc(100vw - 2 * var(--gutter))); height: auto; overflow: visible; }
.hw-line { font-family: var(--font-script); font-size: 104px; fill: var(--carvao); }
.pulse-intro { max-width: 46ch; text-align: center; color: var(--grafite); font-size: clamp(1rem, 1.3vw, 1.125rem); }

/* Caminho pontilhado (mapa) */
.route-wrap { padding-bottom: var(--section); }
.route { display: block; overflow: visible; }
.route--desk { width: 100%; height: auto; }
.route--mob { display: none; }
.route-dots { fill: none; stroke: var(--carvao); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 12; }
.route-dots--m { stroke: var(--roxo); }
.route-dots--i { stroke: var(--verde); }
.route-mask { fill: none; stroke: #fff; stroke-width: 24; stroke-dasharray: 1; stroke-dashoffset: 0; }
.route-start { fill: var(--areia); stroke: var(--carvao); stroke-width: 2; }
.route-split circle { fill: var(--carvao); }
.route-note { font-family: var(--font-script); font-size: 30px; fill: var(--grafite); }
.route-pin path { stroke: var(--areia); stroke-width: 2; }
.route-pin circle { fill: var(--areia); }
.route-pin--m path { fill: var(--roxo); }
.route-pin--i path { fill: var(--verde); }
.route-traveler { fill: var(--carvao); stroke: var(--areia); stroke-width: 3; opacity: 0; }
.route-traveler--m { fill: var(--roxo); }
.route-traveler--i { fill: var(--verde); }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); margin-top: 18px; }
.door { display: grid; gap: 14px; align-content: start; text-decoration: none; }
.door--memories { --accent: var(--roxo); --accent-rgb: 75, 11, 139; }
.door--impulso { --accent: var(--verde); --accent-rgb: 20, 71, 54; }
.door-figure { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: #1a1a1a; clip-path: inset(0 0 0 0); }
.door-figure img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1);
  transform: scale(1.04); transition: transform 1.4s var(--ease), filter 1s var(--ease);
}
.door-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(var(--accent-rgb), .82) 0%, rgba(var(--accent-rgb), .35) 32%, rgba(var(--accent-rgb), 0) 58%);
}
.door:hover .door-figure img, .door:focus-visible .door-figure img { transform: scale(1.09); filter: grayscale(0); }
.door-title {
  position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px);
  color: var(--branco); display: grid; line-height: 1;
}
.door-hava { font-family: var(--font-script); font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 4px; }
.door-name {
  font-weight: 300; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .9;
}
.door-text { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 300; line-height: 1.35; letter-spacing: -.01em; max-width: 26ch; margin-top: 6px; }
.door-more { color: var(--accent); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 10px; }
.door:hover .arrow { transform: translateX(8px); }

/* 03 · O que é Hava */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; }
.about-grid .eyebrow { grid-column: 1 / -1; }
.about-grid .display { max-width: 13ch; }
.about-copy { display: grid; gap: 28px; justify-items: start; color: var(--grafite); font-size: 1.05rem; max-width: 46ch; }
.roots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(64px, 9vw, 120px); }
.root { border-top: 1px solid var(--linha); padding-top: 22px; display: grid; gap: 4px; }
.root-word { font-family: var(--font-script); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.2; }
.root-lang { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grafite); margin-bottom: 8px; }
.root-text { color: var(--grafite); max-width: 30ch; }

/* 04 e 05 · Frentes */
.front--memories, [data-tone="memories"] { --accent: var(--roxo); }
.front--impulso, [data-tone="impulso"] { --accent: var(--verde); }
.front-label { color: var(--accent); }
.front .display em { color: var(--accent); }
.front-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.front-grid--mirror { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.front-text { display: grid; gap: 28px; justify-items: start; }
.front-body { color: var(--grafite); font-size: 1.05rem; max-width: 50ch; }
.front-media { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: #cfc8c0; }
.front-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; filter: grayscale(1); }
.services { width: 100%; max-width: 520px; display: grid; gap: 12px; }
.services-title { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grafite); }
.services ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.services li { padding-block: 12px; border-bottom: 1px solid var(--linha); display: flex; align-items: center; gap: 12px; }
.services li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.front-highlight { color: var(--accent); font-weight: 600; font-size: 1.1rem; padding-bottom: 6px; border-bottom: 1px solid currentColor; }

.hand-quote {
  font-family: var(--font-script); color: var(--accent);
  font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.3; text-align: center;
  max-width: 24ch; margin: clamp(80px, 11vw, 160px) auto clamp(40px, 6vw, 80px);
}
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-block: clamp(72px, 10vw, 140px) clamp(24px, 4vw, 56px); }
.audience { border-top: 1px solid var(--accent); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.audience h3 { font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.75rem); color: var(--accent); letter-spacing: -.01em; }
.audience p { color: var(--grafite); max-width: 32ch; }

/* Galerias */
.gallery { position: relative; padding-top: calc(76px + 3vh); padding-bottom: clamp(24px, 3vw, 40px); background: inherit; }
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.gallery-title { font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -.015em; line-height: 1.15; margin-top: 12px; max-width: 22ch; }
.gallery-meta { display: grid; gap: 8px; justify-items: end; min-width: 200px; }
.gallery-count { font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--grafite); letter-spacing: .08em; }
.gallery-cur { color: var(--accent); font-weight: 700; }
.gallery-bar { width: 200px; height: 1px; background: var(--linha); position: relative; overflow: hidden; }
.gallery-bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(var(--gp, 0)); }
.gallery-hint { font-size: .78rem; color: var(--grafite); }
.gallery-viewport { overflow: hidden; }
.gallery-track {
  --h: min(52vh, 540px);
  list-style: none; margin: 0; display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 24px);
  width: max-content;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100vw - var(--container)) / 2));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  will-change: transform;
}
.card { flex: none; }
.card:nth-child(3n + 2) { margin-top: 5vh; }
.card:nth-child(3n) { margin-top: 2vh; }
.card-btn { all: unset; display: grid; gap: 10px; cursor: zoom-in; }
.card-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.card-figure { display: block; height: var(--h); aspect-ratio: var(--ar); overflow: hidden; background: #cfc8c0; }
.card-figure img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(1);
  transform: scale(1.06); transition: filter .9s var(--ease), transform 1.2s var(--ease);
}
.card-btn:hover .card-figure img, .card-btn:focus-visible .card-figure img { filter: grayscale(0); transform: scale(1.11); }
.card-cap { display: flex; gap: 10px; font-size: .82rem; color: var(--grafite); letter-spacing: .02em; }
.card-n { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }

.front-close { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: clamp(48px, 7vw, 100px); }
.front--impulso .front-close { justify-content: center; }
/* Depoimento em balão de comentário */
.comment { display: grid; gap: 22px; max-width: 36rem; min-width: 0; }
.comment-thread { display: flex; align-items: flex-end; gap: 14px; }
.comment-avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--branco); font-weight: 600; font-size: 1.05rem;
}
.comment-body { display: grid; gap: 8px; min-width: 0; }
.comment-meta { font-size: .82rem; color: var(--grafite); padding-left: 6px; }
.comment-meta strong { color: var(--carvao); font-weight: 600; }
.comment-bubble {
  position: relative; margin: 0; background: var(--branco);
  border-radius: 26px 26px 26px 6px; padding: 20px 24px;
  box-shadow: 0 18px 40px rgba(26, 26, 26, .08), 0 2px 6px rgba(26, 26, 26, .04);
}
.comment-bubble p { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.55; }
.comment-source { font-size: .75rem; color: var(--grafite); padding-left: 64px; margin-top: -12px; letter-spacing: .04em; }
.cta-block { display: grid; gap: 12px; justify-items: center; text-align: center; }
.cta-note { font-size: .85rem; color: var(--grafite); }

/* Foto ampliada */
.lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(232, 227, 221, .97);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding-top: calc(64px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.lb-figure { display: grid; gap: 12px; justify-items: center; height: 100%; min-height: 0; }
.lb-figure img { max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); width: auto; max-width: 100%; object-fit: contain; align-self: center; box-shadow: 0 30px 60px rgba(26,26,26,.18); }
.lb-figure figcaption { display: flex; gap: 18px; font-size: .85rem; color: var(--grafite); letter-spacing: .04em; }
#lbCount { font-variant-numeric: tabular-nums; color: var(--accent, var(--carvao)); font-weight: 700; }
.lb-close {
  position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: none; border: 1px solid var(--carvao); border-radius: 999px; padding: 8px 18px; cursor: pointer;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.lb-nav {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--carvao); background: transparent; cursor: pointer; font-size: 1.2rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.lb-nav:hover, .lb-close:hover { background: var(--carvao); color: var(--areia); }

/* 06 · Quem somos */
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.polaroids { display: flex; justify-content: center; align-items: center; padding-block: 20px; }
.polaroid {
  position: relative; display: block; flex: none; width: min(50%, 330px); aspect-ratio: 640 / 723;
  padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .8s var(--ease);
}
.polaroid img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(26,26,26,.16));
}
.polaroid--kezya { margin-right: -5%; transform: translateY(16px); z-index: 1; --nx: 45%; --ny: 81%; --nr: 10.5deg; }
.polaroid--leticia { transform: translateY(-12px); --nx: 57.5%; --ny: 81%; --nr: -10.5deg; }
.polaroid:hover, .polaroid:focus-visible { z-index: 2; }
.polaroid--kezya:hover { transform: translateY(8px) rotate(-1.5deg) scale(1.03); }
.polaroid--leticia:hover { transform: translateY(-18px) rotate(1.5deg) scale(1.03); }
.polaroid-color { opacity: 0; transition: opacity .7s var(--ease); }
.polaroid:hover .polaroid-color, .polaroid[aria-pressed="true"] .polaroid-color { opacity: 1; }
.polaroid-name {
  position: absolute; z-index: 1; left: var(--nx); top: var(--ny); transform: translate(-50%, -50%) rotate(var(--nr));
  font-family: var(--font-script); font-size: clamp(1.15rem, 2.1vw, 1.7rem); line-height: 1; white-space: nowrap;
  color: var(--carvao); pointer-events: none;
}
.team-copy { display: grid; gap: 28px; justify-items: start; }
.team-copy > p:not(.eyebrow):not(.signature) { color: var(--grafite); font-size: 1.05rem; max-width: 48ch; }
.signature { font-family: var(--font-script); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.2; }

/* 07 · Como trabalhamos */
.process .display { margin-top: 24px; max-width: 16ch; }
.steps {
  --p: 1;
  list-style: none; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(64px, 8vw, 110px); padding-top: 40px;
}
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.steps::before { background: var(--linha); }
.steps::after { background: var(--carvao); transform-origin: left center; transform: scaleX(var(--p)); }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step::before { content: ""; position: absolute; top: -44.5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--carvao); }
.step-n { font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--grafite); font-variant-numeric: tabular-nums; }
.step h3 { font-weight: 400; font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.01em; }
.step p { color: var(--grafite); font-size: .95rem; }

/* 08 · Manifesto e 09 · Chamada final: logo como marca d'água */
.manifesto, .closing { overflow: hidden; }
.watermark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(120vw, 1600px); max-width: none; height: auto; opacity: .05; pointer-events: none; user-select: none;
}
.manifesto-inner { position: relative; display: grid; justify-items: center; gap: 44px; text-align: center; }
.manifesto-text {
  font-size: clamp(1.55rem, 3.3vw, 2.85rem); font-weight: 300; line-height: 1.32; letter-spacing: -.015em;
  max-width: 30ch; text-wrap: balance;
}
.manifesto-text .m { color: var(--roxo); }
.manifesto-text .i { color: var(--verde); }
.manifesto-sign { display: grid; justify-items: center; gap: 10px; color: var(--grafite); font-size: .95rem; }
.manifesto-sign img { width: 130px; height: auto; }

.closing-inner { position: relative; display: grid; justify-items: center; gap: 28px; text-align: center; }
.closing-hand { font-family: var(--font-script); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; color: var(--grafite); }
.closing .display { max-width: 18ch; }
.closing-text { color: var(--grafite); max-width: 46ch; font-size: 1.05rem; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.closing-actions .btn { flex-direction: column; gap: 2px; min-width: 260px; padding-block: 14px; }

/* 10 · Rodapé */
.site-footer { border-top: 1px solid var(--linha); padding-top: clamp(64px, 8vw, 100px); padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { color: var(--grafite); }
.footer-col { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col span { color: var(--grafite); }
.footer-title { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grafite); margin-bottom: 8px; }
.footer-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--linha); font-size: .8rem; color: var(--grafite); }

/* Barra de WhatsApp no mobile */
.wa-bar { display: none; }

/* Responsivo */
@media (max-width: 960px) {
  .front-grid, .front-grid--mirror, .team-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .front-grid--mirror .front-media { order: 2; }
  .front-media { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; padding-left: 32px; row-gap: 40px; }
  .steps::before, .steps::after { right: auto; bottom: 0; width: 1px; height: auto; }
  .steps::after { transform-origin: center top; transform: scaleY(var(--p)); }
  .step::before { top: 8px; left: -36.5px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .brand { justify-self: start; grid-column: 1; grid-row: 1; height: 30px; width: 76px; }
  .menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .btn--header { display: none; }
  .route--desk { display: none; }
  .route--mob { display: block; width: 110px; height: auto; margin-inline: auto; }
  .doors { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 0; }
  .roots, .audiences { grid-template-columns: minmax(0, 1fr); }
  .services ul { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .gallery { padding-top: clamp(32px, 6vw, 48px); }
  .gallery-meta { justify-items: start; }
  .gallery-hint { display: none; }
  .gallery-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gallery-viewport::-webkit-scrollbar { display: none; }
  .gallery-track { --h: min(58vh, 460px); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .card:nth-child(3n + 2), .card:nth-child(3n) { margin-top: 0; }
  .front-close { justify-content: flex-start; }
  .cta-block { justify-items: start; text-align: left; }
  .closing-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .closing-actions .btn { min-width: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lb-figure { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: start; }
  .lb-next { grid-row: 2; justify-self: end; }
  .wa-bar {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    min-height: 54px;
    padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--carvao); color: var(--branco); text-decoration: none; font-weight: 600; font-size: .92rem;
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .wa-bar.is-visible { transform: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slides img.is-active { animation: none; }
}
