:root {
  --orange: #EA580C;
  --orange-hover: #C2410C;
  --orange-light: #FFF7ED;
  --teal: #0D9488;
  --dark: #0C0A09;
  --ink: #1C1917;
  --ink-body: #44403C;
  --cream: #FAF8F4;
  --border: #E7E5E0;
  --white: #ffffff;
  --font-ser: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--ink); line-height: 1.5; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 780px; margin-inline: auto; padding-inline: 24px; }

/* Foco e Acessibilidade */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* HEADER */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; width: auto; object-fit: contain; }
.brand-name { font-family: var(--font-ser); font-size: 1.25rem; font-weight: 700; color: var(--dark); }
.brand-accent { color: var(--orange); }

.site-search { flex: 1; max-width: 320px; position: relative; }
.site-search input { width: 100%; padding: 8px 14px 8px 36px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; background: var(--cream); transition: border-color 0.2s; }
.site-search input:focus { outline: none; border-color: var(--orange); background: var(--white); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav > a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-body); transition: color 0.2s; }
.nav > a:hover { color: var(--orange); }

.btn-orange { background: var(--orange); color: var(--white); padding: 10px 18px; border-radius: 6px; font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: background 0.2s; border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.btn-orange:hover { background: var(--orange-hover); color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-trigger { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-body); display: inline-flex; align-items: center; gap: 4px; }
.dropdown-trigger:hover { color: var(--orange); }
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #FFFFFF; border: 1px solid #E7E5E0; border-radius: 8px; opacity: 0; visibility: hidden; pointer-events: none; display: flex; flex-direction: column; z-index: 9999; padding: 8px 0; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: opacity 0.2s, visibility 0.2s; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown .dropdown-menu a { padding: 10px 18px; font-size: 0.9rem; color: #44403C; border: none; display: block; white-space: nowrap; text-decoration: none; }
.nav-dropdown .dropdown-menu a:hover { background: #FFF7ED; color: #EA580C; }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: 0.3s; }

/* BARRA DE AFILIADOS */
.disclosure-bar { background: var(--orange-light); border-bottom: 1px solid #FDBA74; font-size: 0.825rem; color: #9A3412; padding: 8px 0; text-align: center; }

/* HERO */
.hero { padding: 60px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.hero-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-block; background: var(--orange-light); color: var(--orange); font-weight: 600; font-size: 0.8rem; padding: 4px 10px; border-radius: 20px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-title { font-family: var(--font-ser); font-size: 2.75rem; font-weight: 900; line-height: 1.15; color: var(--dark); margin-bottom: 16px; }
.hero-desc { font-size: 1.1rem; color: var(--ink-body); margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; }

/* 2 Cards Lado a Lado no Hero Direito */
.hero-right.cp-hero-right-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  width: 100% !important;
  align-items: stretch !important;
}
.hero-right.cp-hero-right-grid .rev-card {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}
.hero-right.cp-hero-right-grid .rev-card-img {
  width: 100% !important;
  height: 130px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* SEÇÕES E CARDS DE REVIEWS */
.section { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-title { font-family: var(--font-ser); font-size: 2rem; color: var(--dark); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.rev-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.rev-card-img { width: 100%; height: 200px; object-fit: cover; }
.rev-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.rev-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.featured-cat { font-size: 0.75rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px; }
.rev-badge-nota { background: #FEF3C7; color: #B45309; font-weight: 700; font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; }
.rev-card-title a { font-family: var(--font-ser); font-size: 1.1rem; color: var(--dark); text-decoration: none; line-height: 1.3; }
.rev-card-title a:hover { color: var(--orange); }
.rev-card-excerpt { font-size: 0.85rem; color: var(--ink-body); margin-top: 8px; flex: 1; }

/* FOOTER E NEWSLETTER */
.site-footer { background: var(--dark); color: #A8A29E; padding: 60px 0 30px; }
.newsletter-box { background: #1C1917; border: 1px solid #292524; border-radius: 12px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 50px; }
.newsletter-content h3 { font-family: var(--font-ser); color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.newsletter-content p { color: #A8A29E; font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 10px; min-width: 360px; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1; padding: 12px 16px; background: #0C0A09; border: 1px solid #44403C; border-radius: 6px; color: var(--white); font-size: 0.95rem; }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--orange); }
.newsletter-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.4); width: 100%; margin-top: 4px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; border-top: 1px solid #292524; padding-top: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo { height: 32px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand-title { font-family: var(--font-ser); font-size: 1.15rem; color: var(--white); font-weight: 700; }
.footer-desc { font-size: 0.9rem; max-width: 300px; }
.footer-heading { font-size: 0.9rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #A8A29E; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* PÁGINAS INTERNAS (SINGLE / PAGE) */
.single-main, .page-main { padding: 40px 0 80px; }
.back-link { display: inline-block; font-size: 0.9rem; color: var(--orange); text-decoration: none; font-weight: 600; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }
.single-header { margin-bottom: 30px; }
.single-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; font-size: 0.9rem; color: var(--ink-body); }
.cat-badge { background: var(--orange-light); color: var(--orange); padding: 4px 10px; border-radius: 4px; font-weight: 600; text-decoration: none; font-size: 0.8rem; text-transform: uppercase; }
.score-badge { background: #FEF3C7; color: #B45309; padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 0.9rem; }
.score-max { font-size: 0.75rem; opacity: 0.8; }
.single-title { font-family: var(--font-ser); font-size: 2.5rem; line-height: 1.2; color: var(--dark); margin-top: 10px; }
.single-featured-image { margin-bottom: 40px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.featured-media { width: 100%; height: auto; display: block; max-height: 480px; object-fit: cover; }

.post-content { font-size: 1.05rem; color: var(--ink-body); line-height: 1.7; }
.post-content h2 { font-family: var(--font-ser); font-size: 1.8rem; color: var(--dark); margin-top: 40px; margin-bottom: 16px; }
.post-content h3 { font-family: var(--font-ser); font-size: 1.4rem; color: var(--dark); margin-top: 30px; margin-bottom: 12px; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { margin-bottom: 20px; padding-left: 20px; }
.post-content li { margin-bottom: 8px; }

/* MOBILE RESPONSIVO */
@media (max-width: 900px) {
  .site-search { display: none; }
  .hamburger { display: flex; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-right.cp-hero-right-grid { grid-template-columns: 1fr !important; }
  .reviews-grid { grid-template-columns: repeat(1, 1fr); }
  
  .nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav > a, .nav-dropdown { width: 100%; }
  .nav > a { padding: 12px 0; border-bottom: 1px solid #F5F5F0; }
  .nav-dropdown { flex-direction: column; align-items: flex-start; border-bottom: 1px solid #F5F5F0; }
  .nav-dropdown .dropdown-trigger { width: 100%; justify-content: space-between; padding: 12px 0; }
  .nav-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: none; padding-left: 12px; width: 100%; background: transparent; }

  .nav-dropdown .dropdown-menu a { padding: 8px 0; border: none; }
  .newsletter-box { flex-direction: column; align-items: stretch; padding: 24px; }
  .newsletter-form { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* --- NITIDEZ MÁXIMA NAS IMAGENS DOS DESTAQUES DO TOPO --- */
.hero-right.cp-hero-right-grid .cp-hero-card-img {
  width: 100% !important;
  height: 150px !important;
  max-height: 150px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  image-rendering: -webkit-optimize-contrast; /* Melhora a nitidez em telas de alta densidade (Retina) */
}
/* ==========================================================
   AJUSTE DEFINITIVO DE RESPONSIVIDADE (TABLET = 2 COLUNAS)
   ========================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  /* Força a área do Hero a comportar duas colunas proporcionais no tablet */
  .hero-wrap {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }

  /* Força a grade de reviews inferiores a exibir 2 colunas no tablet */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Garante que os cards de destaque à direita fiquem lado a lado perfeitamente */
  .hero-right.cp-hero-right-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* Celulares (abaixo de 767px): Mantém tudo em 1 coluna para legibilidade ideal */
@media (max-width: 767px) {
  .hero-wrap {
    grid-template-columns: 1fr !important;
  }

  .reviews-grid {
    grid-template-columns: 1fr !important;
  }
  
  .hero-right.cp-hero-right-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================
   DESTAQUES DO TOPO: SEM CORTE EM TABLET/CELULAR (sessao 11/09)
   height fixo 150px + cover cortava laterais do 16:9 quando o
   card fica estreito (tablet 2 colunas) ou largo (celular 1 col).
   Abaixo de 1024px a imagem assume a proporcao natural.
   ========================================================== */
@media (max-width: 1024px) {
  .hero-right.cp-hero-right-grid .cp-hero-card-img,
  .hero-right.cp-hero-right-grid .rev-card-img {
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
  }
}

/* ==========================================================
   PAGINA DE ARTIGO - LAYOUT C (escolha do editor 11/09, staging)
   Coluna unica larga: palco 928px, prosa 78ch, corpo 1.1rem/1.75,
   anuncio in-feed ao final com espaco reservado (anti-CLS).
   ========================================================== */
body.single .wrap-narrow { max-width: 928px; }
body.single .post-content { font-size: 1.1rem; line-height: 1.75; }
body.single .post-content > p,
body.single .post-content > ul,
body.single .post-content > ol { max-width: 78ch; }
body.single .single-title { font-size: 2.7rem; }
body.single .single-featured-image { border-radius: 14px; }
.cp-ad-slot { display: block; min-height: 280px; background: var(--cream); border-radius: 10px; }
.cp-ad-end { margin-top: 48px; }

