/* ============================================================
   PassFerry - CSS Principal
   Mobile-first · Moderne · Bleu marine / Blanc
   ============================================================ */

/* ---- Reset & Variables ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #0A3D8F;
  --primary-dark:  #072E6B;
  --primary-light: #1A5DCD;
  --accent:        #FF6B35;
  --whatsapp:      #25D366;
  --whatsapp-dark: #1DA851;
  --success:       #16A34A;
  --warning:       #D97706;
  --danger:        #DC2626;
  --info:          #0284C7;
  --text:          #1E293B;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --bg:            #FFFFFF;
  --bg-alt:        #F8FAFC;
  --bg-dark:       #0F172A;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.14);
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --font:          'Inter', system-ui, sans-serif;
  --max-w:         1200px;
  --transition:    .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Utilitaires ---- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section-alt{ background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark a { color: var(--whatsapp); }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.optional    { color: var(--text-light); font-size: .85em; }
.required    { color: var(--danger); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .9rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none; line-height: 1.3;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary  { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }

.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #b91c1c; }

.btn-lg  { padding: .875rem 2rem; font-size: 1rem; }
.btn-sm  { padding: .375rem .875rem; font-size: .85rem; }
.btn-xs  { padding: .25rem .6rem; font-size: .78rem; border-radius: 6px; }
.btn-full{ width: 100%; justify-content: center; }

/* ============================================================
   FORMULAIRES
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-weight: 600; font-size: .9rem; color: var(--text); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group select,
.form-group textarea,
.filter-input,
.filter-select {
  padding: .625rem .875rem;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem;
  color: var(--text); background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,61,143,.12);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-fieldset {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-fieldset legend {
  font-weight: 700; font-size: 1rem;
  padding: 0 .5rem; color: var(--primary);
}

.checkbox-label {
  display: flex; align-items: flex-start; gap: .625rem;
  cursor: pointer; font-weight: 400;
}
.checkbox-label input[type="checkbox"] { margin-top: .1rem; accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; }
.checkbox-label a { color: var(--primary); }

.form-note { font-size: .85rem; color: var(--text-muted); margin-top: .75rem; text-align: center; }

/* ============================================================
   ALERTS & BADGES
   ============================================================ */
.alert {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  margin-bottom: 1.5rem; font-size: .95rem;
}
.alert ul { margin: .5rem 0 0 1.25rem; }
.alert-error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.alert-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1E40AF; }

.badge {
  display: inline-block; padding: .25rem .6rem;
  border-radius: 20px; font-size: .78rem; font-weight: 600;
}
.badge-new     { background: #DBEAFE; color: #1D4ED8; }
.badge-pending { background: #FEF3C7; color: #92400E; }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }
.badge-secondary { background: #F1F5F9; color: #475569; }
.badge-price   { background: var(--primary); color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--text);
}
.logo-icon { font-size: 1.6rem; }
.logo-text { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-text strong { color: var(--primary); }
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-text strong { color: #93C5FD; }

.main-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; }
.main-nav a {
  padding: .5rem .875rem; border-radius: 8px;
  font-weight: 500; font-size: .9rem; color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { background: var(--bg-alt); text-decoration: none; color: var(--primary); }
.main-nav .btn-whatsapp { padding: .5rem 1rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 1rem; transform: translateY(-120%);
    transition: transform .3s ease; z-index: 99; box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .main-nav a { display: block; padding: .75rem 1rem; }
  .main-nav .btn-whatsapp { justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #0A3D8F 0%, #1A5DCD 50%, #0A3D8F 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-title {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 800; color: #fff;
  line-height: 1.15; margin-bottom: 1rem;
}
.hero-title span { color: #93C5FD; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; }

/* Search Box */
.search-box {
  background: #fff; border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-lg);
  max-width: 900px;
}
.search-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr 1fr auto;
  gap: .75rem; align-items: end;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .swap-btn { display: none; }
}
@media (max-width: 480px) { .search-grid { grid-template-columns: 1fr; } }

.swap-btn {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: .625rem .75rem;
  font-size: 1.1rem; cursor: pointer; align-self: end;
  transition: all var(--transition); color: var(--primary);
  height: 44px; line-height: 1;
}
.swap-btn:hover { background: var(--primary); color: #fff; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--primary-dark); padding: 1.25rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: .75rem; color: #fff;
}
.trust-icon { font-size: 1.75rem; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { font-size: .82rem; color: rgba(255,255,255,.75); }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; margin-bottom: .5rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-header-left { margin-bottom: 2rem; }
.section-header-left h1, .section-header-left h2 { text-align: left; }
.section-header-left p { text-align: left; }
.section-action { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   ROUTES GRID (Accueil)
   ============================================================ */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.route-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  text-decoration: none; color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.route-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow);
  transform: translateY(-3px); text-decoration: none;
}
.route-flag { display: flex; align-items: center; gap: .5rem; font-size: 1.6rem; }
.route-arrow { color: var(--text-muted); }
.route-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.route-duration, .route-price {
  display: inline-block; font-size: .82rem;
  color: var(--text-muted); margin-right: .5rem;
}
.route-price { color: var(--primary); font-weight: 600; }
.route-cta { font-size: .85rem; color: var(--primary); font-weight: 600; margin-top: auto; }

/* ============================================================
   HOW IT WORKS (Accueil)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.step { text-align: center; padding: 1.5rem; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step p  { color: var(--text-muted); font-size: .9rem; }

/* ============================================================
   WHY US (Accueil)
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.why-list li { display: flex; gap: 1rem; }
.why-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; flex-shrink: 0; margin-top: .1rem;
}
.why-list strong { display: block; font-weight: 700; }
.why-list p { color: var(--text-muted); font-size: .9rem; margin-top: .15rem; }

.why-image-placeholder {
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  border-radius: var(--radius-xl); height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 4rem; gap: .5rem; color: var(--primary);
}
.why-image-placeholder p { font-size: .9rem; font-weight: 600; color: var(--text-muted); }

/* ============================================================
   CTA WHATSAPP
   ============================================================ */
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-bar-compact { background: var(--primary); padding: 1rem 0; }
.search-form-compact {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.search-form-compact select,
.search-form-compact input[type="date"] {
  padding: .5rem .75rem; border: none; border-radius: 8px;
  font-family: var(--font); font-size: .9rem; background: rgba(255,255,255,.95);
}
.search-form-compact .separator { color: #fff; font-weight: 700; }

.info-banner {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.info-banner-icon { font-size: 1.3rem; flex-shrink: 0; }
.info-banner strong { display: block; color: #1E40AF; margin-bottom: .25rem; }
.info-banner p { font-size: .9rem; color: #3B82F6; margin: 0; }

.results-title { font-size: 1.6rem; font-weight: 800; margin-bottom: .5rem; }
.results-date  { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.results-meta  { color: var(--text-muted); margin-bottom: 2rem; }

.results-grid { display: grid; gap: 1rem; }
.result-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.result-card:hover { box-shadow: var(--shadow); }

.result-card-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.result-route { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.result-port  { display: flex; align-items: center; gap: .5rem; }
.port-flag    { font-size: 1.5rem; }
.result-port strong { display: block; font-weight: 700; }
.result-port span   { font-size: .82rem; color: var(--text-muted); }
.result-arrow { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.duration-badge { background: var(--bg-alt); border-radius: 20px; padding: .2rem .6rem; font-size: .78rem; color: var(--text-muted); }
.arrow-line { color: var(--text-muted); font-size: 1.2rem; }
.result-price .price-from { display: block; font-size: .78rem; color: var(--text-muted); }
.result-price .price-amount { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.result-companies { font-size: .85rem; color: var(--text-muted); margin-top: .75rem; }
.result-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.no-results-msg {
  text-align: center; padding: 3rem; background: var(--bg-alt);
  border-radius: var(--radius-lg); margin-bottom: 2rem;
}
.no-results-msg span { font-size: 3rem; display: block; margin-bottom: 1rem; }
.no-results-msg h2   { margin-bottom: .5rem; }
.no-results-msg p    { color: var(--text-muted); margin-bottom: 1.5rem; }

.results-cta-box {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; margin-top: 3rem;
}
.results-cta-box h3 { margin-bottom: .5rem; }
.results-cta-box p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.results-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-section .section { padding-top: 2rem; }
.booking-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem;
}
@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .booking-sidebar { order: -1; }
}

.booking-form-wrap { }
.booking-form { }

.vehicle-type-wrap { margin-top: .75rem; }

.sidebar-card {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  margin-bottom: 1rem;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: .75rem; }
.sidebar-card p  { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }

/* ============================================================
   THANK YOU
   ============================================================ */
.thank-you-section { }
.thank-you-card {
  max-width: 700px; margin: 0 auto;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  text-align: center; box-shadow: var(--shadow);
}
.thank-you-icon { font-size: 4rem; margin-bottom: 1rem; }
.thank-you-card h1 { font-size: 1.75rem; margin-bottom: .75rem; }
.thank-you-subtitle { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

.booking-summary {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 2rem; text-align: left;
}
.booking-summary h2 { font-size: 1.05rem; margin-bottom: 1rem; text-align: center; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 500px) { .summary-grid { grid-template-columns: 1fr; } }
.summary-item { display: flex; flex-direction: column; gap: .15rem; }
.summary-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.summary-value { font-weight: 600; }
.ref-badge { background: var(--primary); color: #fff; padding: .2rem .6rem; border-radius: 6px; font-family: monospace; font-size: .9rem; display: inline-block; }

.thank-you-next { margin-bottom: 2rem; }
.thank-you-next h3 { margin-bottom: 1rem; }
.steps-mini { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.step-mini { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: .85rem; color: var(--text-muted); }
.step-mini.active .step-mini-icon { background: var(--success); }
.step-mini-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.thank-you-contact { margin-bottom: 2rem; }
.thank-you-contact p { margin-bottom: 1rem; font-size: .95rem; }
.thank-you-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (pages internes)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #0A3D8F, #1A5DCD);
  color: #fff; padding: 4rem 0;
}
.page-hero.page-hero-sm { padding: 2.5rem 0; }
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.05rem; }

/* ============================================================
   ROUTE DETAIL
   ============================================================ */
.route-hero { }
.route-hero-content { }
.route-hero-ports { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.route-hero-port { display: flex; align-items: center; gap: .75rem; }
.hero-flag { font-size: 2.5rem; }
.route-hero-port strong { display: block; font-size: 1.1rem; }
.route-hero-port span  { color: rgba(255,255,255,.75); font-size: .9rem; }
.route-hero-arrow { display: flex; flex-direction: column; align-items: center; gap: .25rem; color: rgba(255,255,255,.8); font-size: 1.5rem; }
.hero-duration { font-size: .8rem; background: rgba(255,255,255,.2); border-radius: 20px; padding: .2rem .6rem; }

.route-hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.route-hero-badges .badge { background: rgba(255,255,255,.2); color: #fff; }
.route-hero-badges .badge-price { background: var(--accent); }

.route-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.route-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; }
@media (max-width: 900px) {
  .route-detail-layout { grid-template-columns: 1fr; }
  .route-detail-sidebar { order: -1; }
}

.route-description { margin-bottom: 2rem; }
.route-description h2 { margin-bottom: 1rem; }
.route-description p  { color: var(--text-muted); line-height: 1.7; }

.route-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.info-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 1.25rem; text-align: center;
}
.info-icon { font-size: 1.75rem; display: block; margin-bottom: .5rem; }
.info-card h3 { font-size: .85rem; color: var(--text-muted); margin-bottom: .25rem; }
.info-card p  { font-weight: 700; font-size: .95rem; }

/* Route FAQ & CCM FAQ */
.route-faq h2 { margin-bottom: 1.5rem; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 1rem 1.25rem;
  background: var(--bg); border: none; cursor: pointer;
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform var(--transition); font-size: 1.2rem; color: var(--primary); }
.faq-answer { display: none; padding: 0 1.25rem 1rem; }
.faq-answer.open { display: block; }
.faq-answer p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

.sidebar-booking-form {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 88px;
}
.sidebar-booking-form h3 { margin-bottom: 1rem; font-size: 1.05rem; }

/* ============================================================
   ROUTES LIST PAGE
   ============================================================ */
.routes-list { display: flex; flex-direction: column; gap: .75rem; }
.route-list-item {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition);
}
.route-list-item:hover { box-shadow: var(--shadow); }
.route-list-info h2 { font-size: 1rem; margin-bottom: .35rem; }
.route-list-info h2 a { color: var(--text); font-weight: 700; }
.route-list-info h2 a:hover { color: var(--primary); }
.route-list-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
.route-list-actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-layout h2 { margin-bottom: 1.5rem; }
.contact-cards { display: flex; flex-direction: column; gap: .75rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  text-decoration: none; color: var(--text);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); text-decoration: none; }
.contact-card-whatsapp { border-color: var(--whatsapp); }
.contact-card-icon { font-size: 2rem; flex-shrink: 0; }
.contact-card strong { display: block; font-weight: 700; }
.contact-card span   { font-size: .9rem; color: var(--text-muted); }
.contact-card small  { display: block; font-size: .78rem; color: var(--text-light); }
.info-box { background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem; margin-bottom: .75rem; }
.info-box h3 { font-size: .95rem; margin-bottom: .5rem; }
.info-box p  { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   HOW IT WORKS DETAIL
   ============================================================ */
.how-steps-detailed { display: flex; flex-direction: column; gap: 2rem; }
.how-step-detailed {
  display: flex; gap: 1.5rem;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) { .how-step-detailed { flex-direction: column; } }
.how-step-number {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.how-step-content h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.how-step-content p  { color: var(--text-muted); margin-bottom: .75rem; }
.how-step-content ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.how-step-content li { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.1rem; margin: 1.75rem 0 .75rem; color: var(--primary); }
.legal-content p  { color: var(--text-muted); font-size: .95rem; margin-bottom: .75rem; line-height: 1.7; }
.legal-content ul { padding-left: 1.5rem; color: var(--text-muted); font-size: .95rem; margin-bottom: .75rem; }
.legal-content li { margin-bottom: .35rem; }
.legal-content a  { color: var(--primary); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-nav { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: .6rem 0; }
.breadcrumb { display: flex; list-style: none; gap: .5rem; font-size: .85rem; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '›'; color: var(--text-light); margin-left: .5rem; }
.breadcrumb li:last-child { color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }

/* ============================================================
   WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--whatsapp); color: #fff;
  border-radius: 50px; padding: .875rem 1.25rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  display: flex; align-items: center; gap: .625rem;
  z-index: 200; text-decoration: none;
  transition: all var(--transition);
  font-weight: 600; font-size: .9rem;
}
.whatsapp-float:hover {
  background: var(--whatsapp-dark); text-decoration: none;
  transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-float-label { display: none; }
@media (min-width: 640px) { .whatsapp-float-label { display: block; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem; margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: .9rem; margin: .75rem 0 1rem; color: rgba(255,255,255,.6); }
.footer-col h4  { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: .875rem; }
.footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col a   { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-contact-info { margin-top: 1rem; }
.footer-contact-info p { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem; text-align: center;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .35rem; }
.footer-disclaimer { font-size: .78rem !important; }

/* ============================================================
   ADMIN - Layout général
   ============================================================ */
.admin-body { background: #F1F5F9; }

.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.admin-login-card {
  background: #fff; border-radius: var(--radius-xl); padding: 2.5rem;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.admin-login-logo {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1.5rem; justify-content: center;
}
.admin-badge {
  background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .15rem .45rem;
  border-radius: 4px; letter-spacing: .5px; text-transform: uppercase;
}
.admin-login-card h1 { font-size: 1.4rem; text-align: center; margin-bottom: 1.5rem; }
.admin-login-card .form-group { margin-bottom: 1rem; }
.admin-login-card .btn-full { margin-top: .5rem; }
.admin-login-back { text-align: center; margin-top: 1rem; font-size: .88rem; color: var(--text-muted); }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 260px; background: var(--bg-dark); color: rgba(255,255,255,.85);
  display: flex; flex-direction: column; flex-shrink: 0;
  position: fixed; top: 0; left: 0; height: 100vh; z-index: 150;
  transition: transform .3s ease;
}
@media (max-width: 900px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
}

.admin-sidebar-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-logo { color: #fff; font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.admin-sidebar-close {
  background: none; border: none; color: rgba(255,255,255,.6);
  cursor: pointer; font-size: 1rem; padding: .25rem;
  display: none;
}
@media (max-width: 900px) { .admin-sidebar-close { display: block; } }

.admin-nav { padding: 1rem 0; flex: 1; overflow-y: auto; }
.admin-nav ul { list-style: none; }
.admin-nav li a {
  display: block; padding: .75rem 1.5rem;
  color: rgba(255,255,255,.7); font-size: .9rem;
  text-decoration: none; transition: all var(--transition);
}
.admin-nav li a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.admin-nav li.active a { background: var(--primary); color: #fff; }

.admin-sidebar-footer {
  padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-user    { font-size: .85rem; color: rgba(255,255,255,.7); }
.admin-logout  { font-size: .8rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.admin-logout:hover { color: #fff; text-decoration: none; }

.admin-main {
  flex: 1; margin-left: 260px; display: flex; flex-direction: column; min-height: 100vh;
}
@media (max-width: 900px) { .admin-main { margin-left: 0; } }

.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem; display: flex; align-items: center;
  gap: 1rem; position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-menu-toggle {
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: .4rem .6rem; cursor: pointer; font-size: 1rem;
  display: none;
}
@media (max-width: 900px) { .admin-menu-toggle { display: block; } }
.admin-page-title { flex: 1; font-size: 1.1rem; font-weight: 700; }
.admin-topbar-right { margin-left: auto; }

.admin-content { padding: 1.5rem; flex: 1; }

/* Admin Cards */
.admin-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; overflow: hidden;
}
.admin-card-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-card-header h2 { font-size: 1rem; font-weight: 700; }

/* Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-sm); text-align: center;
  border-top: 4px solid var(--border);
}
.stat-card-primary { border-color: var(--primary); }
.stat-card-warning { border-color: var(--warning); }
.stat-card-info    { border-color: var(--info); }
.stat-card-success { border-color: var(--success); }
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label  { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

/* Admin Table */
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th {
  background: var(--bg-alt); padding: .75rem 1rem;
  text-align: left; font-weight: 600; font-size: .78rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.admin-table td {
  padding: .75rem 1rem; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-alt); }
.row-inactive { opacity: .55; }
.ref-code { font-family: monospace; font-size: .85em; background: var(--bg-alt); padding: .1rem .3rem; border-radius: 4px; }

/* Admin Filters */
.admin-filters {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg-alt);
}
.filter-input { max-width: 240px; }
.filter-select { max-width: 180px; }

/* Booking Detail */
.booking-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; }
.booking-detail-section { padding: 1.5rem; border-right: 1px solid var(--border); }
.booking-detail-section:last-child { border-right: none; }
@media (max-width: 768px) {
  .booking-detail-grid { grid-template-columns: 1fr; }
  .booking-detail-section { border-right: none; border-bottom: 1px solid var(--border); }
}
.booking-detail-section h3 { font-size: .9rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: .875rem; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; font-size: .9rem; }
.detail-list dt { font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.detail-list dd { color: var(--text); }

.booking-update-form { padding: 1.5rem; border-top: 1px solid var(--border); background: var(--bg-alt); }
.booking-update-form h3 { margin-bottom: 1rem; }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 480px) {
  .hero { min-height: auto; padding: 2.5rem 0; }
  .search-box { padding: 1.25rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .route-card { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .booking-form-wrap, .booking-sidebar { padding: 0; }
}

/* Print */
@media print {
  .site-header, .site-footer, .whatsapp-float, .btn { display: none !important; }
  .booking-summary { border: 1px solid #000; }
}
