/* ==========================================================================
   Marcos Nazario · Psicólogo
   Persona A (Editorial Premium) · paleta do projeto da casa + logo do cliente
   ========================================================================== */

:root {
  --papel: #F6F1E9;
  --papel-2: #FBF8F3;
  --creme: #EDE4D6;
  --creme-2: #E3D7C4;
  --terracota: #9A4F2E;
  --terracota-escura: #7C3E23;
  --terracota-viva: #C8582F;
  --oliva: #66703A;
  --verde: #34402F;
  --azul: #233A66;
  --mostarda: #D6A23C;
  --texto: #221E1A;
  --texto-suave: #5C5249;
  --linha: rgba(34, 30, 26, 0.14);
  --linha-clara: rgba(246, 241, 233, 0.18);

  --f-title: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, 'Consolas', monospace;
  --f-accent: 'Instrument Serif', Georgia, serif;

  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(34, 30, 26, 0.35);
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--texto); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.02em; }
.accent { font-family: var(--f-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--terracota-viva); }
:focus-visible { outline: 2px solid var(--terracota-viva); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--texto); color: var(--papel); padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- tipografia de seção ---------- */
.kicker {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: .55rem;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracota); margin: 0 0 1.1rem;
}
.kicker::after { content: ''; width: 28px; height: 2px; background: currentColor; transform-origin: left; }
.kicker--light { color: var(--mostarda); }
.section-title { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 20ch; }
.section-title .accent { font-size: 1.08em; }
.section-intro { color: var(--texto-suave); font-size: 1.1rem; max-width: 56ch; margin-top: 1.2rem; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.35rem; min-height: 46px;
  font-family: var(--f-body); font-size: .95rem; font-weight: 600; line-height: 1.2;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn--lg { padding: 1rem 1.6rem; min-height: 54px; font-size: 1rem; }
.btn--primary { background: var(--terracota); color: var(--papel); }
.btn--primary:hover { background: var(--terracota-escura); transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(124, 62, 35, .8); }
.btn--ghost { border-color: var(--texto); color: var(--texto); background: transparent; }
.btn--ghost:hover { background: var(--texto); color: var(--papel); transform: translateY(-2px); }
.btn--light { background: var(--papel); color: var(--azul); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--terracota); text-decoration: none; min-height: 44px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { color: var(--terracota-escura); }

/* ---------- progresso de leitura ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1300; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--terracota), var(--mostarda)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled {
  --header-h: 64px;
  background: rgba(246, 241, 233, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--linha);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--texto); flex-shrink: 0; }
.brand__icon { width: 40px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__icon { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--f-title); font-weight: 600; font-size: 1.14rem; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--f-mono); font-size: .68rem; color: var(--texto-suave); letter-spacing: .06em; margin-top: .2rem; }
.brand--light { color: var(--papel); }
.brand--light .brand__sub { color: rgba(246, 241, 233, .7); }
.nav { margin-left: auto; }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 1.8rem); }
.nav__links a { position: relative; text-decoration: none; font-size: .94rem; font-weight: 500; padding: .5rem 0; color: var(--texto); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1.5px; background: var(--terracota); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.active { color: var(--terracota); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto; padding: 0;
  background: var(--papel-2); color: var(--texto);
  border: 1px solid var(--linha); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* drawer mobile: visual SEMPRE fora de media query */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(86vw, 360px);
  display: flex; flex-direction: column; padding: 1.1rem 1.5rem 2rem;
  background: var(--papel);
  box-shadow: -18px 0 50px -22px rgba(0, 0, 0, .3);
  transform: translateX(100%); visibility: hidden;
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility .34s; overscroll-behavior: contain;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--linha); }
.brand--small .brand__icon { width: 34px; }
.mobile-menu__links li { border-bottom: 1px solid var(--linha); }
.mobile-menu__links a { display: flex; align-items: center; min-height: 54px; font-size: 1.06rem; font-weight: 500; color: var(--texto); text-decoration: none; transition: color .2s, padding .2s; }
.mobile-menu__links a:hover, .mobile-menu__links a.active { color: var(--terracota); padding-left: .3rem; }
.mobile-menu__note { font-family: var(--f-mono); font-size: .75rem; color: var(--texto-suave); margin: 1.4rem 0 0; }
.mobile-menu__cta { margin-top: auto; width: 100%; }
.mobile-close { background: none; border: none; color: var(--terracota); cursor: pointer; padding: .4rem; margin: -.4rem; line-height: 0; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-close svg { width: 28px; height: 28px; }
.menu-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(34, 30, 26, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .header__inner { justify-content: space-between; }
  .nav, .header__cta { display: none; }
  .brand { margin-right: auto; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(214, 162, 60, .10), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(102, 112, 58, .10), transparent 60%),
    var(--papel);
}
.hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .11 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__text { position: relative; z-index: 2; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 5.6vw, 5.4rem); font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 1.6rem; }
.hero__title .line { display: block; overflow: hidden; padding: .04em 0 .1em; margin-bottom: -.1em; }
.hero__title .word { display: inline-block; }
.hero__title .accent { font-size: 1.1em; line-height: .9; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--texto-suave); max-width: 50ch; margin-bottom: 2rem; }
.hero__lead strong { color: var(--texto); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--linha); padding-top: 1.1rem; }
.hero__facts li { font-family: var(--f-mono); font-size: .82rem; color: var(--texto); padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid var(--linha); display: flex; flex-direction: column; line-height: 1.35; }
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); }

.hero__visual { position: relative; padding: 2rem 2rem 2.5rem 1rem; }
.bauhaus { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; display: block; }
.shape--semi { width: 62%; aspect-ratio: 2 / 1; background: var(--oliva); border-radius: 999px 999px 0 0; top: -2%; left: -12%; rotate: -90deg; transform-origin: center; }
.shape--quarter { width: 40%; aspect-ratio: 1; background: var(--azul); border-radius: 0 0 0 100%; right: -6%; bottom: 17%; }
.shape--dot { width: 17%; aspect-ratio: 1; border-radius: 50%; background: var(--mostarda); right: 4%; top: 6%; }
.shape--arc { width: 46%; aspect-ratio: 1; border-radius: 50%; border: 14px solid var(--terracota-viva); border-color: var(--terracota-viva) var(--terracota-viva) transparent transparent; left: -10%; bottom: 10%; rotate: -45deg; }
.shape--bars { width: 30%; height: 34%; right: -2%; top: 30%; background: repeating-linear-gradient(90deg, var(--azul) 0 3px, transparent 3px 11px); opacity: .55; }
.hero__portrait { position: relative; z-index: 1; margin: 0 auto; max-width: 400px; }

/* retrato editorial: retângulo reto + filete deslocado */
.portrait { margin: 0; }
.portrait__frame { position: relative; }
.portrait__frame::before { content: ''; position: absolute; inset: 0; border: 1.5px solid var(--terracota); translate: 16px 16px; pointer-events: none; z-index: -1; }
.portrait__frame--left::before { translate: -16px 16px; }
/* foto do Sobre: desce dentro do quadro para o cabelo ficar inteiro dentro do filete */
.about__portrait .portrait__frame img { translate: 0 30px; }
.about__portrait .portrait__frame::before { inset: 0 0 -30px 0; }
.about__portrait .portrait__caption { margin-top: calc(1.4rem + 30px); }
.portrait__frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--creme); }
.portrait__caption { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); }

/* entrada do hero (on-load, sem depender de scroll) */
@keyframes rise { from { translate: 0 110%; } to { translate: 0 0; } }
@keyframes fadeUp { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }
@keyframes shutter { from { clip-path: inset(100% 0 0 0); scale: 1.14; } to { clip-path: inset(0 0 0 0); scale: 1; } }
@keyframes frameIn { from { opacity: 0; translate: 0 0; } to { opacity: 1; } }
@keyframes shapeIn { from { opacity: 0; translate: var(--fx, 0) var(--fy, 60px); scale: .6; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes sway { 0%, 100% { rotate: var(--r0, 0deg); } 50% { rotate: calc(var(--r0, 0deg) + 4deg); } }

.hero__title .word { animation: rise 1s var(--ease) both; animation-delay: calc(120ms + var(--w, 0) * 65ms); }
.hero__in { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 200ms); }
.hero__portrait .portrait__frame img { animation: shutter 1.3s var(--ease-io) both; animation-delay: .35s; }
.hero__portrait .portrait__frame::before { animation: frameIn .8s ease both; animation-delay: 1.3s; }
.hero__portrait .portrait__caption { animation: fadeUp .8s var(--ease) both; animation-delay: 1.4s; }
.shape { animation: shapeIn 1.4s var(--ease) both, sway 16s ease-in-out infinite 1.6s; }
.shape--semi { --fx: -80px; --fy: 0; --r0: -90deg; animation-delay: .5s, 1.9s; }
.shape--quarter { --fx: 70px; --fy: 40px; animation-delay: .65s, 2s; }
.shape--dot { --fx: 0; --fy: -70px; animation-delay: .9s, 2.2s; }
.shape--arc { --fx: -40px; --fy: 60px; --r0: -45deg; animation-delay: .75s, 2.1s; }
.shape--bars { --fx: 60px; --fy: 0; animation-delay: 1s, 2.4s; }

/* ---------- FAIXA DE TEMAS ---------- */
.ribbon { background: var(--terracota); color: var(--papel); overflow: hidden; border-block: 1px solid var(--terracota-escura); }
.ribbon__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__list { display: flex; align-items: center; }
.ribbon__list li { display: inline-flex; align-items: center; gap: 1.6rem; padding: 1.05rem 0 1.05rem 1.6rem; font-family: var(--f-mono); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ribbon__list li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--mostarda); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- divisor editorial (visível por CSS estático) ---------- */
.divider { position: relative; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); height: 20px; display: flex; align-items: center; justify-content: center; }
.divider::before { content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(154, 79, 46, .45) 20%, rgba(154, 79, 46, .45) 80%, transparent); }
.divider__node { position: relative; width: 22px; height: 11px; border-radius: 22px 22px 0 0; background: var(--terracota); box-shadow: 0 0 0 6px var(--papel); }
.divider__node::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--mostarda); left: 50%; top: -12px; translate: -50% 0; }

/* ---------- CONTEXTO (scrollytelling) ---------- */
.context { position: relative; padding: var(--section) 0; background: linear-gradient(180deg, var(--papel), var(--papel-2)); }
.context__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.context__copy .section-title { margin-bottom: 2.4rem; }
.context__steps { counter-reset: none; }
.context__step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; min-height: 19rem; padding: 1.6rem 0 1.6rem 1.4rem; border-left: 2px solid var(--linha); opacity: .45; transition: opacity .5s ease, border-color .5s ease; }
.context__step.is-active { opacity: 1; border-left-color: var(--terracota); }
.context__step:last-child { min-height: 14rem; }
.context__num { font-family: var(--f-mono); font-size: .8rem; color: var(--terracota); padding-top: .35rem; }
.context__step h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: .8rem; }
.context__step p { color: var(--texto-suave); max-width: 44ch; }

.context__stage {
  position: sticky; top: calc(var(--header-h) + 3rem);
  width: 100%; max-width: 540px; margin-left: auto; aspect-ratio: 1;
  background: #E8E0D2; border: 1px solid var(--linha); border-radius: var(--radius);
  overflow: hidden; transition: background-color .9s var(--ease-io);
}
.context__stage[data-state="1"] { background: var(--papel-2); }
.context__stage[data-state="2"] { background: var(--creme); }
.stage__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--linha) 1px, transparent 1px), linear-gradient(90deg, var(--linha) 1px, transparent 1px); background-size: 12.5% 12.5%; opacity: 1; transition: opacity .9s ease; }
.context__stage[data-state="1"] .stage__grid { opacity: 0; }
.context__stage[data-state="2"] .stage__grid { opacity: .35; background-size: 25% 25%; }
.stage__piece { position: absolute; display: block; background: #CDBFAA; border-radius: 2px; transition: left .9s var(--ease-io), top .9s var(--ease-io), width .9s var(--ease-io), height .9s var(--ease-io), border-radius .9s var(--ease-io), background-color .9s var(--ease-io), rotate .9s var(--ease-io), opacity .6s; }
/* estado 0: cubículos rígidos, o mesmo símbolo espremido */
.p1 { left: 8%; top: 8%; width: 26%; height: 26%; }
.p2 { left: 37%; top: 8%; width: 26%; height: 26%; }
.p3 { left: 66%; top: 8%; width: 26%; height: 26%; }
.p4 { left: 8%; top: 66%; width: 26%; height: 26%; }
.p5 { left: 37%; top: 66%; width: 26%; height: 26%; }
.p6 { left: 66%; top: 66%; width: 26%; height: 26%; }
/* estado 1: movimento, novidade */
[data-state="1"] .p1 { left: 6%; top: 10%; width: 22%; height: 22%; border-radius: 50%; background: var(--terracota-viva); }
[data-state="1"] .p2 { left: 72%; top: 7%; width: 15%; height: 15%; border-radius: 50%; background: var(--mostarda); }
[data-state="1"] .p3 { left: 74%; top: 62%; width: 20%; height: 20%; border-radius: 50%; background: var(--oliva); }
[data-state="1"] .p4 { left: 9%; top: 70%; width: 14%; height: 14%; border-radius: 50%; background: var(--azul); }
[data-state="1"] .p5 { left: 45%; top: 5%; width: 8%; height: 8%; border-radius: 50%; background: var(--terracota); }
[data-state="1"] .p6 { left: 42%; top: 84%; width: 11%; height: 11%; border-radius: 50%; background: var(--mostarda); }
[data-state="1"] .stage__piece { animation: bob 5s ease-in-out infinite; }
[data-state="1"] .p2, [data-state="1"] .p5 { animation-delay: -1.6s; }
[data-state="1"] .p3, [data-state="1"] .p6 { animation-delay: -3.1s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 6px -12px; } }
/* estado 2: composição em equilíbrio */
[data-state="2"] .p1 { left: 8%; top: 60%; width: 84%; height: 42%; border-radius: 999px 999px 0 0; background: var(--oliva); }
[data-state="2"] .p2 { left: 0; top: 0; width: 30%; height: 30%; border-radius: 0 0 100% 0; background: var(--azul); }
[data-state="2"] .p3 { left: 74%; top: 8%; width: 16%; height: 16%; border-radius: 50%; background: var(--mostarda); }
[data-state="2"] .p4 { left: 88%; top: 30%; width: 4%; height: 28%; border-radius: 2px; background: var(--terracota); }
[data-state="2"] .p5 { left: 10%; top: 42%; width: 7%; height: 7%; border-radius: 50%; background: var(--terracota-viva); }
[data-state="2"] .p6 { left: 50%; top: 50%; width: 0; height: 0; opacity: 0; }
.stage__symbol { position: absolute; left: 50%; top: 50%; width: 46%; translate: -50% -50%; scale: .52; opacity: .55; filter: grayscale(.8); transition: scale .9s var(--ease-io), opacity .9s, filter .9s, top .9s var(--ease-io); z-index: 2; }
[data-state="1"] .stage__symbol { scale: .78; opacity: .9; filter: none; }
[data-state="2"] .stage__symbol { scale: 1; opacity: 1; filter: none; top: 42%; }
.stage__label { position: absolute; left: 1rem; bottom: .9rem; right: 1rem; z-index: 3; display: flex; justify-content: space-between; gap: 1rem; margin: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texto); }
.stage__label span { background: rgba(251, 248, 243, .85); padding: .25rem .5rem; }

/* ---------- SERVIÇOS ---------- */
.services { padding: var(--section) 0; position: relative; }
.services__layout { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.services__index { position: sticky; top: calc(var(--header-h) + 2.5rem); display: grid; grid-template-columns: 1fr auto; gap: 1rem; }
.services__index ol { display: flex; flex-direction: column; }
.services__index a { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); text-decoration: none; font-family: var(--f-title); font-size: 1.12rem; font-weight: 500; color: var(--texto-suave); transition: color .3s, padding .3s var(--ease); line-height: 1.2; }
.services__index a .mono { font-size: .72rem; color: inherit; opacity: .8; }
.services__index a:hover, .services__index a.is-active { color: var(--terracota); padding-left: .4rem; }
.services__meter { width: 2px; background: var(--linha); position: relative; }
.services__meter span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--terracota); transform-origin: top; transform: scaleY(var(--m, 0)); }
.services__panels { display: flex; flex-direction: column; gap: clamp(1.5rem, 3vw, 2.2rem); }
.service { position: relative; background: var(--papel-2); border: 1px solid var(--linha); border-radius: var(--radius); padding: clamp(1.6rem, 3.4vw, 2.8rem); scroll-margin-top: calc(var(--header-h) + 2rem); overflow: hidden; }
.service--featured { border-top: 4px solid var(--terracota); }
.service--featured::after { content: ''; position: absolute; top: -1px; right: -1px; width: 88px; height: 88px; background: var(--oliva); border-radius: 0 0 0 100%; opacity: .9; }
.service__head { max-width: 60ch; margin-bottom: 2rem; position: relative; z-index: 1; }
.service__tag { display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oliva); margin-bottom: .9rem; }
.service h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-bottom: .9rem; }
.service__lead { font-size: 1.1rem; color: var(--texto-suave); margin: 0; }
.service__lead strong { color: var(--texto); }
.service h4 { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); margin: 0 0 .9rem; }
.service__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); padding-top: 1.8rem; border-top: 1px solid var(--linha); }
.service__cols p { color: var(--texto-suave); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.chips li { font-family: var(--f-mono); font-size: .78rem; padding: .4rem .7rem; border: 1px solid var(--linha); border-radius: var(--radius); background: var(--papel); transition: background-color .2s, color .2s, border-color .2s; }
.chips li:hover { background: var(--azul); color: var(--papel); border-color: var(--azul); }
.chips--soft li { background: var(--creme); border-color: transparent; }
.ticks li { position: relative; padding: .5rem 0 .5rem 1.4rem; border-bottom: 1px dashed var(--linha); font-size: .98rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: 10px; height: 2px; background: var(--terracota-viva); }
.service__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--linha); }
.service__foot p { margin: 0; max-width: 58ch; color: var(--texto-suave); font-size: .98rem; }
.service__foot strong { color: var(--texto); }
.service__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.trio__item { padding: 1.3rem 1.2rem 1.1rem; background: var(--papel); border-top: 3px solid var(--terracota); }
.trio__item:nth-child(2) { border-top-color: var(--oliva); }
.trio__item:nth-child(3) { border-top-color: var(--azul); }
.trio__label { display: block; font-family: var(--f-title); font-weight: 600; font-size: 1.25rem; margin-bottom: .5rem; }
.trio__item p { margin: 0; font-size: .96rem; color: var(--texto-suave); }

/* entrada em "cortina": uma faixa terracota varre o painel e revela o conteúdo */
.js .reveal-wipe::before { content: ''; position: absolute; inset: 0; z-index: 5; background: var(--terracota); transform-origin: right center; transform: scaleX(1); transition: transform 1s var(--ease-io) .05s; pointer-events: none; }
.js .reveal-wipe > * { opacity: 0; translate: 0 14px; transition: opacity .7s ease .55s, translate .7s var(--ease) .55s; }
.js .reveal-wipe.visible::before { transform: scaleX(0); }
.js .reveal-wipe.visible > * { opacity: 1; translate: 0 0; }

/* ---------- PROCESSO ---------- */
.process { position: relative; padding: var(--section) 0; background: var(--creme); overflow: hidden; }
.process__bg { position: absolute; inset: 0; pointer-events: none; }
.process__circle { position: absolute; width: 640px; aspect-ratio: 1; right: -220px; top: -260px; border-radius: 50%; border: 1.5px solid rgba(154, 79, 46, .25); box-shadow: inset 0 0 0 60px rgba(246, 241, 233, .35); }
.process__head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.process__head .section-head { margin-bottom: 0; }
.process__stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linha); }
.stat { padding: 1.2rem 1rem 0 0; }
.stat + .stat { padding-left: 1.2rem; border-left: 1px solid var(--linha); }
.stat__num { display: block; font-family: var(--f-title); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1; color: var(--azul); letter-spacing: -0.03em; }
.stat__unit { display: block; margin-top: .35rem; font-size: .42em; font-weight: 500; letter-spacing: -0.01em; }
.stat__label { display: block; font-family: var(--f-mono); font-size: .76rem; color: var(--texto-suave); margin-top: .6rem; letter-spacing: .04em; }

.timeline-wrap { position: relative; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.timeline__rail { position: absolute; left: 26px; right: calc((100% - 5.6rem) / 5 - 26px); top: 26px; height: 2px; background: rgba(34, 30, 26, .15); }
.timeline__fill { position: absolute; inset: 0; background: var(--terracota); transform-origin: left; transform: scaleX(var(--t, 0)); }
.step { position: relative; }
.step__dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1.5px solid var(--terracota); background: var(--papel); color: var(--terracota); border-radius: var(--radius); font-size: .82rem; margin-bottom: 1.3rem; transition: background-color .4s, color .4s, rotate .6s var(--ease); }
.step.is-on .step__dot { background: var(--terracota); color: var(--papel); rotate: 90deg; }
.step.is-on .step__dot .mono { rotate: -90deg; }
.step__dot .mono { transition: rotate .6s var(--ease); }
.step h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.step p { font-size: .96rem; color: var(--texto-suave); margin: 0; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--azul); color: var(--papel); padding: clamp(5rem, 10vw, 8rem) 0; isolation: isolate; }
.cta-band h2 { color: var(--papel); font-size: clamp(2.1rem, 4.6vw, 3.7rem); max-width: 17ch; margin-bottom: 1.4rem; }
.cta-band h2 .accent { color: var(--mostarda); display: inline-block; }
.cta-band p:not(.kicker) { max-width: 50ch; color: rgba(246, 241, 233, .82); font-size: 1.12rem; margin-bottom: 2.2rem; }
.cta-band__inner { position: relative; z-index: 2; }
.cta-band__sun { position: absolute; z-index: 0; width: min(60vw, 620px); aspect-ratio: 1; right: -6%; bottom: -34%; border-radius: 50%; background: var(--terracota-viva); transform: translate3d(0, var(--sun, 22%), 0); will-change: transform; }
.cta-band__sun::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-linear-gradient(180deg, transparent 0 16px, var(--azul) 16px 24px); -webkit-mask: linear-gradient(180deg, transparent 45%, #000 46%); mask: linear-gradient(180deg, transparent 45%, #000 46%); }
.cta-band__lines { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(90deg, var(--linha-clara) 1px, transparent 1px); background-size: calc(100% / 6) 100%; opacity: .5; }

/* ---------- SOBRE ---------- */
.about { position: relative; padding: var(--section) 0; overflow: hidden; }
.about__symbol { position: absolute; right: -80px; top: 40px; width: 420px; opacity: .06; pointer-events: none; }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about__portrait { position: sticky; top: calc(var(--header-h) + 2.5rem); max-width: 440px; }
.js .reveal-photo .portrait__frame img { clip-path: inset(100% 0 0 0); scale: 1.14; transition: clip-path 1.3s var(--ease-io), scale 1.6s var(--ease); }
.js .reveal-photo.visible .portrait__frame img { clip-path: inset(0 0 0 0); scale: 1; }
.about__text .section-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.pullquote { position: relative; margin: 0 0 2.2rem; padding: 1.6rem 0 1.6rem 1.8rem; border-left: 3px solid var(--terracota); }
.pullquote::before { content: '\201C'; position: absolute; left: 1.2rem; top: -1.9rem; font-family: var(--f-accent); font-size: 6rem; line-height: 1; color: var(--mostarda); opacity: .8; }
.pullquote p { margin: 0; font-family: var(--f-title); font-weight: 500; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.3; letter-spacing: -0.015em; }
.about__body p { color: var(--texto-suave); }
.about__creds { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--linha); }
.mini-title { font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); margin-bottom: 1rem; }
.mini-timeline li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid var(--linha); font-size: .97rem; }
.mini-timeline .mono { color: var(--azul); }
.mini-list li { padding: .55rem 0; border-bottom: 1px solid var(--linha); font-size: .97rem; display: flex; align-items: center; gap: .7rem; }
.mini-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--oliva); flex-shrink: 0; }

/* ---------- DIFERENCIAIS ---------- */
.diffs { padding: var(--section) 0; }
.diffs__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); }
.diff { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 2.4vw, 1.8rem); padding: 2rem 0; }
.diff::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--texto); opacity: .22; transform-origin: left; }
.diff__num { display: block; overflow: hidden; height: 1em; font-family: var(--f-title); font-weight: 600; font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.3px var(--terracota); min-width: 1.35em; }
.diff__num span { display: block; }
.diff:nth-child(3n+2) .diff__num { -webkit-text-stroke-color: var(--oliva); }
.diff:nth-child(3n+3) .diff__num { -webkit-text-stroke-color: var(--azul); }
.diff h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: .4rem 0 .6rem; }
.diff p { color: var(--texto-suave); margin: 0; font-size: 1rem; }
.js .reveal-diff::before { transform: scaleX(0); transition: transform 1.1s var(--ease-io); }
.js .reveal-diff .diff__num span { translate: 0 105%; transition: translate .9s var(--ease) .15s; }
.js .reveal-diff .diff__body { opacity: 0; translate: 0 14px; transition: opacity .7s ease .3s, translate .7s var(--ease) .3s; }
.js .reveal-diff.visible::before { transform: scaleX(1); }
.js .reveal-diff.visible .diff__num span { translate: 0 0; }
.js .reveal-diff.visible .diff__body { opacity: 1; translate: 0 0; }

/* ---------- FAQ ---------- */
.faq { position: relative; padding: var(--section) 0; background: var(--papel-2); border-top: 1px solid var(--linha); overflow: hidden; }
.faq__bg { position: absolute; inset: 0; pointer-events: none; }
.faq__quarter { position: absolute; width: 320px; aspect-ratio: 1; left: -110px; bottom: -110px; border-radius: 0 100% 0 0; background: var(--oliva); opacity: .1; }
.faq__grid { position: relative; display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__item:first-child { border-top: 1px solid var(--linha); }
.faq__q { width: 100%; display: grid; grid-template-columns: 2.4rem 1fr 28px; align-items: center; gap: .8rem; padding: 1.35rem 0; min-height: 64px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--f-title); font-weight: 500; font-size: clamp(1.08rem, 1.6vw, 1.24rem); color: var(--texto); transition: color .2s; }
.faq__q .mono { font-size: .74rem; color: var(--terracota); }
.faq__q:hover { color: var(--terracota); }
.faq__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--linha); border-radius: 50%; transition: background-color .3s, border-color .3s, rotate .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: rotate .4s var(--ease); }
.faq__icon::after { rotate: 90deg; }
.faq__item.is-open .faq__icon { background: var(--terracota); border-color: var(--terracota); color: var(--papel); rotate: 180deg; }
.faq__item.is-open .faq__icon::after { rotate: 0deg; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-io); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 2.5rem 1.5rem 3.2rem; margin: 0; color: var(--texto-suave); max-width: 64ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- BLOG ---------- */
.secao-blog { padding: var(--section) 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--papel); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.blog-card { display: flex; flex-direction: column; text-decoration: none; background: var(--papel-2); border: 1px solid var(--linha); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card__cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--creme); }
.blog-card__cover span { position: absolute; display: block; transition: transform .8s var(--ease); }
.blog-card:hover .blog-card__cover span:nth-child(1) { transform: rotate(-12deg); }
.blog-card:hover .blog-card__cover span:nth-child(3) { transform: translateY(-8px); }
.blog-card__cover--1 span:nth-child(1) { width: 60%; aspect-ratio: 2/1; border-radius: 999px 999px 0 0; background: var(--oliva); left: 8%; bottom: 0; }
.blog-card__cover--1 span:nth-child(2) { width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--mostarda); right: 12%; top: 16%; }
.blog-card__cover--1 span:nth-child(3) { width: 30%; height: 100%; right: 0; top: 0; background: repeating-linear-gradient(90deg, var(--azul) 0 3px, transparent 3px 12px); opacity: .45; }
.blog-card__cover--2 { background: #E6DCCB; }
.blog-card__cover--2 span:nth-child(1) { width: 46%; aspect-ratio: 1; border-radius: 0 0 100% 0; background: var(--azul); left: 0; top: 0; }
.blog-card__cover--2 span:nth-child(2) { width: 34%; aspect-ratio: 1; border-radius: 50%; border: 12px solid var(--terracota-viva); border-color: var(--terracota-viva) transparent transparent var(--terracota-viva); right: 14%; bottom: 10%; rotate: 45deg; }
.blog-card__cover--2 span:nth-child(3) { width: 12%; aspect-ratio: 1; border-radius: 50%; background: var(--oliva); left: 52%; top: 22%; }
.blog-card__cover--3 { background: var(--verde); }
.blog-card__cover--3 span:nth-child(1) { width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--terracota); left: 12%; top: 18%; }
.blog-card__cover--3 span:nth-child(2) { width: 50%; aspect-ratio: 2/1; border-radius: 0 0 999px 999px; background: var(--mostarda); right: 6%; top: 0; }
.blog-card__cover--3 span:nth-child(3) { width: 28%; height: 36%; right: 14%; bottom: 0; background: var(--creme); opacity: .9; }
.blog-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem; }
.blog-card__badge { align-self: flex-start; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracota); border: 1px solid currentColor; padding: .25rem .55rem; border-radius: var(--radius); }
.blog-card__text { font-family: var(--f-title); font-size: 1.15rem; font-weight: 500; color: var(--texto); }
.blog-more { margin-top: 2.4rem; display: flex; justify-content: flex-start; }

/* ---------- CONTATO ---------- */
.contact { position: relative; padding: var(--section) 0; background: var(--creme); overflow: hidden; }
.contact__art { position: absolute; inset: 0; pointer-events: none; }
.contact__semi { position: absolute; width: 520px; aspect-ratio: 2/1; right: -160px; bottom: -2px; border-radius: 999px 999px 0 0; background: var(--oliva); opacity: .12; }
.contact__dot { position: absolute; width: 90px; aspect-ratio: 1; border-radius: 50%; background: var(--mostarda); opacity: .35; right: 6%; top: 8%; }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__card { display: grid; grid-template-columns: 110px 1fr; gap: 1.4rem; align-items: start; }
.contact__photo { width: 110px; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: 8px 8px 0 var(--terracota); }
.contatos { display: flex; flex-direction: column; gap: .2rem; }
.contatos a { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; color: var(--texto); font-size: .97rem; word-break: break-word; transition: color .2s; }
.contatos a:hover { color: var(--terracota); }
.contatos svg { flex: 0 0 auto; color: var(--terracota); }

.form { background: var(--papel-2); border: 1px solid var(--linha); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); }
.form__title { font-family: var(--f-title); font-weight: 600; font-size: 1.35rem; margin-bottom: 1.6rem; }
.field { position: relative; display: flex; flex-direction: column; margin-bottom: 1.3rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label, .field legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: .45rem; padding: 0; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--texto); background: transparent; border: 0; border-bottom: 1.5px solid rgba(34, 30, 26, .3); border-radius: 0; padding: .6rem 0; transition: border-color .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--terracota); }
.field input::placeholder, .field textarea::placeholder { color: rgba(92, 82, 73, .6); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #B3261E; }
.field__error { font-size: .82rem; color: #B3261E; min-height: 1.1em; margin-top: .3rem; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { margin: 0; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem; border: 1px solid rgba(34, 30, 26, .25); border-radius: var(--radius); font-family: var(--f-body); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--texto); transition: background-color .2s, color .2s, border-color .2s; }
.choices input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--papel); }
.choices input:focus-visible + span { outline: 2px solid var(--terracota-viva); outline-offset: 2px; }
.form__lgpd { font-size: .84rem; color: var(--texto-suave); margin: .4rem 0 1.4rem; }
.form__lgpd a { color: var(--terracota); }
.form__submit { width: 100%; }
.form__submit.is-sending { opacity: .8; pointer-events: none; }

/* ---------- RODAPÉ ---------- */
.footer { background: var(--verde); color: var(--papel); padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--linha-clara); }
.footer__brand p { margin-top: 1.3rem; color: rgba(246, 241, 233, .75); max-width: 38ch; font-size: .97rem; }
.footer__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mostarda); margin-bottom: 1rem; }
.footer__nav li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: rgba(246, 241, 233, .85); transition: color .2s; }
.footer__nav li a:hover { color: var(--mostarda); }
.footer .contatos a { color: rgba(246, 241, 233, .88); font-size: .93rem; }
.footer .contatos a:hover { color: var(--mostarda); }
.footer .contatos svg { color: var(--mostarda); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; padding-top: 1.4rem; font-family: var(--f-mono); font-size: .74rem; color: rgba(246, 241, 233, .65); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: rgba(246, 241, 233, .9); }
.footer__bottom a:hover { color: var(--mostarda); }
.to-top { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--linha-clara); border-radius: var(--radius); color: var(--papel); transition: background-color .2s, transform .2s; }
.to-top:hover { background: var(--terracota); transform: translateY(-3px); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .35); animation: wa-float 3.2s ease-in-out infinite, wa-pulse 2.8s ease-out 1.2s infinite; will-change: transform, box-shadow; transition: scale .2s; }
.wa-float:hover { animation-play-state: paused; scale: 1.13; }
@keyframes wa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes wa-pulse { 0% { box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .55); } 100% { box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .35), 0 0 0 20px rgba(37, 211, 102, 0); } }

/* ---------- reveal base (Editorial: fade + leve subida) ---------- */
.js .reveal { opacity: 0; translate: 0 14px; transition: opacity .8s ease, translate .8s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
.js .reveal.visible { opacity: 1; translate: 0 0; }
.js .reveal-step { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.js .reveal-step.visible { opacity: 1; translate: 0 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .timeline__rail { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; width: 100%; margin: 1.5rem auto 0; padding: 1.5rem 1.5rem 2rem 1rem; }
  .context__grid { grid-template-columns: 1fr; }
  /* no celular a cena vira um quadro pequeno preso numa faixa sob o header: acompanha os passos
     e o texto lido fica abaixo dela (a faixa é a sombra de 100vmax recortada pelo clip-path) */
  .context { background: var(--papel-2); }
  .context__stage { position: sticky; top: calc(var(--header-h) + .75rem); z-index: 2; width: clamp(130px, 36vw, 190px); margin: 0 auto 1.75rem; box-shadow: 0 0 0 100vmax var(--papel-2); clip-path: inset(-.75rem -100vmax); }
  .stage__label { left: .45rem; bottom: .45rem; font-size: .58rem; }
  .stage__label span { padding: .15rem .35rem; }
  .context__copy { display: contents; }
  .context__copy .kicker { order: -3; }
  .context__copy .section-title { order: -2; margin-bottom: 1.5rem; }
  .context__stage { order: -1; }
  .context__steps { order: 0; }
  .context__step { min-height: 0; opacity: .5; background: var(--papel-2); padding-right: 1.2rem; }
  .context__step.is-active { opacity: 1; }
  .services__layout { grid-template-columns: 1fr; }
  .services__index { display: none; }
  .service__cols, .service__trio { grid-template-columns: 1fr; }
  .process__head { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { position: relative; top: 0; max-width: 360px; margin-inline: 1rem auto; }
  .about__creds { grid-template-columns: 1fr; }
  .diffs__list { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .hero__actions .btn { width: 100%; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: .9rem; }
  .hero__facts li { padding-right: .9rem; margin-right: 0; font-size: .76rem; }
  .stage__caption { display: none; }
  .stage__label { justify-content: flex-start; }
  .brand__name { font-size: 1.02rem; }
  .brand__sub { font-size: .62rem; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .timeline::before { content: ''; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: rgba(34, 30, 26, .15); }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 1.1rem; padding-bottom: 1.8rem; }
  .step__dot { grid-row: span 2; margin: 0; }
  .step h3 { align-self: center; margin: 0 0 .35rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact__card { grid-template-columns: 1fr; }
  .contact__photo { width: 120px; }
  .faq__a p { padding: 0 0 1.4rem 3.2rem; }
  .cta-band__sun { width: 420px; right: -40%; bottom: -24%; }
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .contact__dot { display: none; }
  .section-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
}
/* notebooks de tela baixa (e o card social 1200x630): hero compacto */
@media (min-width: 901px) and (max-height: 760px) {
  .hero { padding-top: calc(var(--header-h) + 1.6rem); padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.6rem, 4.6vw, 4.2rem); margin-bottom: 1.1rem; }
  .hero__lead { margin-bottom: 1.4rem; font-size: 1.04rem; }
  .hero__actions { margin-bottom: 1.4rem; }
  .hero__portrait { max-width: 330px; }
  .hero__visual { padding-block: 1rem 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ribbon__track { animation: none !important; }
  [data-parallax] { transform: none !important; }
  .js .reveal, .js .reveal-step, .js .reveal-wipe > *, .js .reveal-diff .diff__body { opacity: 1 !important; translate: none !important; }
  .js .reveal-wipe::before { display: none; }
}
