/* ============================================================
   PÁGINAS AVULSAS: Política de privacidade
   Visual leve (sem GSAP nem Lenis) para abrir rápido no celular,
   com as mesmas cores, fontes e formas da marca (ver DESIGN.md):
   - rosa (#DF8890) só em formas; texto rosa no rosa profundo;
   - sobre o rosa, o texto é o escuro #2F2B2C;
   - botões e selos em pílula; cartões e fotos com canto de folha.
   ============================================================ */

/* ---------- Fontes (as mesmas do site principal) ---------- */
@font-face {
  font-family: "Josefin Sans";
  src: url("../fontes/josefin-sans-var.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fontes/nunito-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fontes/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Cores e medidas ---------- */
:root {
  --fundo: #F0F1EC;
  --superficie: #FAFAF7;
  --areia: #E6E2D9;
  --rosa-suave: #F6DDE0;
  --rosa: #DF8890;
  --rosa-profundo: #9C4052;
  --tinta: #3B3B39;
  --grafite: #636460;
  --sobre-rosa: #2F2B2C;
  --fio: #D7D5CD;
  --texto-claro: #CFCCC6;

  --f-titulo: "Josefin Sans", "Century Gothic", "Avenir Next", sans-serif;
  --f-texto: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --f-botao: "Barlow Condensed", "Arial Narrow", sans-serif;

  --margem: clamp(20px, 5vw, 64px);
  --espaco: clamp(64px, 9vw, 120px);
  --folha: 28px;
  --sai: cubic-bezier(0.16, 1, 0.3, 1);
  --troca: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #B9B7AE var(--fundo); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--fundo);
  color: var(--grafite);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; color: var(--tinta); font-family: var(--f-titulo); font-weight: 300; text-wrap: balance; }
h3 { font-weight: 400; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
strong { color: var(--tinta); font-weight: 700; }
a { color: var(--rosa-profundo); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--tinta); }
:focus-visible { outline: 3px solid var(--rosa-profundo); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
::selection { background: var(--rosa-suave); color: var(--sobre-rosa); }
[hidden] { display: none !important; }

.envelope { width: 100%; max-width: calc(1120px + 2 * var(--margem)); margin-inline: auto; padding-inline: var(--margem); }
.pular {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--tinta); color: var(--fundo); font-weight: 700;
  transform: translateY(-160%); transition: transform 0.3s var(--sai);
}
.pular:focus, .pular:hover { transform: none; color: var(--fundo); }

.icone { flex: none; width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botões e selo ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-family: var(--f-botao); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: 0.02em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.3s var(--troca), color 0.3s var(--troca), transform 0.4s var(--sai);
}
.botao .icone { width: 22px; height: 22px; }
.botao:active { transform: translateY(1px) scale(0.985); }
.botao--principal { background: var(--rosa); color: var(--sobre-rosa); }
.botao--principal:hover { background: var(--rosa-profundo); color: var(--fundo); }
/* dentro do campo rosa, onde o rosa sumiria */
.botao--escuro { background: var(--sobre-rosa); color: var(--rosa-suave); }
.botao--escuro:hover { background: var(--fundo); color: var(--sobre-rosa); }

.selo {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--rosa-suave); color: var(--sobre-rosa);
  font-family: var(--f-botao); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.03em; line-height: 1;
}

/* cantos de folha: superior esquerdo e inferior direito */
.cartao-folha { border-radius: var(--folha) 0 var(--folha) 0; background: var(--superficie); }
.quadro { overflow: hidden; border-radius: 34% 0 34% 0; background: var(--areia); }
.quadro img { width: 100%; height: 100%; object-fit: cover; }
.foto-folha figcaption { margin-top: 8px; font-size: 0.8125rem; }

/* ---------- Topo: logo sem link e botão ---------- */
.topo { background: var(--rosa-suave); }
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--tinta); }
.marca__simbolo { width: 44px; height: 37px; }
.marca__texto { display: grid; gap: 3px; }
.marca__nome { font-family: var(--f-titulo); font-weight: 300; font-size: 1.3125rem; line-height: 1; }
.marca__descritor { display: none; font-weight: 600; font-size: 0.6875rem; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grafite); max-width: 330px; }
/* no celular o botão do topo sai: o da abertura e o fixo já fazem esse papel */
.botao--topo { display: none; min-height: 44px; padding: 0 18px; font-size: 1.0625rem; }
.botao--topo .icone { width: 19px; height: 19px; }
@media (min-width: 640px) {
  .botao--topo { display: inline-flex; }
}
@media (min-width: 900px) { /* a frase é longa: só aparece onde há espaço */
  .marca__descritor { display: block; }
}

/* ---------- Rodapé ---------- */
.rodape { padding-block: 44px calc(44px + 84px); background: var(--tinta); color: var(--texto-claro); font-size: 0.875rem; }
.rodape a { color: var(--fundo); }
.rodape :focus-visible { outline-color: var(--rosa); }
.rodape__grade { display: grid; gap: 20px; }
.rodape__simbolo { width: 64px; height: 54px; }
.rodape__nome { color: var(--fundo); font-weight: 700; }
.rodape__texto p { margin-bottom: 4px; }
.rodape__direitos { margin: 0; }
.rodape--simples { padding-bottom: 44px; }
/* o botão de mudar a escolha de cookies só aparece com o Pixel ligado */
html:not([data-pixel]) .so-com-pixel { display: none; }
/* não deixa o número do CRN quebrar no meio */
.sem-quebra { white-space: nowrap; }
@media (min-width: 860px) {
  .rodape { padding-bottom: 44px; }
  .rodape__grade { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

/* ============================================================
   POLÍTICA DE PRIVACIDADE
   ============================================================ */
.legal { padding-block: clamp(40px, 7vw, 88px) var(--espaco); }
.legal h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.5rem); line-height: 1.08; }
.legal__data { margin-top: 10px; font-size: 0.9375rem; }
.legal h2 { margin: 40px 0 10px; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.25; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal__preferencias { margin-top: 12px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--tinta); border-radius: 999px; background: transparent; color: var(--tinta); font-family: var(--f-botao); font-weight: 700; font-size: 1.125rem; cursor: pointer; }
.legal__preferencias:hover { background: var(--tinta); color: var(--fundo); }
.legal__voltar { display: inline-flex; margin-top: 40px; font-weight: 700; }

/* ---------- Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
