/*
Theme Name: O Dorama
Theme URI: https://odorama.com.br
Author: O Dorama Editorial
Author URI: https://odorama.com.br
Description: Tema editorial leve e rápido para portal de doramas asiáticos. Otimizado para Core Web Vitals e SEO EEAT 2026.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: odorama
Tags: blog, news, magazine, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   O DORAMA THEME — CSS PRINCIPAL
   Editorial • Rápido • SEO-first
   ============================================ */

/* ─── RESET & BASE ─── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Lora',Georgia,serif;
  font-size:1rem;
  line-height:1.75;
  color:#1a1210;
  background:#faf8f4;
  -webkit-font-smoothing:antialiased;
}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{cursor:pointer;font-family:inherit}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',Georgia,serif;font-weight:700;line-height:1.2;color:#1a1210}

/* ─── VARIÁVEIS ─── */
:root{
  --red:#C0392B;
  --red-dark:#962d22;
  --red-light:#faeeee;
  --ink:#1a1210;
  --ink-2:#3d2f2b;
  --muted:#7a6e6a;
  --cream:#faf8f4;
  --white:#ffffff;
  --border:#e8e2dc;
  --border-dark:#d4cdc6;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'DM Sans','Helvetica Neue',sans-serif;
  --body:'Lora',Georgia,serif;
  --max:1200px;
  --gap:1.5rem;
  --radius:6px;
  --radius-lg:12px;
  --shadow:0 1px 3px rgba(26,18,16,.08),0 4px 12px rgba(26,18,16,.06);
  --shadow-hover:0 4px 16px rgba(26,18,16,.14);
  --transition:all .2s ease;
}

/* ─── CONTAINER ─── */
.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.container--narrow{max-width:780px}
.container--wide{max-width:1400px}

/* ─── TIPOGRAFIA ─── */
.font-sans{font-family:var(--sans)}
.font-serif{font-family:var(--serif)}
.eyebrow{
  font-family:var(--sans);
  font-size:.6875rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--red);
}
.kicker{
  font-family:var(--sans);
  font-size:.75rem;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--muted);
}

/* ─── HEADER / NAV ─── */
.site-header{
  position:sticky;
  top:0;
  z-index:200;
  background:var(--white);
  border-bottom:2.5px solid var(--red);
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}
.site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:56px;
  gap:1rem;
}
.site-logo{
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:700;
  color:var(--red);
  white-space:nowrap;
  flex-shrink:0;
}
.site-logo em{color:var(--ink);font-style:italic}
.site-logo:hover{opacity:.85}

.nav-primary{display:flex;align-items:center;gap:.25rem}
.nav-primary a{
  font-family:var(--sans);
  font-size:.8125rem;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--ink-2);
  padding:.4rem .7rem;
  border-radius:var(--radius);
  transition:var(--transition);
}
.nav-primary a:hover,.nav-primary .current-menu-item>a{color:var(--red)}
.nav-primary .current-menu-item>a{background:var(--red-light)}

.nav-search-btn{
  background:none;
  border:none;
  padding:.4rem;
  color:var(--muted);
  border-radius:var(--radius);
  transition:var(--transition);
  display:flex;
  align-items:center;
}
.nav-search-btn:hover{color:var(--red);background:var(--red-light)}
.nav-search-btn svg{width:18px;height:18px}

.nav-hamburger{
  display:none;
  background:none;
  border:none;
  padding:.35rem;
  color:var(--ink);
  flex-direction:column;
  gap:4px;
}
.nav-hamburger span{display:block;width:22px;height:2px;background:currentColor;border-radius:2px;transition:var(--transition)}

/* ─── TICKER ─── */
.site-ticker{
  background:var(--ink);
  color:var(--white);
  font-family:var(--sans);
  font-size:.75rem;
  font-weight:500;
  letter-spacing:.04em;
  overflow:hidden;
  height:32px;
  display:flex;
  align-items:center;
}
.ticker-label{
  background:var(--red);
  padding:0 .9rem;
  height:100%;
  display:flex;
  align-items:center;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.1em;
  white-space:nowrap;
  flex-shrink:0;
}
.ticker-track{
  display:flex;
  gap:3rem;
  animation:ticker 28s linear infinite;
  white-space:nowrap;
  padding-left:2rem;
}
.ticker-track a{color:rgba(255,255,255,.75);transition:color .2s}
.ticker-track a:hover{color:#fff}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ─── HERO PRINCIPAL ─── */
.hero{
  background:var(--ink);
  color:var(--white);
  padding:3rem 0 2.5rem;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute;inset:0;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 60px,rgba(255,255,255,.018) 60px,rgba(255,255,255,.018) 61px),
    repeating-linear-gradient(90deg,transparent,transparent 60px,rgba(255,255,255,.012) 60px,rgba(255,255,255,.012) 61px);
  pointer-events:none;
}
.hero__grid{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:2rem;
  align-items:start;
}
.hero__main{}
.hero__eyebrow{margin-bottom:.5rem}
.hero__title{
  font-size:clamp(1.75rem,4vw,2.75rem);
  line-height:1.1;
  color:#fff;
  margin-bottom:1rem;
}
.hero__title em{color:var(--red);font-style:italic}
.hero__excerpt{
  font-size:1rem;
  color:rgba(255,255,255,.65);
  line-height:1.7;
  max-width:520px;
  margin-bottom:1.25rem;
}
.hero__meta{
  display:flex;
  align-items:center;
  gap:1rem;
  font-family:var(--sans);
  font-size:.8125rem;
  color:rgba(255,255,255,.5);
}
.hero__meta a{color:rgba(255,255,255,.75);transition:color .2s}
.hero__meta a:hover{color:#fff}
.hero__meta-sep{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.3)}

.hero__side{display:flex;flex-direction:column;gap:1px;border-left:1px solid rgba(255,255,255,.1);padding-left:2rem}
.hero-side-item{
  padding:.875rem 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.hero-side-item:last-child{border-bottom:none}
.hero-side-item .eyebrow{margin-bottom:.3rem}
.hero-side-item h3{
  font-size:1rem;
  color:#fff;
  line-height:1.35;
  font-weight:600;
}
.hero-side-item h3 a{transition:color .2s}
.hero-side-item h3 a:hover{color:var(--red)}
.hero-side-item .kicker{margin-top:.3rem}

/* ─── BADGE / CATEGORIA ─── */
.badge{
  display:inline-flex;
  align-items:center;
  font-family:var(--sans);
  font-size:.6875rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.1em;
  padding:.2rem .6rem;
  border-radius:3px;
}
.badge--red{background:var(--red);color:#fff}
.badge--red-light{background:var(--red-light);color:var(--red)}
.badge--dark{background:var(--ink);color:#fff}
.badge--muted{background:var(--border);color:var(--muted)}
.badge--kr{background:#003478;color:#fff}
.badge--jp{background:#BC002D;color:#fff}
.badge--cn{background:#DE2910;color:#fff}
.badge--th{background:#241D4F;color:#fff}

/* ─── SEÇÃO GENÉRICA ─── */
.section{padding:2.5rem 0}
.section--gray{background:var(--border);background:rgba(232,226,220,.35)}
.section--dark{background:var(--ink);color:#fff}
.section__header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:1.5rem;
  padding-bottom:.75rem;
  border-bottom:2px solid var(--border);
  gap:1rem;
}
.section__title{
  font-size:1.125rem;
  font-family:var(--sans);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:.5rem;
}
.section__title::before{
  content:'';
  display:block;
  width:3px;height:18px;
  background:var(--red);
  border-radius:2px;
  flex-shrink:0;
}
.section--dark .section__title{color:#fff}
.section__link{
  font-family:var(--sans);
  font-size:.8125rem;
  font-weight:600;
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.08em;
  white-space:nowrap;
  transition:opacity .2s;
}
.section__link:hover{opacity:.75}

/* ─── CARD ARTIGO ─── */
.card{
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border);
  transition:var(--transition);
  display:flex;
  flex-direction:column;
}
.card:hover{
  box-shadow:var(--shadow-hover);
  border-color:var(--border-dark);
  transform:translateY(-2px);
}
.card__thumb{
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--border);
  position:relative;
}
.card__thumb img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.card:hover .card__thumb img{transform:scale(1.04)}
.card__thumb-placeholder{
  width:100%;height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2.5rem;
  background:linear-gradient(135deg,var(--ink) 0%,#3d1f1a 100%);
}
.card__badge{
  position:absolute;
  top:.75rem;left:.75rem;
}
.card__body{padding:1.1rem 1.25rem 1.25rem}
.card__cat{margin-bottom:.4rem}
.card__title{
  font-size:1.0625rem;
  line-height:1.35;
  margin-bottom:.6rem;
  color:var(--ink);
}
.card__title a{transition:color .2s}
.card__title a:hover{color:var(--red)}
.card__excerpt{
  font-size:.875rem;
  color:var(--muted);
  line-height:1.65;
  margin-bottom:.75rem;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.card__meta{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-family:var(--sans);
  font-size:.75rem;
  color:var(--muted);
  margin-top:auto;
  padding-top:.75rem;
  border-top:1px solid var(--border);
  flex-wrap:wrap;
}
.card__meta-sep{width:2px;height:2px;border-radius:50%;background:var(--border-dark)}
.card__read-time{
  margin-left:auto;
  font-weight:500;
}

/* ─── CARD GRANDE (FEATURED) ─── */
.card--featured{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-radius:var(--radius-lg);
}
.card--featured .card__thumb{
  aspect-ratio:auto;
  min-height:260px;
  border-radius:var(--radius-lg) 0 0 var(--radius-lg);
}
.card--featured .card__body{
  padding:1.75rem 2rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.card--featured .card__title{font-size:1.375rem}
.card--featured .card__excerpt{-webkit-line-clamp:3}

/* ─── CARD HORIZONTAL ─── */
.card--horiz{
  flex-direction:row;
  align-items:center;
  gap:0;
}
.card--horiz .card__thumb{
  width:110px;
  flex-shrink:0;
  aspect-ratio:1;
  border-radius:var(--radius-lg) 0 0 var(--radius-lg);
}
.card--horiz .card__body{padding:.75rem 1rem}
.card--horiz .card__title{font-size:.9375rem}
.card--horiz .card__excerpt{display:none}

/* ─── GRID LAYOUTS ─── */
.grid{display:grid;gap:var(--gap)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-auto{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}

/* ─── RANKING ─── */
.ranking-list{display:flex;flex-direction:column;gap:0}
.ranking-item{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 1.25rem;
  border-bottom:1px solid var(--border);
  background:var(--white);
  transition:background .2s;
}
.ranking-item:first-child{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
.ranking-item:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg);border-bottom:none}
.ranking-item:hover{background:rgba(192,57,43,.04)}
.ranking-num{
  font-family:var(--serif);
  font-size:1.5rem;
  font-weight:700;
  color:var(--red);
  min-width:2rem;
  text-align:center;
  flex-shrink:0;
}
.ranking-num--top{
  background:var(--red);
  color:#fff;
  width:2rem;height:2rem;
  border-radius:50%;
  font-size:1rem;
  display:flex;align-items:center;justify-content:center;
}
.ranking-info{flex:1;min-width:0}
.ranking-title{
  font-family:var(--serif);
  font-size:1rem;
  font-weight:600;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ranking-title a:hover{color:var(--red)}
.ranking-sub{
  font-family:var(--sans);
  font-size:.75rem;
  color:var(--muted);
  margin-top:.2rem;
}
.ranking-score{
  font-family:var(--sans);
  font-size:.8125rem;
  font-weight:700;
  color:var(--red);
  flex-shrink:0;
}

/* ─── SIDEBAR ─── */
.layout-with-sidebar{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:2.5rem;
  align-items:start;
}
.sidebar{}
.widget{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1.25rem;
  margin-bottom:1.5rem;
}
.widget-title{
  font-family:var(--sans);
  font-size:.8125rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--ink);
  margin-bottom:1rem;
  padding-bottom:.6rem;
  border-bottom:2px solid var(--border);
  display:flex;
  align-items:center;
  gap:.4rem;
}
.widget-title::before{
  content:'';
  width:3px;height:14px;
  background:var(--red);
  border-radius:2px;
  flex-shrink:0;
}

/* ─── TAG CLOUD ─── */
.tag-cloud{display:flex;flex-wrap:wrap;gap:.4rem}
.tag-cloud a{
  font-family:var(--sans);
  font-size:.75rem;
  font-weight:500;
  padding:.25rem .7rem;
  border:1px solid var(--border);
  border-radius:20px;
  color:var(--ink-2);
  transition:var(--transition);
}
.tag-cloud a:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* ─── PAGINAÇÃO ─── */
.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.4rem;
  padding:2rem 0;
}
.pagination a,.pagination span{
  font-family:var(--sans);
  font-size:.875rem;
  font-weight:500;
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);
  border:1px solid var(--border);
  color:var(--ink-2);
  transition:var(--transition);
}
.pagination a:hover{background:var(--red);color:#fff;border-color:var(--red)}
.pagination .current{background:var(--red);color:#fff;border-color:var(--red)}

/* ─── SINGLE POST ─── */
.post-header{padding:2.5rem 0 2rem;border-bottom:1px solid var(--border)}
.post-header__cat{margin-bottom:.75rem}
.post-header__title{
  font-size:clamp(1.75rem,4vw,2.5rem);
  line-height:1.15;
  margin-bottom:1rem;
}
.post-header__excerpt{
  font-size:1.125rem;
  color:var(--muted);
  line-height:1.65;
  max-width:680px;
  margin-bottom:1.25rem;
  font-style:italic;
}
.post-meta{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  font-family:var(--sans);
  font-size:.8125rem;
  color:var(--muted);
}
.post-meta__author{display:flex;align-items:center;gap:.5rem;color:var(--ink-2);font-weight:500}
.post-meta__author-avatar{
  width:28px;height:28px;border-radius:50%;
  background:var(--red-light);
  display:flex;align-items:center;justify-content:center;
  font-size:.6875rem;font-weight:700;color:var(--red);
  font-family:var(--sans);
}
.post-meta__sep{width:3px;height:3px;border-radius:50%;background:var(--border-dark)}

.post-featured-image{
  margin:2rem 0;
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.post-featured-image img{width:100%;height:auto;max-height:480px;object-fit:cover}

/* ─── CONTEÚDO DO POST ─── */
.post-content{
  font-size:1.0625rem;
  line-height:1.8;
  color:var(--ink-2);
  max-width:720px;
}
.post-content h2{
  font-size:1.5rem;
  margin:2.25rem 0 .75rem;
  padding-bottom:.5rem;
  border-bottom:1px solid var(--border);
  color:var(--ink);
}
.post-content h3{
  font-size:1.25rem;
  margin:1.75rem 0 .6rem;
  color:var(--ink);
}
.post-content p{margin-bottom:1.25rem}
.post-content ul,.post-content ol{
  padding-left:1.5rem;
  margin-bottom:1.25rem;
}
.post-content li{margin-bottom:.4rem;list-style:disc}
.post-content ol li{list-style:decimal}
.post-content blockquote{
  margin:1.75rem 0;
  padding:1rem 1.5rem;
  border-left:3px solid var(--red);
  background:var(--red-light);
  border-radius:0 var(--radius) var(--radius) 0;
  font-style:italic;
  font-size:1.125rem;
  color:var(--ink-2);
}
.post-content blockquote cite{
  display:block;
  font-size:.875rem;
  font-style:normal;
  color:var(--muted);
  margin-top:.5rem;
  font-family:var(--sans);
}
.post-content a{
  color:var(--red);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.post-content a:hover{opacity:.75}
.post-content img{
  border-radius:var(--radius);
  margin:1.5rem 0;
}
.post-content table{
  width:100%;
  border-collapse:collapse;
  font-size:.9375rem;
  margin:1.5rem 0;
  font-family:var(--sans);
}
.post-content th{
  background:var(--ink);
  color:#fff;
  padding:.6rem 1rem;
  text-align:left;
  font-size:.8125rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.post-content td{
  padding:.6rem 1rem;
  border-bottom:1px solid var(--border);
}
.post-content tr:nth-child(even) td{background:rgba(232,226,220,.3)}

/* ─── INFO BOX ─── */
.info-box{
  background:var(--red-light);
  border:1px solid rgba(192,57,43,.2);
  border-left:3px solid var(--red);
  border-radius:var(--radius);
  padding:1rem 1.25rem;
  margin:1.5rem 0;
  font-family:var(--sans);
  font-size:.9375rem;
}
.info-box strong{color:var(--red)}

/* ─── RATING STARS ─── */
.rating{display:flex;align-items:center;gap:.3rem}
.rating__stars{
  display:flex;gap:2px;
  color:var(--red);
  font-size:1rem;
}
.rating__num{
  font-family:var(--sans);
  font-size:.875rem;
  font-weight:700;
  color:var(--ink);
}

/* ─── FAQ ACCORDION ─── */
.faq{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.faq-item{border-bottom:1px solid var(--border)}
.faq-item:last-child{border-bottom:none}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:1rem 1.25rem;
  background:var(--white);
  border:none;
  text-align:left;
  font-family:var(--sans);
  font-size:.9375rem;
  font-weight:600;
  color:var(--ink);
  gap:.75rem;
  transition:background .2s;
}
.faq-question:hover{background:var(--red-light)}
.faq-question.open{color:var(--red)}
.faq-icon{
  flex-shrink:0;
  width:20px;height:20px;
  position:relative;
  transition:transform .25s;
}
.faq-icon::before,.faq-icon::after{
  content:'';
  position:absolute;
  background:currentColor;
  border-radius:2px;
  transition:opacity .25s;
}
.faq-icon::before{width:12px;height:2px;top:9px;left:4px}
.faq-icon::after{width:2px;height:12px;top:4px;left:9px}
.faq-question.open .faq-icon::after{opacity:0}
.faq-answer{
  display:none;
  padding:0 1.25rem 1rem;
  font-size:.9375rem;
  color:var(--muted);
  line-height:1.7;
  background:var(--white);
}
.faq-answer.open{display:block}

/* ─── BREADCRUMB ─── */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:.4rem;
  flex-wrap:wrap;
  font-family:var(--sans);
  font-size:.8125rem;
  color:var(--muted);
  padding:.75rem 0;
}
.breadcrumb a{transition:color .2s}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb-sep{opacity:.4;font-size:.625rem}

/* ─── NEWSLETTER ─── */
.newsletter{
  background:var(--ink);
  color:#fff;
  padding:3rem 2rem;
  border-radius:var(--radius-lg);
  text-align:center;
}
.newsletter h2{color:#fff;font-size:1.5rem;margin-bottom:.5rem}
.newsletter p{color:rgba(255,255,255,.6);font-size:.9375rem;margin-bottom:1.5rem}
.newsletter-form{
  display:flex;
  max-width:420px;
  margin:0 auto;
  gap:.5rem;
}
.newsletter-form input{
  flex:1;
  padding:.7rem 1rem;
  border:none;
  border-radius:var(--radius);
  font-size:.9375rem;
  font-family:var(--body);
  background:rgba(255,255,255,.12);
  color:#fff;
  outline:none;
  transition:background .2s;
}
.newsletter-form input::placeholder{color:rgba(255,255,255,.4)}
.newsletter-form input:focus{background:rgba(255,255,255,.18)}
.newsletter-form button{
  padding:.7rem 1.25rem;
  background:var(--red);
  color:#fff;
  border:none;
  border-radius:var(--radius);
  font-family:var(--sans);
  font-size:.875rem;
  font-weight:600;
  white-space:nowrap;
  transition:background .2s;
}
.newsletter-form button:hover{background:var(--red-dark)}

/* ─── FOOTER ─── */
.site-footer{
  background:var(--ink);
  color:rgba(255,255,255,.7);
  padding:3rem 0 1.5rem;
  margin-top:4rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:2.5rem;
  margin-bottom:2.5rem;
}
.footer-brand{}
.footer-logo{
  font-family:var(--serif);
  font-size:1.375rem;
  font-weight:700;
  color:var(--red);
  display:block;
  margin-bottom:.75rem;
}
.footer-logo em{color:#fff;font-style:italic}
.footer-desc{font-size:.875rem;line-height:1.7;color:rgba(255,255,255,.5);max-width:240px}
.footer-col-title{
  font-family:var(--sans);
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#fff;
  margin-bottom:.875rem;
}
.footer-links{display:flex;flex-direction:column;gap:.4rem}
.footer-links a{
  font-size:.875rem;
  color:rgba(255,255,255,.55);
  transition:color .2s;
}
.footer-links a:hover{color:#fff}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.08);
  font-family:var(--sans);
  font-size:.8125rem;
  color:rgba(255,255,255,.35);
  flex-wrap:wrap;
  gap:.5rem;
}
.footer-bottom a{color:rgba(255,255,255,.5);transition:color .2s}
.footer-bottom a:hover{color:#fff}

/* ─── SCROLL TO TOP ─── */
.scroll-top{
  position:fixed;
  bottom:1.5rem;right:1.5rem;
  width:42px;height:42px;
  background:var(--red);
  color:#fff;
  border:none;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 12px rgba(192,57,43,.4);
  opacity:0;pointer-events:none;
  transition:opacity .3s,transform .3s;
  z-index:100;
}
.scroll-top.visible{opacity:1;pointer-events:auto}
.scroll-top:hover{transform:translateY(-2px)}
.scroll-top svg{width:18px;height:18px}

/* ─── BUSCA OVERLAY ─── */
.search-overlay{
  position:fixed;inset:0;
  background:rgba(26,18,16,.96);
  z-index:500;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:15vh;
  opacity:0;pointer-events:none;
  transition:opacity .25s;
}
.search-overlay.open{opacity:1;pointer-events:auto}
.search-overlay-inner{width:100%;max-width:640px;padding:0 1.25rem}
.search-input-wrap{
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--radius);
  overflow:hidden;
}
.search-input-wrap input{
  flex:1;padding:1rem 1.25rem;
  background:none;border:none;
  font-size:1.25rem;color:#fff;
  font-family:var(--body);outline:none;
}
.search-input-wrap input::placeholder{color:rgba(255,255,255,.35)}
.search-close{
  padding:.75rem 1rem;
  background:none;border:none;
  color:rgba(255,255,255,.5);
  font-size:1.5rem;
  transition:color .2s;
}
.search-close:hover{color:#fff}

/* ─── MOBILE MENU ─── */
.mobile-menu{
  position:fixed;inset:0;
  background:var(--white);
  z-index:400;
  padding:1.5rem;
  transform:translateX(100%);
  transition:transform .3s ease;
  overflow-y:auto;
}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-header{
  display:flex;align-items:center;
  justify-content:space-between;
  margin-bottom:2rem;
}
.mobile-menu-close{
  background:none;border:none;
  font-size:1.5rem;color:var(--ink);
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
}
.mobile-nav a{
  display:block;
  font-family:var(--sans);
  font-size:1.125rem;
  font-weight:600;
  color:var(--ink);
  padding:.875rem 0;
  border-bottom:1px solid var(--border);
  transition:color .2s;
}
.mobile-nav a:hover{color:var(--red)}

/* ─── ANIMAÇÕES DE ENTRADA ─── */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.anim-fade-up{animation:fadeUp .5s ease both}
.anim-delay-1{animation-delay:.1s}
.anim-delay-2{animation-delay:.2s}
.anim-delay-3{animation-delay:.3s}
.anim-delay-4{animation-delay:.4s}

/* ─── RESPONSIVO ─── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .layout-with-sidebar{grid-template-columns:1fr;gap:2rem}
  .sidebar{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
}
@media(max-width:768px){
  :root{--gap:1rem}
  .nav-primary{display:none}
  .nav-hamburger{display:flex}
  .hero__grid{grid-template-columns:1fr}
  .hero__side{display:none}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
  .card--featured{grid-template-columns:1fr}
  .card--featured .card__thumb{min-height:200px;border-radius:var(--radius-lg) var(--radius-lg) 0 0}
  .footer-grid{grid-template-columns:1fr}
  .sidebar{grid-template-columns:1fr}
  .newsletter-form{flex-direction:column}
  .footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:480px){
  .grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr}
  .hero{padding:2rem 0 1.75rem}
  .hero__title{font-size:1.625rem}
}

/* ─── PRINT ─── */
@media print{
  .site-header,.site-footer,.sidebar,.newsletter,.scroll-top{display:none}
  body{background:#fff;color:#000}
}

/* ─── UTILITÁRIOS ─── */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.text-red{color:var(--red)}
.text-muted{color:var(--muted)}
.text-center{text-align:center}
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.d-flex{display:flex}.align-center{align-items:center}.gap-1{gap:.5rem}.gap-2{gap:1rem}
.fw-bold{font-weight:700}.fw-medium{font-weight:500}
.hidden{display:none!important}
