/* ============================================================
   7 Dias de Jejum Comigo — advertorial

   Formato de CARTA, não de landing page:
   - coluna única estreita
   - tipografia grande (o corpo é 21px, não 16px)
   - imagem quebrando o texto a cada bloco
   - quase nenhum enfeite: o texto é o design
   ============================================================ */

:root {
  --paper:   #FFFFFF;
  --paper-2: #F6F4F0;
  --ink:     #16181A;
  --ink-2:   #2E3236;
  --muted:   #6C7278;
  --line:    #E3E1DC;

  --go:      #12803C;
  --go-dk:   #0C6630;
  --go-sf:   #E8F5EC;

  --warn:    #FFF8E7;
  --warn-ln: #E9CD93;
  --warn-tx: #7A5A12;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --col: 660px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

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

/* ------------------------------------------------------------
   BARRA DE PRAZO
   ------------------------------------------------------------ */

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 60;
}
.topbar__in {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.topbar b {
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.14);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   A CARTA
   ------------------------------------------------------------ */

.letter {
  max-width: var(--col);
  margin: 0 auto;
  padding: 40px 22px 60px;
}

.kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--go);
  margin: 0 0 18px;
}

/* Tipografia grande, como no advertorial de referência.
   Títulos não são muito maiores que o corpo — o corpo é que é grande. */

h1 {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

h2 {
  font-size: 28px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 52px 0 22px;
}

h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 8px;
}

.letter p { margin: 0 0 22px; color: var(--ink-2); }
.letter p b { color: var(--ink); font-weight: 600; }
.letter i { font-style: italic; }

/* a frase que carrega o peso do bloco */
.big {
  font-size: 26px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--ink) !important;
  margin: 0 0 24px !important;
  letter-spacing: -0.01em;
}

@media (min-width: 720px) {
  body { font-size: 22px; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; margin-top: 64px; }
  .big { font-size: 29px; }
  .letter { padding: 56px 22px 72px; }
}

/* ------------------------------------------------------------
   IMAGENS
   Se o arquivo não existir, o JS esconde a figure inteira.
   A página publica limpa mesmo sem nenhuma foto.
   ------------------------------------------------------------ */

.fig {
  margin: 34px 0;
  background: var(--paper-2);
  border-radius: 10px;
  overflow: hidden;
}
.fig img { width: 100%; }
.fig figcaption {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
  padding: 12px 14px;
  background: var(--paper-2);
}
.fig--sign { background: none; margin: 26px 0 6px; }
.fig--sign img { max-width: 240px; }

.signoff {
  font-size: 19px !important;
  font-weight: 600;
  color: var(--ink) !important;
  margin: 0 0 34px !important;
}

/* prints de comentário */
.prints {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 30px 0 36px;
}
@media (min-width: 620px) {
  .prints { grid-template-columns: 1fr 1fr; }
}
.print {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-2);
}
.print img { width: 100%; }

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */

.cta { margin: 36px 0 44px; text-align: center; }

.btn {
  display: inline-block;
  background: var(--go);
  color: #fff;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  padding: 20px 30px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 3px 0 var(--go-dk);
  transition: background 0.15s ease, transform 0.1s ease;
  line-height: 1.25;
  max-width: 100%;
}
.btn:hover { background: var(--go-dk); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--go-dk); }

.btn--full { display: block; width: 100%; }
.btn--sm { font-size: 16px; padding: 13px 18px; box-shadow: 0 2px 0 var(--go-dk); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: none;
  font-weight: 600;
  font-size: 17px;
  padding: 15px 24px;
}
.btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn--ghost:active { transform: none; box-shadow: none; }

.cta__note {
  font-size: 15px !important;
  color: var(--muted) !important;
  margin: 14px 0 0 !important;
  line-height: 1.45;
}
.inline-link { color: var(--go-dk); font-weight: 600; }

/* ------------------------------------------------------------
   AVISOS
   ------------------------------------------------------------ */

.notice {
  background: var(--warn);
  border: 1px solid var(--warn-ln);
  border-radius: 10px;
  padding: 24px 22px 8px;
  margin: 40px 0;
  font-size: 19px;
}
.notice p { color: var(--warn-tx) !important; margin-bottom: 16px !important; }
.notice p b { color: #5C4308 !important; }
.notice__title {
  font-size: 21px !important;
  font-weight: 700;
  color: #5C4308 !important;
}
.notice ul { margin: 0 0 16px; padding-left: 24px; color: var(--warn-tx); }
.notice li { margin-bottom: 8px; }
.notice--strong { border-width: 2px; margin: 52px 0; }

/* ------------------------------------------------------------
   PASSOS
   ------------------------------------------------------------ */

.steps { list-style: none; padding: 0; margin: 0 0 26px; }
.steps li {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--go-sf);
  color: var(--go-dk);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.steps li p { font-size: 19px; margin: 0 !important; }

/* ------------------------------------------------------------
   EXCLUSÃO ESTRATÉGICA
   ------------------------------------------------------------ */

.nots {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0 0 26px;
  border-left: 4px solid var(--go);
}
.nots li {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

/* ------------------------------------------------------------
   CAIXAS DE CONTEÚDO
   ------------------------------------------------------------ */

.box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px 8px;
  margin: 0 0 20px;
}
.box__label {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--go-dk) !important;
  margin-bottom: 10px !important;
}
.box p { font-size: 19px; }

.checks { list-style: none; padding: 0; margin: 0 0 18px; }
.checks li {
  position: relative;
  padding: 0 0 12px 32px;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.45em;
  width: 13px; height: 7px;
  border-left: 3px solid var(--go);
  border-bottom: 3px solid var(--go);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------
   PREÇO
   ------------------------------------------------------------ */

.price {
  border: 2px solid var(--go);
  border-radius: 12px;
  padding: 24px 22px;
  margin: 30px 0 18px;
}
.price--alt { border: 1px solid var(--line); }

.price__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.price__name {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 0 0 4px !important;
}
.price__desc {
  font-size: 16px !important;
  color: var(--muted) !important;
  margin: 0 !important;
  line-height: 1.4;
}
.price__val {
  font-size: 36px !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 0 !important;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.price__deadline {
  font-size: 15px !important;
  color: var(--go-dk) !important;
  font-weight: 500;
  margin: 14px 0 0 !important;
  line-height: 1.45;
}

.fineprint {
  font-size: 16px !important;
  color: var(--muted) !important;
  line-height: 1.5;
}

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

.faq { border-top: 1px solid var(--line); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 38px 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 16px;
  font-size: 28px;
  font-weight: 400;
  color: var(--go);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  font-size: 19px !important;
  margin: 0 0 22px !important;
  padding-right: 12px;
}

/* ------------------------------------------------------------
   RODAPÉ
   ------------------------------------------------------------ */

.foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 44px 0 60px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.foot__in { max-width: var(--col); margin: 0 auto; padding: 0 22px; }
.foot__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.foot p { margin: 0 0 12px; }
.foot b { color: var(--ink-2); }
.foot a { color: var(--go-dk); }
.foot hr { border: none; border-top: 1px solid var(--line); margin: 22px 0; }

/* ------------------------------------------------------------
   CTA FIXO
   ------------------------------------------------------------ */

.dock {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 70;
  transform: translateY(130%);
  transition: transform 0.25s ease;
}
.dock.on { transform: translateY(0); }
.dock__in {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.dock__txt { display: flex; flex-direction: column; line-height: 1.2; }
.dock__txt b { font-size: 20px; font-weight: 700; color: var(--ink); }
.dock__txt span { font-size: 13px; color: var(--go-dk); font-weight: 500; }

/* ------------------------------------------------------------
   ACESSIBILIDADE
   ------------------------------------------------------------ */

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--go);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
