/* ============================================================
   FAHRENHEITOUR — CAMADA VISUAL MODERNA (estilo fluido / Apple)
   Carregado DEPOIS do style.css. Só muda aparência: nenhuma
   classe, campo ou função do site foi alterada.
   Para voltar ao visual antigo: remova o <link> deste arquivo
   em includes/header.php e nas páginas do admin.
   ============================================================ */

:root {
  /* Marca (mantida) */
  --azul-fahrenheit:    #0B3D91;
  --amarelo-fahrenheit: #FFD200;
  --marrom-escuro:      #2F241E;
  --terracota:          #9A6245;
  --dourado:            #C69A4A;

  /* Superfícies */
  --bg:            #FAF8F5;
  --surface:       #FFFFFF;
  --surface-2:     #F3EFE9;
  --texto:         #1D1A17;
  --texto-2:       #6B625A;
  --texto-3:       #948A80;
  --linha:         rgba(47, 36, 30, 0.10);
  --foco:          rgba(11, 61, 145, 0.28);

  /* Tipografia: fonte do sistema (SF no Apple, Segoe no Windows) */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    var(--font-body);

  /* Forma e profundidade */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --shadow-sm:   0 1px 2px rgba(29, 26, 23, 0.06), 0 1px 1px rgba(29, 26, 23, 0.04);
  --shadow-card: 0 1px 2px rgba(29, 26, 23, 0.05), 0 8px 24px rgba(29, 26, 23, 0.07);
  --shadow-lift: 0 2px 4px rgba(29, 26, 23, 0.06), 0 18px 40px rgba(29, 26, 23, 0.12);

  /* Movimento: curva próxima de uma mola criticamente amortecida */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------------- BASE ---------------- */
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--texto);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--texto);
  font-weight: 700;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1;  letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; }
h4 { letter-spacing: -0.005em; }

p { text-wrap: pretty; }

::selection { background: rgba(255, 210, 0, 0.45); }

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 2px;
  border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--terracota);
}

/* ---------------- HEADER (material translúcido) ---------------- */
.site-header {
  background: rgba(38, 29, 24, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.rolou {
  background: rgba(38, 29, 24, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.12);
}
.site-header .container { height: 64px; }
.brand img.logo-header { height: 30px; }

.main-nav { gap: 6px; }
.main-nav a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 239, 227, 0.86);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a:active { background: rgba(255, 255, 255, 0.14); }

.main-nav .btn-primary,
.main-nav .btn-outline {
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 16px;
}
.main-nav .btn-primary {
  background: var(--amarelo-fahrenheit);
  border-color: var(--amarelo-fahrenheit);
  color: var(--marrom-escuro);
}
.main-nav .btn-primary:hover { background: #FFDC33; color: var(--marrom-escuro); }
.main-nav .btn-outline { border-color: rgba(245, 239, 227, 0.3); }

/* Botão de menu (celular) */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--creme);
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle:active { background: rgba(255, 255, 255, 0.1); }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-spring), opacity 0.2s;
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }
.menu-aberto .menu-toggle span { background: transparent; }
.menu-aberto .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-aberto .menu-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- BOTÕES (feedback no toque) ---------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 999px;
  letter-spacing: -0.005em;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease-spring), background 0.2s var(--ease-out),
              border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.btn:hover { transform: none; }
.btn:active { transform: scale(0.97); transition-duration: 0.08s; }

.btn-primary {
  background: var(--amarelo-fahrenheit);
  color: var(--marrom-escuro);
  box-shadow: 0 1px 2px rgba(47, 36, 30, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { background: #FFDC33; transform: none; }
.btn-primary:active { background: #F2C700; }

.btn-outline { border-color: rgba(245, 239, 227, 0.45); color: var(--creme); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(245, 239, 227, 0.7); color: #fff; }

.btn-dark { background: var(--marrom-escuro); color: var(--creme); }

button { font-family: inherit; }

/* ---------------- HERO ---------------- */
.hero {
  background:
    linear-gradient(100deg, rgba(29, 22, 18, 0.88) 0%, rgba(29, 22, 18, 0.62) 38%, rgba(29, 22, 18, 0.22) 72%, rgba(29, 22, 18, 0.05) 100%),
    url('https://images.unsplash.com/photo-1563789031959-4c02bcb41319?fm=jpg&q=80&w=2000&auto=format&fit=crop') center 65% / cover no-repeat;
  padding: clamp(80px, 12vw, 140px) 0 clamp(100px, 13vw, 150px);
  margin-top: -64px;           /* a foto passa por baixo do cabeçalho translúcido */
  padding-top: calc(clamp(80px, 12vw, 140px) + 64px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.4em;
  text-wrap: balance;
}
.hero p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.005em;
}
.hero .eyebrow { color: var(--amarelo-fahrenheit); font-size: 0.85rem; }
.hero-actions { flex-wrap: wrap; gap: 12px; }

/* Card do hero: vidro sobre a foto */
.hero-stat-card {
  background: rgba(29, 22, 18, 0.42);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: var(--font-body);
  padding: 8px 22px;
}
.hero-stat-card .stat-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}
.hero-stat-card .stat-value {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Card fica dentro da foto (o vidro precisa da imagem por trás) */
.hero-stat-card { bottom: 0; right: 24px; width: 290px; }
@media (max-width: 860px) { .hero-stat-card { position: static; width: 100%; } }

/* Aviões do hero: mais sutis */
.hero-flightpaths { opacity: 0.7; }
.hero-plane { transition: offset-distance 2.2s var(--ease-spring); }

/* ---------------- DIVISOR ---------------- */
.ticket-divider { gap: 16px; }
.ticket-divider .dots { border-top: 1px solid var(--linha); }
.ticket-divider .plane {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--texto-3);
}

/* ---------------- SEÇÕES ---------------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--texto-2); font-size: 1.02rem; }

/* ---------------- CARDS DE PAÍS ---------------- */
.paises-grid { gap: 24px; }

.pais-card {
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}
.pais-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pais-card:active { transform: scale(0.985); transition-duration: 0.12s; }

.pais-card .img-wrap { height: 220px; }
.pais-card .img-wrap img { transition: transform 0.8s var(--ease-spring); }
.pais-card:hover .img-wrap img { transform: scale(1.04); }

.stamp {
  width: auto; height: auto;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(29, 22, 18, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: none;
  color: #fff;
}

.pais-card .body { padding: 20px 22px 22px; }
.pais-card .continente {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--terracota);
}
.pais-card h3 { font-size: 1.35rem; letter-spacing: -0.015em; }
.pais-card p { color: var(--texto-2); font-size: 0.95rem; line-height: 1.5; }
.pais-card .ver-mais { color: var(--azul-fahrenheit); font-weight: 600; font-size: 0.92rem; }
.pais-card .ver-mais { transition: gap 0.3s var(--ease-spring); }
.pais-card:hover .ver-mais { gap: 10px; }

/* ---------------- PÁGINA DO PAÍS / SOBRE ---------------- */
.pais-hero {
  background: linear-gradient(180deg, #2A201B 0%, var(--marrom-escuro) 100%);
  padding: calc(clamp(56px, 8vw, 96px) + 64px) 0 clamp(48px, 7vw, 80px);
  margin-top: -64px;
}
.pais-hero h1 { color: #fff; }
.pais-hero p.lede, .pais-hero .lede { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; line-height: 1.6; }
.pais-hero .eyebrow, .pais-hero .continente-tag { color: var(--amarelo-fahrenheit); }

.mapa-container {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: clamp(340px, 55vh, 520px);
}
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  font-family: var(--font-body);
  box-shadow: var(--shadow-lift);
}
.popup-destino h4 { font-family: var(--font-display); font-weight: 650; }
.leaflet-control-zoom a { border-radius: 8px !important; }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-card) !important; border-radius: 10px !important; overflow: hidden; }

/* Abas de transporte: controle segmentado */
.transporte-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border-radius: 999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.transporte-tabs::-webkit-scrollbar { display: none; }
.transporte-tab {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  white-space: nowrap;
  color: var(--texto-2);
  transition: background 0.25s var(--ease-spring), color 0.2s, box-shadow 0.25s, transform 0.15s var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.transporte-tab:hover { color: var(--texto); }
.transporte-tab:active { transform: scale(0.97); }
.transporte-tab.ativo {
  background: var(--surface);
  color: var(--texto);
  box-shadow: 0 1px 3px rgba(29, 26, 23, 0.12), 0 1px 1px rgba(29, 26, 23, 0.06);
}

.conexao-item {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  background: var(--surface);
}
.conexao-rota { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; color: var(--texto); }
.conexao-meta { font-family: var(--font-body); font-size: 0.85rem; color: var(--texto-2); }
.conexao-obs { color: var(--texto-2); }
.conexao-btn-busca, .conexao-btn-contato {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 16px;
  min-height: 38px;
  transition: transform 0.18s var(--ease-spring), background 0.2s, color 0.2s;
}
.conexao-btn-busca:hover, .conexao-btn-contato:hover { transform: none; }
.conexao-btn-busca:active, .conexao-btn-contato:active { transform: scale(0.97); }

/* Galeria */
.galeria-grid { gap: 12px; }
.galeria-grid img {
  height: 200px;
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring), opacity 0.2s;
}
.galeria-grid img:hover { opacity: 1; transform: scale(1.02); box-shadow: var(--shadow-lift); }

/* Pacotes */
.pacote-card {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  background: var(--surface);
  transition: box-shadow 0.4s var(--ease-spring);
}
.pacote-card:hover { box-shadow: var(--shadow-lift); }
.pacote-card .preco {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--texto);
  font-variant-numeric: tabular-nums;
}
.pacote-card .preco small { color: var(--texto-3); font-size: 0.75rem; font-weight: 500; letter-spacing: 0; }

/* ---------------- RELATOS ---------------- */
.relatos-grid { gap: 24px; }
.relato-card {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--surface);
}
.relato-foto { height: 210px; }
.relato-foto img { transition: transform 0.8s var(--ease-spring); }
.relato-foto-clicavel:hover img { transform: scale(1.04); }
.relato-body { padding: 20px 22px 22px; }
.relato-meta { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; color: var(--texto-3); }
.relato-body p { color: var(--texto-2); line-height: 1.55; }
.relato-video-link, .relato-video-abrir { color: var(--azul-fahrenheit); font-weight: 600; font-family: var(--font-body); }
.relato-foto-zoom {
  background: rgba(29, 22, 18, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-weight: 600;
  padding: 6px 12px;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.35s var(--ease-spring);
}
.relato-foto-clicavel:hover .relato-foto-zoom { transform: none; }

.relato-form-wrap {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
}

/* Lightbox: escurece + desfoca o fundo e "materializa" o conteúdo */
.lightbox-overlay {
  background: rgba(20, 15, 12, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.lightbox-overlay.aberto { animation: lb-fundo 0.3s var(--ease-out); }
.lightbox-overlay.aberto .lightbox-conteudo { animation: lb-surgir 0.45s var(--ease-spring); }
@keyframes lb-fundo  { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-surgir { from { opacity: 0; transform: scale(0.94); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

.lightbox-fechar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s var(--ease-spring);
}
.lightbox-fechar:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-fechar:active { transform: scale(0.92); }
#lightbox-imagem { border-radius: var(--radius); }
.lightbox-video-wrap iframe { border-radius: var(--radius); }
#lightbox-video-fallback { border-radius: var(--radius); }

/* ---------------- FORMULÁRIOS ---------------- */
.form-card {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 44px);
  margin: clamp(32px, 8vh, 72px) auto;
  width: calc(100% - 32px);
  background: var(--surface);
}
.form-card h1, .form-card h2 { font-size: clamp(1.7rem, 4vw, 2.1rem); }

.form-group { margin-bottom: 16px; }
.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;                /* 16px evita zoom automático no iPhone */
  padding: 12px 14px;
  min-height: 46px;
  border: 1px solid rgba(47, 36, 30, 0.16);
  border-radius: 12px;
  background: var(--surface);
  color: var(--texto);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  -webkit-appearance: auto; appearance: auto;
  min-height: 0; width: auto; padding: 0;
  accent-color: var(--azul-fahrenheit);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236B625A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group input[type="file"] { padding: 10px; min-height: 0; background: var(--surface-2); border-style: dashed; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--texto-3); }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: rgba(47, 36, 30, 0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--azul-fahrenheit);
  box-shadow: 0 0 0 4px var(--foco);
}
/* Validação em linha: só marca erro depois que a pessoa mexeu no campo */
.form-group input.tocado:invalid,
.form-group textarea.tocado:invalid {
  border-color: #C2410C;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.14);
}

.alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  border: 0;
  animation: alerta-surgir 0.4s var(--ease-spring);
}
.alert-erro    { background: #FDECE7; color: #8A2E12; }
.alert-sucesso { background: #E9F5EC; color: #1E6B3A; }
@keyframes alerta-surgir { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Estado "enviando" nos botões de formulário */
.btn.enviando { opacity: 0.7; pointer-events: none; }

/* ---------------- BADGES ---------------- */
.badge { padding: 4px 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; }
.badge-ativo   { background: #E3F3E8; color: #1E6B3A; }
.badge-inativo { background: #FBE6E4; color: #9B2C23; }

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: #1F1814;
  color: rgba(245, 239, 227, 0.62);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer div[style*="font-family:var(--font-mono)"] {
  font-family: var(--font-body) !important;
  font-weight: 600;
  letter-spacing: 0.06em !important;
}
.footer-grid { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid > div > div { line-height: 1.9; }

/* ---------------- ADMIN ---------------- */
.admin-shell { background: #F4F1EC; }
.admin-sidebar {
  width: 248px;
  background: #221A16;
  padding: 22px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .brand { padding: 4px 10px; margin-bottom: 26px; }
.admin-sidebar nav a {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(245, 239, 227, 0.72);
  margin-bottom: 2px;
  transition: background 0.2s, color 0.2s;
}
.admin-sidebar nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-sidebar nav a.ativo { background: rgba(255, 210, 0, 0.14); color: var(--amarelo-fahrenheit); font-weight: 600; }
.admin-sidebar nav a:active { transform: scale(0.98); }

.admin-main { padding: clamp(20px, 3.5vw, 40px) clamp(16px, 3.5vw, 44px); min-width: 0; }
.admin-topbar { margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.admin-topbar h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.admin-topbar span { font-family: var(--font-body) !important; color: var(--texto-2) !important; }

/* Painéis brancos do admin (definidos inline nas páginas) */
.admin-main div[style*="box-shadow:var(--shadow-card)"] {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-card) !important;
}
.admin-main div[style*="font-family:var(--font-mono)"] {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.admin-main img[style*="border-radius:4px"] { border-radius: 10px !important; }
.admin-main a[style*="color:var(--horizon-teal)"] { transition: opacity 0.2s; }
.admin-main a[style*="color:var(--horizon-teal)"]:hover { opacity: 0.7; }
.admin-main .btn-outline { color: var(--texto); border-color: rgba(47, 36, 30, 0.2); }
.admin-main .btn-outline:hover { background: rgba(47, 36, 30, 0.05); color: var(--texto); }

/* Tabelas */
.tabela-rolagem { width: 100%; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-card); background: var(--surface); }
.tabela {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-collapse: separate;
  border-spacing: 0;
}
.tabela th {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--texto-2);
  background: #FAF8F5;
  padding: 12px 16px;
}
.tabela td { font-size: 0.92rem; padding: 13px 16px; vertical-align: middle; }
.tabela th, .tabela td { border-bottom: 1px solid var(--linha); }
.tabela tbody tr { transition: background 0.15s; }
.tabela tbody tr:hover { background: #FBFAF8; }

/* ---------------- ANIMAÇÃO DE ENTRADA AO ROLAR ---------------- */
.js-anim .revelar {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-spring);
}
.js-anim .revelar.visivel { opacity: 1; transform: none; }

/* ---------------- CELULAR ---------------- */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }

  .main-nav {
    display: flex;
    position: absolute;
    top: 64px; left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: rgba(38, 29, 24, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform-origin: top right;       /* nasce do botão que abriu */
    opacity: 0;
    transform: scale(0.94) translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.35s var(--ease-spring), visibility 0s linear 0.35s;
  }
  .menu-aberto .main-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s var(--ease-out), transform 0.35s var(--ease-spring), visibility 0s;
  }
  .main-nav a { font-size: 1rem; padding: 13px 14px; border-radius: 12px; }
  .main-nav .btn-primary, .main-nav .btn-outline { margin: 6px 0 0; justify-content: center; padding: 13px 16px; }

  .hero-stat-card { margin-top: 36px; }
  .pacote-card { align-items: flex-start; }
  .pacote-card .btn { width: 100%; justify-content: center; }

  /* Admin: menu vira uma faixa rolável no topo */
  .admin-sidebar { position: sticky; top: 0; height: auto; width: 100%; padding: 12px; z-index: 20; }
  .admin-sidebar .brand { margin-bottom: 10px; }
  .admin-sidebar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .admin-sidebar nav::-webkit-scrollbar { display: none; }
  .admin-sidebar nav a { white-space: nowrap; margin: 0 !important; }
  .admin-main div[style*="grid-template-columns:2fr 1fr 1fr"],
  .admin-main div[style*="grid-template-columns:1fr 1fr 1fr"],
  .admin-main div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .tabela { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------------- ACESSIBILIDADE ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js-anim .revelar { opacity: 1; transform: none; }
  .hero-plane, .hero-flightpaths { display: none; }
  .btn:active, .pais-card:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .site-header.rolou, .main-nav { background: #261D18; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-stat-card { background: rgba(29, 22, 18, 0.9); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stamp, .relato-foto-zoom, .lightbox-fechar { background: rgba(29, 22, 18, 0.85); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lightbox-overlay { background: rgba(20, 15, 12, 0.95); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --texto-2: #3E3731; --texto-3: #574E46; --linha: rgba(47, 36, 30, 0.35); }
  .pais-card, .pacote-card, .relato-card, .form-card, .conexao-item { outline: 1px solid rgba(47, 36, 30, 0.4); }
  .form-group input, .form-group select, .form-group textarea { border-color: rgba(47, 36, 30, 0.6); }
}
