/* ==========================================================================
   if Agência · Landing page comercial 2026
   Identidade: DM Sans (títulos) + Space Grotesk (corpo)
   Cores do manual: #1C0A3A · #5B1EC4 · #A355FF · #4C00A4 · #FBF7FF
   ========================================================================== */

:root {
  --c-deep:   #1C0A3A;
  --c-purple: #5B1EC4;
  --c-lilac:  #A355FF;
  --c-dark:   #4C00A4;
  --c-off:    #FBF7FF;
  --c-black:  #0A0412;
  --c-ink:    #12071F;

  --c-text:   var(--c-off);
  --c-muted:  rgba(251, 247, 255, .68);
  --c-line:   rgba(163, 85, 255, .22);
  --c-card:   rgba(251, 247, 255, .04);

  --f-head: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --grad: linear-gradient(90deg, #A355FF 0%, #5B1EC4 100%);
  --grad-diag: linear-gradient(135deg, #A355FF 0%, #5B1EC4 45%, #1C0A3A 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 140px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Tipografia ---------- */
.h1, .h2, .h3, .kpi__num, .counter__num, .step__num, .btn, .pill, .label, .tab {
  font-family: var(--f-head);
}
.h1 { font-weight: 800; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.02em; }
.h2 { font-weight: 800; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.h2--sm { font-size: clamp(28px, 3vw, 40px); }
.h3 { font-weight: 800; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); max-width: 34em; color: var(--c-muted); }
.body { font-size: clamp(16px, 1.2vw, 18px); max-width: 38em; color: var(--c-muted); }
.body--strong { font-family: var(--f-head); font-weight: 700; color: var(--c-text); }
.promise { font-family: var(--f-head); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; max-width: 32em; }
.label {
  display: block; font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-lilac); margin-bottom: 8px;
}
.footnote { font-size: 12.5px; color: var(--c-muted); margin-top: 14px; }
.hl { color: var(--c-lilac); }
.hl-light { color: var(--c-off); }
.hl-dark { color: var(--c-purple); font-weight: 700; }
em { font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: lowercase;
  color: var(--c-lilac); margin-bottom: 22px;
}
.sparkle { width: 26px; height: 26px; fill: #F5D547; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--light {
  --c-text: var(--c-deep);
  --c-muted: rgba(28, 10, 58, .72);
  --c-line: rgba(91, 30, 196, .18);
  --c-card: rgba(91, 30, 196, .05);
  background: var(--c-off); color: var(--c-deep);
}
.section--light .hl { color: var(--c-purple); }
.section--light .label { color: var(--c-purple); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head .body { margin-top: 16px; }

/* Dots pattern (como no site atual) */
.dots {
  position: absolute; inset: auto 0 0 0; height: 40%;
  background-image: radial-gradient(rgba(251,247,255,.14) 1px, transparent 1.2px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  pointer-events: none;
}

/* ---------- Pílulas / tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.pill {
  display: inline-flex; align-items: center; height: 28px; padding: 0 13px;
  border-radius: var(--pill); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.pill--solid { background: var(--c-purple); color: #fff; }
.pill--outline { border: 1px solid currentColor; color: var(--c-lilac); }
.section--light .pill--outline { color: var(--c-purple); }
.tag-line { margin-bottom: 18px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--pill); font-weight: 700; font-size: 15.5px; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--primary { background: var(--c-purple); color: #fff; box-shadow: 0 10px 30px -12px rgba(91,30,196,.8); }
.btn--primary:hover { background: var(--c-dark); }
.btn--ghost { border-color: rgba(251,247,255,.28); color: var(--c-off); }
.btn--ghost:hover { border-color: var(--c-lilac); color: var(--c-lilac); }
.btn--light { background: var(--c-off); color: var(--c-purple); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: rgba(251,247,255,.55); color: var(--c-off); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--tertiary {
  padding: 10px 18px 10px 14px; font-size: 14px;
  border-color: var(--c-line); color: var(--c-text); background: var(--c-card);
}
.btn--tertiary:hover { border-color: var(--c-lilac); color: var(--c-lilac); }
.btn--tertiary svg { width: 18px; height: 18px; fill: var(--c-lilac); }
.link { color: var(--c-lilac); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Chips (filtros) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  padding: 9px 16px; border-radius: var(--pill); border: 1px solid var(--c-line);
  font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--c-muted);
  transition: all .2s;
}
.chip:hover { color: var(--c-text); border-color: var(--c-lilac); }
.chip.is-active { background: var(--c-purple); border-color: var(--c-purple); color: #fff; }

/* ---------- Placeholders de mídia ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(163,85,255,.07) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, rgba(91,30,196,.35), rgba(28,10,58,.85));
  border: 1px dashed rgba(163,85,255,.45);
  isolation: isolate;
}
.section--light .ph {
  background:
    repeating-linear-gradient(135deg, rgba(91,30,196,.06) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, rgba(163,85,255,.22), rgba(91,30,196,.12));
  border-color: rgba(91,30,196,.4);
}
.ph > img, .ph > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.ph::before, .ph::after {
  position: absolute; left: 14px; right: 14px; z-index: 2; pointer-events: none;
  font-family: var(--f-body); font-size: 11px; line-height: 1.35; letter-spacing: .02em;
}
.ph::before {
  content: attr(data-hint); bottom: 34px; color: rgba(251,247,255,.7);
}
.ph::after {
  content: attr(data-file); bottom: 12px; color: var(--c-lilac); font-weight: 500; word-break: break-all;
}
.section--light .ph::before { color: rgba(28,10,58,.6); }
.section--light .ph::after { color: var(--c-purple); }
.ph.has-media { border-style: solid; border-color: transparent; }
.ph.has-media::before, .ph.has-media::after { display: none; }

.ph--portrait { aspect-ratio: 3 / 4; }
.ph--photo { aspect-ratio: 4 / 3; }
.ph--card { aspect-ratio: 9 / 7; border-radius: var(--radius-sm); }
.ph--cover { position: absolute; inset: 0; border-radius: 0; border: 0; background: none; }
.ph--cover::before, .ph--cover::after { left: auto; right: 16px; text-align: right; max-width: 40%; }
.ph--cover::before { bottom: 42px; } .ph--cover::after { bottom: 20px; }
.ph--video { aspect-ratio: 4 / 5; }
.ph--video::before { content: attr(data-hint) " · " attr(data-file); }
.ph--video::after { content: '▶ vídeo placeholder'; bottom: 12px; }
.ph--logo {
  aspect-ratio: 5 / 3; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--c-card); border-style: solid; border-color: var(--c-line);
}
.ph--logo::before, .ph--logo::after { display: none; }
.ph--logo > span {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: -.01em;
  text-align: center; padding: 0 10px; color: var(--c-text); opacity: .75; text-transform: uppercase;
}
.ph--logo.has-media > span { display: none; }
.ph--logo > img { position: static; width: 72%; height: 56%; object-fit: contain; }
.section--light .ph--logo > img { filter: grayscale(1) brightness(.35); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s, transform .35s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav--off, .nav--off ~ .nav__hotzone { display: none !important; }
/* zona sensível no topo: traz o menu de volta ao passar o mouse */
.nav__hotzone { position: fixed; inset: 0 0 auto 0; height: 28px; z-index: 49; }
.nav.is-scrolled {
  background: rgba(10,4,18,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(163,85,255,.14);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__links a:not(.btn) {
  font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--c-off);
  transition: color .2s; position: relative;
}
.nav__links a:not(.btn):hover, .nav__links a:not(.btn).is-active { color: var(--c-lilac); }
.nav__cta { margin-left: 6px; }
.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav__burger span { width: 24px; height: 2px; background: var(--c-off); transition: transform .3s, opacity .3s; border-radius: 2px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start;
    padding: 20px var(--gutter) 32px; gap: 18px;
    background: rgba(10,4,18,.97); border-bottom: 1px solid var(--c-line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { font-size: 20px; }
  .nav__cta { margin: 8px 0 0; }
  .nav { background: rgba(10,4,18,.82); backdrop-filter: blur(14px); }
}

/* ==========================================================================
   HERO — título + 2 botões no canto inferior esquerdo, sobre grid 3D de cases
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 80px 0; overflow: hidden; background: var(--c-black);
}
.hero__grid3d {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  perspective: 1400px; perspective-origin: 60% 40%;
}
.hero__scene {
  position: absolute; inset: -24% -14% -24% -22%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.3vw, 22px);
  transform: translateX(-8%) rotateX(22deg) rotateY(-14deg) rotateZ(6deg) translateZ(-160px);
  transform-style: preserve-3d; will-change: transform;
}
.hero__col { overflow: hidden; min-height: 0; }
.hero__track { display: flex; flex-direction: column; gap: clamp(12px, 1.3vw, 22px); will-change: transform; }
.hero__col--up   .hero__track { animation: colUp   var(--dur, 40s) linear infinite; }
.hero__col--down .hero__track { animation: colDown var(--dur, 40s) linear infinite; }
@keyframes colUp   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes colDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.tile { aspect-ratio: 3 / 4; border-radius: 18px; flex: 0 0 auto; }
.tile.ph { border-color: rgba(163,85,255,.28); }
.tile.ph::before { display: none; }
.tile.ph::after { font-size: 11px; bottom: 12px; left: 14px; right: 14px; opacity: .8; }
.tile.has-media > img { filter: saturate(.85); }

.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 48% at 50% 50%, rgba(10,4,18,.92), rgba(10,4,18,.55) 55%, transparent 100%),
    linear-gradient(180deg, rgba(10,4,18,.45) 0%, rgba(10,4,18,.15) 45%, rgba(10,4,18,.9) 100%);
}
.hero .dots { z-index: 1; height: 30%; opacity: .6; }
.hero__content {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__logo { width: clamp(200px, 26vw, 380px); height: auto; filter: drop-shadow(0 20px 50px rgba(10,4,18,.7)); }
.hero__tagline {
  margin-top: clamp(16px, 2.4vh, 26px);
  font-family: var(--f-head); font-weight: 700; font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .22em; text-transform: lowercase;
  color: var(--c-lilac);
}

@media (max-width: 640px) {
  .hero { padding: 80px 0; }
  .hero__scene { grid-template-columns: repeat(2, 1fr); inset: -25% -16% -25% -24%; gap: 12px; }
  .hero__track { gap: 12px; }
  .hero__col:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__track { animation: none !important; }
}

/* ==========================================================================
   QUEM SOMOS + DREAMTEAM
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.about__text .body { margin-top: 22px; }
.about__text .body--strong { margin-top: 26px; padding-left: 20px; border-left: 3px solid var(--c-lilac); }
.team .label { margin-bottom: 18px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team__card { display: flex; flex-direction: column; gap: 4px; }
.team__card .ph { margin-bottom: 10px; border-radius: var(--radius-sm); }
/* arte completa do card (já traz nome e cargo): proporção original, sem recorte */
.ph--card-art { aspect-ratio: 290 / 409; border-radius: 16px; }
.ph--card-art > img { object-fit: contain; }
.ph--card-art.has-media { background: none; }
/* hover: leve aumento + brilho atravessando o card */
.team__card .ph--card-art.has-media {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); overflow: hidden; cursor: default;
}
.team__card .ph--card-art.has-media::after {
  content: ''; display: block; position: absolute; inset: -40% auto -40% -80%; width: 55%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.04) 35%, rgba(255,255,255,.32) 50%, rgba(255,255,255,.04) 65%, transparent 100%);
  transform: translateX(0) skewX(-18deg); opacity: 0;
  bottom: -40%; left: -80%; right: auto; word-break: normal; font-size: 0;
}
.team__card:hover .ph--card-art.has-media { transform: translateY(-4px) scale(1.035); box-shadow: 0 24px 50px -24px rgba(163,85,255,.55); }
.team__card:hover .ph--card-art.has-media::after { animation: cardShine .9s var(--ease) forwards; }
@keyframes cardShine {
  0%   { opacity: 0; transform: translateX(0) skewX(-18deg); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(340%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .team__card:hover .ph--card-art.has-media { transform: none; }
  .team__card:hover .ph--card-art.has-media::after { animation: none; }
}
.ph--card-art.has-media ~ strong, .ph--card-art.has-media ~ span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.team__card { position: relative; }
.team__card strong { font-family: var(--f-head); font-weight: 700; font-size: 15.5px; }
.team__card span { font-size: 13px; color: var(--c-lilac); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   PROMESSA + DEPOIMENTOS (carrossel)
   ========================================================================== */
.section--promise { overflow: hidden; padding-bottom: clamp(60px, 8vw, 110px); }
.promise__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 10%, rgba(91,30,196,.38), transparent 70%);
}
.promise-block { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.promise-block .h2 { font-size: clamp(36px, 4.4vw, 60px); }
@media (min-width: 641px) { .promise-block .h2 { white-space: nowrap; } }   /* sempre 2 linhas no desktop */
.promise-block .lead { margin-top: 24px; max-width: 36em; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  padding: 10px 18px 10px 14px; border-radius: var(--pill);
  background: rgba(91,30,196,.28); border: 1px solid rgba(163,85,255,.45);
  font-family: var(--f-head); font-weight: 500; font-size: 14.5px;
}
.badge strong { color: var(--c-lilac); font-weight: 800; }
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-lilac); box-shadow: 0 0 0 4px rgba(163,85,255,.25); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(163,85,255,.25); } 50% { box-shadow: 0 0 0 8px rgba(163,85,255,.08); } }

.marquee {
  position: relative; margin-top: clamp(48px, 6vw, 80px); overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 20px; width: max-content; padding: 6px 0;
  animation: marqueeX 60s linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.quote {
  flex: 0 0 clamp(280px, 26vw, 380px); display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border-radius: var(--radius);
  background: rgba(28,10,58,.55); border: 1px solid var(--c-line);
  transition: border-color .3s, transform .3s var(--ease);
}
.quote:hover { border-color: rgba(163,85,255,.5); transform: translateY(-3px); }
.quote blockquote { font-size: 15px; line-height: 1.55; color: var(--c-text); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.quote figcaption > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.quote figcaption strong { font-family: var(--f-head); font-weight: 700; font-size: 14px; }
.quote figcaption span { font-size: 12.5px; color: var(--c-lilac); line-height: 1.35; }
.quote__avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(163,85,255,.45); }
@media (max-width: 640px) {
  .marquee__track { animation-duration: 40s; }
  .quote { flex-basis: 260px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; } }

/* ==========================================================================
   MARCAS (fundo escuro, logos brancos do site da if)
   ========================================================================== */
.section--brands { background: linear-gradient(180deg, var(--c-black), var(--c-ink) 50%, var(--c-black)); }
.logowall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.section--brands .ph--logo { background: rgba(251,247,255,.035); border-color: rgba(163,85,255,.16); transition: background .3s, border-color .3s; }
.section--brands .ph--logo:hover { background: rgba(91,30,196,.18); border-color: rgba(163,85,255,.45); }
.section--brands .ph--logo > img { opacity: .9; }
.logowall li { transition: opacity .3s, transform .3s var(--ease); }
.logowall li.is-dim { opacity: .18; transform: scale(.96); }
.brandlists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--c-line); }
.brandlists__item p { font-size: 14px; color: var(--c-muted); line-height: 1.6; }
.brandlists__item { transition: opacity .3s; }
.brandlists__item.is-dim { opacity: .35; }
@media (max-width: 900px) { .logowall { grid-template-columns: repeat(3, 1fr); } .brandlists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .brandlists { grid-template-columns: 1fr; } }

/* ==========================================================================
   PRÊMIOS
   ========================================================================== */
.awards { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.counters { display: flex; gap: clamp(20px, 3vw, 40px); margin: 40px 0 30px; }
.counter { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.counter { --medal: var(--c-lilac); --medal-soft: rgba(163,85,255,.14); }
.counter--gold   { --medal: #E9C46A; --medal-soft: rgba(233,196,106,.14); }
.counter--silver { --medal: #D5D7E3; --medal-soft: rgba(213,215,227,.12); }
.counter--bronze { --medal: #D08A5B; --medal-soft: rgba(208,138,91,.14); }
.counter__num {
  position: relative; width: clamp(84px, 8vw, 110px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  font-weight: 800; font-size: clamp(36px, 3.6vw, 48px); color: var(--medal);
  border: 1.5px solid var(--medal); background: radial-gradient(circle at 50% 30%, var(--medal-soft), transparent 70%);
  box-shadow: 0 0 0 6px var(--medal-soft);
}
.counter__lbl { font-size: 14px; color: var(--c-muted); display: inline-flex; align-items: center; gap: 7px; }
.counter__lbl::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--medal); }
.awards__list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.awards__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); }
.awards__list a { text-decoration: underline; text-decoration-color: var(--c-line); text-underline-offset: 4px; transition: color .2s; }
.awards__list a:hover { color: var(--c-lilac); }
.sep { color: var(--c-muted); }
.medal { font-family: var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.medal--gold { background: rgba(233,196,106,.18); color: #E9C46A; }
.medal--silver { background: rgba(213,215,227,.16); color: #D5D7E3; }
.medal--bronze { background: rgba(208,138,91,.2); color: #D08A5B; }
#premios { overflow: hidden; }
.awards { align-items: center; }
.awards__media { position: relative; display: flex; justify-content: center; align-items: center; align-self: center; min-height: 0; }
.awards__media::before {
  content: ''; position: absolute; left: 5%; right: 5%; bottom: 0; height: 55%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91,30,196,.5), transparent 70%); filter: blur(34px); z-index: 0;
}
.awards__img {
  position: relative; z-index: 1; display: block; flex: 0 0 auto; width: min(128%, 760px); max-width: none; height: auto;
  filter: drop-shadow(0 30px 50px rgba(10,4,18,.6));
  /* some de baixo para cima: a base (corte da cintura) fica totalmente transparente */
  mask-image: linear-gradient(to top, transparent 0%, transparent 10%, rgba(0,0,0,.6) 34%, #000 58%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 10%, rgba(0,0,0,.6) 34%, #000 58%);
}
@media (max-width: 900px) { .awards { grid-template-columns: 1fr; } .awards__media { order: 2; } .awards__img { width: min(100%, 460px); } }

/* ==========================================================================
   SOLUÇÕES — CARDS (imagem inteira, texto sobreposto, minimalista)
   ========================================================================== */
.solutions-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(24px, 3.5vh, 40px); }
.solutions-intro .pill { margin-bottom: 16px; }
.solutions-intro .h2 { font-size: clamp(32px, 4.6vh, 52px); }
.solutions-intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 34em; }
.solutions-intro__side .body { font-size: clamp(14px, 1.7vh, 16.5px); }
.btn--dark { background: var(--c-deep); color: #fff; }
.btn--dark:hover { background: var(--c-purple); }
.btn--dark svg { width: 16px; height: 16px; }

/* acordeão: o card sob o mouse se expande para as laterais e os outros cedem espaço */
.solcards { display: flex; gap: clamp(12px, 1.2vw, 18px); }
.solcards > li { flex: 1 1 0; min-width: 0; min-height: 0; }
/* precisa vencer a regra .js .reveal (que também define transition) */
.solcards > li, .js .solcards > li.reveal {
  transition: opacity .7s var(--ease), transform .7s var(--ease), flex-grow .9s cubic-bezier(.33, 1, .28, 1);
}
@media (hover: hover) and (min-width: 901px) {
  .solcards:hover > li { flex-grow: .85; }
  .solcards > li:hover { flex-grow: 1.9; }
}
.solcard {
  position: relative; display: block; height: 100%; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: var(--c-deep); color: #fff; transition: box-shadow .9s ease;
}
.solcard:hover { box-shadow: 0 30px 60px -30px rgba(91,30,196,.55); }
.solcard .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; border: 0; margin: 0; }
.solcard .ph > img { transition: transform 1.2s cubic-bezier(.33, 1, .28, 1); }
.solcard:hover .ph > img { transform: scale(1.03); }
.solcard::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,4,18,.12) 0%, rgba(10,4,18,0) 35%, rgba(10,4,18,.35) 60%, rgba(10,4,18,.9) 100%);
}
.solcard__num {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.85);
}
.solcard__arrow {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--c-deep);
  transition: background .5s, color .5s, transform .7s cubic-bezier(.33, 1, .28, 1);
}
.solcard__arrow svg { width: 18px; height: 18px; }
.solcard:hover .solcard__arrow { background: var(--c-purple); color: #fff; transform: rotate(45deg); }
.solcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.solcard__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(18px, 2.3vh, 22px); line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.solcard__desc { font-family: var(--f-body); font-size: clamp(12.5px, 1.55vh, 14px); line-height: 1.4; color: rgba(255,255,255,.78); transition: opacity .7s ease; }
@media (hover: hover) and (min-width: 901px) {
  .solcards:hover > li:not(:hover) .solcard__desc { opacity: .55; }
}
.solcard__title, .solcard__desc { overflow-wrap: anywhere; }

/* uma tela (desktop) */
@media (min-width: 901px) {
  #solucoes { height: 100svh; min-height: 640px; box-sizing: border-box; padding: clamp(48px, 7vh, 72px) 0 clamp(32px, 4.5vh, 48px); scroll-snap-align: start; }
  #solucoes > .container { height: 100%; display: flex; flex-direction: column; }
  .solutions-intro { flex: 0 0 auto; }
  .solcards { flex: 1 1 auto; min-height: 0; }
}
/* tablet / celular: faixa horizontal com snap */
@media (max-width: 900px) {
  .solutions-intro { flex-direction: column; align-items: flex-start; gap: 16px; }
  .solcards {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .solcards::-webkit-scrollbar { display: none; }
  .solcards > li { flex: 0 0 min(72vw, 320px); scroll-snap-align: start; }
  .solcard { aspect-ratio: 3 / 4; }
}

/* ==========================================================================
   SOLUÇÕES — DETALHE (abas)
   ========================================================================== */
.tabs {
  display: flex; gap: 6px; padding: 6px; margin-bottom: clamp(40px, 5vw, 64px);
  border-radius: var(--pill); border: 1px solid var(--c-line); background: var(--c-card);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 1 0 auto; display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px 20px; border-radius: var(--pill); font-weight: 700; font-size: 14.5px; color: var(--c-muted);
  transition: all .25s; white-space: nowrap;
}
.tab span { font-size: 11px; letter-spacing: .1em; color: var(--c-lilac); opacity: .8; }
.tab:hover { color: var(--c-text); }
.tab.is-active { background: var(--c-purple); color: #fff; }
.tab.is-active span { color: #fff; opacity: .7; }

.solution {
  display: grid; grid-template-columns: 55fr 45fr; gap: clamp(32px, 5vw, 72px); align-items: start;
  animation: fadeUp .5s var(--ease);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.solution__num { font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--c-lilac); }
.solution .promise { margin-top: 22px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.cols3 p { font-size: 14.5px; line-height: 1.55; color: var(--c-muted); }
.metabar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px;
  border-radius: var(--radius-sm); background: var(--c-dark); overflow: hidden;
}
.metabar > div { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,.12); min-height: 92px; display: flex; flex-direction: column; justify-content: center; }
.metabar > div:last-child { border-right: 0; }
.metabar .label { color: rgba(251,247,255,.7); margin-bottom: 6px; }
.metabar strong { font-family: var(--f-head); font-weight: 700; font-size: 16.5px; color: #fff; line-height: 1.25; }
.metabar a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.metabar a:hover { color: var(--c-lilac); }
.solution__media { display: block; position: sticky; top: 110px; }
.solution__media .ph { aspect-ratio: 5 / 4; transition: transform .4s var(--ease); }
.solution__media:hover .ph { transform: scale(1.015); }
.solution__media figcaption { margin-top: 14px; font-size: 14px; color: var(--c-muted); display: flex; justify-content: space-between; gap: 14px; }
.solution__media figcaption span { color: var(--c-lilac); font-family: var(--f-head); font-weight: 700; white-space: nowrap; }
@media (max-width: 900px) {
  .solution { grid-template-columns: 1fr; }
  .solution__media { position: static; order: 2; }
  .solution__text .promise { order: 1; }
  .cols3 { grid-template-columns: 1fr; gap: 18px; }
  .metabar { grid-template-columns: 1fr; }
  .metabar > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); min-height: 0; }
  .metabar > div:last-child { border-bottom: 0; }
}

/* Tabela comparativa */
.compare { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--c-line); padding-top: 24px; }
.compare summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary .label { margin: 0; font-size: 13px; }
.compare__toggle { font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--c-lilac); }
.compare[open] .compare__toggle::after { content: ' ↑'; }
.compare:not([open]) .compare__toggle::after { content: ' ↓'; }
.table-wrap { overflow-x: auto; margin-top: 20px; border-radius: var(--radius-sm); border: 1px solid var(--c-line); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
th { font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-lilac); background: var(--c-card); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--c-card); }
td:nth-child(2) { font-family: var(--f-head); font-weight: 700; }

/* ==========================================================================
   CASES — cada case ocupa exatamente uma tela (100svh) com scroll snap
   ========================================================================== */
@media (min-width: 901px) { html { scroll-snap-type: y proximity; } }
.section--cases { background: linear-gradient(180deg, var(--c-black), var(--c-ink) 30%, var(--c-black)); padding-bottom: var(--section-y); }
.cases-list { display: flex; flex-direction: column; }
.case {
  --case-pad-top: 84px;
  --case-pad-bottom: 28px;
  height: 100svh; min-height: 560px; box-sizing: border-box;
  padding: var(--case-pad-top) 0 var(--case-pad-bottom);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center;
  scroll-snap-align: start; scroll-snap-stop: normal;
  transition: opacity .35s;
}
.case:nth-of-type(even) .case__media { order: 2; }
.case.is-hidden { display: none; }
.case__media { height: 100%; min-height: 0; display: flex; align-items: center; }
.case__media .ph {
  aspect-ratio: auto; width: 100%; height: 100%; max-height: calc(100svh - var(--case-pad-top) - var(--case-pad-bottom));
  box-shadow: 0 40px 80px -40px rgba(91,30,196,.6);
}
.case__video { background: transparent; }
.ph.has-media .case__video { background: #000; }
.case__text { min-height: 0; }
.case .h3 { font-size: clamp(22px, 2.6vh + .6vw, 32px); }
.case .tags { margin-bottom: clamp(10px, 1.6vh, 18px); }
.case__block { margin-top: clamp(10px, 2vh, 22px); }
.case__block .label { margin-bottom: 4px; }
.case__block p { font-size: clamp(13.5px, 1.7vh, 15.5px); line-height: 1.5; color: var(--c-muted); max-width: 36em; }
.kpis { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vh, 28px) 36px; margin-top: clamp(14px, 2.6vh, 30px); padding-top: clamp(12px, 2.2vh, 26px); border-top: 1px solid var(--c-line); }
.kpi { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.kpi__num { font-family: var(--f-head); font-weight: 800; font-size: clamp(36px, 6.5vh, 64px); line-height: 1; color: var(--c-lilac); letter-spacing: -.02em; }
.kpi__num small { font-size: .55em; }
.kpi__num--text { font-size: clamp(30px, 4.6vh, 48px); }
.kpi__num--xl { font-size: clamp(72px, 9vw, 128px); }
.kpi__lbl { font-size: clamp(12.5px, 1.6vh, 14.5px); line-height: 1.45; color: var(--c-muted); }
/* Stella: três KPIs em linha, mesmo tamanho */
.kpis--3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kpis--3 .kpi { max-width: none; }
.kpis--3 .kpi__num { font-size: clamp(30px, 4.8vh, 48px); }
.kpi--inline { flex-direction: row; align-items: baseline; gap: 14px; margin-top: 14px; max-width: none; }
.kpi--inline .kpi__num { font-size: clamp(30px, 2.6vw, 40px); white-space: nowrap; }
.kpi--pending .kpi__num { color: var(--c-muted); border: 1px dashed var(--c-line); border-radius: 8px; padding: 2px 10px; font-size: 24px; }
.case__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: clamp(12px, 2.4vh, 26px); }
.case__rel { font-size: 13px; color: var(--c-muted); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case__rel a { color: var(--c-lilac); text-decoration: underline; text-underline-offset: 3px; }
.case .footnote { margin-top: 8px; font-size: 12px; }

/* Botão de play sobre o vídeo (sutil) */
.play-overlay {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: var(--pill); font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .01em;
  color: #fff; background: rgba(10,4,18,.42); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: .78; transition: opacity .25s, background .25s, transform .25s var(--ease);
}
.play-overlay svg { width: 16px; height: 16px; fill: #fff; }
.play-overlay:hover, .play-overlay:focus-visible { opacity: 1; background: rgba(91,30,196,.75); transform: translateY(-1px); }
.ph:hover .play-overlay { opacity: 1; }
video:fullscreen, video:-webkit-full-screen { object-fit: contain; background: #000; }

.cases-empty { text-align: center; color: var(--c-muted); padding: 40px 0; }

@media (max-width: 900px) {
  .case { height: auto; min-height: 100svh; grid-template-columns: 1fr; align-content: center; gap: 22px; --case-pad-top: 96px; --case-pad-bottom: 40px; scroll-snap-align: none; }
  .case:nth-of-type(even) .case__media { order: 0; }
  .case__media { height: auto; }
  .case__media .ph { height: auto; aspect-ratio: 16 / 10; max-height: 42svh; }
  .kpis--3 { grid-template-columns: 1fr 1fr; }
  .kpis--3 .kpi--main { grid-column: 1 / -1; }
}

/* ==========================================================================
   TODOS OS CASES NO SITE — CTA sobre grid sutil de fotos
   ========================================================================== */
.section--allcases { position: relative; overflow: hidden; background: var(--c-black); padding-block: clamp(110px, 16vh, 180px); }
.allcases__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.allcases__grid {
  position: absolute; inset: -6% -4%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  transform: rotate(-3deg) scale(1.04); opacity: .22; filter: saturate(.6);
}
.allcases__grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.allcases__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(10,4,18,.92) 0%, rgba(10,4,18,.75) 45%, rgba(10,4,18,.35) 100%),
    linear-gradient(180deg, var(--c-black) 0%, transparent 18%, transparent 82%, var(--c-black) 100%);
}
.allcases { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.allcases .h2 { font-size: clamp(34px, 4.4vw, 60px); }
.allcases .body { max-width: 40em; }
.allcases .btn { margin-top: 12px; }
.allcases .btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .allcases__grid { grid-template-columns: repeat(3, 1fr); } .allcases__grid img:nth-child(n+13) { display: none; } }

/* ==========================================================================
   POR QUE A IF
   ========================================================================== */
.section--why { overflow: hidden; }
.why__bg { z-index: 0; opacity: .5; }
.section--why::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--c-black) 0%, rgba(91,30,196,.45) 50%, var(--c-black) 100%);
}
.section--why .container { position: relative; z-index: 2; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.why__card {
  padding: 30px 28px; border-radius: var(--radius); min-height: 220px;
  background: rgba(12,5,24,.78); border: 1px solid var(--c-line); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), border-color .3s;
}
.why__card:hover { transform: translateY(-4px); border-color: rgba(163,85,255,.5); }
.why__card h3 { font-family: var(--f-head); font-weight: 800; font-size: 22px; color: var(--c-lilac); line-height: 1.2; }
.why__card p { font-size: 15.5px; color: var(--c-muted); }
.why__card--hl { background: var(--grad-diag); border: 0; }
.why__card--hl h3, .why__card--hl p { color: #fff; }
.why__card--hl p { opacity: .9; }
.why__link { margin-top: auto; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: #fff; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why__card { min-height: 0; } }

/* ==========================================================================
   COMO FUNCIONA — cards em faixa horizontal atrelada ao scroll (pinned)
   O card central cresce e fica roxo; os demais ficam neutros.
   ========================================================================== */
.process { position: relative; background: var(--c-off); color: var(--c-deep); }
.process__pin {
  position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(18px, 3vh, 36px); overflow: hidden; padding: clamp(36px, 5.5vh, 60px) 0 clamp(24px, 3.5vh, 40px);
}
.process__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex: 0 0 auto; }
.process__head .h2 { font-size: clamp(30px, 4.4vh, 48px); }
.process__hint { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--c-purple); opacity: .8; white-space: nowrap; }

.process__viewport {
  position: relative; flex: 0 0 auto;
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding: clamp(18px, 3vh, 30px) 0 clamp(18px, 3vh, 30px) var(--pad);
}
.timeline { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 22px); width: max-content; padding-right: var(--pad); will-change: transform; }

.step {
  position: relative; flex: 0 0 clamp(230px, 20vw, 290px); height: clamp(300px, 46vh, 400px);
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2.4vh, 26px);
  border-radius: 22px; background: #fff; border: 1px solid var(--c-line); color: var(--c-deep);
  transition: transform .8s cubic-bezier(.33, 1, .28, 1), background .6s ease, color .6s ease, border-color .6s ease, box-shadow .8s ease, opacity .6s ease;
}
.step__num {
  font-family: var(--f-head); font-weight: 800; font-size: clamp(110px, 20vh, 168px); line-height: .82; letter-spacing: -.06em;
  margin: -.04em 0 0 -.05em; color: rgba(91,30,196,.22); transition: color .6s ease;
}
.step__body { display: flex; flex-direction: column; gap: 8px; }
.step strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 2.4vh, 24px); letter-spacing: -.01em; }
.step p { font-size: clamp(13.5px, 1.7vh, 15.5px); line-height: 1.45; color: var(--c-muted); transition: color .6s ease; }
.step__cta { margin-top: 10px; align-self: flex-start; opacity: 0; transform: translateY(6px); transition: opacity .5s ease .15s, transform .5s ease .15s; }
.step.is-passed { opacity: .6; }
/* card ativo: roxo, maior, à frente */
.step.is-active {
  background: var(--grad-diag); color: #fff; border-color: transparent;
  transform: scale(1.12); z-index: 2; box-shadow: 0 40px 80px -36px rgba(91,30,196,.7); opacity: 1;
}
.step.is-active .step__num { color: rgba(255,255,255,.6); }
.step.is-active p { color: rgba(255,255,255,.85); }
.step.is-active .step__cta { opacity: 1; transform: none; }

.process__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex: 0 0 auto; }
.note {
  padding: clamp(14px, 2.2vh, 22px) clamp(18px, 2.4vw, 28px); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-purple);
  font-size: clamp(14px, 1.7vh, 16px); max-width: 640px;
}
.process__nav { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.process__progress { width: clamp(140px, 16vw, 240px); height: 2px; background: rgba(91,30,196,.15); border-radius: 2px; overflow: hidden; }
.process__progress span { display: block; height: 100%; width: 0; background: var(--grad); transition: width .15s linear; }
.process__counter { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-head); font-weight: 700; }
.process__counter li { font-size: 14px; color: rgba(28,10,58,.35); transition: font-size .4s var(--ease), color .4s; }
.process__counter li.is-active { font-size: clamp(28px, 3.6vh, 36px); color: var(--c-deep); }

/* Sem pin (celular / tablet): carrossel deslizável com snap, mesmo visual */
@media (max-width: 900px) {
  .process { height: auto !important; padding-block: var(--section-y); }
  .process__pin { position: static; height: auto; overflow: visible; padding: 0; gap: 28px; }
  .process__head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 var(--gutter); }
  .process__hint { display: none; }
  .process__viewport { padding: 24px 0; }
  .timeline {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important;
    padding: 16px calc(50vw - min(36vw, 150px)); gap: 14px;
  }
  .timeline::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(72vw, 300px); height: clamp(300px, 46vh, 380px); scroll-snap-align: center; }
  .step.is-active { transform: scale(1.04); }
  .process__foot { flex-direction: column; align-items: stretch; gap: 22px; padding: 0 var(--gutter); }
  .process__nav { justify-content: space-between; }
  .process__progress { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .step, .step__num, .step p, .step__cta, .process__counter li { transition: none; }
}

/* ==========================================================================
   RESULTADO EM NÚMERO — uma tela, imagem em destaque
   ========================================================================== */
.result-section { overflow: hidden; }
.result { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.result__text .pill { margin-bottom: 16px; }
.result .promise { margin-top: 20px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(22px, 3.4vh, 36px); }
.metrics li { padding: clamp(14px, 2vh, 22px); border-radius: var(--radius-sm); background: var(--c-card); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 2px; }
.metrics strong { font-family: var(--f-head); font-weight: 800; font-size: clamp(16px, 2vh, 18px); color: var(--c-lilac); }
.metrics span { font-size: clamp(13px, 1.6vh, 14.5px); color: var(--c-muted); }
.result__media { position: relative; display: flex; justify-content: flex-end; align-items: center; }
.result__glow {
  position: absolute; inset: 10% -10% 5% 5%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91,30,196,.55), transparent 65%); filter: blur(40px); z-index: 0;
}
.ph--report {
  position: relative; z-index: 1; width: min(100%, 720px); aspect-ratio: 4 / 3; border-radius: 22px;
  border: 1px solid rgba(163,85,255,.35); box-shadow: 0 50px 100px -40px rgba(91,30,196,.75), 0 0 0 1px rgba(255,255,255,.04) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center;
  transition: transform .9s var(--ease);
}
.result__media:hover .ph--report { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
@media (min-width: 901px) {
  .result-section { height: 100svh; min-height: 640px; box-sizing: border-box; padding: clamp(48px, 7vh, 80px) 0; display: flex; align-items: center; scroll-snap-align: start; }
  .result-section > .container { width: min(var(--container), 100% - var(--gutter) * 2); }
  .result-section .h2 { font-size: clamp(32px, 4.6vh, 52px); }
  .result-section .promise { font-size: clamp(16px, 2vh, 21px); }
  .ph--report { height: min(64vh, 560px); aspect-ratio: auto; width: 100%; }
}
@media (max-width: 900px) { .result { grid-template-columns: 1fr; } .ph--report { transform: none; } .result__media:hover .ph--report { transform: none; } }
@media (max-width: 480px) { .metrics { grid-template-columns: 1fr; } }

/* ==========================================================================
   IF WELLNESS CLUB — uma tela, logo em destaque, colagem de fotos
   ========================================================================== */
.wellness-section { overflow: hidden; }
.wellness { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.wellness__logo { width: min(45%, 150px); height: auto; margin-bottom: clamp(14px, 2.2vh, 22px); }
.wellness__text .h2 { font-size: clamp(30px, 4.2vh, 46px); }
.wellness__text .body { margin-top: 18px; font-size: clamp(15px, 1.8vh, 17px); }
.wellness__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(20px, 3.2vh, 30px); }
.wellness__lists p { font-size: 14px; color: var(--c-muted); }
.wellness__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: clamp(22px, 3.6vh, 34px); }
.wellness__cta .btn svg { width: 18px; height: 18px; }
.wellness__hint { font-size: 13px; color: var(--c-muted); }

.collage { position: relative; height: min(76vh, 700px); }
.collage__item { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(91,30,196,.45); transition: transform .8s var(--ease); }
.collage__item--a { left: 0; top: 6%; width: 54%; height: 78%; z-index: 1; }
.collage__item--b { right: 0; top: 0; width: 42%; height: 46%; z-index: 2; }
.collage__item--c { right: 6%; bottom: 0; width: 46%; height: 48%; z-index: 3; }
.collage:hover .collage__item--a { transform: translateY(-6px); }
.collage:hover .collage__item--b { transform: translateY(8px); }
.collage:hover .collage__item--c { transform: translateY(-10px); }
@media (min-width: 901px) {
  .wellness-section { height: 100svh; min-height: 680px; box-sizing: border-box; padding: clamp(48px, 7vh, 80px) 0; display: flex; align-items: center; scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .wellness { grid-template-columns: 1fr; }
  .collage { height: 420px; }
  .wellness__logo { width: min(45%, 130px); }
}
@media (max-width: 480px) { .wellness__lists { grid-template-columns: 1fr; } .collage { height: 340px; } }

/* ==========================================================================
   SUSTENTABILIDADE — uma tela, título em 2 linhas, contador à direita
   ========================================================================== */
.section--green { overflow: hidden; background: var(--c-deep); }
.green__bg { z-index: 0; opacity: .35; }
.section--green::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--c-deep) 35%, rgba(28,10,58,.55)); }
.green { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.green__text .pill { margin-bottom: 18px; }
.green__text .h2 { font-size: clamp(30px, 3.6vw, 52px); }
.green__text .body { margin-top: 22px; }
.nowrap { white-space: nowrap; }
.green__kpi { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 10px; justify-self: end; }
.green__kpi .kpi__num--xl { font-size: clamp(88px, 11vw, 160px); font-variant-numeric: tabular-nums; }
.green__kpi .kpi__lbl { font-size: 18px; color: var(--c-text); }
.green__updated { font-size: 12.5px; color: var(--c-muted); }
@media (min-width: 901px) {
  .section--green { height: 100svh; min-height: 600px; box-sizing: border-box; padding: clamp(48px, 7vh, 80px) 0; display: flex; align-items: center; scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .green { grid-template-columns: 1fr; }
  .green__kpi { align-items: flex-start; text-align: left; justify-self: start; }
  .nowrap { white-space: normal; }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.section--cta { background: var(--grad-diag); overflow: hidden; }
.section--cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 40px 40px;
  mask-image: linear-gradient(to left, rgba(0,0,0,.9), transparent 60%); -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.9), transparent 60%);
  pointer-events: none;
}
.cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; color: #fff; }
.cta .h2 { color: #fff; }
.cta .body { color: rgba(255,255,255,.82); margin-top: 24px; max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta__symbol { display: grid; place-items: center; }
.cta__symbol svg { width: clamp(140px, 18vw, 240px); height: auto; fill: #fff; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta__symbol { order: -1; justify-content: flex-start; } .cta__symbol svg { width: 120px; } }
@media (max-width: 560px) { .cta__actions .btn { width: 100%; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(64px, 8vw, 100px) 0 40px; background: var(--c-black); border-top: 1px solid var(--c-line); text-align: center; }
.footer__closing { font-family: var(--f-head); font-weight: 800; font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -.01em; }
.footer__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; margin-top: 30px; font-size: 16px; }
.footer__contacts li { display: inline-flex; align-items: center; }
.footer__contacts li + li::before { content: '·'; margin: 0 14px; color: var(--c-muted); }
.footer__contacts a { transition: color .2s; }
.footer__contacts a:hover { color: var(--c-lilac); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--c-line); }
.footer__logo img { height: 40px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; font-family: var(--f-head); font-weight: 700; font-size: 14.5px; }
.footer__nav a:hover { color: var(--c-lilac); }
.footer__legal { margin-top: 36px; font-size: 12px; color: var(--c-muted); }
.footer__copy { margin-top: 8px; font-size: 12px; color: var(--c-muted); }
@media (max-width: 640px) {
  .footer__contacts { flex-direction: column; }
  .footer__contacts li + li::before { display: none; }
  .footer__bottom { flex-direction: column; align-items: center; }
}

/* ==========================================================================
   MODAL DE VÍDEO (fallback em tela cheia quando o Fullscreen API não existe)
   ========================================================================== */
.modal {
  border: 0; padding: 0; margin: 0; background: #000; max-width: none; max-height: none;
  width: 100vw; height: 100svh; color: var(--c-off);
}
.modal::backdrop { background: #000; }
.modal__close {
  position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  font-size: 28px; line-height: 1; background: rgba(251,247,255,.12); color: #fff; z-index: 2;
}
.modal__close:hover { background: var(--c-purple); }
.modal__title {
  position: fixed; top: 26px; left: 24px; right: 80px; z-index: 2;
  font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--c-lilac);
}
.modal__player { position: absolute; inset: 0; background: #000; }
.modal__player video { width: 100%; height: 100%; object-fit: contain; }
.modal__missing {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px;
  text-align: center; padding: 24px; color: var(--c-muted); font-size: 16px;
}
.modal__missing span { font-size: 12px; color: var(--c-lilac); word-break: break-all; }

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .06s; }
.js .reveal:nth-child(3) { transition-delay: .12s; }
.js .reveal:nth-child(4) { transition-delay: .18s; }
.js .reveal:nth-child(5) { transition-delay: .24s; }
.js .reveal:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__track, .cta__symbol svg { animation: none !important; }
}
