/* ============================================================
   MY VTC GO — reservation.css
   Styles propres à la PAGE de réservation uniquement
   (/reservation/, /en/reservation/, etc.)
   
   Dépendance : reservation-form.css doit être chargé avant
   ============================================================ */

/* ===== RESET PAGE ===== */
html { background: #1C1C1C; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: #1C1C1C; color: rgba(212,208,200,0.9); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #1C1C1C; }
::-webkit-scrollbar-thumb { background: #A0A0A0; border-radius: 2px; }

/* ===== LANG BAR ===== */
.lang-switch-bar {
  background: rgba(28,28,28,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 7px 20px;
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
}
.lang-btn {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 9px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: var(--t);
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
}
.lang-btn:hover { border-color: var(--gold); background: var(--gold-dim); }
.lang-btn img { width: 18px; display: block; }
.lang-btn span { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,0.5); }
.lang-btn:hover span, .lang-btn.active span { color: var(--gold); }
.lang-btn.active { border-color: var(--gold-border); background: var(--gold-dim); }

/* ===== TOP NAV ===== */
.topnav {
  background: rgba(28,28,28,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 32px; height: 72px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; position: sticky; top: 0; z-index: 900;
}
.nav-home {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.1);
  padding: 8px 16px; border-radius: var(--r); transition: var(--t); justify-self: start;
}
.nav-home:hover { color: #D4D4D4; border-color: rgba(192,192,192,0.4); background: rgba(255,255,255,0.05); transform: translateX(-3px); }
.nav-home svg { width: 15px; height: 15px; flex-shrink: 0; transition: var(--t); }
.nav-logo-wrap { display: flex; justify-content: center; }
.nav-logo { height: 52px; object-fit: contain; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: #1C1C1C; padding: 70px 24px 50px;
  text-align: center; border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(192,192,192,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.availability-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold-border); padding: 7px 18px; border-radius: 100px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(212,208,200,0.7); background: rgba(255,255,255,0.04);
  margin-bottom: 20px; position: relative; z-index: 1;
}
.availability-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.7);
  animation: pulse-resa 2s infinite;
}
@keyframes pulse-resa { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(1.4); } }
.page-hero h1 { font-family: var(--font); font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; color: #D4D4D4; margin-bottom: 12px; line-height: 1.15; position: relative; z-index: 1; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto; position: relative; z-index: 1; }

/* ===== LAYOUT PAGE ===== */
.container-resa { max-width: 1100px; margin: auto; padding: 60px 24px; }
.reservation-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: rgba(255,255,255,0.03); border: 3px solid rgba(255,255,255,0.1);
  border-radius: var(--r); padding: 22px; position: relative;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.sidebar-card::before {
  content: ''; position: absolute; top: 10px; left: 14px;
  width: 44px; height: 10px;
  background:
    radial-gradient(circle 4.5px at 4.5px 5px, #FF5F57 100%, transparent 100%),
    radial-gradient(circle 4.5px at 19px 5px,  #FFBD2E 100%, transparent 100%),
    radial-gradient(circle 4.5px at 33.5px 5px, #28C840 100%, transparent 100%);
  pointer-events: none;
}
.sidebar-card:hover { border-color: rgba(192,192,192,0.3); background: rgba(255,255,255,0.05); transform: translateY(-3px); }
.sidebar-card h3 { font-size: 14px; font-weight: 700; color: #D4D4D4; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; padding-top: 10px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.price-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; font-size: 12px; }
.price-item .route { color: rgba(212,208,200,0.6); }
.price-item .price { color: var(--gold); font-weight: 700; font-size: 14px; }
.guarantee-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.guarantee-item { display: flex; align-items: center; gap: 9px; font-size: 12px; color: rgba(212,208,200,0.7); }
.guarantee-item::before { content: '✓'; color: #4ade80; font-weight: 700; flex-shrink: 0; }
.sidebar-cta {
  background: rgba(255,255,255,0.03); border: 3px solid rgba(192,192,192,0.2);
  border-radius: var(--r); padding: 22px; text-align: center;
  position: relative; transition: border-color var(--t);
}
.sidebar-cta::before {
  content: ''; position: absolute; top: 10px; left: 14px;
  width: 44px; height: 10px;
  background:
    radial-gradient(circle 4.5px at 4.5px 5px, #FF5F57 100%, transparent 100%),
    radial-gradient(circle 4.5px at 19px 5px,  #FFBD2E 100%, transparent 100%),
    radial-gradient(circle 4.5px at 33.5px 5px, #28C840 100%, transparent 100%);
  pointer-events: none;
}
.sidebar-cta:hover { border-color: rgba(192,192,192,0.4); }
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 12px; padding-top: 10px; }
.sidebar-cta a { display: block; padding: 11px; border: 2px solid rgba(255,255,255,0.1); border-radius: 10px; color: rgba(212,208,200,0.7); font-size: 13px; font-weight: 600; margin-bottom: 8px; transition: var(--t); }
.sidebar-cta a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ===== FLOAT CTA ===== */
.float-cta-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-tooltip { display: flex; align-items: center; gap: 10px; background: rgba(28,28,28,0.97); border: 1px solid rgba(192,192,192,0.4); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 12px; white-space: nowrap; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s, transform .35s; }
.float-tooltip.visible { opacity: 1; transform: translateY(0); }
.float-arrow-svg { width: 28px; height: 28px; flex-shrink: 0; animation: arrow-bounce-resa .9s ease-in-out infinite; }
@keyframes arrow-bounce-resa { 0%,100%{transform:translate(0,0);}50%{transform:translate(-4px,-4px);} }
.float-cta { background: linear-gradient(135deg,#25D366,#128C7E); color:#fff!important; border-radius:100px; padding:13px 22px; font-size:13px; font-weight:700; display:flex; align-items:center; gap:8px; box-shadow:0 6px 24px rgba(37,211,102,.4); transition:var(--t); }
.float-cta:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(37,211,102,.5); }
.float-cta img { width:18px; height:18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .reservation-layout { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
  .topnav { padding: 0 16px; height: 60px; }
  .nav-home span { display: none; }
  .nav-logo { height: 44px; }
}
