/* =========================================================
   Autonia — estilos do site
   Cores e fontes seguem o mini-guia da marca (C2 + Nunito)
   ========================================================= */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Tokens da marca ---------- */
:root {
  --petroleo: #0F4C45;
  --ambar: #F2A93B;
  --areia: #F6F2EA;
  --tinta: #10201D;
  --nevoa: #DCE7E2;
  --musgo: #3D524D;
  --desligado: #C2CFCA;
  --linha: #6F8680;
  --branco: #FFFFFF;

  --fonte-titulo: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --fonte-texto: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --largura: 1200px;
  --raio: 22px;
  --sombra: 0 16px 36px rgba(16, 32, 29, 0.14);

  /* cores do interruptor (podem ser trocadas por bloco) */
  --sw-trilho: var(--petroleo);
  --sw-bolinha: var(--ambar);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--areia);
  color: var(--tinta);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 900; margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: var(--petroleo); }
a:hover { color: var(--tinta); }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petroleo); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.pular { position: absolute; left: 16px; top: -60px; background: var(--petroleo); color: var(--areia); padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; font-weight: 600; }
.pular:focus { top: 12px; color: var(--areia); }

/* ---------- Logo (o "o" é o interruptor) ---------- */
.wordmark {
  font-family: var(--fonte-titulo);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--petroleo);
  text-decoration: none;
  display: inline-block;
}
.wordmark svg, .sw-inline {
  display: inline-block;
  width: 0.9em;
  height: 0.5em;
  vertical-align: baseline;
  margin: 0 0.03em;
}
.interruptor { display: block; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: var(--ambar); color: var(--tinta); }
.btn-primario:hover { background: #F5B65A; color: var(--tinta); }
.btn-contorno { border: 1.5px solid var(--petroleo); color: var(--petroleo); padding: 11px 18px; font-size: 15px; min-height: 44px; }
.btn-contorno:hover { background: var(--petroleo); color: var(--areia); }
.nota-cta { font-size: 14px; color: var(--musgo); padding-left: 8px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Cabeçalho ---------- */
.topo { padding: 22px 0; }
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo .wordmark { font-size: 32px; }
.menu { display: flex; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.menu a:not(.btn) { color: var(--tinta); text-decoration: none; padding: 12px 0; }
.menu a:not(.btn):hover { color: var(--petroleo); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .menu a:not(.btn) { display: none; }
  .topo .wordmark { font-size: 28px; }
}

/* ---------- Hero ---------- */
.hero .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 48px; padding-bottom: 104px; }
.hero-texto { flex: 7 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-top: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.03em; }
.hero h1 span { color: var(--petroleo); }
.hero-sub { font-size: 19px; color: var(--musgo); max-width: 560px; }
.cta-bloco { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 4px; }

.hero-visual { flex: 5 1 340px; min-width: 0; position: relative; margin-top: 40px; }
/* Foto: quando você tiver a foto, ela substitui o painel (ver README) */
.hero-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.painel-marca {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--petroleo);
  color: var(--areia);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  --sw-trilho: var(--areia);
}
.painel-marca .interruptor { width: 120px; height: 70px; }
.painel-marca p { font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.02em; }
.status-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.status-lista li {
  background: var(--areia); color: var(--tinta);
  border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 15px;
  --sw-trilho: var(--petroleo);
}
.status-lista .interruptor { width: 40px; height: 23px; flex-shrink: 0; }

.selo {
  position: absolute; left: -24px; bottom: -28px;
  background: var(--branco); border-radius: 16px; box-shadow: var(--sombra);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px;
}
.selo .interruptor { width: 46px; height: 27px; }
.selo small { display: block; font-size: 12px; color: var(--musgo); line-height: 1.3; }
.selo strong { display: block; font-size: 15px; line-height: 1.3; }
@media (max-width: 760px) {
  .hero .container { gap: 40px; padding-top: 24px; padding-bottom: 80px; }
  .hero-texto { padding-top: 0; }
  .hero-visual { margin-top: 0; }
  .painel-marca { aspect-ratio: auto; }
  .selo { left: 12px; bottom: -22px; }
}

/* ---------- Como funciona ---------- */
.como .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 24px; padding-bottom: 104px; }
.secao-titulo { flex: 4 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.secao-titulo h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.passos { flex: 8 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.passo {
  flex: 1 1 200px; min-width: 0;
  background: var(--branco); border: 1px solid var(--nevoa); border-radius: 20px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.passo .interruptor { width: 48px; height: 28px; }
.passo h3 { font-size: 20px; letter-spacing: -0.01em; }
.passo p { font-size: 15px; color: var(--musgo); }
.passo-final { background: var(--petroleo); color: var(--areia); border-color: var(--petroleo); --sw-trilho: var(--areia); }
.passo-final p { color: var(--nevoa); }

/* ---------- Módulos ---------- */
.modulos { background: var(--petroleo); color: var(--areia); }
.modulos .container { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.modulos-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; --sw-trilho: var(--areia); }
.modulos-topo h2 { flex: 1 1 520px; max-width: 640px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.modulos-topo .interruptor { width: 84px; height: 49px; flex-shrink: 0; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  min-width: 0;
  background: var(--areia); color: var(--tinta);
  border-radius: var(--raio); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card-largo { flex: 7 1 440px; }
.card-estreito { flex: 5 1 340px; }
.card-topo { display: flex; align-items: center; justify-content: space-between; }
.icone { width: 52px; height: 52px; border-radius: 50%; background: var(--nevoa); display: flex; align-items: center; justify-content: center; }
.icone svg { width: 26px; height: 26px; }
.numero { font-family: var(--fonte-titulo); font-weight: 900; font-size: 18px; color: var(--musgo); }
.card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.beneficio { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--petroleo); }
.card p:last-child { color: var(--musgo); line-height: 1.65; }
@media (max-width: 760px) {
  .modulos .container { padding-top: 72px; padding-bottom: 72px; }
  .card { padding: 26px; }
}

/* ---------- Quem está por trás ---------- */
.sobre .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 104px; padding-bottom: 24px; }
.sobre-visual { flex: 4 1 300px; min-width: 0; }
.sobre-foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.retrato-provisorio {
  aspect-ratio: 4 / 5; border-radius: 28px; background: var(--nevoa);
  display: flex; align-items: center; justify-content: center;
}
.retrato-provisorio .interruptor { width: 45%; height: auto; aspect-ratio: 90 / 52; }
.sobre-texto { flex: 7 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sobre-texto h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.sobre-texto p { font-size: 18px; line-height: 1.7; }
.assinatura { display: flex; align-items: center; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.assinatura .interruptor { width: 40px; height: 23px; }
.assinatura strong { font-family: var(--fonte-titulo); font-weight: 900; font-size: 18px; }
.assinatura span { font-size: 15px; color: var(--musgo); }

/* ---------- Dúvidas ---------- */
.duvidas .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 104px; padding-bottom: 24px; }
.perguntas { flex: 8 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.perguntas details { background: var(--branco); border: 1px solid var(--nevoa); border-radius: 16px; padding: 0 24px; }
.perguntas summary {
  list-style: none; cursor: pointer;
  font-family: var(--fonte-titulo); font-weight: 900; font-size: 19px; line-height: 1.3;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 44px;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; color: var(--petroleo); font-size: 24px; line-height: 1; flex-shrink: 0; }
.perguntas details[open] summary::after { content: "−"; }
.perguntas details p { padding-bottom: 20px; color: var(--musgo); line-height: 1.65; }

/* ---------- Fechamento ---------- */
.fechamento .container { padding-top: 104px; padding-bottom: 112px; }
.fechamento-caixa {
  background: var(--nevoa); border-radius: 32px;
  padding: clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.fechamento-titulo { flex: 6 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.antes-depois { display: flex; align-items: center; gap: 14px; }
.antes-depois .interruptor { width: 62px; height: 36px; }
.antes-depois .seta { width: 22px; height: 22px; }
.fechamento h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; }
.fechamento-texto { flex: 5 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.fechamento-texto p { font-size: 18px; line-height: 1.65; }

/* interruptor desligado */
.sw-off { --sw-trilho: var(--desligado); --sw-bolinha: var(--branco); }

/* ---------- Rodapé ---------- */
.rodape { border-top: 1px solid var(--nevoa); }
.rodape .container { padding-top: 28px; padding-bottom: 104px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--musgo); }
.rodape .wordmark { font-size: 22px; }

/* ---------- Botão fixo de WhatsApp ---------- */
.whats-fixo {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--petroleo); color: var(--areia);
  padding: 14px 20px; border-radius: 999px; min-height: 48px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(16, 32, 29, 0.28);
}
.whats-fixo:hover { background: var(--tinta); color: var(--areia); }
.whats-fixo svg { width: 22px; height: 22px; }

/* ---------- Página de texto (privacidade, 404) ---------- */
.pagina-texto .container { max-width: 760px; padding-top: 48px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 18px; }
.pagina-texto h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.pagina-texto h2 { font-size: 22px; margin-top: 18px; letter-spacing: -0.01em; }
.pagina-texto p, .pagina-texto li { font-size: 17px; line-height: 1.7; }
.pagina-texto ul { margin: 0; padding-left: 22px; }
