/* Blog Monique Medeiros — página informativa sobre marcas de chocolate */
/* Esquema de cores NEUTRO (azul/cinza) — NÃO usa cores da Cacau Show */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --brand: #1e40af;
  --brand-dark: #1e3a8a;
  --brand-light: #3b82f6;
  --brand-soft: #dbeafe;
  --brand-border: #93c5fd;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --danger-border: #fecaca;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 2px 8px rgba(15,23,42,.08);
  --shadow-lg: 0 8px 30px rgba(15,23,42,.1);
  --max-prose: 44rem;
  --max-wide: 72rem;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--brand-light); text-decoration: none; }

::selection { background: var(--brand-soft); color: var(--brand-dark); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link {
  position: absolute; left: -9999px; z-index: 200;
  padding: .75rem 1.25rem; background: var(--surface); color: var(--brand);
  font-weight: 700; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 1.5rem; }

/* ===== DISCLAIMER BANNER (obrigatório Google Ads) ===== */
.disclaimer-banner {
  background: var(--danger);
  color: #fff;
  padding: .75rem 0;
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .01em;
  line-height: 1.4;
}
.disclaimer-banner a { color: #fde68a; font-weight: 700; }

/* ===== NAV BAR ===== */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-nav .nav-brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: -.01em;
}
.site-nav .nav-brand:hover { color: var(--brand); }
.site-nav .nav-brand small {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: .4rem .75rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.site-nav li a:hover { background: var(--brand-soft); color: var(--brand); }

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
  z-index: 1000; transition: width .1s linear;
}

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: .85rem 0 0; font-size: .8125rem; color: var(--text-secondary); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumb li::after { content: "/"; margin-left: .35rem; color: var(--border); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  position: relative;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 38rem;
}
.hero .lead {
  margin: 0 0 1.25rem;
  color: #dbeafedd;
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.6;
}
.hero .meta-line {
  font-size: .85rem;
  color: #93c5fdaa;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
}
.meta-line .dot { width: 4px; height: 4px; background: #93c5fd66; border-radius: 50%; }
.hero .publisher-tag {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .3rem .85rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  color: #dbeafe;
}

/* ===== DISCLAIMER CALLOUT (inline, repetido) ===== */
.disclaimer-box {
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem;
  background: var(--danger-soft);
  border: 1px solid var(--danger-border);
  border-left: 4px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: var(--max-prose);
  font-size: .925rem;
}
.disclaimer-box p { margin: 0 0 .5rem; }
.disclaimer-box p:last-child { margin: 0; }
.disclaimer-box strong { color: var(--danger); }

/* ===== HIGHLIGHTS ===== */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: -1.5rem 0 0;
  position: relative;
  z-index: 2;
}
.highlight-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}
.highlight-card .number { display: block; font-size: 1.65rem; font-weight: 800; color: var(--brand); line-height: 1.2; }
.highlight-card .label { display: block; font-size: .78rem; color: var(--text-secondary); margin-top: .2rem; }

/* ===== LAYOUT ===== */
.article-layout {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 3.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .article-layout { grid-template-columns: 1fr 15rem; }
}

/* ===== STICKY TOC ===== */
.toc-sidebar { display: none; }
@media (min-width: 960px) {
  .toc-sidebar { display: block; position: sticky; top: 4.5rem; }
}
.toc {
  padding: 1.25rem 1.35rem;
  background: var(--brand-soft);
  border-radius: var(--radius);
  border: 1px solid var(--brand-border);
}
.toc h2 { margin: 0 0 .65rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.15rem; }
.toc li { margin: .3rem 0; font-size: .875rem; }
.toc ol ol { margin: .15rem 0 .25rem; padding-left: 1rem; }
.toc ol ol li { font-size: .8rem; margin: .2rem 0; }
.toc ol ol a { font-weight: 500; color: var(--brand); }
.toc a { font-weight: 600; text-decoration: none; color: var(--brand-dark); transition: color var(--transition); }
.toc a:hover, .toc a.active { color: var(--brand-light); }

.toc-mobile { margin-bottom: 2rem; }
@media (min-width: 960px) { .toc-mobile { display: none; } }

/* ===== ARTICLE BODY ===== */
.article-body section { margin-bottom: 3rem; scroll-margin-top: 5rem; }
.article-body h2 {
  font-size: 1.4rem; font-weight: 700; margin: 0 0 1.1rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--border);
  color: var(--text); letter-spacing: -.01em;
}
.article-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .65rem; color: var(--brand-dark); }
.article-body p { margin: 0 0 1.05rem; max-width: var(--max-prose); }
.article-body ul, .article-body ol { margin: 0 0 1.05rem; padding-left: 1.35rem; max-width: var(--max-prose); }
.article-body li { margin: .4rem 0; }
.article-body li::marker { color: var(--brand); }

.callout {
  margin: 1.75rem 0; padding: 1.1rem 1.25rem;
  background: var(--surface); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
  max-width: var(--max-prose);
}
.callout p:last-child { margin-bottom: 0; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 2rem; margin: 1.75rem 0 0; max-width: var(--max-prose); }
.timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--brand-light), var(--brand-dark)); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: .55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--brand); }
.timeline-item .year { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: var(--brand); padding: .15rem .55rem; border-radius: 4px; margin-bottom: .35rem; }
.timeline-item p { margin: 0; font-size: .95rem; color: var(--text-secondary); }

/* ===== PRODUCT CATEGORY CARDS ===== */
.product-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; margin: 1.75rem 0 0;
}
.cat-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat-card .cat-icon { font-size: 2rem; margin-bottom: .65rem; line-height: 1; }
.cat-card h3 { margin: 0 0 .45rem; font-size: 1.05rem; color: var(--text); }
.cat-card p { margin: 0; font-size: .9rem; color: var(--text-secondary); line-height: 1.5; }

/* ===== CATALOG SECTION TITLES ===== */
.catalog-section-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  margin: 2.5rem 0 .5rem; padding: .5rem 0 .35rem;
  border-bottom: none; display: flex; align-items: center; gap: .65rem;
}
.catalog-section-title::before {
  content: ''; width: 4px; height: 1.3em;
  background: var(--brand); border-radius: 2px; flex-shrink: 0;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem; margin: 1rem 0 0;
}
.product-card {
  display: flex; background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-card__image {
  position: relative; flex-shrink: 0; width: 150px; min-height: 150px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: .5rem; overflow: hidden;
}
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__badge {
  position: absolute; top: .5rem; left: .5rem;
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand-dark); background: var(--brand-soft);
  padding: .2rem .5rem; border-radius: 4px; line-height: 1.3;
}
.product-card__info { flex: 1; padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: center; }
.product-card__info h4 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.product-card__info p { margin: 0; font-size: .85rem; color: var(--text-secondary); line-height: 1.55; }
.product-card__credit { font-size: .7rem; color: #94a3b8; margin-top: .4rem; font-style: italic; }

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .product-card__image { width: 100%; height: 180px; min-height: auto; }
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: #fff; border-radius: var(--radius); padding: 2rem;
  margin: 2rem 0; text-align: center; max-width: var(--max-prose);
}
.cta-block h3 { margin: 0 0 .65rem; font-size: 1.2rem; font-weight: 700; }
.cta-block p { margin: 0 0 1.15rem; color: #dbeafedd; }
.cta-btn {
  display: inline-block; padding: .75rem 2rem;
  background: #fff; color: var(--brand-dark) !important;
  font-weight: 700; font-size: .95rem; border-radius: var(--radius-sm);
  text-decoration: none; transition: background var(--transition), transform var(--transition);
  box-shadow: 0 2px 10px rgba(30,64,175,.2);
}
.cta-btn:hover { background: #f0f9ff; transform: translateY(-1px); }

/* ===== FAQ ===== */
.faq-list { max-width: var(--max-prose); }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .75rem; background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 1rem 1.25rem; font-weight: 600; font-size: .975rem;
  cursor: pointer; list-style: none; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--text); transition: background var(--transition);
}
.faq-item summary:hover { background: var(--border-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.25rem; font-weight: 400;
  color: var(--brand); transition: transform var(--transition);
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.25rem 1.15rem; font-size: .925rem; color: var(--text-secondary); line-height: 1.6; }
.faq-item .faq-answer p { margin: 0 0 .75rem; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0f172a; color: #94a3b8; padding: 3rem 0 2rem; font-size: .875rem;
}
.site-footer a { color: #93c5fd; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h2 { margin: 0 0 .65rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; font-weight: 700; }
.site-footer p { margin: 0 0 .65rem; line-height: 1.6; }

.publisher-block {
  background: #1e293b; border-radius: var(--radius-sm); padding: 1.15rem; margin-top: .5rem;
}
.publisher-block strong { color: #e2e8f0; }

.legal-block {
  padding-top: 1.75rem; margin-top: .75rem;
  border-top: 1px solid #1e293b; grid-column: 1 / -1;
  font-size: .8rem; color: #64748b;
}
.legal-block strong { color: #94a3b8; }

.official-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .75rem;
  padding: .6rem 1.25rem; background: var(--brand); color: #fff !important;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.official-link:hover { background: var(--brand-light); transform: translateY(-1px); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none;
  font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 50; display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .hero { padding: 2.25rem 0 1.75rem; }
  .hero h1 { font-size: 1.5rem; }
  .highlights { margin-top: -1.15rem; grid-template-columns: 1fr 1fr; }
  .product-categories { grid-template-columns: 1fr; }
  .cta-block { padding: 1.5rem 1.25rem; }
  .site-nav ul { gap: .1rem; }
  .site-nav a { padding: .35rem .5rem; font-size: .75rem; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}
@media (max-width: 380px) { .highlights { grid-template-columns: 1fr; } }
