@import url('tokens.css');

/**
 * ==============================================================================
 * PHM TECH — PHM TRAVELS (CSS DEDICADO & DESIGN SYSTEM DE VIAGENS)
 * Arquitetura Isolada: Consome tokens.css
 * Prof. Paulo Henrique Maciel · PHM Tech
 * ==============================================================================
 */

/* ==========================================================================
   1. SEÇÕES E ALTERNÂNCIA DE SUPERFÍCIES DO TRAVELS
   ========================================================================== */

/* Seção 1: Hero & Banner com Caixas Balanceadas e Abas */
.travel-section-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0 1.25rem 0;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Seção 2: Conteúdo Interativo das Abas de Planejamento */
.travel-section-content {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 3.5rem 0;
  position: relative;
  min-height: 650px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Seção 3: Guia Didático de Turismo & Planejamento */
.travel-section-guide {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* ==========================================================================
   2. HERO BANNER INSPIRACIONAL & CAIXAS DE MESMO TAMANHO RIGOROSO
   ========================================================================== */

.travel-hero-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #091226 url('../imagens/viagem-cover.png') center center / cover no-repeat;
  padding: 1.75rem 2.25rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Ambas as caixas com tamanho rigorosamente idêntico e letras aumentadas */
.hero-banner-content,
.hero-sponsor-card {
  width: 440px;
  max-width: 100%;
  min-height: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem !important;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.hero-banner-content {
  border: 1px solid var(--line-color);
}

.hero-sponsor-card {
  border: 1.5px dashed var(--gold);
  gap: 0.35rem;
}

/* Tipografia Maior e Nítida - Caixa 1 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.14);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
  border: 1px solid var(--line-color);
  width: fit-content;
}

.hero-banner-content h2 {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif) !important;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  margin: 0 0 0.4rem 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

.hero-banner-content p {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Tipografia Maior e Nítida - Caixa 2 (Patrocinador) */
.hero-sponsor-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.35rem;
}

.sponsor-tag {
  background: var(--gold);
  color: #000000;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sponsor-brand-title {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif) !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  color: var(--text-main) !important;
  margin: 0 0 0.4rem 0 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
}

.sponsor-brand-desc {
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* ==========================================================================
   3. SEÇÃO DIDÁTICA: GUIA DE VIAGENS & TURISMO INTELIGENTE
   ========================================================================== */

.travel-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 1000px) {
  .travel-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .travel-guide-grid {
    grid-template-columns: 1fr;
  }
}

.travel-guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.travel-guide-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.travel-guide-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.travel-guide-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.travel-guide-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}



/* ==========================================================================
   PHM TRAVELS — PLANEJADOR INTELIGENTE DE VIAGENS & ROTEIROS CLIMÁTICOS
   3 Temas de Cores: Claro · Sépia · Escuro (Padrão Profissional)
   Prof. Paulo Henrique Maciel · PHM Tech
   ========================================================================== */

/* 1. TEMA ESCURO (PADRÃO / DEEP NAVY INSTITUCIONAL) */
:root, [data-theme="dark"] {
  --bg-main: #060b17;
  --bg-card: #0b1329;
  --bg-card-hover: #111c3a;
  --bg-surface: #0b1329;
  --bg-input: #060b17;
  --bg-glass: rgba(6, 11, 23, 0.75);
  --line-color: #1e2e5c;
  --line-light: #2a3e75;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan: #38bdf8;
  --blue: #38bdf8;
  --gold: #fbbf24;
  --emerald: #2dd4bf;
  --rose: #f43f5e;
  --violet: #a855f7;
  --amber: #f59e0b;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.18);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;

  color-scheme: dark;
}

/* 2. TEMA CLARO */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-input: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.02);
  --line-color: #cbd5e1;
  --line-light: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --cyan: #0284c7;
  --blue: #1d4ed8;
  --gold: #b45309;
  --emerald: #059669;
  --rose: #e11d48;
  --violet: #7c3aed;
  --amber: #d97706;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;

  color-scheme: light;
}

/* 3. TEMA SÉPIA */
[data-theme="sepia"] {
  --bg-main: #f5eee1;
  --bg-card: #fbf7ee;
  --bg-card-hover: #eae1cf;
  --bg-surface: #fbf7ee;
  --bg-input: #ffffff;
  --bg-glass: rgba(62, 50, 35, 0.03);
  --line-color: #dfd4bf;
  --line-light: #cfc0a6;

  --text-main: #2e2116;
  --text-muted: #463425;
  --text-dim: #75604e;

  --cyan: #9b6528;
  --blue: #8b5523;
  --gold: #b45309;
  --emerald: #2e7d32;
  --rose: #c2410c;
  --violet: #6b21a8;
  --amber: #b45309;

  --shadow-sm: 0 4px 12px rgba(62, 50, 35, 0.08);
  --shadow-md: 0 10px 30px rgba(62, 50, 35, 0.12);
  --shadow-glow: 0 0 25px rgba(155, 101, 40, 0.15);
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;

  color-scheme: light;
}

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

body {
  font-family: var(--font-body, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* CABEÇALHO */
.app-header {
  position: sticky;
  top: 0;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.header-top-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.logo-area:hover .logo-icon {
  transform: rotate(-10deg) scale(1.08);
  border-color: var(--cyan);
}

.logo-text h1 {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
}

.logo-text h1 span {
  color: var(--cyan);
}

.logo-text p {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* SELETOR DE TEMAS */
.theme-switcher-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: 4px;
  padding: 2px 4px;
  flex-shrink: 0;
}

.theme-pill-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.theme-pill-btn:hover {
  color: var(--text-main);
}

.theme-pill-btn.active {
  background: var(--cyan);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   ESTILIZAÇÃO HARMONIOSA E ELEGANTE DE TODOS OS BOTÕES DE AÇÃO
   ========================================================================== */
.btn-header-action, .btn-download-zip, .btn-back-hub, .btn-header-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 32px;
  min-height: 32px;
  max-height: 32px;
  padding: 0 0.7rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--line-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-header-action:hover, .btn-download-zip:hover, .btn-back-hub:hover, .btn-header-primary:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--cyan);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-header-action:active, .btn-download-zip:active, .btn-back-hub:active, .btn-header-primary:active {
  transform: translateY(0);
}

.btn-header-action svg, .btn-download-zip svg, .btn-back-hub svg, .btn-header-primary svg {
  color: var(--cyan);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-header-action:hover svg, .btn-download-zip:hover svg, .btn-back-hub:hover svg, .btn-header-primary:hover svg {
  transform: scale(1.1);
}

/* TEMA CLARO: BOTÕES BEM DEFINIDOS */
[data-theme="light"] .btn-header-action,
[data-theme="light"] .btn-download-zip,
[data-theme="light"] .btn-back-hub,
[data-theme="light"] .btn-header-primary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .btn-header-action:hover,
[data-theme="light"] .btn-download-zip:hover,
[data-theme="light"] .btn-back-hub:hover,
[data-theme="light"] .btn-header-primary:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}

/* TEMA SÉPIA: BOTÕES BEM DEFINIDOS COM CONTRASTE ACOLHEDOR */
[data-theme="sepia"] .btn-header-action,
[data-theme="sepia"] .btn-download-zip,
[data-theme="sepia"] .btn-back-hub,
[data-theme="sepia"] .btn-header-primary {
  background: #ffffff;
  border-color: #dfd5c5;
  color: #3e3223;
  box-shadow: 0 2px 4px rgba(62, 50, 35, 0.06);
}

[data-theme="sepia"] .btn-header-action:hover,
[data-theme="sepia"] .btn-download-zip:hover,
[data-theme="sepia"] .btn-back-hub:hover,
[data-theme="sepia"] .btn-header-primary:hover {
  background: #fbf8f3;
  border-color: #9b6528;
  color: #9b6528;
  box-shadow: 0 4px 10px rgba(155, 101, 40, 0.12);
}

/* TEMA NOTURNO: BOTÕES COM CONTRASTE ELEGANTE */
[data-theme="dark"] .btn-header-action,
[data-theme="dark"] .btn-download-zip,
[data-theme="dark"] .btn-back-hub,
[data-theme="dark"] .btn-header-primary {
  background: #111a2e;
  border-color: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .btn-header-action:hover,
[data-theme="dark"] .btn-download-zip:hover,
[data-theme="dark"] .btn-back-hub:hover,
[data-theme="dark"] .btn-header-primary:hover {
  background: #18233c;
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.18);
}

/* CONTAINER PRINCIPAL */
.main-container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem 1.5rem;
  flex: 1;
}



/* ==========================================================================
   NAVEGAÇÃO POR ABAS EM LINHA ÚNICA
   ========================================================================== */
.tabs-navigation-bar {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0;
  margin-bottom: 0;
  scrollbar-width: thin;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  color: var(--text-muted);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--cyan);
}

.tab-btn.active {
  background: var(--cyan);
  color: #ffffff;
  border-color: var(--cyan);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .tab-btn.active {
  background: #0284c7;
  color: #ffffff;
}

[data-theme="sepia"] .tab-btn.active {
  background: #9b6528;
  color: #ffffff;
}

/* CONTEÚDO DAS ABAS */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* CARDS DE SEÇÃO */
.flow-section-card {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.flow-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.flow-title-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flow-step-num {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-title-box h3 {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.flow-title-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* FORMULÁRIOS */
.form-grid-3cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-grid-4cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

/* COMBOBOX */
.combobox-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.combobox-toggle-btn {
  position: absolute;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  border-radius: 4px;
}

.combobox-toggle-btn:hover {
  color: var(--text-main);
}

.combobox-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  margin-top: 4px;
  z-index: 50;
  box-shadow: var(--shadow-md);
  display: none;
}

.combobox-dropdown.show {
  display: block;
}

.combobox-item {
  padding: 0.6rem 0.95rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-main);
  transition: background 0.15s ease;
}

.combobox-item:hover {
  background: var(--bg-card-hover);
  color: var(--cyan);
}

/* STEPPER DE VIAJANTES */
.travelers-stepper-control {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stepper-btn {
  width: 40px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.stepper-btn:hover {
  background: var(--cyan);
  color: #ffffff;
  border-color: var(--cyan);
}

.stepper-input {
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
}

/* ALERTA DE RECOMENDAÇÕES */
.disclaimer-alert-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* INSIGHTS DE CLIMA */
.climate-insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.climate-insight-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  min-width: 0;
  max-width: 100%;
}

.climate-insight-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.climate-insight-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   CARDS DE SELEÇÃO DE MEIO DE TRANSPORTE (DESIGN MODERNO & REFINADO)
   ========================================================================== */
.transport-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.transport-option-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  user-select: none;
}

.transport-option-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.transport-option-card.selected {
  border-color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3), var(--shadow-md);
}

.transport-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all 0.25s ease;
}

.transport-icon svg {
  width: 22px;
  height: 22px;
}

.transport-option-card:hover .transport-icon,
.transport-option-card.selected .transport-icon {
  background: var(--cyan);
  color: #ffffff;
  transform: scale(1.08);
}

.transport-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* TEMA SÉPIA: CONTRASTE ACOLHEDOR & PATROCINADOR MASTER EM BRANCO */




[data-theme="sepia"] .transport-option-card {
  background: #fbf8f3;
  border-color: #dfd5c5;
}

[data-theme="sepia"] .transport-option-card:hover {
  border-color: #9b6528;
  background: #fdfbf7;
}

[data-theme="sepia"] .transport-option-card.selected {
  background: #f5eedb;
  border-color: #9b6528;
  box-shadow: 0 0 0 2px rgba(155, 101, 40, 0.3), var(--shadow-sm);
}

[data-theme="sepia"] .transport-icon {
  background: rgba(155, 101, 40, 0.12);
  color: #9b6528;
}

[data-theme="sepia"] .transport-option-card:hover .transport-icon,
[data-theme="sepia"] .transport-option-card.selected .transport-icon {
  background: #9b6528;
  color: #ffffff;
}

/* TEMA CLARO: BOTÕES DE TRANSPORTE ELEGANTES */
[data-theme="light"] .transport-option-card {
  background: #ffffff;
  border-color: #cbd5e1;
}

[data-theme="light"] .transport-option-card:hover {
  border-color: #0284c7;
  background: #f8fafc;
}

[data-theme="light"] .transport-option-card.selected {
  background: rgba(2, 132, 199, 0.08);
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25), var(--shadow-sm);
}

[data-theme="light"] .transport-icon {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

[data-theme="light"] .transport-option-card:hover .transport-icon,
[data-theme="light"] .transport-option-card.selected .transport-icon {
  background: #0284c7;
  color: #ffffff;
}

/* BAGAGEM & CHECKLIST COM PADRONIZAÇÃO DE QTD E AÇÕES */
.baggage-progress-container {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.progress-bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #10b981);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.baggage-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.baggage-cat-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}

.baggage-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-light);
}

.baggage-cat-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.baggage-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.baggage-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-light);
  font-size: 0.86rem;
  color: var(--text-main);
  gap: 0.75rem;
  transition: all 0.15s ease;
}

.baggage-item-row:hover {
  border-color: var(--line-color);
  background: var(--bg-card-hover);
}

.baggage-item-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
}

.baggage-item-left input[type="checkbox"] {
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--cyan);
  flex-shrink: 0;
}

.baggage-item-title {
  word-break: break-word;
  line-height: 1.35;
}

.baggage-item-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.baggage-qty-chip {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  min-width: 62px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.baggage-stepper-group {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.baggage-stepper-group .stepper-btn {
  width: 26px;
  height: 26px;
  font-size: 0.95rem;
  padding: 0;
  border-radius: 6px;
}

/* PASSEIOS */
.tours-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.tour-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: relative;
  transition: all 0.2s ease;
}

.tour-item-card.has-conflict {
  border-color: #facc15 !important;
  background: rgba(234, 179, 8, 0.06);
}

.tour-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.tour-card-header h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.tour-delete-btn {
  background: transparent;
  border: none;
  color: var(--rose);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}

.tour-delete-btn:hover {
  background: rgba(244, 63, 94, 0.15);
}

.tour-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.tour-partner-box {
  margin-top: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px dashed var(--line-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.tour-partner-label {
  color: var(--text-muted);
  font-weight: 600;
}

.tour-partner-name {
  color: var(--cyan);
  font-weight: 800;
}

/* HOSPEDAGEM & PARCEIRO HOTEL */
.hotel-partner-featured-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.partner-hotel-badge {
  background: var(--gold);
  color: #000000;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  white-space: nowrap;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.partner-hotel-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* TEMAS CLARO & SÉPIA: LETRAS BRANCAS EM 'PATROCINADOR MASTER' E 'PARCEIRO OFICIAL' */
[data-theme="light"] .sponsor-tag,
[data-theme="sepia"] .sponsor-tag,
[data-theme="light"] .partner-hotel-badge,
[data-theme="sepia"] .partner-hotel-badge {
  color: #ffffff !important;
  font-weight: 800;
}

[data-theme="light"] .sponsor-tag svg,
[data-theme="sepia"] .sponsor-tag svg,
[data-theme="light"] .partner-hotel-badge svg,
[data-theme="sepia"] .partner-hotel-badge svg {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.lodging-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.lodging-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ORÇAMENTO & KPIS */
.budget-kpis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.budget-kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  text-align: center;
}

.budget-kpi-card .kpi-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.budget-kpi-card .kpi-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
}

.budget-overview-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.budget-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.expenses-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.expenses-table th {
  text-align: left;
  padding: 0.65rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-color);
  font-weight: 700;
}

.expenses-table td {
  padding: 0.65rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--text-main);
}

/* RESUMO EXECUTIVO */
.grand-save-action-bar {
  background: var(--bg-surface);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.grand-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.tab-navigation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}

/* ==========================================================================
   MODAIS E TOAST CENTRALIZADO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-serif, 'Newsreader', Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-body {
  padding: 1.35rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 0.95rem 1.35rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
}

/* TOAST CENTRALIZADO E REBAIXADO (NÃO COBRE BOTÕES DO CABEÇALHO) */
.toast-notification.toast-centered, .app-toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  background: var(--bg-card);
  color: var(--text-main);
  border: 1.5px solid var(--emerald);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 16px rgba(16, 185, 129, 0.2);
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.toast-centered svg, .app-toast svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.toast-notification.toast-centered.show, .app-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* RODAPÉ */
.app-footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* IMPRESSÃO DE ALTA FIDELIDADE */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 10.5pt;
  }
  .app-header, .travel-hero-banner, .tabs-navigation-bar, .tab-navigation-footer, .grand-save-action-bar, .app-footer, .btn-header-action, .btn-download-zip, .btn-back-hub, .combobox-toggle-btn, .modal-overlay, .theme-switcher-pill {
    display: none !important;
  }
  .main-container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .tab-pane {
    display: block !important;
    margin-bottom: 1.5rem !important;
  }
  .flow-section-card {
    border: 1px solid #999999 !important;
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }
  h1, h2, h3, h4, strong, span, p, label, td, th {
    color: #000000 !important;
  }
}

/* ALERTAS E AVISOS COM ALTO CONTRASTE EM TODOS OS TEMAS (CLARO, SÉPIA E ESCURO) */
.disclaimer-alert-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-size: 0.85rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.disclaimer-alert-box svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.alert-box-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: #991b1b !important;
  font-size: 0.85rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.alert-box-danger svg {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

[data-theme="dark"] .alert-box-danger {
  color: #fca5a5 !important;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}
[data-theme="dark"] .alert-box-danger svg {
  color: #f87171;
}

[data-theme="sepia"] .alert-box-danger {
  color: #7f1d1d !important;
  background: rgba(185, 28, 28, 0.12);
  border-color: rgba(185, 28, 28, 0.35);
}
[data-theme="sepia"] .alert-box-danger svg {
  color: #991b1b;
}

/* CARDS DE ESPAÇO PUBLICITÁRIO DE HOSPEDAGEM & PASSEIOS (3 ESPAÇOS COMERCIAIS) */
.lodging-ad-slot-card {
  background: var(--bg-surface);
  border: 1px dashed var(--line-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: all 0.2s ease;
}

.lodging-ad-slot-card:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
}

.lodging-ad-slot-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.lodging-ad-slot-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
/* ==========================================================================
   RESPONSIVIDADE COMPLETA PARA SMARTPHONES E TELAS MENORES
   ========================================================================== */
@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
  }

  .header-top-row {
    width: 100%;
    justify-content: space-between;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
  }

  .btn-header-action {
    width: 100%;
    justify-content: center;
    padding: 0 0.35rem;
    font-size: 0.74rem;
  }
}

@media (max-width: 640px) {
  .header-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .btn-header-action {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    font-size: 0.76rem;
    padding: 0 0.5rem;
  }

  .logo-text p {
    display: none;
  }

  .header-actions > *,
  .btn-header-action,
  .nav-pref-trigger,
  .form-grid-3cols > *,
  .form-group,
  .combobox-wrapper,
  .form-control {
    min-width: 0;
    max-width: 100%;
  }

  .btn-header-action,
  .nav-pref-trigger,
  .combobox-wrapper,
  .form-control {
    width: 100%;
  }
}

/* Form de transporte multimodal responsivo */
.transport-form-grid {
  display: grid;
  grid-template-columns: 160px 1fr 160px auto;
  gap: 0.85rem;
  align-items: flex-end;
}

@media (max-width: 820px) {
  .transport-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .transport-form-grid {
    grid-template-columns: 1fr;
  }
}

/* P1-10 — contraste WCAG AA em superfícies claras */
:root:not([data-theme="dark"]) .hero-badge { color: #075985 !important; }
:root:not([data-theme="dark"]) .tab-btn.active { background: #075985 !important; border-color: #075985 !important; }
:root:not([data-theme="dark"]) .flow-step-num,
:root:not([data-theme="dark"]) #plan-duration-preview { color: #075985 !important; }
:root:not([data-theme="dark"]) .footer-brand-sep { color: #64748b !important; }
[data-theme="sepia"] { --text-dim: #5f4933; }
[data-theme="dark"] { --text-dim: #cbd5e1; }
[data-theme="dark"] .tab-btn.active { background: #075985 !important; border-color: #075985 !important; }

/* ==========================================================================
   CABEÇALHO CANÔNICO DO ECOSSISTEMA PHM TECH — BOTÕES GHOST & NAVEGAÇÃO
   ========================================================================== */
.phm-ecosystem-header .phm-ecosystem-header__inner,
.phm-ecosystem-header .nav-wrap {
  justify-content: flex-start !important;
}

.phm-ecosystem-header .phm-projects-menu > summary,
.phm-ecosystem-header .phm-hub-back {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-soft, #475569) !important;
  transition: all 0.15s ease;
}

.phm-ecosystem-header .phm-projects-menu > summary::-webkit-details-marker {
  display: none !important;
}

.phm-ecosystem-header .phm-projects-menu > summary span,
.phm-ecosystem-header .phm-projects-menu > summary svg:last-child,
.phm-ecosystem-header .phm-hub-back span {
  display: none !important;
}

.phm-ecosystem-header .phm-projects-menu > summary svg:first-child,
.phm-ecosystem-header .phm-hub-back svg {
  margin: 0 !important;
}

.phm-ecosystem-header .phm-projects-menu > summary:hover,
.phm-ecosystem-header .phm-projects-menu[open] > summary,
.phm-ecosystem-header .phm-hub-back:hover {
  border-color: var(--line, #e2e8f0) !important;
  background: var(--surface-soft, #f1f5f9) !important;
  color: var(--teal, #0d9488) !important;
}

[data-theme="dark"] .phm-ecosystem-header .phm-projects-menu > summary,
[data-theme="dark"] .phm-ecosystem-header .phm-hub-back {
  color: #94a3b8 !important;
}

[data-theme="dark"] .phm-ecosystem-header .phm-projects-menu > summary:hover,
[data-theme="dark"] .phm-ecosystem-header .phm-projects-menu[open] > summary,
[data-theme="dark"] .phm-ecosystem-header .phm-hub-back:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #2dd4bf !important;
}

[data-theme="sepia"] .phm-ecosystem-header .phm-projects-menu > summary,
[data-theme="sepia"] .phm-ecosystem-header .phm-hub-back {
  color: #715842 !important;
}

[data-theme="sepia"] .phm-ecosystem-header .phm-projects-menu > summary:hover,
[data-theme="sepia"] .phm-ecosystem-header .phm-projects-menu[open] > summary,
[data-theme="sepia"] .phm-ecosystem-header .phm-hub-back:hover {
  background: rgba(67, 52, 34, 0.08) !important;
  border-color: rgba(67, 52, 34, 0.15) !important;
  color: #78350f !important;
}

.phm-ecosystem-header .menu-toggle {
  display: none !important;
}

@media (max-width: 900px) {
  .phm-ecosystem-header .menu-toggle {
    display: inline-flex !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--text-soft, #475569) !important;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .phm-ecosystem-header .menu-toggle:hover {
    border-color: var(--line, #e2e8f0) !important;
    background: var(--surface-soft, #f1f5f9) !important;
    color: var(--teal, #0d9488) !important;
  }
  [data-theme="dark"] .phm-ecosystem-header .menu-toggle {
    color: #94a3b8 !important;
  }
  [data-theme="dark"] .phm-ecosystem-header .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #2dd4bf !important;
  }
  [data-theme="sepia"] .phm-ecosystem-header .menu-toggle {
    color: #715842 !important;
  }
  [data-theme="sepia"] .phm-ecosystem-header .menu-toggle:hover {
    background: rgba(67, 52, 34, 0.08) !important;
    border-color: rgba(67, 52, 34, 0.15) !important;
    color: #78350f !important;
  }
  .phm-ecosystem-header .header-editorial-nav {
    display: none !important;
  }
  .phm-ecosystem-header .header-editorial-nav.open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface, #0f172a);
    border-bottom: 1px solid var(--line-color, rgba(255, 255, 255, 0.1));
    padding: 1rem 1.25rem;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
  }
  .phm-ecosystem-header .header-editorial-nav.open .header-nav-link {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.85rem !important;
    border-radius: 4px !important;
  }
  [data-theme="light"] .phm-ecosystem-header .header-editorial-nav.open {
    background: #ffffff;
    border-bottom-color: var(--line, #e2e8f0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
  [data-theme="sepia"] .phm-ecosystem-header .header-editorial-nav.open {
    background: #f4ecdc;
    border-bottom-color: var(--line, #e2e8f0);
    box-shadow: 0 10px 25px rgba(67, 52, 34, 0.12);
  }
}

body.travel-app-body {
  overflow-x: hidden;
}

.phm-ecosystem-header {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .phm-ecosystem-header .phm-ecosystem-header__inner {
    padding-inline: 0.35rem !important;
    gap: 0.2rem !important;
  }
  .phm-ecosystem-header .nav-left-cluster {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .phm-ecosystem-header .app-logo-wordmark {
    height: 20px !important;
    max-width: 85px !important;
    width: auto !important;
  }
  .phm-ecosystem-header .nav-cluster-divider {
    display: none !important;
  }
  .phm-ecosystem-header .phm-ecosystem-header__actions {
    gap: 0.15rem !important;
    flex-shrink: 0 !important;
  }
  .phm-ecosystem-header .nav-pref-trigger,
  .phm-ecosystem-header .phm-projects-menu > summary,
  .phm-ecosystem-header .phm-hub-back,
  .phm-ecosystem-header .menu-toggle {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 4px !important;
    justify-content: center !important;
  }
}

/* Salvaguarda de Acessibilidade: Skip Link fora do fluxo visual quando não focado */
.phm-skip-link {
  position: absolute !important;
  top: -9999px !important;
  left: 1rem !important;
  z-index: 999999 !important;
  padding: 0.5rem 1rem !important;
  background: #0b1329 !important;
  color: #2dd4bf !important;
  border: 1px solid #2dd4bf !important;
  border-radius: 4px !important;
  font-family: var(--font-body, system-ui, sans-serif) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.phm-skip-link:focus,
.phm-skip-link:focus-visible {
  top: 1rem !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  outline: 2px solid #2dd4bf !important;
}
