/* =====================================================================
   DESTTRA — Folha de estilo base (landing pages de venda)
   ---------------------------------------------------------------------
   Para trocar a identidade visual, altere apenas as variáveis abaixo.
   ===================================================================== */

:root {
  /* Cores — troque aqui para mudar a marca inteira */
  --cor-fundo:        #ffffff;
  --cor-fundo-alt:    #f5f6f8;   /* seções alternadas */
  --cor-texto:        #16181d;
  --cor-texto-suave:  #5b616e;
  --cor-borda:        #e4e6eb;

  --cor-primaria:     #16a34a;   /* destaque / links / botões (verde da paleta) */
  --cor-primaria-esc: #15803d;
  --cor-verde-site:   #08c023;   /* verde vibrante dos destaques de texto (igual desttra.com) */
  --cor-cta:          #16a34a;   /* botão de ação principal */
  --cor-cta-esc:      #15803d;

  /* Tipografia */
  --fonte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --largura-max: 1080px;
  --raio: 12px;
  --sombra: 0 4px 24px rgba(0, 0, 0, .08);
}

/* ---------- Reset básico ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: var(--fonte);
  color: var(--cor-texto);
  background: var(--cor-fundo);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Estrutura ---------- */
.container {
  width: 100%;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 20px;
}

.secao        { padding: 72px 0; }
.secao--alt   { background: var(--cor-fundo-alt); }
.secao--escura{ background: var(--cor-texto); color: #fff; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p  { margin-bottom: 16px; color: var(--cor-texto-suave); }
.texto-centro { text-align: center; }
.destaque { color: var(--cor-verde-site); }
.subtitulo { font-size: 1.15rem; color: var(--cor-texto-suave); max-width: 640px; }
.secao--escura p, .secao--escura .subtitulo { color: #c7ccd6; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--raio);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .12s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
button.btn { font-family: inherit; }
.btn--cta   { background: var(--cor-cta); color: #fff; box-shadow: var(--sombra); }
.btn--cta:hover { background: var(--cor-cta-esc); }
.btn--primaria { background: var(--cor-primaria); color: #fff; }
.btn--primaria:hover { background: var(--cor-primaria-esc); }

/* ---------- Cabeçalho / topo ---------- */
.topo { border-bottom: 1px solid var(--cor-borda); }
.topo-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; text-decoration: none; color: var(--cor-texto); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0; text-align: center; }
.hero .subtitulo { margin: 20px auto 32px; }

/* ---------- Listas de benefícios ---------- */
.lista-check { list-style: none; display: grid; gap: 14px; max-width: 640px; margin: 24px auto; }
.lista-check li { position: relative; padding-left: 34px; color: var(--cor-texto); }
.lista-check li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  color: var(--cor-cta); font-weight: 700;
}

/* ---------- Lista simples (pontos neutros, sem seta) ---------- */
.lista-simples { list-style: none; display: grid; gap: 10px; max-width: 640px; margin: 20px auto; }
.lista-simples li { position: relative; padding-left: 22px; color: var(--cor-texto); }
.lista-simples li::before { content: "–"; position: absolute; left: 0; color: var(--cor-texto-suave); font-weight: 700; }

/* ---------- Lista de consequências (✕) ---------- */
.lista-x { list-style: none; display: grid; gap: 14px; max-width: 760px; margin: 20px auto; }
.lista-x li { position: relative; padding-left: 34px; color: var(--cor-texto); }
.lista-x li::before { content: "\2715"; position: absolute; left: 0; top: 0; color: #c0392b; font-weight: 700; }

/* ---------- Foto de depoimento (print/imagem) ---------- */
.depoimento-foto {
  border-radius: var(--raio);
  background: var(--cor-fundo); border: 1px dashed var(--cor-borda);
  display: flex; align-items: center; justify-content: center;
  color: var(--cor-texto-suave); text-align: center; padding: 16px; min-height: 260px;
}
.depoimento-foto img { width: 100%; height: auto; border-radius: var(--raio); display: block; }

/* ---------- Galeria de prints de depoimento (mosaico) ---------- */
.depos-fotos { column-count: 3; column-gap: 20px; max-width: 980px; margin: 0 auto; }
.depos-fotos img {
  width: 100%; margin: 0 0 20px; display: block; break-inside: avoid;
  border-radius: var(--raio); border: 1px solid var(--cor-borda);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
@media (max-width: 860px) { .depos-fotos { column-count: 2; } }
@media (max-width: 520px) { .depos-fotos { column-count: 1; max-width: 420px; } }

/* ---------- Box de destaque (quick win / garantia) ---------- */
.callout {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--cor-fundo); border: 2px solid var(--cor-cta);
  border-radius: var(--raio); padding: 36px 28px; box-shadow: var(--sombra);
}

/* ---------- Grade de cards ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--cor-fundo);
  border: 1px solid var(--cor-borda);
  border-radius: var(--raio);
  padding: 28px;
}

/* ---------- Caixa de oferta / preço ---------- */
.oferta {
  max-width: 520px; margin: 0 auto; text-align: center;
  background: var(--cor-fundo); border: 2px solid var(--cor-primaria);
  border-radius: var(--raio); padding: 40px 32px; box-shadow: var(--sombra);
}
.oferta .preco { font-size: 3rem; font-weight: 800; color: var(--cor-texto); margin: 12px 0; }
.oferta .preco-antigo { text-decoration: line-through; color: var(--cor-texto-suave); font-size: 1.2rem; }

/* ---------- FAQ (perguntas frequentes) ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--cor-borda); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cor-primaria); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; }

/* ---------- Formulário de captura ---------- */
.form-captura { max-width: 460px; margin: 24px auto 0; display: grid; gap: 12px; }
.form-captura input {
  font-family: inherit; font-size: 1rem; padding: 14px 16px;
  border: 1px solid var(--cor-borda); border-radius: var(--raio); width: 100%;
}
.form-captura .aviso { font-size: .85rem; color: var(--cor-texto-suave); }
.form-msg { text-align: center; font-weight: 600; margin-top: 12px; }

/* ---------- Rodapé ---------- */
.rodape { padding: 40px 0; border-top: 1px solid var(--cor-borda); text-align: center; }
.rodape p { font-size: .9rem; margin: 0; }
.rodape a { color: var(--cor-texto-suave); text-decoration: underline; }
.rodape a:hover { color: var(--cor-primaria); }
.rodape .links-legais { margin-bottom: 8px; }

/* ---------- Páginas legais (políticas) ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--cor-texto); }
.legal ul { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.legal a { color: var(--cor-primaria); }
.legal .atualizado { color: var(--cor-texto-suave); font-size: .95rem; margin-top: 4px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--cor-borda); vertical-align: top; }
.legal th { background: var(--cor-fundo-alt); font-weight: 600; }
.legal .contato { background: var(--cor-fundo-alt); border-radius: var(--raio); padding: 20px 24px; margin-top: 12px; }

/* ---------- Consentimento de cookies (modal central) ---------- */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(16, 18, 22, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.cookie-overlay.visivel { opacity: 1; visibility: visible; }
.cookie-modal {
  background: #fff; border-radius: var(--raio); max-width: 460px; width: 100%;
  padding: 32px 28px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.cookie-overlay.visivel .cookie-modal { transform: none; }
.cookie-titulo { font-size: 1.3rem; margin-bottom: 10px; }
.cookie-texto { margin: 0 0 22px; font-size: .98rem; color: var(--cor-texto-suave); }
.cookie-texto a { color: var(--cor-primaria); }
.cookie-acoes { display: flex; gap: 12px; justify-content: center; }
.cookie-modal .btn { display: inline-block; width: auto; font-size: 1rem; padding: 12px 26px; }
.cookie-btn-sec { background: transparent; border: 1px solid var(--cor-borda); color: var(--cor-texto); }
.cookie-btn-sec:hover { background: var(--cor-fundo-alt); }
@media (max-width: 480px) {
  .cookie-acoes { flex-direction: column-reverse; }
  .cookie-modal .btn { width: 100%; }
}

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.espaco-32 { height: 32px; }

/* ---------- Vídeo responsivo (VSL / embed) ---------- */
.video-box {
  position: relative; width: 100%; max-width: 760px; margin: 28px auto;
  aspect-ratio: 16 / 9; background: #0e0f13; border-radius: var(--raio);
  display: flex; align-items: center; justify-content: center;
  color: #9aa0ad; border: 1px dashed #3a3d46; overflow: hidden;
}
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Lista com seta (nichos / itens) ---------- */
.lista-seta { list-style: none; display: grid; gap: 10px; }
.lista-seta li { position: relative; padding-left: 28px; color: var(--cor-texto); }
.lista-seta li::before { content: "\2192"; position: absolute; left: 0; color: var(--cor-primaria); font-weight: 700; }
.secao--escura .lista-seta li { color: #e7eaf0; }

/* ---------- Frase de destaque (centralizada, grande) ---------- */
.frase-destaque {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; line-height: 1.3;
  letter-spacing: -.02em; color: var(--cor-texto);
}
.secao--escura .frase-destaque { color: #fff; }

/* ---------- Etapas numeradas ---------- */
.etapas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 8px; align-items: stretch; }
.etapa { background: var(--cor-fundo); border: 1px solid var(--cor-borda); border-radius: var(--raio); padding: 28px; text-align: center; }
.etapa .num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cor-primaria); color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0 auto 14px;
}
@media (max-width: 860px) { .etapas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .etapas { grid-template-columns: 1fr; } }

/* ---------- Caixas de nicho (chips centralizados) ---------- */
.caixas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; }
.caixa {
  background: var(--cor-fundo); border: 1px solid var(--cor-borda);
  border-radius: var(--raio); padding: 14px 22px; font-weight: 600; color: var(--cor-texto);
}

/* ---------- Grade de 4 caixas alinhadas ---------- */
.grade-4 { grid-template-columns: repeat(4, 1fr); }
.grade-4 .card { text-align: center; }
@media (max-width: 860px) { .grade-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grade-4 { grid-template-columns: 1fr; } }

/* ---------- Seção dividida (texto | imagem) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .lista-check { margin-left: 0; margin-right: 0; max-width: none; }
.split .frase-destaque { text-align: left; margin-left: 0; max-width: none; }
.split-img {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--raio);
  background: var(--cor-fundo); border: 1px dashed var(--cor-borda);
  display: flex; align-items: center; justify-content: center;
  color: var(--cor-texto-suave); text-align: center; padding: 16px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--raio); }
/* No celular/tablet vira 1 coluna: o texto (que vem primeiro no HTML) aparece antes da imagem */
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 32px; } }
/* Variante: imagem à ESQUERDA no desktop (texto continua vindo primeiro no celular) */
@media (min-width: 821px) { .split--img-esq .split-img { order: -1; } }

/* ---------- Ícone dentro dos cards ---------- */
.card-icone { width: 44px; height: 44px; color: var(--cor-primaria); margin: 0 auto 14px; display: block; }

/* ---------- Imagem centralizada de seção (mockup/produto) ---------- */
.img-secao {
  width: 100%; max-width: 820px; margin: 8px auto 0;
  aspect-ratio: 16 / 9; border-radius: var(--raio);
  background: var(--cor-fundo); border: 1px dashed var(--cor-borda);
  display: flex; align-items: center; justify-content: center;
  color: var(--cor-texto-suave); text-align: center; padding: 16px;
}
.img-secao img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--raio); }

/* Quando há uma imagem real dentro dos placeholders, remove a moldura tracejada */
.split-img:has(img), .bio-foto:has(img), .depoimento-foto:has(img), .img-secao:has(img) {
  border: none; padding: 0; background: transparent; min-height: 0;
}

/* ---------- Bio (foto + texto) ---------- */
.bio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.bio-foto {
  width: 100%; aspect-ratio: 3 / 4; border-radius: var(--raio);
  background: var(--cor-fundo-alt); border: 1px dashed var(--cor-borda);
  display: flex; align-items: center; justify-content: center; color: var(--cor-texto-suave);
}
.bio-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: var(--raio); }

/* ---------- Depoimentos ---------- */
.depoimento { background: var(--cor-fundo); border: 1px solid var(--cor-borda); border-radius: var(--raio); padding: 24px; }
.depoimento p { font-style: italic; color: var(--cor-texto); }
.depoimento .autor { font-style: normal; font-weight: 600; color: var(--cor-texto-suave); margin: 0; }

/* ---------- Bloco de texto longo (VSL / argumentação) ---------- */
.texto-longo { max-width: 720px; margin: 0 auto; }
.texto-longo p { color: var(--cor-texto); }
.secao--escura .texto-longo p { color: #dfe3ea; }
.divisor { border: none; border-top: 1px solid var(--cor-borda); max-width: 720px; margin: 32px auto; }

/* ---------- Responsivo ---------- */
@media (max-width: 700px) {
  .bio-grid { grid-template-columns: 1fr; }
  .bio-foto { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .secao { padding: 48px 0; }
  .btn { display: block; width: 100%; }
}

/* =====================================================================
   ANIMAÇÕES + ajustes finos de responsividade
   ===================================================================== */

/* ---------- Revelar ao rolar a página (fade + subida) ----------
   Só esconde o elemento quando há JS (classe .js no <html>) e quando o
   usuário não pediu "menos animação". Sem JS, tudo aparece normalmente. */
@media (prefers-reduced-motion: no-preference) {
  .js .animar { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .js .animar.visivel { opacity: 1; transform: none; }
  .js .animar.d1 { transition-delay: .08s; }
  .js .animar.d2 { transition-delay: .16s; }
  .js .animar.d3 { transition-delay: .24s; }
  .js .animar.d4 { transition-delay: .32s; }
}

/* ---------- Realce ao passar o mouse (apenas em dispositivos com mouse) ---------- */
.card, .etapa, .caixa { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) {
  .card:hover, .etapa:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
  .caixa:hover { transform: translateY(-2px); border-color: var(--cor-primaria); }
  .btn--cta:hover { box-shadow: 0 8px 28px rgba(22, 163, 74, .35); }
}

/* ---------- Cabeçalho fixo e botão sempre compacto ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
.topo .btn { display: inline-block; width: auto; padding: 12px 18px; font-size: .95rem; box-shadow: none; }

/* ---------- Ajustes de tablet ---------- */
@media (max-width: 860px) {
  .secao { padding: 60px 0; }
}

/* ---------- Ajustes de celular ---------- */
@media (max-width: 600px) {
  .hero { padding: 40px 0; }
  .container { padding: 0 16px; }
  .oferta { padding: 32px 22px; }
}
@media (max-width: 420px) {
  .topo-inner { padding-top: 12px; padding-bottom: 12px; }
  .topo .btn { padding: 9px 13px; font-size: .82rem; }
  .logo { font-size: 1.15rem; }
}

/* =====================================================================
   PÁGINA "SISTEMA DE MARKETING MINIMALISTA"
   ===================================================================== */

/* Impede que o cabeçalho fixo cubra o vídeo ao clicar num link "#video" */
#video { scroll-margin-top: 90px; }

/* ---------- Bloco "Você sair de" → "E passar para" ---------- */
.de-para {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  align-items: stretch; max-width: 980px; margin: 8px auto 0;
}
.de-para-col {
  background: var(--cor-fundo); border: 1px solid var(--cor-borda);
  border-radius: var(--raio); padding: 28px;
}
.de-para-col h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--cor-texto-suave); margin-bottom: 12px;
}
.de-para-col p { margin-bottom: 0; }
.de-para-col--de { background: var(--cor-fundo-alt); }
.de-para-col--para { border-color: var(--cor-primaria); border-width: 2px; }
.de-para-col--para h3 { color: var(--cor-primaria); }
.de-para-col--para p { color: var(--cor-texto); }
.de-para-seta {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--cor-primaria); line-height: 1;
}
@media (max-width: 820px) {
  .de-para { grid-template-columns: 1fr; gap: 16px; }
  .de-para-seta { transform: rotate(90deg); }
}

/* =====================================================================
   POP-UP DO FORMULÁRIO DE QUALIFICAÇÃO  (js/formulario.js)
   ===================================================================== */

.ff-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(16, 18, 22, .6);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.ff-overlay.visivel { opacity: 1; visibility: visible; }

.ff-modal {
  position: relative; background: #fff; border-radius: var(--raio);
  width: 100%; max-width: 560px; margin: auto;
  padding: 36px 32px; box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
  transform: translateY(16px) scale(.985); transition: transform .25s ease;
  max-height: calc(100vh - 48px); overflow-y: auto;
}
.ff-overlay.visivel .ff-modal { transform: none; }

.ff-fechar {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 1.9rem; line-height: 1; color: var(--cor-texto-suave);
  width: 38px; height: 38px; border-radius: 50%;
}
.ff-fechar:hover { background: var(--cor-fundo-alt); color: var(--cor-texto); }

.ff-titulo { font-size: 1.5rem; margin-bottom: 6px; padding-right: 32px; }
.ff-sub { font-size: .96rem; margin-bottom: 24px; }

/* ---------- Barra de progresso das etapas ---------- */
.ff-progresso {
  height: 6px; border-radius: 999px; background: var(--cor-fundo-alt);
  overflow: hidden; margin: 4px 32px 12px 0;
}
.ff-progresso-barra {
  height: 100%; width: 33.333%; border-radius: 999px;
  background: var(--cor-primaria);
  transition: width .35s cubic-bezier(.4, 0, .2, 1);
}
.ff-passo {
  display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
  font-size: .82rem; margin-bottom: 14px;
}
.ff-passo-num {
  font-weight: 700; color: var(--cor-primaria);
  text-transform: uppercase; letter-spacing: .05em;
}
.ff-passo-titulo { color: var(--cor-texto-suave); }
.ff-passo-titulo::before { content: "· "; }

/* ---------- Etapas ---------- */
.ff-etapa { display: grid; gap: 18px; }
.ff-etapa[hidden] { display: none; }
.ff-etapa:not([hidden]) { animation: ff-entrar .28s ease both; }
@keyframes ff-entrar {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ff-etapa:not([hidden]) { animation: none; }
  .ff-progresso-barra { transition: none; }
}

/* ---------- Navegação ---------- */
.ff-navegacao { display: flex; gap: 10px; }
.ff-navegacao .btn { flex: 1 1 auto; }
.ff-navegacao .ff-voltar {
  flex: 0 0 auto; background: transparent; color: var(--cor-texto-suave);
  border: 1px solid var(--cor-borda); box-shadow: none;
}
.ff-navegacao .ff-voltar:hover { background: var(--cor-fundo-alt); color: var(--cor-texto); }
.ff-navegacao .btn[hidden] { display: none; }

/* ---------- Campos ---------- */
.ff-form { display: grid; gap: 18px; }
.ff-campo { display: grid; gap: 6px; }
.ff-campo label,
.ff-campo .ff-rotulo {
  font-size: .92rem; font-weight: 600; color: var(--cor-texto); line-height: 1.35;
}
.ff-campo .obrig { color: #c0392b; font-weight: 700; }
.ff-nota { font-size: .85rem; color: var(--cor-texto-suave); margin: -2px 0 2px; }

/* ---------- Opções Sim/Não (radio) ---------- */
.ff-radios { display: flex; gap: 10px; flex-wrap: wrap; }
.ff-radios.com-erro .ff-radio { border-color: #c0392b; }
.ff-campo .ff-radio {
  flex: 1 1 120px; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 16px; cursor: pointer;
  border: 1px solid var(--cor-borda); border-radius: 10px;
  font-size: 1rem; font-weight: 500; color: var(--cor-texto);
  transition: border-color .15s ease, background .15s ease;
}
.ff-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--cor-primaria); cursor: pointer; flex: none; }
.ff-radio:hover { background: var(--cor-fundo-alt); }
.ff-radio:has(input:checked) { border-color: var(--cor-primaria); background: rgba(22, 163, 74, .07); }
.ff-radio:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); }
.ff-campo input,
.ff-campo select,
.ff-campo textarea {
  font-family: inherit; font-size: 1rem; color: var(--cor-texto);
  padding: 13px 14px; width: 100%; background: #fff;
  border: 1px solid var(--cor-borda); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.ff-campo textarea { resize: vertical; min-height: 84px; }
.ff-campo select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b616e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
  padding-right: 40px;
}
.ff-campo input:focus,
.ff-campo select:focus,
.ff-campo textarea:focus {
  outline: none; border-color: var(--cor-primaria);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .15);
}
.ff-campo input.com-erro,
.ff-campo select.com-erro,
.ff-campo textarea.com-erro { border-color: #c0392b; }
.ff-erro { font-size: .84rem; color: #c0392b; }
.ff-erro:empty { display: none; }

/* ---------- Sugestão de correção do e-mail ---------- */
.ff-sugestao { font-size: .84rem; color: var(--cor-texto-suave); }
.ff-sugestao:empty { display: none; }
.ff-sug-btn {
  font: inherit; font-weight: 600; background: none; border: none; padding: 0;
  color: var(--cor-primaria); cursor: pointer; text-decoration: underline;
}

/* Armadilha anti-robô — invisível para pessoas, sem usar display:none */
.ff-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ff-aviso { font-size: .82rem; color: var(--cor-texto-suave); margin: 0; }
.ff-aviso a { color: var(--cor-primaria); }
.ff-enviar:disabled { opacity: .65; cursor: default; }
/* dentro da navegação quem manda é o flex, não a largura de 100% do .btn */
.ff-navegacao .btn { width: auto; min-width: 0; }
.ff-falha { margin: 0; font-size: .9rem; color: #c0392b; text-align: center; }
.ff-falha:empty { display: none; }
.ff-falha a { color: #c0392b; }

/* ---------- Tela de sucesso ---------- */
.ff-sucesso { text-align: center; padding: 12px 0; }
.ff-sucesso h2 { font-size: 1.5rem; margin-bottom: 12px; }
.ff-sucesso p { margin-bottom: 24px; }
.ff-check {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(22, 163, 74, .12); color: var(--cor-primaria);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 700;
}

@media (max-width: 600px) {
  .ff-overlay { padding: 0; }
  .ff-modal {
    max-width: none; border-radius: 0; padding: 56px 20px 32px;
    max-height: none; min-height: 100vh; min-height: 100dvh;
  }
  .ff-titulo { font-size: 1.35rem; }
}
