/* Osmael Santos · Psicólogo
   Paleta construída a partir do oliva do site anterior (#617B4C). */

/* Fontes hospedadas no próprio site (Figtree e Newsreader, subconjunto latin, do Google Fonts).
   font-display: optional + preload: a fonte nunca é trocada depois da 1ª pintura, então não há deslocamento de layout (CLS 0). */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../assets/fontes/figtree-400-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url("../assets/fontes/figtree-italico-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 500;
  font-display: optional;
  src: url("../assets/fontes/newsreader-400-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url("../assets/fontes/newsreader-italico-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --oliva: #617B4C;
  --oliva-escuro: #4B6139;
  --oliva-sigilo: #556C43;
  --oliva-claro: #DDE2CF;
  --texto: #1F2A1C;
  --texto-suave: #47523F;
  --fundo: #F7F6EF;
  --fundo-tom: #EEEFE4;
  --fundo-cartao: #FBFAF5;
  --claro: #FBFAF4;
  --linha: rgba(31, 42, 28, 0.14);
  --rodape-fundo: #1F2A1C;
  --rodape-texto: #DCE0D2;
  --rodape-suave: #B7BFAB;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --envelope: 1160px;
  --lateral: 16px;
  --raio: 18px;
  --topo-altura: 72px;
}

@media (min-width: 768px) {
  :root { --lateral: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo-altura) + 16px);
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
p, ul, ol, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--texto);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.55rem + 3.1vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.7vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.008em;
}
p { text-wrap: pretty; }
strong { font-weight: 650; }

a { color: var(--oliva-escuro); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--oliva-escuro);
  outline-offset: 3px;
  border-radius: 6px;
}

.envelope {
  width: 100%;
  max-width: calc(var(--envelope) + var(--lateral) * 2);
  margin-inline: auto;
  padding-inline: var(--lateral);
}
.envelope--estreito { max-width: calc(820px + var(--lateral) * 2); }

/* Pular para o conteúdo */
.pular {
  position: absolute;
  left: 16px;
  top: -200px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--texto);
  color: var(--claro);
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}
.pular:focus { top: 12px; }

main:focus { outline: none; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  background: var(--oliva);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.botao:hover { background: var(--oliva-escuro); }
.botao:active { transform: translateY(1px); }
.botao:focus-visible { outline-offset: 4px; border-radius: 999px; }
.botao--pequeno { min-height: 44px; padding: 0.6em 1.25em; font-size: 0.8125rem; }
.botao__icone { width: 1.35em; height: 1.35em; flex: none; }

/* ---------- Topo ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fundo);
  border-bottom: 1px solid var(--linha);
}
.topo__barra {
  display: flex;
  align-items: center;          /* logo, links, botão e gaveta pelo centro vertical */
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topo-altura);
}
/* Logo horizontal à esquerda, centralizado na vertical da barra */
.marca {
  --logo-altura: 38px;
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--texto);
  text-decoration: none;
}
.marca__logo {
  display: block;
  height: var(--logo-altura);
  width: auto;
  aspect-ratio: var(--logo-proporcao, 6.59);
  max-width: 100%;
  overflow: visible;
}
/* Ao rolar 80 px o nome some e fica só o símbolo, no mesmo lugar (só opacity: CLS 0). */
.marca__nome { transition: opacity 0.22s ease; }
.topo--rolado .marca__nome { opacity: 0; }
@media (max-width: 359.98px) {
  .marca { --logo-altura: 34px; }
}
@media (min-width: 768px) {
  .marca { --logo-altura: 42px; }
}

.menu-botao {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--texto);
  cursor: pointer;
}
.menu-botao__linhas,
.menu-botao__linhas::before,
.menu-botao__linhas::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-botao__linhas { position: relative; }
.menu-botao__linhas::before,
.menu-botao__linhas::after { content: ""; position: absolute; left: 0; }
.menu-botao__linhas::before { top: -7px; }
.menu-botao__linhas::after { top: 7px; }
.menu-botao[aria-expanded="true"] .menu-botao__linhas { background: transparent; }
.menu-botao[aria-expanded="true"] .menu-botao__linhas::before { transform: translateY(7px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao__linhas::after { transform: translateY(-7px) rotate(-45deg); }

/* Gaveta (abaixo de 1080 px), entra pela direita */
.menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(86vw, 360px);
  padding: calc(var(--topo-altura) + 16px) 24px 32px;
  background: var(--fundo);
  box-shadow: -12px 0 40px rgba(31, 42, 28, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
  overflow-y: auto;
}
.menu--aberto {
  transform: none;
  visibility: visible;
  transition: transform 0.25s ease;
}
.menu__lista { display: flex; flex-direction: column; }
.menu__lista a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--linha);
  color: var(--texto);
  font-size: 1.125rem;
  text-decoration: none;
}
.menu__lista a:hover { color: var(--oliva-escuro); }
.menu .botao { align-self: flex-start; }

.veu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(31, 42, 28, 0.35);
}
.veu[hidden] { display: none; }

@media (min-width: 1080px) {
  .menu-botao { display: none; }
  .menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    width: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    transition: none;
    overflow: visible;
  }
  .menu__lista { flex-direction: row; align-items: center; gap: 4px; }
  .menu__lista a {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    font-size: 0.975rem;
    color: var(--texto-suave);
  }
  .menu__lista a:hover { color: var(--texto); }
  .menu .botao { align-self: center; }
  .veu { display: none; }
}

/* ---------- Abertura ---------- */
.abertura { padding-block: clamp(28px, 5vw, 88px) clamp(56px, 7vw, 104px); }
.abertura__grade {
  display: grid;
  gap: 32px;
}
.abertura__foto { order: -1; position: relative; }
.abertura__foto picture { display: block; }
.abertura__foto img {
  width: 100%;
  height: auto;
  max-width: min(100%, 440px);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: var(--raio);
  background: var(--oliva-claro);
}
.sobretitulo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--oliva-escuro);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.sobretitulo::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: currentColor;
}
.abertura__lead {
  max-width: 36em;
  margin: 22px 0 32px;
  color: var(--texto-suave);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
}
.apoio {
  margin-top: 18px;
  color: var(--texto-suave);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .abertura__grade {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }
  .abertura__foto { order: 0; justify-self: end; width: 100%; max-width: 440px; }
  .abertura__foto::before {
    content: "";
    position: absolute;
    inset: 28px -18px -18px 28px;
    border-radius: 220px 220px var(--raio) var(--raio);
    background: var(--oliva-claro);
  }
  .abertura__foto img {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 220px 220px var(--raio) var(--raio);
  }
}

/* ---------- Seções ---------- */
.secao { padding-block: clamp(64px, 8vw, 112px); }
.secao--tom { background: var(--fundo-tom); }
.secao h2 { max-width: 22ch; }

/* Movimento: fade curto, só opacidade e um deslocamento pequeno. Nada é recortado. */
@media (prefers-reduced-motion: no-preference) {
  .js .revelar {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js .revelar.visivel { opacity: 1; transform: none; }
}
@media print {
  .js .revelar { opacity: 1 !important; transform: none !important; }
}

/* Dores */
.dores h2 { margin-bottom: clamp(32px, 4vw, 48px); }
.dores__lista {
  display: grid;
  column-gap: 56px;
}
.dor {
  position: relative;
  padding: 20px 0 20px 28px;
  border-top: 1px solid var(--linha);
  color: var(--texto-suave);
}
.dor strong { color: var(--texto); }
.dor::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(20px + 0.62em);
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--oliva);
  border-radius: 50%;
}
.fecho {
  max-width: 40em;
  margin-top: clamp(32px, 4vw, 48px);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  line-height: 1.4;
  color: var(--texto);
}
@media (min-width: 768px) {
  .dores__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Método */
.metodo__cabeca { margin-bottom: clamp(36px, 4vw, 56px); }
.intro {
  max-width: 40em;
  margin-top: 18px;
  color: var(--texto-suave);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.175rem);
}
.metodo__lista {
  display: grid;
  gap: 16px;
  counter-reset: pilar;
}
.pilar {
  counter-increment: pilar;
  position: relative;
  padding: 28px 28px 30px;
  border-radius: var(--raio);
  background: var(--fundo-cartao);
  color: var(--texto-suave);
}
.pilar::before {
  content: counter(pilar);
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--oliva-escuro);
}
.pilar__titulo {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--texto);
}
@media (min-width: 768px) {
  .metodo__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* Sobre */
.sobre__grade { display: grid; gap: 40px; }
.sobre__texto p {
  max-width: 34em;
  margin-top: 22px;
  color: var(--texto-suave);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.175rem);
}
.formacao {
  align-self: start;
  padding: 8px 28px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--fundo-cartao);
}
.formacao li {
  position: relative;
  padding: 16px 0 16px 22px;
  color: var(--texto);
  font-size: 1rem;
  line-height: 1.5;
}
.formacao li + li { border-top: 1px solid var(--linha); }
.formacao li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(16px + 0.62em);
  width: 8px;
  height: 1.5px;
  background: var(--oliva);
}
@media (min-width: 900px) {
  .sobre__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* Processo */
.processo h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.passos { display: grid; gap: 28px; }
.passo {
  padding-top: 20px;
  border-top: 1px solid var(--linha);
}
.passo__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--oliva-escuro);
}
.passo p { color: var(--texto-suave); max-width: 30em; }
.faixa {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 18px 24px;
  border-radius: var(--raio);
  background: var(--fundo-cartao);
  color: var(--texto);
  font-weight: 500;
}
.faixa__sep { display: none; }
@media (min-width: 900px) {
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .faixa {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 32px;
    border-radius: 999px;
  }
  .faixa__sep { display: inline; white-space: pre; color: var(--oliva-escuro); }
}

/* Sigilo */
.sigilo {
  background: var(--oliva-sigilo);
  color: var(--claro);
}
.sigilo h2 { color: var(--claro); margin-bottom: 20px; }
.sigilo p { max-width: 32em; }
.sigilo__grade { display: grid; gap: 36px; }
.sigilo__lista li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-top: 1px solid rgba(251, 250, 244, 0.28);
}
.sigilo__lista li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(16px + 0.45em);
  width: 12px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.sigilo__fecho {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.4;
}
.sigilo :focus-visible { outline-color: var(--claro); }
@media (min-width: 900px) {
  .sigilo__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
}

/* Dúvidas */
.duvidas h2 { margin-bottom: 28px; }
.acordeao { border-top: 1px solid var(--linha); }
.acordeao details { border-bottom: 1px solid var(--linha); }
.acordeao summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--texto);
  cursor: pointer;
  list-style: none;
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-right: 1.5px solid var(--oliva-escuro);
  border-bottom: 1.5px solid var(--oliva-escuro);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s ease;
}
.acordeao details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.acordeao summary:hover { color: var(--oliva-escuro); }
.acordeao details p {
  max-width: 40em;
  padding: 0 0 22px;
  color: var(--texto-suave);
}

/* Chamada final */
.chamada { padding-top: 0; }
.chamada__caixa {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.chamada__caixa > * { max-width: 100%; }
.chamada h2 { margin-inline: auto; max-width: 20ch; }
.chamada p {
  max-width: 30em;
  margin: 20px auto 32px;
  color: var(--texto-suave);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
}
.chamada .envelope {
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--linha);
}

/* ---------- Rodapé ---------- */
/* Mobile: tudo empilhado e centralizado. Desktop (900 px+): 3 colunas alinhadas ao topo. */
.rodape {
  --rodape-rotulo: #9DA792;       /* mais apagado que o texto; contraste 5,9:1 sobre o fundo */
  background: var(--rodape-fundo);
  color: var(--rodape-texto);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.rodape a { color: var(--claro); }
.rodape :focus-visible { outline-color: var(--claro); }
.rodape__grade {
  display: grid;
  gap: 28px;
  padding-block: 48px 32px;
  justify-items: center;
  text-align: center;
}
.rodape__col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rodape__logo {
  width: auto;
  height: 64px;
  margin-bottom: 12px;
  color: inherit;                 /* cor e opacidade do texto do rodapé */
  overflow: visible;
}
.rodape__marca { color: var(--rodape-texto); }
.rodape__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.rodape__rotulo {
  display: none;                  /* só no desktop */
  margin-bottom: 10px;
  color: var(--rodape-rotulo);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.rodape__crise { max-width: 36em; color: var(--rodape-texto); }
.rodape__legais { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 24px; }
.rodape__legais a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 900px) {
  .rodape__grade {
    grid-template-columns: 1.1fr 1.3fr 0.8fr;
    align-items: start;
    justify-items: stretch;
    text-align: left;
  }
  .rodape__col { align-items: flex-start; }
  .rodape__rotulo { display: block; }
  .rodape__legais { flex-direction: column; justify-content: flex-start; }
}

/* Última faixa: copyright + crédito */
.rodape__ultima {
  border-top: 1px solid rgba(220, 224, 210, 0.16);
  /* com a página no fim, o botão flutuante fica abaixo do copyright e da assinatura */
  padding-bottom: calc(var(--flutuante-tamanho) + var(--flutuante-margem) + 12px + env(safe-area-inset-bottom, 0px));
}
.rodape__ultima-grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  text-align: center;
}
.copy, .credito { color: var(--rodape-suave); line-height: 1.6; }
.copy { padding-block: 8px 0; font-size: 12px; }
.credito { font-size: 14px; }
.credito a { color: inherit; text-decoration: none; }
@media (min-width: 900px) {
  .rodape__ultima-grade {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
  }
  .copy { padding-block: 0; font-size: 13px; }
  .credito { font-size: 15px; }
}
.assinatura-link {
  display: inline-block;
  padding-block: 11px;
  white-space: nowrap;
}
.assinatura-link:hover .assinatura-link__dominio { text-decoration: underline; }
/* Tamanho da assinatura: a altura-x do "moon" no SVG iguala a altura-x do texto do crédito (1ex).
   Medido no SVG (viewBox de 1040 de altura): linha de base do "moon" em y = 903 (137 acima da borda
   de baixo) e topo do "m"/"n" em 411,5 → altura-x = 491,5 unidades. Teto de 20 px.
   O vertical-align baixa o SVG em 137/1040 da altura: a linha de base do "moon" cai na do texto. */
.assinatura {
  --assinatura-altura: min(calc(1ex * 1040 / 491.5), 20px);
  display: inline-block;
  height: var(--assinatura-altura);
  width: auto;
  aspect-ratio: 5485 / 1040;
  vertical-align: calc(var(--assinatura-altura) * -137 / 1040);
  fill: currentColor;
  color: inherit;
}

/* ---------- Botão flutuante do WhatsApp (todas as páginas e larguras; nunca some) ---------- */
:root {
  --flutuante-tamanho: 56px;
  --flutuante-margem: 20px;
}
@media (min-width: 768px) {
  :root { --flutuante-tamanho: 60px; }
}
.whats-flutuante {
  position: fixed;
  right: calc(var(--flutuante-margem) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--flutuante-margem) + env(safe-area-inset-bottom, 0px));
  z-index: 900;                 /* acima de tudo, abaixo da vinheta (1000) */
  display: grid;
  place-items: center;
  width: var(--flutuante-tamanho);
  height: var(--flutuante-tamanho);
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(31, 42, 28, 0.22), 0 2px 6px rgba(31, 42, 28, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whats-flutuante svg { width: 55%; height: 55%; }
.whats-flutuante:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(31, 42, 28, 0.28), 0 2px 6px rgba(31, 42, 28, 0.14); }
.whats-flutuante:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 4px;
  border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu, .menu--aberto, .botao, .menu-botao__linhas, .acordeao summary::after, .marca__nome, .whats-flutuante { transition: none; }
}

/* ---------- Página 404 ---------- */
.nao-encontrada { padding-block: clamp(64px, 12vw, 160px); text-align: center; }
.nao-encontrada h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.nao-encontrada p { margin: 18px auto 32px; max-width: 30em; color: var(--texto-suave); }

/* ---------- Páginas legais ---------- */
.legal { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); margin-bottom: 28px; }
.legal h2 {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 36px 0 10px;
  max-width: none;
}
.legal p, .legal li { color: var(--texto-suave); }
.legal p + p { margin-top: 14px; }
.legal ul { margin-top: 12px; }
.legal li { position: relative; padding: 4px 0 4px 22px; }
.legal li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(4px + 0.7em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oliva);
}
.legal strong { color: var(--texto); }
/* link no meio do texto: o padding vertical amplia a área de toque (44 px) sem afastar as linhas */
.link-texto { padding-block: 12px; overflow-wrap: anywhere; }
.voltar {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* ---------- Vinheta de abertura (criada pelo site.js; só na 1ª visita da sessão) ---------- */
/* A rolagem é travada pelo site.js (sem mexer em overflow): a largura do layout nunca muda, CLS 0. */
/* Enquanto trava, nada de rolagem suave: com ela, uma rolagem que escapasse viraria uma animação
   que continua correndo enquanto o site.js devolve a página ao lugar — os dois brigariam. */
html.vinheta-trava { scroll-behavior: auto; }
html.vinheta-cortina::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--oliva);
}
.vinheta {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--oliva);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vinheta__logo {
  width: min(78vw, 520px);
  height: auto;
  overflow: visible;
}
.vinheta__traco {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}
.vinheta__nome { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .vinheta { display: none; }
}
