/* =====================================================
   TRAVEL BLOG - CUSTOM.CSS
   Unificado para cards da index e categoria
   ===================================================== */

/* ---------- 1. Cores para viagens ---------- */
:root {
  --primary: #0B2D4B;
  --primary-light: #1A4A6E;
  --primary-dark: #061A2B;
  --secondary: #E8853E;
  --secondary-light: #F5A96A;
  --secondary-dark: #D16A2A;
  --tertiary: #2A7D6E;
  --tertiary-light: #4CAF92;
  --tertiary-dark: #1B5449;

  --bg: #F6F2ED;
  --bg-alt: #EDE7E0;
  --surface: #FFFFFF;

  --gradient-ocean: linear-gradient(135deg, #0B2D4B 0%, #1A4A6E 50%, #2A7D6E 100%);
}

/* Dark theme */
[data-theme="dark"] {
  --primary: #5B9BC7;
  --primary-light: #7BB4D9;
  --primary-dark: #1A4A6E;
  --secondary: #F5A96A;
  --secondary-light: #F7C08A;
  --secondary-dark: #E8853E;
  --tertiary: #4CAF92;
  --tertiary-light: #6DC4A8;
  --tertiary-dark: #2A7D6E;

  --bg: #141A1F;
  --bg-alt: #1E262D;
  --surface: #1E262D;
}

/* ---------- 2. Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}

/* ---------- 3. CARDS - Index (classe .card) ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.card__media {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.card__title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.card__title a:hover {
  color: var(--secondary);
}

.card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
  flex: 1;
  display: none;
}

.card__meta {
  display: none;
}

.card__meta span:last-child {
  display: none;
}

.card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.card__author span:last-child {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}

/* ---------- 4. CARDS - Categoria (classe .post-card) ---------- */
.post-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.post-card-img {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-img img {
  transform: scale(1.04);
}

.post-card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-body .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}

.post-card-body .tag:hover {
  color: var(--secondary-dark);
}

.post-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}

.post-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: var(--secondary);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.post-card-meta span,
.post-card-meta .meta-dot {
  display: none;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-2);
  flex: 1;
  display: none;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 0.25rem;
}

.read-more:hover {
  color: var(--secondary-dark);
}

.read-more::after {
  content: '→';
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* ---------- 5. Badge ---------- */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.badge--roteiros { background: var(--secondary); }
.badge--destinos { background: var(--tertiary); }
.badge--dicas { background: var(--secondary-dark); }
.badge--guias { background: var(--primary); }
.badge--aventura { background: #E8853E; }
.badge--cultura { background: #7C3AED; }
.badge--gastronomia { background: #EF4444; }
.badge--praia { background: #06B6D4; }
.badge--montanha { background: #6B7280; }
.badge--urbano { background: #4B5563; }
.badge--europa { background: #3B82F6; }
.badge--asia { background: #DC2626; }
.badge--america { background: #F59E0B; }
.badge--africa { background: #16A34A; }
.badge--oceania { background: #8B5CF6; }

/* ---------- 6. Hero Section ---------- */
.hero {
  min-height: 500px;
  background: var(--gradient-ocean);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url('https://images.pexels.com/photos/1008155/pexels-photo-1008155.jpeg?auto=compress&cs=tinysrgb&w=1600')
    center/cover no-repeat;
  opacity: 0.25;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 26, 43, 0.6) 0%, rgba(11, 45, 75, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-6) var(--space-2);
  max-width: 850px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.hero h1 .highlight {
  color: var(--secondary-light);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  margin-bottom: var(--space-4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 133, 62, 0.25);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(232, 133, 62, 0.35);
  color: #fff;
}

.hero .btn-primary i {
  margin-right: 0.3rem;
}

/* ---------- 7. Section Header ---------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- 8. Newsletter ---------- */
.newsletter {
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  margin-top: var(--space-4);
}

.newsletter h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.newsletter p {
  color: rgba(255,255,255,0.9);
  max-width: 460px;
  margin: 0 auto var(--space-3);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 540px;
  margin: 0 auto 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
}

.newsletter-form input:focus {
  outline: 2px solid var(--secondary);
}

.newsletter-form .btn {
  border-radius: var(--radius-full);
  padding: 0.75rem 1.75rem;
}

.newsletter-fallback {
  font-size: 0.65rem;
  margin-top: var(--space-1);
  opacity: 0.8;
}

/* =====================================================
   SIDEBAR - WIDGETS
   ===================================================== */

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-widget:last-child {
  margin-bottom: 0;
}

/* ---- Widget: Guia Digital / Curso ---- */
.widget-guia {
  background: #f5f8fa;
  border-left: 4px solid #2c7be5;
}

[data-theme="dark"] .widget-guia {
  background: #1a2630;
  border-left-color: #4a8bc2;
}

.widget-guia h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}

[data-theme="dark"] .widget-guia h4 {
  color: #e8edf2;
}

.widget-guia p {
  font-size: 14px;
  color: #3d4e62;
  line-height: 1.6;
  margin: 0 0 4px 0;
}

[data-theme="dark"] .widget-guia p {
  color: #b0c4d8;
}

.widget-guia .guia-desc {
  font-size: 13px;
  color: #6b7a8a;
  margin-bottom: 12px;
}

[data-theme="dark"] .widget-guia .guia-desc {
  color: #8a9aa8;
}

.widget-guia-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s;
}

[data-theme="dark"] .widget-guia-link {
  color: var(--secondary);
}

[data-theme="dark"] .widget-guia-link:hover {
  color: var(--secondary);
}

/* ---- Widget: Recomendações ---- */
.widget-recomendacoes h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 16px 0;
  letter-spacing: -0.2px;
}

[data-theme="dark"] .widget-recomendacoes h3 {
  color: #e8edf2;
}

.widget-recomendacoes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-recomendacoes-list li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.widget-recomendacoes-list li:last-child {
  border-bottom: none;
}

.widget-recomendacoes-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #2d3e53;
  text-decoration: none;
  transition: color 0.2s;
}

.widget-recomendacoes-list a:hover {
  color: #2c7be5;
}

[data-theme="dark"] .widget-recomendacoes-list a {
  color: #b0c4d8;
}

[data-theme="dark"] .widget-recomendacoes-list a:hover {
  color: #5b9bc7;
}

.recomendacao-nome {
  font-weight: 500;
}

.recomendacao-tag {
  font-size: 12px;
  color: #8a9aa8;
  background: #f0efec;
  padding: 2px 10px;
  border-radius: 12px;
}

[data-theme="dark"] .recomendacao-tag {
  background: #2a3640;
  color: #8a9aa8;
}

/* ---- Widget: Planeje sua viagem ---- */
.widget-planeje {
  background: #f7f7f5;
  border: 1px solid var(--border);
  text-align: center;
}

[data-theme="dark"] .widget-planeje {
  background: #1a2630;
}

.widget-planeje h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 8px 0;
  letter-spacing: -0.2px;
}

[data-theme="dark"] .widget-planeje h3 {
  color: #e8edf2;
}

.widget-planeje p {
  font-size: 14px;
  color: #4d5f72;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

[data-theme="dark"] .widget-planeje p {
  color: #b0c4d8;
}

.widget-planeje .btn-planeje {
  display: block;
  width: 100%;
  padding: 10px 0;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  letter-spacing: 0.2px;
  text-align: center;
  margin-bottom: 10px;
}

.widget-planeje .btn-planeje:hover {
  color: bisque;
}

.btn-booking {
  background: #003580;
  color: #ffffff;
  margin-bottom: 8px;
}

.btn-booking:hover {
  background: #00224f;
}

.btn-seguro {
  background: #e67e22;
  color: #ffffff;
}

.btn-seguro:hover {
  background: #cf6d17;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-5) 0 var(--space-3);
  margin-top: var(--space-6);
}

.footer-brand .logo,
.footer-brand .logo:hover {
  color: #fff;
}

.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--tertiary));
  margin-bottom: var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin: 10px 0;
  max-width: 320px;
}

.footer-social {
  display: none;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom i {
  color: var(--secondary);
}

/* ---------- 11. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: var(--space-2) 0;
  font-size: 0.85rem;
  color: var(--text-light);
  list-style: none;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb li::after {
  content: '›';
  color: var(--text-light);
  margin-left: 0.4rem;
}

.breadcrumb li:last-child::after {
  content: '';
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
}

/* ---------- 12. Paginação ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: var(--space-5);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- 13. Category Header ---------- */
.category-header {
  background: var(--gradient-ocean);
  padding: var(--space-5) 0;
  text-align: center;
}

.category-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  font-family: var(--font-heading);
}

.category-header p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- 14. Responsividade Geral ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--radius);
  }

  .newsletter-form .btn {
    border-radius: var(--radius);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .post-card-meta {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .card__title {
    font-size: 1rem;
  }

  .post-card-title {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .card__meta {
    display: none;
  }
}

/* ---------- 15. Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-dark);
}

/* ---------- 16. Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: var(--space-2);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
  }
}

/* ---------- 17. Ajustes para o header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon img {
  height: 32px;
  width: auto;
  display: block;
}

.logo:hover {
  color: var(--primary);
}

/* TEMA ESCURO */
[data-theme="dark"] .logo-globo {
  fill: #FFFFFF;
}

[data-theme="dark"] .logo-icon .logo-name {
  color: #FFFFFF;
}

[data-theme="dark"] .nav-list a.active,
[data-theme="dark"] .nav-list a:hover,
[data-theme="dark"] .fa-sun:before {
  color: #E8853E;
}

[data-theme="dark"] .icon-plane {
  fill: #E8853E;
}

/* ARCO + AVIÃO - sempre laranja (nos dois temas) */
.logo-arco-aviao {
  fill: #E8853E;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--secondary);
}

/* ---------- 18. Animações suaves ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   TABELAS
   ===================================================== */

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  background: white;
  border: 1px solid rgba(209, 222, 233, 0.4);
  margin: 25px 0;
}

table thead tr {
  background: linear-gradient(135deg, #0b2a3e 0%, #1c3f5a 100%);
}

table th {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1.2rem 1rem;
  text-align: left;
  border-bottom: 2px solid #2e577a;
  position: relative;
}

table th:first-child::before {
  content: "🏢 ";
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  margin-right: 6px;
}

table th:nth-child(2)::before {
  content: "⭐ ";
  font-size: 1rem;
  margin-right: 6px;
}

table th:nth-child(3)::before {
  content: "🌍 ";
  font-size: 1rem;
  margin-right: 6px;
}

table td {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid #e6edf4;
  color: #1f2e3c;
  font-weight: 450;
  line-height: 1.4;
  background-color: white;
  transition: background 0.15s ease;
}

table tbody tr:nth-child(even) td {
  background-color: #f8fafd;
}

table tbody tr:hover td {
  background-color: #e5f0fa !important;
  cursor: default;
  box-shadow: inset 0 0 0 1px rgba(35, 131, 201, 0.2);
}

table tbody td:first-child {
  font-weight: 600;
  color: #0b2a3e;
  letter-spacing: -0.01em;
}

table tbody td:last-child {
  font-weight: 500;
}

table tbody tr:first-child td:last-child {
  background: #d9edff;
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  display: inline-block;
  margin: 0.3rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #005a9c;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 3px rgba(0,90,156,0.1);
}

table tbody tr td:last-child {
  padding: 0.6rem 1rem;
}

table,
table th,
table td {
  border: none;
}

table thead th:first-child {
  border-top-left-radius: 1.5rem;
}

table thead th:last-child {
  border-top-right-radius: 1.5rem;
}

table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 1.5rem;
}

table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 1.5rem;
}

table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 640px) {
  table th,
  table td {
    padding: 0.9rem 0.7rem;
    font-size: 0.85rem;
  }

  table th {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }

  table th::before {
    display: none !important;
  }

  table tbody tr:first-child td:last-child {
    font-size: 0.7rem;
    padding: 0.15rem 0.8rem;
  }
}

@media (max-width: 480px) {
  table {
    border-radius: 1rem;
  }
  table th,
  table td {
    padding: 0.7rem 0.5rem;
    font-size: 0.75rem;
    word-break: break-word;
  }
}

/* =====================================================
   PÁGINAS ESTÁTICAS
   ===================================================== */

.page-article {
  background: var(--card);
  border-radius: var(--borda);
  box-shadow: var(--sombra);
  overflow: hidden;
  margin: 30px 0 50px;
}

.page-header {
  padding: 40px 40px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--primaria);
  font-family: 'Playfair Display', serif;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--texto);
  opacity: 0.6;
}

.page-body {
  padding: 0 40px 40px;
}

.page-body h2 {
  font-size: 1.3rem;
  color: var(--primaria);
  margin-top: 35px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--secundaria);
}

.page-body p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.page-hero-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

.list-simple {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.list-simple li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.list-simple li:last-child {
  border-bottom: none;
}

.list-simple li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.list-simple li span {
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-header,
  .page-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }
}

/* =====================================================
   TRAVEL TIP BOX - Hospedagem
   ===================================================== */

.travel-tip-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f0f4f8;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid #2c7be5;
  flex-wrap: wrap;
  text-align: center;
}

.travel-tip-box svg {
  margin: 0 auto;
}

[data-theme="dark"] .travel-tip-box {
  background: #1a2630;
  border-left-color: #4a8bc2;
}

.travel-tip-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin: 0 auto;
}

.travel-tip-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 4px 0;
}

[data-theme="dark"] .travel-tip-title {
  color: #e8edf2;
}

.travel-tip-text {
  font-size: 14px;
  color: #3d5a78;
  margin: 0;
  line-height: 1.5;
}

[data-theme="dark"] .travel-tip-text {
  color: #b0c4d8;
}

.travel-tip-cta {
  flex-shrink: 0;
  margin: 0 auto;
}

.btn-tip {
  display: inline-block;
  background: #2c7be5;
  color: #fff;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-tip:hover {
  background: #1a5fbf;
  color: cyan;
}

/* =====================================================
   CHECKLIST BOX - Produtos + Seguro
   ===================================================== */

.checklist-box {
  background: #faf8f5;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  border: 1px solid #e5e0d8;
}

[data-theme="dark"] .checklist-box {
  background: #1a2630;
  border-color: #2a3640;
}

.checklist-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 12px 0;
}

[data-theme="dark"] .checklist-title {
  color: #e8edf2;
}

.checklist-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  font-size: 14px;
  color: #2d2d2d;
}

[data-theme="dark"] .checklist-grid {
  color: #b0c4d8;
}

.checklist-grid li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checklist-grid li::before {
  content: "✓";
  color: #2c7be5;
  font-weight: 700;
}

.checklist-produtos {
  margin-top: 16px;
  border-top: 1px solid #e8e6e3;
  padding-top: 16px;
}

[data-theme="dark"] .checklist-produtos {
  border-top-color: #2a3640;
}

.checklist-produtos-titulo {
  font-size: 14px;
  font-weight: 600;
  color: #1a2a3a;
  margin: 0 0 10px 0;
}

[data-theme="dark"] .checklist-produtos-titulo {
  color: #e8edf2;
}

.checklist-produtos-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.produto-link {
  background: #f5f8fa;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #2c7be5;
  text-decoration: none;
  border: 1px solid #e0e7ef;
  transition: all 0.2s;
}

.produto-link:hover {
  background: #e8edf4;
  border-color: #2c7be5;
}

[data-theme="dark"] .produto-link {
  background: #2a3640;
  color: #5b9bc7;
  border-color: #3a4a5a;
}

[data-theme="dark"] .produto-link:hover {
  background: #3a4a5a;
  border-color: #5b9bc7;
}

.checklist-produtos-aviso {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

[data-theme="dark"] .checklist-produtos-aviso {
  color: #6a7a8a;
}

.checklist-insurance {
  margin-top: 14px;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #e8e6e3;
  padding-top: 14px;
}

[data-theme="dark"] .checklist-insurance {
  border-top-color: #2a3640;
  color: #8a9aa8;
}

.checklist-insurance a {
  color: #2c7be5;
  text-decoration: none;
  transition: color 0.2s;
}

.checklist-insurance a:hover {
  color: #1a5fbf;
  text-decoration: underline;
}

[data-theme="dark"] .checklist-insurance a {
  color: #5b9bc7;
}

[data-theme="dark"] .checklist-insurance a:hover {
  color: #7bb4d9;
}

/* =====================================================
   CTA BOX - eBook (uso moderado)
   ===================================================== */

.cta-box {
  background: linear-gradient(135deg, #f5f8fa 0%, #e8edf4 100%);
  border-radius: 10px;
  padding: 28px 24px;
  margin: 32px 0;
  text-align: center;
  border: 1px solid #e0e7ef;
}

[data-theme="dark"] .cta-box {
  background: #1a2630;
  border-color: #2a3640;
}

.cta-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a3a;
  margin: 0 0 8px 0;
}

[data-theme="dark"] .cta-box h3 {
  color: #e8edf2;
}

.cta-box p {
  font-size: 14px;
  color: #3d5a78;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

[data-theme="dark"] .cta-box p {
  color: #b0c4d8;
}

.cta-box .btn {
  display: inline-block;
  background: #2c7be5;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.cta-box .btn:hover {
  background: #1a5fbf;
}

.cta-box .btn i {
  margin-right: 8px;
}

.trust-seal {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7a8a;
}

[data-theme="dark"] .trust-seal {
  color: #8a9aa8;
}

.trust-seal i {
  color: #f5a96a;
  margin-right: 6px;
}

/* =====================================================
   SHARE
   ===================================================== */

.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: #1a2a3a;
}

[data-theme="dark"] .share-label {
  color: #e8edf2;
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f0efec;
  color: #2d3e53;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.share-btn.whatsapp:hover  { background: #25D366; color: #fff; }
.share-btn.facebook:hover  { background: #1877F2; color: #fff; }
.share-btn.twitter:hover   { background: #000000; color: #fff; }
.share-btn.pinterest:hover { background: #E60023; color: #fff; }
.share-btn.email:hover     { background: #D14836; color: #fff; }

[data-theme="dark"] .share-btn {
  background: #2a3640;
  color: #b0c4d8;
}

[data-theme="dark"] .share-btn.whatsapp:hover  { background: #25D366; color: #fff; }
[data-theme="dark"] .share-btn.facebook:hover  { background: #1877F2; color: #fff; }
[data-theme="dark"] .share-btn.twitter:hover   { background: #ffffff; color: #000000; }
[data-theme="dark"] .share-btn.pinterest:hover { background: #E60023; color: #fff; }
[data-theme="dark"] .share-btn.email:hover     { background: #D14836; color: #fff; }

/* =====================================================
   RESPONSIVO (boxes)
   ===================================================== */

@media (max-width: 600px) {
  .travel-tip-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .travel-tip-cta {
    align-self: center;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-produtos-links {
    justify-content: center;
  }

  .cta-box {
    padding: 20px 16px;
  }

  .cta-box .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .share-section {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- thankyou ---------- */
.success-section { margin-top: 30px; }
.success-content h1 { margin-bottom: 15px; }
.success-actions { margin-top: 20px; }

/* =====================================================
   ESTILOS DOS ANÚNCIOS
   ===================================================== */

.partner-box {
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.partner-box:hover {
  border-color: #ff6b00;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.1);
}

.partner-box .partner-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #ff6b00;
  color: #fff;
  padding: 0.15rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.partner-box .partner-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-box .partner-icon {
  font-size: 1.8rem;
  color: #ff6b00;
  flex-shrink: 0;
}

.partner-box .partner-text {
  flex: 1;
  min-width: 200px;
}

.partner-box .partner-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  color: var(--text);
}

.partner-box .partner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.partner-box .partner-cta {
  flex-shrink: 0;
}

.partner-box .partner-cta a {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.partner-box .partner-cta a:hover {
  background: #e05e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.partner-box .partner-cta a i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.partner-box .partner-cta a:hover i {
  transform: translateX(4px);
}

/* =====================================================
   SIDEBAR PARTNER
   ===================================================== */

.sidebar-partner {
  background: var(--surface);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.sidebar-partner:hover {
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.15);
}

.sidebar-partner .partner-badge {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 700;
}

.sidebar-partner h4 {
  color: var(--text);
  margin: 0.5rem 0 0.25rem;
  font-size: 1rem;
}

.sidebar-partner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.sidebar-partner a {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.sidebar-partner a:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.sidebar-partner a i {
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.sidebar-partner a:hover i {
  transform: translateX(4px);
}

/* =====================================================
   DIVIDER
   ===================================================== */

.partner-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 1.5rem 0;
}

.partner-divider::before,
.partner-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

@media (max-width: 768px) {
  .partner-box .partner-content {
    flex-direction: column;
    text-align: center;
  }

  .partner-box .partner-icon {
    margin-bottom: 0.5rem;
  }

  .partner-box .partner-cta a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .sidebar-partner {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .partner-box {
    padding: 1rem;
  }

  .partner-box .partner-text h4 {
    font-size: 1rem;
  }

  .partner-box .partner-text p {
    font-size: 0.85rem;
  }

  .sidebar-partner {
    padding: 1rem;
  }
}

/* =====================================================
   FIX ROLAGEM HORIZONTAL (MOBILE)
   ===================================================== */

html {
  overflow-x: hidden;
}

.article-hero-image,
.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body table,
.article-body .article-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.article-body p,
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body li {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.cta-box,
.checklist-box,
.travel-tip-box,
.sidebar-partner,
.partner-box {
  max-width: 100%;
}

.article-body iframe,
.article-body video {
  max-width: 100%;
}

/* =====================================================
   LAYOUT FINAL - Conteúdo + Sidebar
   Sidebar STICKY: acompanha a rolagem, SEM scroll interno
   ===================================================== */

/* Estrutura base do grid */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  max-width: 100%;
}

.layout-with-sidebar > div:first-child {
  min-width: 0;
  max-width: 100%;
}

/* --- Desktop: sidebar sticky, sem scroll interno --- */
@media (min-width: 993px) {
  .layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .layout-with-sidebar > aside.sidebar,
  .layout-with-sidebar .sidebar,
  aside.sidebar,
  .sidebar {
    position: sticky !important;
    top: calc(var(--header-height, 72px) + 16px) !important;
    bottom: auto !important;
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    padding-right: 0 !important;
    flex-shrink: 0;
  }
}

/* --- Mobile: sidebar estática, empilhada abaixo do conteúdo --- */
@media (max-width: 992px) {
  .layout-with-sidebar {
    grid-template-columns: 1fr;
  }

  .layout-with-sidebar > aside.sidebar,
  .layout-with-sidebar .sidebar,
  aside.sidebar,
  .sidebar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    align-self: auto !important;
    width: 100% !important;
    margin-top: 32px;
    padding-right: 0;
  }

  .sidebar-widget {
    padding: 20px 18px;
  }
}

@media (max-width: 480px) {
  .sidebar-widget {
    padding: 16px 14px;
  }

  .widget-recomendacoes-list a {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .widget-planeje .btn-planeje {
    padding: 12px 0;
  }
}
