/* ============================================================
   Taise Castro Advocacia — paleta e base
   ============================================================ */
:root {
  --ink: #1f3239;          /* texto principal (verde-petróleo profundo) */
  --petrol: #3a5560;       /* primária */
  --deep: #1a2b31;         /* dobras escuras */
  --deeper: #132126;       /* rodapé */
  --sand: #c4b0a2;         /* rosé da logo */
  --gold: #c8ad85;         /* acento */
  --bg: #f7f4ef;           /* bege */
  --paper: #fcfaf6;        /* off-white */
  --muted: #64727a;
  --line: rgba(31, 50, 57, .12);
  --line-light: rgba(196, 176, 162, .22);
  --cream: #f2ebe2;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--sand); color: var(--deep); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   Tipografia compartilhada
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 22px;
}
.eyebrow--light { color: var(--sand); }
.eyebrow__line { width: 36px; height: 1px; background: currentColor; opacity: .6; }

.section-head { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.12; letter-spacing: -.01em; margin-bottom: 22px;
}
.section-title em, .hero__title em, .cta__title em { color: var(--petrol); }
.section-lead { color: var(--muted); font-size: 1.02rem; font-weight: 300; max-width: 520px; }
.section-head--center .section-lead { margin: 0 auto; }

/* ============================================================
   Botões
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px; border-radius: 100px;
  font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), translate .5s var(--ease);
  will-change: transform; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--solid { background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px -18px rgba(31, 50, 57, .55); }
.btn--sand { background: var(--sand); color: var(--deep); }
.btn--solid::before, .btn--sand::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn--solid::before { background: var(--petrol); }
.btn--sand::before { background: var(--cream); }
.btn--solid:hover::before, .btn--sand:hover::before { transform: translateY(0); }
.btn--lg { padding: 21px 38px; font-size: .78rem; }
.btn--link { padding: 17px 4px; color: var(--ink); gap: 10px; }
.btn--link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 3px; }
.btn--link:hover span { background-size: 100% 1px; }
.btn--link svg { transition: transform .5s var(--ease); }
.btn--link:hover svg { transform: translateX(5px); }

/* ============================================================
   Preloader
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--deep);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: clip-path 1.1s var(--ease-in-out);
  clip-path: inset(0 0 0 0);
}
.loader__mark { width: 74px; overflow: hidden; }
.loader__mark img { width: 100%; clip-path: inset(100% 0 0 0); animation: markIn 1.1s var(--ease) .15s forwards; }
.loader__name {
  font-family: var(--serif); color: var(--cream); font-size: 1.05rem; letter-spacing: .08em;
  opacity: 0; transform: translateY(10px); animation: fadeUp .9s var(--ease) .6s forwards;
}
.loader__name em { color: var(--sand); }
body.is-loaded .loader { clip-path: inset(0 0 100% 0); }
@keyframes markIn { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Barra de progresso da rolagem */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sand), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* ============================================================
   Navegação
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto; z-index: 200; transition: transform .6s var(--ease); }
.nav__inner {
  max-width: 1320px; margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; gap: 40px;
  transition: padding .5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 244, 239, .78); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .5s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled .nav__inner { padding-top: 14px; padding-bottom: 14px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { position: relative; display: block; width: 128px; margin-right: auto; }
.nav__logo img { width: 100%; height: auto; transition: opacity .4s; }
.nav__logo-light { position: absolute; inset: 0; opacity: 0; }
.nav.is-dark:not(.is-scrolled) .nav__logo-dark { opacity: 0; }
.nav.is-dark:not(.is-scrolled) .nav__logo-light { opacity: 1; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--petrol);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 100px;
  border: 1px solid rgba(31, 50, 57, .3); font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.nav__cta svg { width: 15px; height: 15px; }
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.2px; background: var(--ink); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.drawer { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 100px; overflow: hidden; isolation: isolate; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -220px; top: -240px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(196, 176, 162, .38), rgba(196, 176, 162, 0) 65%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute; left: 0; bottom: -.2em; z-index: -1; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 19vw, 19rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(58, 85, 96, .12);
}
.hero__side {
  position: absolute; left: 26px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  display: flex; align-items: center; gap: 16px; font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.hero__side i { width: 1px; height: 46px; background: var(--sand); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__title {
  font-family: var(--serif); font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: 1.07; letter-spacing: -.02em;
  margin-bottom: 26px;
}
.rotator {
  position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; white-space: nowrap;
  padding-bottom: .1em; margin-bottom: -.1em; transition: width .8s var(--ease), opacity 1s var(--ease) .6s;
}
.rotator::after { /* sublinhado fino sob a palavra */
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: 1px; background: var(--sand);
  transform-origin: left; animation: underline 2.8s var(--ease) infinite;
}
.rotator em { grid-area: 1 / 1; justify-self: start; color: var(--petrol); transform: translateY(105%); transition: transform .9s var(--ease); }
.rotator em.is-active { transform: none; }
.rotator em.is-out { transform: translateY(-105%); }
.js .hero__title:not(.is-in) .rotator { opacity: 0; }
@keyframes underline { 0% { transform: scaleX(0); } 35%, 80% { transform: scaleX(1); transform-origin: left; } 81% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

.hero__lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); font-weight: 300; max-width: 480px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-bottom: 40px; }
.hero__trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; padding-top: 24px; border-top: 1px solid var(--line); max-width: 520px; }
.hero__trust li { display: grid; gap: 2px; padding: 0 26px; border-left: 1px solid var(--line); }
.hero__trust li:first-child { padding-left: 0; border-left: 0; }
.hero__trust strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12rem; color: var(--petrol); }
.hero__trust span { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--petrol); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--petrol); opacity: 0; animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }

.hero__media { position: relative; justify-self: end; width: min(100%, 480px); }
.hero__sun {
  position: absolute; z-index: -1; width: 128%; aspect-ratio: 1; left: 50%; top: 44%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 176, 162, .5), rgba(196, 176, 162, 0) 64%);
}
.hero__sun::after { content: ""; position: absolute; inset: 11%; border-radius: 50%; border: 1px solid rgba(58, 85, 96, .1); }
.arch {
  margin: 0; position: relative; z-index: 1; aspect-ratio: 4 / 5.4; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--cream);
  box-shadow: 0 40px 90px -45px rgba(31, 50, 57, .55);
}
.arch img, .frame img, .about__small img { width: 100%; height: 118%; object-fit: cover; object-position: center 18%; margin-top: -9%; }
.arch::after { /* contorno fino interno */
  content: ""; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(252, 250, 246, .45); pointer-events: none;
}
/* Arco em linha que se desenha atrás da foto */
.outline { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; translate: 22px -22px; pointer-events: none; }
.outline path { fill: none; stroke: var(--sand); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease-in-out) .9s; }
.hero__media:has(.arch.is-in) .outline path, .about__media:has(.arch.is-in) .outline path { stroke-dashoffset: 0; }
.seal { position: absolute; z-index: 2; left: -64px; top: 44%; width: 140px; height: 140px; display: grid; place-items: center; }
.seal::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--paper); box-shadow: 0 20px 40px -20px rgba(31, 50, 57, .4); }
.seal__ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.seal__ring text { font-family: var(--sans); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; fill: var(--petrol); }
.seal__icon { position: relative; width: 34px; filter: brightness(.55) sepia(.25); }
@keyframes spin { to { transform: rotate(360deg); } }
/* translate é usado pelo efeito de profundidade do mouse */
.float-card, .seal, .hero__glow { transition: translate .9s var(--ease); }
.float-card {
  position: absolute; z-index: 2; right: -52px; bottom: 11%; display: flex; align-items: flex-start; gap: 14px; max-width: 270px;
  padding: 18px 20px 18px 18px; border-radius: 16px;
  background: rgba(252, 250, 246, .82); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 30px 60px -30px rgba(31, 50, 57, .5);
  animation: bob 6s ease-in-out infinite;
}
.float-card__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--sand); }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card > div { display: grid; gap: 2px; }
.float-card__label { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--petrol); }
.float-card strong { font-family: var(--serif); font-weight: 400; font-size: 1.08rem; line-height: 1.25; }
.float-card__sub { font-size: .74rem; color: var(--muted); line-height: 1.45; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; background: var(--petrol); animation: drip 2.2s var(--ease-in-out) infinite; }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }

/* ============================================================
   Faixa
   ============================================================ */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid rgba(196, 176, 162, .15); }
.ticker__track { display: flex; align-items: center; width: max-content; gap: 34px; animation: ticker 48s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.5rem); white-space: nowrap; }
.ticker b { color: var(--sand); font-weight: 400; font-size: .8rem; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   Áreas
   ============================================================ */
.areas { background: var(--paper); padding: clamp(96px, 13vw, 160px) 0; }
.areas .section-head { display: grid; grid-template-columns: 1fr 1fr; max-width: none; gap: 0 60px; align-items: end; }
.areas .section-head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.areas .section-head .section-title { margin: 0; }
.areas .section-head .section-lead { justify-self: end; margin: 0; }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 34px 28px 30px;
  border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease), background .7s var(--ease), border-color .7s;
  overflow: hidden;
}
.card::before { /* brilho que segue o cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 176, 162, .32), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { translate: 0 -8px; background: #fff; border-color: rgba(196, 176, 162, .55); box-shadow: 0 34px 70px -40px rgba(31, 50, 57, .4); }
.card__num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--sand); margin-bottom: auto; padding-bottom: 40px; transition: color .5s; }
.card:hover .card__num { color: var(--petrol); }
.card h3 { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; margin-bottom: 12px; position: relative; }
.card p { font-size: .88rem; color: var(--muted); font-weight: 300; line-height: 1.65; margin-bottom: 24px; position: relative; }
.card__cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .64rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--petrol); padding-bottom: 4px;
}
.card__cta::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--petrol); transition: width .55s var(--ease); }
.card:hover .card__cta::after { width: 100%; }
.card__cta svg { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.card:hover .card__cta svg { transform: translateX(4px); }
.card--invite { background: var(--ink); color: var(--cream); border-color: transparent; justify-content: flex-end; }
.card--invite:hover { background: var(--deep); }
.card--invite::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 176, 162, .16), transparent 60%); }
.card--invite p { color: rgba(242, 235, 226, .7); }
.card--invite__mark { position: absolute; right: -30px; top: -20px; width: 150px; opacity: .1; transition: transform 1.2s var(--ease); }
.card--invite:hover .card--invite__mark { transform: rotate(-8deg) scale(1.06); }
.card--invite .btn { align-self: flex-start; padding: 14px 22px; font-size: .64rem; }

/* ============================================================
   Jornada (escura)
   ============================================================ */
.journey { position: relative; background: var(--deep); color: var(--cream); padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; }
.journey .section-title em { color: var(--sand); }
.journey .section-lead { color: rgba(242, 235, 226, .62); }
.journey__bg { position: absolute; right: -6%; top: 50%; width: 46vw; max-width: 640px; transform: translateY(-50%); opacity: .04; pointer-events: none; }
.journey__bg img { width: 100%; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; counter-reset: s; }
.steps__line { position: absolute; left: 10%; right: 10%; top: 38px; height: 1px; background: rgba(196, 176, 162, .16); }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sand), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px rgba(200, 173, 133, .5); }
.step { position: relative; text-align: center; padding: 0 4px; }
.step__node {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 30px; border-radius: 50%;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: rgba(196, 176, 162, .5);
  background: var(--deep); border: 1px solid rgba(196, 176, 162, .22);
  transition: color .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease), background .8s var(--ease);
}
.step.is-lit .step__node {
  color: var(--deep); background: var(--sand); border-color: var(--sand);
  box-shadow: 0 0 0 8px rgba(196, 176, 162, .08), 0 0 40px rgba(200, 173, 133, .35);
}
.step h3 { font-family: var(--serif); font-size: 1.26rem; margin-bottom: 12px; transition: color .8s; color: rgba(242, 235, 226, .55); }
.step.is-lit h3 { color: var(--cream); }
.step p { font-size: .84rem; font-weight: 300; line-height: 1.65; color: rgba(242, 235, 226, .5); margin-bottom: 10px; }
.step .step__lead { color: rgba(242, 235, 226, .78); font-weight: 400; }
.journey__note { margin: 80px auto 0; text-align: center; max-width: 620px; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: rgba(242, 235, 226, .85); }
.journey__note em { color: var(--sand); }

/* ============================================================
   Atendimento
   ============================================================ */
.process { background: var(--bg); padding: clamp(96px, 13vw, 160px) 0; }
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.process__media { position: sticky; top: 110px; }
.frame { margin: 0; aspect-ratio: 4 / 4.8; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(31, 50, 57, .6); }
.frame img { object-position: 62% center; }
.process__badge {
  position: absolute; right: -34px; bottom: 34px; display: flex; align-items: center; gap: 16px;
  padding: 16px 26px 16px 16px; border-radius: 18px;
  background: rgba(252, 250, 246, .86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 30px 60px -30px rgba(31, 50, 57, .55);
}
.process__badge-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--sand); }
.process__badge-icon svg { width: 24px; height: 24px; }
.process__badge > div { display: grid; gap: 1px; line-height: 1.3; }
.process__badge small { display: inline-flex; align-items: center; gap: 10px; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--petrol); }
.process__badge small .dot { width: 5px; height: 5px; }
.process__badge strong { font-family: var(--serif); font-weight: 400; font-size: 1.28rem; color: var(--ink); }
.process__badge strong em { color: var(--sand); }
.process__badge > div > span:last-child { font-size: .74rem; color: var(--muted); }
.timeline { margin: 18px 0 44px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline__n { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sand); padding-top: 2px; }
.timeline h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 6px; }
.timeline p { font-size: .9rem; color: var(--muted); font-weight: 300; margin: 0; }

/* ============================================================
   Sobre (escura)
   ============================================================ */
.about { background: var(--ink); color: var(--cream); padding: clamp(100px, 13vw, 170px) 0; overflow: hidden; }
.about .section-title em { color: var(--sand); }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.about__media { position: relative; padding: 22px 0 80px; }
.arch--about { width: 78%; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.arch--about img { object-position: center 20%; }
.outline--about { top: 22px; width: 78%; height: auto; aspect-ratio: 4 / 5.4; }
.about__small-wrap {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 41%; padding: 7px;
  border-radius: 999px 999px 20px 20px; background: var(--ink); border: 1px solid rgba(196, 176, 162, .35);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.about__small { margin: 0; aspect-ratio: 3 / 4.2; overflow: hidden; border-radius: 999px 999px 14px 14px; }
.about__small img { object-position: center 25%; }
/* Medalha de especialização */
.medal { position: absolute; z-index: 3; left: -34px; top: 9%; width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #e2d4c9, var(--sand) 55%, #a8907f);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.medal::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid rgba(26, 43, 49, .22); }
.medal__ring { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.medal__ring text { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; fill: var(--deep); }
.medal__core { position: relative; width: 82px; height: 82px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 3px; text-align: center; background: var(--deep); box-shadow: inset 0 0 0 1px rgba(196, 176, 162, .35); }
.medal__core small { font-size: .5rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sand); padding-left: .32em; }
.medal__core strong { font-family: var(--serif); font-weight: 400; font-size: 1.02rem; letter-spacing: .06em; color: var(--cream); }
.medal__core i { width: 16px; height: 1px; background: var(--sand); }
.rule { display: block; width: 0; height: 1px; background: linear-gradient(90deg, var(--sand), transparent); margin: 0 0 30px; transition: width 1.4s var(--ease) .3s !important; }
.rule.is-in { width: 72px; }
.about__lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.55; color: var(--cream); }
.about__copy p { color: rgba(242, 235, 226, .68); font-weight: 300; }
.about__copy .about__lead { color: var(--cream); font-weight: 400; }
.creds { display: grid; gap: 0; margin: 34px 0 40px; border-top: 1px solid var(--line-light); }
.creds li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: .9rem; color: rgba(242, 235, 226, .85); }
.creds span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); padding-top: 4px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); padding: clamp(96px, 13vw, 160px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__head .section-lead { margin-bottom: 18px; }
.accordion { border-top: 1px solid var(--line); }
.qa { position: relative; border-bottom: 1px solid var(--line); }
.qa::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(180deg, transparent, var(--petrol), transparent);
  transform: scaleY(0); transition: transform .6s var(--ease);
}
.qa.is-open::before { transform: scaleY(1); }
.qa__q { width: 100%; display: grid; grid-template-columns: 46px 1fr 30px; align-items: center; gap: 10px; text-align: left; padding: 28px 0 28px 20px; }
.qa__n { font-family: var(--serif); font-style: italic; color: var(--sand); font-size: .95rem; transition: color .4s; }
.qa__t { font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.4; transition: color .4s, transform .6s var(--ease); }
.qa__q:hover .qa__t { transform: translateX(6px); }
.qa.is-open .qa__n { color: var(--petrol); }
.qa__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, border-color .4s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: background .4s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(135deg); background: var(--ink); border-color: var(--ink); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: var(--paper); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa__a p { overflow: hidden; min-height: 0; margin: 0; padding: 0 56px 0 76px; color: var(--muted); font-weight: 300; font-size: .95rem; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease), transform .6s var(--ease), padding .6s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; transform: none; padding-bottom: 30px; }

/* ============================================================
   CTA final
   ============================================================ */
.cta { position: relative; background: var(--deep); color: var(--cream); padding: clamp(110px, 15vw, 190px) 0; overflow: hidden; }
.cta__media { position: absolute; inset: 0 0 0 auto; width: 46%; overflow: hidden; }
.cta__media img { width: 100%; height: 120%; object-fit: cover; object-position: center 22%; margin-top: -10%; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 0%, rgba(26, 43, 49, .55) 45%, rgba(26, 43, 49, .1) 100%); }
.cta__inner { position: relative; }
.cta__title { font-family: var(--serif); font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.06; letter-spacing: -.015em; max-width: 680px; margin-bottom: 24px; }
.cta__title em { color: var(--sand); }
.cta__lead { color: rgba(242, 235, 226, .7); font-weight: 300; font-size: 1.05rem; max-width: 440px; margin-bottom: 44px; }

/* ============================================================
   Rodapé
   ============================================================ */
.footer { background: var(--deeper); color: rgba(242, 235, 226, .7); padding: 80px 0 34px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.7fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 190px; height: auto; }
.footer h4 { font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.footer address { font-style: normal; line-height: 1.6; margin-bottom: 16px; }
.footer address strong { display: block; font-weight: 500; color: var(--cream); }
.footer__col a { display: block; margin-bottom: 6px; transition: color .3s; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 28px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(242, 235, 226, .4); }

/* Botão flutuante do WhatsApp */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 250; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--cream);
  box-shadow: 0 16px 34px -12px rgba(31, 50, 57, .6), 0 0 0 1px rgba(196, 176, 162, .45); transition: transform .5s var(--ease), background .4s;
  transform: scale(0);
}
body.is-loaded .wa { transform: scale(1); transition-delay: 1.4s; }
body.is-loaded .wa:hover { transform: scale(1.08); background: var(--petrol); transition-delay: 0s; }
.wa svg { width: 26px; height: 26px; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--sand); animation: ping 3s var(--ease) infinite 2s; }

/* ============================================================
   Revelações (controladas pelo JS)
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal] { transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), translate .7s var(--ease), box-shadow .7s var(--ease), background .7s var(--ease), border-color .7s; }
.js .btn[data-reveal] { transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), background .4s, color .4s, translate .5s var(--ease); }

/* Título dividido em palavras com máscara */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.is-in .w > span { transform: none; }

/* Cortina sobre as imagens */
.js [data-curtain] { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-in-out) var(--d, 0s); }
/* "scale" fica com a cortina; o parallax usa a propriedade "translate" via JS */
.js [data-curtain] img { scale: 1.18; transition: scale 2.2s var(--ease) var(--d, 0s); }
.js [data-curtain].is-in { clip-path: inset(0 0 0 0); }
.js [data-curtain].is-in img { scale: 1; }
.js .arch[data-curtain] { clip-path: inset(100% 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.js .arch[data-curtain].is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius) var(--radius)); }
.js .about__small[data-curtain] { clip-path: inset(0 0 100% 0); }
.js .about__small[data-curtain].is-in { clip-path: inset(0 0 0 0); }

/* Elementos do hero aparecem só após o preloader */
.js .hero .seal, .js .hero .float-card, .js .scroll-cue { opacity: 0; transition: opacity 1.2s var(--ease) 1.5s, translate .9s var(--ease); }
body.is-loaded .hero .seal, body.is-loaded .hero .float-card, body.is-loaded .scroll-cue { opacity: 1; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1100px) {
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { right: -10px; }
  .seal { left: -30px; }
  .hero__side { display: none; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { width: 112px; }
  .drawer {
    display: grid; position: absolute; inset: 100% 0 auto; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0 var(--gutter); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), padding .6s var(--ease);
  }
  .drawer a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.25rem; }
  .drawer a.drawer__cta { border: 0; font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); }
  .nav.is-open .drawer { max-height: 480px; padding-bottom: 12px; }
  .nav.is-open::before { opacity: 1; }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; width: min(74%, 360px); order: -1; margin-top: 10px; }
  .outline { translate: 14px -14px; }
  .process__media { position: relative; top: auto; }
  .scroll-cue { display: none; }

  .areas .section-head { grid-template-columns: 1fr; gap: 0; }
  .areas .section-head .section-title { margin-bottom: 18px; }
  .areas .section-head .section-lead { justify-self: start; }

  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .steps__line { left: 37px; right: auto; top: 38px; bottom: 38px; width: 1px; height: auto; }
  .steps__line span { transform: scaleY(var(--p, 0)); transform-origin: 50% 0; background: linear-gradient(180deg, var(--sand), var(--gold)); }
  .step { display: grid; grid-template-columns: 76px 1fr; column-gap: 24px; text-align: left; padding-bottom: 40px; }
  .step__node { grid-row: 1 / span 3; margin: 0; }
  .step h3 { padding-top: 10px; }

  .process__grid, .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .process__badge { right: 12px; }
  .about__media { max-width: 520px; }
  .faq__head { position: static; }
  .cta__media { width: 100%; opacity: .35; }
  .cta__media::after { background: linear-gradient(180deg, rgba(26, 43, 49, .6), var(--deep)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .areas__grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__num { padding-bottom: 26px; }
  .float-card { right: -18px; bottom: -28px; max-width: 236px; padding: 12px 14px 12px 12px; gap: 10px; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card strong { font-size: .95rem; }
  .float-card__sub { display: none; }
  .hero__trust li { padding: 0 14px; }
  .hero__trust strong { font-size: 1rem; }
  .hero__trust span { font-size: .56rem; letter-spacing: .1em; }
  .process__badge { right: 10px; left: 10px; bottom: 10px; }
  .seal { width: 108px; height: 108px; left: -22px; bottom: auto; top: 26px; }
  .seal__ring text { font-size: 13px; }
  .hero__media { margin-bottom: 30px; }
  .hero__actions .btn--solid { width: 100%; justify-content: center; }
  .medal { width: 116px; height: 116px; left: -8px; }
  .medal__core { width: 64px; height: 64px; }
  .medal__core strong { font-size: .85rem; }
  .medal__ring text { font-size: 13px; }
  .creds li { grid-template-columns: 1fr; gap: 4px; }
  .qa__q { grid-template-columns: 34px 1fr 30px; padding-left: 12px; }
  .qa__a p { padding: 0 8px 0 56px; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
  html { scroll-behavior: auto; }
}
