:root {
  /* Paleta oficial do manual de marca */
  --ink: #15444e;
  --deep: #0c4956;
  --silver: #c9c9c0;
  --bg: #f6f4ed;
  --card: #ffffff;
  --sand: #e8e7df;
  --text: #15444e;
  --muted: #4a6a71;
  --line: rgba(21, 68, 78, .16);
  --line-light: rgba(255, 255, 255, .18);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(246, 244, 237, .8);
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant", Georgia, serif;
  --edge: clamp(8px, 1vw, 14px);
  --gap: clamp(8px, 1vw, 14px);
  --pad: clamp(20px, 3vw, 44px);
  --r-lg: 12px;
  --r-md: 8px;
  --r-btn: 6px;
  --header-h: 76px;
  --section: clamp(56px, 8vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 28px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--silver); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em { font-weight: 500; font-style: italic; color: var(--silver); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; }
h2 em { color: var(--deep); }
.on-dark h2 em { color: var(--silver); }
h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.12; }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: clamp(12px, 3.5vw, 56px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--card); color: var(--ink); border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--deep); margin-bottom: 16px; }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--silver); }
.lead { font-size: clamp(1rem, 1.2vw, 1.125rem); color: var(--muted); max-width: 36em; margin-top: 16px; }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 52px); }

/* Dados que o cliente ainda precisa confirmar */
.pendente { background: rgba(201, 201, 192, .42); border-bottom: 1px dashed currentColor; padding-inline: .2em; border-radius: 3px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 24px; border: 0; border-radius: var(--r-btn); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease), color .2s; }
.btn:active { transform: scale(.98); }
.btn svg { flex: none; width: 19px; height: 19px; }
.btn--primary { background: var(--card); color: var(--ink); }
.btn--primary:hover { background: var(--silver); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--deep); }
.btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1px var(--line-light); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--small { min-height: 42px; padding: 9px 18px; font-size: .9375rem; }
.btn--small svg { width: 17px; height: 17px; }
.link { display: inline-flex; gap: 6px; font-weight: 600; font-size: .875rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--silver); }
.link:hover { color: var(--deep); text-decoration-color: currentColor; }




/* Cabeçalho: logo, navegação curta, telefone e WhatsApp sempre à vista */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); color: var(--text); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 40px); min-height: var(--header-h); width: 100%; max-width: 1480px; margin-inline: auto; padding: 8px clamp(12px, 3.5vw, 56px); }
.brand { margin-right: auto; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); font-size: .875rem; font-weight: 500; }
.nav a { text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__phone { display: none; }
.header__actions { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.header-phone:hover { color: var(--deep); }
.menu-btn { display: none; min-height: 42px; padding: 8px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); font-weight: 600; font-size: .875rem; cursor: pointer; }

/* Abertura com formulário */
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--deep), var(--ink)); color: var(--on-dark); }
.contact::after { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -24%; width: min(62%, 620px); aspect-ratio: 264 / 332; background: url(assets/simbolo-branco.svg) center / contain no-repeat; opacity: .055; pointer-events: none; }
.hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); grid-template-rows: 1fr auto; column-gap: clamp(32px, 6vw, 104px); row-gap: 24px; min-height: min(calc(100svh - var(--header-h)), 780px); padding-block: clamp(28px, 5svh, 64px); }
.hero__copy { align-self: end; }
.hero .eyebrow { margin-bottom: clamp(14px, 2.4svh, 24px); }
h1 { font-size: clamp(2.75rem, min(5.3vw, 10svh), 5.5rem); line-height: 1; letter-spacing: -.015em; }
.hero__sub { margin-top: clamp(14px, 2.6svh, 24px); max-width: 36em; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.5; color: var(--on-dark-muted); }
.hero .lead-form { grid-column: 2; grid-row: 1 / span 2; align-self: center; box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .55); }
.proof { align-self: start; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 32px; font-size: .875rem; font-weight: 500; }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ""; flex: none; width: 12px; height: 7px; margin-top: -3px; border-left: 2px solid var(--silver); border-bottom: 2px solid var(--silver); transform: rotate(-45deg); }

.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(assets/hero-justica.jpg) 30% 25% / cover no-repeat; mix-blend-mode: luminosity; opacity: .3; }
/* Escurece a base da imagem para o título continuar legível */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 73, 86, .92) 8%, rgba(12, 73, 86, .35) 62%, transparent); pointer-events: none; }
.hero .lead-form { animation: rise .8s .12s var(--ease) both; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(21, 68, 78, .7); }

@media (max-width: 1120px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px clamp(12px, 3.5vw, 56px) 16px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(21, 68, 78, .6); font-size: 1rem; }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav__phone { display: block; font-weight: 600; }
}

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  h1 { font-size: clamp(2.5rem, 10.8vw, 4.5rem); }
  .hero .lead-form { grid-column: auto; grid-row: auto; }
  .hero::before { background-position: 22% 0; background-size: auto 62%; opacity: .2; }
  .hero::after { background: linear-gradient(0deg, rgba(12, 73, 86, .9) 40%, rgba(12, 73, 86, .4)); }
}

@media (max-width: 820px) {
  .header-phone span { display: none; }
  .header-phone { display: grid; place-items: center; width: 42px; height: 42px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); }
  .has-menu .header-phone { display: none; }
  .brand img { height: 32px; }
  .proof { grid-template-columns: 1fr; }
}

/* Situações */
.block { padding-block: var(--section); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: var(--r-md); margin-bottom: 22px; }
.tabs button { min-height: 44px; padding: 8px 22px; background: none; border: 0; border-radius: var(--r-btn); font-weight: 600; font-size: .875rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected=true] { background: var(--ink); color: var(--on-dark); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards + .cards { margin-top: var(--gap); }
.js .cards[hidden] { display: none; }
.card { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 32px); background: var(--card); border-radius: var(--r-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.card p { font-size: .9375rem; color: var(--muted); }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; padding-top: 10px; font-size: .9375rem; }

/* Prova e advogado */
.person { margin-inline: var(--edge); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.person__photo { overflow: hidden; border-radius: var(--r-lg); min-height: 420px; background: var(--sand); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.person__copy { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 5vw, 72px); background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); }
.person__copy p { max-width: 36em; color: var(--on-dark-muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 16px; }
.facts div { padding: 16px; background: rgba(255, 255, 255, .07); border-radius: var(--r-md); }
.facts dt { font: 600 clamp(1.875rem, 3vw, 2.75rem)/1.05 var(--serif); }
.facts dd { margin-top: 4px; font-size: .875rem; line-height: 1.3; color: var(--on-dark-muted); }



/* Dúvidas */
.faq { display: grid; gap: 6px; max-width: 58rem; }
.qa { background: var(--card); border-radius: var(--r-md); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 60px; padding: 15px clamp(18px, 2vw, 26px); font-weight: 500; font-size: .9375rem; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); font-weight: 400; transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 clamp(18px, 2vw, 26px) 22px; max-width: 46em; font-size: .9375rem; color: var(--muted); }

/* Contato */
.contact { position: relative; overflow: hidden; isolation: isolate; margin: 0 var(--edge); padding: clamp(32px, 6vw, 88px) clamp(20px, 5vw, 80px); background: var(--ink); color: var(--on-dark); border-radius: var(--r-lg); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; scroll-margin-top: calc(var(--header-h) + 28px); }
.contact h2 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: .98; }
.contact .lead { color: var(--on-dark-muted); }
.contact__list { margin-top: clamp(28px, 4vw, 52px); }
.contact__list li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding-block: 13px; border-top: 1px solid var(--line-light); font-size: .9375rem; }
.contact__list span { color: var(--on-dark-muted); font-size: .8125rem; }
.contact__list a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

.form { display: grid; gap: 14px; padding: clamp(20px, 2.4vw, 32px); background: var(--card); color: var(--text); border-radius: var(--r-md); }
.form .form__title { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; }
.form__sub { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.form__alt { padding-top: 12px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.form__alt a { font-weight: 600; color: var(--text); white-space: nowrap; }
.form__done { display: grid; gap: 14px; }
.form .form__done h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.1; }
.form__done p { font-size: .9375rem; color: var(--muted); }
.person__cta { align-self: flex-start; margin-top: 8px; }
.field { display: grid; gap: 6px; font-weight: 500; font-size: .875rem; }
.field small { font-weight: 400; font-size: inherit; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-btn); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: var(--card); }
.field textarea { resize: vertical; }
.form .btn { width: 100%; }
.form__note { font-size: .8438rem; line-height: 1.4; color: var(--muted); }

/* Rodapé */

/* Detalhes visuais */
.icon { width: 24px; height: 24px; }

/* Faixa de áreas */
.marquee { overflow: hidden; background: var(--card); border-bottom: 1px solid var(--line); padding-block: clamp(14px, 1.6vw, 20px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); font: italic 500 clamp(1.25rem, 1.8vw, 1.625rem)/1.2 var(--serif); white-space: nowrap; }
.marquee li::after { content: ""; width: 5px; height: 5px; background: var(--silver); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cartões */
.card { position: relative; overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--deep); transition: background .3s, color .3s, border-color .3s; }
.card--sit { min-height: 280px; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.card--sit::after { content: ""; position: absolute; z-index: -1; right: -34px; bottom: -44px; width: 170px; aspect-ratio: 264 / 332; background: url(assets/simbolo-branco.svg) center / contain no-repeat; opacity: 0; transition: opacity .35s; }
.card--sit h3, .card--sit p, .card--sit .link { transition: color .3s; }
.card--sit:hover { background: var(--ink); color: var(--on-dark); transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(21, 68, 78, .8); }
.card--sit:hover::after { opacity: .09; }
.card--sit:hover p { color: var(--on-dark-muted); }
.card--sit:hover .link { color: var(--on-dark); text-decoration-color: var(--silver); }
.card--sit:hover .card__icon { background: var(--card); color: var(--ink); border-color: transparent; }

/* Advogado */
.person__photo { position: relative; }
.person__photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--r-md); pointer-events: none; }
.person__photo figcaption { position: absolute; left: 28px; bottom: 28px; padding: 8px 14px; background: var(--card); color: var(--ink); border-radius: var(--r-btn); font: 600 1.0625rem/1.2 var(--serif); }
.person__photo figcaption i { font-weight: 500; color: var(--muted); }
.person__copy { position: relative; overflow: hidden; }
.person__copy > * { position: relative; }
.person__copy p.statement { font: italic 500 clamp(1.5rem, 2.3vw, 2.125rem)/1.18 var(--serif); color: var(--silver); }
/* As três faixas dos cartões de visita da identidade */
.person__copy::after, .cta-band::after { content: ""; position: absolute; right: clamp(20px, 4vw, 56px); top: clamp(20px, 4vw, 52px); width: 74px; height: 42px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .55) 0 3px, transparent 3px 14px); transform: rotate(-11deg); pointer-events: none; }

/* Percurso */
.embossed { position: relative; overflow: hidden; isolation: isolate; }
.embossed::before { content: ""; position: absolute; z-index: -1; right: -3%; top: -12%; width: min(46%, 520px); aspect-ratio: 264 / 332; background: url(assets/simbolo-branco.svg) center / contain no-repeat; filter: drop-shadow(1px 1px 1px rgba(21, 68, 78, .2)) drop-shadow(-1px -1px 0 #fff); opacity: .85; pointer-events: none; }
.journey { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); counter-reset: none; }
.journey li { position: relative; padding-top: 72px; }
.journey li::before { content: ""; position: absolute; top: 25px; left: 0; right: calc(clamp(16px, 2.4vw, 36px) * -1); height: 1px; background: var(--silver); }
.journey li:last-child::before { right: 0; background: linear-gradient(90deg, var(--silver), transparent); }
.journey__n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: var(--on-dark); border-radius: 50%; box-shadow: 0 0 0 6px var(--bg); font: 600 1.5rem/1 var(--serif); }
.journey h3 { margin-bottom: 8px; }
.journey p { max-width: 24em; font-size: .9375rem; color: var(--muted); }

/* Faixa de chamada */
.cta-band { position: relative; overflow: hidden; isolation: isolate; margin-inline: var(--edge); display: grid; grid-template-columns: minmax(0, 7fr) auto; align-items: end; gap: 24px clamp(32px, 6vw, 96px); padding: clamp(36px, 5.5vw, 80px) clamp(20px, 5vw, 80px); background: linear-gradient(120deg, var(--deep), var(--ink)); color: var(--on-dark); border-radius: var(--r-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(assets/hero-justica.jpg) 80% 40% / cover no-repeat; mix-blend-mode: luminosity; opacity: .22; }
.cta-band__text { margin-top: 14px; max-width: 34em; color: var(--on-dark-muted); }
.cta-band__actions { display: flex; flex-direction: column; gap: 10px; }



/* Dúvidas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .faq { max-width: none; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__help { display: grid; grid-template-columns: 72px 1fr; gap: 16px; margin-top: clamp(20px, 3vw, 36px); padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq__help img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; }
.faq__help h3 { font-size: 1.375rem; }
.faq__help p { margin-block: 4px 8px; font-size: .875rem; color: var(--muted); }
.qa { border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.qa:hover { border-color: rgba(21, 68, 78, .4); }
.qa[open] { box-shadow: 0 16px 34px -28px rgba(21, 68, 78, .7); }

/* Formulário */
.form { position: relative; overflow: hidden; }
.form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--deep), var(--silver)); }
.form__seal { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 4px 10px 4px 8px; background: var(--bg); border-radius: var(--r-btn); font-size: .75rem; font-weight: 500; color: var(--deep); }
.form__seal svg { width: 14px; height: 14px; }
.btn--dark { box-shadow: 0 14px 26px -18px rgba(21, 68, 78, .9); }
.btn--dark:hover, .btn--primary:hover { transform: translateY(-1px); }

/* Rodapé */
.footer { margin-top: var(--section); background: var(--ink); color: var(--on-dark-muted); font-size: .875rem; }
.footer__top { display: grid; grid-auto-flow: column; grid-template-columns: minmax(0, 2fr); grid-auto-columns: minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 64px); }
.footer__logo { height: 48px; width: auto; }
.footer__about { margin-top: 18px; max-width: 26em; }
.footer h3 { margin-bottom: 12px; font: 500 .6875rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--silver); }
.footer ul { display: grid; gap: 9px; }
.footer li { overflow-wrap: anywhere; }
.footer a { text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 18px 22px; border-top: 1px solid var(--line-light); font-size: .75rem; }
.footer .pendente { color: var(--on-dark); }

/* Entrada ao rolar, item a item */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cards > *, .journey > *, .faq > * { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 28%; }
  }
}

@media (max-width: 1120px) {
  .journey { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .journey li:nth-child(2n)::before { right: 0; }
}

@media (max-width: 820px) {
  .card--sit { min-height: 0; }
  .cta-band, .faq-grid { grid-template-columns: 1fr; }
  .cta-band::after { display: none; }
  .faq__aside { position: static; }
  .footer { margin-bottom: -76px; }
  .footer__top { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-auto-columns: auto; }
  .footer__top > :first-child { grid-column: 1 / -1; }
  .footer__top > :last-child:nth-child(2) { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey li { padding: 0 0 28px 70px; }
  .journey li::before { top: 0; bottom: 0; left: 25px; right: auto; width: 1px; height: auto; }
  .journey li:last-child::before { display: none; }
  .person__copy::after { top: 18px; right: 16px; width: 52px; height: 30px; background-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero .lead-form { animation: none; }
}

/* Barra do celular */
.wa-bar { display: none; }

/* Aviso de cookies: só aparece com a medição configurada */
.cookies { position: fixed; left: 12px; bottom: 12px; z-index: 60; width: min(420px, calc(100vw - 24px)); padding: 18px; background: var(--ink); color: var(--on-dark); border-radius: var(--r-md); font-size: .9375rem; line-height: 1.4; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5); }
.cookies a { color: inherit; }
.cookies__actions { display: flex; gap: 8px; margin-top: 12px; }

/* Entrada ao rolar, sem depender de JavaScript */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  }
}

@media (max-width: 1120px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 56px; }
  .cards, .person, .contact { grid-template-columns: 1fr; }
  .person__photo { min-height: 0; aspect-ratio: 16 / 14; }
  .contact__list li { grid-template-columns: 1fr; gap: 0; }
  .tabs { display: flex; }
  .tabs button { flex: 1; padding-inline: 10px; }
  body { padding-bottom: 76px; }
  .wa-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; background: var(--ink); color: var(--on-dark); box-shadow: 0 14px 30px -12px rgba(21, 68, 78, .7); transition: transform .3s var(--ease); }
  .wa-bar.is-hidden { transform: translateY(calc(100% + 16px)); }
  .cookies { bottom: 10px; left: 10px; width: calc(100vw - 20px); }
}

@media (max-width: 560px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Oculta apenas o selo público inserido pela hospedagem. */
iframe#nl-badge-frame { display: none !important; }
