/*
Theme Name: Fluxo Viagens
Theme URI: https://fluxoviagens.com.br
Author: Fluxo Viagens
Description: Tema institucional sob medida para a Fluxo Viagens, agência de viagens especializada em passagens aéreas e pacotes completos, com suporte integral ao passageiro e orientação jurídica.
Version: 1.0
Text Domain: fluxo-viagens
*/

/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --olive-900: #333a26;
  --olive-800: #3d4530;
  --olive-700: #4b5039;
  --gold: #c6a65e;
  --gold-light: #e3c98a;
  --cream: #faf6ee;
  --cream-alt: #f1ebdb;
  --text: #2a2e20;
  --text-soft: #5a5f4c;
  --text-inverse: #f5f1e6;
  --text-inverse-soft: #cbcab8;
  --radius: 14px;
  --shadow: 0 20px 45px -20px rgba(51, 58, 38, 0.35);
  --container: 1160px;
}

html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--olive-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--text-soft); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}
.section-alt { background: var(--cream-alt); }
.section-dark {
  background: var(--olive-900);
  color: var(--text-inverse);
}
.section-dark h2, .section-dark h3 { color: var(--text-inverse); }
.section-dark p { color: var(--text-inverse-soft); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { font-size: 1.05rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--olive-900);
  box-shadow: 0 12px 28px -10px rgba(198, 166, 94, 0.55);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: rgba(245, 241, 230, 0.4);
  color: var(--text-inverse);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--olive-700);
  color: var(--olive-900);
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51, 58, 38, 0.08);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--olive-900);
  flex: none;
}
.logo span {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(51,58,38,0.15);
  background: transparent;
  position: relative;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--olive-900);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--olive-900);
  color: var(--text-inverse);
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(198,166,94,0.28), transparent 45%),
    radial-gradient(circle at 8% 88%, rgba(198,166,94,0.14), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 720px;
}
.hero h1 {
  color: var(--text-inverse);
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-inverse-soft);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  display: flex;
  gap: 40px;
  margin-top: 72px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
}
.hero-stats div span {
  font-size: 0.85rem;
  color: var(--text-inverse-soft);
}

.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: -1px;
}

/* ============ Sobre ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-card {
  background: var(--cream);
  border: 1px solid rgba(51,58,38,0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.about-list { display: flex; flex-direction: column; gap: 18px; }
.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--text);
}
.about-list svg { flex: none; color: var(--gold); margin-top: 3px; }

/* ============ Serviços ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(51,58,38,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(198,166,94,0.5);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--olive-900);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: 0.93rem; margin: 0; }
.service-card.highlight {
  background: var(--olive-900);
  border-color: var(--olive-900);
}
.service-card.highlight h3 { color: var(--text-inverse); }
.service-card.highlight p { color: var(--text-inverse-soft); }
.service-card.highlight .service-icon {
  background: var(--gold);
  color: var(--olive-900);
}

/* ============ Suporte / Jurídico ============ */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.support-card {
  background: rgba(245,241,230,0.05);
  border: 1px solid rgba(245,241,230,0.14);
  border-radius: var(--radius);
  padding: 40px;
}
.support-card .service-icon { background: var(--gold); color: var(--olive-900); }
.support-card h3 { font-size: 1.35rem; }
.support-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.support-card ul li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-inverse-soft);
}
.support-card ul li svg { flex: none; color: var(--gold-light); margin-top: 3px; }

/* ============ Contato ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-panel {
  background: var(--olive-900);
  color: var(--text-inverse);
  padding: 64px 56px;
}
.contact-panel h2 { color: var(--text-inverse); }
.contact-panel p { color: var(--text-inverse-soft); }
.contact-side {
  background: var(--gold);
  color: var(--olive-900);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item svg { flex: none; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.contact-item span, .contact-item a { font-weight: 600; font-size: 1.05rem; text-decoration: none; color: inherit; }

/* ============ Footer ============ */
.site-footer {
  background: var(--olive-900);
  color: var(--text-inverse-soft);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(245,241,230,0.1);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245,241,230,0.1);
  margin-bottom: 20px;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--text-inverse);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,230,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-inverse);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ WhatsApp float ============ */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  text-decoration: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45), 0 14px 30px -8px rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 14px 30px -8px rgba(37,211,102,0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 14px 30px -8px rgba(37,211,102,0.6); }
}

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about-grid, .support-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 100px; }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 26px;
    border-bottom: 1px solid rgba(51,58,38,0.08);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .contact-panel, .contact-side { padding: 40px 28px; }
}
