/* ==========================================================
   Lucas Muller da Silveira — Psicólogo
   Sistema visual derivado do design system da marca:
   enxofre · oliva-ardósia · oliva · canela · Montserrat + Lora Itálico
   Sem gradientes visíveis, sombras decorativas, emojis ou ícones de biblioteca.
   ========================================================== */

@font-face { font-family: "Montserrat"; src: url("fonts/Montserrat-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/Lora-Italic-var.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --oliva-ardosia: #253122;
  --ardosia-deep: #1D271B;
  --canela: #EEB480;
  --enxofre: #F5ECC2;
  --oliva: #837E31;
  --papel: #FFFDF6;

  --bg: #FBF8EC;
  --bg-alt: #F5EFD3;
  --surface: var(--bg);
  --surface-raised: var(--papel);
  --ink: var(--oliva-ardosia);
  --ink-muted: #4B5645;
  --accent: var(--oliva);
  --highlight: var(--canela);
  --border: #25312226;
  --border-strong: #25312259;
  --focus-ring: var(--oliva-ardosia);

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lora", Georgia, serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px; --space-5: 48px;
  --radius-sm: 4px; --radius-md: 8px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 144px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  interpolate-size: allow-keywords;
  color-scheme: light;
}

.on-dark {
  --surface: #253122;
  --surface-raised: #2E3D2B;
  --ink: #F5ECC2;
  --ink-muted: #DCD3B0;
  --accent: #EEB480;
  --border: #F5ECC233;
  --border-strong: #F5ECC266;
  --focus-ring: #EEB480;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; scrollbar-color: #837E31 #FBF8EC; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0; background: var(--bg); color: var(--oliva-ardosia);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}
::selection { background: var(--canela); color: var(--oliva-ardosia); }

img, svg, picture { display: block; max-width: 100%; height: auto; }
.arch__photo picture { height: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--space-3); text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; border-radius: 2px; }

.skip { position: absolute; left: var(--space-3); top: -64px; z-index: 100; background: var(--oliva-ardosia); color: var(--enxofre); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: var(--space-3); }

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

/* ---------- tipografia ---------- */
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.display { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.04; font-weight: 300; letter-spacing: -.028em; }
.display em, .em-serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }
.title-lg { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 300; letter-spacing: -.02em; }
.title-md { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 300; letter-spacing: -.012em; }
.title-sm { font-size: 20px; line-height: 28px; font-weight: 500; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-muted); max-width: 54ch; }
.muted { color: var(--ink-muted); }
.body-sm { font-size: 14px; line-height: 21px; }

.filete { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-4) 0; }
.filete::before { content: ""; width: 44px; height: 3px; background: var(--highlight); }
.filete::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- botões e setas ---------- */
.arrow { display: inline-block; position: relative; width: 22px; height: 10px; flex: none; transition: transform .35s var(--ease); }
.arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 600 15px/1 var(--sans); letter-spacing: .01em; padding: 17px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--primary { background: var(--canela); color: var(--oliva-ardosia); }
.btn--primary:hover { background: var(--oliva-ardosia); color: var(--enxofre); }
.on-dark .btn--primary:hover { background: var(--enxofre); color: var(--oliva-ardosia); }
.btn--ghost { border-color: var(--border-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-4); }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; text-decoration: none; padding-block: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .4s var(--ease); }
.link-arrow:hover { background-size: calc(100% - 34px) 1.5px; }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--border); }
@supports (animation-timeline: scroll()) {
  .site-header::after { opacity: 0; animation: hdr-line linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
  @keyframes hdr-line { to { opacity: 1; } }
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 84px; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand__mono { height: 48px; width: auto; }
.brand__name { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a:not(.btn) { text-decoration: none; font-size: 14px; font-weight: 500; padding-block: 8px; background: linear-gradient(var(--canela), var(--canela)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.nav a:not(.btn):hover { background-size: 100% 2px; }
.nav .btn { padding: 13px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }

@media (max-width: 980px) {
  .brand__name { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: var(--space-3) var(--gutter) var(--space-4); }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; background: none; }
  .js .nav .btn { margin-top: var(--space-3); }
  .nav { flex-wrap: wrap; }
}

/* ---------- seções ---------- */
section { padding-block: var(--section); }
main > section:nth-of-type(even):not(.on-dark) { background: var(--bg-alt); }
.on-dark { background: var(--surface); color: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { color: var(--ink-muted); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.sticky { position: sticky; top: 120px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .sticky { position: static; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero .lead { margin: var(--space-4) 0 0; }
.hero-art { position: relative; justify-self: end; width: min(100%, 440px); }
.arch { position: relative; aspect-ratio: 4 / 5; }
.arch__block { position: absolute; inset: 0; transform: translate(22px, 22px); background: var(--canela); border-radius: 999px 999px var(--radius-md) var(--radius-md); }
.arch__photo { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px var(--radius-md) var(--radius-md); background: var(--oliva-ardosia); }
.arch__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 22%; }
.arch__line { position: absolute; z-index: -1; height: 112%; width: auto; left: -8%; top: -6%; opacity: 1; pointer-events: none; }
.hero-art .tag { position: absolute; left: -18px; bottom: 36px; z-index: 3; background: var(--oliva-ardosia); color: var(--enxofre); padding: 14px 18px; border-radius: var(--radius-sm); font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero-art .tag b { display: block; color: var(--canela); font-weight: 600; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; width: min(86%, 380px); margin-top: var(--space-4); order: -1; }
  .arch__line { left: -24%; }
}

/* faixa de fatos */
.strip { border-block: 1px solid var(--border); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 26px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--border); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip .label { margin: 0 0 6px; color: var(--ink-muted); font-size: 11px; }
.strip strong { display: block; font-size: 17px; line-height: 1.3; font-weight: 500; }
@media (max-width: 820px) {
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- lista editorial ---------- */
.rows li { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: var(--space-4); padding-block: 30px; border-top: 1px solid var(--border); transition: padding-left .45s var(--ease); }
.rows li:last-child { border-bottom: 1px solid var(--border); }
.rows li:hover { padding-left: 10px; }
.rows .num { font-size: 30px; line-height: 1; font-weight: 300; color: var(--accent); letter-spacing: -.02em; padding-top: 2px; }
.rows h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; font-weight: 500; margin-bottom: 8px; letter-spacing: -.01em; }
.rows p { margin: 0; color: var(--ink-muted); max-width: 52ch; }
.rows .link-arrow { margin-top: 14px; font-size: 14px; }
.note { margin-top: var(--space-4); color: var(--ink-muted); font-size: 15px; }

/* ---------- faixa de frase ---------- */
.band { position: relative; overflow: clip; text-align: left; }
.band::before { content: ""; position: absolute; inset: 0; opacity: .1; pointer-events: none; background-image: url("logos/monograma-negativo.svg"); background-repeat: space; background-size: 120px auto; background-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.band .wrap { position: relative; }
.band .phrase { font-size: clamp(36px, 7.4vw, 104px); line-height: 1; font-weight: 300; letter-spacing: -.035em; max-width: 14ch; text-wrap: balance; }
.band .phrase span { color: var(--canela); }

/* ---------- linha do tempo ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--border-strong); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.step::after { content: ""; position: absolute; top: -2px; left: 18px; width: 40px; height: 3px; background: var(--highlight); }
.step .num { display: block; font-size: 15px; font-weight: 600; letter-spacing: .3em; color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 22px; line-height: 1.25; font-weight: 500; margin-bottom: 10px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-muted); font-size: 15px; }
@media (max-width: 980px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- sobre ---------- */
.portrait { position: relative; max-width: 480px; isolation: isolate; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 28%; border-radius: var(--radius-md); }
.portrait::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--canela); border-radius: var(--radius-md); z-index: -1; }
.about p { font-size: clamp(17px, 1.4vw, 19px); max-width: 58ch; }
.facts { margin-top: var(--space-5); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-3); padding: 18px 0; border-top: 1px solid var(--border); }
.facts li:last-child { border-bottom: 1px solid var(--border); }
.facts .label { margin: 0; padding-top: 3px; color: var(--ink-muted); font-size: 11px; }
@media (max-width: 900px) { .portrait { margin: 16px 0 0 16px; max-width: 420px; } }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- para quem ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border-strong); }
.two-col > div { padding: clamp(28px, 4vw, 48px) clamp(0px, 3vw, 48px) clamp(28px, 4vw, 48px) 0; }
.two-col > div + div { border-left: 1px solid var(--border); padding-left: clamp(24px, 3vw, 48px); padding-right: 0; }
.two-col h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; letter-spacing: -.02em; margin-bottom: var(--space-3); }
.two-col p { color: var(--ink-muted); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.chips li { font-size: 13px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } .two-col > div + div { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; } }
.alert { margin-top: var(--space-5); background: var(--oliva-ardosia); color: var(--enxofre); border-radius: var(--radius-md); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.alert .label { color: var(--canela); margin: 4px 0 0; white-space: nowrap; }
.alert p { margin: 0; max-width: 70ch; }
.alert strong { color: var(--canela); font-weight: 600; }
@media (max-width: 700px) { .alert { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- áreas de atendimento ---------- */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.area { display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 4vw, 48px); background: var(--papel); border: 1px solid var(--border); border-radius: var(--radius-md); border-top: 3px solid var(--canela); }
.area .label { margin: 0; color: var(--accent); font-size: 11px; }
.area > p { color: var(--ink-muted); margin: 0; }
.area .chips { margin-top: 4px; }
.area .link-arrow { margin-top: auto; padding-top: 12px; align-self: flex-start; font-size: 14px; }
.chips a { text-decoration: none; display: block; margin: -8px -14px; padding: 8px 14px; border-radius: 999px; transition: background-color .25s, color .25s; }
.chips li:has(a):hover { background: var(--oliva-ardosia); color: var(--enxofre); border-color: var(--oliva-ardosia); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }

/* ---------- conteúdo (grade com fios) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-left: 1px solid var(--border); }
.tile { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3.4vw, 44px); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-decoration: none; transition: background-color .35s var(--ease); min-height: 280px; }
.tile:hover { background: var(--papel); }
.tile .label { margin: 0; color: var(--accent); font-size: 11px; }
.tile .title-md { margin-top: auto; }
.tile p { margin: 0; color: var(--ink-muted); font-size: 15px; max-width: 44ch; }
.tile .link-arrow { margin-top: 8px; font-size: 14px; align-self: flex-start; }
.tile:hover .link-arrow { background-size: calc(100% - 34px) 1.5px; }
.tile:hover .link-arrow .arrow { transform: translateX(5px); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* ---------- faq ---------- */
.faq details { border-top: 1px solid var(--border-strong); }
.faq details:last-child { border-bottom: 1px solid var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 24px 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.35; font-weight: 500; letter-spacing: -.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .answer { padding: 0 0 26px; color: var(--ink-muted); max-width: 62ch; }
.faq .answer p:last-child { margin: 0; }

/* ---------- contato ---------- */
.contact { position: relative; overflow: clip; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: url("logos/monograma-negativo.svg"); background-repeat: space; background-size: 110px auto; background-position: center; -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 45%, #000 100%); }
.contact .wrap { position: relative; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: var(--space-3); align-items: baseline; padding: 20px 0; border-top: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-list .label { margin: 0; color: var(--ink-muted); font-size: 11px; }
.contact-list a, .contact-list span.v { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; text-decoration: none; background: linear-gradient(var(--canela), var(--canela)) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.contact-list a:hover { background-size: 100% 2px; }
.contact .title-lg { font-size: clamp(38px, 6vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ardosia-deep); color: var(--enxofre); padding-block: clamp(56px, 8vw, 96px) var(--space-4); }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.site-footer .logo { width: min(100%, 360px); }
.site-footer h2 { font-size: 11px; line-height: 16px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--canela); margin-bottom: var(--space-3); }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; font-size: 14px; color: #DCD3B0; transition: color .25s; }
.site-footer a:hover { color: var(--enxofre); text-decoration: underline; text-decoration-color: var(--canela); text-underline-offset: 4px; }
.site-footer .small { font-size: 14px; line-height: 21px; color: #DCD3B0; margin-top: var(--space-3); max-width: 36ch; }
.site-footer .legal { margin-top: clamp(40px, 6vw, 72px); padding-top: var(--space-3); border-top: 1px solid #F5ECC233; font-size: 12px; line-height: 18px; color: #DCD3B0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; }
.site-footer .legal p { margin: 0; max-width: 70ch; }
@media (max-width: 900px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .brandcol { grid-column: 1 / -1; } }

/* ---------- artigos ---------- */
.progress { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; background: var(--canela); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progress { animation: prog linear both; animation-timeline: scroll(root); } @keyframes prog { to { transform: scaleX(1); } } }
.article-head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 64px); }
.article-head .display { font-size: clamp(28px, 5vw, 64px); max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.article-head .lead { margin-top: var(--space-4); max-width: 60ch; }
.crumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: var(--space-4); }
.crumbs a { text-decoration: none; background: linear-gradient(var(--canela), var(--canela)) left bottom / 100% 1.5px no-repeat; }
.crumbs span[aria-hidden] { margin-inline: 8px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: var(--space-4); font-size: 14px; color: var(--ink-muted); }
.byline img { height: 40px; width: auto; }
.byline b { color: var(--ink); font-weight: 600; display: block; }
.article-body { padding-block: 0 var(--section); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 7vw, 104px); align-items: start; }
.prose { font-size: 18px; line-height: 1.75; }
.prose > h2:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 300; letter-spacing: -.02em; margin: clamp(40px, 5vw, 64px) 0 var(--space-3); }
.prose p, .prose li { max-width: 64ch; }
.prose ul { margin: 0 0 var(--space-4); }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose .faq { margin-top: var(--space-3); }
.prose .faq summary { font-size: 19px; }
.prose .faq .answer { font-size: 17px; }
.note-info { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--border); font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.aside-card { position: sticky; top: 120px; background: var(--papel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); }
.aside-card img { height: 56px; width: auto; margin-bottom: var(--space-3); }
.aside-card h2 { font-size: 20px; font-weight: 500; line-height: 1.25; margin-bottom: 6px; }
.aside-card p { font-size: 14px; line-height: 21px; color: var(--ink-muted); }
.aside-card .btn { width: 100%; margin-top: var(--space-2); }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }
.cta { position: relative; overflow: clip; }
.cta .wrap { position: relative; max-width: 1000px; }
.cta .phrase { font-size: clamp(32px, 5.4vw, 72px); line-height: 1.02; font-weight: 300; letter-spacing: -.03em; max-width: 16ch; margin-bottom: var(--space-4); }

/* ---------- documentos / 404 ---------- */
.doc { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: 22px; line-height: 30px; font-weight: 500; margin: var(--space-5) 0 var(--space-2); }
.doc ul { list-style: none; margin-bottom: var(--space-3); }
.doc li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.doc li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.center-page { min-height: 72vh; display: grid; place-items: center; text-align: center; }
.center-page img { margin: 0 auto var(--space-4); height: 84px; width: auto; }
.center-page .filete { justify-content: center; }
.center-page p { margin-inline: auto; }

/* ---------- movimento (com fallback) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    @keyframes reveal { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
    .arch__block { animation: arch-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes arch-in { from { transform: translate(0, 0); } to { transform: translate(22px, 22px); } }
  }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}

[hidden] { display: none !important; }

/* ---------- utilitários (substituem estilos inline, por causa da CSP) ---------- */
.split--end { align-items: end; }
.hl { color: var(--canela); }
.byline__t { margin: 0; }
.display--md { font-size: clamp(34px, 5vw, 56px); }
.btn-row--center { justify-content: center; }
.hub-group { padding-block: clamp(32px, 5vw, 64px); }
.hub-group .title-md { margin-bottom: var(--space-4); }
main > section.hub-group:nth-of-type(even) { background: transparent; }

/* ---------- barra de WhatsApp no celular ---------- */
.wa-bar { display: none; }
@media (max-width: 700px) {
  .wa-bar:not([hidden]) { display: flex; position: fixed; z-index: 55; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); box-shadow: none; border: 1.5px solid var(--oliva-ardosia); }
  body.has-wa { padding-bottom: 84px; }
  .wa-bar.is-away { display: none !important; }
}
