/* =========================================================
   Willian Bocalon Advocacia — estilos compartilhados
   ========================================================= */
:root {
  --espresso: #0b0b0c;
  --brown-900: #141416;
  --brown-800: #1d1d20;
  --brown-700: #2b2b2f;
  --gold: #daac47;
  --gold-soft: #e8c879;
  --gold-deep: #b88a2a;
  --cream: #f2f2f0;
  --cream-2: #fafafa;
  --ink: #161618;
  --muted: #66666b;
  --line: rgba(218, 172, 71, 0.28);
  --whats: #1fa855;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 11, 12, 0.45);
  --wrap: 1160px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Lato", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-2);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--dark { background: var(--brown-900); color: var(--cream); }
.section--cream { background: var(--cream); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: .9em;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: rgba(242, 242, 240, .78); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.gold { color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep)); color: var(--espresso); box-shadow: 0 10px 24px -10px rgba(218,172,71,.7); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,168,85,.7); }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn--lg { font-size: 1.08rem; padding: 1.1em 1.9em; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: 46px; height: auto; }
.brand strong { font-family: var(--serif); font-size: 1rem; display: block; line-height: 1.2; }
.brand small { color: var(--gold); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--cream); text-decoration: none; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.nav .btn { padding: .7em 1.2em; font-size: .9rem; opacity: 1; color: var(--espresso); }
.nav-toggle { display: none; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--espresso); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(242, 242, 240,.08); }
  .nav .btn { margin-top: 14px; border: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  background:
    url("../img/hero-lines.svg") center / cover no-repeat,
    radial-gradient(ellipse 60% 70% at 85% 15%, rgba(218,172,71,.16), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(184,138,42,.10), transparent 70%),
    linear-gradient(160deg, #141416 0%, #0b0b0c 55%, #070708 100%);
  padding: clamp(64px, 11vw, 132px) 0 clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(242, 242, 240,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 18ch; }
.hero p.lead { color: rgba(242, 242, 240,.85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .92rem; color: rgba(242, 242, 240,.8); }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Cartão do hero (perguntas rápidas) */
.qcard {
  background: rgba(20, 20, 22, .82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.qcard h2 { font-size: 1.3rem; margin-bottom: .3em; }
.qcard > p { color: rgba(242, 242, 240,.75); font-size: .95rem; }
.qcard fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.qcard legend { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .55em 1em; border-radius: 999px;
  border: 1px solid rgba(242, 242, 240,.25); font-size: .9rem;
  transition: all .15s ease;
}
.chips input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--espresso); font-weight: 700; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.qcard small { display: block; margin-top: 12px; color: rgba(242, 242, 240,.6); font-size: .8rem; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid rgba(22, 22, 24,.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(22, 22, 24,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brown-900); color: var(--gold);
  margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
.section--dark .card { background: var(--brown-800); border-color: rgba(242, 242, 240,.08); }
.section--dark .card p { color: rgba(242, 242, 240,.72); }
.section--dark .card .icon { background: rgba(218,172,71,.12); }

a.card { text-decoration: none; display: flex; flex-direction: column; }
.card .more { margin-top: 18px; font-weight: 700; color: var(--gold-deep); font-size: .95rem; }

/* Card destaque (áreas com landing própria) */
.card--feature {
  background: linear-gradient(160deg, var(--brown-800), var(--espresso));
  color: var(--cream);
  border-color: var(--line);
}
.card--feature p { color: rgba(242, 242, 240,.75); }
.card--feature .icon { background: rgba(218,172,71,.14); }
.card--feature .more { color: var(--gold); }
.card--wide { grid-column: 1 / -1; }
.card__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.card__links a {
  text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--gold);
  border: 1px solid var(--line); border-radius: 999px; padding: .5em 1.1em;
  transition: background .15s ease, color .15s ease;
}
.card__links a:hover { background: var(--gold); color: var(--espresso); }
.tag { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--espresso); padding: .3em .7em; border-radius: 6px; margin-bottom: 14px; }

.section-head { margin-bottom: 44px; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--brown-700), var(--espresso));
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.about__photo picture { position: absolute; inset: 0; }
.about__photo img.photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about__photo .ph { width: 52%; opacity: .9; }
.about__photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); border-radius: 14px; pointer-events: none; }
.about__badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 1;
  background: var(--gold); color: var(--espresso); border-radius: 10px;
  padding: 10px 14px; font-weight: 700; font-size: .85rem; line-height: 1.3;
}
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.section--dark .checks svg { color: var(--gold); }
blockquote.motto {
  margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--gold);
  background: rgba(218,172,71,.08); border-radius: 0 10px 10px 0;
  font-family: var(--serif); font-style: italic;
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 420px; }
}

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 10px;
}
.step p { margin: 0; color: rgba(242, 242, 240,.72); font-size: .97rem; }
.section--cream .step p, .section:not(.section--dark) .step p { color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Sinais / alerta ---------- */
.alert {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: var(--brown-900); color: var(--cream);
  border-radius: 20px; padding: 32px; border: 1px solid var(--line);
}
.alert .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(218,172,71,.14); color: var(--gold); }
.alert .icon svg { width: 28px; height: 28px; }
.alert h3 { margin: 0 0 .3em; font-size: 1.3rem; }
.alert p { margin: 0; color: rgba(242, 242, 240,.75); }
@media (max-width: 760px) { .alert { grid-template-columns: 1fr; text-align: left; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid rgba(22, 22, 24,.1); border-radius: 12px; padding: 0 22px;
}
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold-deep); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden;
  background:
    url("../img/hero-lines.svg") center / cover no-repeat,
    radial-gradient(ellipse 55% 80% at 50% 0%, rgba(218,172,71,.18), transparent 70%),
    linear-gradient(180deg, #141416, #070708);
  color: var(--cream); text-align: center;
}
.cta .wrap { position: relative; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta .lead { color: rgba(242, 242, 240,.8); }
.cta .btn { margin-top: 18px; }

/* ---------- Contato / Locais ---------- */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.place { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid rgba(22, 22, 24,.08); }
.place h3 { color: var(--brown-900); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.place p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(242, 242, 240,.75); padding: 56px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer h4 { color: var(--gold); font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .brand { margin-bottom: 14px; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(242, 242, 240,.08); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante WhatsApp ---------- */
.float-whats {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.45);
  animation: pulse 2.4s infinite;
}
.float-whats svg { width: 32px; height: 32px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,168,85,.55), 0 12px 28px -8px rgba(0,0,0,.45); }
  70% { box-shadow: 0 0 0 16px rgba(31,168,85,0), 0 12px 28px -8px rgba(0,0,0,.45); }
  100% { box-shadow: 0 0 0 0 rgba(31,168,85,0), 0 12px 28px -8px rgba(0,0,0,.45); }
}

/* Barra fixa de CTA no mobile (landing pages) */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .lp .float-whats { display: none; }
  .lp .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 11, 12,.96); border-top: 1px solid var(--line);
  }
  .lp .mobile-bar .btn { width: 100%; padding: .95em 1em; }
  .lp .footer { padding-bottom: 96px; }
}

/* Header simplificado das landing pages */
.lp .header .wrap { min-height: 68px; }
.lp .header .btn { padding: .65em 1.1em; font-size: .9rem; }
@media (max-width: 520px) {
  .lp .header .btn span { display: none; }
  .brand strong { font-size: .9rem; }
}

/* Lista com marcadores dourados */
.list-gold { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-gold li { padding-left: 26px; position: relative; }
.list-gold li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.panel { background: #fff; border-radius: 20px; padding: 32px; border: 1px solid rgba(22, 22, 24,.08); box-shadow: var(--shadow); }
.panel h3 { font-size: 1.2rem; }

.disclaimer { font-size: .8rem; color: rgba(242, 242, 240,.5); margin-top: 18px; }

/* =========================================================
   Visual institucional (inspirado em escritórios tradicionais)
   ========================================================= */
:root { --ease: cubic-bezier(.22, .61, .36, 1); }

.header { transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }

/* Home: cabeçalho transparente sobre o topo em tela cheia */
.home .header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.home .header.scrolled { background: rgba(11, 11, 12, .94); border-bottom-color: var(--line); backdrop-filter: blur(8px); }
@media (max-width: 900px) { .home .header { background: rgba(11, 11, 12, .94); } }

/* Títulos de seção grandes, centralizados, em caixa alta */
.title-xl {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: clamp(1.7rem, 4.2vw, 2.9rem); line-height: 1.15;
  color: var(--brown-900); margin-bottom: .45em;
}
.section--dark .title-xl, .band .title-xl, .cta .title-xl { color: var(--cream); }
.title-xl::after {
  content: ""; display: block; width: 64px; height: 2px; background: var(--gold);
  margin: 22px auto 0; transform: scaleX(0); transition: transform .9s var(--ease) .25s;
}
.reveal.in .title-xl::after, .title-xl.in::after { transform: scaleX(1); }
.left .title-xl::after { margin-left: 0; transform-origin: left; }

/* Botão com seta que desliza */
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero em tela cheia ---------- */
.hero--full {
  min-height: 100svh; display: flex; align-items: center; text-align: center;
  padding: 130px 0 110px;
}
.hero--full::before { display: none; }
.hero--full .wrap { display: flex; flex-direction: column; align-items: center; }
.hero--full h1 { max-width: 20ch; font-size: clamp(2.2rem, 6vw, 4.2rem); }
.hero--full .lead { margin-inline: auto; }
.hero--full .hero__ctas, .hero--full .hero__trust { justify-content: center; }
.hero__mark { width: 92px; margin-bottom: 26px; opacity: 0; animation: fadeUp 1s var(--ease) .05s forwards; }
.hero--full .eyebrow { opacity: 0; animation: fadeUp .9s var(--ease) .1s forwards; }
.hero--full .lead, .hero--full .hero__ctas, .hero--full .hero__trust { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero--full .lead { animation-delay: .8s; }
.hero--full .hero__ctas { animation-delay: .95s; }
.hero--full .hero__trust { animation-delay: 1.1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Topo com a foto do advogado à direita, fundindo com o fundo escuro */
.hero--photo { text-align: left; }
.hero--photo .wrap { align-items: flex-start; position: relative; z-index: 1; }
.hero--photo h1 { max-width: 15ch; }
.hero--photo .lead { margin-inline: 0; max-width: 46ch; }
.hero--photo .hero__ctas, .hero--photo .hero__trust { justify-content: flex-start; }
.hero__photo {
  position: absolute; right: 0; bottom: 0; top: 0; width: min(50vw, 760px); z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 38%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
  opacity: 0; animation: photoIn 1.6s var(--ease) .2s forwards;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 15%; }
@keyframes photoIn { from { opacity: 0; transform: scale(1.04) translateX(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .hero--photo { flex-direction: column; text-align: center; padding-top: 72px; padding-bottom: 70px; }
  .hero__photo {
    position: relative; inset: auto; width: 100%; height: 52svh; max-height: 460px; margin-bottom: -60px;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 40%); mask-image: linear-gradient(to top, transparent 0%, #000 40%);
  }
  .hero__photo img { object-position: 62% 10%; }
  .hero--photo .wrap { align-items: center; }
  .hero--photo .lead { margin-inline: auto; }
  .hero--photo .hero__ctas, .hero--photo .hero__trust { justify-content: center; }
}

/* Palavras do título surgindo de baixo */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
[data-split].in .w > span { transform: none; }

/* Linhas douradas que se desenham */
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-art path { fill: none; stroke: url(#heroGold); stroke-width: 1.2; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 3.2s var(--ease) forwards; }
.hero-art path:nth-child(2) { animation-delay: .35s; opacity: .6; }
.hero-art path:nth-child(3) { animation-delay: .7s; opacity: .45; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-glow {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(218,172,71,.16), transparent 60%);
  top: -20vmax; right: -15vmax; animation: drift 18s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift { to { transform: translate(-12vmax, 14vmax) scale(1.1); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(242, 242, 240,.4); border-radius: 14px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.6s forwards;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 640px) { .scroll-cue { display: none; } }

/* ---------- Faixa de credenciais (marquee) ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.badge {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 18px 24px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(22, 22, 24,.08); min-width: 280px;
}
.badge .icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--brown-900); color: var(--gold); flex: none; }
.badge .icon svg { width: 22px; height: 22px; }
.badge strong { display: block; font-size: .98rem; color: var(--brown-900); line-height: 1.3; }
.badge small { color: var(--muted); font-size: .85rem; }

/* Faixa de palavras grande */
.ticker { background: var(--espresso); color: var(--gold); padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; }
.ticker .marquee__track { gap: 0; animation-duration: 45s; }
.ticker span { font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.6rem); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: "✦"; font-size: .7em; color: rgba(218,172,71,.5); }

/* ---------- Áreas em painéis que expandem ---------- */
.areas { display: flex; gap: 10px; height: 470px; }
.area {
  position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer;
  border-radius: 16px; padding: 28px 24px; color: var(--cream);
  background: linear-gradient(180deg, var(--brown-800), var(--espresso));
  border: 1px solid rgba(242, 242, 240,.06);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: flex .7s var(--ease), background .5s ease;
}
.area:nth-child(even) { background: linear-gradient(180deg, #222225, #19191b); }
.area.active { flex: 3.4; background: linear-gradient(180deg, #1d1d20, #0b0b0c); border-color: rgba(218,172,71,.6); box-shadow: inset 0 3px 0 var(--gold); }
.area.active h3 { color: var(--gold); }
.area .icon { position: absolute; top: 24px; left: 24px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(218,172,71,.14); color: var(--gold); }
.area.active .icon { background: rgba(11, 11, 12,.35); color: var(--gold-soft); }
.area .icon svg { width: 22px; height: 22px; }
.area h3 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin: 0; white-space: nowrap; }
.area:not(.active) h3 { writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start; }
.area .area__body { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .4s ease, max-height .6s var(--ease); }
.area.active .area__body { max-height: 260px; opacity: 1; transition-delay: .25s; }
.area .area__body p { margin: 12px 0 0; color: rgba(242, 242, 240,.85); max-width: 46ch; font-size: .98rem; }
.area .card__links { margin-top: 16px; }
.area .card__links a { color: var(--cream); border-color: rgba(242, 242, 240,.35); }
.area .card__links a:hover { background: var(--cream); color: var(--espresso); }
@media (max-width: 900px) {
  .areas { flex-direction: column; height: auto; }
  .area, .area.active { flex: none; min-height: 0; padding: 22px 22px 22px 86px; }
  .area .icon { top: 20px; left: 20px; }
  .area:not(.active) h3 { writing-mode: horizontal-tb; transform: none; }
  .area h3 { white-space: normal; min-height: 46px; display: flex; align-items: center; }
  .area.active .area__body { max-height: 420px; }
}

/* ---------- Faixa "história" com foto de fundo ---------- */
.band {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(218,172,71,.14), transparent 70%),
    linear-gradient(135deg, #19191b, #070708);
}
.band--photo { background-size: cover; background-position: center; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 9,.92), rgba(8, 8, 9,.6)); }
.band .wrap { position: relative; }
.band .about__photo { box-shadow: 0 30px 60px -25px rgba(0,0,0,.8); }
.band p { color: rgba(242, 242, 240,.82); }
.band .checks svg { color: var(--gold); }
.band blockquote.motto { background: rgba(218,172,71,.08); color: var(--cream); font-size: 1.1rem; }

/* Foto que sobe devagar ao entrar */
.about__photo.reveal { transform: translateY(40px) scale(.97); }
.about__photo.reveal.in { transform: none; transition-duration: 1.1s; }

/* ---------- Passos com linha de progresso ---------- */
.steps { position: relative; }
.steps-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(218,172,71,.15); border-radius: 2px; overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps-line.in::after { transform: scaleX(1); }
.steps .step { margin-top: 22px; }
@media (max-width: 960px) { .steps-line { display: none; } .steps .step { margin-top: 0; } }

/* Cards: brilho dourado na borda ao passar o mouse */
.card--feature { position: relative; isolation: isolate; }
.card--feature::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--gold) 50%, transparent 70%) 0 0 / 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card--feature:hover::before { opacity: 1; animation: sheen 1.6s linear infinite; }
@keyframes sheen { to { background-position: 100% 100%; } }

/* ---------- Calculadora de atrasados ---------- */
.calc {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; max-width: 980px; margin-inline: auto;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.calc__form { background: #fff; padding: 34px; display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 700; font-size: .92rem; color: var(--brown-900); }
.field input {
  font: inherit; font-size: 1.05rem; padding: .8em 1em; border-radius: 10px;
  border: 1px solid rgba(22, 22, 24,.18); background: var(--cream-2); color: var(--ink); width: 100%;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.calc__error { margin: 0; color: #a3341f; font-weight: 700; font-size: .92rem; }
.calc__result { background: linear-gradient(160deg, var(--brown-800), var(--espresso)); color: var(--cream); padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.calc__warn {
  display: flex; gap: 14px; align-items: flex-start;
  border: 2px solid var(--gold); background: rgba(218,172,71,.12); border-radius: 14px; padding: 18px 20px;
}
.calc__warn svg { width: 34px; height: 34px; color: var(--gold); flex: none; }
.calc__warn p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.calc__warn strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-soft); margin-bottom: 4px; }
.calc__label { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.calc__total { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin: 6px 0 14px; }
.calc__total.pop { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.92); opacity: .3; } 100% { transform: none; opacity: 1; } }
.calc__detail { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; color: rgba(242, 242, 240,.8); font-size: .95rem; }
.calc__detail b { color: var(--cream); }
.calc__placeholder { margin: 0; color: rgba(242, 242, 240,.6); }
@media (max-width: 820px) {
  .calc { grid-template-columns: 1fr; }
  .calc__form, .calc__result { padding: 24px; }
}

/* Aviso contra golpes */
.notice {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 32px;
  padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(218,172,71,.25);
  background: rgba(218,172,71,.06); font-size: .9rem; color: rgba(242, 242, 240,.8);
}
.notice svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .about__photo.reveal { opacity: 1; transform: none; transition: none; }
  [data-split] .w > span { transform: none; transition: none; }
  .hero--full .eyebrow, .hero--full .lead, .hero--full .hero__ctas, .hero--full .hero__trust, .hero__mark, .hero__photo, .scroll-cue { opacity: 1; animation: none; }
  .hero-art path { animation: none; stroke-dashoffset: 0; }
  .hero-glow, .marquee__track, .float-whats, .scroll-cue::after { animation: none; }
  .title-xl::after { transform: scaleX(1); transition: none; }
  .steps-line::after { transform: scaleX(1); transition: none; }
  html { scroll-behavior: auto; }
}
