/* ==========================================================
   Próspera · Comunicação e Cultura
   Paleta tirada da marca: vinho, laranja, âmbar, amarelo
   ========================================================== */
:root {
  --wine: #8E1840;
  --wine-deep: #4A0A20;
  --orange: #EF6B22;
  --amber: #F7941D;
  --yellow: #FBBA16;
  --magenta: #E3256B; /* vindo das referências de degradê (asx6) */
  --ink: #120609;
  --ink-2: #1C0B10;
  --cream: #FBF6F1;
  --paper: #F3ECE6;
  --text: #2A1A1F;
  --muted: #6E5C61;
  --line-dark: rgba(255, 255, 255, .08);
  --line-light: rgba(42, 26, 31, .12);

  --f-display: 'Outfit', system-ui, sans-serif;
  --f-cond: 'Saira Condensed', 'Arial Narrow', sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: min(1240px, 100% - 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.smooth-scroll, html.lenis { scroll-behavior: auto; height: auto; }
/* âncoras param abaixo do menu fixo (links vindos de outra página) */
section[id] { scroll-margin-top: 70px; }
.hero[id] { scroll-margin-top: 0; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 300;
  color: #fff;
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: var(--container); margin-inline: auto; position: relative; z-index: 2; }

/* Linhas verticais de grade — fio condutor das referências */
.grid-lines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  width: var(--container); margin-inline: auto;
  mix-blend-mode: difference;
}
.grid-lines span { border-left: 1px solid rgba(255, 255, 255, .045); }
.grid-lines span:last-child { border-right: 1px solid rgba(255, 255, 255, .045); }

/* ---------- Tipografia utilitária ---------- */
.display { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.accent {
  background: linear-gradient(100deg, var(--yellow), var(--amber) 45%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow, .section-num {
  font-family: var(--f-cond); font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; font-size: .82rem;
  color: var(--amber); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .8em;
}
.section-num::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease-out), border-color .4s, transform .4s var(--ease-out);
}
.btn i { font-style: normal; transition: transform .4s var(--ease-out); }
.btn:hover i { transform: translateX(5px); }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--orange), var(--amber));
  transform: translateX(-101%); transition: transform .55s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-ghost { border: 1px solid currentColor; }
.btn-ghost:hover { color: var(--amber); }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem max(24px, (100% - 1240px) / 2);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(18, 6, 9, .78); backdrop-filter: blur(14px);
  padding-block: .8rem; border-bottom: 1px solid var(--line-dark);
}
/* Legibilidade sobre o vídeo sem perder a transparência:
   véu escuro + desfoque leve que somem em degradê para baixo */
.site-header::before {
  content: ''; position: absolute; inset: 0 0 -60px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 6, 9, .72) 0%, rgba(18, 6, 9, .38) 55%, rgba(18, 6, 9, 0) 100%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header:not(.is-scrolled) .main-nav a,
.site-header:not(.is-scrolled) .brand-text { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.site-header:not(.is-scrolled) .brand-text em { color: var(--amber); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 40px; height: 40px; transition: transform 1.2s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-weight: 600; font-size: 1.35rem; letter-spacing: .02em; }
.brand-text em { font-family: var(--f-cond); font-style: normal; font-size: .78rem; color: var(--orange); letter-spacing: .04em; margin-top: 2px; }
.main-nav { display: flex; gap: clamp(1rem, 1.9vw, 2.2rem); align-items: center; font-size: .92rem; font-weight: 400; }
.main-nav a { position: relative; padding: .3rem 0; }
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 999px; padding: .5rem 1.2rem !important; transition: background .3s, border-color .3s; }
.nav-cta:hover { background: var(--wine); border-color: var(--wine); }
.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ink); }

/* Cada cena ocupa a tela inteira; a que entra começa como um card e se expande (referência do Reel) */
.scenes { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.scene {
  position: absolute; inset: 0; overflow: hidden; visibility: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 100px max(24px, (100% - 1240px) / 2) 150px;
  clip-path: inset(0 0 0 0 round 0px);
  transition: clip-path 1.3s var(--ease-out);
}
.scene.is-active { visibility: visible; z-index: 2; }
.scene.is-prev { visibility: visible; z-index: 1; }
.scene.from-card { clip-path: inset(22% 24% 22% 24% round 32px); transition: none; }
.scene .scene-media { transition: transform 1.6s var(--ease-out); }
.scene.from-card .scene-media { transform: scale(1.35); transition: none; }
.scene.is-prev .hero-content { opacity: 0; transform: translateY(-50px); transition: opacity .6s, transform .9s var(--ease-out); }

.scene-1 {
  background:
    radial-gradient(60% 70% at 72% 50%, rgba(142, 24, 64, .45), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(239, 107, 34, .14), transparent 70%),
    var(--ink);
}
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow { position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--ink)); z-index: 1; }

.hero-content { position: relative; z-index: 3; max-width: 640px; }
.hero-title { font-size: clamp(2.6rem, min(5.6vw, 9.5svh), 5.4rem); font-weight: 500; line-height: 1; margin-bottom: 1.6rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero-title .line:nth-child(3) > span { font-weight: 600; }
.reveal-line { overflow: hidden; }
.reveal-line span { display: inline-block; transform: translateY(100%); transition: transform 1s var(--ease-out); }
/* Subtítulo na família condensada, como o "comunicação e cultura" da marca */
.hero-sub {
  font-family: var(--f-cond); font-weight: 300;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; letter-spacing: .01em;
  color: rgba(255, 255, 255, .82); max-width: 30ch; margin-bottom: 2.4rem;
  opacity: 0; transform: translateY(20px); transition: opacity .8s, transform 1s var(--ease-out);
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: opacity .8s, transform 1s var(--ease-out); }

/* Entrada do texto da cena ativa (depois da abertura e a cada troca de cena) */
.is-loaded .scene.is-active .reveal-line span { transform: none; transition-delay: .35s; }
.is-loaded .scene.is-active .hero-title .line > span { transform: none; transition-delay: .45s; }
.is-loaded .scene.is-active .hero-title .line:nth-child(2) > span { transition-delay: .57s; }
.is-loaded .scene.is-active .hero-title .line:nth-child(3) > span { transition-delay: .69s; }
.is-loaded .scene.is-active .hero-sub { opacity: 1; transform: none; transition-delay: .9s; }
.is-loaded .scene.is-active .hero-actions { opacity: 1; transform: none; transition-delay: 1.05s; }

.hero-visual {
  position: absolute; z-index: 2; right: max(0px, (100% - 1400px) / 2); top: 50%;
  width: min(52vw, 82svh, 720px); aspect-ratio: 1; translate: 6% -50%;
  display: grid; place-items: center; perspective: 1200px;
}
.halo {
  position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(251, 186, 22, .55);
  box-shadow: 0 0 60px 6px rgba(247, 148, 29, .35), inset 0 0 60px 4px rgba(247, 148, 29, .25);
  opacity: 0; scale: .6; transition: opacity 1.6s .4s, scale 1.8s var(--ease-out) .4s;
}
.is-loaded .halo { opacity: 1; scale: 1; animation: halo-pulse 6s ease-in-out 2.4s infinite; }
@keyframes halo-pulse { 50% { box-shadow: 0 0 90px 12px rgba(247, 148, 29, .45), inset 0 0 70px 6px rgba(247, 148, 29, .3); } }

.pinwheel-wrap { width: 70%; aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.pinwheel {
  width: 100%; height: 100%;
  filter: drop-shadow(0 30px 60px rgba(239, 107, 34, .35));
  scale: 0; rotate: -200deg;
  transition: scale 1.8s var(--ease-spring) .2s, rotate 2.4s var(--ease-out) .2s;
}
.is-loaded .pinwheel { scale: 1; rotate: 0deg; }
/* Teste pedido: rotação bem mais lenta (90s por volta) x estático */
body[data-spin="slow"].is-loaded .pinwheel { animation: spin 90s linear 2.6s infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Cenas com vídeo ("Cores em movimento", gerado no Google Flow) */
.scene { background: var(--wine-deep); }
.scene .scene-media { position: absolute; inset: 0; z-index: 0; }
.scene-video {
  position: absolute; inset: -1%; width: 102%; height: 102%; object-fit: cover;
  transform: scale(1); transition: transform 8s linear, translate 1.2s var(--ease-out);
}
/* zoom lento enquanto a cena está ativa (sensação de câmera viva) */
.scene.is-active .scene-video { transform: scale(1.04); }
/* véu vinho à esquerda + base escura: deixa título e botões legíveis sobre o vídeo */
.scene::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(74, 10, 32, .9) 0%, rgba(74, 10, 32, .62) 38%, rgba(74, 10, 32, 0) 70%),
    linear-gradient(0deg, rgba(18, 6, 9, .7) 0%, rgba(18, 6, 9, 0) 35%);
}
.scene .hero-title .accent { background: none; color: var(--yellow); }
.scene .hero-sub { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* Navegação das cenas: setas, contador, progresso */
.scene-nav {
  position: absolute; z-index: 5; left: max(24px, (100% - 1240px) / 2); bottom: 34px;
  display: flex; align-items: center; gap: 1rem; color: #fff; font-family: var(--f-cond); letter-spacing: .08em;
  transition: color .6s;
}
.scene-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; font-size: 1rem;
  display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.scene-arrow:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.scene-count b { font-size: 1.5rem; font-weight: 500; }
.scene-count span { opacity: .55; margin-left: .2em; }
.scene-label { text-transform: uppercase; font-size: .8rem; letter-spacing: .22em; opacity: .7; }

/* Botão de som da trilha */
.sound-toggle {
  display: inline-flex; align-items: center; gap: .5rem; margin-left: .6rem;
  height: 44px; padding: 0 1rem 0 .8rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(18, 6, 9, .35); backdrop-filter: blur(6px);
  font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; font-size: .78rem;
  transition: background .3s, border-color .3s;
}
.sound-toggle:hover { background: var(--orange); border-color: var(--orange); }
.sound-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.sound-toggle .ic-off, .sound-toggle.is-muted .ic-on { display: none; }
.sound-toggle.is-muted .ic-off { display: block; }
/* ondinhas animadas enquanto o som está ligado */
.sound-toggle:not(.is-muted) .ic-on { animation: sound-pulse 1.6s ease-in-out infinite; }
@keyframes sound-pulse { 50% { opacity: .55; } }
/* no desktop o som vai para a ponta direita da barra, longe do indicador de rolagem e do WhatsApp */
@media (min-width: 861px) {
  .scene-nav { right: max(112px, (100% - 1240px) / 2); }
  .sound-toggle { margin-left: auto; }
}
@media (max-width: 1240px) { .scroll-cue { display: none; } }

/* Tom claro (cena 2): header, setas e índice ficam escuros */
.site-header { color: #fff; }
body[data-hero-tone="light"] .site-header:not(.is-scrolled) { color: var(--wine); }
body[data-hero-tone="light"] .scene-nav,
body[data-hero-tone="light"] .hero-side,
body[data-hero-tone="light"] .scroll-cue { color: var(--wine); }

.hero-side {
  position: absolute; left: 22px; top: 50%; translate: 0 -50%; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 1rem; color: #fff; transition: color .6s;
  font-family: var(--f-cond); letter-spacing: .2em; font-size: .75rem;
}
.hero-index { font-size: 1rem; border-bottom: 2px solid var(--orange); padding-bottom: .3rem; }
.hero-side-line { width: 1px; height: 60px; background: currentColor; opacity: .3; }
.hero-side-label { writing-mode: vertical-rl; rotate: 180deg; text-transform: uppercase; opacity: .55; }

/* ---------- Abertura ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(120deg, var(--wine) 0%, #B8302E 45%, var(--orange) 100%);
  transition: clip-path 1.1s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader-blobs span {
  position: absolute; border-radius: 50%; filter: blur(2px);
  animation: blob 2.2s var(--ease-out) forwards;
}
.loader-blobs span:nth-child(1) { width: 70vmax; height: 30vmax; background: var(--yellow); left: -20vmax; top: 55%; rotate: -12deg; }
.loader-blobs span:nth-child(2) { width: 60vmax; height: 26vmax; background: var(--amber); right: -25vmax; top: 10%; rotate: 18deg; animation-delay: .1s; }
.loader-blobs span:nth-child(3) { width: 50vmax; height: 22vmax; background: var(--magenta); left: 20%; top: -18vmax; rotate: 8deg; opacity: .7; animation-delay: .2s; }
@keyframes blob { from { transform: translateX(-30%) scale(1.1); } to { transform: translateX(10%) scale(0); } }
.loader-mark {
  position: relative; width: min(46vmin, 360px); aspect-ratio: 1;
  animation: loader-mark 2.1s var(--ease-out) forwards;
}
@keyframes loader-mark {
  0% { transform: scale(2.6) rotate(-120deg); opacity: 0; }
  30% { opacity: 1; }
  70% { transform: scale(1) rotate(0); }
  100% { transform: scale(.32) rotate(90deg); }
}
.loader-word {
  position: absolute; top: calc(50% + 70px); font-weight: 600; letter-spacing: .5em; font-size: .95rem; color: #fff;
  opacity: 0; animation: loader-word 2.1s ease forwards;
}
@keyframes loader-word { 55% { opacity: 0; transform: translateY(10px); } 80%, 100% { opacity: 1; transform: none; } }
body.is-intro { overflow: hidden; }


.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 28px; width: 24px; height: 40px; color: #fff; transition: color .6s; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================
   SEÇÕES GERAIS + REVEAL
   ========================================================== */
.section { position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .section-num { justify-content: center; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.section-note { color: var(--muted); margin-top: 1rem; font-size: .95rem; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Quem somos ---------- */
.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.about-intro { position: sticky; top: 120px; }
.about-intro .display { margin-bottom: 1.6rem; }
.about-intro .lead { color: rgba(255, 255, 255, .78); }
.hook {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: .6rem;
  font-family: var(--f-cond); font-size: 1.25rem; font-weight: 500; color: var(--yellow);
}
.hook-arrow { display: inline-block; animation: nudge 1.8s var(--ease-out) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.about-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-num {
  position: relative; padding: 2rem 1.8rem 1.6rem; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-dark);
  font-size: .98rem; color: rgba(255, 255, 255, .82);
  transition: border-color .5s, transform .6s var(--ease-out), background .5s;
}
.card-num:nth-child(even) { margin-top: 48px; }
.card-num:hover { border-color: rgba(247, 148, 29, .5); transform: translateY(-6px); background: linear-gradient(160deg, rgba(142, 24, 64, .35), rgba(255, 255, 255, .02)); }
.card-num .n { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--orange); color: var(--orange); font-family: var(--f-cond); font-size: 1rem; margin-bottom: 1.1rem; }
.card-num strong { color: var(--yellow); font-weight: 500; }
.card-num p { margin: 0; }

/* ---------- Quem conduz ---------- */
.founder { background: linear-gradient(180deg, var(--ink) 0%, var(--wine-deep) 55%, var(--wine) 100%); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-text .display { margin-bottom: 2rem; }
.founder-text p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.highlight {
  color: var(--ink); font-weight: 500; padding: .05em .3em; border-radius: 4px;
  background: linear-gradient(100deg, var(--yellow), var(--amber)) no-repeat 0 0 / 0% 100%;
  transition: background-size 1.4s var(--ease-out) .6s, color .6s .9s;
  color: #fff;
}
.founder-text.is-in .highlight { background-size: 100% 100%; color: var(--ink); }
.founder-photo { position: relative; margin: 0; }
.photo-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px 28px 28px 160px; overflow: hidden;
  background: linear-gradient(150deg, var(--orange), var(--amber) 50%, var(--yellow));
  display: grid; place-items: center;
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 1; transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
.founder-photo.is-in .photo-frame img { transform: none; }
.photo-placeholder { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .2em; text-align: center; color: rgba(255, 255, 255, .8); }
.founder-mark { position: absolute; width: 38%; aspect-ratio: 1; right: -8%; top: -8%; animation: spin 120s linear infinite; z-index: 2; }
.founder-photo figcaption { position: absolute; left: -24px; bottom: 32px; z-index: 3; background: var(--ink); padding: 1rem 1.4rem; border-radius: 14px; display: flex; flex-direction: column; line-height: 1.3; }
.founder-photo figcaption span { font-family: var(--f-cond); color: var(--amber); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }

/* ---------- Equipe ---------- */
.team { background: var(--cream); color: var(--text); }
.team .section-num { color: var(--orange); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.member-btn { display: flex; flex-direction: column; text-align: left; width: 100%; }
.member-photo {
  position: relative; aspect-ratio: 4 / 5; width: 100%; border-radius: 20px; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 1rem;
}
.member-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: 2; transform: scale(var(--zoom, 1)); transition: transform .8s var(--ease-out); }
/* Tratamento nas cores da marca: unifica fotos com fundos diferentes; cor original ao passar o mouse */
.member-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: inherit; mix-blend-mode: color; opacity: .9; transition: opacity .7s var(--ease-out);
}
.member-btn:hover .member-photo::after, .member-btn:focus-visible .member-photo::after, .profile .member-photo::after { opacity: 0; }
.tone-wine { background: linear-gradient(160deg, var(--wine), var(--wine-deep)); }
.tone-orange { background: linear-gradient(160deg, var(--amber), var(--orange)); }
.tone-yellow { background: linear-gradient(160deg, var(--yellow), var(--amber)); }
.tone-amber { background: linear-gradient(160deg, var(--orange), var(--wine)); }
.member-mark { position: absolute; width: 130%; aspect-ratio: 1; right: -55%; bottom: -55%; opacity: .35; transition: rotate 1.4s var(--ease-out); mix-blend-mode: soft-light; }
.member-initials { position: relative; font-size: 3rem; font-weight: 600; color: rgba(255, 255, 255, .92); letter-spacing: -.02em; }
.member-btn:hover .member-mark { rotate: 120deg; }
.member-btn:hover img { transform: scale(calc(var(--zoom, 1) * 1.05)); }
.member-name { font-weight: 600; font-size: 1.15rem; transition: color .3s; }
.member-btn:hover .member-name { color: var(--wine); }
.member-role { font-family: var(--f-cond); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Serviços ---------- */
.services { background: linear-gradient(120deg, var(--magenta) 0%, #E5482F 40%, var(--orange) 70%, var(--amber) 100%); }
.services .section-num { color: #fff; }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.waves path { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.services-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .25); border-radius: 24px; overflow: hidden; }
.service { background: rgba(74, 10, 32, .38); backdrop-filter: blur(6px); padding: 2.4rem 2rem; position: relative; transition: background .5s; }
.service::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, var(--wine), var(--wine-deep)); opacity: 0; transition: opacity .5s; z-index: 0; }
.service > * { position: relative; z-index: 1; }
.service:hover::after { opacity: 1; }
.svc-icon { width: 56px; height: 56px; color: #fff; margin-bottom: 1.4rem; }
.svc-icon .ic-petal { fill: var(--yellow); stroke: none; transform-box: fill-box; }
.svc-icon .ic-dot { fill: currentColor; }
.svc-icon g > :not(.ic-petal) { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--ease-out) calc(var(--d, 0s) + .3s); }
.service.is-in .svc-icon g > :not(.ic-petal) { stroke-dashoffset: 0; }
.service h3 { font-size: 1.3rem; margin-bottom: .9rem; }
.service p { font-size: .95rem; color: rgba(255, 255, 255, .88); margin: 0; }

/* ---------- Cases ---------- */
.cases { background: var(--ink-2); }
.cases-bg-mark { position: absolute; width: 1100px; aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%; opacity: .07; animation: spin 240s linear infinite; transition: opacity .8s; }
.cases-bg-image {
  position: absolute; inset: -6%; opacity: 0; transition: opacity 1s;
  background: linear-gradient(180deg, rgba(28, 11, 16, .55), rgba(28, 11, 16, .85)), url(../assets/img/cases-rede.jpg) center / cover;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
body[data-cases="image"] .cases-bg-image { opacity: 1; }
body[data-cases="image"] .cases-bg-mark { opacity: 0; }
.cases-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-btn {
  display: flex; flex-direction: column; text-align: left; width: 100%; height: 100%;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden;
  transition: transform .6s var(--ease-out), border-color .4s;
}
.case-btn:hover { transform: translateY(-8px); border-color: rgba(247, 148, 29, .55); }
.case-logo { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #fff; padding: 2rem; position: relative; overflow: hidden; }
.case-logo img { max-height: 100px; width: auto; object-fit: contain; transition: transform .8s var(--ease-out); }
.case-btn:hover .case-logo img { transform: scale(1.06); }
.case-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.6rem 1.8rem; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.case-tags em { font-style: normal; font-family: var(--f-cond); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(247, 148, 29, .4); border-radius: 999px; padding: .1rem .6rem; }
.case-body strong { font-size: 1.5rem; font-weight: 600; }
.case-excerpt { color: rgba(255, 255, 255, .7); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.case-link { margin-top: auto; padding-top: .4rem; color: var(--yellow); font-weight: 500; font-size: .92rem; }
.cases-more { text-align: center; margin-top: 56px; }

/* ---------- Clientes (logos fixas) ---------- */
.clients { background: var(--paper); color: var(--text); }
.clients .display { color: var(--wine); }
.clients .section-num { color: var(--orange); }
/* Clientes: 5 por linha, logos maiores, cada card leva ao site do cliente (nova aba) */
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client { position: relative; background: #fff; border-radius: 18px; aspect-ratio: 4 / 3; border: 1px solid var(--line-light); transition: box-shadow .5s, transform .5s var(--ease-out), border-color .4s; }
.client > a, .client > .client-box { position: absolute; inset: 0; display: grid; place-items: center; padding: 10%; border-radius: inherit; }
.client img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .5s, opacity .5s, transform .6s var(--ease-out); }
.client:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(142, 24, 64, .4); border-color: rgba(239, 107, 34, .45); }
.client:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.client-go { position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; color: #fff; background: var(--orange); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-spring); }
.client:hover .client-go, .client a:focus-visible .client-go { opacity: 1; transform: none; }
@media (max-width: 1024px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Blog (fundo na identidade da marca) ---------- */
.blog { background: radial-gradient(70% 90% at 85% 10%, var(--wine) 0%, var(--wine-deep) 45%, var(--ink) 100%); }
.blog-bg { position: absolute; inset: 0; pointer-events: none; }
.blog-mark { position: absolute; aspect-ratio: 1; opacity: .16; }
.blog-mark.m1 { width: 520px; right: -140px; top: -120px; animation: spin 160s linear infinite; }
.blog-mark.m2 { width: 300px; left: -100px; bottom: -80px; animation: spin 120s linear infinite reverse; opacity: .1; }
.btn-ghost.light { color: #fff; }
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post a { display: flex; flex-direction: column; gap: .7rem; }
.post-thumb { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; display: grid; place-items: center; position: relative; margin-bottom: .6rem; }
.post-thumb svg { width: 60%; aspect-ratio: 1; transition: rotate 1.6s var(--ease-out), scale 1s var(--ease-out); }
.post-thumb.t1 { background: linear-gradient(140deg, var(--wine), var(--orange)); }
.post-thumb.t2 { background: linear-gradient(140deg, var(--orange), var(--yellow)); }
.post-thumb.t3 { background: linear-gradient(140deg, var(--ink), var(--wine)); }
.post a:hover .post-thumb svg { rotate: 90deg; scale: 1.1; }
.post-meta { font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--amber); }
.post h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 500; }
.post-link { color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* ---------- Contato ---------- */
.contact { background: var(--cream); color: var(--text); }
.contact .section-num { color: var(--orange); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .display { color: var(--wine); margin-bottom: 1.4rem; font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.contact .lead { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line-light); transition: transform .5s var(--ease-out), border-color .3s; word-break: break-word; }
.contact-list a:hover { transform: translateX(6px); border-color: var(--orange); }
.contact-list small { display: block; font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .12em; color: var(--orange); font-size: .75rem; }
.contact-list a > span:last-child { font-weight: 500; }
.ci { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; }
.ci svg { width: 22px; fill: #fff; }
.contact-form { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line-light); box-shadow: 0 40px 80px -50px rgba(142, 24, 64, .35); display: grid; gap: 1rem; }
.contact-form h3 { font-size: 1.5rem; color: var(--text); margin-bottom: .6rem; font-weight: 500; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; }
.contact-form label span { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--text); width: 100%;
  border: 1px solid var(--line-light); background: var(--cream); border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .3s, background .3s, box-shadow .3s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(239, 107, 34, .12); }
.contact-form .btn { justify-self: start; margin-top: .4rem; }
.form-status { margin: 0; font-size: .9rem; color: var(--wine); min-height: 1.4em; }

/* ---------- Rodapé ---------- */
.site-footer { background: #fff; color: var(--text); padding: 48px 0; border-top: 1px solid var(--line-light); position: relative; z-index: 2; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-logo { height: 56px; width: auto; }
.footer-grid nav { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .92rem; }
.footer-grid nav a:hover { color: var(--orange); }
.footer-grid p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- WhatsApp flutuante ---------- */
.whats-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: .7rem; }
.whats-icon { width: 60px; height: 60px; border-radius: 50%; background: #25D366; transition: transform .3s var(--ease-out); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); position: relative; }
.whats-icon::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.whats-icon svg { width: 30px; fill: #fff; }
.whats-float:hover .whats-icon { transform: scale(1.06); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
/* sem isto o display:grid anulava o [hidden] e a camada invisível bloqueava os cliques da página */
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18, 6, 9, .7); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal-panel {
  position: relative; background: var(--cream); color: var(--text); border-radius: 28px;
  width: min(860px, 100%); max-height: calc(100svh - 48px); padding: clamp(24px, 4vw, 48px);
  /* rolagem própria do card: suave, presa ao card (não arrasta a página) e com barra discreta da marca */
  overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(142, 24, 64, .45) transparent;
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .35s, transform .5s var(--ease-out);
}
.modal-panel::-webkit-scrollbar { width: 8px; }
.modal-panel::-webkit-scrollbar-track { background: transparent; margin: 24px 0; }
.modal-panel::-webkit-scrollbar-thumb { background: rgba(142, 24, 64, .35); border-radius: 8px; border: 2px solid var(--cream); }
.modal-panel::-webkit-scrollbar-thumb:hover { background: var(--wine); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
/* o X acompanha a rolagem (fica sempre à mão no topo do card) */
.modal-close {
  position: sticky; top: 0; z-index: 3; float: right; margin: calc(clamp(24px, 4vw, 48px) * -1 + 16px) calc(clamp(24px, 4vw, 48px) * -1 + 16px) 0 12px;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; background: #fff; border: 1px solid var(--line-light);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35); transition: rotate .4s var(--ease-out), background .3s;
}
/* degradê no fim do card indica que há mais texto para rolar */
.modal-body::after { content: ''; display: block; height: 8px; }
.modal-panel::after {
  content: ''; position: sticky; bottom: calc(clamp(24px, 4vw, 48px) * -1); display: block; height: 64px; margin: -64px calc(clamp(24px, 4vw, 48px) * -1) calc(clamp(24px, 4vw, 48px) * -1);
  background: linear-gradient(180deg, rgba(251, 246, 241, 0), var(--cream) 85%); pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.modal-panel.has-more::after { opacity: 1; }
.modal-close:hover { rotate: 90deg; background: var(--wine); color: #fff; }
.modal .section-num { color: var(--orange); margin-bottom: .6rem; }
.modal h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--wine); margin-bottom: .4rem; }
.profile { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.profile .member-photo { margin: 0; }
.profile h2 { margin-bottom: 1.2rem; }
.case-detail .case-logo { border-radius: 18px; aspect-ratio: auto; height: 140px; margin-bottom: 1.6rem; border: 1px solid var(--line-light); }
.case-detail dl { margin: 1.4rem 0 0; display: grid; gap: .3rem; }
.case-detail dt { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .14em; color: var(--orange); font-size: .85rem; margin-top: .8rem; }
.case-detail dd { margin: 0; }

/* ---------- Página de cases ---------- */
.page-hero { padding: 180px 0 60px; background: radial-gradient(60% 80% at 80% 0%, var(--wine), var(--ink) 70%); position: relative; overflow: hidden; }
.page-hero .lead { color: rgba(255, 255, 255, .75); max-width: 56ch; margin-top: 1.4rem; }
.page-hero .waves path { stroke: rgba(247, 148, 29, .22); }
.page-hero-mark { position: absolute; width: 520px; aspect-ratio: 1; right: -120px; top: 40px; opacity: .25; animation: spin 140s linear infinite; }

/* ==========================================================
   NAVEGAÇÃO FLUIDA
   ========================================================== */
.main-nav a.is-current::after { transform: scaleX(1); }
.menu-open .main-nav { color: #fff; }
.nav-cta:hover { color: #fff; }

/* Índice lateral: número + nome da seção ativa */
.section-index {
  position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: .55rem;
  font-family: var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: #fff;
  transition: color .5s;
}
.section-index.on-light { color: var(--wine); }
.section-index a { display: flex; align-items: center; gap: .6rem; height: 18px; }
.section-index i { display: block; width: 14px; height: 1px; background: currentColor; opacity: .4; transition: width .5s var(--ease-out), opacity .4s, background .4s; }
.section-index .si-num, .section-index .si-name { font-size: .72rem; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.section-index a:hover .si-num, .section-index a:hover .si-name { opacity: .7; transform: none; }
.section-index a.is-active i { width: 34px; opacity: 1; background: var(--orange); }
.section-index a.is-active .si-num { opacity: 1; transform: none; color: var(--orange); font-size: .9rem; }
/* nome aparece só no hover, para não invadir o conteúdo em telas menores */
.section-index:hover a.is-active .si-name { opacity: 1; transform: none; }

/* Cortina entre páginas, com o catavento */
.page-wipe {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; place-items: center;
  background: linear-gradient(120deg, var(--wine) 0%, #B8302E 50%, var(--orange) 100%);
  clip-path: inset(100% 0 0 0);
}
.page-wipe svg { width: 120px; height: 120px; opacity: 0; transform: scale(.6) rotate(-90deg); }
.page-wipe.is-entering { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-out); pointer-events: auto; }
.page-wipe.is-entering svg { opacity: 1; transform: none; transition: opacity .4s .2s, transform .8s var(--ease-out) .1s; }
.page-wipe.is-covering { clip-path: inset(0 0 0 0); transition: none; }
.page-wipe.is-covering svg { opacity: 1; transform: none; }
.page-wipe.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-out) .1s; }
.page-wipe.is-leaving svg { opacity: 0; transform: scale(.4) rotate(120deg); transition: opacity .4s, transform .8s var(--ease-out); }

/* Cursor que acompanha o mouse */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor::before {
  content: ''; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--orange); mix-blend-mode: difference;
  transition: transform .45s var(--ease-out), background .3s, border-color .3s;
}
.cursor.is-link::before { transform: scale(1.7); background: rgba(239, 107, 34, .15); }
.cursor.is-view::before { transform: scale(3); background: var(--orange); border-color: var(--orange); mix-blend-mode: normal; }
.cursor-label {
  position: absolute; left: 0; top: 0; translate: -50% -50%; color: #fff; font-family: var(--f-cond);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .3s;
}
.cursor.is-view .cursor-label { opacity: 1; }

/* Títulos de seção entram palavra por palavra */
.display.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.display.is-split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + .1s); }
.reveal.is-in .display.is-split .w > span { transform: none; }

@media (max-width: 1100px) { .section-index { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .display.is-split .w > span { transform: none; }
  .scene.from-card { clip-path: none; }
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1360px) { .hero-side { display: none; } }
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .cases-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --container: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(18, 6, 9, .97); font-size: 1.6rem; font-weight: 500;
    opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .menu-open .main-nav { opacity: 1; pointer-events: auto; }
  .scene { grid-template-columns: 1fr; padding: 96px 16px 104px; align-items: end; }
  .hero-sub { margin-bottom: 1.6rem; }
  .hero-actions .btn { padding: .8rem 1.2rem; font-size: .9rem; }
  .scene::after { background: linear-gradient(0deg, rgba(74, 10, 32, .95) 0%, rgba(74, 10, 32, .7) 50%, rgba(74, 10, 32, .15) 100%); }
  .scene-nav { left: 16px; right: 16px; bottom: 24px; gap: .7rem; }
  .scene-arrow { width: 40px; height: 40px; }
  .whats-float { right: 16px; bottom: 84px; }
  .whats-icon { width: 54px; height: 54px; }
  .scene-label { display: none; }
  .hero-visual { width: 110vw; right: auto; left: 60%; top: 26%; translate: -50% -50%; opacity: .3; }
  .hero-content { max-width: none; }
  .scroll-cue { display: none; }
  .about-grid, .founder-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  .founder-photo { max-width: 460px; }
  .founder-photo figcaption { left: 12px; }
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-cards, .services-grid, .cases-grid, .blog-grid { grid-template-columns: 1fr; }
  .card-num:nth-child(even) { margin-top: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .member-initials { font-size: 2.2rem; }
  .contact-form .row { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile .member-photo { max-width: 180px; }
  .whats-float { right: 16px; bottom: 80px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .hero-sub, .hero-actions { opacity: 1; transform: none; }
  .hero-title .line > span, .reveal-line span { transform: none; }
  .pinwheel { scale: 1; rotate: 0deg; }
}

@media (max-width: 860px) {
  /* no celular o botão de som fica só com o ícone */
  .sound-toggle { width: 40px; height: 40px; padding: 0; margin-left: 0; justify-content: center; }
  .sound-toggle .sound-label { display: none; }
}

/* ---------- Cenas 1–8: segmentos clicáveis (estilo stories) ---------- */
.scene-steps { display: flex; gap: 6px; align-items: center; }
.scene-step { position: relative; width: 34px; height: 22px; display: grid; align-items: center; }
.scene-step::before { content: ''; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: background .3s; }
.scene-step i { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.scene-step.is-done i { transform: scaleX(1); background: rgba(255, 255, 255, .7); }
.scene-step:hover::before { background: rgba(255, 255, 255, .6); }
.scene-step span {
  position: absolute; bottom: 130%; left: 50%; translate: -50% 6px; white-space: nowrap;
  padding: .25rem .6rem; border-radius: 6px; background: rgba(18, 6, 9, .85);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity .25s, translate .3s var(--ease-out);
}
.scene-step:hover span, .scene-step:focus-visible span { opacity: 1; translate: -50% 0; }

/* ---------- Voltar ao topo ---------- */
.back-top {
  position: fixed; right: 30px; bottom: 98px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(18, 6, 9, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease-out), background .3s;
}
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--orange); border-color: var(--orange); }
.back-top svg { width: 20px; fill: currentColor; transition: transform .35s var(--ease-out); }
.back-top:hover svg { transform: translateY(-3px); }
.back-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 860px) {
  .scene-steps { flex: 1; gap: 4px; }
  .scene-step { flex: 1; width: auto; }
  .scene-step span { display: none; }
  .back-top { right: 21px; bottom: 150px; width: 44px; height: 44px; }
}

/* ==========================================================
   BLOG — cards no mesmo padrão dos cases, modal e página de artigo
   ========================================================== */
.case-logo.case-photo { padding: 0; background: var(--ink-2); }
.case-logo.case-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.post .case-btn:hover .case-photo img { transform: scale(1.06); }
.post .case-body strong { font-size: 1.3rem; line-height: 1.2; }

/* artigo dentro do modal */
.post-detail .case-logo.case-photo { height: auto; aspect-ratio: 16 / 9; border: 0; overflow: hidden; }
.post-lead { font-size: 1.1rem; color: var(--muted); margin-top: .6rem; }
.post-open { margin: 2rem 0 0; }
.post-open .btn { color: var(--wine); }

/* tipografia do corpo do artigo (modal e página) */
.art-body { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.art-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--wine); margin: 2.2rem 0 .8rem; line-height: 1.2; }
.art-body p { margin: 0 0 1.1rem; }
.art-body ul { margin: 0 0 1.4rem; padding-left: 1.2rem; }
.art-body li { margin-bottom: .5rem; }
.art-body li::marker { color: var(--orange); }
.art-body blockquote {
  margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0;
  background: #fff; font-size: 1.2rem; font-weight: 500; color: var(--wine); line-height: 1.45;
}

/* página do artigo */
.artigo { background: var(--cream); color: var(--text); padding-top: 140px; }
.artigo-wrap { max-width: 820px; }
.art-back { display: inline-block; margin-bottom: 1.6rem; color: var(--orange); font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
.art-back:hover { color: var(--wine); }
.art-head .section-num { color: var(--orange); }
.art-head .display { color: var(--wine); font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
.art-head .lead { color: var(--muted); }
.art-cover { margin: 2.2rem 0 2.6rem; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-cta { margin: 3rem 0 2rem; padding: 1.8rem; border-radius: 22px; background: linear-gradient(120deg, var(--wine), var(--orange)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.art-cta p { margin: 0; font-size: 1.25rem; font-weight: 500; }
.art-cta .btn-primary { background: var(--ink); }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.art-nav a { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--line-light); transition: border-color .3s, transform .4s var(--ease-out); }
.art-nav a:hover { border-color: var(--orange); transform: translateY(-3px); }
.art-nav small { font-family: var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.art-nav .art-nav-next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .art-nav { grid-template-columns: 1fr; } .art-nav .art-nav-next { grid-column: 1; } }
/* crédito das fotos do blog (Unsplash) */
.art-cover { position: relative; }
.art-cover figcaption, .photo-credit { font-family: var(--f-cond); font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.art-cover figcaption { position: absolute; right: 12px; bottom: 10px; padding: .2rem .6rem; border-radius: 6px; background: rgba(18, 6, 9, .55); color: #fff; }
.photo-credit { margin: -1.2rem 0 1.2rem; text-align: right; }

/* ---------- Artigo: curtir, comentar, WhatsApp, imprimir ---------- */
.art-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.art-act {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-light); color: var(--text); font-size: .9rem; font-weight: 500;
  transition: border-color .3s, background .3s, color .3s, transform .3s var(--ease-out);
}
.art-act svg { width: 18px; height: 18px; fill: currentColor; }
.art-act:hover { border-color: var(--orange); transform: translateY(-2px); }
.act-like.is-on { background: var(--wine); border-color: var(--wine); color: #fff; }
.act-like.pop svg { animation: like-pop .5s var(--ease-spring); }
@keyframes like-pop { 40% { transform: scale(1.45); } }
.act-whats:hover { background: #25D366; border-color: #25D366; color: #fff; }
.art-actions-end { margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.art-actions-end p { margin: 0; font-weight: 500; color: var(--wine); }

@media (max-width: 600px) { .art-act .act-label { font-size: .85rem; } }

/* ---------- Impressão do artigo: só o conteúdo, sem menu, vídeo, botões ---------- */
@media print {
  @page { margin: 18mm 16mm; }
  body { background: #fff !important; color: #000; }
  .site-header, .site-footer, .whats-float, .back-top, .cursor, .page-wipe, .loader, .section-index, .grid-lines,
  .art-actions, .art-actions-end, .art-cta, .art-nav, .art-back, .modal { display: none !important; }
  .artigo { padding: 0 !important; background: #fff !important; }
  .reveal, .display.is-split .w > span { opacity: 1 !important; transform: none !important; }
  .art-head .display { color: #000; font-size: 24pt; }
  .art-cover { break-inside: avoid; border-radius: 0; aspect-ratio: auto; max-height: 90mm; }
  .art-cover figcaption { position: static; background: none; color: #555; padding: 2mm 0 0; }
  .art-body { font-size: 11pt; line-height: 1.55; }
  .art-body h2 { color: #000; break-after: avoid; }
  .art-body blockquote { background: none; border-left-color: #999; color: #000; }
  .artigo-wrap::before { content: 'Próspera · Comunicação e Cultura — prosperacomunicacao.com.br'; display: block; font: 9pt sans-serif; color: #666; margin-bottom: 6mm; }
}

.art-act:disabled { opacity: .6; cursor: progress; }
