/* ===================================================
   VIVA PARATY - DESIGN SYSTEM & CORE STYLES
   Estética Colonial Moderna, Alta Conversão & AEO
   =================================================== */

:root {
  --primary: #0284c7;       /* Azul Colonial Paraty */
  --primary-dark: #0369a1;
  --primary-light: #e0f2fe;
  --accent: #f59e0b;        /* Ouro colonial / Sol */
  --accent-hover: #d97706;
  --secondary: #059669;     /* Verde Mata Atlântica */
  --secondary-light: #d1fae5;
  --dark: #0f172a;          /* Azul Noite Profundo */
  --dark-surface: #1e293b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================
   TOP NOTIFICATION BAR (Gatilho de Confiança)
   =================================================== */
.top-notice {
  background: var(--dark);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-notice span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-trust {
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* ===================================================
   HEADER & NAVBAR
   =================================================== */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-main);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #0369a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
}

.trust-avatars img:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-text strong {
  color: var(--dark);
  display: block;
}

.hero-media {
  position: relative;
}

.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-main-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-main-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ===================================================
   SECTION HEADERS
   =================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--dark);
  margin-bottom: 14px;
}

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

/* ===================================================
   TOUR CARDS GRID (A Máquina de Conversão Viator)
   =================================================== */
.tours-section {
  padding: 80px 0;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.tour-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.tour-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tour-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-thumb img {
  transform: scale(1.05);
}

.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.tour-category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: white;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.tour-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.tour-rating {
  color: var(--accent-hover);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tour-rating span {
  color: var(--text-muted);
  font-weight: 400;
}

.tour-duration {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tour-title {
  font-family: var(--font-sans);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.tour-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tour-highlights-list {
  list-style: none;
  margin-bottom: 20px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
}

.tour-highlights-list li {
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.tour-price-box {
  display: flex;
  flex-direction: column;
}

.tour-price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.tour-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-book {
  background: var(--primary);
  color: white !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-book:hover {
  background: var(--primary-dark);
}

/* ===================================================
   WHY BOOK WITH US / VIATOR BENEFITS
   =================================================== */
.benefits-section {
  background: white;
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.benefit-card {
  text-align: center;
  padding: 20px;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.benefit-card h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===================================================
   AEO & FAQ SECTION (Para Perplexity, ChatGPT e Google)
   =================================================== */
.faq-section {
  padding: 80px 0;
  background: var(--light-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: var(--primary);
}

/* ===================================================
   FOOTER
   =================================================== */
footer.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #64748b;
  margin-top: 14px;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===================================================
   RESPONSIVIDADE (Mobile First)
   =================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust-proof {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .tours-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   LANGUAGE SELECTOR DROPDOWN / TOGGLE
   =================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.lang-switcher:hover {
  background: #e2e8f0;
}

.lang-switcher a {
  color: var(--text-muted);
  padding: 2px 4px;
}

.lang-switcher a.active {
  color: var(--primary-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--primary);
}

/* ===================================================
   MODERN SUBTLE LANGUAGE DROPDOWN
   =================================================== */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 140px;
  padding: 6px 0;
  z-index: 1000;
  list-style: none;
}

.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu,
.lang-menu.show {
  display: block;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s ease;
}

.lang-menu a:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.lang-menu a.active {
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
}
