/* =========================================================
   NUBE LAB CRIATIVO — estilos globais
   Layout: mobile first; seções escuras e claras alternadas,
   faixa de 16px nas laterais, tipografia display em caixa baixa.
   Cores aproximadas até a chegada do manual da marca.
   ========================================================= */

:root {
  /* cor (manual de marca Nube, 2026) */
  --roxo: #4e24f1;             /* índigo vívido */
  --roxo-deep: #3517b8;
  --limao: #d2d641;            /* amarelo apagado */
  --lilas: #e698fd;            /* lilás pastel */
  --laranja: #ff5b00;          /* laranja */
  --azure: #00abfc;            /* azure vívido */
  --ink: #1a1a1a;              /* cinza-escuro */
  --ink-2: #262626;
  --ink-line: rgba(242, 242, 242, .14);
  --paper: #f2f2f2;            /* cinza-claro */
  --paper-2: #e6e6e6;
  --paper-line: rgba(26, 26, 26, .12);
  --on-dark: #f2f2f2;
  --on-dark-muted: #ababab;
  --on-light: #1a1a1a;
  --on-light-muted: #5e5e5e;

  /* caixa dos títulos: uppercase (teste) ou lowercase (como era) */
  --title-case: lowercase;

  /* tipo */
  /* títulos: Sugo (Dosis só como reserva enquanto a fonte carrega) · textos: Montserrat */
  --f-display: "Sugo", "Dosis", "Arial Narrow", sans-serif;
  --f-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --t-xs: .75rem;
  --t-sm: .875rem;
  --t-md: 1rem;
  --t-lg: clamp(1.125rem, 1rem + .5vw, 1.3rem);
  --t-xl: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --t-2xl: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  --t-3xl: clamp(2.4rem, 1rem + 6vw, 6.5rem);
  --t-num: clamp(4.5rem, 2rem + 11vw, 12rem);

  /* espaço */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 152px);
  --radius: 22px;
  --max: 1320px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  color-scheme: light;
}

/* Sugo (títulos). Arquivo da pasta "Identidade Visual" do Drive.
   Atenção: a licença que acompanha a fonte é de uso pessoal; regularizar a licença web (zerofonts.com). */
@font-face {
  font-family: "Sugo";
  src: url("../fonts/sugo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.55;
  background: var(--ink);
  color: var(--on-dark);
  -webkit-font-smoothing: antialiased;
}
/* "clip" corta o que vaza pro lado sem quebrar position: sticky */
html, body { overflow-x: clip; }
main > section, main > div, .footer { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--limao); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--limao); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- tipografia ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: var(--title-case);
  letter-spacing: .005em;
  line-height: .95;
  font-synthesis: none;
  margin: 0;
  text-wrap: balance;
}
h3 { font-size: var(--t-xl); letter-spacing: .005em; line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }
.eyebrow {
  font-family: var(--f-mono); font-weight: 600;
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.lead { font-size: var(--t-lg); max-width: 56ch; }
.muted { color: var(--on-dark-muted); }
.is-light .muted { color: var(--on-light-muted); }

/* ---------- estrutura ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.is-dark { background: var(--ink); color: var(--on-dark); }
.is-light { background: var(--paper); color: var(--on-light); }
.is-lilas { background: var(--lilas); color: var(--on-light); }
.is-roxo { background: var(--roxo); color: var(--on-dark); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: var(--t-2xl); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--limao); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transform: translate(var(--bx, 0px), calc(var(--by, 0px) + var(--lift, 0px)));
  transition: transform .4s var(--ease-out), background .3s, color .3s;
  position: relative; isolation: isolate; overflow: hidden;
  white-space: nowrap;
}
.btn:hover { --lift: -2px; }
.btn:active { --lift: 0px; transform: translate(var(--bx, 0px), var(--by, 0px)) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { --bg: var(--on-dark); --fg: var(--ink); }
.is-light .btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--ink { --bg: var(--ink); --fg: var(--limao); }
.btn--big { min-height: 64px; padding: 0 34px; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- mascote ---------- */
.nube { overflow: visible; }
.nube-body { fill: var(--nube-fill, #fff); }
.nube-shade { fill: var(--nube-shade, rgba(78, 36, 241, .12)); }
.nube-cheeks { fill: var(--nube-cheek, transparent); opacity: .75; }
.nube-eyes { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .25s var(--ease-out); }
.nube-eye { transform-box: fill-box; transform-origin: center; fill: var(--nube-eye, #1a1a1a); transition: transform .12s; }
.nube.blink .nube-eye { transform: scaleY(.08); }
.nube-mouth, .nube-happy { fill: none; stroke: var(--nube-eye, #1a1a1a); stroke-width: 8; stroke-linecap: round; }
.nube-mouth { opacity: 0; transition: opacity .2s; }
.nube-happy { opacity: 0; }
.nube.is-happy .nube-mouth { opacity: 1; }
.nube.is-joy .nube-eye { opacity: 0; }
.nube.is-joy .nube-happy, .nube.is-joy .nube-mouth { opacity: 1; }
.nube.is-sad .nube-mouth { opacity: 1; transform: translateY(6px) scaleY(-1); transform-box: fill-box; transform-origin: center; }

/* títulos palavra por palavra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .25em 0 .1em; margin: -.25em 0 -.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms); }
.split.is-in .w > span { transform: none; }

/* barra de progresso da página no header */
.header::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--limao); transform-origin: left; transform: scaleX(var(--sp, 0)); opacity: .9; }

/* céu: nuvens de fundo que derivam e respondem ao scroll */
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sky > span { position: absolute; left: var(--x); top: var(--y); width: var(--s); translate: 0 calc(var(--sy, 0) * var(--d, .2) * -1px); animation: skyDrift var(--t, 40s) ease-in-out infinite alternate; }
.sky .nube { --nube-fill: var(--sky-fill, var(--lilas)); opacity: var(--sky-op, .07); }
@keyframes skyDrift { to { transform: translateX(var(--dx, 60px)); } }
.nube.is-plain .nube-eyes, .nube.is-plain .nube-cheeks, .nube.is-plain .nube-mouth, .nube.is-plain .nube-shade { display: none; }
.is-light .sky { --sky-fill: var(--roxo); --sky-op: .06; }
.is-roxo .sky { --sky-fill: #fff; --sky-op: .12; }
.section > .wrap { position: relative; z-index: 1; }

/* borda de nuvem entre seções: os gomos deslizam com o scroll */
.cloud-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -52px; height: 54px; z-index: 2; pointer-events: none;
  background:
    /* gomos grandes, espaçados: dão o desenho irregular da nuvem */
    radial-gradient(circle 50px at 50% 100%, var(--edge) 99%, transparent 100%) calc(var(--drift, 0) * 1px) 100% / 170px 54px repeat-x,
    /* gomos pequenos, encostados: fecham a borda sem vãos */
    radial-gradient(circle 30px at 50% 100%, var(--edge) 99%, transparent 100%) calc(var(--drift, 0) * -.6px + 23px) 100% / 52px 32px repeat-x,
    /* base sólida colada na seção */
    linear-gradient(var(--edge), var(--edge)) 0 100% / 100% 12px no-repeat;
}
.is-light.cloud-top { --edge: var(--paper); }
.is-lilas.cloud-top { --edge: var(--lilas); }
.is-roxo.cloud-top { --edge: var(--roxo); }
.is-dark.cloud-top, .footer.cloud-top { --edge: var(--ink); }
.footer { position: relative; }

/* ---------- cursor (só desktop com mouse) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 300;
    width: 46px; height: 34px;
    pointer-events: none;
    translate: -50% -50%;
    transition: width .35s var(--ease-out), height .35s var(--ease-out), opacity .2s;
  }
  .cursor .nube { width: 100%; --nube-fill: var(--limao); }
  .cursor span {
    position: absolute; top: 50%; left: 50%; translate: -50% -10%;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink); opacity: 0; transition: opacity .2s; white-space: nowrap;
  }
  .cursor.is-label { width: 112px; height: 82px; }
  .cursor.is-label .nube-eyes { opacity: 0; }
  .cursor.is-label span { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- header ---------- */
.header {
  position: fixed; z-index: 90;
  top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(26, 26, 26, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--on-dark);
  transition: transform .5s var(--ease-out);
}
.header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; letter-spacing: .005em; font-size: 1.15rem; }
.logo .nube { width: auto; height: 26px; --nube-fill: var(--lilas); --nube-eye: var(--ink); }
.logo .logo-type { fill: currentColor; }
@media (min-width: 900px) { .logo .nube { height: 30px; } }
.logo small { display: none; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.nav { display: none; }
.nav a { text-decoration: none; font-size: var(--t-sm); padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(255, 255, 255, .1); }
.header-cta { display: flex; gap: 8px; align-items: center; }
.header .btn { min-height: 44px; padding: 0 18px; font-size: var(--t-sm); }
.header .btn span { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.menu-btn i { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .3s var(--ease-out); }
.menu-btn i::before { transform: translateY(-6px); }
.menu-btn i::after { transform: translateY(6px); }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: rotate(45deg); }
.menu-open .menu-btn i::after { transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 85;
  background: var(--roxo); color: var(--on-dark);
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: circle(0 at calc(100% - 40px) 40px);
  transition: clip-path .6s var(--ease-io);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 10vw, 3rem); letter-spacing: .005em; text-decoration: none; text-transform: var(--title-case); }
@media (min-width: 900px) {
  .header { left: 24px; right: 24px; top: calc(18px + env(safe-area-inset-top, 0px)); }
  .nav { display: flex; gap: 2px; }
  .header .btn span { display: inline; }
  .menu-btn, .mobile-menu { display: none; }
}


/* =========================================================
   CAMADA DE MOVIMENTO (inspirada na linguagem da Foudre)
   Sem JS/GSAP tudo fica legível em fluxo normal.
   Com .has-motion o motion.js monta as cenas fixadas.
   ========================================================= */

/* ---------- abertura: manifesto + parede de nuvens ---------- */
.intro {
  position: fixed; inset: 0; z-index: 150;
  background: var(--roxo); color: var(--on-dark);
  display: grid; place-items: center; overflow: hidden; cursor: pointer;
}
html:not(.has-motion) .intro { display: none; }
.intro-text { display: grid; justify-items: center; gap: .05em; text-align: center; padding-inline: var(--gutter); position: relative; z-index: 2; }
.intro-line { margin: -.25em 0 0; padding-top: .25em; overflow: hidden; font-family: var(--f-display); font-weight: 900; text-transform: var(--title-case); letter-spacing: .005em; line-height: .95; font-size: clamp(2.2rem, 11vw, 8.5rem); padding-bottom: .06em; white-space: nowrap; }
.intro-text { margin-top: -10svh; }
.intro-line span { display: inline-block; }
.intro-line--hi { color: var(--limao); }
.intro-nube { position: absolute; left: 50%; bottom: 7%; width: clamp(90px, 16vw, 170px); translate: -50% 0; z-index: 2; }
/* paredes de nuvem: faixa sólida com gomos em cima e embaixo; duas camadas para dar profundidade */
.intro-walls { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.intro-wall { position: absolute; left: -12vw; right: -12vw; top: 100%; height: 150svh; will-change: transform; backface-visibility: hidden; }
.intro-wall--back { background: var(--lilas); --puff: var(--lilas); }
.intro-wall--front { background: var(--paper); --puff: var(--paper); }
.puff { position: absolute; top: 0; left: var(--px); width: var(--ps); aspect-ratio: 1; border-radius: 50%; background: var(--puff); transform: translate(-50%, -50%); }
.puff--b { top: auto; bottom: 0; transform: translate(-50%, 50%); }
/* estado inicial (o motion.js anima a partir daqui; sem piscar na fonte provisória) */
html.has-motion .intro-line span { transform: translateY(115%) rotate(3deg); transform-origin: 0% 100%; animation: introLine .75s cubic-bezier(.23, 1, .32, 1) forwards; }
html.has-motion .intro-line:nth-child(2) span { animation-delay: .09s; }
@keyframes introLine { to { transform: none; } }
/* celular: a frase sobe no mesmo ritmo mais curto da abertura */
@media (max-width: 899px) {
  html.has-motion .intro-line span { animation-duration: .47s; }
  html.has-motion .intro-line:nth-child(2) span { animation-delay: .06s; }
}
html.has-motion .intro-nube .nube { transform: scale(0); }
.intro-skip { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .55; z-index: 2; }

/* ---------- 01 hero: palavra gigante + leque de cards ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  background: var(--roxo); color: var(--on-dark);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
.hero-word {
  /* centralizado por margem automática (não usa translate, que o GSAP sobrescreve ao animar) */
  position: absolute; left: 0; right: 0; top: calc(74px + env(safe-area-inset-top, 0px)); margin: 0 auto;
  width: min(94vw, 62svh * 2.83); height: auto; fill: var(--ink); user-select: none; z-index: 0;
}
.hero-stack {
  --cw: min(44vw, 210px, 30svh);
  position: relative; z-index: 1; align-self: center; justify-self: center;
  width: var(--cw); aspect-ratio: 9 / 16; margin-top: 4svh;
}
.hcard { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; background: var(--ink-2); box-shadow: 0 30px 60px rgba(26, 26, 26, .35); }
.hcard--l { transform: translateX(-62%) rotate(-9deg) scale(.86); background: radial-gradient(80% 60% at 30% 25%, var(--limao), transparent 70%), var(--roxo-deep); }
.hcard--r { transform: translateX(62%) rotate(9deg) scale(.86); background: radial-gradient(80% 60% at 70% 30%, var(--lilas), transparent 70%), var(--ink-2); }
.hcard-label { position: absolute; left: 14px; bottom: 14px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); opacity: .8; }
.hcard--c { z-index: 2; inset: auto; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); } /* já nasce no mesmo estado que o JS aplica: sem deslocamento de layout */
.hero-poster, .hcard--c video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { background: radial-gradient(70% 45% at 50% 30%, rgba(78, 36, 241, .95), transparent 70%), radial-gradient(60% 40% at 30% 85%, rgba(210, 214, 65, .45), transparent 70%), var(--ink-2); }
.hero-poster::after { content: "showreel"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .45; }
.hcard--c video { opacity: 0; transition: opacity .8s; }
.hcard--c video.is-ready { opacity: 1; }
.hcard--c .sound-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2; }
.hero-copy { position: relative; z-index: 3; display: grid; gap: 18px; padding-block: 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
.hero-title { display: grid; gap: 12px; }
.hero h1 { font-size: clamp(1.8rem, min(1rem + 4.6vw, 7svh), 5rem); max-width: 12ch; text-shadow: 0 4px 30px rgba(26, 26, 26, .35); }
.hero h1 .line { display: block; overflow: hidden; padding: .25em 0 .06em; margin-top: -.25em; white-space: nowrap; } /* folga p/ acentos das maiúsculas */
.hero h1 { max-width: none; } /* cada linha do título fica inteira (ex.: "agência criativa" numa linha só) */
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: normal; color: var(--limao); }
.hero-side { display: grid; gap: 16px; }
.hero-side .lead { display: none; }
.sound-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; background: rgba(26, 26, 26, .55); color: var(--on-dark); backdrop-filter: blur(8px);
}
.sound-btn .bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.sound-btn .bars i { width: 2px; height: 3px; background: currentColor; }
.sound-btn[aria-pressed="true"] .bars i { animation: bars .9s ease-in-out infinite; }
.sound-btn[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.3s; }
.sound-btn[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes bars { 0%, 100% { height: 3px; } 50% { height: 11px; } }
@media (min-width: 640px) { .hero-side .lead { display: block; max-width: 40ch; } }
@media (min-width: 900px) {
  .hero-stack { --cw: min(21vw, 300px, 34svh); margin-top: 2svh; }
  .hero-copy { grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .hero-side { justify-items: end; text-align: right; }
  .hero-word { top: calc(78px + env(safe-area-inset-top, 0px)); width: min(80vw, 46svh * 2.83); }
}

/* ---------- figurinhas (stickers) ---------- */
.sticker {
  position: absolute; left: var(--sl, 50%); top: var(--st, 50%); z-index: 4;
  transform: translate(-50%, -50%) rotate(var(--sr, 0deg));
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 14px; border-radius: 14px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: clamp(.75rem, .7rem + .25vw, .95rem);
  box-shadow: 0 12px 30px rgba(26, 26, 26, .22);
  pointer-events: none;
}
.sticker--lime { background: var(--limao); }
.sticker--lilas { background: var(--lilas); }
.hero .sticker--a { --sl: -14%; --st: 10%; }
.hero .sticker--b { --sl: 108%; --st: 44%; }
.hero .sticker--c { --sl: -8%; --st: 88%; }
@media (min-width: 900px) {
  .hero .sticker--a { --sl: -34%; --st: 14%; }
  .hero .sticker--b { --sl: 132%; --st: 42%; }
  .hero .sticker--c { --sl: -22%; --st: 84%; }
}
.sticker--inline { position: relative; left: auto; top: auto; justify-self: start; transform: rotate(var(--sr)); }
@media (max-width: 639px) { .hero .sticker { font-size: .7rem; padding: 7px 10px; } }
@media (max-width: 639px) {
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn--big { min-height: 54px; padding: 0 16px; font-size: .95rem; }
  .hero .btn--big svg { width: 18px; height: 18px; }
}

/* ---------- 03 sobre: história com card fixo ---------- */
.story { position: relative; background: var(--paper); color: var(--on-light); }
.story-stage { position: relative; display: grid; gap: 32px; padding: var(--section) var(--gutter); max-width: var(--max); margin-inline: auto; }
.story-title { font-size: var(--t-2xl); }
.story-line { display: block; }
.story-line--b { color: var(--roxo); }
.story-card { position: relative; width: min(70vw, 340px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(26, 26, 26, .25); }
.frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; }
.frame-label { position: absolute; top: 16px; left: 18px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.frame--1 { background: radial-gradient(70% 50% at 50% 35%, rgba(230, 152, 253, .9), transparent 70%), var(--roxo); color: var(--on-dark); }
.frame-nube { width: 62%; }
.frame--2 { background: var(--ink); color: var(--on-dark); }
.frame--2 .frame-ico { width: 34%; color: var(--limao); }
.rec { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--limao); animation: blinkRec 1s steps(2) infinite; }
@keyframes blinkRec { 50% { opacity: 0; } }
.timecode { position: absolute; bottom: 16px; left: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.frame--3 { background: var(--lilas); color: var(--ink); align-content: center; gap: 18px; }
.frame-target { width: 58%; fill: none; stroke: var(--ink); stroke-width: 3; }
.frame-target .dot { fill: var(--roxo); stroke: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chips b { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--limao); }
.frame--4 { background: var(--paper); color: var(--ink); align-content: center; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; width: 100%; margin-top: 18px; }
.cal i { font-style: normal; aspect-ratio: 1; border-radius: 7px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--paper-2); color: var(--on-light-muted); font-variant-numeric: tabular-nums; }
.cal i.ok { background: var(--limao); color: var(--ink); }
.story-intro { display: grid; gap: 14px; max-width: 46ch; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.story-step { display: grid; gap: 8px; border-top: 1px solid var(--paper-line); padding-top: 18px; }
.story-step h3 { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); }
.story-step p { color: var(--on-light-muted); max-width: 42ch; }
.story-step .step-n { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--roxo); }
.story-sticker { position: relative; left: auto; top: auto; justify-self: start; }

/* versão fixada (só desktop, com motion.js) */
@media (min-width: 900px) {
  html.has-pin .story-stage { display: block; height: 100svh; padding: 0; max-width: none; overflow: hidden; }
  html.has-pin .story-card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(26vw, 380px); z-index: 2; }
  html.has-pin .story-title { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.6rem); }
  html.has-pin .story-line { position: absolute; top: 50%; translate: 0 -50%; max-width: calc(50% - min(13vw, 190px) - 48px); }
  html.has-pin .story-line--a { left: var(--gutter); text-align: right; }
  html.has-pin .story-line--b { right: var(--gutter); text-align: left; }
  html.has-pin .story-intro { position: absolute; left: var(--gutter); bottom: 10svh; width: calc(50% - min(13vw, 190px) - 72px); z-index: 3; }
  html.has-pin .story-step { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; width: calc(50% - min(13vw, 190px) - 72px); border: 0; padding: 0; z-index: 3; }
  html.has-pin .story-sticker { position: absolute; left: calc(50% + min(12vw, 170px)); top: calc(50% - min(17vw, 240px)); transform: translate(-50%, -50%) rotate(var(--sr)); z-index: 4; }
}
/* ---------- cenas do celular: invólucro alto + palco sticky ---------- */
@media (max-width: 899px) {
  html.has-scene .scene--hero { height: 200svh; }
  html.has-scene .scene--hero > .hero { position: sticky; top: 0; height: 100lvh; min-height: 0; }
  html.has-scene .scene--hero .hero-copy { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh); }
  html.has-scene .scene--story { height: 480svh; }
  html.has-scene .scene--story > .story { position: sticky; top: 0; height: 100lvh; overflow: hidden; }
  html.has-scene .story-stage { display: block; height: 100lvh; padding: 0; max-width: none; overflow: hidden; }
  html.has-scene .story-card { position: absolute; left: 50%; top: 44svh; translate: -50% -50%; width: min(54vw, 240px, 26svh); z-index: 2; will-change: transform; box-shadow: 0 16px 36px rgba(26, 26, 26, .22); }
  html.has-scene .story-line, html.has-scene .story-intro, html.has-scene .story-step { will-change: transform, opacity; }
  html.has-scene .frame { will-change: clip-path; }
  html.has-scene .story-title { position: absolute; inset: 0; z-index: 3; pointer-events: none; font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  html.has-scene .story-line { position: absolute; left: var(--gutter); right: var(--gutter); text-align: center; }
  html.has-scene .story-line--a { top: calc(84px + env(safe-area-inset-top, 0px)); }
  html.has-scene .story-line--b { bottom: calc(92px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh); }
  html.has-scene .story-intro, html.has-scene .story-step { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(92px + env(safe-area-inset-bottom, 0px) + 100lvh - 100svh); z-index: 3; border: 0; padding: 0; }
  html.has-scene .story-intro .muted { display: none; }
  html.has-scene .story-step h3 { font-size: 1.3rem; }
  html.has-scene .story-step p, html.has-scene .story-intro .lead { font-size: var(--t-sm); }
  html.has-scene .story-sticker { position: absolute; left: 72%; top: 25svh; transform: translate(-50%, -50%) rotate(var(--sr)); z-index: 4; }
  html.has-scene .scene--manifesto { height: 240svh; }
  html.has-scene .scene--manifesto > .manifesto { position: sticky; top: 0; height: 100lvh; }
  html.has-scene .manifesto-stage { height: 100svh; min-height: 0; padding-block: 0; }
}
/* celular sem animação: história em fluxo normal, card centralizado */
@media (max-width: 899px) {
  .story-stage { justify-items: start; }
  .story-card { justify-self: center; width: min(78vw, 320px); }
  .story-sticker { justify-self: center; }
}

/* ---------- manifesto ---------- */
.manifesto { position: relative; background: var(--roxo); color: var(--on-dark); }
.manifesto-stage { position: relative; display: grid; place-content: center; gap: 28px; text-align: center; padding: var(--section) var(--gutter); min-height: 80svh; overflow: hidden; }
.manifesto-text { margin: 0 auto; max-width: 16ch; font-family: var(--f-display); font-weight: 900; text-transform: var(--title-case); letter-spacing: .005em; line-height: .98; font-size: clamp(2.4rem, 1rem + 6.4vw, 7.4rem); position: relative; z-index: 1; text-wrap: balance; }
.manifesto-sub { margin: 0 auto; max-width: 36ch; font-size: var(--t-lg); color: var(--limao); font-weight: 700; position: relative; z-index: 1; }
.manifesto-nube { position: absolute; left: 50%; top: 50%; width: clamp(220px, 46vw, 680px); translate: -50% -50%; z-index: 2; opacity: 0; pointer-events: none; }
@media (min-width: 900px) { html.has-pin .manifesto-stage { height: 100svh; min-height: 0; padding-block: 0; } }
html.has-motion .manifesto-nube { opacity: 1; }

/* ---------- serviços: baralho no desktop ---------- */
@media (min-width: 900px) {
  html.has-pin .services { padding-block: calc(96px + env(safe-area-inset-top, 0px)) 40px; height: 100svh; }
  html.has-pin .services .section-head { margin-bottom: 28px; grid-template-columns: 1fr auto; align-items: end; }
  html.has-pin .services .services-grid { display: block; position: relative; height: calc(100svh - 330px); min-height: 380px; }
  html.has-pin .services .svc { position: absolute; inset: 0; min-height: 0; transform-origin: 50% 100%; }
  html.has-pin .services .svc:not(.svc--star) { display: grid; grid-template-columns: 1.2fr 1fr; align-content: stretch; }
  html.has-pin .services .svc:not(.svc--star) .svc-top { grid-column: 1 / -1; }
  html.has-pin .services .svc h3 { font-size: clamp(3rem, 1rem + 5vw, 6rem); }
  .deck-count { font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: .14em; color: var(--limao); font-variant-numeric: tabular-nums; }
}
.deck-count { display: none; }
@media (min-width: 900px) { html.has-pin .deck-count { display: block; } }

/* SplitText: caracteres com máscara */
.st-mask { overflow: hidden; display: inline-block; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* chamada final: figurinhas em volta da nuvem */
.final-stage { position: relative; }
.final-sticker--a { --sl: 4%; --st: 8%; }
.final-sticker--b { --sl: 96%; --st: 86%; }

/* ---------- 02 faixa ---------- */
.marquee { background: var(--limao); color: var(--ink); overflow: hidden; padding-block: 18px; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem); letter-spacing: .005em; text-transform: var(--title-case); white-space: nowrap; }
.marquee-item .nube { width: 1.4em; --nube-fill: var(--ink); --nube-eye: var(--limao); --nube-cheek: transparent; }
.marquee--adj { background: var(--ink); color: var(--lilas); border-color: var(--ink); }
.marquee--adj .marquee-item { font-size: var(--t-lg); font-family: var(--f-mono); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.marquee--adj .marquee-item .nube { width: 1.6em; --nube-fill: var(--lilas); --nube-eye: var(--ink); }

/* ---------- 03 sobre ---------- */
.about-grid { display: grid; gap: 40px; }
.about-statement { font-size: var(--t-2xl); max-width: 16ch; }
.about-statement mark { background: none; color: var(--roxo); }
.about-copy { display: grid; gap: 20px; align-content: start; }
.diffs { list-style: none; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; display: grid; gap: 1px; background: var(--paper-line); border-block: 1px solid var(--paper-line); }
.diff { background: var(--paper); padding: 28px 0; display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; align-items: start; }
.diff-icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--roxo); display: grid; place-items: center; color: var(--limao); }
.diff-icon svg { width: 26px; height: 26px; }
.diff h3 { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); }
.diff p { color: var(--on-light-muted); max-width: 46ch; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .diffs { grid-template-columns: repeat(3, 1fr); background: none; border: 0; gap: 32px; }
  .diff { grid-template-columns: 1fr; padding: 28px 0 0; border-top: 1px solid var(--paper-line); }
  .diff-icon { grid-row: auto; margin-bottom: 18px; }
}

/* ---------- 04 logos ---------- */
.logos { padding-block: 24px var(--section); position: relative; }
.logos-title { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 24px; }
.logos-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--paper-line); border: 1px solid var(--paper-line); border-radius: var(--radius); overflow: hidden; }
.logos-grid li { background: var(--paper); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18px; }
.logo-slot { font-family: var(--f-display); font-weight: 700; font-size: clamp(.9rem, .8rem + .6vw, 1.2rem); letter-spacing: .005em; color: var(--on-light); opacity: .38; text-transform: var(--title-case); transition: opacity .3s; text-align: center; }
.logos-grid li:hover .logo-slot { opacity: 1; }
.logos-sectors { margin-top: 18px; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-muted); }
@media (min-width: 700px) { .logos-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 05 serviços ---------- */
.services-grid { display: grid; gap: 14px; }
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .services-grid .svc { position: sticky; top: calc(84px + var(--k, 0) * 14px); box-shadow: 0 -10px 30px rgba(26, 26, 26, .35); }
}
.svc {
  --c-bg: var(--roxo); --c-fg: var(--on-dark); --c-accent: var(--limao);
  position: relative; isolation: isolate;
  display: grid; align-content: space-between; gap: 40px;
  min-height: 360px; padding: 26px;
  border-radius: var(--radius);
  background: var(--c-bg); color: var(--c-fg);
  text-decoration: none; overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out);
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.svc:hover::before { opacity: 1; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: var(--shade, 0); pointer-events: none; border-radius: inherit; }
.svc--limao { --c-bg: var(--limao); --c-fg: var(--ink); --c-accent: var(--roxo); }
.svc--lilas { --c-bg: var(--lilas); --c-fg: var(--ink); --c-accent: var(--roxo); }
.svc--paper { --c-bg: var(--paper); --c-fg: var(--ink); --c-accent: var(--roxo); }
.svc--azure { --c-bg: var(--azure); --c-fg: var(--ink); --c-accent: var(--paper); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.svc-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; }
.svc .nube { width: 64px; flex: none; --nube-fill: var(--c-fg); --nube-eye: var(--c-bg); --nube-cheek: transparent; transition: transform .5s var(--ease-out); }
.svc:hover .nube { transform: translateY(-4px) rotate(-6deg); }
.svc h3 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); letter-spacing: .005em; line-height: .95; }
.svc p { max-width: 38ch; opacity: .86; }
.svc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-list li { font-size: var(--t-xs); padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c-fg) 10%, transparent); }
.svc-go { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.svc-go i { width: 40px; height: 40px; border-radius: 50%; background: var(--c-fg); color: var(--c-bg); display: grid; place-items: center; font-style: normal; transition: transform .4s var(--ease-out); }
.svc:hover .svc-go i { transform: rotate(-45deg); }
.svc-body { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .svc { grid-column: span 3; min-height: 440px; padding: 34px; }
  .svc--star { grid-column: span 6; min-height: 420px; grid-template-columns: 1.2fr 1fr; align-content: stretch; }
  .svc--star .svc-top { grid-column: 1 / -1; }
  .svc--star h3 { font-size: clamp(3rem, 1rem + 5vw, 6rem); }
  .svc:not(.svc--star) { grid-column: span 2; }
}

/* ---------- 06 números ---------- */
.numbers-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.num { display: grid; grid-template-columns: 1fr; padding-block: 22px; border-bottom: 1px solid var(--paper-line); }
.num-value { font-family: var(--f-display); font-weight: 900; font-size: var(--t-num); line-height: .9; letter-spacing: .005em; color: var(--laranja); font-variant-numeric: tabular-nums; }
.num-label { font-family: var(--f-display); font-weight: 700; font-size: var(--t-xl); letter-spacing: .005em; text-transform: var(--title-case); }
.num-note { color: var(--on-light-muted); font-size: var(--t-sm); margin-top: 6px; max-width: 34ch; }
@media (min-width: 900px) {
  .num { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 32px; }
}

/* ---------- 07 processo ---------- */
.process { display: grid; gap: 48px; }
.process-steps { position: relative; padding-left: 56px; }
.process-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 9vh, 96px); }
.process-line { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--ink-line); }
.process-line i { position: absolute; inset: 0; background: var(--limao); transform-origin: 50% 0; transform: scaleY(0); will-change: transform; }
.process-nube { position: absolute; left: 0; top: 0; width: 44px; z-index: 1; will-change: transform; --nube-fill: var(--limao); --nube-cheek: transparent; }
.process-nube .nube { display: block; }
.step { position: relative; display: grid; gap: 10px; opacity: .4; transition: opacity .4s; }
.step.is-on { opacity: 1; }
.step-n { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; color: var(--limao); }
.step h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); }
.step p { color: var(--on-dark-muted); max-width: 44ch; }
@media (min-width: 900px) {
  .process { grid-template-columns: 1fr 1.2fr; gap: 80px; }
  .process .section-head { position: sticky; top: 140px; align-self: start; }
}

/* ---------- 08 feito no lab ---------- */
.reels-wrap { position: relative; }
.reels {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  --tone: var(--roxo);
  flex: 0 0 min(64vw, 280px);
  scroll-snap-align: center;
  aspect-ratio: 9 / 16;
  border-radius: 18px; overflow: hidden; position: relative;
  background: var(--ink);
  color: var(--on-dark);
}
.reel-poster {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 30% 20%, color-mix(in srgb, var(--tone) 80%, transparent), transparent 70%),
    radial-gradient(60% 40% at 80% 80%, color-mix(in srgb, var(--tone) 50%, transparent), transparent 70%),
    var(--ink-2);
  background-size: cover; background-position: center;
}
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; text-align: left;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, .8));
}
.reel-play .play-ico { align-self: center; margin-top: auto; margin-bottom: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--limao); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.reel:hover .play-ico { transform: scale(1.08); }
.reel-meta { display: grid; gap: 2px; }
.reel-meta strong { font-family: var(--f-display); font-weight: 700; letter-spacing: .005em; text-transform: var(--title-case); font-size: 1.05rem; }
.reel-meta span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.reel.is-playing .reel-play { opacity: 0; pointer-events: none; }
.reel-ui { position: absolute; left: 12px; right: 12px; bottom: 12px; display: none; align-items: center; gap: 10px; }
.reel.is-loaded .reel-ui { display: flex; }
.reel-ui button { width: 36px; height: 36px; border-radius: 50%; background: rgba(26, 26, 26, .6); backdrop-filter: blur(6px); display: grid; place-items: center; flex: none; }
.reel-ui button svg { width: 16px; height: 16px; }
.reel-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: calc(var(--t, 0) * 100%); background: var(--limao); }
.reel-msg { position: absolute; inset: auto 12px 60px; font-size: var(--t-xs); background: rgba(26, 26, 26, .8); padding: 8px 10px; border-radius: 10px; }
.reels-progress { margin-top: 24px; height: 2px; background: var(--paper-line); position: relative; }
.reels-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: var(--roxo); }
/* galeria guiada pelo scroll vertical (celular e desktop) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reels-pin { height: var(--pin-h, 220svh); }
  html.js .reels-sticky { position: sticky; top: 0; height: 100lvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  html.js .reels-sticky .reels { overflow: visible; scroll-snap-type: none; width: max-content; margin: 0; transform: translateX(var(--x, 0px)); }
  html.js .reels-sticky .section-head h2 { font-size: clamp(1.7rem, 1rem + 3vw, 4rem); }
}
@media (min-width: 900px) { .reel { flex-basis: 300px; } }
@media (max-width: 899px) { html.js .reel { flex-basis: min(56vw, 240px, 30svh); } }

/* ---------- 09 cases ---------- */
.cases-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-line); }
.case-row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--ink-line);
  position: relative;
}
.case-row .case-n { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--on-dark-muted); }
.case-row h3 { font-size: clamp(2rem, 1.2rem + 4vw, 5rem); letter-spacing: .005em; transition: color .3s, transform .5s var(--ease-out); }
.case-row:hover h3 { color: var(--limao); transform: translateX(8px); }
.case-tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink-line); }
.case-kpis { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 10px; }
.case-kpis > span { display: grid; }
.case-kpis strong { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: .005em; color: var(--limao); font-variant-numeric: tabular-nums; }
.case-kpis span { font-size: var(--t-sm); color: var(--on-dark-muted); }
.case-open { grid-column: 2; margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--limao); }
@media (min-width: 900px) {
  .case-row { grid-template-columns: 80px 1.3fr 1fr auto; align-items: center; padding: 40px 0; }
  .case-tags, .case-kpis, .case-open { grid-column: auto; margin: 0; }
  .case-row .case-n { grid-column: 1; grid-row: 1 / span 2; }
  .case-tags { grid-column: 2; grid-row: 2; }
  .case-row h3 { grid-column: 2; grid-row: 1; min-width: 0; }
  .case-kpis { grid-column: 3; grid-row: 1 / span 2; }
  .case-open { grid-column: 4; grid-row: 1 / span 2; }
}
/* página do case (transição a partir da linha) */
.case-panel {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink); color: var(--on-dark);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  clip-path: inset(var(--ct, 50%) 0 var(--cb, 50%) 0);
  transition: clip-path .7s var(--ease-io);
  visibility: hidden;
}
.case-panel.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.case-panel-inner { padding-block: calc(100px + env(safe-area-inset-top, 0px)) 80px; display: grid; gap: 40px; }
.case-close { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: var(--limao); color: var(--ink); display: grid; place-items: center; font-size: 22px; }
.case-hero h2 { font-size: var(--t-3xl); }
.case-big { display: grid; gap: 14px; }
.case-big div { border-top: 1px solid var(--ink-line); padding-top: 18px; }
.case-big strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(3rem, 1rem + 8vw, 8rem); line-height: .9; letter-spacing: .005em; color: var(--laranja); font-variant-numeric: tabular-nums; }
.case-blocks { display: grid; gap: 28px; }
.case-blocks h3 { font-size: var(--t-lg); margin-bottom: 8px; color: var(--limao); }
.case-blocks p { color: var(--on-dark-muted); max-width: 60ch; }
.placeholder { border: 1px dashed var(--on-dark-muted); border-radius: 12px; padding: 12px 14px; font-size: var(--t-sm); }
.is-light .placeholder { border-color: var(--on-light-muted); }
@media (min-width: 900px) { .case-blocks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .case-big { grid-template-columns: 1fr 1fr; gap: 32px; } .case-big strong { font-size: clamp(5rem, 1rem + 6vw, 8.5rem); } }

/* ---------- 10 depoimentos ---------- */
.testis { position: relative; }
.testi-track { display: flex; transition: transform .7s var(--ease-out); touch-action: pan-y; }
.testi { flex: 0 0 100%; margin: 0; padding-right: 24px; display: grid; gap: 28px; min-width: 0; } /* <figure> vem com margem de 40px do navegador */
.testi blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: .005em; text-transform: var(--title-case); max-width: 22ch; }
.testi blockquote::before { content: "“"; display: block; color: var(--roxo); font-size: 2em; line-height: .6; margin-bottom: .1em; }
.testi figcaption { display: flex; align-items: center; gap: 14px; }
.testi figcaption .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--roxo); flex: none; }
.testi figcaption strong { display: block; }
.testi figcaption span { font-size: var(--t-sm); color: var(--on-light-muted); }
.draft-tag { display: inline-block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--limao); padding: 4px 8px; border-radius: 6px; justify-self: start; }
.testi-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; gap: 16px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dots { gap: 2px !important; }
.testi-dots button { position: relative; width: 24px; height: 24px; border-radius: 999px; transition: width .4s var(--ease-out); }
.testi-dots button::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; bottom: 7px; border-radius: 999px; background: rgba(26, 26, 26, .25); transition: background .3s; }
.testi-dots button[aria-current="true"] { width: 48px; }
.testi-dots button[aria-current="true"]::before { background: var(--ink); }
.testi-arrows { display: flex; gap: 8px; }
.testi-arrows button { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.testi-arrows button:hover { background: var(--ink); color: var(--lilas); }

/* ---------- 11 quem faz ---------- */
.team-grid { display: grid; gap: 20px; }
.member { display: grid; gap: 18px; }
.member-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.member-media .poster { position: absolute; inset: 0; background-size: cover; background-position: center; }
.member--gabi .poster { background-image: radial-gradient(70% 60% at 40% 35%, rgba(78, 36, 241, .9), transparent 70%), radial-gradient(50% 40% at 80% 90%, rgba(210, 214, 65, .4), transparent 70%); }
.member--juma .poster { background-image: radial-gradient(70% 60% at 60% 35%, rgba(230, 152, 253, .8), transparent 70%), radial-gradient(50% 40% at 20% 90%, rgba(78, 36, 241, .6), transparent 70%); }
.member-media .poster::after { content: attr(data-label); position: absolute; top: 18px; left: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.member-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--limao); color: var(--ink); font-weight: 700; font-size: var(--t-sm); }
.member-play i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--limao); display: grid; place-items: center; font-style: normal; }
.member.is-playing .member-play { opacity: 0; pointer-events: none; }
.member h3 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); letter-spacing: .005em; }
.member-role { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--limao); }
.member p { color: var(--on-dark-muted); max-width: 40ch; }
@media (min-width: 760px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .member--juma { margin-top: 80px; } }

/* ---------- 12 faq ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--paper-line); }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: var(--t-lg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); position: relative; transition: background .3s, transform .4s var(--ease-out); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; translate: -50% -50%; }
.faq-item summary i::after { rotate: 90deg; transition: rotate .3s; }
.faq-item[open] summary i { background: var(--limao); transform: rotate(180deg); }
.faq-item[open] summary i::after { rotate: 0deg; }
.faq-answer { padding: 0 0 24px; color: var(--on-light-muted); max-width: 62ch; display: grid; gap: 10px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 80px; } .faq-grid .section-head { position: sticky; top: 140px; align-self: start; } }

/* ---------- 13 instagram ---------- */
.insta-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.insta-handle { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 1rem + 4vw, 4.4rem); letter-spacing: .005em; text-decoration: none; text-transform: none; transition: color .3s; overflow-wrap: anywhere; }
.insta-handle:hover { color: var(--roxo); }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.insta-grid a { display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; position: relative; background: var(--paper-2); }
.insta-grid a span { position: absolute; inset: 0; background-size: cover; transition: transform .6s var(--ease-out); }
.insta-grid a:hover span { transform: scale(1.06); }
.insta-grid li:nth-child(1) span { background: linear-gradient(160deg, var(--roxo), var(--roxo-deep)); }
.insta-grid li:nth-child(2) span { background: linear-gradient(160deg, var(--limao), #bfc32f); }
.insta-grid li:nth-child(3) span { background: linear-gradient(160deg, var(--lilas), #c77ae0); }
.insta-grid li:nth-child(4) span { background: linear-gradient(160deg, var(--ink-2), var(--ink)); }
.insta-grid li:nth-child(5) span { background: linear-gradient(160deg, #c77ae0, var(--roxo)); }
.insta-grid li:nth-child(6) span { background: linear-gradient(160deg, var(--paper-2), var(--lilas)); }
@media (min-width: 900px) { .insta-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; } }

/* ---------- 14 chamada final ---------- */
.final { overflow-x: clip; text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 28px; }
.final-nube { width: min(62vw, 300px); cursor: pointer; --nube-fill: #fff; --nube-shade: rgba(53, 23, 184, .14); touch-action: manipulation; transition: transform .5s var(--ease-out); -webkit-tap-highlight-color: transparent; }
.final-nube.squish { animation: squish .5s var(--ease-out); }
@keyframes squish { 30% { transform: scale(1.12, .86); } 60% { transform: scale(.94, 1.08); } }
.final h2 { font-size: min(var(--t-3xl), 12vw); max-width: none; } /* 2 linhas: "bora tirar sua ideia" / "da nuvem?" */
.final h2 em { font-style: normal; color: var(--limao); }
.final p { max-width: 42ch; opacity: .9; }
.idea-pop {
  position: absolute; left: 50%; top: 30%;
  font-family: var(--f-display); font-weight: 800; text-transform: var(--title-case); letter-spacing: .005em;
  font-size: clamp(1rem, .8rem + 1vw, 1.4rem);
  background: var(--limao); color: var(--ink); padding: 6px 14px; border-radius: 999px;
  pointer-events: none; white-space: nowrap;
  animation: pop 1.6s var(--ease-out) forwards;
}
@keyframes pop {
  0% { transform: translate(-50%, 0) scale(.4); opacity: 0; }
  15% { opacity: 1; transform: translate(calc(-50% + var(--dx) * .3), -40px) scale(1); }
  80% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), -170px) scale(1) rotate(var(--rot)); opacity: 0; }
}
.form-toggle { font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 4px; opacity: .85; }
.lead-form { width: 100%; max-width: 560px; text-align: left; display: grid; gap: 12px; background: var(--ink); color: var(--on-dark); padding: 24px; border-radius: var(--radius); }
.lead-form label { display: grid; gap: 6px; font-size: var(--t-sm); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; color: var(--on-dark); background: var(--ink-2);
  border: 1px solid var(--ink-line); border-radius: 12px; padding: 14px; min-height: 50px; width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--limao); outline-offset: 1px; }
.lead-form .row { display: grid; gap: 12px; }
@media (min-width: 600px) { .lead-form .row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: var(--t-xs); color: var(--on-dark-muted); }

/* ---------- 15 rodapé ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-block: 72px calc(120px + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-line); }
.footer-brand { display: grid; gap: 16px; }
.footer-brand .display { font-size: clamp(2.6rem, 1.4rem + 6vw, 7rem); letter-spacing: .005em; }
.footer-brand .nube { width: 72px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer-cols h2, .footer-cols h4 { margin: 0 0 12px; font-family: var(--f-mono); font-weight: 600; font-size: var(--t-xs); line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--limao); }
.footer-legal { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--on-dark-muted); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr; } .footer-cols { grid-template-columns: repeat(3, 1fr); } .footer { padding-bottom: 48px; } }

/* ---------- barra fixa de WhatsApp (mobile) ---------- */
.wa-bar {
  position: fixed; left: 12px; right: 12px; z-index: 80;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(calc(100% + 24px));
  transition: transform .5s var(--ease-out);
}
.wa-bar.is-on { transform: none; }
.wa-bar .btn { width: 100%; box-shadow: 0 10px 30px rgba(26, 26, 26, .35); }
@media (min-width: 900px) {
  .wa-bar { left: auto; right: 24px; bottom: 24px; }
  .wa-bar .btn { width: auto; }
}

/* ---------- easter egg ---------- */
.rain { position: fixed; inset: 0; pointer-events: none; z-index: 140; overflow: hidden; }
.rain .nube { position: absolute; top: -80px; width: var(--s, 60px); animation: fall var(--d, 2.4s) linear forwards; --nube-fill: var(--c, #fff); --nube-cheek: transparent; }
@keyframes fall { to { transform: translateY(calc(100vh + 160px)) rotate(var(--r, 20deg)); } }
.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 145;
  translate: -50% 0; background: var(--limao); color: var(--ink);
  padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm);
  max-width: calc(100vw - 32px); text-align: center;
  animation: toast 4s var(--ease-out) forwards;
}
@keyframes toast { 0% { opacity: 0; transform: translateY(20px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- revelação no scroll ---------- */
html.js .reveal { translate: 0 28px; opacity: 0; transition: translate 1s var(--ease-out), opacity .8s; transition-delay: var(--rd, 0s); }
html.js .reveal.is-in { translate: none; opacity: 1; }
/* time: a foto abre de baixo pra cima */
html.js .member.reveal .member-media { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.2s var(--ease-io) .1s; }
html.js .member.reveal.is-in .member-media { clip-path: inset(0 0 0 0 round var(--radius)); }
/* chamada final: a nuvem flutua parada */
.final-nube .nube { animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* ---------- páginas internas ---------- */
.page-hero { padding-block: calc(140px + env(safe-area-inset-top, 0px)) clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--t-3xl); max-width: 14ch; margin-block: 18px 24px; }
.page-hero .nube { position: absolute; right: -4%; bottom: -10%; width: clamp(180px, 34vw, 460px); opacity: .95; }
.page-hero--limao { background: var(--limao); color: var(--ink); }
.page-hero--limao .nube { --nube-fill: var(--ink); --nube-eye: var(--limao); --nube-cheek: transparent; }
.page-hero--roxo { background: var(--roxo); color: var(--on-dark); }
.page-hero--lilas { background: var(--lilas); color: var(--ink); }
.page-hero--lilas .nube { --nube-fill: var(--paper); }
.page-hero--paper { background: var(--paper); color: var(--ink); }
.page-hero--azure { background: var(--azure); color: var(--ink); }
.page-hero--azure .nube { --nube-fill: var(--paper); --nube-eye: var(--azure); }
.page-hero--paper .nube { --nube-fill: var(--roxo); --nube-eye: var(--paper); --nube-cheek: transparent; }
.page-hero .lead, .page-hero .btn-row { position: relative; z-index: 1; }
.cols-2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .cols-2 { grid-template-columns: 1fr 1.3fr; gap: 80px; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--paper-line); }
.is-dark .check-list { border-color: var(--ink-line); }
.check-list li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--paper-line); position: relative; }
.is-dark .check-list li { border-color: var(--ink-line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 22px; height: 16px; border-radius: 8px 8px 6px 6px; background: var(--roxo); }
.is-dark .check-list li::before { background: var(--limao); }
.check-list strong { display: block; font-size: var(--t-lg); }
.check-list span { color: var(--on-light-muted); }
.is-dark .check-list span { color: var(--on-dark-muted); }
/* formatos do dia de criação, do mais simples ao mais produzido */
.formats { display: grid; gap: 12px; }
.format { border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; background: var(--ink-2); }
.format:nth-child(odd) { background: var(--roxo); }
.format-scale { display: flex; gap: 4px; }
.format-scale i { width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.format-scale i.on { background: var(--limao); }
.format h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.format p { color: var(--on-dark-muted); }
.format:nth-child(odd) p { color: rgba(242, 242, 242, .85); }
.format small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 760px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.day { display: grid; gap: 12px; counter-reset: day; }
.day li { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; padding: 24px 0; border-top: 1px solid var(--paper-line); }
.day li b { grid-row: span 2; font-family: var(--f-mono); font-weight: 400; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--roxo); padding-top: 8px; min-width: 72px; }
.day li strong { font-family: var(--f-display); font-weight: 800; text-transform: var(--title-case); letter-spacing: .005em; font-size: var(--t-xl); }
.day li span { color: var(--on-light-muted); max-width: 52ch; }
.day { padding: 0; margin: 0; }
.other-svcs { display: grid; gap: 12px; }
@media (min-width: 760px) { .other-svcs { grid-template-columns: repeat(3, 1fr); } }
.other-svcs .svc { min-height: 240px; }

/* ---------- 404 e obrigado ---------- */
.state-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; position: relative; overflow: hidden; }
.state-inner { display: grid; justify-items: center; gap: 22px; position: relative; z-index: 1; }
.state-page h1 { font-size: var(--t-3xl); max-width: 12ch; }
.state-page p { max-width: 44ch; }
.state-nube { width: min(56vw, 280px); }
.big-404 { font-family: var(--f-display); font-weight: 900; font-size: clamp(7rem, 30vw, 22rem); line-height: .8; letter-spacing: .005em; color: var(--ink-2); position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; z-index: 0; user-select: none; }
.lost .state-nube { animation: drift 6s ease-in-out infinite; }
.lost .state-nube .nube-eyes { animation: search 4s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(-14px, 0) rotate(-3deg); } 50% { transform: translate(14px, -10px) rotate(3deg); } }
@keyframes search { 0%, 100% { transform: translate(-5px, 0); } 30% { transform: translate(5px, -2px); } 60% { transform: translate(0, 3px); } }
.drops { position: absolute; left: 50%; top: 0; width: 120px; translate: -50% 0; height: 0; }
.drops i { position: absolute; top: 0; width: 4px; height: 14px; border-radius: 4px; background: var(--lilas); opacity: 0; animation: drop 1.4s linear infinite; }
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(160px); opacity: 0; } }
.happy .state-nube { animation: hop 1.2s var(--ease-out) infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 20% { transform: translateY(0) scale(1.06, .92); } 45% { transform: translateY(-26px) scale(.96, 1.05); } 70% { transform: translateY(0) scale(1.04, .96); } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { transform: none; opacity: 1; }
  .loader { display: none; }
}

/* =========================================================
   NOTEBOOKS (desktop com tela baixa ou estreita)
   Tudo aqui é só para >= 900px: o celular não muda.
   ========================================================= */
@media (min-width: 900px) {
  /* hero: leque e título acompanham a altura da tela */
  .hero-stack { --cw: min(21vw, 300px, 30svh); }
  .hero-copy { padding-block: 12px clamp(16px, 3svh, 28px); }
  .hero-side .lead { font-size: clamp(.95rem, .6rem + .9svh, 1.15rem); }

  /* serviços: o baralho cabe na altura disponível */
  html.has-pin .services { padding-block: calc(84px + env(safe-area-inset-top, 0px)) 28px; }
  html.has-pin .services .section-head { margin-bottom: clamp(14px, 2.5svh, 28px); }
  html.has-pin .services .section-head h2 { font-size: clamp(2rem, min(1.2rem + 3.4vw, 8svh), 4rem); }
  html.has-pin .services .services-grid { height: calc(100svh - clamp(230px, 34svh, 330px)); min-height: 320px; }
  html.has-pin .services .svc { padding: clamp(20px, 3.4svh, 34px); gap: clamp(14px, 2.4svh, 40px); }
  html.has-pin .services .svc h3 { font-size: clamp(2.2rem, min(1rem + 5vw, 10svh), 6rem); }
  html.has-pin .services .svc p { font-size: clamp(.9rem, .55rem + .9svh, 1rem); }
  html.has-pin .services .svc .nube { width: clamp(44px, 7svh, 64px); }

  /* galeria: o reel encolhe pela altura para caber com o título */
  .reel { flex-basis: min(300px, calc((100svh - 300px) * .5625)); }
  html.js .reels-sticky .section-head { margin-bottom: clamp(16px, 3svh, 36px) !important; }

  /* sobre: card limitado pela altura */
  html.has-pin .story-card { width: min(26vw, 380px, 42svh); }
}

/* notebook estreito (900–1180px): header mais compacto */
@media (min-width: 900px) and (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: .8rem; }
  .header .btn span { display: none; }
  .header .btn { padding: 0 14px; }
}

/* telas bem baixas (ex.: 1280×720 com zoom do Windows) */
@media (min-width: 900px) and (max-height: 760px) {
  .hero-side .lead { display: none; }
  html.has-pin .services .svc-list { display: none; }
  html.has-pin .story-step p { font-size: var(--t-sm); }
  .section { padding-block: clamp(64px, 9svh, 120px); }
}

/* =========================================================
   TIPOGRAFIA MENOR EM NOTEBOOKS (ex.: 1280×720, 1366×768, 1440×900)
   Só desktop: >= 900px de largura e até 1440px, ou tela baixa.
   ========================================================= */
@media (min-width: 900px) and (max-width: 1440px), (min-width: 900px) and (max-height: 820px) {
  :root {
    --t-lg: clamp(1.05rem, .9rem + .35vw, 1.2rem);
    --t-xl: clamp(1.4rem, .9rem + 1.2vw, 2rem);
    --t-2xl: clamp(2rem, .8rem + 2.7vw, 3.4rem);
    --t-3xl: clamp(2.4rem, .6rem + 4.6vw, 5rem);
    --t-num: clamp(4rem, 1.5rem + 8vw, 9rem);
  }
  .hero h1 { font-size: clamp(1.7rem, min(.8rem + 3.6vw, 6.2svh), 4rem); }
  .intro-line { font-size: clamp(2.6rem, .6rem + 6vw, 6.4rem); }
  html.has-pin .story-title { font-size: clamp(1.7rem, .8rem + 2.6vw, 3.6rem); }
  .story-step h3 { font-size: clamp(1.25rem, .9rem + 1.2vw, 1.9rem); }
  .manifesto-text { font-size: clamp(2.2rem, .8rem + 4.6vw, 5.6rem); }
  .marquee-item { font-size: clamp(1.5rem, .8rem + 2.2vw, 2.8rem); }
  html.has-pin .services .svc h3 { font-size: clamp(2rem, min(.8rem + 3.6vw, 8svh), 4.6rem); }
  html.has-pin .services .section-head h2 { font-size: clamp(1.8rem, min(.8rem + 2.6vw, 7svh), 3.2rem); }
  .step h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); }
  .case-row h3 { font-size: clamp(1.9rem, .9rem + 3vw, 3.8rem); }
  .case-kpis strong { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); }
  .case-big strong { font-size: clamp(3rem, .8rem + 5vw, 6.5rem); }
  .testi blockquote { font-size: clamp(1.4rem, .9rem + 1.8vw, 2.4rem); }
  .member h3 { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.6rem); }
  .insta-handle { font-size: clamp(1.8rem, .8rem + 3vw, 3.6rem); }
  .footer-brand .display { font-size: clamp(2.6rem, 1rem + 4.4vw, 5.6rem); }
  .faq-item summary { font-size: var(--t-lg); }
}

/* =========================================================
   CELULAR: rolagem leve
   backdrop-filter e sombras grandes eram redesenhados a cada quadro.
   ========================================================= */
@media (max-width: 899px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(26, 26, 26, .94); }
  .sound-btn, .reel-ui button { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(26, 26, 26, .82); }
  .hcard { box-shadow: 0 12px 26px rgba(26, 26, 26, .28); }
  .services-grid .svc { box-shadow: none; }
  .sticker { box-shadow: 0 6px 14px rgba(26, 26, 26, .18); }
  .hcard, .svc, .reel, .story-card { transform: translateZ(0); }
}

/* capas reais (imagem por cima do gradiente provisório) */
.hero-poster.has-img { background-size: cover; background-position: center; }
.hero-poster.has-img::after { content: none; }
.hcard.has-img { background-size: cover; background-position: center; }
.hcard.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26, 26, 26, .55)); }
.hcard.has-img .hcard-label { z-index: 1; }
