/* ══════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════ */
:root {
  --orange: #FF6B35;
  --orange-light: #FF8C5A;
  --orange-pale: #FFF3EE;
  --blue-dark: #2C2F38;
  --blue-mid: #3D4152;
  --blue-light: #F0F1F4;
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F0F2F4;
  --gray-200: #E2E4E9;
  --gray-400: #9A9FAE;
  --gray-600: #5A5F70;
  --gray-800: #2C2F38;
  --text: #1E2028;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(44,47,56,.07);
  --shadow-md: 0 6px 24px rgba(44,47,56,.11);
  --shadow-lg: 0 16px 48px rgba(44,47,56,.15);
  --transition: .25s ease;
  --font: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-orange { color: var(--orange); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,107,53,.35);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,53,.45); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid rgba(255,255,255,.5);
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-large { padding: 18px 40px; font-size: 1.05rem; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: var(--orange-pale); color: var(--orange);
  padding: 6px 16px; border-radius: 50px; font-size: .8rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--blue-dark); font-weight: 800; margin-bottom: 12px; }

.titre-devis-btn {
  display: inline-block;
  color: var(--blue-dark);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: default;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 90px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo-icon {
  width: 38px; height: 38px; background: var(--blue-dark); color: var(--white);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.logo-text { font-size: 1.15rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -.01em; }
.logo-orange { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--gray-600);
  font-weight: 500; font-size: .9rem; transition: all var(--transition);
}
.nav-links a:hover { color: var(--blue-dark); background: var(--gray-100); }
.nav-links .nav-cta {
  background: var(--orange); color: var(--white); padding: 9px 20px;
  border-radius: 50px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,107,53,.3);
}
.nav-links .nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }
.nav-links .nav-tel {
  background: var(--blue-dark); color: var(--white);
  font-size: 1rem; font-weight: 800; letter-spacing: .02em;
  padding: 9px 22px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(44,47,56,.3);
}
.nav-links .nav-tel:hover { background: #0f1e4a; transform: translateY(-1px); color: var(--white); }
.nav-tel-orange { color: var(--orange); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: all var(--transition); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  background: url('photos/allomurporteur_final_optimized.jpg') center 30% / cover no-repeat;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 110px 60px 72px;
  max-width: 100%; overflow: hidden; position: relative;
}
#hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(44,47,56,.92) 0%, rgba(44,47,56,.85) 40%, rgba(44,47,56,.4) 65%, transparent 100%);
  z-index: 0;
}
#hero > * { position: relative; z-index: 1; }
#carteContainer { position: absolute !important; z-index: 2; }

.hero-content { max-width: 680px; width: 100%; text-align: left; position: relative; z-index: 1; padding-top: 80px; }
.hero-badges-row { justify-content: flex-start; }
.hero-actions { justify-content: flex-start; }
.hero-stats { justify-content: flex-start; }
.hero-sub { margin-left: 0; margin-right: 0; }

#hero::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.03'%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 { flex: 1; max-width: 620px; position: relative; z-index: 1; }

.hero-badges-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  padding: 8px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
}
.hero-badge-axa {
  background: rgba(0,85,179,.35); border-color: rgba(0,85,179,.6);
  color: #fff;
}
.hero-badge-bureau {
  background: rgba(255,107,53,.25); border-color: rgba(255,107,53,.5);
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}

.hero-sub { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.7; max-width: 520px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 20px 28px; backdrop-filter: blur(8px);
}
.stat { text-align: center; padding: 0 24px; }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); }
.stat span { font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 500; }
.stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

.hero-visual { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.hero-photo {
  width: 380px; height: 420px; object-fit: cover;
  border-radius: 24px; border: 4px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

/* ══════════════════════════════════════════
   BANDEAU PHOTOS
══════════════════════════════════════════ */
#photoBandeau { background: var(--blue-dark); padding: 0; }

.photo-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 380px;
  gap: 4px;
}

.photo-item { position: relative; overflow: hidden; }
.photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.photo-item:hover img { transform: scale(1.06); }

.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,47,56,.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity .3s ease;
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span {
  color: var(--white); font-size: .88rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  background: var(--orange); padding: 8px 14px; border-radius: 8px;
}
/* ══════════════════════════════════════════
   FRANCE / ÉQUIPE
══════════════════════════════════════════ */
#france {
  padding: 96px 0;
  background: var(--white);
}

.france-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Texte */
.france-texte .section-tag { margin-bottom: 14px; display: inline-block; }
.france-texte h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--blue-dark);
  line-height: 1.2; margin-bottom: 20px;
}
.france-intro {
  font-size: 1rem; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 28px;
}
.france-liste {
  display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px;
}
.france-liste li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .92rem; color: var(--gray-700); line-height: 1.5;
}
.france-liste li i { color: var(--orange); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* Photo */
.france-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(44,47,56,.15);
}
.france-photo img {
  width: 100%; height: 480px;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.france-photo:hover img { transform: scale(1.03); }

.france-photo-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(44,47,56,.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,.15);
}
.france-photo-badge i { color: var(--orange); font-size: 1rem; }

@media (max-width: 900px) {
  .france-grid { grid-template-columns: 1fr; gap: 40px; }
  .france-photo img { height: 300px; }
}

/* ══════════════════════════════════════════
   GARANTIES PREMIUM – AXA + BUREAU D'ÉTUDES
══════════════════════════════════════════ */
#garanties {
  padding: 80px 0;
  background: url('photos/fb.jpg') center center / cover no-repeat;
  position: relative;
}
#garanties::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,28,34,.70) 0%, rgba(44,47,56,.75) 100%);
  z-index: 0;
}
#garanties .container { position: relative; z-index: 1; }
#garanties .section-header h2 { color: var(--white); }
#garanties .section-header p  { color: rgba(255,255,255,.55); }
#garanties .section-header { margin-bottom: 48px; }

.garanties-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Carte de base */
.garantie-card {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}
.garantie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(0,0,0,.4);
}

/* Effet brillance au hover */
.garantie-shine {
  position: absolute; top: -60%; left: -60%;
  width: 220%; height: 220%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.07) 0%, transparent 60%);
  pointer-events: none;
}

/* AXA – fond sombre bleu marine avec accent AXA rouge/bleu */
.garantie-axa {
  background: linear-gradient(145deg, #16181E 0%, #1E2028 60%, #252830 100%);
}
.garantie-axa::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #0055B3, #00A9FF, #0055B3);
  border-radius: 24px 24px 0 0;
}

/* Bureau d'études – fond gris anthracite chaud */
.garantie-bureau {
  background: linear-gradient(145deg, #1C1208 0%, #2E1E0A 60%, #3A2510 100%);
}
.garantie-bureau::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), #FFB347, var(--orange));
  border-radius: 24px 24px 0 0;
}

/* En-tête de carte */
.garantie-top {
  display: flex; align-items: center; gap: 14px;
}
.garantie-badge-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.axa-color   { background: linear-gradient(135deg,#0055B3,#0080FF); color:#fff; box-shadow: 0 6px 20px rgba(0,85,179,.4); }
.bureau-color{ background: linear-gradient(135deg,#E55A00,var(--orange)); color:#fff; box-shadow: 0 6px 20px rgba(255,107,53,.4); }

.garantie-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 2px;
}

/* Logo AXA stylisé */
.axa-wordmark {
  margin-left: auto;
  font-size: 2rem; font-weight: 900; letter-spacing: -.04em;
  color: #0080FF; text-shadow: 0 0 24px rgba(0,128,255,.5);
  font-style: italic;
}
.bureau-wordmark {
  margin-left: auto;
  font-size: 1.8rem; color: var(--orange);
  text-shadow: 0 0 20px rgba(255,107,53,.4);
}

/* Titre */
.garantie-title {
  font-size: 1.25rem; font-weight: 800; color: var(--white); line-height: 1.3;
  margin: 0;
}
.garantie-title em { font-style: normal; }
.garantie-axa   .garantie-title em { color: #4DA8FF; }
.garantie-bureau .garantie-title em { color: var(--orange); }

/* Description */
.garantie-desc {
  font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.75; margin: 0;
}
.garantie-desc strong { color: rgba(255,255,255,.9); }

/* Séparateur */
.garantie-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Checklist */
.garantie-checklist {
  display: flex; flex-direction: column; gap: 10px;
}
.garantie-checklist li {
  display: flex; align-items: center; gap: 10px;
  font-size: .86rem; color: rgba(255,255,255,.75); font-weight: 500;
}
.garantie-axa    .garantie-checklist li i { color: #4DA8FF; }
.garantie-bureau .garantie-checklist li i { color: var(--orange); }

/* Tag bas de carte */
.garantie-footer-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 700;
  align-self: flex-start; margin-top: 4px;
}
.axa-tag    { background: rgba(0,128,255,.15); color: #4DA8FF; border: 1px solid rgba(0,128,255,.25); }
.bureau-tag { background: rgba(255,107,53,.15); color: var(--orange); border: 1px solid rgba(255,107,53,.25); }

@media (max-width: 768px) {
  .garanties-grid { grid-template-columns: 1fr; }
  .garantie-card  { padding: 28px; }
}

/* ── Carte France hero ── */
#carteContainer {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 580px;
  z-index: 2;
  pointer-events: none;
}

#carteSVG {
  width: 100%;
  height: 100%;
}

.france-outline {
  fill: rgba(255,255,255,.06);
  stroke: rgba(255,255,255,.25);
  stroke-width: 1.2;
}

.dep-point {
  cursor: pointer;
  pointer-events: all;
}
.dep-point circle {
  fill: rgba(255,255,255,.18);
  stroke: rgba(255,255,255,.5);
  stroke-width: .8;
  transition: fill .2s, r .2s;
}
.dep-point text {
  fill: rgba(255,255,255,.55);
  font-size: 4.5px;
  font-family: var(--font);
  font-weight: 600;
  pointer-events: none;
}
.dep-point:hover circle {
  fill: var(--orange);
  stroke: var(--white);
  stroke-width: 1.2;
  r: 6;
}
.dep-point:hover text {
  fill: var(--white);
  font-weight: 700;
}

#carteTooltip {
  position: absolute;
  background: rgba(44,47,56,.92);
  color: var(--white);
  padding: 7px 13px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s;
  z-index: 10;
  border: 1px solid rgba(255,107,53,.4);
  backdrop-filter: blur(6px);
}
.tip-num { color: var(--orange); }

@media (max-width: 1200px) {
  #carteContainer { display: none; }
}

.hero-card {
  position: absolute; top: -20px; right: -20px;
  background: var(--orange); color: var(--white);
  padding: 16px 20px; border-radius: 14px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-card i { font-size: 1.5rem; margin-bottom: 4px; display: block; }
.hero-card p { font-size: .78rem; font-weight: 600; }
.floating { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
#services { padding: 100px 0; background: var(--gray-50); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--gray-200); transition: all var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--orange); }

.service-icon {
  width: 56px; height: 56px; background: var(--orange-pale); color: var(--orange);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--orange); color: var(--white); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.service-card > p { color: var(--gray-600); font-size: .9rem; margin-bottom: 18px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray-600); }
.service-card li i { color: var(--orange); font-size: .8rem; }

/* ══════════════════════════════════════════
   PROCESSUS
══════════════════════════════════════════ */
#processus { padding: 100px 0; background: var(--white); }

.steps { display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-wrap: wrap; }

.step {
  flex: 1; min-width: 200px; max-width: 240px; text-align: center; padding: 32px 20px;
  background: var(--blue-light); border-radius: var(--radius-lg); position: relative;
}
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  width: 28px; height: 28px; border-radius: 50%; font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-icon {
  width: 60px; height: 60px; background: var(--blue-dark); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--gray-600); }
.step-arrow { color: var(--orange); font-size: 1.2rem; margin-top: 60px; opacity: .5; }

/* ══════════════════════════════════════════
   FORMULAIRE RDV
══════════════════════════════════════════ */
#rdv { padding: 100px 0; background: var(--gray-50); }

.rdv-form { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }

/* ── WIZARD PROGRESS ── */
.wizard-header { background: var(--white); border-radius: var(--radius-lg); padding: 28px 32px 20px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }

.wizard-steps { display: flex; justify-content: space-between; align-items: flex-start; position: relative; margin-bottom: 16px; }
.wizard-steps::before { content: ''; position: absolute; top: 18px; left: 18px; right: 18px; height: 2px; background: var(--gray-200); z-index: 0; }

.wstep { display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 1; }
.wstep-num {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; border: 2px solid var(--gray-200);
  background: var(--white); color: var(--gray-400); transition: all .3s ease;
}
.wstep-label { font-size: .68rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .04em; transition: color .3s; white-space: nowrap; }

.wstep.active .wstep-num { background: var(--orange); border-color: var(--orange); color: var(--white); box-shadow: 0 4px 12px rgba(255,107,53,.4); }
.wstep.active .wstep-label { color: var(--orange); }
.wstep.done .wstep-num { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.wstep.done .wstep-label { color: var(--blue-dark); }

.wizard-bar { height: 6px; background: var(--gray-200); border-radius: 50px; overflow: hidden; }
.wizard-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue-dark), var(--orange)); border-radius: 50px; transition: width .4s cubic-bezier(.4,0,.2,1); }

/* ── ÉTAPES ── */
.form-step { display: none; }
.form-step.active { display: block; animation: fadeStepIn .35s ease; }
@keyframes fadeStepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.step-error { color: #ef4444; font-size: .82rem; margin-top: 8px; }

/* ── NAVIGATION WIZARD ── */
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 4px; }
.wizard-btn-prev { min-width: 140px; }
.wizard-btn-next { min-width: 140px; margin-left: auto; }

.form-bloc {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.form-bloc-title {
  font-size: 1rem; font-weight: 700; color: var(--blue-dark);
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; border-bottom: 2px solid var(--orange-pale);
}
.form-bloc-title i { color: var(--orange); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-row:last-child { margin-bottom: 0; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full-width { grid-column: 1 / -1; }

label {
  font-size: .83rem; font-weight: 600; color: var(--gray-800);
  display: flex; align-items: center; gap: 4px;
}
.label-hint { font-weight: 400; color: var(--gray-400); font-size: .78rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-family: var(--font); font-size: .9rem; color: var(--text);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,53,.12);
}
input.error, select.error, textarea.error { border-color: #E53E3E; box-shadow: 0 0 0 3px rgba(229,62,62,.1); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239AA3BC' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px;
  margin-top: 4px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: .85rem; font-weight: 500; transition: all var(--transition);
}
.checkbox-item:hover { border-color: var(--orange); background: var(--orange-pale); }
.checkbox-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--orange); cursor: pointer; }
.checkbox-item input[type="checkbox"]:checked + * { color: var(--orange); }
.checkbox-item:has(input:checked) { border-color: var(--orange); background: var(--orange-pale); }

.checkbox-consent {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-size: .85rem; color: var(--gray-600); font-weight: 400 !important; line-height: 1.5;
}
.checkbox-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange); }

.form-submit { text-align: center; padding-top: 8px; }
.form-note { margin-top: 14px; font-size: .8rem; color: var(--gray-400); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ══════════════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════════════ */
#temoignages {
  padding: 100px 0;
  background: url('photos/fb.jpg') center center / cover no-repeat;
  position: relative;
}
#temoignages::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,28,34,.70) 0%, rgba(44,47,56,.75) 100%);
  z-index: 0;
}
#temoignages .container { position: relative; z-index: 1; }
#temoignages .section-tag { background: rgba(255,107,53,.15); }
#temoignages h2 { color: var(--white); }
#temoignages p.section-header p { color: rgba(255,255,255,.6); }
#temoignages .section-header p { color: rgba(255,255,255,.6); }

.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 24px; }

.temoignage-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition);
}
.temoignage-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.stars { color: #FFB800; font-size: .9rem; margin-bottom: 16px; display: flex; gap: 3px; }
.temoignage-card > p { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.temoignage-auteur { display: flex; align-items: center; gap: 12px; }
.auteur-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--orange);
  color: var(--white); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.temoignage-auteur strong { display: block; color: var(--white); font-size: .9rem; }
.temoignage-auteur span { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
#faq { padding: 100px 0; background: var(--white); }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item { border: 1.5px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-item.open { border-color: var(--orange); }

.faq-question {
  width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--blue-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-item.open .faq-question { background: var(--orange-pale); color: var(--orange); }
.faq-question i { flex-shrink: 0; transition: transform var(--transition); color: var(--orange); }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 16px 24px 20px; color: var(--gray-600); font-size: .9rem; line-height: 1.7; }

/* ══════════════════════════════════════════
   RAPPEL
══════════════════════════════════════════ */
#rappel {
  padding: 80px 0;
  background: url('photos/fb.jpg') center center / cover no-repeat;
  position: relative;
}
#rappel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,28,34,.70) 0%, rgba(44,47,56,.75) 100%);
  z-index: 0;
}
#rappel .container { position: relative; z-index: 1; }

.rappel-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

/* Colonne gauche */
.rappel-left { display: flex; align-items: flex-start; gap: 20px; }

.rappel-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  background: var(--orange);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,53,.4);
  animation: float 3s ease-in-out infinite;
}

.rappel-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; color: var(--white); margin-bottom: 10px;
}
.rappel-left p { color: rgba(255,255,255,.65); font-size: .95rem; line-height: 1.6; }
.rappel-left p strong { color: var(--orange); }

/* Formulaire */
.rappel-form { display: flex; flex-direction: column; gap: 16px; }

.rappel-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.rappel-field-full { grid-column: 1 / -1; }

.rappel-field label {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.6);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em;
}
.rappel-field label i { color: var(--orange); }

.rappel-field input,
.rappel-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-size: .95rem;
  font-family: var(--font);
  transition: border-color .2s, background .2s;
  outline: none;
}
.rappel-field input::placeholder { color: rgba(255,255,255,.3); }
.rappel-field input:focus,
.rappel-field select:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,.11);
}
.rappel-field select option { background: var(--blue-dark); color: var(--white); }

.rappel-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 12px;
  background: var(--orange); color: var(--white);
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(255,107,53,.4);
  align-self: flex-start;
}
.rappel-btn:hover { background: #e05a20; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,107,53,.5); }

.rappel-legal { font-size: .72rem; color: rgba(255,255,255,.35); margin: 0; }

/* Message succès */
.rappel-success {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 32px;
}
.rappel-success i { font-size: 2.5rem; color: #4ade80; }
.rappel-success strong { color: var(--white); font-size: 1.1rem; }
.rappel-success p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }

@media (max-width: 900px) {
  .rappel-inner { grid-template-columns: 1fr; gap: 36px; }
  .rappel-fields { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer-top {
  padding: 64px 0 48px;
  background: url('photos/fb.jpg') center center / cover no-repeat;
  position: relative;
}
.footer-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,28,34,.82);
  z-index: 0;
}
.footer-top .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }

.footer-logo { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.footer-logo .logo-text { color: var(--white); }
.footer-tel { font-size: 1.15rem; font-weight: 800; text-decoration: none; color: var(--white); letter-spacing: .02em; }
.footer-tel:hover { color: var(--orange); }
.footer-tel-orange { color: var(--orange); }
.footer-col > p { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); font-size: .9rem;
}
.footer-social a:hover { background: var(--orange); color: var(--white); }

.footer-col h4 { color: var(--white); font-size: .9rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,.55); font-size: .85rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--orange); }

.footer-contact { gap: 12px !important; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-contact li i { color: var(--orange); width: 16px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.55); }
.footer-contact a:hover { color: var(--orange); }

.footer-bottom { background: #1E2544; padding: 18px 0; }
.footer-bottom p { text-align: center; color: rgba(255,255,255,.35); font-size: .8rem; }

/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(44,47,56,.65); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal.show { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px;
  text-align: center; max-width: 420px; width: 90%;
  transform: scale(.9); transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
}
.modal.show .modal-box { transform: scale(1); }
.modal-icon { font-size: 3.5rem; color: var(--orange); margin-bottom: 20px; }
.modal-box h3 { font-size: 1.5rem; color: var(--blue-dark); margin-bottom: 12px; font-weight: 800; }
.modal-box p { color: var(--gray-600); line-height: 1.7; margin-bottom: 28px; font-size: .95rem; }

/* ══════════════════════════════════════════
   CHATBOT
══════════════════════════════════════════ */
#chatbotWidget { position: fixed; bottom: 28px; right: 28px; z-index: 5000; }

#chatToggleBtn {
  width: 60px; height: 60px; border-radius: 50%; background: var(--orange); color: var(--white);
  border: none; cursor: pointer; font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(255,107,53,.5);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); position: relative;
}
#chatToggleBtn:hover { background: var(--orange-light); transform: scale(1.1); }
.chat-notif {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%; background: #E53E3E; color: var(--white);
  font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

#chatbotWindow {
  position: absolute; bottom: 76px; right: 0;
  width: 360px; background: var(--white); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(44,47,56,.2); border: 1px solid var(--gray-200);
  overflow: hidden; transition: all .3s cubic-bezier(.175,.885,.32,1.275);
  transform-origin: bottom right;
}
.chatbot-hidden { opacity: 0; transform: scale(0.85) translateY(10px); pointer-events: none; }
.chatbot-visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: all; }

.chat-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--orange);
  color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.chat-header-info strong { display: block; color: var(--white); font-size: .9rem; }
.chat-status { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.65); font-size: .75rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #48BB78; display: inline-block; }
.chat-close { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; font-size: 1.1rem; transition: color var(--transition); }
.chat-close:hover { color: var(--white); }

.chat-messages {
  height: 300px; overflow-y: auto; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin; scrollbar-color: var(--gray-200) transparent;
}

.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.bot { justify-content: flex-start; }

.msg-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 16px;
  font-size: .85rem; line-height: 1.5;
}
.chat-msg.bot .msg-bubble { background: var(--gray-100); color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg.user .msg-bubble { background: var(--orange); color: var(--white); border-bottom-right-radius: 4px; }

.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.chat-quick-replies button {
  padding: 6px 12px; border-radius: 20px; border: 1.5px solid var(--orange);
  background: var(--orange-pale); color: var(--orange); font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.chat-quick-replies button:hover { background: var(--orange); color: var(--white); }

.typing { display: flex; align-items: center; gap: 4px; padding: 10px 14px; background: var(--gray-100); border-radius: 16px; width: fit-content; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-400); animation: typing .9s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

.chat-input-area {
  display: flex; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.chat-input-area input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: 50px;
  font-size: .85rem; font-family: var(--font);
}
.chat-input-area input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,107,53,.1); }
.chat-input-area button {
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white);
  border: none; cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.chat-input-area button:hover { background: var(--orange-light); transform: scale(1.1); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-visual { display: none; }
  #hero { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px; border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .burger { display: flex; }

  #hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-stats { padding: 16px; gap: 0; }
  .stat { padding: 0 12px; }
  .stat strong { font-size: 1.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }

  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .wstep-label { display: none; }
  .wizard-steps::before { top: 18px; }
  .wizard-nav { flex-wrap: wrap; gap: 10px; }
  .wizard-btn-prev, .wizard-btn-next { min-width: 120px; flex: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  #chatbotWindow { width: calc(100vw - 48px); right: -28px; }
}

@media (max-width: 480px) {
  .section-header { margin-bottom: 36px; }
  #services, #processus, #rdv, #temoignages, #faq { padding: 64px 0; }
  .form-bloc { padding: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
}
