/*
Theme Name: Oral Care Report
Theme URI: https://theoralcarereport.com
Author: The Oral Care Report
Description: Tema clássico próprio para theoralcarereport.com. Editorial de oral care com verdict box, quick facts e schema Product nas money pages. Sem page builder, sem plugins de SEO pesados.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: oral-care-report
*/

/* ==========================================================================
   Design tokens — aprovado por escrito no CLAUDE.md §9.1 em 20/07/2026.
   Não alterar sem confirmar de novo.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f7fafa;
  --text: #1e2a2b;
  --text-muted: #5c6b6c;
  --primary: #0e7c7b;
  --primary-dark: #0a5f5e;
  --primary-tint: #e5f2f1;
  --primary-tint-strong: #d1e9e7;
  --accent: #e8604c;
  --accent-dark: #cf4a37;
  --border: #dfe7e6;
  --border-strong: #c7d3d2;
  --shadow: 0 10px 24px -12px rgba(14, 124, 123, 0.28);
  --shadow-accent: 0 8px 18px -6px rgba(232, 96, 76, 0.45);
  --radius-s: 4px;
  --radius-m: 8px;
  --max-w: 720px;
  --max-w-wide: 1000px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  text-wrap: balance;
  margin: 0 0 0.5em;
  color: var(--text);
}
table { font-variant-numeric: tabular-nums; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.wordmark span { color: var(--primary); }
.tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
  margin-top: 2px;
}
.site-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--primary); }
.site-nav .current-menu-item > a,
.site-nav a.current {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  padding: 8px 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 12px; padding: 16px 0 4px; }
}

/* ==========================================================================
   Article shell
   ========================================================================== */

main.site-main { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 80px; }
main.site-main.wide { max-width: var(--max-w-wide); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-decoration: none;
}
.article-title { font-size: 34px; line-height: 1.18; margin-bottom: 0; }
.byline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.byline .avatar,
blockquote.claire .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  flex-shrink: 0;
  overflow: hidden;
}
.byline .avatar img, blockquote.claire .avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline a { color: var(--text); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--primary); }

.disclosure {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 10px 14px;
}
.disclosure a { color: var(--text-muted); text-decoration: underline; }

.featured-image {
  margin-top: 24px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.featured-image img { width: 100%; height: auto; display: block; }

.page-featured-image img { display: block; }

.health-disclaimer {
  margin-top: 40px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ==========================================================================
   Post content typography (satellite articles)
   ========================================================================== */

.entry-content { margin-top: 24px; }
.entry-content h2 { font-size: 24px; margin-top: 48px; margin-bottom: 16px; }
.entry-content h3 { font-size: 18px; margin-top: 28px; margin-bottom: 10px; }
.entry-content p { margin: 14px 0; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin: 6px 0; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--primary); }
.entry-content strong { font-weight: 700; }
.entry-content blockquote:not(.claire):not(.verdict) {
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--border-strong);
  color: var(--text-muted);
  font-style: italic;
}
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-s); margin: 20px 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content table th, .entry-content table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); }
.entry-content table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.entry-content table tbody tr:nth-child(odd) { background: var(--bg-alt); }

/* ==========================================================================
   Verdict box (money pages)
   ========================================================================== */

.verdict {
  margin-top: 32px;
  background: var(--bg-alt);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: 28px 28px 26px;
  box-shadow: var(--shadow);
}
.verdict-head { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.verdict-rating {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 0.9;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}
.verdict-rating small {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 2px;
}
.verdict-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-muted);
}
.verdict-bar {
  height: 6px; flex: 1; min-width: 160px; max-width: 220px;
  background: var(--primary-tint-strong); border-radius: 999px; overflow: hidden;
}
.verdict-bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
.verdict p.lede { margin: 18px 0 0; font-size: 17px; }
.verdict-fit { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.verdict-fit li { display: flex; gap: 10px; font-size: 15px; }
.verdict-fit li::before {
  content: ""; width: 6px; height: 6px; margin-top: 8px;
  background: var(--primary); border-radius: 50%; flex-shrink: 0;
}
.verdict-fit li.skip::before { background: var(--accent); }

.cta-wrap { margin-top: 22px; }
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  padding: 13px 26px;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-accent);
  transition: transform 0.15s ease, background 0.15s ease;
}
.cta-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cta-micro { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); letter-spacing: 0.02em; }

/* ==========================================================================
   Pros / cons ledger
   ========================================================================== */

.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.ledger-col h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 10px;
}
.ledger-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ledger-col li { display: flex; gap: 10px; font-size: 15px; margin: 0; }
.mark { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.pros .mark { color: var(--primary); }
.cons .mark { color: var(--accent); }
@media (max-width: 560px) { .ledger { grid-template-columns: 1fr; } }

/* ==========================================================================
   Claire pull-quote
   ========================================================================== */

blockquote.claire {
  margin: 36px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
blockquote.claire p {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
}
blockquote.claire cite {
  display: block; margin-top: 8px;
  font-family: "Inter", sans-serif; font-style: normal;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}

/* ==========================================================================
   FAQ accordion (native details/summary, zero JS)
   ========================================================================== */

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 16px 4px; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; background: var(--primary);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; transition: transform 0.15s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { padding: 0 4px 18px; color: var(--text-muted); margin: 0; }

/* ==========================================================================
   Quick facts table (money pages — same visual language as entry table)
   ========================================================================== */

table.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
table.facts th, table.facts td { text-align: left; padding: 11px 16px; }
table.facts thead th {
  background: var(--primary); color: #fff; font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
}
table.facts tbody tr:nth-child(odd) { background: var(--bg-alt); }
table.facts tbody th { font-weight: 600; color: var(--text-muted); width: 40%; }

/* ==========================================================================
   Home page
   ========================================================================== */

.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px;
  text-align: center;
}
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero h1 { font-size: 38px; line-height: 1.15; }
.hero p.sub { font-size: 17px; color: var(--text-muted); margin-top: 12px; }
.hero-search {
  margin-top: 26px; display: flex; gap: 8px; justify-content: center;
}
.hero-search input[type="search"] {
  flex: 1; max-width: 360px; padding: 12px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-m);
  font-family: "Inter", sans-serif; font-size: 15px; background: var(--bg);
  color: var(--text);
}
.hero-search button {
  padding: 12px 20px; border: none; border-radius: var(--radius-m);
  background: var(--primary); color: #fff; font-weight: 700; font-size: 15px;
  cursor: pointer;
}
.hero-search button:hover { background: var(--primary-dark); }

.section-heading {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 56px 0 20px; gap: 16px; flex-wrap: wrap;
}
.section-heading h2 { font-size: 24px; margin: 0; }
.section-heading a { font-size: 14px; font-weight: 600; text-decoration: none; }

.review-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .review-cards { grid-template-columns: 1fr; } }
.review-card {
  border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 22px; background: var(--bg); display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--text);
}
.review-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.review-card .rc-rating {
  font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 28px; color: var(--primary-dark);
}
.review-card h3 { font-size: 19px; margin: 0; }
.review-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

.article-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }
.article-card { text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 8px; }
.article-card .thumb {
  aspect-ratio: 4/3; background: var(--bg-alt); border-radius: var(--radius-s);
  border: 1px solid var(--border); overflow: hidden;
}
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card .cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--primary); }
.article-card h3 { font-size: 16px; line-height: 1.35; margin: 0; }

.about-block {
  margin: 60px auto 0; max-width: var(--max-w); display: flex; gap: 20px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 24px;
}
.about-block .avatar-lg {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.about-block .avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.about-block p { margin: 0 0 8px; font-size: 15px; color: var(--text-muted); }
.about-block a { font-weight: 600; font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); margin-top: 60px; }
.footer-inner {
  max-width: var(--max-w-wide); margin: 0 auto; padding: 32px 24px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

/* ==========================================================================
   404
   ========================================================================== */

.error-404 { text-align: center; padding: 80px 24px; }
.error-404 h1 { font-size: 88px; color: var(--primary-tint-strong); margin-bottom: 0; }
