/* Bianca Louise — psicóloga e psicanalista
   Paleta tirada das fotos: fundo ardósia do retrato, parede verde, sálvia e carvalho do consultório. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --nevoa: #f2f3ee;
  --nevoa-2: #e6e9e1;
  --salvia: #a9bdae;
  --salvia-claro: #d6e0d7;
  --musgo: #2e4733;
  --musgo-escuro: #233827;
  --ardosia: #1f2430;
  --carvalho: #c79c64;
  --texto: #272c37;
  --texto-suave: #586070;
  --linha: rgba(31, 36, 48, 0.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 74rem;
  --secao: clamp(4.5rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nevoa);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--carvalho); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ardosia); color: #fff; padding: .7rem 1rem; border-radius: 4px;
}
.skip:focus { top: 1rem; }

/* ---------- tipografia ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }
.suave { color: var(--texto-suave); }

/* ---------- estrutura ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding-block: var(--secao); }
.banda-salvia { background: var(--salvia-claro); }
.banda-musgo { background: var(--musgo); color: #eef2ec; }
.banda-ardosia { background: var(--ardosia); color: #eef0f4; }

.duas-colunas {
  display: grid;
  gap: clamp(2rem, 5vw, 5.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 62rem) {
  .duas-colunas { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .duas-colunas.igual { grid-template-columns: 1fr 1fr; }
  .sticky { position: sticky; top: 3rem; }
}

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: .85rem 1.75rem;
  background: var(--musgo); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: .005em;
  border-radius: 999px;
  transition: background-color .2s ease, transform .2s ease;
}
.botao:hover { background: var(--musgo-escuro); }
.botao:active { transform: translateY(1px); }
.botao.claro { background: var(--salvia-claro); color: var(--ardosia); }
.botao.claro:hover { background: #fff; }
.botao.contorno { background: transparent; color: var(--ardosia); box-shadow: inset 0 0 0 1.5px var(--ardosia); }
.botao.contorno:hover { background: var(--ardosia); color: #fff; }

/* ---------- topo ---------- */
.topo { padding-block: 1.5rem; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.marca { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.01em; text-decoration: none; }
.marca small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--texto-suave); letter-spacing: 0; line-height: 1.3; }
.topo nav { display: none; gap: 2rem; font-size: .95rem; }
.topo nav a { text-decoration: none; color: var(--texto-suave); }
.topo nav a:hover { color: var(--ardosia); text-decoration: underline; text-underline-offset: 5px; }
.topo .botao { min-height: 2.75rem; padding: .55rem 1.25rem; font-size: .95rem; }
@media (min-width: 56rem) { .topo nav { display: flex; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3rem) var(--secao); }
.hero-grade { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56rem) {
  .hero-grade { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; }
}
.hero h1 { max-width: 17ch; margin-bottom: 1.6rem; }
.hero .sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.275rem); line-height: 1.6; color: var(--texto); max-width: 50ch; margin-bottom: 2rem; }
.credenciais {
  margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--linha);
  font-size: .975rem; color: var(--texto-suave); max-width: 46ch;
}
.credenciais strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--ardosia); }
.credenciais span { display: block; }
.micro { margin: 1rem 0 0; font-size: .92rem; color: var(--texto-suave); max-width: 44ch; }

.retrato { position: relative; justify-self: center; width: min(100%, 27rem); }
.retrato::before {
  content: ""; position: absolute; z-index: 0;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: var(--salvia); left: -16%; bottom: -9%;
}
.retrato::after {
  content: ""; position: absolute; z-index: 0;
  width: 17%; aspect-ratio: 1; border-radius: 50%;
  background: var(--carvalho); right: -5%; top: 12%;
}
.retrato .arco {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5.2; background: #5d6378;
}
.retrato img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

/* uma única sequência de entrada, na abertura da página */
@media (prefers-reduced-motion: no-preference) {
  .hero .texto > * { animation: sobe .8s cubic-bezier(.2,.7,.2,1) backwards; }
  .hero .texto > *:nth-child(2) { animation-delay: .12s; }
  .hero .texto > *:nth-child(3) { animation-delay: .24s; }
  .hero .texto > *:nth-child(4) { animation-delay: .36s; }
  .hero .texto > *:nth-child(5) { animation-delay: .46s; }
  .retrato .arco { animation: abre 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .retrato::before { animation: cresce 1.2s cubic-bezier(.2,.7,.2,1) .2s both; }
  @keyframes sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes abre { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
  @keyframes cresce { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ---------- faixa de confiança ---------- */
.faixa { background: var(--salvia-claro); padding-block: 1.25rem; }
.faixa ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 0; justify-content: center; font-size: .95rem; font-weight: 500; color: var(--ardosia); }
.faixa li { padding-inline: 1.4rem; border-left: 1px solid rgba(31,36,48,.28); }
.faixa li:first-child { border-left: 0; }
@media (max-width: 40rem) {
  .faixa ul { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .faixa li { border: 0; padding: 0; }
}

/* ---------- sintomas ---------- */
.lista-frases { list-style: none; margin: 0; padding: 0; }
.lista-frases li {
  font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  line-height: 1.35; letter-spacing: -.01em; padding-block: 1.25rem; border-top: 1px solid var(--linha);
}
.lista-frases li:last-child { border-bottom: 1px solid var(--linha); }
.fecho { margin-top: 2rem; max-width: 40ch; }

/* ---------- sobre ---------- */
.foto-simples { border-radius: 6px; overflow: hidden; background: #3e5a3e; }
.foto-simples img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.sobre h2 { margin-bottom: 1.5rem; max-width: 16ch; }
.formacao { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linha); }
.formacao li { padding-block: .85rem; border-bottom: 1px solid var(--linha); font-size: 1rem; }
.formacao b { font-weight: 600; }

/* ---------- como funciona ---------- */
.banda-musgo h2 { margin-bottom: 1.25rem; }
.banda-musgo .intro { max-width: 52ch; color: #d3ddd2; font-size: 1.15rem; }
.principios { display: grid; gap: 0 3.5rem; margin-top: 3.25rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .principios { grid-template-columns: 1fr 1fr; } }
.principios > div { border-top: 1px solid rgba(238,242,236,.28); padding-block: 1.5rem 2rem; }
.principios h3 { margin-bottom: .6rem; }
.principios p { margin: 0; color: #d3ddd2; }
.destaque {
  margin: 3rem 0 0; padding: .4rem 0 .4rem 1.75rem; border-left: 3px solid var(--carvalho);
  font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; max-width: 40ch; letter-spacing: -.01em;
}

/* ---------- relacionamentos ---------- */
.lista-simples { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.lista-simples li { padding: .85rem 0 .85rem 1.6rem; border-top: 1px solid var(--linha); position: relative; }
.lista-simples li:last-child { border-bottom: 1px solid var(--linha); }
.lista-simples li::before {
  content: ""; position: absolute; left: 0; top: 1.4rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--carvalho);
}
.sub-titulo { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 .25rem; letter-spacing: -.01em; }
.bloco-gap { margin-top: 3.5rem; }

/* ---------- para quem é ---------- */
.par { display: grid; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .par { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.par h3 { margin-bottom: .5rem; }
.emergencia { margin-top: 1.75rem; padding: 1.1rem 1.25rem; background: var(--salvia-claro); border-radius: 6px; font-size: .98rem; max-width: none; }

/* ---------- depoimentos ---------- */
.nota { font-weight: 600; margin-top: .75rem; color: var(--musgo); }
.depoimento-principal { margin: 2.75rem 0 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.3rem); line-height: 1.3; letter-spacing: -.012em; max-width: 34ch; }
.autor { display: block; margin-top: 1rem; font-family: var(--sans); font-size: .95rem; letter-spacing: 0; color: var(--texto-suave); }
.depoimentos { display: grid; gap: 0 3rem; margin-top: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .depoimentos { grid-template-columns: 1fr 1fr; } }
.depoimentos blockquote { margin: 0; padding-block: 1.5rem 1.75rem; border-top: 1px solid rgba(31,36,48,.22); }
.depoimentos p { margin-bottom: .6rem; }
.depoimentos cite { font-style: normal; font-size: .95rem; color: var(--texto-suave); }

/* ---------- passos ---------- */
.passos { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 2.5rem; counter-reset: passo; }
@media (min-width: 52rem) { .passos { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.passos li { counter-increment: passo; border-top: 1px solid var(--linha); padding-top: 1.25rem; }
.passos li::before { content: counter(passo); display: block; font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--carvalho); margin-bottom: .75rem; }
.passos h3 { margin-bottom: .5rem; }
.passos p { margin: 0; }

/* ---------- onde atendo ---------- */
.locais { display: grid; gap: 3rem; margin-top: 3rem; }
@media (min-width: 52rem) { .locais { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.local img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 6px; margin-bottom: 1.25rem; }
.local.consultorio img { object-position: 50% 40%; }
.local.online img { object-position: 50% 30%; }
.local h3 { margin-bottom: .5rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-of-type { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 0; position: relative;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.55rem;
  border-right: 2px solid var(--ardosia); border-bottom: 2px solid var(--ardosia); transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.2rem; }
.faq details p { padding-bottom: 1.4rem; margin: 0; color: var(--texto-suave); }
.faq .botao { margin-top: 2.5rem; }

/* ---------- fechamento ---------- */
.fechamento h2 { max-width: 18ch; margin-bottom: 1.25rem; }
.fechamento p { color: #cdd2dc; font-size: 1.15rem; }
.fechamento .micro { color: #a9afbd; }

/* ---------- rodapé ---------- */
.rodape { background: var(--ardosia); color: #b9bfcc; padding-block: 0 3rem; font-size: .95rem; }
.rodape .wrap { border-top: 1px solid rgba(255,255,255,.14); padding-top: 2.5rem; display: grid; gap: 2rem; }
@media (min-width: 52rem) { .rodape .wrap { grid-template-columns: 1.4fr 1fr; } }
.rodape p { margin: 0 0 .5rem; max-width: 56ch; }
.rodape strong { color: #fff; font-weight: 600; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rodape a { color: #dfe3ec; }
.rodape .aviso { grid-column: 1 / -1; font-size: .9rem; }

/* ---------- botão fixo no celular ---------- */
.fixo {
  position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; box-shadow: 0 8px 24px rgba(31,36,48,.28);
}
.fixo .botao { width: 100%; }
@media (min-width: 56rem) { .fixo { display: none; } }
@media (max-width: 55.99rem) { body { padding-bottom: 5rem; } }

/* ---------- páginas legais ---------- */
.legal { padding-block: 2rem var(--secao); }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); margin-bottom: .75rem; }
.legal .atualizado { color: var(--texto-suave); font-size: .95rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.7rem; margin: 2.75rem 0 .9rem; }
.legal ul { padding-left: 1.2rem; max-width: 62ch; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--musgo); text-underline-offset: 3px; }
.legal .voltar { display: inline-block; margin-bottom: 2rem; font-size: .95rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; }
.legal th, .legal td { text-align: left; padding: .7rem .75rem .7rem 0; border-top: 1px solid var(--linha); vertical-align: top; }
.legal th { font-weight: 600; }

@media print { .fixo, .topo nav { display: none; } }

/* aviso de cookies */
#aviso-cookies {
  position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 30rem;
  background: #fff; color: var(--texto); padding: 1.1rem 1.25rem; border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(31,36,48,.1), 0 18px 44px rgba(31,36,48,.22); font-size: .95rem; line-height: 1.5;
}
#aviso-cookies p { margin: 0 0 .9rem; max-width: none; }
#aviso-cookies a { color: var(--musgo); text-underline-offset: 3px; }
.acoes-cookies { display: flex; gap: .6rem; }
.acoes-cookies button {
  flex: 1; min-height: 2.9rem; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--ardosia); border: 1.5px solid var(--ardosia);
}
.acoes-cookies button[data-escolha="granted"] { background: var(--musgo); border-color: var(--musgo); color: #fff; }
.acoes-cookies button:hover { background: var(--ardosia); color: #fff; border-color: var(--ardosia); }
@media (min-width: 40.01rem) { #aviso-cookies { right: auto; left: 1.5rem; bottom: 1.5rem; } }
