/* ============================================================
   DESPARASITAÇÃO — ADVERTORIAL 4 (estilo portal de notícias)
   Relato pessoal / matéria jornalística — mobile first
   ------------------------------------------------------------
   1. Variáveis  ← EDITE CORES E FONTES AQUI
   2. Reset / base
   3. Header do portal + breadcrumbs + selo advertorial
   4. Cabeçalho do artigo (categoria, título, subhead, byline)
   5. Figuras (hero e imagens do corpo)
   6. Corpo (parágrafos, h2, drop cap)
   7. Citação destacada / callout / pergunta em destaque
   8. Lista de riscos (✗)
   9. Grid dos 6 ingredientes (✓)
   10. Cards das duas fases
   11. Banner de conversão (imagem clicável)
   12. Botão CTA + CTA fixo (mobile)
   13. Fim do artigo (tags + disclaimer)
   14. Rodapé do portal
   15. Responsivo (telas maiores)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700;800&display=swap');

/* ---------- 1. VARIÁVEIS ---------- */
:root {
  /* portal (header / detalhes) */
  --portal:        #14425f;   /* azul petróleo do portal */
  --portal-dark:   #0d2d42;
  --portal-black:  #0f1416;
  --accent:        #c9a227;   /* dourado (detalhes)      */

  /* texto */
  --text-dark:     #1a1a1a;
  --text-mid:      #3d3d3d;
  --text-light:    #6b6b6b;

  /* fundos e bordas */
  --border:        #e6e6e6;
  --bg-light:      #f6f8f9;
  --bg-yellow:     #fff8e1;
  --border-yellow: #f0c945;
  --bg-red:        #fdf3f2;
  --red:           #c0392b;

  /* CTA (ação) */
  --cta:           #16a34a;
  --cta-dark:      #15803d;

  /* fontes */
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); line-height: 1.65; color: var(--text-dark);
  background: #eff1f2; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 3. HEADER + BREADCRUMBS + SELO ---------- */
.site-header { background: var(--portal); color: #fff; border-bottom: 4px solid var(--accent); }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: center; }
.logo { display: flex; align-items: baseline; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -.5px; line-height: 1; }
.logo-mark { background: #fff; color: var(--portal); padding: 4px 9px; border-radius: 3px; font-style: italic; }
.logo-name { color: #fff; margin-left: 5px; }

.page { background: #fff; }
main { max-width: 740px; margin: 0 auto; padding: 0 18px; background: #fff; }

.breadcrumbs { font-size: 12px; color: var(--text-light); padding: 14px 0 8px; text-transform: uppercase; letter-spacing: .4px; }
.breadcrumbs a:hover { color: var(--portal); }
.breadcrumbs span { margin: 0 6px; }

.adv-banner {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  background: #f3f3f3; border-left: 2px solid #999; padding: 4px 9px; margin: 8px 0 18px;
  font-size: 10px; color: #6a6a6a; text-transform: uppercase; letter-spacing: .4px;
  font-weight: 600; border-radius: 0 3px 3px 0;
}
.adv-banner-tag { background: #5a5a5a; color: #fff; padding: 2px 6px; border-radius: 2px; }

/* ---------- 4. CABEÇALHO DO ARTIGO ---------- */
.article-category {
  display: inline-block; background: var(--portal); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; padding: 5px 10px; margin-bottom: 14px;
}
.article-title {
  font-family: var(--serif); font-size: clamp(25px, 4.6vw, 34px); line-height: 1.22; font-weight: 700;
  color: var(--text-dark); margin-bottom: 14px; letter-spacing: -.4px;
}
.title-quote { color: var(--portal); }
.article-subhead {
  font-family: var(--serif); font-size: clamp(17px, 2.6vw, 20px); line-height: 1.5; font-weight: 400;
  color: var(--text-mid); margin-bottom: 22px; font-style: italic;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-light);
}
.meta-author { font-weight: 600; color: var(--text-dark); }
.meta-sep { color: #cfcfcf; }

/* ---------- 5. FIGURAS ---------- */
.article-figure { margin: 26px 0 20px; }
.article-figure-img {
  width: 100%; border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden; background: var(--bg-light);
}
.article-figure-img img { width: 100%; height: auto; }
.figure-caption {
  font-size: 12.5px; color: var(--text-light); font-style: italic; line-height: 1.5;
  padding: 2px 2px 0 10px; border-left: 3px solid var(--accent); margin-top: 10px;
}

/* ---------- 6. CORPO ---------- */
.article-body { font-size: 18px; line-height: 1.75; color: var(--text-dark); }
.article-body p { margin-bottom: 18px; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif); float: left; font-size: 58px; line-height: .85; font-weight: 700;
  color: var(--portal); padding: 6px 8px 0 0; margin-top: 4px;
}
.article-body strong { font-weight: 700; color: var(--text-dark); }
.article-body h2 {
  font-family: var(--serif); font-size: clamp(22px, 3.4vw, 27px); line-height: 1.28; font-weight: 700;
  color: var(--text-dark); margin: 34px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

/* parágrafo de uma palavra só (impacto) */
.lead-word strong { font-family: var(--serif); font-size: 26px; color: var(--portal); }

/* ---------- 7. CITAÇÃO / CALLOUT / PERGUNTA ---------- */
.highlight-quote {
  background: var(--bg-light); border-left: 4px solid var(--portal); padding: 18px 20px; margin: 24px 0;
  font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.6; color: var(--text-mid);
}
.highlight-quote::before {
  content: "\201C"; font-family: Georgia, serif; font-size: 48px; line-height: 0;
  vertical-align: -18px; color: var(--accent); margin-right: 4px;
}
.callout-yellow {
  background: var(--bg-yellow); border: 2px dashed var(--border-yellow); border-radius: 6px;
  padding: 14px 18px; margin: 22px 0; font-size: 16px; line-height: 1.55;
}
.callout-yellow strong { color: #8a6d00; }
.question-highlight {
  font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 600; font-style: italic;
  color: var(--portal); background: var(--bg-light); border-radius: 6px;
  padding: 16px 18px; margin: 4px 0 22px;
}

/* ---------- 8. LISTA DE RISCOS ---------- */
.risk-list { background: var(--bg-red); border-radius: 8px; padding: 16px 20px; margin: 18px 0 22px; }
.risk-list li {
  font-size: 16px; line-height: 1.6; padding-left: 30px; position: relative;
  margin-bottom: 10px; font-weight: 500;
}
.risk-list li:last-child { margin-bottom: 0; }
.risk-list li::before {
  content: "\2715"; position: absolute; left: 0; top: 1px; color: #fff; background: var(--red);
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 9. GRID DOS 6 INGREDIENTES ---------- */
.ingredients-grid { display: grid; gap: 10px; margin: 18px 0 24px; }
.ingredients-grid li {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-light); border: 1px solid var(--border); border-left: 4px solid var(--cta);
  border-radius: 0 8px 8px 0; padding: 12px 14px;
  font-size: 16px; font-weight: 600; color: var(--text-dark);
}
.ingredients-grid li::before {
  content: "\2713"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--cta); color: #fff; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 10. CARDS DAS DUAS FASES ---------- */
.phases { display: grid; gap: 14px; margin: 22px 0 24px; }
.phase-card {
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--portal);
  border-radius: 8px; padding: 16px 18px; font-size: 16px; line-height: 1.6; color: var(--text-mid);
  box-shadow: 0 2px 10px rgba(20,66,95,.06);
}
.phase-tag {
  display: inline-block; background: var(--portal); color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px; padding: 4px 9px; border-radius: 3px; margin-bottom: 10px;
}
.phase-card strong {
  display: block; font-family: var(--serif); font-size: 20px; color: var(--text-dark); margin-bottom: 6px;
}

/* ---------- 11. BANNER DE CONVERSÃO ---------- */
.cta-hint { text-align: center; font-size: 17px; margin-bottom: 14px !important; }
.conversion-banner {
  display: block; border-radius: 10px; overflow: hidden; margin: 6px 0 4px;
  border: 2px solid var(--accent); box-shadow: 0 8px 26px rgba(20,66,95,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.conversion-banner:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20,66,95,.26); }
.conversion-banner img { width: 100%; }
.conversion-banner-bar {
  display: block; background: var(--portal); color: #fff; text-align: center;
  font-size: 14px; font-weight: 700; letter-spacing: .2px; padding: 12px 14px;
}

/* ---------- 12. CTA ---------- */
.cta {
  display: block; width: 100%; margin: 20px auto 26px; padding: 17px 18px;
  background: var(--cta); color: #fff; font-size: 17px; font-weight: 800; text-align: center;
  text-transform: uppercase; border-radius: 20px; cursor: pointer; letter-spacing: .3px;
  line-height: 1.3; box-shadow: 0 4px 16px rgba(22,163,74,.3); transition: all .2s;
}
.cta:hover { background: var(--cta-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,.4); }
.cta:active { transform: translateY(0); }

/* CTA fixo (mobile) — aparece após o leitor avançar na matéria */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 18px rgba(0,0,0,.1);
  transform: translateY(110%); transition: transform .28s ease; pointer-events: none;
}
.sticky-cta.is-visible { transform: translateY(0); pointer-events: auto; }
.cta-sticky { margin: 0; padding: 15px 16px; font-size: 15.5px; box-shadow: none; }

/* ---------- 13. FIM DO ARTIGO ---------- */
.article-end { padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag-pill { background: #eee; color: var(--text-mid); padding: 5px 11px; border-radius: 14px; font-size: 12px; font-weight: 600; }
.legal-disclaimer {
  background: #fafafa; border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px;
  margin: 24px 0 20px; font-size: 11px; line-height: 1.55; color: var(--text-light);
}
.legal-disclaimer strong { color: var(--text-mid); }

/* ---------- 14. RODAPÉ ---------- */
.site-footer { background: var(--portal-black); color: #9a9a9a; padding: 36px 0 100px; margin-top: 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 16px; text-align: center; }
.footer-logo { display: inline-flex; align-items: baseline; font-family: var(--serif); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.footer-logo .logo-mark { background: #fff; color: var(--portal-black); padding: 3px 8px; border-radius: 3px; font-style: italic; }
.footer-logo .logo-name { color: #fff; margin-left: 5px; }
.footer-tagline { font-size: 13px; margin-bottom: 18px; color: #7a7a7a; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; margin-bottom: 16px; }
.footer-links a { color: #8a8a8a; transition: color .15s ease; }
.footer-links a:hover { color: #cfcfcf; text-decoration: underline; }
.footer-links .sep { color: #3a3a3a; }
.footer-company { font-size: 12px; color: #8a8a8a; margin-bottom: 16px; line-height: 1.7; }
.footer-company a { color: #8a8a8a; transition: color .15s ease; }
.footer-company a:hover { color: #cfcfcf; text-decoration: underline; }
.footer-aviso { font-size: 10.5px; color: #6f6f6f; margin-bottom: 10px; letter-spacing: .2px; }
.footer-copyright { font-size: 11px; color: #666; border-top: 1px solid #1f1f1f; padding-top: 14px; line-height: 1.6; }

/* ---------- 15. RESPONSIVO ---------- */
@media (max-width: 520px) {
  .article-body { font-size: 17px; }
  .article-body > p:first-of-type::first-letter { font-size: 48px; }
  .article-meta { font-size: 12px; }
  .question-highlight { font-size: 18px; }
}
@media (min-width: 600px) {
  .ingredients-grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .cta { max-width: 480px; }
  .sticky-cta { display: none; }   /* CTA fixo é só para mobile */
  .site-footer { padding-bottom: 18px; }
}
