:root {
  --verde: #0f9d58;
  --verde-escuro: #0b7a43;
  --verde-claro: #e8f7ee;
  --escuro: #10241a;
  --texto: #1f2a24;
  --cinza: #5c6b63;
  --borda: #d8e5dd;
  --branco: #ffffff;
  --wa: #25d366;
  --radius: 14px;
  --max: 640px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Barra de voltar ---------- */

.voltar-bar {
  background: var(--escuro);
  padding: 12px 0 0;
}

.voltar-bar a {
  display: inline-block;
  padding: 6px 12px 6px 0;
  color: #8fdcb0;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Topo ---------- */

.topo {
  background: var(--escuro);
  color: var(--branco);
  padding: 28px 0 32px;
  text-align: center;
}

.topo .marca {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fdcb0;
  margin: 0 0 14px;
  font-weight: 700;
}

.topo h1 {
  font-size: 27px;
  line-height: 1.22;
  margin: 0 0 12px;
  font-weight: 800;
}

.topo h1 em {
  font-style: normal;
  color: #6fe3a1;
}

.topo p.sub {
  font-size: 17px;
  color: #c7d8ce;
  margin: 0;
}

/* ---------- Selos ---------- */

.selos {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
}

.selos li {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px 14px;
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  background: var(--branco);
}

.selos svg {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--verde-escuro);
}

.selos strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  color: var(--texto);
}

.selos span {
  display: block;
  font-size: 13px;
  color: var(--cinza);
}

@media (min-width: 560px) {
  .selos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Vídeo ---------- */

.video {
  background: var(--escuro);
  padding: 0 0 26px;
}

.video .wrap { max-width: 820px; }

.video-box {
  position: relative;
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Arquivo de vídeo: manda a proporção real dele (serve vertical, quadrado
   ou horizontal). Iframe não tem proporção intrínseca, então mantém o 16/9. */
.video-box:has(video) { aspect-ratio: auto; }

.video-box video {
  width: 100%;
  height: auto;
  /* Nunca estica além da resolução nativa do arquivo (hoje 720p = 1280px),
     senão a imagem borra. O container já limita a 820px no desktop. */
  max-width: 1280px;
  max-height: 78vh;
  border: 0;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.video-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-aviso {
  display: block;
  height: 100%;
  padding: 24px;
  text-align: center;
  color: #7d9188;
  font-size: 14px;
  line-height: 1.6;
  border: 2px dashed #2c463a;
  border-radius: var(--radius);
}

/* ---------- Blocos ---------- */

section { padding: 34px 0; }

section.claro { background: var(--verde-claro); }

h2 {
  font-size: 22px;
  line-height: 1.28;
  margin: 0 0 16px;
  font-weight: 800;
}

h3 {
  font-size: 17px;
  margin: 0 0 6px;
  font-weight: 700;
}

p { margin: 0 0 14px; }

.lead { font-size: 18px; }

ul.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

ul.checks li {
  position: relative;
  padding: 0 0 0 30px;
  margin-bottom: 11px;
}

ul.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 7px;
  height: 12px;
  border: solid var(--verde);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

ul.nots li::before {
  content: "\00d7";
  border: 0;
  transform: none;
  left: 2px;
  top: 0;
  width: auto;
  height: auto;
  color: #c0392b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Números ---------- */

.numeros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 20px;
}

.numeros div {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 16px 8px;
  text-align: center;
}

.numeros strong {
  display: block;
  font-size: 24px;
  color: var(--verde-escuro);
  line-height: 1.1;
}

.numeros span {
  font-size: 12px;
  color: var(--cinza);
}

/* ---------- Depoimentos ---------- */

.depoimentos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 8px;
}

.depoimentos figure {
  margin: 0;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
}

/* preload="metadata" + #t=0.5 no src: o navegador baixa só o suficiente
   para mostrar um quadro como capa, em vez dos ~20 MB do conjunto. */
/* Os depoimentos vêm em formatos diferentes (uns verticais, outros
   horizontais). Altura fixa + contain deixa a grade alinhada sem cortar
   rosto de ninguém. */
.depoimentos video {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  background: #000;
}

@media (min-width: 860px) {
  .depoimentos video { height: 360px; }
}

@media (min-width: 560px) {
  .depoimentos { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .depoimentos { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- FAQ ---------- */

details {
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--branco);
}

details summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  float: right;
  color: var(--verde);
  font-size: 22px;
  line-height: 1;
}

details[open] summary::after { content: "\2013"; }

details p { margin: 12px 0 0; color: var(--cinza); }

/* ---------- Formulário ---------- */

.form-card {
  background: var(--branco);
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: 0 6px 24px rgba(15, 157, 88, .12);
}

.form-card h2 { margin-bottom: 6px; }

.form-card .aviso {
  font-size: 14px;
  color: var(--cinza);
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 5px;
}

input[type=text],
input[type=tel],
select {
  width: 100%;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--texto);
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--branco);
  margin-bottom: 15px;
  appearance: none;
}

input:focus, select:focus {
  outline: 2px solid var(--verde);
  outline-offset: 1px;
  border-color: var(--verde);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--cinza);
  font-weight: 400;
  margin-bottom: 16px;
}

.consent input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; }

.btn {
  display: block;
  width: 100%;
  padding: 17px 18px;
  font-size: 17px;
  font-weight: 800;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  color: var(--branco);
  background: var(--wa);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  line-height: 1.25;
}

.btn:active { transform: translateY(1px); }

.btn.verde { background: var(--verde); }

.btn.vazado {
  background: var(--branco);
  color: var(--verde-escuro);
  border: 2px solid var(--verde);
}

.btn[disabled] { opacity: .55; cursor: default; }

.erro {
  color: #c0392b;
  font-size: 14px;
  margin: 0 0 12px;
  display: none;
}

/* ---------- Link na bio ---------- */

.bio {
  text-align: center;
  padding: 22px 0 26px;
}

.bio .foto {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--verde);
  background: var(--verde-claro);
}

.bio h1 { font-size: 23px; margin: 0 0 4px; }

.bio .cargo { color: var(--cinza); font-size: 15px; margin: 0 0 4px; }

.bio .id { color: var(--cinza); font-size: 13px; margin: 0 0 22px; }

.bio .btn { margin-bottom: 12px; }

.bio .btn small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
  margin-top: 3px;
}

.mais { margin-top: 24px; }

.mais summary {
  text-align: center;
  font-size: 15px;
  color: var(--verde-escuro);
}

.mais a {
  display: block;
  padding: 13px 6px;
  border-bottom: 1px solid var(--borda);
  color: var(--texto);
  text-decoration: none;
  font-size: 16px;
}

.mais a:last-child { border-bottom: 0; }

.mais a span { display: block; font-size: 13px; color: var(--cinza); }

/* ---------- Rodapé ---------- */

footer {
  background: var(--escuro);
  color: #9db3a7;
  font-size: 13px;
  padding: 26px 0 34px;
  text-align: center;
}

footer a { color: #8fdcb0; }

footer p { margin: 0 0 8px; }

/* ---------- Barra fixa ---------- */

.barra {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--borda);
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  z-index: 10;
}

.barra .btn { max-width: var(--max); margin: 0 auto; }

@media (min-width: 560px) {
  body { font-size: 18px; }
  .topo h1 { font-size: 33px; }
  h2 { font-size: 25px; }
}
