/* Base comum das páginas de vendas. Cada nicho pode sobrescrever os tokens. */

:root {
  --paper: #f6f3ee;
  --paper-2: #eee9e0;
  --card: #ffffff;
  --ink: #12292b;
  --ink-2: #33494b;
  --muted: #5c6b6c;
  --line: #e2dcd1;
  --brand: #0f5b56;
  --brand-ink: #0a3f3c;
  --brand-soft: #dceae5;
  --accent: #e39b57;
  --accent-soft: #f6e4d1;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(18, 41, 43, .06), 0 2px 8px rgba(18, 41, 43, .05);
  --shadow: 0 2px 4px rgba(18, 41, 43, .04), 0 12px 32px rgba(18, 41, 43, .09);
  --shadow-lg: 0 4px 10px rgba(18, 41, 43, .05), 0 30px 70px rgba(18, 41, 43, .16);

  --gutter: clamp(16px, 5vw, 40px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--peso-titulo, 500); font-stretch: var(--largura-titulo, 100%); line-height: 1.08; letter-spacing: -0.02em; font-variation-settings: "opsz" 96; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.nobr { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }

.secao { padding: clamp(72px, 10vw, 128px) 0; }
.secao-titulo { font-size: clamp(34px, 4.6vw, 54px); max-width: 16ch; }
.secao-intro { margin-top: 18px; max-width: 56ch; color: var(--ink-2); font-size: 18px; }

/* Botões */
.botao {
  --b-bg: var(--brand); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 0;
  background: var(--b-bg); color: var(--b-fg);
  font: 600 16px/1 var(--font-body); text-decoration: none; letter-spacing: .005em; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px color-mix(in srgb, var(--brand) 55%, transparent);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor: pointer;
}
.botao:hover { background: var(--brand-ink); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 28px -10px color-mix(in srgb, var(--brand) 60%, transparent); }
.botao:active { transform: translateY(0); }
.botao svg { width: 20px; height: 20px; flex: none; }
.botao-claro { --b-bg: transparent; --b-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.botao-claro:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.botao-pequeno { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 479px) { .so-largo { display: none; } }
@media (max-width: 479px) {
  .topo .marca { font-size: 19px; }
  .topo .marca-nome small { font-size: 9px; letter-spacing: .1em; }
  .topo .botao-pequeno { padding: 0 14px; gap: 8px; }
}

/* Cabeçalho */
.topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topo.rolado { border-bottom-color: var(--line); }
.topo-interno { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.marca { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.marca-nome { display: flex; flex-direction: column; line-height: 1.05; }
.marca-nome small { margin-top: 4px; font-family: var(--font-body); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312292b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s ease, background-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq details p { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 70ch; }

/* Rodapé */
.rodape { padding: 48px 0 120px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.rodape-interno { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.rodape nav { display: flex; gap: 24px; flex-wrap: wrap; }
.rodape a { text-decoration: none; }
.rodape-nichos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; }
.rodape-nichos span { color: var(--ink-2); font-weight: 600; }
.rodape a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .rodape { padding-bottom: 48px; } }

/* Barra fixa de WhatsApp no celular */
.barra-whats {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 18px; border-radius: 20px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.barra-whats.visivel { transform: none; }
.barra-whats p { flex: 1; font-size: 14px; line-height: 1.3; }
.barra-whats strong { display: block; font-size: 16px; }
.barra-whats .botao { --b-bg: var(--accent); --b-fg: var(--ink); min-height: 46px; padding: 0 18px; box-shadow: none; }
.barra-whats .botao:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
@media (min-width: 900px) { .barra-whats { display: none; } }

/* Aviso de cookies */
.aviso-cookies {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  padding: 18px 18px 16px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies a { color: var(--brand); text-underline-offset: 3px; }
.aviso-cookies-acoes { display: flex; gap: 10px; margin-top: 14px; }
.aviso-cookies-acoes .botao { flex: 1; min-height: 42px; font-size: 14.5px; padding: 0 16px; }
.com-aviso-cookies .barra-whats { opacity: 0; pointer-events: none; }
@media (min-width: 640px) {
  .aviso-cookies { left: 24px; right: auto; bottom: 24px; max-width: 400px; }
}

/* Entrada das seções: só um leve deslocamento, o conteúdo nunca fica invisível */
.js [data-revelar] { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.js [data-revelar]:not(.revelado) { transform: translateY(14px); }
