/* =========================================================
   Jamile Oliveira: UGC Creator
   Sistema visual: creme + vinho sobre tons quentes de café.
   Pares tipográficos (inspirados nas referências):
   A  Montserrat bold + Mrs Saint Delafield   (Shoika + Signature)
   B  Cormorant + Great Vibes                 (True Fate + Symphony)
   C  Gloock + Montserrat espaçada            (Glifta + Montserrat)
   ========================================================= */

:root {
  --cream: #ffffff;
  --cream-2: #ffffff;
  --cream-3: #a9c7ff;
  --wine: #3157d5;
  --wine-2: #a9c7ff;
  --wine-deep: #1d3a9e;
  --espresso: #142b5f;
  --cocoa: #111111;
  --tan: #c9a227;
  --ink: #142b5f;
  --muted-dark: rgba(255,255,255, .72);
  --muted-light: rgba(20,43,95, .7);

  --f-sans: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-display: "Gloock", Georgia, serif;
  --f-script: "Great Vibes", cursive;
  --f-sign: "Mrs Saint Delafield", cursive;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --radius: 1.25rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: clamp(.98rem, .94rem + .2vw, 1.08rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--espresso);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; position: relative; z-index: 2; }
.center { text-align: center; margin-inline: auto; }
.narrow { max-width: 42rem; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 999; background: var(--wine); color: var(--cream); padding: .6rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

/* ---------- Temas de seção ---------- */
.theme-dark  { --bg: var(--espresso); --fg: var(--cream); --muted: var(--muted-dark); --line: rgba(255,255,255,.16); --card: rgba(255,255,255,.05); }
.theme-light { --bg: var(--cream-2);  --fg: var(--ink);   --muted: var(--muted-light); --line: rgba(20,43,95,.14); --card: #fff; }
.theme-cream { --bg: var(--cream);    --fg: var(--ink);   --muted: var(--muted-light); --line: rgba(20,43,95,.16); --card: var(--cream-2); }
.theme-wine  { --bg: var(--wine-deep);--fg: var(--cream); --muted: var(--muted-dark); --line: rgba(255,255,255,.2); --card: rgba(0,0,0,.15); }
[class*="theme-"] { background: var(--bg); color: var(--fg); position: relative; }

.section { padding-block: var(--section-y); overflow: hidden; }

.bg-blur {
  position: absolute; inset: -12% -4%;
  background-size: cover; background-position: center;
  filter: saturate(1.1);
  z-index: 0;
}
.bg-blur::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(13,28,66,.2), rgba(13,28,66,.82) 75%),
    linear-gradient(180deg, rgba(13,28,66,.55), rgba(13,28,66,.75));
}
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia base ---------- */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--wine-2); display: inline-flex; align-items: center; gap: .8rem;
}
.theme-light .eyebrow, .theme-cream .eyebrow { color: var(--wine); }

.lead { font-family: var(--f-serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; font-weight: 500; color: var(--fg); }
p { color: var(--muted); }
p em { color: var(--fg); font-family: var(--f-serif); font-size: 1.12em; }
.accent { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.45; color: var(--fg); border-left: 2px solid var(--wine-2); padding-left: 1.2rem; }

/* ---------- Títulos em dupla (o coração do visual) ---------- */
.duo { display: flex; flex-direction: column; font-weight: 400; line-height: .9; position: relative; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.duo .a, .duo .b { display: block; }
.duo .b {
  color: var(--wine-2);
  clip-path: inset(-120% 100% -120% -60%);
  transition: clip-path 1.6s var(--ease-in-out) .35s;
}
.theme-light .duo .b, .theme-cream .duo .b { color: var(--wine); }
.duo.is-in .b { clip-path: inset(-120% -60% -120% -60%); }
.duo.center { align-items: center; }

/* A: Shoika + Signature */
.duo--sign .a { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.045em; font-size: clamp(3.2rem, 1.8rem + 6.5vw, 7.6rem); color: var(--fg); }
.duo--sign .b { font-family: var(--f-sign); font-size: clamp(4rem, 2rem + 8vw, 9.5rem); line-height: .7; margin-top: -.34em; margin-left: .55em; transform: rotate(-5deg); padding-bottom: .15em; }
.duo--sign.center .b { margin-left: .8em; }
.duo--sign.big .a { font-size: clamp(3rem, 1.5rem + 7.5vw, 8.5rem); }
.duo--sign.big .b { margin-top: -.12em; margin-left: 2.4em; }

/* B: True Fate + Symphony */
.duo--symph { padding-top: .4em; }
.duo--symph .a { font-family: var(--f-serif); font-weight: 500; font-style: italic; font-size: clamp(1.7rem, 1.2rem + 2vw, 3.2rem); color: var(--fg); position: relative; z-index: 2; margin-left: 4%; text-shadow: 0 0 .3em var(--bg), 0 0 .12em var(--bg), 0 0 .6em var(--bg); }
.duo--symph.center .a { margin-left: 0; margin-right: 38%; }
.duo--symph .b { font-family: var(--f-script); font-size: clamp(4.4rem, 2rem + 10vw, 11.5rem); line-height: .85; margin-top: -.22em; padding: 0 .12em .12em; }
.duo--symph.small .b { font-size: clamp(3.4rem, 2rem + 5vw, 6.5rem); }
.duo--symph.small .a { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); }

/* C: Glifta + Montserrat */
.duo--glifta .a { font-family: var(--f-display); font-size: clamp(3.6rem, 1.8rem + 7.5vw, 8.4rem); line-height: .9; color: var(--wine); letter-spacing: -.01em; }
.duo--glifta .b {
  font-family: var(--f-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1rem, .6rem + 2vw, 2.25rem); letter-spacing: .16em; line-height: 1.2;
  color: var(--cream-2); margin-top: .15em;
  text-shadow: .07em .07em 0 var(--ink);
  -webkit-text-stroke: .5px var(--ink);
}
.duo--glifta.on-wine .a { color: var(--cream); }
.duo--glifta.on-wine .b { color: var(--cream); text-shadow: .07em .07em 0 var(--espresso); -webkit-text-stroke: 0; }

/* ---------- Botões ---------- */
.btn {
  --pad: 1.05rem 2rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad); border-radius: 999px; text-decoration: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine::before { background: var(--cream); }
.btn-wine:hover { color: var(--wine); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn-sm { --pad: .75rem 1.3rem; font-size: .66rem; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--wine-deep); color: var(--cream);
  transition: transform 1.1s var(--ease-in-out);
}
.loader-inner { text-align: center; }
.loader-sign {
  display: block; font-family: var(--f-sign); font-size: clamp(5rem, 16vw, 11rem); line-height: 1; padding: 0 .2em;
  clip-path: inset(-120% 100% -120% -60%); animation: write 1.4s var(--ease-in-out) .2s forwards;
}
.loader-sub { display: block; font-size: .7rem; letter-spacing: .5em; text-transform: uppercase; opacity: 0; animation: fade .8s ease 1.2s forwards; }
.loader.is-done { transform: translateY(-100%); }
@keyframes write { to { clip-path: inset(-120% -60% -120% -60%); } }
@keyframes fade { to { opacity: .8; } }

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wine), var(--wine-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; padding-block: 1.1rem;
  transition: transform .6s var(--ease), background .4s ease, padding .4s ease, box-shadow .4s ease;
  color: var(--cream);
}
.nav.is-scrolled { background: rgba(13,28,66,.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-block: .7rem; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine); color: var(--cream); font-family: var(--f-display); font-size: 1.2rem; line-height: 1;
}
.brand-name { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 500; letter-spacing: .01em; }
.brand-name em { font-family: var(--f-script); font-style: normal; color: var(--wine-2); font-size: 1.4em; margin-left: .1em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { position: relative; text-decoration: none; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; transition: opacity .3s; padding-block: .3rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--wine-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--wine-deep); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 2.6rem) 2.4rem); transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-mobile.is-open { clip-path: circle(150% at calc(100% - 2.6rem) 2.4rem); visibility: visible; }
.menu-mobile nav { display: flex; flex-direction: column; gap: .4rem; }
.menu-mobile a {
  font-family: var(--f-display); font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.15; text-decoration: none;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(1.5rem); transition: opacity .5s ease, transform .6s var(--ease);
}
.menu-mobile a small { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .2em; opacity: .6; }
.menu-mobile.is-open a { opacity: 1; transform: none; }
.menu-mobile.is-open a:nth-child(1) { transition-delay: .25s; }
.menu-mobile.is-open a:nth-child(2) { transition-delay: .31s; }
.menu-mobile.is-open a:nth-child(3) { transition-delay: .37s; }
.menu-mobile.is-open a:nth-child(4) { transition-delay: .43s; }
.menu-mobile.is-open a:nth-child(5) { transition-delay: .49s; }
.menu-sign { font-family: var(--f-sign); font-size: 3.4rem; color: var(--wine-2); margin-top: 2.5rem; opacity: .9; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 7.5rem 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-title { display: flex; flex-direction: column; font-weight: 400; margin: 1.2rem 0 .4rem; }
.ht-a { font-family: var(--f-display); font-size: clamp(4.6rem, 2rem + 11vw, 11.5rem); line-height: .82; color: var(--cream); letter-spacing: -.015em; }
.ht-a .char { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1.1s var(--ease), opacity .8s ease; transition-delay: calc(.35s + var(--i) * .06s); }
.ht-a .char-wrap { display: inline-block; overflow: hidden; padding: .12em .04em .32em; margin: -.12em -.04em -.32em; vertical-align: top; }
body.hero-done .ht-a .char-wrap { overflow: visible; }
.ht-b {
  font-family: var(--f-script); font-size: clamp(3.6rem, 1.6rem + 7vw, 8rem); color: var(--wine-2); line-height: .8;
  margin: -.32em 0 0 .9em; transform: rotate(-4deg); padding: .05em .15em .1em;
  clip-path: inset(-120% 100% -120% -60%); transition: clip-path 1.6s var(--ease-in-out) .85s;
}
.ht-c { font-size: .78rem; font-weight: 600; letter-spacing: .5em; text-transform: uppercase; color: var(--cream); margin: .6rem 0 1.8rem .3em; }
.hero-lead { max-width: 34rem; font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-in { opacity: 0; transform: translateY(1.6rem); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }

body.is-ready .ht-a .char { transform: none; opacity: 1; }
body.is-ready .ht-b { clip-path: inset(-120% -60% -120% -60%); }
body.is-ready .hero-in { opacity: 1; transform: none; }

.hero-media { position: relative; justify-self: center; width: min(100%, 26rem); }
.arch { position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3 / 4.1; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.06); }
.hero-media .arch { outline: 1px solid rgba(255,255,255,.25); outline-offset: 10px; }
.badge-wrap { position: absolute; width: 8.5rem; aspect-ratio: 1; left: -3.2rem; bottom: 12%; z-index: 3; border-radius: 50%; background: var(--wine); box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); display: grid; place-items: center; }
.badge-wrap .badge-j { font-family: var(--f-script); font-size: 3rem; line-height: 1; color: var(--cream); translate: 0 .08em; }
.badge-rotate {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: var(--cream); font-family: var(--f-sans); font-size: 13px; font-weight: 600; text-transform: uppercase;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; z-index: 3; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.28); color: var(--cream);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 10%; right: -1.8rem; }
.chip-2 { top: 44%; right: -2.6rem; animation-delay: -2s; }
.chip-3 { top: 26%; left: -2.2rem; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; z-index: 3; width: 1.5rem; height: 2.4rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; translate: -50% 0; }
.scroll-cue span { position: absolute; left: 50%; top: .45rem; width: 3px; height: .5rem; margin-left: -1.5px; border-radius: 3px; background: var(--cream); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(.9rem); } }

/* ---------- Faixa ---------- */
.marquee { background: var(--wine); color: var(--cream); overflow: hidden; padding-block: 1.2rem; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; white-space: nowrap; }
.marquee em { font-family: var(--f-script); font-style: normal; font-size: clamp(2.1rem, 1.6rem + 2vw, 3.3rem); line-height: 1; white-space: nowrap; color: var(--cream-3); }
.marquee i { font-style: normal; font-size: .9rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal genérico ---------- */
[data-reveal] { opacity: 0; transform: translateY(2.2rem); transition: opacity 1s ease, transform 1.2s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.duo[data-reveal] { transform: none; opacity: 1; }
.duo[data-reveal] .a { opacity: 0; transform: translateY(40%); transition: opacity .9s ease, transform 1.2s var(--ease); }
.duo--symph[data-reveal] .a { transition-delay: .1s; }
.duo[data-reveal].is-in .a { opacity: 1; transform: none; }

/* A máscara fica na imagem interna: o Chrome ignora alvos 100% recortados no IntersectionObserver */
[data-reveal="img"] { opacity: 1; transform: none; overflow: hidden; }
[data-reveal="img"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-in-out), transform 1.8s var(--ease); }
[data-reveal="img"].is-in img { clip-path: inset(0 0 0 0); transform: scale(1.02); }

/* ---------- História ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.story-head { position: sticky; top: 7rem; }
.story-head .lead { max-width: 30rem; }
.quote { margin: 2.5rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line); }
.quote p { font-family: var(--f-script); font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.15; color: var(--wine); }

.timeline { position: relative; padding-left: 4.2rem; display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-block: 1rem; }
.tl-line { position: absolute; left: 1.35rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--line); }
.tl-line span { position: absolute; inset: 0; background: var(--wine); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; }
.tl-num {
  position: absolute; left: -4.2rem; top: -.2rem; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream-2); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--wine);
  transition: background .5s, color .5s, border-color .5s;
}
.tl-item.is-lit .tl-num { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.tl-item h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.1; margin-bottom: .6rem; }
.tl-item p { max-width: 28rem; }

/* ---------- Maternidade ---------- */
.mat-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.arch-lg { aspect-ratio: 3 / 4.3; position: sticky; top: 7rem; }
.arch-lg img { transform: scale(1.02); }
.mat-copy { display: grid; gap: 1.3rem; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 1.8rem; }
.mosaic figure { aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: 1rem; }
.mosaic figure:nth-child(even) { margin-top: 2.5rem; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Fitness ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.fit-copy { display: grid; gap: 1.2rem; }
.fit-copy .duo { margin-bottom: 1rem; }
.words { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: .8rem; }
.words li { font-family: var(--f-script); font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem); color: var(--wine); line-height: 1.1; }
.words li + li::before { content: "✦"; font-family: var(--f-sans); font-size: .8rem; color: var(--tan); margin-right: 1.4rem; vertical-align: middle; }
.fit-media { position: relative; min-height: 34rem; }
.fit-media figure { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20,43,95,.55); }
.fit-media img { width: 100%; height: 100%; object-fit: cover; }
.fit-1 { width: 64%; aspect-ratio: 3/4; top: 0; left: 0; }
.fit-2 { width: 48%; aspect-ratio: 3/4; right: 0; bottom: 0; border: 8px solid var(--cream); }
.fit-stamp {
  position: absolute; right: 8%; top: 6%; width: 7rem; height: 7rem; border-radius: 50%;
  display: grid; place-items: center; text-align: center; background: var(--wine); color: var(--cream);
  font-family: var(--f-script); font-size: 1.9rem; line-height: .9; transform: rotate(-10deg);
  box-shadow: 0 20px 40px -15px rgba(29,58,158,.6);
}

/* ---------- Universo ---------- */
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.split .duo { margin-bottom: 0; }
.section-head.split .lead { max-width: 22rem; padding-bottom: 1rem; }
.uni-list { border-top: 1px solid var(--line); }
.uni-list li {
  position: relative; display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem;
  padding: 1.5rem .5rem; border-bottom: 1px solid var(--line); cursor: default; isolation: isolate;
}
.uni-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wine), var(--wine-deep)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.uni-list li:hover::before { transform: scaleY(1); }
.u-n { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--wine-2); transition: color .4s; }
.u-t { font-family: var(--f-display); font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3.4rem); line-height: 1.05; transition: transform .6s var(--ease); }
.u-d { font-size: .9rem; color: var(--muted); max-width: 18rem; text-align: right; transition: color .4s; }
.uni-list li:hover .u-t { transform: translateX(1.2rem); }
.uni-list li:hover .u-n, .uni-list li:hover .u-d { color: var(--cream); }
.uni-float {
  position: fixed; left: 0; top: 0; width: 15rem; aspect-ratio: 3/4; z-index: 50; pointer-events: none;
  border-radius: 1rem; overflow: hidden; opacity: 0; scale: .6; rotate: -6deg;
  transition: opacity .35s ease, scale .5s var(--ease), rotate .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.uni-float.is-on { opacity: 1; scale: 1; rotate: 4deg; }
.uni-float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Portfólio ---------- */
.sub-head { display: flex; align-items: center; gap: 1.2rem; margin: 1rem 0 2.2rem; flex-wrap: wrap; }
.sub-head .rule { flex: 1; height: 1px; background: var(--line); min-width: 3rem; }
.sub-note { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.phones-2 { grid-template-columns: repeat(2, minmax(0, 20rem)); justify-content: center; margin-bottom: 0; }
.phone-card { text-align: center; }
.phone-card:nth-child(2) { transition-delay: .12s; }
.phone-card:nth-child(3) { transition-delay: .24s; }
.phone {
  position: relative; display: block; aspect-ratio: 9 / 16; max-width: 20rem; margin: 0 auto 1.3rem;
  border-radius: 2.2rem; overflow: hidden; background: var(--espresso);
  border: 7px solid var(--espresso); box-shadow: 0 40px 70px -35px rgba(20,43,95,.7), inset 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s;
  text-decoration: none;
}
.phone::before { content: ""; position: absolute; top: .55rem; left: 50%; width: 32%; height: 1.1rem; translate: -50% 0; background: var(--espresso); border-radius: 999px; z-index: 3; }
.phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,28,66,.1) 40%, rgba(13,28,66,.75)); z-index: 1; transition: opacity .5s; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 1.6rem; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.phone:hover img { transform: scale(1.06); filter: saturate(1.1); }
.phone .tag {
  position: absolute; left: 1rem; bottom: 1.1rem; z-index: 2; padding: .35rem .8rem; border-radius: 999px;
  background: var(--wine); color: var(--cream); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 4.2rem; height: 4.2rem; translate: -50% -50%; border-radius: 50%; background: rgba(255,255,255,.9); }
.play::before { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: .6rem 0 .6rem 1rem; border-color: transparent transparent transparent var(--wine); }
.play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.phone-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.phone-card p { font-size: .9rem; max-width: 18rem; margin: .3rem auto 0; }

/* ---------- Gabriel (scroll horizontal) ---------- */
.gab { position: relative; }
.gab-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.gab-track { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding-inline: max(var(--gutter), calc((100vw - 1240px) / 2)); will-change: transform; position: relative; z-index: 2; }
.gab-intro { flex: 0 0 min(30rem, 80vw); }
.gab-intro p { max-width: 24rem; }
.gab-hint { display: inline-flex; gap: .6rem; margin-top: 2rem; font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.gab-hint i { font-style: normal; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(.5rem); } }
.gab-card { flex: 0 0 clamp(15rem, 24vw, 21rem); aspect-ratio: 3 / 4.2; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.gab-card.up { transform: translateY(-8%); }
.gab-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gab-card:hover img { transform: scale(1.06); }
.gab-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.2rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(13,28,66,.8));
  font-family: var(--f-script); font-size: 2rem; line-height: 1; color: var(--cream);
}
.gab-end { flex: 0 0 auto; padding-inline: 2rem 4rem; display: flex; flex-direction: column; }
.gab-end .script { font-family: var(--f-sign); font-size: clamp(3rem, 5vw, 5rem); line-height: .9; color: var(--cream-3); }
.gab-end-t { font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; color: var(--cream); margin-left: 1.5rem; }

/* ---------- Formatos ---------- */
.formats .lead { margin-bottom: 3rem; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; max-width: 62rem; margin-inline: auto; }
.pills li {
  padding: .95rem 1.5rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: .86rem; font-weight: 500; color: var(--ink); cursor: default;
  opacity: 0; transform: translateY(1rem) scale(.92);
  transition: opacity .6s ease, transform .7s var(--ease), background .35s, color .35s, border-color .35s;
  transition-delay: calc(var(--i, 0) * 45ms), calc(var(--i, 0) * 45ms), 0s, 0s, 0s;
}
.pills li:nth-child(3n+2) { font-family: var(--f-serif); font-style: italic; font-size: 1.12rem; padding-block: .78rem; }
.pills li:nth-child(4n+1) { background: var(--cream); }
.pills.is-in li { opacity: 1; transform: none; }
.pills li:hover { background: var(--wine); color: var(--cream); border-color: var(--wine); transform: translateY(-3px) rotate(-1.5deg); transition-delay: 0s; }

/* ---------- Para marcas ---------- */
.manifesto {
  font-family: var(--f-serif); font-weight: 500; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.08;
  color: var(--cream); max-width: 60rem; margin: 1.5rem 0 3rem; letter-spacing: -.01em;
}
.manifesto em { font-family: var(--f-script); font-style: normal; color: var(--wine-2); font-size: 1.25em; line-height: .8; }
.manifesto .w { opacity: 1; }
.brand-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; max-width: 58rem; margin-left: auto; }
.brand-copy .btn { justify-self: start; margin-top: .6rem; }
.diff-head { margin-top: clamp(5rem, 10vw, 8rem); }
.diffs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.diff { position: relative; padding: 2.4rem 2rem 2.6rem; background: var(--espresso); overflow: hidden; isolation: isolate; transition-delay: calc(var(--i, 0) * 80ms); }
.diff::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(49,87,213,.55), transparent 60%); opacity: 0; transition: opacity .5s; }
.diff:hover::before { opacity: 1; }
.d-n { font-family: var(--f-display); font-size: 3rem; line-height: 1; color: var(--wine-2); display: block; margin-bottom: 1.4rem; }
.diff h4 { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--cream); margin-bottom: .5rem; }
.diff p { font-size: .92rem; }

/* ---------- Família ---------- */
.fam-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.fam-photo { aspect-ratio: 3 / 4.2; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20,43,95,.6); }
.fam-photo img { width: 100%; height: 100%; object-fit: cover; }
.fam-copy { display: grid; gap: 1.4rem; }
.fam-copy .duo { margin-bottom: .6rem; }
.fam-copy .duo--symph .a { margin-left: 2%; }

/* ---------- Contato ---------- */
.contact { padding-block: clamp(6rem, 12vw, 11rem); }
.contact .lead { margin-bottom: 3.5rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: .3rem; padding: 2rem 1.8rem 2.2rem; text-decoration: none;
  border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.c-card:nth-child(2) { transition-delay: .1s; }
.c-card:nth-child(3) { transition-delay: .2s; }
a.c-card:hover { transform: translateY(-6px); background: var(--wine); border-color: var(--wine); }
.c-ico { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--wine); margin-bottom: 1.2rem; transition: background .4s; }
a.c-card:hover .c-ico { background: var(--cream); }
.c-ico svg { width: 1.25rem; height: 1.25rem; fill: var(--cream); transition: fill .4s; }
a.c-card:hover .c-ico svg { fill: var(--wine); }
.c-label { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.c-value { font-family: var(--f-serif); font-size: 1.55rem; font-weight: 500; line-height: 1.2; }
.c-sub { font-size: .88rem; color: var(--muted); }
.c-arrow { position: absolute; right: 1.6rem; top: 1.8rem; font-size: 1.3rem; transition: transform .5s var(--ease); }
a.c-card:hover .c-arrow { transform: translate(4px, -4px); }

/* ---------- Rodapé ---------- */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer-sign {
  font-family: var(--f-sign); font-size: clamp(4.5rem, 2rem + 12vw, 13rem); line-height: 1; color: var(--wine-2); text-align: center; padding: .1em .2em .2em;
}
.footer-sign[data-reveal] { opacity: 1; transform: none; }
.footer-sign span { display: inline-block; clip-path: inset(-120% 100% -120% -60%); transition: clip-path 2.2s var(--ease-in-out) .2s; }
.footer-sign.is-in span { clip-path: inset(-120% -60% -120% -60%); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.to-top { text-decoration: none; transition: color .3s; }
.to-top:hover { color: var(--wine-2); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 2.8rem; height: 2.8rem; border-radius: 50%;
    background: var(--wine); border: 0; cursor: pointer; position: relative; z-index: 101;
  }
  .nav-toggle span { display: block; width: 1.1rem; height: 1.5px; background: var(--cream); transition: transform .5s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .brand-copy { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding-top: 6.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-media { order: 1; width: min(78%, 20rem); margin-top: 1rem; }
  .badge-wrap { position: absolute; width: 8.5rem; aspect-ratio: 1; left: -3.2rem; bottom: 12%; z-index: 3; border-radius: 50%; background: var(--wine); box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); display: grid; place-items: center; }
.badge-wrap .badge-j { font-family: var(--f-script); font-size: 3rem; line-height: 1; color: var(--cream); translate: 0 .08em; }
.badge-wrap { width: 6.2rem; left: -1.8rem; } .badge-wrap .badge-j { font-size: 2.2rem; }
  .chip { font-size: .6rem; padding: .4rem .8rem; }
  .chip-1 { right: -1rem; } .chip-2 { right: -1.4rem; } .chip-3 { left: -1.2rem; top: 58%; }

  .story-grid, .mat-grid, .fit-grid, .fam-grid { grid-template-columns: 1fr; }
  .story-head, .arch-lg { position: relative; top: 0; }
  .arch-lg { max-width: 24rem; width: 100%; margin-inline: auto; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic figure:nth-child(even) { margin-top: 0; }
  .mosaic figure:nth-child(2n) { transform: translateY(1.5rem); }
  .fit-media { min-height: 0; aspect-ratio: 1 / 1.05; }
  .fam-photo { max-width: 22rem; width: 100%; margin-inline: auto; }

  .uni-list li { grid-template-columns: 2.5rem 1fr; gap: .3rem 1rem; padding-block: 1.3rem; }
  .u-d { grid-column: 2; text-align: left; }

  .phones { grid-template-columns: 1fr; gap: 3rem; }
  .phones-2 { grid-template-columns: 1fr; }
  .phone { max-width: 17rem; }

  /* Gabriel: vira carrossel nativo com swipe no mobile */
  .gab { height: auto !important; }
  .gab-sticky { position: relative; height: auto; padding-block: var(--section-y); }
  .gab-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: none; flex-wrap: nowrap; align-items: stretch; }
  .gab-track::-webkit-scrollbar { display: none; }
  .gab-intro { flex-basis: 82vw; scroll-snap-align: start; align-self: center; }
  .gab-card { flex-basis: 70vw; scroll-snap-align: center; }
  .gab-card.up { transform: none; }
  .gab-end { scroll-snap-align: end; justify-content: center; }

  .diffs, .contact-cards { grid-template-columns: 1fr; }
  .section-head.split .lead { padding-bottom: 0; }
}

@media (max-width: 480px) {
  .duo--sign .b { font-size: 5.2rem; margin-top: -.28em; }
  .duo--sign.big .b { margin-top: -.1em; margin-left: 1.6em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-name { font-size: 1.05rem; }
  .mosaic { gap: .6rem; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .loader { display: none; }
  [data-speed] { transform: none !important; }
}

/* =========================================================
   Versão em páginas: cada item do menu abre sua própria tela
   ========================================================= */
.page[hidden] { display: none; }
.nav-links a.is-active { opacity: 1; }
.menu-mobile a.is-active { color: var(--wine-2); }

/* Cortina da troca de página */
.page-curtain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  display: grid; place-items: center; background: var(--wine-deep); color: var(--cream);
  transform: translateY(100%);
}
.page-curtain span { font-family: var(--f-script); font-size: clamp(3.5rem, 12vw, 8rem); line-height: 1.2; padding: 0 .3em; opacity: 0; transform: translateY(1rem); transition: opacity .4s ease, transform .6s var(--ease); }
.page-curtain.in { transform: translateY(0); transition: transform .6s var(--ease-in-out); pointer-events: auto; }
.page-curtain.in span { opacity: 1; transform: none; transition-delay: .25s; }
.page-curtain.out { transform: translateY(-100%); transition: transform .75s var(--ease-in-out); }
.page-curtain.out span { opacity: 1; transform: none; }

/* Painel "Explore meu mundo" */
.hub-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.hub-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .3rem;
  aspect-ratio: 3 / 4.4; padding: 1.3rem; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  text-decoration: none; color: var(--cream); box-shadow: 0 30px 60px -35px rgba(20,43,95,.7);
}
.hub-card:nth-child(2) { transition-delay: .08s; } .hub-card:nth-child(3) { transition-delay: .16s; }
.hub-card:nth-child(4) { transition-delay: .24s; } .hub-card:nth-child(5) { transition-delay: .32s; }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.hub-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,28,66,.05) 30%, rgba(13,28,66,.88)); transition: background .5s; }
.hub-card:hover img { transform: scale(1.08); }
.hub-card:hover::before { background: linear-gradient(180deg, rgba(29,58,158,.25) 10%, rgba(29,58,158,.92)); }
.hub-n { font-size: .68rem; font-weight: 600; letter-spacing: .2em; opacity: .75; }
.hub-t { font-family: var(--f-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.05; }
.hub-d { font-size: .82rem; line-height: 1.45; opacity: .85; }
.hub-a { position: absolute; top: 1.1rem; right: 1.2rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .5s var(--ease), background .4s; }
.hub-card:hover .hub-a { background: var(--wine); transform: rotate(-45deg); }

/* Faixa "Próxima página" */
.page-next {
  position: relative; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  padding: clamp(3rem, 7vw, 5rem) max(var(--gutter), calc((100vw - 1240px) / 2));
  background: var(--wine); color: var(--cream); text-decoration: none; overflow: hidden; isolation: isolate;
}
.page-next::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wine-deep); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.page-next:hover::before { transform: scaleX(1); }
.pn-label { flex-basis: 100%; font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: .8; }
.pn-title { font-family: var(--f-display); font-size: clamp(3rem, 1.5rem + 7vw, 7.5rem); line-height: 1.05; }
.pn-arrow { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin-left: auto; transition: transform .6s var(--ease); }
.page-next:hover .pn-arrow { transform: translateX(1rem); }

@media (max-width: 1024px) { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .hub-card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

/* Fora do início o topo pode ser claro: o menu ganha fundo escuro sempre */
body:not([data-page="inicio"]) .nav { background: rgba(13,28,66,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.page:not([data-page="inicio"]) > .section:first-child { padding-top: calc(var(--section-y) + 3rem); }

/* =========================================================
   Galeria de trabalhos: vídeos e fotos reais com filtros
   ========================================================= */
.port-lead { margin-bottom: 2.5rem; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0 auto 2.6rem; max-width: 60rem; }
.filter {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--fg);
  font: 500 .8rem/1 var(--f-sans); letter-spacing: .04em;
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.filter small { font-size: .66rem; font-weight: 600; opacity: .55; }
.filter:hover { border-color: var(--wine); transform: translateY(-2px); }
.filter.is-active { background: var(--wine); border-color: var(--wine); color: var(--cream-2); }
.filter.is-active small { opacity: .8; }

/* Vídeos */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.2rem) clamp(1rem, 2vw, 1.8rem); }
.reel { text-align: center; animation: pop .7s var(--ease) both; }
.reel.is-hidden, .photo.is-hidden { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(1.2rem) scale(.97); } }
.reels .phone { width: 100%; max-width: none; padding: 0; cursor: pointer; font: inherit; color: inherit; margin-bottom: 1rem; }
.phone .dur {
  position: absolute; right: 1rem; bottom: 1.1rem; z-index: 2; padding: .3rem .6rem; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff; font-size: .64rem; font-weight: 600; letter-spacing: .08em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.phone .preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 1.6rem; z-index: 1; opacity: 0; transition: opacity .5s ease; }
.phone .preview.is-on { opacity: 1; }
.phone:hover .play { opacity: 0; }
.play { transition: opacity .4s; }
.reel h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.reel p { font-size: .84rem; line-height: 1.5; margin: .3rem auto 0; max-width: 16rem; }

/* Fotos em mosaico */
.photos-head { margin-top: clamp(4rem, 8vw, 6.5rem); }
.photos { columns: 4 14rem; column-gap: 1rem; }
.photo { break-inside: avoid; margin-bottom: 1rem; border-radius: 1rem; overflow: hidden; animation: pop .7s var(--ease) both; box-shadow: 0 24px 50px -30px rgba(20,43,95,.6); }
.photo button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.photo img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.photo button:hover img { transform: scale(1.05); }

/* Visualizador em tela cheia */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 4.5rem clamp(.8rem, 3vw, 2.5rem) 3.5rem; background: rgba(12,8,7,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: lbIn .45s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { height: 100%; min-height: 0; display: grid; place-items: center; }
.lb-stage video, .lb-stage img {
  max-height: 100%; max-width: 100%; border-radius: 1.2rem; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  animation: lbMedia .55s var(--ease);
}
@keyframes lbMedia { from { opacity: 0; transform: scale(.94); } }
.lb-btn {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease);
}
.lb-btn:hover { background: var(--wine); border-color: var(--wine); transform: scale(1.06); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 1.1rem; text-align: center; color: rgba(255,255,255,.85); font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; }

@media (max-width: 1024px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .reels { grid-template-columns: repeat(2, 1fr); gap: 1.6rem .9rem; }
  .reels .phone { border-width: 5px; border-radius: 1.6rem; }
  .reels .phone img, .phone .preview { border-radius: 1.2rem; }
  .reels .phone::before { height: .8rem; top: .4rem; }
  .reels .play { width: 3.2rem; height: 3.2rem; }
  .reels .tag { left: .6rem; bottom: .7rem; font-size: .54rem; padding: .3rem .6rem; }
  .phone .dur { right: .6rem; bottom: .7rem; font-size: .56rem; }
  .reel h3 { font-size: 1.1rem; }
  .reel p { font-size: .78rem; }
  .photos { columns: 2; column-gap: .7rem; }
  .photo { margin-bottom: .7rem; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: .2rem var(--gutter) .6rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .lightbox { grid-template-columns: 1fr; padding: 4rem .8rem 5.5rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1rem; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
  .lb-caption { bottom: 1.9rem; padding-inline: 5rem; font-size: 1rem; }
}
.lightbox { grid-template-rows: minmax(0, 1fr); }
.lb-stage video, .lb-stage img { max-height: calc(100vh - 8rem); max-height: calc(100svh - 8rem); width: auto; }
@media (max-width: 860px) { .lb-stage video, .lb-stage img { max-height: calc(100svh - 10rem); } }

/* =========================================================
   Marcas com quem já trabalhei
   ========================================================= */
.brands { background: var(--bg-brands, var(--cream-2)); padding-block: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; position: relative; }
.brands-title { text-align: center; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); color: var(--fg-brands, var(--ink)); margin-bottom: 2.4rem; }
.brands-title em { font-family: var(--f-script); font-style: normal; font-size: 1.45em; color: var(--wine); margin-left: .1em; }
.brands-marquee { display: flex; width: max-content; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brands-track { display: flex; gap: 1rem; padding-right: 1rem; animation: marquee-brands 45s linear infinite; }
@keyframes marquee-brands { to { transform: translateX(-100%); } }
.brand-tile {
  flex: 0 0 auto; width: clamp(9.5rem, 16vw, 12.5rem); height: clamp(5.5rem, 9vw, 7rem); padding: 1rem 1.3rem;
  display: grid; place-items: center; border-radius: 1rem; background: #fff;
  box-shadow: 0 14px 34px -22px rgba(0,0,0,.45); transition: transform .5s var(--ease), box-shadow .5s;
}
.brand-tile img { max-width: 100%; max-height: clamp(3.4rem, 5.5vw, 4.6rem); object-fit: contain; filter: grayscale(1) contrast(1.35) brightness(.78); opacity: .85; transition: filter .5s, opacity .5s; }
.brand-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.55); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-text span { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.1; text-align: center; color: #2b2b2b; }
@media (prefers-reduced-motion: reduce) { .brands-marquee { width: auto; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; } .brands-track { flex-wrap: wrap; justify-content: center; } .brands-track[aria-hidden] { display: none; } }

/* Marcas em grade fixa (sem rolagem) */
.brands-marquee { width: auto; display: block; -webkit-mask-image: none; mask-image: none; }
.brands-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 0 var(--gutter); max-width: 76rem; margin: 0 auto; }
.brands-track .brand-tile { opacity: 0; transform: translateY(1rem); transition: opacity .7s ease, transform .8s var(--ease), box-shadow .5s; }
.brands.is-in .brand-tile { opacity: 1; transform: none; }
.brands.is-in .brand-tile:hover { transform: translateY(-4px); }
@media (max-width: 640px) { .brands-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; } .brand-tile { width: auto; } }
.brands.is-in .brand-tile:nth-child(1) { transition-delay: 60ms, 60ms, 0s; }
.brands.is-in .brand-tile:nth-child(2) { transition-delay: 120ms, 120ms, 0s; }
.brands.is-in .brand-tile:nth-child(3) { transition-delay: 180ms, 180ms, 0s; }
.brands.is-in .brand-tile:nth-child(4) { transition-delay: 240ms, 240ms, 0s; }
.brands.is-in .brand-tile:nth-child(5) { transition-delay: 300ms, 300ms, 0s; }
.brands.is-in .brand-tile:nth-child(6) { transition-delay: 360ms, 360ms, 0s; }
.brands.is-in .brand-tile:nth-child(7) { transition-delay: 420ms, 420ms, 0s; }
.brands.is-in .brand-tile:nth-child(8) { transition-delay: 480ms, 480ms, 0s; }
.brands.is-in .brand-tile:nth-child(9) { transition-delay: 540ms, 540ms, 0s; }
.brands.is-in .brand-tile:nth-child(10) { transition-delay: 600ms, 600ms, 0s; }
.brands.is-in .brand-tile:nth-child(11) { transition-delay: 660ms, 660ms, 0s; }

/* "reconhecida" sem cursiva: o r inicial da Great Vibes parecia cortado */
.manifesto em { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.08em; line-height: inherit; }

/* =========================================================
   Desempenho da rolagem: só transform/opacity (placa de vídeo)
   ========================================================= */
/* Revelação das fotos: uma cortina que encolhe, em vez de clip-path */
:where([data-reveal="img"]) { position: relative; }
[data-reveal="img"] img { clip-path: none; transform: scale(1.18); transition: transform 1.8s var(--ease); }
[data-reveal="img"].is-in img { clip-path: none; transform: scale(1.02); }
[data-reveal="img"]::after {
  content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none;
  background: var(--bg); transform-origin: 50% 0%; transform: scaleY(1);
  transition: transform 1.3s var(--ease-in-out);
}
[data-reveal="img"].is-in::after { transform: scaleY(0); }
/* Textura granulada sem modo de mesclagem */
.grain { mix-blend-mode: normal; opacity: .045; }
/* Fundos desfocados em camada própria */
.bg-blur { filter: none; will-change: translate; backface-visibility: hidden; }
[data-speed] { will-change: translate; }
@media (prefers-reduced-motion: reduce) { [data-reveal="img"]::after { display: none; } }

/* Entrada das fotos v3: surge com deslize e zoom suave, sem cortina */
[data-reveal="img"]::after { display: none; }
[data-reveal="img"] { opacity: 0; transform: translateY(2.5rem); transition: opacity 1s ease, transform 1.3s var(--ease); }
[data-reveal="img"].is-in { opacity: 1; transform: none; }
[data-reveal="img"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
[data-reveal="img"].is-in img { transform: scale(1.02); }
.mosaic figure:nth-child(2) { transition-delay: .08s; } .mosaic figure:nth-child(3) { transition-delay: .16s; } .mosaic figure:nth-child(4) { transition-delay: .24s; }

/* Sessão Gabriel: vídeos dele na galeria horizontal */
.gab-video { aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer; font: inherit; color: inherit; background: #000; flex-basis: clamp(14rem, 20vw, 18rem); }
.gab-video img { position: absolute; inset: 0; }
.gab-video .play { z-index: 2; }
.gab-video:hover .play { opacity: 0; }
.gab-video .dur {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; padding: .3rem .6rem; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff; font-size: .64rem; font-weight: 600; letter-spacing: .08em;
}
.gab-video .preview { border-radius: 0; z-index: 1; }
.gab-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 3rem 1.2rem 1.1rem; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.8));
  font-family: var(--f-script); font-size: 2rem; line-height: 1; color: #fff;
}
.gab-label { flex: 0 0 auto; align-self: center; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
@media (max-width: 860px) { .gab-video { flex-basis: 62vw; } .gab-label { display: none; } }

/* =========================================================
   Página Para marcas
   ========================================================= */
.pm-hero { min-height: 92vh; display: flex; align-items: center; }
.pm-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.pm-copy { display: grid; gap: 1.2rem; }
.pm-copy .duo { margin-bottom: .6rem; }
.pm-copy .hero-actions { margin-top: 1rem; }
.pm-collage { position: relative; height: clamp(26rem, 42vw, 36rem); }
.pm-card { position: absolute; width: 52%; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--cream-2); box-shadow: 0 40px 70px -30px rgba(0,0,0,.75); animation: pmFloat 7s ease-in-out infinite; }
.pm-card img { width: 100%; height: 100%; object-fit: cover; }
.pm-1 { left: 0; top: 8%; rotate: -7deg; }
.pm-2 { left: 26%; top: 0; rotate: 3deg; z-index: 2; animation-delay: -2.3s; }
.pm-3 { right: 0; top: 16%; rotate: 9deg; animation-delay: -4.6s; }
@keyframes pmFloat { 50% { transform: translateY(-12px); } }
.pm-chip {
  position: absolute; z-index: 3; padding: .55rem 1rem; border-radius: 999px; background: var(--wine); color: var(--cream-2);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
  animation: float 6s ease-in-out infinite;
}
.pm-c1 { left: -4%; bottom: 14%; } .pm-c2 { right: 4%; bottom: 4%; animation-delay: -2s; } .pm-c3 { right: -2%; top: 2%; animation-delay: -4s; }
.pm-hero .pm-card { opacity: 0; translate: 0 3rem; transition: opacity 1s ease, translate 1.2s var(--ease); }
body.is-ready .pm-hero .pm-card, .pm-hero.is-on .pm-card { opacity: 1; translate: 0 0; }
.pm-2 { transition-delay: .12s !important; } .pm-3 { transition-delay: .24s !important; }
.pm-diffs .diff-head { margin-top: 0; }
.pm-cta { margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(1.8rem, 4vw, 2.6rem) clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: linear-gradient(120deg, var(--wine), var(--wine-deep)); }
.pm-cta p { font-family: var(--f-serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.25; color: var(--cream-2); max-width: 34rem; }
.pm-cta .btn-wine { background: var(--cream-2); color: var(--wine); }
.pm-cta .btn-wine::before { background: var(--espresso); }
.pm-cta .btn-wine:hover { color: var(--cream-2); }
.visao .manifesto { margin-bottom: 0; }
@media (max-width: 860px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pm-collage { height: 24rem; max-width: 26rem; width: 100%; margin: 1rem auto 0; }
}

/* Para marcas: título sem sobrepor o "r" e colagem com Jamile em destaque */
.pm-copy .duo--sign .b { margin-top: -.02em; margin-left: .7em; }
.pm-collage { height: clamp(28rem, 44vw, 38rem); }
.pm-card { width: 42%; }
.pm-left { left: 0; top: 18%; rotate: -8deg; z-index: 1; }
.pm-right { right: 0; top: 12%; rotate: 8deg; z-index: 1; animation-delay: -3.5s; }
.pm-main { width: 50%; left: 25%; top: 0; rotate: 0deg; z-index: 3; animation-delay: -1.6s; box-shadow: 0 50px 90px -30px rgba(0,0,0,.85); }
.pm-main { transition-delay: 0s !important; } .pm-left { transition-delay: .12s !important; } .pm-right { transition-delay: .24s !important; }
.pm-c1 { left: -2%; bottom: 8%; top: auto; right: auto; } .pm-c2 { right: -2%; bottom: 14%; top: auto; left: auto; } .pm-c3 { left: 50%; translate: -50% 0; top: auto; bottom: -2%; right: auto; }
@media (max-width: 860px) { .pm-collage { height: 26rem; } .pm-c3 { bottom: -4%; } }

/* =========================================================
   Identidade azul: acentos de personalidade e detalhes joia
   ========================================================= */
:root { --royal: #3157d5; --sky: #a9c7ff; --navy: #142b5f; --purple: #1d3a9e; --ruby: #c92a3d; --gold: #c9a227; --ice: #eef3ff; }

.theme-cream { --bg: var(--ice); }
.loader { background: var(--royal); }

/* Cursivas: roxo e rubi no claro, azul céu no escuro */
.theme-light .duo--sign .b, .theme-cream .duo--sign .b { color: var(--ruby); }
.theme-light .duo--symph .b, .theme-cream .duo--symph .b { color: var(--royal); }
.quote p { color: var(--royal); }
.words li { color: var(--royal); }
.manifesto em { color: var(--sky); }

/* Dourado joia nos detalhes */
.eyebrow, .theme-light .eyebrow, .theme-cream .eyebrow { color: var(--gold); }
.d-n, .u-n { color: var(--gold); }
.marquee i, .words li + li::before { color: var(--gold); opacity: 1; }
.tl-num { color: var(--royal); }
.tl-item.is-lit .tl-num { background: var(--royal); border-color: var(--gold); color: #fff; }
.tl-line span { background: linear-gradient(180deg, var(--royal), var(--purple)); }
.hero-media .arch { outline-color: rgba(201,162,39,.55); }
.badge-wrap { background: var(--royal); box-shadow: 0 0 0 3px var(--gold), 0 18px 40px -12px rgba(0,0,0,.6); }
.badge-wrap .badge-j { color: var(--gold); }
.brand-mark { background: var(--royal); color: #fff; box-shadow: 0 0 0 2px var(--gold); }
.brand-name em { color: var(--sky); }
.accent { border-left-color: var(--gold); }
.progress span { background: linear-gradient(90deg, var(--royal), var(--sky), var(--gold)); }

/* Faixa e selos */
.marquee { background: linear-gradient(90deg, var(--royal), var(--purple)); }
.marquee em { color: #fff; }
.fit-stamp { background: var(--ruby); box-shadow: 0 20px 40px -15px rgba(201,42,61,.6); }
.phone .tag { background: var(--ruby); }
.play::before { border-left-color: var(--royal); }
.pills li:nth-child(4n+1) { background: var(--ice); }
.pills li:hover { background: var(--purple); border-color: var(--purple); }
.uni-list li::before { background: linear-gradient(90deg, var(--royal), var(--purple)); }
.duo--glifta .a { color: var(--royal); }
.duo--glifta.on-wine .a { color: #fff; }
.footer-sign { color: var(--sky); }
.c-ico { background: var(--royal); }
.diff::before { background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(29,58,158,.6), transparent 60%); }
.diff { background: var(--navy); }


/* Azul por seção: detalhes das páginas */
.brands-title em { color: var(--ruby); }
.page-curtain { background: linear-gradient(135deg, var(--royal), var(--purple)); }
.page-curtain span { color: #fff; }
.page-next { background: linear-gradient(90deg, var(--royal), var(--purple)); }
.page-next::before { background: var(--navy); }
.hub-card:hover .hub-a { background: var(--royal); }
.menu-mobile a.is-active { color: var(--gold); }
.pm-chip { background: var(--ruby); }
.pm-card { border-color: #fff; }
.pm-cta { background: linear-gradient(120deg, var(--royal), var(--purple)); }
.pm-cta .btn-wine { color: var(--royal); }
.filter.is-active { background: var(--royal); border-color: var(--royal); }
.gab-hint i { color: var(--gold); }

/* pm-diffs sem diferenciais: só a faixa de chamada */
.pm-diffs { padding-block: clamp(3rem, 6vw, 4.5rem); }
.pm-diffs .pm-cta { margin-top: 0; }

/* =========================================================
   Sessão Gabriel v2: 3 vídeos, rolagem normal
   ========================================================= */
.gab2-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.gab2-copy { display: grid; gap: 1.3rem; justify-items: start; }
.gab2-copy .duo { margin-bottom: .4rem; }
.gab2-copy p { max-width: 26rem; }
.gab2-reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.9rem, 2vw, 1.6rem); align-items: start; padding-top: 2.5rem; }
.gab2-item { text-align: center; opacity: 0; transform: translateY(2rem); transition: opacity .9s ease, transform 1.1s var(--ease); }
.gab2-item:nth-child(2) { margin-top: -2.5rem; transition-delay: .12s; }
.gab2-item:nth-child(3) { transition-delay: .24s; }
.gab2.is-in .gab2-item { opacity: 1; transform: none; }
.gab2-reels .phone { width: 100%; max-width: none; padding: 0; cursor: pointer; font: inherit; color: inherit; margin-bottom: 1rem; }
.gab2-item h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; color: var(--fg); }
@media (max-width: 860px) {
  .gab2-grid { grid-template-columns: 1fr; }
  .gab2-reels {
    display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem var(--gutter) 1rem;
    margin-inline: calc(var(--gutter) * -1); scrollbar-width: none;
  }
  .gab2-reels::-webkit-scrollbar { display: none; }
  .gab2-item { flex: 0 0 60vw; scroll-snap-align: center; }
  .gab2-item:nth-child(2) { margin-top: 0; }
  .gab2-reels .phone { border-width: 5px; border-radius: 1.6rem; }
  .gab2-reels .phone img { border-radius: 1.2rem; }
}

/* =========================================================
   Minha história: modelo azul (linha do tempo horizontal)
   ========================================================= */
.hist2 { background: var(--navy); }
.hist2-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40rem 26rem at 12% 18%, rgba(49,87,213,.45), transparent 70%),
    radial-gradient(34rem 24rem at 88% 70%, rgba(169,199,255,.16), transparent 70%),
    radial-gradient(22rem 16rem at 60% 105%, rgba(201,42,61,.22), transparent 70%);
}
.hist2 .duo { margin-bottom: 1.2rem; }
.hist2-lead { color: rgba(255,255,255,.85); margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }

.hist2-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.h2-step { --c: var(--royal); display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(2rem); transition: opacity .9s ease, transform 1.1s var(--ease); }
.h2-step:nth-child(3) { --c: var(--sky); }
.h2-step:nth-child(4) { --c: var(--ruby); }
.h2-step:nth-child(5) { --c: var(--gold); }
.hist2.is-in .h2-step { opacity: 1; transform: none; }
.hist2.is-in .h2-step:nth-child(2) { transition-delay: .5s; }
.hist2.is-in .h2-step:nth-child(3) { transition-delay: .9s; }
.hist2.is-in .h2-step:nth-child(4) { transition-delay: 1.3s; }
.hist2.is-in .h2-step:nth-child(5) { transition-delay: 1.7s; }

.h2-line { position: absolute; left: 12.5%; right: 12.5%; top: 1.3rem; height: 2px; background: rgba(255,255,255,.14); }
.h2-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--royal), var(--sky), var(--ruby), var(--gold)); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease-in-out) .4s; }
.hist2.is-in .h2-line span { transform: scaleX(1); }

.h2-dot {
  position: relative; z-index: 1; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); border: 2px solid var(--c); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 0 0 6px var(--navy); transition: background .6s ease .8s;
}
.hist2.is-in .h2-dot { background: var(--c); }
.h2-step:nth-child(3) .h2-dot, .h2-step:nth-child(5) .h2-dot { color: var(--navy); }

.h2-card {
  position: relative; width: 100%; margin-top: 1.8rem; padding: 2.2rem 1.6rem 2rem; border-radius: 1.25rem; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.h2-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.h2-card:hover { transform: translateY(-6px); border-color: var(--c); background: rgba(255,255,255,.09); }
.h2-num { display: block; font-family: var(--f-display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 1rem; }
.h2-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.65rem); line-height: 1.15; color: #fff; margin-bottom: .6rem; }
.h2-card p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.72); }

.hist2-quote {
  position: relative; margin: clamp(4rem, 8vw, 6rem) auto 0; max-width: 54rem; text-align: center;
  padding: clamp(2.4rem, 5vw, 3.2rem) clamp(1.6rem, 5vw, 4rem); border-radius: 1.5rem;
  background: linear-gradient(120deg, var(--royal), #1d3a9e);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.hist2-quote .q-mark { position: absolute; top: -2.4rem; left: clamp(1.2rem, 4vw, 2.6rem); font-family: var(--f-display); font-size: 7rem; line-height: 1; color: var(--gold); }
.hist2-quote p { font-family: var(--f-script); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.2; color: #fff; }

@media (max-width: 860px) {
  .hist2-steps { grid-template-columns: 1fr; gap: 1.4rem; padding-left: 3.6rem; }
  .h2-line { left: 1.3rem; right: auto; top: 1.3rem; bottom: 1.3rem; width: 2px; height: auto; }
  .h2-line span { transform-origin: top; transform: scaleY(0); }
  .hist2.is-in .h2-line span { transform: scaleY(1); }
  .h2-step { align-items: stretch; position: relative; }
  .h2-dot { position: absolute; left: -3.6rem; top: 1.4rem; }
  .h2-card { margin-top: 0; padding: 1.8rem 1.4rem 1.6rem; }
  .h2-num { font-size: 2.8rem; margin-bottom: .7rem; }
  .hist2-quote .q-mark { font-size: 5rem; top: -1.8rem; }
}
@media (prefers-reduced-motion: reduce) { .h2-step { opacity: 1; transform: none; } .h2-line span { transform: none; } }

/* =========================================================
   Meus conteúdos: cada item abre um painel (modelo Fitness)
   ========================================================= */
.uni-list li.uni-item { display: block; padding: 0; cursor: auto; }
.uni-list li.uni-item::before { display: none; }
.uni-list li.uni-item:hover .u-t { transform: none; }
.uni-row {
  position: relative; width: 100%; display: grid; grid-template-columns: 4rem 1fr auto 2.6rem; align-items: center; gap: 1.5rem;
  padding: 1.5rem .5rem; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; isolation: isolate;
}
.uni-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--wine), var(--wine-deep)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.uni-row:hover::before, .uni-item.is-open .uni-row::before { transform: scaleY(1); }
.uni-row:hover .u-t, .uni-item.is-open .u-t { transform: translateX(1.2rem); }
.uni-row:hover .u-n, .uni-row:hover .u-d, .uni-item.is-open .u-n, .uni-item.is-open .u-d { color: #fff; }
.u-x { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, border-color .4s; }
.u-x::before, .u-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: .9rem; height: 1.5px; background: currentColor; translate: -50% -50%; }
.u-x::after { rotate: 90deg; }
.uni-row:hover .u-x { border-color: rgba(255,255,255,.6); }
.uni-item.is-open .u-x { transform: rotate(135deg); background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }

.uni-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-in-out); }
.uni-item.is-open .uni-panel { grid-template-rows: 1fr; }
.uni-panel-clip { min-height: 0; overflow: hidden; }
.up-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) .5rem clamp(3rem, 6vw, 4.5rem);
  opacity: 0; transform: translateY(1.5rem); transition: opacity .6s ease, transform .8s var(--ease);
}
.uni-item.is-open .up-grid { opacity: 1; transform: none; transition-delay: .25s; }
.up-copy { display: grid; gap: 1.1rem; justify-items: start; }
.up-title { display: flex; flex-direction: column; font-weight: 400; margin-bottom: .4rem; }
.up-big { font-family: var(--f-display); font-size: clamp(3.2rem, 1.8rem + 5vw, 6.5rem); line-height: .9; color: var(--wine-2); }
.up-sub {
  font-family: var(--f-sans); font-weight: 700; text-transform: uppercase; font-size: clamp(1rem, .7rem + 1.2vw, 1.8rem); letter-spacing: .16em;
  color: var(--fg); text-shadow: .07em .07em 0 rgba(0,0,0,.45); margin-top: .2em;
}
.up-copy .lead { color: var(--fg); }
.up-words li { color: var(--wine-2); }
.up-btn { margin-top: .6rem; }
.up-media { position: relative; height: clamp(24rem, 36vw, 32rem); }
.up-media figure { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgba(0,0,0,.7); }
.up-media img { width: 100%; height: 100%; object-fit: cover; }
.up-1 { width: 64%; height: 88%; top: 0; left: 0; }
.up-2 { width: 46%; height: 62%; right: 0; bottom: 0; border: 7px solid var(--cream-2); }
.up-stamp {
  position: absolute; right: 6%; top: 4%; width: 6.8rem; height: 6.8rem; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--wine); color: var(--cream-2); font-family: var(--f-script); font-size: 1.75rem; line-height: .9; rotate: -10deg;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.6);
}
.uni-item.is-open .up-1 { animation: upIn .9s var(--ease) .3s both; }
.uni-item.is-open .up-2 { animation: upIn .9s var(--ease) .45s both; }
.uni-item.is-open .up-stamp { animation: upStamp .7s var(--ease) .7s both; }
@keyframes upIn { from { opacity: 0; transform: translateY(2rem) scale(.96); } }
@keyframes upStamp { from { opacity: 0; scale: 1.5; } }
.up-big { clip-path: inset(-20% 100% -30% 0); }
.uni-item.is-open .up-big { clip-path: inset(-20% -5% -30% 0); transition: clip-path 1.1s var(--ease-in-out) .35s; }
.uni-item.is-open .up-copy > :not(.up-title) { animation: upIn .8s var(--ease) both; }
.uni-item.is-open .up-copy > :nth-child(2) { animation-delay: .5s; }
.uni-item.is-open .up-copy > :nth-child(3) { animation-delay: .6s; }
.uni-item.is-open .up-copy > :nth-child(4) { animation-delay: .7s; }
.uni-item.is-open .up-copy > :nth-child(5) { animation-delay: .8s; }
.uni-item.is-open .up-copy > :nth-child(6) { animation-delay: .9s; }
.uni-item.is-open .up-sub { animation: upIn .8s var(--ease) .45s both; }
.uni-item.is-open .up-words li { animation: upIn .7s var(--ease) both; }
.uni-item.is-open .up-words li:nth-child(1) { animation-delay: .85s; } .uni-item.is-open .up-words li:nth-child(2) { animation-delay: .95s; } .uni-item.is-open .up-words li:nth-child(3) { animation-delay: 1.05s; }
@media (prefers-reduced-motion: reduce) { .up-big { clip-path: none; } }
@media (max-width: 860px) {
  .uni-row { grid-template-columns: 2.5rem 1fr 2.4rem; gap: .3rem 1rem; padding-block: 1.3rem; }
  .uni-row .u-d { grid-column: 2; grid-row: 2; text-align: left; }
  .uni-row .u-x { grid-column: 3; grid-row: 1 / span 2; width: 2.2rem; height: 2.2rem; }
  .uni-row:hover .u-t, .uni-item.is-open .u-t { transform: none; }
  .up-grid { grid-template-columns: 1fr; padding-top: 2rem; }
  .up-media { height: 22rem; }
  .up-stamp { width: 5.6rem; height: 5.6rem; font-size: 1.45rem; }
}
/* Palavras do painel sem herdar o estilo das linhas da lista */
.uni-list .up-words { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.uni-list .up-words li { display: inline-block; padding: 0; border: 0; cursor: auto; isolation: auto; }
.uni-list .up-words li::before { content: none; }
.uni-list .up-words li + li::before {
  content: "✦"; position: static; inset: auto; z-index: auto; background: none; transform: none;
  font-family: var(--f-sans); font-size: .8rem; color: var(--tan); margin-right: 1.4rem; vertical-align: middle;
}
/* Selo sem a cursiva (o r inicial da Great Vibes parecia faltar) */
.up-stamp { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: 1.35rem; line-height: 1; letter-spacing: .01em; }
/* Três palavras sempre lado a lado */
.uni-list .up-words { flex-wrap: nowrap; gap: 0 .9rem; white-space: nowrap; }
.uni-list .up-words li { font-size: clamp(1.45rem, .9rem + 1.3vw, 2.1rem); }
.uni-list .up-words li + li::before { margin-right: .9rem; font-size: .7rem; }
@media (max-width: 860px) { .uni-list .up-words { gap: 0 .6rem; } .uni-list .up-words li { font-size: clamp(1.1rem, 4.6vw, 1.5rem); } .uni-list .up-words li + li::before { margin-right: .6rem; font-size: .55rem; } .up-stamp { font-size: 1.1rem; } }
/* Selos em Roxo Imperial */
.up-stamp { background: #6b3fa0; color: #fff; box-shadow: 0 20px 40px -15px rgba(107,63,160,.6); }
/* "conteúdos": a fonte de assinatura desenha o ú torto, usa a Great Vibes */
#universo .duo--sign .b { font-family: var(--f-script); font-size: clamp(3.2rem, 1.6rem + 5vw, 7rem); line-height: .9; margin-top: -.18em; margin-left: .9em; }
/* Logo: "Oliveira" na mesma linha de base de "Jamile" */
.brand-name em { position: relative; top: .16em; }

/* Minha história: sem números e com roxo no lugar do vermelho */
.h2-step:nth-child(4) { --c: #6b3fa0; }
.h2-line span { background: linear-gradient(90deg, var(--royal), var(--sky), #6b3fa0, var(--gold)); }
.hist2-glow { background:
    radial-gradient(40rem 26rem at 12% 18%, rgba(49,87,213,.45), transparent 70%),
    radial-gradient(34rem 24rem at 88% 70%, rgba(169,199,255,.16), transparent 70%),
    radial-gradient(22rem 16rem at 60% 105%, rgba(107,63,160,.28), transparent 70%); }
.h2-dot { width: 1.3rem; height: 1.3rem; margin-top: .65rem; box-shadow: 0 0 0 6px var(--navy), 0 0 0 7px rgba(255,255,255,.12); }
.h2-card { padding-top: 1.9rem; }
@media (max-width: 860px) { .h2-dot { left: -3rem; top: 1.9rem; margin-top: 0; } }

/* =========================================================
   Brilhos e borboletas
   ========================================================= */
:root { --spark: var(--tan); --bf-a: var(--wine-2); --bf-b: var(--tan); }

/* Estrelinhas de 4 pontas */
.spk-wrap { position: absolute; inset: -18% -8%; pointer-events: none; z-index: 3; }
.spk {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  color: var(--spark); opacity: 0; transform: scale(0) rotate(0deg);
  filter: drop-shadow(0 0 6px var(--spark)) drop-shadow(0 0 2px #fff);
  animation: twinkle var(--t, 2.8s) ease-in-out var(--d, 0s) infinite;
}
.spk svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.spk.w { color: #fff; }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  45% { opacity: 1; transform: scale(1) rotate(80deg); }
  60% { opacity: .9; transform: scale(.85) rotate(100deg); }
}
.hero-title, .footer-sign, #portfolio .duo { position: relative; }

/* Reflexo de luz passando por "Oliveira" */
.ht-b {
  background: linear-gradient(110deg, var(--wine-2) 0%, var(--wine-2) 40%, #fff 50%, var(--wine-2) 60%, var(--wine-2) 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 6s ease-in-out 2.6s infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0% 0; } }

/* Borboletas */
.bflies { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.bfly { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: calc(var(--s) * .9); animation: var(--path, fly1) var(--t, 18s) ease-in-out var(--d, 0s) infinite; }
.bfly-in { position: relative; width: 100%; height: 100%; perspective: 220px; transform-style: preserve-3d; transform: rotate(var(--r, -12deg)); filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.bfly .w { position: absolute; top: 0; width: 50%; height: 100%; overflow: visible; }
.bfly .w.l { left: 0; transform-origin: 100% 50%; animation: flapL var(--f, .32s) ease-in-out infinite alternate; }
.bfly .w.r { right: 0; transform-origin: 0% 50%; animation: flapR var(--f, .32s) ease-in-out infinite alternate; }
.bfly .body { position: absolute; left: 50%; top: 18%; width: 6%; height: 64%; translate: -50% 0; border-radius: 999px; background: rgba(20,14,12,.85); }
@keyframes flapL { from { transform: rotateY(8deg); } to { transform: rotateY(72deg); } }
@keyframes flapR { from { transform: rotateY(-8deg); } to { transform: rotateY(-72deg); } }
@keyframes fly1 {
  0% { transform: translate(0, 0) rotate(-6deg); opacity: 0; }
  8% { opacity: 1; }
  25% { transform: translate(9vw, -7vh) rotate(10deg); }
  50% { transform: translate(18vw, -1vh) rotate(-8deg); }
  75% { transform: translate(8vw, 6vh) rotate(12deg); }
  92% { opacity: 1; }
  100% { transform: translate(0, 0) rotate(-6deg); opacity: 0; }
}
@keyframes fly2 {
  0% { transform: translate(0, 0) rotate(8deg); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: translate(-10vw, -6vh) rotate(-10deg); }
  55% { transform: translate(-16vw, 3vh) rotate(6deg); }
  80% { transform: translate(-6vw, 8vh) rotate(-12deg); }
  92% { opacity: 1; }
  100% { transform: translate(0, 0) rotate(8deg); opacity: 0; }
}
@keyframes fly3 {
  0% { transform: translate(0, 0) rotate(-4deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(4vw, -16vh) rotate(14deg); }
  90% { opacity: 1; }
  100% { transform: translate(0, 0) rotate(-4deg); opacity: 0; }
}
@media (max-width: 860px) { .bfly { --s: calc(var(--sm, 1) * 30px) !important; } }
@media (prefers-reduced-motion: reduce) {
  .spk { opacity: .9; transform: scale(.8); animation: none; }
  .bfly { animation: none; opacity: .9; }
  .bfly .w { animation: none; }
  .ht-b { animation: none; background-position: 50% 0; }
}
:root { --spark: var(--gold); --bf-a: var(--sky); --bf-b: var(--gold); }
.bfly, .bfly-in, .bfly .body, .spk { display: block; }

/* Borboletas v2: corpo com antenas, tamanho maior */
:root { --bf-a:#a9c7ff;--bf-b:#3157d5; }
.bfly .body { position: absolute; left: 50%; top: -8%; width: 22%; height: 110%; translate: -50% 0; background: none; border-radius: 0; z-index: 2; }
.bfly .w { top: 4%; height: 92%; }
.bfly-in { filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)) drop-shadow(0 0 10px rgba(255,255,255,.12)); }
@media (max-width: 860px) { .bfly { --s: calc(var(--sm, 1) * 36px) !important; } }

/* =========================================================
   Poeira de glitter e borboletas translúcidas
   ========================================================= */
.glitter { position: absolute; pointer-events: none; z-index: 3; }
.glitter.g-name { inset: -25% -10%; }
.glitter.g-bg { inset: 0; z-index: 1; }
.gl {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); display: block; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, var(--spark) 42%, transparent 72%);
  opacity: 0; animation: glTw var(--t) ease-in-out var(--d) infinite, glDrift var(--t2) linear var(--d) infinite;
}
.gl.st { background: none; color: var(--spark); filter: drop-shadow(0 0 4px var(--spark)); }
.gl.st svg { display: block; width: 100%; height: 100%; fill: currentColor; }
@keyframes glTw { 0%, 100% { opacity: 0; scale: .3; } 50% { opacity: 1; scale: 1; } }
@keyframes glDrift { from { translate: 0 10px; } to { translate: var(--dx) -26px; } }
.g-bg .gl { opacity: 0; }
#portfolio > .container { position: relative; z-index: 2; }
.bfly .w { mix-blend-mode: normal; }
.bfly-in { filter: drop-shadow(0 6px 10px rgba(0,0,0,.28)); }
@media (prefers-reduced-motion: reduce) { .gl { animation: none; opacity: .8; scale: 1; } }

/* Brilho ✨ (versões azuis) */
.emo-wrap { position: absolute; pointer-events: none; z-index: 3; }
.emo-wrap.e-name { inset: -22% -8%; }
.emo-wrap.e-bg { inset: 0; z-index: 1; }
.emo { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); display: block;
  filter: drop-shadow(0 0 6px rgba(255,205,70,.85)) drop-shadow(0 0 1px #fff);
  animation: emoFloat 4.5s ease-in-out var(--d) infinite; }
.emo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.emo path { fill: #ffd23f; transform-box: fill-box; transform-origin: center; animation: emoTw 2.4s ease-in-out var(--d) infinite; }
.emo path:nth-child(1) { fill: #ffcc1f; }
.emo path:nth-child(2) { animation-delay: calc(var(--d) + .6s); }
.emo path:nth-child(3) { animation-delay: calc(var(--d) + 1.2s); }
@keyframes emoTw { 0%, 100% { transform: scale(.55); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes emoFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -6px; rotate: 8deg; } }
@media (prefers-reduced-motion: reduce) { .emo, .emo path { animation: none; } }
/* "Oliveira" brilhando dourado (versões azuis) */
.ht-b {
  background: linear-gradient(110deg, var(--sky) 0%, var(--sky) 32%, #ffe08a 42%, #fff6d6 48%, #ffd23f 54%, #e8b422 60%, var(--sky) 70%, var(--sky) 100%);
  background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 3.6s ease-in-out 2.2s infinite, goldGlow 3.6s ease-in-out 2.2s infinite;
}
@keyframes goldGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255,205,70,.15)); }
  35% { filter: drop-shadow(0 0 14px rgba(255,205,70,.75)) drop-shadow(0 0 3px rgba(255,240,190,.9)); }
  60% { filter: drop-shadow(0 0 6px rgba(255,205,70,.3)); }
}
@media (prefers-reduced-motion: reduce) { .ht-b { animation: none; background-position: 45% 0; } }
/* "Oliveira" em dourado metálico com reflexo */
.ht-b {
  background:
    linear-gradient(110deg, transparent 0%, transparent 40%, rgba(255,255,255,.95) 50%, transparent 60%, transparent 100%),
    linear-gradient(180deg, #fff1b8 0%, #ffd23f 38%, #e0a91c 62%, #ffe28a 100%);
  background-size: 260% 100%, 100% 100%; background-position: 100% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shineGold 3.6s ease-in-out 2.2s infinite, goldGlow 3.6s ease-in-out 2.2s infinite;
}
@keyframes shineGold { 0% { background-position: 100% 0, 0 0; } 40%, 100% { background-position: 0% 0, 0 0; } }

/* ✨ único na ponta do "e" de Jamile */
.emo.emo-e { --d: 0s; left: auto; top: -.16em; right: -.46em; width: .52em; height: .52em; opacity: 0; z-index: 4;
  filter: drop-shadow(0 0 10px rgba(255,205,70,.9)) drop-shadow(0 0 2px #fff);
  animation: emoIn .9s var(--ease) 2.3s forwards, emoFloat 4.5s ease-in-out 3.2s infinite; }
@keyframes emoIn { from { opacity: 0; scale: .2; rotate: -60deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .emo.emo-e { opacity: 1; animation: none; } }

/* Borboleta pousada na ponta do arco */
.arch-hold { position: sticky; top: 7rem; align-self: start; }
.arch-hold .arch-lg { position: relative; top: 0; }
.bfly.perch {
  position: absolute; left: 9%; top: 6%; width: 78px; height: 70px; z-index: 5; pointer-events: none;
  animation: perchIn 1.2s var(--ease) .4s both;
}
.bfly.perch .bfly-in { transform: rotate(-38deg); }
.bfly.perch .w.l { animation: flapRestL 3.4s ease-in-out infinite; }
.bfly.perch .w.r { animation: flapRestR 3.4s ease-in-out infinite; }
@keyframes flapRestL { 0%, 34%, 100% { transform: rotateY(12deg); } 6%, 18% { transform: rotateY(74deg); } 12%, 24% { transform: rotateY(18deg); } }
@keyframes flapRestR { 0%, 34%, 100% { transform: rotateY(-12deg); } 6%, 18% { transform: rotateY(-74deg); } 12%, 24% { transform: rotateY(-18deg); } }
@keyframes perchIn { from { opacity: 0; translate: -30px -40px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 860px) {
  .arch-hold { position: relative; top: 0; max-width: 24rem; width: 100%; margin-inline: auto; }
  .bfly.perch { width: 58px; height: 52px; left: 8%; top: 5%; }
}
@media (prefers-reduced-motion: reduce) { .bfly.perch, .bfly.perch .w { animation: none; } }
/* Oliveira: só o reflexo que passa (sem brilho pulsando) */
.ht-b { animation: shineGold 3.6s ease-in-out 2.2s infinite; filter: none; }
/* ✨ bem junto do "e" */
.emo.emo-e { top: .1em; right: -.16em; width: .4em; height: .4em; }
/* ✨ do "e" espelhado */
.emo.emo-e svg { transform: scaleX(-1); }

/* Borboleta de perfil pousada na ponta do arco */
.bfly-side { position: absolute; left: 6%; top: 1%; width: 96px; height: 78px; z-index: 5; pointer-events: none; display: block;
  animation: perchIn 1.2s var(--ease) .4s both; }
.bs-in { position: relative; display: block; width: 100%; height: 100%; perspective: 260px; transform: rotate(-28deg);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.bfly-side svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bfly-side .bw { transform-origin: 50% 80%; }
.bfly-side .far { translate: -5px -3px; filter: brightness(.72); animation: sideFar 3.6s ease-in-out infinite; }
.bfly-side .near { animation: sideNear 3.6s ease-in-out infinite; }
@keyframes sideNear { 0%, 38%, 100% { transform: rotateX(0deg); } 7%, 21% { transform: rotateX(68deg); } 14%, 28% { transform: rotateX(6deg); } }
@keyframes sideFar  { 0%, 38%, 100% { transform: rotateX(0deg); } 7%, 21% { transform: rotateX(-58deg); } 14%, 28% { transform: rotateX(-5deg); } }
@media (max-width: 860px) { .bfly-side { width: 70px; height: 57px; left: 5%; top: 1%; } }
@media (prefers-reduced-motion: reduce) { .bfly-side, .bfly-side .bw { animation: none; } }

/* Borboleta de perfil estilo ilustração */
.bfly-side { --bs-dk: #1f4fc4; --bs-lt: #6f9bff; width: 92px; height: 92px; left: 3%; top: -3%; }
.bs2 { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-12deg); filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.bs2 .dk { fill: var(--bs-dk); stroke: var(--bs-dk); stroke-width: 22; stroke-linejoin: round; }
.bs2 .lt { fill: var(--bs-lt); }
.bs2 .dk-s { fill: none; stroke: var(--bs-dk); stroke-width: 30; stroke-linecap: round; }
.bs2 .dk-a { fill: none; stroke: var(--bs-dk); stroke-width: 11; stroke-linecap: round; }
.bs2-wings { transform-box: view-box; transform-origin: 330px 312px; animation: bs2Flap 3.4s ease-in-out infinite; }
@keyframes bs2Flap { 0%, 40%, 100% { transform: scaleX(1); } 8%, 24% { transform: scaleX(.28) skewY(-6deg); } 16%, 32% { transform: scaleX(.95); } }
@media (max-width: 860px) { .bfly-side { width: 68px; height: 68px; } }
@media (prefers-reduced-motion: reduce) { .bs2-wings { animation: none; } }

/* ✨ parado (sem subir e descer), um no J e um no e */
.emo.emo-e { animation: emoIn .9s var(--ease) 2.3s forwards; }
.emo.emo-j { right: auto; left: -.22em; top: .06em; }
.emo.emo-j svg { transform: none; }

/* Borboleta pousada em cima do arco */
.bs2 .dk-l { fill: none; stroke: var(--bs-dk); stroke-width: 8; stroke-linecap: round; }
.bfly-side { left: 44%; top: -86px; width: 94px; height: 94px; }
.bs2 { transform: none; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
@media (max-width: 860px) { .bfly-side { width: 68px; height: 68px; top: -62px; } }
.bfly-side { top: -80px; }
@media (max-width: 860px) { .bfly-side { top: -62px; } }

/* Sem borboleta */
.bfly-side, .bflies, .bfly { display: none !important; }

/* =========================================================
   Métricas e Cases de sucesso
   ========================================================= */
.met-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.met-card { padding: 1.8rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.met-card b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
.met-card span { display: block; margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.met-card.hl { background: linear-gradient(135deg, var(--wine), var(--wine-deep)); border-color: transparent; }
.met-card.hl span { color: rgba(255,255,255,.85); }
.met-card:nth-child(2) { transition-delay: .08s; } .met-card:nth-child(3) { transition-delay: .16s; } .met-card:nth-child(4) { transition-delay: .24s; }
.met-panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.met-panel { padding: 2rem 1.8rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.met-panel h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; color: var(--fg); }
.met-sub { margin: .4rem 0 1.4rem; font-size: .92rem; }
.met-sub b { color: var(--fg); }
.age-bars { display: grid; gap: .65rem; }
.age-bars li { display: grid; grid-template-columns: 3.4rem 1fr 3.4rem; align-items: center; gap: .8rem; font-size: .85rem; }
.ab-l { color: var(--muted); font-variant-numeric: tabular-nums; }
.ab-v { text-align: right; color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
.ab-t { height: .7rem; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.ab-t i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--wine-2); transition: width 1.2s var(--ease); }
.met-panel.is-in .ab-t i { width: var(--w); }
.age-bars li:nth-child(3) .ab-t i, .age-bars li:nth-child(4) .ab-t i, .age-bars li:nth-child(5) .ab-t i { background: var(--spark, var(--wine-2)); }
.age-bars li:nth-child(2) i { transition-delay: .08s; } .age-bars li:nth-child(3) i { transition-delay: .16s; } .age-bars li:nth-child(4) i { transition-delay: .24s; }
.age-bars li:nth-child(5) i { transition-delay: .32s; } .age-bars li:nth-child(6) i { transition-delay: .4s; } .age-bars li:nth-child(7) i { transition-delay: .48s; }
.gender { margin: 1.2rem 0 1.8rem; }
.g-bar { height: 1rem; border-radius: 999px; background: rgba(255,255,255,.14); overflow: hidden; }
.g-w { display: block; height: 100%; width: 0; background: var(--wine-2); border-radius: 999px 0 0 999px; transition: width 1.4s var(--ease) .2s; }
.met-panel.is-in .g-w { width: var(--w); }
.g-leg { display: flex; justify-content: space-between; margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.g-leg b { color: var(--fg); }
.met-facts { display: grid; gap: 1rem; }
.met-facts li { display: grid; gap: .1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.met-facts b { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; color: var(--fg); }
.met-facts span { font-size: .88rem; color: var(--muted); }
.met-note { margin-top: 1.4rem; font-size: .78rem; opacity: .7; }

.cases { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border-radius: 1.6rem; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(0,0,0,.45); }
.case:nth-child(even) .case-media { order: 2; }
.case-media { display: grid; gap: .8rem; }
.case-media.one { max-width: 17rem; margin-inline: auto; width: 100%; }
.case-media.three { grid-template-columns: repeat(3, 1fr); }
.case-media .phone { width: 100%; max-width: none; margin: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.case-media.three .phone { border-width: 5px; border-radius: 1.4rem; }
.case-media.three .phone img { border-radius: 1rem; }
.case-media.three .play { width: 2.8rem; height: 2.8rem; }
.case-media.three .phone::before { height: .7rem; top: .35rem; }
.case-copy { display: grid; gap: 1rem; justify-items: start; }
.case-brand { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--wine); }
.case-copy h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--fg); }
.case-stats { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.case-stats span { display: grid; padding: .9rem 1.2rem; border-radius: 1rem; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.case-stats b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; color: var(--wine); font-variant-numeric: tabular-nums; }
.case-note { font-size: .75rem; opacity: .7; }

@media (max-width: 1024px) { .met-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .met-panels, .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-media { order: 0; }
  .case-media.three { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .ab-t i, .g-w { width: var(--w); } }

/* hub com 6 cards */
.hub-grid { grid-template-columns: repeat(3, 1fr); }
.hub-card { aspect-ratio: 4 / 3.4; }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr 1fr; } .hub-card, .hub-card:last-child { grid-column: auto; aspect-ratio: 3 / 4; } }
