/* =============================================
   FRESHLOC — Premium Design System v2
   ============================================= */

/* La police Inter est déjà chargée via <link> dans le <head> de chaque page
   (avec preconnect) — un @import ici dupliquait le chargement ET créait une
   cascade bloquante supplémentaire (le navigateur doit télécharger et
   parser tout ce fichier CSS avant même de découvrir qu'il faut charger la
   police), ce qui pénalisait Lighthouse (Performance) sans aucun bénéfice
   puisque le <link> suffit déjà. Retiré lors de l'audit Lighthouse de juillet 2026. */

:root {
  /* Contraste texte blanc dessus : 2.77:1, sous le minimum WCAG AA (4.5:1)
     — fait échouer un audit Lighthouse précis. Une version plus foncée
     (#0273AD, 5.17:1) a été testée puis explicitement rejetée par
     l'utilisateur pour raison esthétique (juillet 2026) : le bleu
     d'origine est donc gardé en connaissance de cause, malgré cet audit. */
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --primary-light: #E0F2FE;
  --primary-glow: rgba(14,165,233,0.25);
  --accent: #6366F1;
  --accent-light: #EEF2FF;
  --dark: #0A0F1E;
  --dark-2: #111827;
  --gray-800: #1E293B;
  --gray-700: #334155;
  --gray-600: #475569;
  /* #94A3B8 d'origine ne contrastait qu'à 2.56:1 sur fond blanc — largement
     sous le minimum WCAG AA (4.5:1 texte normal). #64748B passe à 4.76:1
     tout en restant visuellement "gris discret", distinct de --gray-600.
     Corrigé lors de l'audit Lighthouse de juillet 2026 (variable unique,
     s'applique automatiquement partout où --gray-400 est utilisé). */
  --gray-400: #64748B;
  --gray-300: #CBD5E1;
  --gray-200: #E2E8F0;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --shadow-xs: 0 1px 3px rgba(10,15,30,0.06), 0 1px 2px rgba(10,15,30,0.04);
  --shadow: 0 4px 20px rgba(10,15,30,0.08), 0 2px 8px rgba(10,15,30,0.04);
  --shadow-md: 0 12px 48px rgba(10,15,30,0.12), 0 4px 16px rgba(10,15,30,0.06);
  --shadow-lg: 0 24px 64px rgba(10,15,30,0.16), 0 8px 24px rgba(10,15,30,0.08);
  --shadow-glow: 0 0 0 1px rgba(14,165,233,0.15), 0 8px 32px rgba(14,165,233,0.2);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--primary-light); color: var(--primary-dark); }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.8px; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.3px; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--gray-600); line-height: 1.7; }

.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-muted { color: var(--gray-400); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

/* =============================================
   LAYOUT
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* =============================================
   ANIMATED BACKGROUND BLOBS
   ============================================= */
.bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.18), transparent 70%);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(14,165,233,0.1), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 6s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
}

.navbar-glass {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 1px 0 rgba(10,15,30,0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #7DD3FC 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
  transition: var(--transition-spring);
}

.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.1); }

.logo-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.8px;
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: -0.1px;
}

.nav-links a:hover { color: var(--dark); background: var(--gray-100); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 10; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  /* Reset des styles par défaut du navigateur — passé de <div> à <button>
     pour l'accessibilité (focus clavier, lecteurs d'écran), voir aria-label
     dans le HTML. Ces règles annulent l'apparence "bouton" native pour
     garder le rendu visuel identique à avant. */
  border: none;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.1px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  box-shadow: 0 2px 8px rgba(14,165,233,0.3), 0 1px 3px rgba(14,165,233,0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.4), 0 2px 6px rgba(14,165,233,0.2);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(14,165,233,0.4);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--primary-light); border-color: var(--primary); }

.btn-dark {
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow);
}
.btn-dark:hover { background: var(--gray-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
}
.btn-ghost:hover { background: var(--gray-100); color: var(--dark); }

.btn-glass {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); }

.btn-lg { padding: 14px 32px; font-size: 0.975rem; border-radius: var(--radius); gap: 10px; }
.btn-sm { padding: 7px 14px; font-size: 0.8rem; border-radius: var(--radius-xs); }
.btn-block { width: 100%; }
.btn-danger { background: linear-gradient(135deg, #EF4444, #DC2626); color: white; }
.btn-success { background: linear-gradient(135deg, #10B981, #059669); color: white; }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-body { padding: 24px; }

/* =============================================
   BADGES
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-dark { background: var(--gray-800); color: white; }
.badge-accent { background: var(--accent-light); color: var(--accent); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--dark);
  background: white;
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.1);
}

.form-control::placeholder { color: var(--gray-300); }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =============================================
   HERO — PREMIUM
   ============================================= */
.hero {
  min-height: 80vh;
  padding-top: 32px;
  padding-bottom: 40px;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 40%, #EEF2FF 70%, #F8FAFC 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.hero-eyebrow-dot {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #0EA5E9, #38BDF8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.hero h1 { margin-bottom: 20px; }

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.65;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(14,165,233,0.15);
}

.hero-stat-item {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--gray-200);
}
.hero-stat-item:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.hero-stat-item:not(:first-child):not(:last-child) { padding: 0 24px; }

.stat-num { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -1px; }
.stat-label { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; font-weight: 500; }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  background: linear-gradient(135deg, rgba(14,165,233,0.3), rgba(99,102,241,0.2), transparent 60%);
  z-index: -1;
}

.ac-visual-hero {
  height: 160px;
  background: linear-gradient(135deg, #F0F9FF 0%, #EEF2FF 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.ac-visual-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(14,165,233,0.06), rgba(99,102,241,0.06));
}

.hero-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.hero-card-sub { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 14px; }
.hero-card-price { font-size: 2.25rem; font-weight: 900; color: var(--dark); letter-spacing: -1.5px; margin-bottom: 4px; }
.hero-card-price span { font-size: 0.9rem; color: var(--gray-400); font-weight: 400; letter-spacing: 0; }
.hero-card-tags { display: flex; gap: 6px; margin-bottom: 18px; }

/* Floating badges */
.float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--gray-100);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-badge-1 {
  top: -16px; right: -20px;
  animation-delay: 0s;
  color: var(--success);
}

.float-badge-2 {
  bottom: 130px; right: -20px;
  animation-delay: 2s;
  color: var(--primary);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { text-align: center; margin-bottom: 64px; }

.overline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.overline::before,
.overline::after {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}
.overline::after { background: linear-gradient(90deg, var(--primary), transparent); }

.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }

/* =============================================
   FEATURES
   ============================================= */
.features { background: white; }

.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-slow);
  cursor: default;
  position: relative;
  overflow: hidden;
  background: white;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(14,165,233,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary-light), #F0F9FF);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(14,165,233,0.15);
}

.feature-card h3,
.feature-card p { position: relative; z-index: 1; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; line-height: 1.65; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--gray-50); position: relative; overflow: hidden; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }

.steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 64px; right: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, #6366F1 100%);
  z-index: 0;
  opacity: 0.25;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(14,165,233,0.35);
  border: 4px solid white;
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(14,165,233,0.2);
}

.step h4 { margin-bottom: 8px; font-size: 0.95rem; }
.step p { font-size: 0.83rem; line-height: 1.6; }

/* =============================================
   PRODUCT CARDS
   ============================================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ac-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  position: relative;
}

.ac-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 2px var(--primary);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.ac-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.ac-card:hover::after { opacity: 1; }

.ac-card-img {
  height: 200px;
  background: linear-gradient(135deg, #E0F2FE 0%, #EEF2FF 50%, #F0F9FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.ac-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, white);
}

.ac-card-badge { position: absolute; top: 12px; left: 12px; z-index: 1; }

.ac-card-body { padding: 20px; }
.ac-card-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 3px; }
.ac-card-sub { font-size: 0.92rem; color: var(--gray-400); margin-bottom: 12px; }

.ac-specs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }

.spec {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.74rem;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-weight: 500;
}

.ac-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 16px; }
.ac-price .price-num { font-size: 1.6rem; font-weight: 900; color: var(--dark); letter-spacing: -1px; }
.ac-price .price-period { font-size: 0.8rem; color: var(--gray-400); }

/* =============================================
   OPTIONS
   ============================================= */
.option-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.option-card:hover { border-color: rgba(14,165,233,0.4); background: var(--primary-light); box-shadow: var(--shadow-xs); }
.option-card.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 4px rgba(14,165,233,0.08); }

.option-icon {
  width: 46px; height: 46px;
  background: white;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
}

.option-info { flex: 1; }
.option-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 1px; }
.option-desc { font-size: 0.78rem; color: var(--gray-400); }
.option-price { font-weight: 800; color: var(--primary); font-size: 0.95rem; white-space: nowrap; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { background: var(--dark); position: relative; overflow: hidden; }

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(14,165,233,0.12), transparent),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(99,102,241,0.1), transparent);
}

.testimonials .section-header { position: relative; z-index: 1; }
.testimonials .overline { color: #38BDF8; }
.testimonials .overline::before { background: linear-gradient(90deg, transparent, #38BDF8); }
.testimonials .overline::after { background: linear-gradient(90deg, #38BDF8, transparent); }
.testimonials h2 { color: white; }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(14,165,233,0.25);
  transform: translateY(-4px);
}

.stars { color: #FBBF24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #6366F1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(14,165,233,0.3);
}

.author-name { font-weight: 700; color: white; font-size: 0.875rem; }
.author-loc { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 40%, #6366F1 100%);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  margin: 0 28px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  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");
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin: 16px 0 36px; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark-2);
  color: var(--gray-400);
  padding: 48px 0 24px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.4), rgba(99,102,241,0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand p { font-size: 0.85rem; margin: 10px 0 16px; max-width: 260px; line-height: 1.6; }

.footer-links h5 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 7px; }
.footer-links a {
  text-decoration: none;
  color: var(--gray-400);
  font-size: 0.86rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: white; gap: 10px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--gray-400);
}

.footer-sep { color: var(--gray-400); }

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-credit:hover { color: white; }

.footer-credit-arrow {
  display: inline-block;
  transition: var(--transition);
}
.footer-credit:hover .footer-credit-arrow { transform: translate(2px, -2px); }

.social-links { display: flex; gap: 8px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: white; border-color: transparent; transform: translateY(-2px); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 130px 0 64px;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 50%, #EEF2FF 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin: 8px 0 12px; }

/* =============================================
   FILTERS
   ============================================= */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.1px;
}

.filter-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 2px 8px rgba(14,165,233,0.3); }

.filter-select {
  padding: 7px 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

/* Colonnes de tarif cliquables dans la fiche produit (jour/semaine/mois/
   saison) — au survol, un encadré "suit la souris" colonne par colonne
   pour signaler qu'un clic envoie direct dans le tunnel de réservation
   avec la durée pré-remplie (bleu résidentiel, vert pro via .accent-success). */
.price-col-link {
  /* Pas de transform ici : le conteneur parent a overflow:hidden (coins
     arrondis de la barre de tarifs) — un translateY se ferait couper en
     haut par ce clip, d'où l'encadré tronqué. Le box-shadow inset seul
     donne le même effet "encadré" sans ce problème. */
  transition: box-shadow 0.15s ease;
  box-shadow: inset 0 0 0 2px transparent;
  border-radius: 6px;
}
.price-col-link:hover { box-shadow: inset 0 0 0 2px var(--primary); }
.price-col-link.accent-success:hover { box-shadow: inset 0 0 0 2px var(--success); }

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  /* overflow-y:auto direct sur cet élément (avec border-radius) casse le
     rendu de la scrollbar dans Chrome/Safari — coins arrondis "coupent"
     visuellement la barre. On clippe ici (overflow:hidden) et on ne fait
     défiler que .modal-body, qui n'a pas de border-radius. */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
  flex-shrink: 0;
}

.modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-600);
  transition: var(--transition-spring);
}
.modal-close:hover { background: var(--gray-200); transform: scale(1.1) rotate(90deg); }
.modal-body {
  padding: 20px 28px 28px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0; /* indispensable pour que le scroll interne fonctionne en flex column */
}

.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

@media (max-width: 600px) {
  .modal-body { padding: 16px 18px 20px; }
  .product-modal-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =============================================
   RESERVATION PAGE
   ============================================= */
.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.reservation-form {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.form-section { margin-bottom: 32px; }
.form-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.1px;
}

.order-summary {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-600);
}
.summary-item:last-child { border-bottom: none; }

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  border-top: 2px solid var(--dark);
  font-weight: 800;
  font-size: 1.15rem;
}

/* =============================================
   AUTH & DASHBOARD
   ============================================= */
.auth-container {
  min-height: 100vh;
  padding-top: 72px;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 40%, #EEF2FF 100%);
  display: flex;
  align-items: center;
  position: relative;
}

.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  animation: modalIn 0.5s cubic-bezier(0.34,1.2,0.64,1);
}

.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: calc(var(--radius-sm) - 2px);
  transition: var(--transition-spring);
  color: var(--gray-500);
  border: none;
  background: transparent;
}

.auth-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 28px;
  min-height: 100vh;
  background: var(--gray-50);
  align-items: start;
}

.sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  position: sticky;
  top: 116px;
  box-shadow: var(--shadow-xs);
}

.sidebar-avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  font-weight: 900;
  margin: 0 auto 14px;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
}

.sidebar-name { text-align: center; font-weight: 800; margin-bottom: 2px; font-size: 0.95rem; }
.sidebar-email { text-align: center; font-size: 0.78rem; color: var(--gray-400); margin-bottom: 24px; }

.sidebar-divider { height: 1px; background: var(--gray-100); margin-bottom: 16px; }

.sidebar-nav { list-style: none; }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-nav a:hover { background: var(--gray-100); color: var(--dark); }
.sidebar-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.dashboard-main { padding: 0 0 64px; }

.dashboard-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  overflow-x: auto;
}

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }

.stat-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 22px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card .num { font-size: 1.9rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.stat-card .label { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }

/* =============================================
   TABLE
   ============================================= */
.table { width: 100%; border-collapse: collapse; }

.table th {
  text-align: left;
  padding: 11px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.table th:first-child { border-radius: var(--radius-xs) 0 0 0; }
.table th:last-child { border-radius: 0 var(--radius-xs) 0 0; }

.table td {
  padding: 13px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--dark);
}

.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--gray-50); }

/* =============================================
   ADMIN
   ============================================= */
.admin-layout {
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--dark);
  padding: 0;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 240px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.admin-logo {
  padding: 20px 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}

.admin-nav { list-style: none; padding: 0 8px; }
.admin-nav li { margin-bottom: 2px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  font-weight: 500;
  transition: var(--transition);
}
.admin-nav a:hover { color: white; background: rgba(255,255,255,0.06); }
.admin-nav a.active { color: white; background: rgba(14,165,233,0.15); border-left: none; }

.admin-main { margin-left: 240px; background: var(--gray-50); min-height: 100vh; }

.admin-header {
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.admin-content { padding: 28px 32px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }

.admin-stat {
  background: white;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.admin-stat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.admin-stat-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.admin-stat-num { font-size: 1.5rem; font-weight: 900; line-height: 1; letter-spacing: -0.5px; }
.admin-stat-label { font-size: 0.78rem; color: var(--gray-400); margin-top: 3px; }

/* =============================================
   TOAST
   ============================================= */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 280px;
  animation: slideLeft 0.3s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 0.875rem;
  border: 1px solid rgba(255,255,255,0.08);
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(16px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--primary); }

/* =============================================
   UTILITIES
   ============================================= */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--gray-200); margin: 20px 0; }

/* =============================================
   ANIMATIONS ON SCROLL
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reservation-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat-item { padding: 0 16px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .trust-bar { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-left { justify-content: center; }
  .cta-banner { padding: 48px 24px; margin: 0 16px; }
  .hero-stats { flex-wrap: nowrap; gap: 4px; }
  .hero-stat-item { flex: 1; padding: 0 10px; border-right: 1px solid var(--gray-200); }
  .hero-stat-item:last-child { border-right: none; padding-left: 10px; }
  .hero-stat-item:not(:first-child):not(:last-child) { padding: 0 10px; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.68rem; }
  .auth-card { padding: 32px 24px; }
  .section { padding: 64px 0; }
  .admin-main { margin-left: 0; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .hero-stat-item { padding: 0 6px; }
  .hero-stat-item:last-child { padding-left: 6px; }
  .hero-stat-item:not(:first-child):not(:last-child) { padding: 0 6px; }
  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: 0.62rem; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 108px; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.mobile-nav a:hover { background: var(--gray-100); color: var(--dark); }

/* "Réserver" doit ressortir comme un vrai bouton d'action, pas un lien de
   navigation comme les autres — même logique que le bouton "Réserver →" de
   la navbar desktop, juste au-dessus de la sélection de langue. */
.mobile-nav a.mobile-nav-cta {
  justify-content: center;
  margin: 8px 0 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14,165,233,0.25);
}
.mobile-nav a.mobile-nav-cta:hover { background: linear-gradient(135deg, #0EA5E9, #0284C7); color: white; opacity: 0.92; }

/* =============================================
   LANGUAGE TOGGLE
   ============================================= */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 3px;
  position: relative;
  z-index: 20;
}

.lang-btn {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-spring);
  color: var(--gray-500);
  background: transparent;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
}

.lang-btn:hover { background: var(--gray-200); color: var(--dark); }

.lang-btn.lang-active {
  background: white;
  color: var(--dark);
  box-shadow: var(--shadow-xs);
}

/* =============================================
   LOCALE SWITCHER (pays + langue) — expansion multi-pays, 2026-07-21
   Remplace .lang-toggle dans la navbar desktop (voir initNavbar(),
   js/app.js) — mobile-nav et footer gardent le simple bouton FR/NL.
   ============================================= */
.locale-switcher { position: relative; z-index: 20; }

.locale-switcher-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-full);
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition-spring);
  -webkit-tap-highlight-color: transparent;
}

.locale-switcher-btn:hover { background: var(--gray-200); }

.locale-switcher-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 230px;
  z-index: 200;
}

.locale-switcher-panel.open { display: block; }

/* Instance mobile (voir js/app.js renderLocaleSwitcher('-mobile') et
   inc/locale.php render_locale_switcher_static(..., '-mobile')) : le
   bouton est proche du bord GAUCHE du menu mobile plein écran, pas du bord
   droit d'une barre de nav desktop — "right:0" ferait déborder le panneau
   hors de l'écran à gauche. Ouverture vers la droite à la place. */
.mobile-nav .locale-switcher-panel { left: 0; right: auto; }

.locale-country-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
}

.locale-country-row:not(.locale-country-disabled):hover { background: var(--gray-50); }

.locale-country-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.locale-lang-options { display: flex; gap: 4px; flex-shrink: 0; }

.locale-lang-btn {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gray-500);
  background: var(--gray-100);
  text-decoration: none;
  transition: var(--transition-spring);
}

.locale-lang-btn:hover { background: var(--gray-200); color: var(--dark); }

.locale-lang-btn.locale-lang-active {
  background: var(--primary);
  color: white;
}

.locale-country-row.locale-country-disabled {
  opacity: 0.55;
  cursor: default;
}

.locale-soon-badge {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 3px 9px;
  border-radius: 99px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* =============================================
   ZONE BANNER
   ============================================= */
.zone-banner {
  background: linear-gradient(90deg, #0284C7 0%, #0EA5E9 50%, #0284C7 100%);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 0 0;
  height: 36px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.1px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.zone-banner a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.zone-banner a:hover { color: white; }

.zone-banner .zone-codes-inline { white-space: nowrap; }

@media (max-width: 640px) {
  .zone-banner {
    font-size: 0.68rem;
    padding: 0 8px;
    gap: 4px;
  }
  .zone-banner span[data-i18n="zone_badge"] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .zone-banner .zone-codes-inline {
    display: none;
  }
}

/* =============================================
   ZONE SECTION (catalogue/homepage)
   ============================================= */
.zone-section {
  background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.zone-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .zone-section { flex-direction: column; text-align: center; padding: 24px 20px; gap: 14px; }
  .zone-icon { font-size: 2.25rem; }
}

.zone-info h4 { color: #166534; margin-bottom: 6px; }
.zone-info p { color: #15803D; font-size: 0.875rem; margin-bottom: 6px; }
.zone-codes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

/* Zone feedback in form */
.zone-feedback {
  margin-top: 6px;
  min-height: 20px;
  transition: var(--transition);
}

/* =============================================
   BADGE ACCENT (purple)
   ============================================= */
.badge-accent { background: #EEF2FF; color: #4338CA; }

/* is-popular card border */
.ac-card.is-popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.btn-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(14,165,233,0.4);
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.btn-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-top:hover {
  background: linear-gradient(135deg, #38BDF8, #0EA5E9);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(14,165,233,0.5);
}

/* =============================================
   STOCK BADGES
   ============================================= */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: 10px;
}

.stock-low {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  animation: stock-pulse 2s ease-in-out infinite;
}

.stock-out {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

@keyframes stock-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* =============================================
   ADMIN STOCK MANAGER
   ============================================= */
.stock-manager { display: flex; flex-direction: column; gap: 16px; }

.stock-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
}

.stock-row:hover { box-shadow: var(--shadow); }

.stock-row-emoji { font-size: 2rem; flex-shrink: 0; }

.stock-row-info { flex: 1; min-width: 0; }
.stock-row-name { font-weight: 700; font-size: 0.9rem; }
.stock-row-ref  { font-size: 0.75rem; color: var(--gray-400); margin-top: 2px; }

.stock-row-segment {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}

.seg-res { background: var(--primary-light); color: var(--primary-dark); }
.seg-pro { background: var(--gray-100); color: var(--gray-700); }

.stock-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.stock-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--gray-200);
  background: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--dark);
}

.stock-btn:hover { background: var(--gray-100); border-color: var(--gray-300); }
.stock-btn.minus:hover { background: #FEE2E2; border-color: #FECACA; color: var(--danger); }
.stock-btn.plus:hover  { background: #D1FAE5; border-color: #6EE7B7; color: var(--success); }

.stock-input {
  width: 60px;
  text-align: center;
  padding: 6px 4px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.stock-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,0.1); }

.stock-status {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-ok  { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.status-low { background: var(--warning); box-shadow: 0 0 0 3px rgba(245,158,11,0.25); animation: stock-pulse 2s ease-in-out infinite; }

/* =============================================
   MÉTÉO & VIGILANCE CANICULE (pastille hero-card)
   ============================================= */
#meteo-pill:empty { display: none; }

.meteo-pill {
  display: block;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.meteo-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-xs); }

.meteo-pill-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

.meteo-pill-risk-icon { font-size: 0.95rem; }

.meteo-pill-detail {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 6px;
}

.meteo-pill-vert   { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.meteo-pill-orange { background: #FEF3C7; border-color: #FDE68A; color: #92400E; animation: meteo-pulse 2.2s ease-in-out infinite; }
.meteo-pill-rouge  { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; animation: meteo-pulse 1.6s ease-in-out infinite; }

@keyframes meteo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

/* Jauge de chaleur (vert → orange → rouge) */
.meteo-gauge {
  position: relative;
  margin-top: 12px;
  padding: 7px 0;
}

.meteo-gauge-track {
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.55);
  overflow: hidden;
}

.meteo-gauge-fill {
  height: 100%;
  border-radius: var(--radius-full);
  min-width: 8px;
  transition: width 0.4s ease;
}

.meteo-gauge-fill-vert   { background: var(--success); }
.meteo-gauge-fill-orange { background: var(--warning); }
.meteo-gauge-fill-rouge  { background: var(--danger); }

.meteo-gauge-marker {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  background: white;
  border: 3px solid var(--dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  z-index: 1;
}

.meteo-gauge-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
}

.meteo-pill-source {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.55;
  margin-top: 6px;
  text-transform: none;
  letter-spacing: 0;
}

/* =============================================
   COOKIE CONSENT (Google Consent Mode v2)
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cookieCardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Carte flottante, dans le même langage visuel que .hero-card / .float-badge */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 3000;
  width: calc(100% - 40px);
  max-width: 400px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  animation: cookieCardIn 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
.cookie-banner-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #7DD3FC 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(14,165,233,0.35);
  margin-bottom: 14px;
}
.cookie-banner-text {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-banner-actions-row {
  display: flex;
  gap: 8px;
}
.cookie-banner-actions-row .btn { flex: 1; }
.cookie-banner-customize {
  align-self: center;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
  padding: 2px;
}
.cookie-banner-customize:hover { color: var(--primary); }

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.55);
  backdrop-filter: blur(3px);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.cookie-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  animation: cookieCardIn 0.3s cubic-bezier(0.34,1.2,0.64,1);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cookie-modal h3 { margin: 0; }
.cookie-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--gray-100);
}
.cookie-modal-row:first-of-type { border-top: none; padding-top: 0; }
.cookie-modal-row-title { font-weight: 700; font-size: 0.88rem; color: var(--dark); margin-bottom: 3px; }
.cookie-modal-row-desc { font-size: 0.78rem; color: var(--gray-400); line-height: 1.5; }
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.cookie-toggle {
  width: 42px; height: 24px;
  border-radius: 99px;
  background: var(--gray-200);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.cookie-toggle .cookie-toggle-dot {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: var(--transition);
}
.cookie-toggle.on { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.cookie-toggle.on .cookie-toggle-dot { left: 20px; }
.cookie-toggle-locked {
  background: var(--success);
  cursor: not-allowed;
  opacity: 0.55;
}
.cookie-toggle-locked .cookie-toggle-dot { left: 20px; }

@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
}
.status-out { background: var(--danger);  box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }

/* =============================================
   reCAPTCHA v3 — badge flottant Google masqué
   ============================================= */
/* Google positionne son badge "protégé par reCAPTCHA" en bas à droite par
   défaut, exactement là où se trouve le lanceur du chatbot (voir plus bas) —
   les deux se superposaient. Masquer le badge est autorisé par les CGU
   Google à condition d'afficher la mention légale requise ailleurs sur la
   page (voir .recaptcha-disclosure, near les formulaires de connexion/
   inscription concernés : admin-login.html, espace-client.html,
   reservation.html étape 4). visibility:hidden (pas display:none) sur
   recommandation de Google, pour ne pas perturber le fonctionnement du script. */
.grecaptcha-badge { visibility: hidden; }

.recaptcha-disclosure {
  font-size: 0.68rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-top: 8px;
}
.recaptcha-disclosure a { color: var(--gray-400); text-decoration: underline; }

/* =============================================
   CHATBOT (assistant IA — Catalogue & Réservation)
   ============================================= */
body.has-chatbot .btn-top { bottom: 100px; }

.chatbot-launcher {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(14,165,233,0.4);
  z-index: 1500;
  transition: var(--transition-spring);
}
.chatbot-launcher:hover { transform: scale(1.08); }
.chatbot-launcher.open { display: none; }

.chatbot-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid #0EA5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  line-height: 1;
}

.chatbot-panel {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 56px);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(10,15,30,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1500;
}
.chatbot-panel.open { display: flex; }

.chatbot-header {
  background: linear-gradient(135deg, #0EA5E9, #6366F1);
  color: white;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chatbot-header-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.chatbot-header-text { flex: 1; min-width: 0; }
.chatbot-header-title { font-weight: 800; font-size: 0.95rem; }
.chatbot-header-sub { font-size: 0.72rem; color: rgba(255,255,255,0.75); }
.chatbot-close, .chatbot-reset {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: var(--transition);
}
.chatbot-close:hover, .chatbot-reset:hover { background: rgba(255,255,255,0.3); }
.chatbot-reset:hover { transform: rotate(-45deg); }

.chatbot-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-50);
}

.chatbot-msg { display: flex; max-width: 88%; }
.chatbot-msg.user { align-self: flex-end; }
.chatbot-msg.bot { align-self: flex-start; }
.chatbot-msg-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.chatbot-msg.user .chatbot-msg-bubble {
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  border-bottom-right-radius: 4px;
}
.chatbot-msg.bot .chatbot-msg-bubble {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

.chatbot-typing { display: flex; gap: 4px; align-items: center; padding: 6px 4px; }
.chatbot-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: chatbot-bounce 1.2s infinite ease-in-out;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatbot-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 12px;
  flex-shrink: 0;
}
.chatbot-suggestion {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-suggestion:hover { background: var(--primary-light); border-color: var(--primary); }

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
  background: white;
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-family: inherit;
  resize: none;
  max-height: 80px;
}
.chatbot-input:focus { outline: none; border-color: var(--primary); }
.chatbot-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0EA5E9, #0284C7);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition-spring);
}
.chatbot-send:hover { transform: scale(1.08); }
.chatbot-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.chatbot-disclaimer {
  font-size: 0.65rem;
  color: var(--gray-400);
  text-align: center;
  padding: 0 14px 10px;
}

@media (max-width: 480px) {
  .chatbot-panel {
    inset: 0;
    width: auto; max-width: none;
    height: auto; max-height: none;
    border-radius: 0;
  }
  .chatbot-input { font-size: 16px; } /* évite le zoom auto iOS au focus (<16px = zoom) */
  .chatbot-launcher { bottom: 20px; right: 20px; }
  body.has-chatbot .btn-top { bottom: 90px; }
}

/* Petite mention des horaires, affichée sous chaque numéro de téléphone
   (footer, bloc siège social) — sur fond sombre par défaut. */
.phone-hours-note {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* Contenu présent pour le SEO/l'accessibilité (lecteurs d'écran, moteurs de
   recherche) mais retiré visuellement — utile pour les pages "app-like"
   (ex. tunnel de réservation) où un H1 visible casserait la mise en page. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
