/* ============================================================================
   Esporte Tênis — design system em CSS próprio (spec 004)
   Tokens espelham DESIGN.md; sem framework, sem sombras, dark via data-theme.
   ========================================================================== */

/* ---------- Fontes (self-hosted, subsets latin/latin-ext) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/static/fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #f9f9f9;
  --surface-2: #f2f2f2;
  --ink: #242424;
  --ink-secondary: #6b6b6b;
  --ink-muted: #767676; /* 4.5:1 sobre branco (WCAG AA para texto pequeno) */
  --border: #e6e6e6;
  --border-strong: #d4d4d4;
  --btn-primary: #191919;
  --btn-primary-ink: #ffffff;
  --accent: #faf34e;
  --accent-ink: #1f1e0d;
  --accent-soft: #fefad8;
  --success: #1a8917;
  --success-soft: #edf7ed;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --font-serif: "Source Serif 4", georgia, "Times New Roman", serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #191919;
  --surface: #242424;
  --surface-2: #2e2e2e;
  --ink: #f2f2f2;
  --ink-secondary: #a3a3a3;
  --ink-muted: #8a8a8a; /* 5:1 sobre #191919 */
  --border: #333333;
  --border-strong: #4d4d4d;
  --btn-primary: #f2f2f2;
  --btn-primary-ink: #191919;
  --accent-soft: #2a2718;
  --success: #4ade80;
  --success-soft: #1b2e1c;
  --danger: #f87171;
  --danger-soft: #2e1a1a;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 45%, transparent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--btn-primary); color: var(--btn-primary-ink);
  padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1232px; margin-inline: auto; padding-inline: 20px; }
.article-container { width: 100%; max-width: 720px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.header-inner { min-height: 64px; display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; flex-shrink: 0; }
.logo-svg { display: block; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--ink-secondary); }
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.search {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; width: 220px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg); color: var(--ink-muted);
}
.search:focus-within { border-color: var(--ink-muted); }
.search-input {
  border: 0; outline: none; background: transparent; width: 100%;
  font: inherit; font-size: 14px; color: var(--ink);
}
.search-input::placeholder { color: var(--ink-muted); }
.search-large { width: min(100%, 720px); height: 52px; padding: 12px 20px; }
.search-large .search-input { font-size: 16px; }

.icon-button {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.icon-button:hover { border-color: var(--border-strong); }
.icon-button .icon { display: block; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: inline-flex; }

.header-search-toggle, .header-menu-toggle, .header-search-row { display: none; }
header[data-search-open] .header-search-row { display: block; }
.header-search-row { padding: 12px 0; border-top: 1px solid var(--border); }
.header-search-row .search { width: 100%; }

/* ---------- Menu overlay ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; }
.menu-overlay[hidden] { display: none; }
.menu-inner { display: flex; flex-direction: column; min-height: 100%; padding: 20px 24px 24px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-nav { display: flex; flex-direction: column; gap: 4px; padding: 32px 0; }
.menu-link { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.3; }
.menu-link:hover { color: var(--ink-secondary); }
.menu-footer {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.menu-social { display: flex; gap: 20px; }
.social-link { font-size: 14px; font-weight: 600; color: var(--ink-secondary); }
.social-link:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 64px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding: 48px 0; }
.footer-brand { max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.footer-columns { display: flex; gap: 64px; }
.footer-column { display: flex; flex-direction: column; gap: 12px; }
.footer-title { font-size: 13px; font-weight: 700; }
.footer-link { font-size: 14px; color: var(--ink-secondary); }
.footer-link:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.footer-copy { font-size: 13px; color: var(--ink-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal .footer-link { font-size: 13px; }

/* ---------- Botões ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.button-primary { background: var(--btn-primary); color: var(--btn-primary-ink); }
.button-secondary { border-color: var(--border-strong); color: var(--ink); background: transparent; }
.button:hover { opacity: 0.88; }
.button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- Tipografia / blocos ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ink-muted);
}
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-title { font-size: 22px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.accent-bar { width: 14px; height: 3px; border-radius: 2px; background: var(--accent); display: inline-block; }
.section-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink-secondary);
}
.section-action:hover { color: var(--ink); }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }
.page-header { display: flex; flex-direction: column; gap: 12px; }
.page-title { font-family: var(--font-serif); font-size: 40px; line-height: 1.15; font-weight: 600; }
.page-desc { font-size: 16px; line-height: 1.5; color: var(--ink-secondary); }
.page-count, .page-meta { font-size: 13px; color: var(--ink-muted); }

.badge-category { display: inline-flex; align-items: center; gap: 8px; }
.badge-bar { width: 12px; height: 3px; border-radius: 2px; background: var(--accent); }
.badge-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.tag-pill {
  display: inline-flex; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); font-size: 13px; font-weight: 500;
  color: var(--ink-secondary);
}
.tag-pill:hover { color: var(--ink); border-color: var(--border-strong); }

/* ---------- Meta / avatar ---------- */
.meta-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-secondary); }
.meta-author { font-weight: 500; color: var(--ink-secondary); }
.meta-dot { color: var(--ink-muted); }
.meta-date { color: var(--ink-muted); }
.avatar {
  width: 20px; height: 20px; border-radius: 999px; flex-shrink: 0;
  background: var(--surface-2); color: var(--ink-secondary);
  font-size: 8px; font-weight: 700; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.meta-row-full { font-size: 14px; gap: 10px; }
.meta-row-full .avatar { width: 32px; height: 32px; font-size: 11px; }
.meta-row-full .meta-author { color: var(--ink); font-weight: 600; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card-media { display: block; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.card-title a:hover { color: var(--ink-secondary); }
.card-excerpt { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }

.card-featured { display: flex; gap: 16px; min-width: 0; }
.card-featured-media {
  flex: 0 0 88px; width: 88px; height: 88px;
  border-radius: 4px; overflow: hidden; background: var(--surface-2);
}
.card-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.card-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.card-featured-title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.card-featured-title a:hover { color: var(--ink-secondary); }
.card-featured-date { font-size: 12px; color: var(--ink-muted); }

/* ---------- Top story (home) ---------- */
.top-story {
  display: flex; align-items: center; gap: 32px;
  padding: 24px; border: 1px solid var(--border); border-radius: 8px;
}
.top-story-content { display: flex; flex-direction: column; gap: 14px; flex: 1; min-width: 0; }
.top-story-title { font-family: var(--font-serif); font-size: 32px; line-height: 1.2; font-weight: 600; }
.top-story-title a:hover { color: var(--ink-secondary); }
.top-story-excerpt { font-size: 16px; line-height: 1.5; color: var(--ink-secondary); }
.top-story-media {
  flex: 0 0 400px; max-width: 400px; border-radius: 4px;
  overflow: hidden; background: var(--surface-2);
}
.top-story-media img { width: 100%; height: 250px; object-fit: cover; }

/* ---------- Home ---------- */
.home > .container { padding-block: 48px; display: flex; flex-direction: column; gap: 48px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 376px; gap: 32px; }
.home-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.home-main .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.featured-list { display: flex; flex-direction: column; gap: 24px; }
.sidebar-links { display: flex; flex-direction: column; }
.sidebar-link {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; font-weight: 500; color: var(--ink-secondary);
}
.sidebar-link:hover { color: var(--ink); }

/* ---------- Arquivo / busca ---------- */
.archive > .container, .search-page > .container {
  display: flex; flex-direction: column; gap: 40px; padding-block: 40px;
}
.search-summary { font-size: 14px; color: var(--ink-secondary); }
.suggestions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.suggestions-label { font-size: 14px; font-weight: 600; }
.suggestions-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.load-more { display: flex; justify-content: center; }

/* ---------- Artigo ---------- */
.article-page { padding-top: 48px; }
.article-page > .article-container { display: flex; flex-direction: column; gap: 28px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-secondary); }
.breadcrumbs a:hover { color: var(--ink); }
.crumb-sep, .crumb-current { color: var(--ink-muted); }
.crumb-current { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.article-title { font-family: var(--font-serif); font-size: 42px; line-height: 1.15; font-weight: 600; }
.article-lead { font-family: var(--font-serif); font-size: 21px; line-height: 1.5; color: var(--ink-secondary); }
.article-actions {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.hero-figure { display: flex; flex-direction: column; gap: 10px; }
.hero-figure img { width: 100%; border-radius: 4px; }
.hero-figure figcaption { font-size: 13px; line-height: 1.5; color: var(--ink-muted); text-align: center; }
.figure-credit { color: var(--ink-muted); }

.prose { font-family: var(--font-serif); font-size: 19px; line-height: 1.65; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 28px; line-height: 1.25; font-weight: 600; margin-top: 1.7em; }
.prose h3 { font-size: 22px; line-height: 1.3; font-weight: 600; margin-top: 1.6em; }
.prose h4 { font-family: var(--font-ui); font-size: 17px; font-weight: 700; margin-top: 1.5em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink-secondary); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--ink-secondary); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  font-size: 24px; line-height: 1.4; font-style: italic;
}
.prose blockquote p { margin: 0; }
.prose blockquote footer, .prose blockquote cite { font-family: var(--font-ui); font-size: 14px; font-style: normal; color: var(--ink-muted); }
.prose img { border-radius: 4px; margin-inline: auto; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-family: var(--font-ui); font-size: 15px; }
.prose thead th {
  padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--ink-muted); text-align: left;
}
.prose tbody td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border); color: var(--ink-secondary); }
.prose tbody td:first-child { color: var(--ink); font-weight: 500; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em; background: var(--surface-2);
  padding: 2px 6px; border-radius: 4px;
}
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose del { color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq-title { font-family: var(--font-serif); font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { display: inline-flex; color: var(--ink-muted); }
.faq-icon-open { display: none; }
details[open] .faq-icon-closed { display: none; }
details[open] .faq-icon-open { display: inline-flex; }
.faq-answer { padding-bottom: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-secondary); }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 0.8em; }

/* ---------- Tags / share / callout ---------- */
.tags { display: flex; flex-direction: column; gap: 10px; }
.tags-title { font-size: 13px; font-weight: 700; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-block { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.share-title { font-size: 18px; font-weight: 700; }
.callout {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid var(--accent);
  color: var(--accent-ink);
}
[data-theme="dark"] .callout { color: var(--ink); }
.callout-title { font-size: 16px; font-weight: 700; }
.related { display: flex; flex-direction: column; gap: 24px; padding-top: 64px; }

/* ---------- Institucional / 404 ---------- */
.institution > .container, .notfound > .container {
  display: flex; flex-direction: column; gap: 24px; padding-block: 40px;
}
.institution > .container { gap: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-secondary); }
.back-link:hover { color: var(--ink); }
.institution-note { font-size: 14px; color: var(--ink-secondary); }
.notfound > .container { align-items: center; text-align: center; padding-block: 96px; gap: 16px; }
.notfound-title { font-family: var(--font-serif); font-size: 48px; line-height: 1.1; font-weight: 600; }
.notfound-text { max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-secondary); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 12px; }
.notfound-tip { font-size: 14px; color: var(--ink-muted); }

/* ---------- Estados ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 48px 0; }
.empty-icon {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink-muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.empty-title { font-size: 20px; font-weight: 700; }
.empty-text { max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.banner {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
}
.banner-success { background: var(--success-soft); color: var(--success); }
.banner-error { background: var(--danger-soft); color: var(--danger); }

/* ---------- Newsletter ---------- */
.newsletter > .container {
  display: flex; flex-direction: column; align-items: center;
  gap: 40px; padding-block: 56px;
}
.newsletter-hero { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 680px; }
.hero-icon {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.newsletter-title { font-family: var(--font-serif); font-size: 40px; line-height: 1.15; font-weight: 600; }
.newsletter-subtitle { font-size: 17px; line-height: 1.5; color: var(--ink-secondary); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; width: 100%; }
.benefit-card {
  display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--border); border-radius: 8px; padding: 24px;
}
.benefit-icon {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-title { font-size: 16px; font-weight: 700; }
.benefit-text { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.newsletter-panel {
  width: 100%; max-width: 560px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 36px;
}
.panel-title { font-size: 22px; font-weight: 700; }
.panel-desc { font-size: 15px; color: var(--ink-secondary); text-align: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; font-weight: 600; }
.field-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--ink);
  font: inherit; font-size: 15px;
}
.field-input::placeholder { color: var(--ink-muted); }
.field-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.newsletter-submit { width: 100%; }
.form-fine-print { font-size: 12px; line-height: 1.5; color: var(--ink-secondary); text-align: center; }
.newsletter-faq { width: 100%; max-width: 680px; }

/* ---------- Favoritos ---------- */
.favorites > .container { display: flex; flex-direction: column; gap: 32px; padding-block: 40px; }
.article-actions-buttons { display: flex; align-items: center; gap: 8px; }
.favorite-button.is-favorite { color: #e5484d; border-color: #e5484d; }
.favorite-button.is-favorite .icon { fill: #e5484d; stroke: #e5484d; }

/* ---------- Jogos de hoje ---------- */
.matches-page > .container { display: flex; flex-direction: column; gap: 40px; padding-block: 40px; }
.matches-page .page-desc { max-width: 720px; }
.matches-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.match-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--border); border-radius: 8px; padding: 20px;
}
.match-header { display: flex; flex-direction: column; gap: 4px; }
.match-league-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.match-league { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.match-country { font-size: 11px; color: var(--ink-muted); }
.match-venue { font-size: 12px; font-style: italic; color: var(--ink-secondary); }
.match-divider { height: 1px; background: var(--border); }
.match-players { display: flex; flex-direction: column; gap: 10px; }
.match-player { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.match-player-name { font-size: 16px; font-weight: 600; }
.match-score { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.match-player.is-loser .match-player-name { color: var(--ink-secondary); font-weight: 500; }
.match-player.is-loser .match-score { color: var(--ink-muted); font-weight: 500; }
.match-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.match-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ink-secondary);
}
.status-dot { width: 7px; height: 7px; border-radius: 999px; }
.status-dot--finished { background: var(--success); }
.match-status--scheduled { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.match-center { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--ink-muted); }
a.match-center:hover { color: var(--ink); }
.matches-disclaimer { font-size: 12px; color: var(--ink-muted); }
.matches-section { display: flex; flex-direction: column; gap: 20px; }
.section-desc { max-width: 680px; font-size: 15px; color: var(--ink-secondary); }
.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guides-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-guide {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border); border-radius: 8px; padding: 20px;
}
.card-guide-title { font-size: 16px; font-weight: 700; line-height: 1.45; }
.card-guide-title a:hover { color: var(--ink-secondary); }
.card-guide-excerpt { font-size: 14px; line-height: 1.5; color: var(--ink-secondary); }
.card-guide-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 600; }
.matches-faq { max-width: 800px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1023px) {
  .header-nav, .header-actions > .search { display: none; }
  .header-search-toggle, .header-menu-toggle { display: inline-flex; }
  .header-inner { min-height: 56px; gap: 12px; }

  .home > .container { padding-block: 28px; gap: 36px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-main .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .home-sidebar .section-action { display: none; }
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-column:nth-child(3) { display: none; }
  .footer-top { flex-direction: column; gap: 28px; padding: 40px 0; }
  .footer-columns { gap: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .notfound > .container { padding-block: 64px; }
  .notfound-title { font-size: 36px; }
  .benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .newsletter-panel { padding: 24px; }
  .matches-grid, .guides-grid, .guides-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cards-grid, .home-main .cards-grid { grid-template-columns: minmax(0, 1fr); }
  .top-story { flex-direction: column-reverse; align-items: stretch; padding: 20px; gap: 16px; }
  .top-story-media { flex: none; max-width: none; }
  .top-story-media img { height: auto; aspect-ratio: 16 / 9; }
  .top-story-title { font-size: 26px; }
  .page-title { font-size: 30px; }
  .article-title { font-size: 30px; }
  .article-lead { font-size: 17px; }
  .article-actions > .share-row { display: none; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .prose blockquote { font-size: 20px; }
  .faq-title { font-size: 22px; }
  .callout { align-items: flex-start; }
  .menu-link { font-size: 30px; }
  .related { padding-top: 48px; }
  .newsletter > .container { padding-block: 32px; gap: 32px; }
  .newsletter-title { font-size: 28px; }
  .newsletter-subtitle { font-size: 15px; }
  .hero-icon { width: 56px; height: 56px; }
  .favorites .empty-state { padding: 32px 0; }
  .matches-grid, .guides-grid, .guides-grid--two { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
