/* Loreta Andrade, psicóloga e psicanalista (BH). O "tom" dela, tirado dos posts do Instagram (@psi.loreta):
   creme #FBEFE2, azul-marinho #2E3A6B, laranja #F5A94A e lavanda #A9B2CC, manchas orgânicas e um traço ondulado
   sob as frases. Acolhedor, quente, editorial e calmo: Fraunces (serif humanista, eixo SOFT no máximo) nos títulos
   e Geist no corpo, as duas servidas daqui (fontes/, OFL).
   TEMAS: o claro (creme com tinta marinho) é o padrão; o escuro (noite marinho com tons quentes) vale quando o
   sistema pede e ninguém escolheu, ou pelo botão (tema.js do molde → <html data-tema>). Toda cor de interface mora
   nos tokens semânticos (--fundo, --texto...), que apontam para a paleta crua (--c-* clara, --e-* escura). O
   laranja e a lavanda da marca são DECORAÇÃO (manchas, traços): texto sobre cor usa os pares medidos (o teste
   mede 4,5:1 nos dois temas). Movimento só em prefers-reduced-motion: no-preference. */
@font-face { font-family: "Fraunces"; src: url("fontes/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fontes/fraunces-italico.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fontes/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* paleta clara (padrão): creme e marinho */
  --c-fundo: #fbefe2; --c-fundo-2: #fff8f0; --c-fundo-3: #f4e2cf; --c-linha: #e6d0b8; --c-linha-forte: #cdb193;
  --c-texto: #2e3a6b; --c-corpo: #3a4573; --c-suave: #4a5276; --c-acento: #a8481a; --c-acento-forte: #8e3a12; --c-sobre-acento: #fff8f0;
  --c-mancha: #f5a94a; --c-mancha-2: #a9b2cc; --c-mancha-3: #f9d3a8;
  /* paleta escura: noite marinho com tons quentes */
  --e-fundo: #141a30; --e-fundo-2: #1c2340; --e-fundo-3: #252d4d; --e-linha: #323b5e; --e-linha-forte: #46507a;
  --e-texto: #fbefe2; --e-corpo: #e9ddd0; --e-suave: #cdc2bb; --e-acento: #f5a94a; --e-acento-forte: #ffc27a; --e-sobre-acento: #141a30;
  --e-mancha: #f5a94a; --e-mancha-2: #5d6896; --e-mancha-3: #3a3354;
  /* tokens semânticos: claro por padrão */
  --fundo: var(--c-fundo); --fundo-2: var(--c-fundo-2); --fundo-3: var(--c-fundo-3); --linha: var(--c-linha); --linha-forte: var(--c-linha-forte);
  --texto: var(--c-texto); --corpo: var(--c-corpo); --suave: var(--c-suave); --acento: var(--c-acento); --acento-forte: var(--c-acento-forte);
  --sobre-acento: var(--c-sobre-acento); --foco: var(--c-texto);
  --mancha: var(--c-mancha); --mancha-2: var(--c-mancha-2); --mancha-3: var(--c-mancha-3); --mancha-opacidade: 1;
  /* faixa da citação: laranja da marca com tinta marinho (8,1:1), igual nos dois temas, como no post dela */
  --faixa-fundo: #f5a94a; --faixa-texto: #1f2850;
  --sombra: 0 30px 60px -30px #2e3a6b40;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --raio: 22px;
  --topo-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --fundo: var(--e-fundo); --fundo-2: var(--e-fundo-2); --fundo-3: var(--e-fundo-3); --linha: var(--e-linha); --linha-forte: var(--e-linha-forte);
    --texto: var(--e-texto); --corpo: var(--e-corpo); --suave: var(--e-suave); --acento: var(--e-acento); --acento-forte: var(--e-acento-forte);
    --sobre-acento: var(--e-sobre-acento); --foco: var(--e-acento);
    --mancha: var(--e-mancha); --mancha-2: var(--e-mancha-2); --mancha-3: var(--e-mancha-3); --mancha-opacidade: .5;
    --sombra: 0 30px 60px -30px #00000099;
    color-scheme: dark;
  }
}
:root[data-tema="escuro"] {
  --fundo: var(--e-fundo); --fundo-2: var(--e-fundo-2); --fundo-3: var(--e-fundo-3); --linha: var(--e-linha); --linha-forte: var(--e-linha-forte);
  --texto: var(--e-texto); --corpo: var(--e-corpo); --suave: var(--e-suave); --acento: var(--e-acento); --acento-forte: var(--e-acento-forte);
  --sobre-acento: var(--e-sobre-acento); --foco: var(--e-acento);
  --mancha: var(--e-mancha); --mancha-2: var(--e-mancha-2); --mancha-3: var(--e-mancha-3); --mancha-opacidade: .5;
  --sombra: 0 30px 60px -30px #00000099;
  color-scheme: dark;
}
/* componentes do molde: variáveis no próprio elemento, para seguirem o tema */
.abas, .carrossel { --comp-borda: var(--linha-forte); --comp-texto: var(--texto); --comp-texto-suave: var(--suave);
  --comp-acento: var(--acento); --comp-foco: var(--foco); --comp-fundo: transparent; }
.tema-botao { --tema-cor: var(--texto); --tema-borda: var(--linha-forte); --tema-foco: var(--foco); --tema-fundo: transparent; }

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--topo-h) + 16px); }
html.sem-rolagem { overflow: hidden; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; transition: background-color .4s, color .4s; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance;
  font-variation-settings: "SOFT" 100; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
kbd { font-family: var(--sans); }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--mancha); color: #1f2850; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--acento);
  color: var(--sobre-acento); font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }
.dentro { width: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }
em, .italico { font-style: italic; }

/* ---------------------------------------------------------------- selos, títulos com traço, botões */
.selo { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.selo::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.titulo { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; }
.titulo em { color: var(--acento); }
/* o traço ondulado dos posts dela, sob o título: SVG em data: URI pintado por máscara (segue a cor do tema) */
.traco { display: block; width: 132px; height: 14px; margin-top: 4px; background: var(--mancha);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 14'%3E%3Cpath d='M2 9c18-7 34-7 50-2s32 6 48 0 22-4 30-3' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 14'%3E%3Cpath d='M2 9c18-7 34-7 50-2s32 6 48 0 22-4 30-3' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.centro .traco { margin-inline: auto; }
.lide { font-size: clamp(1.08rem, 1.4vw, 1.24rem); line-height: 1.65; color: var(--corpo); }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s, transform .35s var(--ease); }
.botao .ic { transition: transform .35s var(--ease); }
.botao:hover .ic { transform: translateX(3px); }
.botao-acento { background: var(--acento); color: var(--sobre-acento); }
.botao-acento:hover { background: var(--acento-forte); box-shadow: 0 14px 34px -14px var(--acento); transform: translateY(-1px); }
.botao-linha { border-color: var(--texto); color: var(--texto); background: transparent; }
.botao-linha:hover { background: var(--texto); color: var(--fundo); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 15px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  border: 1px solid var(--linha-forte); color: var(--corpo); background: var(--fundo-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ver-mais { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--acento); text-decoration: none; white-space: nowrap; }
.ver-mais:hover { text-decoration: underline; }
.ver-mais:hover .ic { transform: translateX(4px); }
.ver-mais .ic { transition: transform .35s var(--ease); }

/* ---------------------------------------------------------------- formas orgânicas (manchas, pontos, linhas) */
.formas { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.heroi .formas .mancha { width: min(780px, 70vw); left: -14vw; top: -28%; opacity: calc(var(--mancha-opacidade) * .55); }
.mancha { position: absolute; fill: var(--mancha); opacity: var(--mancha-opacidade); }
.mancha-2 { fill: var(--mancha-2); }
.mancha-3 { fill: var(--mancha-3); }
.pontos { position: absolute; fill: var(--mancha-2); opacity: .8; }
.linha-viva { position: absolute; fill: none; stroke: var(--texto); stroke-width: 1.4; stroke-linecap: round; opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .mancha { animation: respira 14s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
  .mancha-2 { animation-duration: 18s; animation-direction: alternate-reverse; }
  .anima .linha-viva path, .anima .desenha path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease) .2s; }
  .anima .visivel .linha-viva path, .anima .visivel.desenha path, .anima .visivel .desenha path { stroke-dashoffset: 0; }
}
@keyframes respira { from { transform: rotate(0) scale(1); } to { transform: rotate(8deg) scale(1.06); } }

/* ---------------------------------------------------------------- topo */
.topo { position: sticky; top: 0; z-index: 40; height: var(--topo-h); color: var(--texto); border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--fundo) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: border-color .3s, background-color .3s; }
.topo.topo-rolou, .topo.menu-aberto { border-bottom-color: var(--linha); }
.topo-dentro { display: flex; align-items: center; gap: 18px; height: 100%; max-width: var(--largura); margin-inline: auto; padding-inline: var(--gutter); }
.marca { display: grid; gap: 2px; color: var(--texto); text-decoration: none; padding: 6px 0; view-transition-name: marca; }
.marca-nome { font-family: var(--serif); font-size: 1.42rem; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100; white-space: nowrap; }
.marca-sub { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); white-space: nowrap; }
.topo-nav { margin-left: auto; }
.topo-nav ul { display: flex; gap: 0; }
.topo-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; border-radius: 999px; color: var(--corpo);
  text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s, background-color .2s; }
.topo-nav a:hover { color: var(--texto); background: color-mix(in srgb, var(--texto) 7%, transparent); }
.topo-nav a[aria-current="page"] { color: var(--texto); }
.topo-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 6px; background: var(--mancha);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4c9-3 18-3 28-1s20 2 30-1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 6' preserveAspectRatio='none'%3E%3Cpath d='M1 4c9-3 18-3 28-1s20 2 30-1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.topo-nav-cta { display: none; }
.topo-ferramentas { display: flex; align-items: center; gap: 10px; }
.topo-cta { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.busca-botao { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 12px; border: 1px solid var(--linha-forte);
  border-radius: 999px; color: var(--corpo); text-decoration: none; font-size: .88rem; transition: border-color .2s, color .2s; }
.busca-botao:hover { color: var(--texto); border-color: var(--texto); }
.busca-atalho { padding: 2px 7px; border-radius: 6px; border: 1px solid var(--linha-forte); font-size: .7rem; color: var(--suave); white-space: nowrap; }
.menu-botao { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--linha-forte);
  border-radius: 999px; color: var(--texto); text-decoration: none; font-weight: 500; font-size: .92rem; cursor: pointer; background: transparent; }
.menu-linhas, .menu-linhas::before { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-linhas { margin-top: -5px; }
.menu-linhas::before { content: ""; position: absolute; top: 6px; }
.menu-aberto .menu-linhas { transform: translateY(3px) rotate(45deg); }
.menu-aberto .menu-linhas::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1239px) {
  .topo.menu-aberto { background: var(--fundo); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .topo-nav { position: fixed; inset: var(--menu-topo, var(--topo-h)) 0 0 0; margin: 0; padding: 20px var(--gutter) 40px; background: var(--fundo);
    display: none; overflow-y: auto; }
  .menu-aberto .topo-nav { display: block; }
  .topo-nav ul { flex-direction: column; }
  .topo-nav li { border-bottom: 1px solid var(--linha); }
  .topo-nav a { width: 100%; min-height: 62px; padding: 0; border-radius: 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; color: var(--texto); }
  .topo-nav a:hover { background: none; color: var(--acento); }
  .topo-nav a[aria-current="page"]::after { left: 0; right: auto; width: 90px; bottom: 8px; }
  .topo-nav-cta { display: block; border: 0 !important; margin-top: 28px; }
  .topo-nav-cta a { justify-content: center; min-height: 56px; border-radius: 999px; background: var(--acento); color: var(--sobre-acento);
    font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
  .topo-nav-cta a:hover { color: var(--sobre-acento); background: var(--acento-forte); }
  .menu-botao { display: inline-flex; }
  .topo-ferramentas { margin-left: auto; }
}
/* no celular o topo mantém o CRP (art. 20, a) e esconde só o ofício */
@media (max-width: 759px) { .topo-cta, .busca-rotulo, .busca-atalho, .marca-oficio { display: none; } .marca-sub { font-size: .66rem; } .busca-botao { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .topo-dentro { gap: 8px; } .topo-ferramentas { gap: 8px; } .menu-botao { padding: 0 12px; } .marca-nome { font-size: 1.28rem; } }
@media (max-width: 389px) { .menu-rotulo { display: none; } .marca-nome { font-size: 1.15rem; } }

/* ---------------------------------------------------------------- seções */
.secao { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 148px); }
.secao-tom { background: var(--fundo-2); }
.secao-funda { background: var(--fundo-3); }
.cabeca { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.cabeca.centro { margin-inline: auto; text-align: center; justify-items: center; }
.cabeca-com-link { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.cabeca-com-link > div { display: grid; gap: 16px; max-width: 760px; }
.foto { overflow: hidden; border-radius: var(--raio); background: var(--fundo-3); }
.foto img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- herói */
.heroi { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.heroi-grade { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.heroi-texto { display: grid; gap: 22px; justify-items: start; }
.heroi-nome { font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: .95; letter-spacing: -0.035em; view-transition-name: titulo; }
.heroi-nome span { display: block; }
.heroi-nome span + span { font-style: italic; color: var(--acento); }
.heroi-oficio { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--texto); font-variation-settings: "SOFT" 100; }
.crp { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--linha-forte);
  font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: var(--texto); background: var(--fundo-2); }
.crp::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--acento); }
.heroi-frase { max-width: 560px; font-size: clamp(1.08rem, 1.45vw, 1.26rem); line-height: 1.62; color: var(--corpo); }
.heroi .acoes { margin-top: 6px; }
.heroi-foto { position: relative; justify-self: center; width: min(100%, 470px); isolation: isolate; }
.heroi-recorte { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--fundo-3);
  border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; box-shadow: var(--sombra); }
.heroi-recorte img { width: 100%; height: 100%; object-fit: cover; }
.heroi-foto .mancha { inset: auto; z-index: -1; }
.heroi-foto .m1 { width: 74%; right: -14%; top: -10%; }
.heroi-foto .m2 { width: 54%; left: -16%; bottom: -12%; }
.heroi-foto .pontos { width: 92px; right: -6%; bottom: 6%; }
.heroi-foto .linha-viva { width: 120%; left: -10%; bottom: -14%; stroke: var(--acento); opacity: .9; stroke-width: 2.2; }
.heroi-legenda { position: absolute; left: 50%; bottom: -18px; translate: -50% 0; white-space: nowrap; padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--texto); background: var(--fundo-2); border: 1px solid var(--linha); box-shadow: var(--sombra); }
@media (prefers-reduced-motion: no-preference) {
  .heroi-recorte { animation: forma 16s ease-in-out infinite alternate; }
  .heroi-texto > * { animation: sobe 1s var(--ease) both; }
  .heroi-texto > :nth-child(2) { animation-delay: .08s; } .heroi-texto > :nth-child(3) { animation-delay: .16s; }
  .heroi-texto > :nth-child(4) { animation-delay: .24s; } .heroi-texto > :nth-child(5) { animation-delay: .32s; } .heroi-texto > :nth-child(6) { animation-delay: .4s; }
  .heroi-foto { animation: surge 1.4s var(--ease) both .1s; }
}
@keyframes forma { to { border-radius: 46% 54% 58% 42% / 44% 56% 48% 52%; } }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes surge { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- a escuta */
.escuta-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.escuta-foto { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--raio) var(--raio); }
.escuta-texto { display: grid; gap: 20px; }
.escuta-texto p { color: var(--corpo); max-width: 640px; }
.escuta-texto .selo + h2 + .traco + p::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--acento); }
.formacao { display: grid; gap: 10px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--linha); }
.formacao li { display: flex; gap: 12px; align-items: baseline; color: var(--corpo); }
.formacao li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 99px; background: var(--mancha); translate: 0 1px; }

/* ---------------------------------------------------------------- atendimento (cartões) */
.modos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.modo { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: calc(var(--raio) + 6px);
  background: var(--fundo-2); border: 1px solid var(--linha); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.modo:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.modo-foto { aspect-ratio: 16 / 9; border-radius: 0; }
.modo-texto { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 34px); }
.modo h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.modo p, .modo li { color: var(--corpo); }
.modo ul { display: grid; gap: 8px; }
.modo li { display: flex; gap: 10px; }
.modo li::before { content: "·"; color: var(--acento); font-weight: 700; }
.publico { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: clamp(24px, 3vw, 36px); padding: 18px 24px; border-radius: var(--raio);
  border: 1px dashed var(--linha-forte); color: var(--corpo); }
.publico b { color: var(--texto); }

/* ---------------------------------------------------------------- temas */
.temas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin-inline: auto; }
.temas .chip { font-size: 1rem; min-height: 42px; padding: 6px 18px; }
.temas .chip:nth-child(4n+1) { border-color: var(--mancha); }

/* ---------------------------------------------------------------- citação (faixa laranja) */
.citacao { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); background: var(--faixa-fundo); color: var(--faixa-texto); }
.citacao-dentro { display: grid; gap: 26px; justify-items: center; text-align: center; max-width: 980px; }
.citacao-bolha { position: relative; padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px); }
.citacao-bolha::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fbefe2; border-radius: 50% 50% 46% 54% / 60% 58% 42% 40%; opacity: .78; }
.citacao blockquote p { font-family: var(--serif); font-size: clamp(1.7rem, 4vw, 3.3rem); line-height: 1.14; letter-spacing: -0.02em; font-variation-settings: "SOFT" 100; color: #1f2850; }
.citacao figcaption { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; color: #1f2850; }
.citacao .traco { background: #2e3a6b; width: 160px; height: 16px; }
.citacao .pontos { fill: #fbefe2; opacity: .7; left: 3%; bottom: 8%; width: 120px; }
.citacao .raios { position: absolute; right: 6%; top: 18%; width: 64px; fill: none; stroke: #fbefe2; stroke-width: 3; stroke-linecap: round; }

/* ---------------------------------------------------------------- estante: capas tipográficas */
.prateleira { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 196px); gap: clamp(14px, 2vw, 24px); overflow-x: auto;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 8px 4px 28px; scrollbar-width: thin; scrollbar-color: var(--linha-forte) transparent;
  border-bottom: 10px solid var(--linha); border-radius: 0 0 6px 6px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.prateleira > li { scroll-snap-align: start; }
.prateleira:focus-visible { outline-offset: 6px; }
.capa { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; aspect-ratio: 2 / 3; padding: 18px 16px 16px 22px;
  border-radius: 4px 12px 12px 4px; overflow: hidden; text-decoration: none; box-shadow: inset 6px 0 0 #00000026, 0 18px 30px -18px #1f285066;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.capa::before { content: ""; position: absolute; right: -34%; bottom: -14%; width: 84%; aspect-ratio: 1; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; opacity: .14; background: currentColor; }
.capa::after { content: ""; position: absolute; left: 22px; right: 16px; top: 50%; height: 10px; opacity: .55; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 14'%3E%3Cpath d='M2 9c18-7 34-7 50-2s32 6 48 0 22-4 30-3' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left center / 70% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 14'%3E%3Cpath d='M2 9c18-7 34-7 50-2s32 6 48 0 22-4 30-3' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left center / 70% 100% no-repeat; }
.prateleira > li:nth-child(3n+2) .capa::before, .estante > li:nth-child(3n+2) .capa::before { right: auto; left: -30%; bottom: -24%; }
.prateleira > li:nth-child(3n) .capa::before, .estante > li:nth-child(3n) .capa::before { bottom: auto; top: -20%; right: -40%; }
.capa:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: inset 6px 0 0 #00000026, 0 26px 40px -18px #1f285080; }
.capa-titulo { position: relative; font-family: var(--serif); font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.12; font-variation-settings: "SOFT" 100;
  overflow-wrap: anywhere; hyphens: auto; }
.capa-autor { position: relative; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.capa-marinho { background: #2e3a6b; color: #fbefe2; }
.capa-laranja { background: #f5a94a; color: #1f2850; }
.capa-lavanda { background: #a9b2cc; color: #1f2850; }
.capa-terracota { background: #a8481a; color: #fff8f0; }
.capa-creme { background: #f4e2cf; color: #2e3a6b; }
.capa-noite { background: #1f2850; color: #f9d3a8; }
.capa-pessego { background: #f9d3a8; color: #1f2850; }
.capa-tinta { background: #4a5276; color: #fff8f0; }
.livro-meta { display: grid; gap: 2px; margin-top: 12px; font-size: .88rem; color: var(--suave); }
.livro-meta b { color: var(--texto); font-weight: 600; }

/* ---------------------------------------------------------------- destaques dos módulos e cartão de seção */
.destaque { position: relative; }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }

/* ---------------------------------------------------------------- perguntas */
.perguntas-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.perguntas { border-top: 1px solid var(--linha-forte); }
.pergunta { border-bottom: 1px solid var(--linha-forte); }
.pergunta summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 18px 0; cursor: pointer;
  list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.38rem); line-height: 1.3; font-variation-settings: "SOFT" 100; }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary .ic { color: var(--acento); transition: transform .4s var(--ease); }
.pergunta[open] summary .ic { transform: rotate(45deg); }
.pergunta p { padding: 0 0 22px; color: var(--corpo); max-width: 680px; }

/* ---------------------------------------------------------------- convite final */
.convite { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; justify-items: center; text-align: center;
  padding: clamp(48px, 7vw, 96px) clamp(22px, 5vw, 72px); border-radius: calc(var(--raio) + 14px); background: var(--fundo-3); }
.convite h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); max-width: 820px; }
.convite p { max-width: 640px; color: var(--corpo); }
.convite .mancha { width: 360px; right: -170px; top: -210px; z-index: -1; }
.convite .mancha-2 { width: 300px; left: -150px; right: auto; top: auto; bottom: -190px; }

/* ---------------------------------------------------------------- páginas internas */
.abertura { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 8vw, 112px) 0 clamp(36px, 5vw, 64px); }
.abertura .dentro { display: grid; gap: 18px; justify-items: start; }
.abertura-titulo { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; view-transition-name: titulo; max-width: 15ch; }
.abertura-lide { max-width: 680px; }
.abertura .mancha { width: min(440px, 60vw); right: -6%; top: -34%; opacity: calc(var(--mancha-opacidade) * .7); }
.abertura .mancha-2 { width: min(180px, 30vw); right: 24%; top: 34%; bottom: auto; opacity: calc(var(--mancha-opacidade) * .8); }
.leitura { max-width: 760px; }
.leitura h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 40px 0 14px; }
.leitura p, .leitura li { color: var(--corpo); }
.leitura p + p { margin-top: 14px; }
.leitura ul { display: grid; gap: 8px; margin-top: 12px; }
.leitura li { padding-left: 22px; position: relative; }
.leitura li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--acento); }
.secao-curta { padding-block: clamp(16px, 3vw, 40px) clamp(72px, 9vw, 128px); }

/* sobre */
.sobre-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sobre-foto { position: sticky; top: calc(var(--topo-h) + 24px); }
.sobre-foto .heroi-recorte { aspect-ratio: 4 / 5; border-radius: 46% 54% 30% 30% / 34% 36% 18% 18%; }
.sobre-texto { display: grid; gap: 18px; }
.sobre-texto > p { color: var(--corpo); }
.sobre-texto h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 22px; }
.ficha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.ficha li { padding: 18px 20px; border-radius: var(--raio); background: var(--fundo-2); border: 1px solid var(--linha); color: var(--corpo); }
.ficha b { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 4px; }

/* atendimento: abas presencial / online */
.modo-abas .abas-lista { gap: 8px; border-bottom: 0; margin-bottom: 28px; }
.modo-abas .aba { min-height: 50px; padding: 0 24px; border: 1.5px solid var(--linha-forte); border-radius: 999px; margin: 0; font-weight: 600; color: var(--corpo); }
.modo-abas .aba[aria-selected="true"] { background: var(--texto); color: var(--fundo); border-color: var(--texto); }
.painel-modo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.painel-modo .foto { aspect-ratio: 4 / 3; }
.painel-modo-texto { display: grid; gap: 16px; }
.painel-modo-texto h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.painel-modo-texto p, .painel-modo-texto li { color: var(--corpo); }
.painel-modo-texto ul { display: grid; gap: 8px; }
.painel-modo-texto li { padding-left: 22px; position: relative; }
.painel-modo-texto li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--acento); }
.blocos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.bloco { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: calc(var(--raio) + 4px); background: var(--fundo-2); border: 1px solid var(--linha); }
.bloco h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.bloco p, .bloco li { color: var(--corpo); }
.bloco-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--acento); font-style: italic; }
.passos { display: grid; gap: 10px; counter-reset: passo; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--fundo-3); color: var(--texto); font-weight: 700; font-size: .85rem; }

/* livros */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.filtro { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--linha-forte); background: transparent; color: var(--corpo);
  font: 500 .95rem/1 var(--sans); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filtro:hover { border-color: var(--texto); color: var(--texto); }
.filtro[aria-pressed="true"] { background: var(--texto); color: var(--fundo); border-color: var(--texto); }
.estante { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); }
.livro { display: grid; align-content: start; }
.livro p.livro-nota { margin-top: 8px; font-size: .95rem; color: var(--corpo); }
.livro .chips { margin-top: 10px; }
.livro .chip { font-size: .78rem; min-height: 28px; padding: 2px 10px; }
.comece { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 52px);
  border-radius: calc(var(--raio) + 10px); background: var(--fundo-2); border: 1px solid var(--linha); margin-bottom: clamp(48px, 6vw, 80px); }
.comece .prateleira { border-bottom: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; }
.comece-texto { display: grid; gap: 14px; }
.estante-vazia { padding: 28px; border-radius: var(--raio); border: 1px dashed var(--linha-forte); color: var(--corpo); }
.livro-sem { color: var(--suave); font-size: .9rem; }

/* contato */
.contato-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contato-acoes { display: grid; gap: 14px; }
.contato-cartao { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; border-radius: calc(var(--raio) + 4px);
  background: var(--fundo-2); border: 1px solid var(--linha); color: var(--texto); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
.contato-cartao:hover { border-color: var(--acento); transform: translateY(-2px); }
.contato-ic { width: 26px; height: 26px; color: var(--acento); }
.contato-cartao b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; font-variation-settings: "SOFT" 100; }
.contato-cartao span { display: block; color: var(--suave); font-size: .92rem; }
.endereco { display: grid; gap: 6px; padding: 22px 24px; border-radius: calc(var(--raio) + 4px); border: 1px dashed var(--linha-forte); color: var(--corpo); }
.endereco b { color: var(--texto); }
.contato-foto { aspect-ratio: 3 / 2; margin-top: 24px; }

/* ---------------------------------------------------------------- crise e rodapé */
.crise { background: var(--texto); color: var(--fundo); }
.crise p { padding: 14px var(--gutter); text-align: center; font-weight: 500; line-height: 1.5; }
.crise a { color: var(--fundo); font-weight: 700; }
.crise-ic { display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -4px; color: var(--mancha); }
.rodape { position: relative; isolation: isolate; overflow: hidden; background: var(--fundo-3); color: var(--texto); padding-top: clamp(56px, 7vw, 96px); }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.rodape-marca { display: grid; gap: 14px; align-content: start; justify-items: start; }
.rodape-nome { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; font-variation-settings: "SOFT" 100; }
.rodape-crp { font-weight: 600; color: var(--texto); }
.rodape-col { display: grid; gap: 10px; align-content: start; }
.rodape-col ul { display: grid; gap: 4px; }
.rodape-col a, .rodape-col li { color: var(--corpo); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.rodape-col a:hover { color: var(--texto); text-decoration: underline; }
.rodape-titulo { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.mapa { margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--linha-forte); }
.mapa-titulo { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: 14px; }
.mapa-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px 28px; }
.mapa-grupo { display: grid; gap: 6px; align-content: start; }
.mapa-grupo p { font-weight: 600; color: var(--texto); }
.mapa-grupo ul { display: grid; gap: 2px; }
.mapa-grupo a { display: inline-block; padding: 3px 0; color: var(--corpo); text-decoration: none; font-size: .92rem; line-height: 1.4; }
.mapa-grupo a:hover { color: var(--texto); text-decoration: underline; }
.mapa-longo ul { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.rodape-legal { display: grid; gap: 10px; margin-top: 36px; padding: 24px 0 36px; border-top: 1px solid var(--linha-forte); font-size: .86rem; color: var(--suave); }
.rodape-legal a { color: var(--corpo); }
.creditos { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.creditos ul { display: contents; }
.creditos li:not(:last-child)::after { content: ","; }
.rodape-assinatura { font-family: var(--serif); font-size: clamp(3rem, 11vw, 9.5rem); line-height: .82; letter-spacing: -0.04em; color: var(--mancha);
  opacity: calc(var(--mancha-opacidade) * .55); white-space: nowrap; margin-top: 8px; text-align: center; font-style: italic; user-select: none; }

/* ---------------------------------------------------------------- busca ⌘K */
.busca { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 96px)); margin: 10vh auto auto; padding: 0; border: 1px solid var(--linha-forte);
  border-radius: calc(var(--raio) + 2px); background: var(--fundo-2); color: var(--texto); box-shadow: 0 40px 100px -30px #00000080; overflow: hidden; }
.busca::backdrop { background: #141a3080; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.busca[open] { display: flex; flex-direction: column; }
.busca-caixa { display: flex; flex-direction: column; min-height: 0; max-height: inherit; }
.busca-campo { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linha); }
.busca-campo input { flex: 1; min-width: 0; border: 0; background: none; color: var(--texto); font: 400 1.1rem/1.4 var(--sans); outline: none; }
.busca-campo input::placeholder { color: var(--suave); }
.busca-lista { flex: 1; overflow-y: auto; padding: 8px; }
.busca-grupo { padding: 12px 12px 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.busca-op a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--texto); }
.busca-op[aria-selected="true"] a { background: var(--fundo-3); }
.busca-op-t { font-weight: 600; }
.busca-op-d { font-size: .86rem; color: var(--suave); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.busca-vazio { padding: 20px; color: var(--suave); }
.busca-rodape { padding: 10px 20px; border-top: 1px solid var(--linha); font-size: .76rem; color: var(--suave); }

/* ---------------------------------------------------------------- revelação (o .anima vem do animar.js do molde) */
@media (prefers-reduced-motion: no-preference) {
  .anima [data-revela]:not([data-revela="filhos"]), .anima [data-revela="filhos"] > * { filter: blur(4px); transition-property: opacity, transform, filter; }
  .anima [data-revela].visivel:not([data-revela="filhos"]), .anima [data-revela="filhos"].visivel > * { filter: none; }
}

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 959px) {
  .heroi-grade, .escuta-grade, .perguntas-grade, .sobre-grade, .contato-grade, .painel-modo, .comece { grid-template-columns: minmax(0, 1fr); }
  .heroi-foto { order: -1; width: min(100%, 360px); margin-bottom: 18px; }
  .modos, .duo { grid-template-columns: minmax(0, 1fr); }
  .blocos { grid-template-columns: minmax(0, 1fr); }
  .rodape-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rodape-marca { grid-column: 1 / -1; }
  .sobre-foto { position: static; max-width: 420px; }
  .escuta-foto { max-height: 520px; }
}
@media (max-width: 559px) {
  .rodape-grade, .ficha { grid-template-columns: minmax(0, 1fr); }
  .heroi-nome { font-size: clamp(2.7rem, 13vw, 3.4rem); }
  .acoes .botao { width: 100%; }
  .heroi-legenda { font-size: .76rem; }
}

/* ---------------------------------------------------------------- detalhes */
.modo h3 { display: flex; align-items: center; gap: 12px; }
.modo-ic { width: 28px; height: 28px; color: var(--acento); }
.citacao-traco { width: 180px; height: 22px; fill: none; stroke: #2e3a6b; stroke-width: 3.4; stroke-linecap: round; }
.citacao-pergunta { max-width: 620px; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: #1f2850; }
.contato-nota { margin-top: 18px; color: var(--corpo); font-size: .96rem; max-width: 520px; }
.endereco a { color: var(--acento); font-weight: 600; justify-self: start; }
@media (max-width: 719px) {
  .citacao .pontos, .citacao .raios { display: none; }
  .citacao-bolha { padding: 26px 20px; }
  .citacao-bolha::before { border-radius: 36px; }
}
@media (max-width: 719px) { .abertura .mancha-2 { display: none; } .abertura .mancha { width: 260px; right: -90px; top: -110px; } }
main { overflow-x: clip; } /* manchas que passam da borda (sobre/, no celular) não criam rolagem lateral */
/* de 1240 a 1499 px os sete itens do topo cabem só sem o rótulo "Buscar" (o atalho Ctrl K fica) */
@media (min-width: 1240px) and (max-width: 1499px) { .busca-rotulo { display: none; } .topo-nav a { padding: 0 9px; } .topo-dentro { gap: 14px; } }
