/* ============================================================
   Piscine Aubagne — STYLESHEET PRINCIPAL (EMD lead-gen template)
   Mobile-first · CSS variables · Grid/Flex · clamp() responsive
   Palette pilotée par les tokens niche dans :root
   ============================================================ */

/* ---------- 1. VARIABLES & RESET ---------- */
:root {
  /* Couleurs */
  --bg: #F4F6F8;
  --bg-alt: #FFFFFF;
  --bg-dark: #05070B;
  --stage: #080A0F;
  --stage-2: #121722;
  --text: #101318;
  --text-soft: #46505C;
  --text-muted: #737D8A;
  --text-on-dark: #F8FAFC;
  --border: #D9E0E8;
  --border-strong: #AEB8C6;

  --accent: #0A8FB5;          /* CTA primaire — couleur niche */
  --accent-rgb: 10,143,181;  /* version rgb pour glows/ombres */
  --accent-hover: #066B89;
  --accent-soft: #E2F4FA;
  --gold: #34C0E0;            /* Accent lumineux secondaire */
  --gold-soft: #E6F8FD;
  --bordeaux: #0E1118;        /* Surface sombre */
  --violet: #172032;
  --success: #23835B;
  --error: #B92727;

  /* Typo */
  --font-serif: 'Roboto Condensed', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --fs-h1: 3.35rem;
  --fs-h2: 2.3rem;
  --fs-h3: 1.55rem;
  --fs-h4: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.15;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-loose: 1.75;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --container-wide: 1400px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 10px 28px rgba(var(--accent-rgb), 0.26);

  --transition: 200ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 56px;
  --reassurance-h: 32px;

  /* Liquid Glass */
  --glass-bg: rgba(8, 11, 18, 0.80);          /* verre sombre (header) */
  --glass-bg-light: rgba(255, 255, 255, 0.82); /* verre clair frosté (form) */
  --glass-blur: blur(22px) saturate(180%);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-hi: rgba(255, 255, 255, 0.60);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--reassurance-h) + var(--sp-4));
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-hover); }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Accessibilité clavier */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

/* ---------- 2. TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: 0;
  color: var(--text);
}

h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-5); }
h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-5); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-4); }
h4 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }

p {
  margin-bottom: var(--sp-4);
  max-width: 70ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
  display: inline-block;
}
.hero .eyebrow { color: var(--gold); }

.text-center { text-align: center; }
.text-soft { color: var(--text-soft); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

section {
  padding-block: clamp(var(--sp-7), 8vw, var(--sp-9));
}

.section-bg-alt { background: var(--bg-alt); }
.section-bg-dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3 { color: var(--text-on-dark); }
.section-bg-gold { background: var(--gold-soft); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.flex { display: flex; gap: var(--sp-4); }
.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; }

/* ---------- 4. HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background:
    linear-gradient(180deg, rgba(18, 24, 36, 0.86) 0%, rgba(8, 11, 18, 0.80) 100%),
    linear-gradient(110deg, rgba(var(--accent-rgb), 0.18) 0%, rgba(var(--accent-rgb), 0) 55%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 10px 34px rgba(0, 0, 0, 0.34);
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text-on-dark);
  letter-spacing: 0;
  text-transform: uppercase;
}
.logo span { color: var(--gold); }

.nav-list {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
}
.nav-list a {
  color: rgba(248, 250, 252, 0.86);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.nav-list a:hover { color: var(--gold); }

.header-cta {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-on-dark);
  font-weight: 600;
}
.phone-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.35rem;
  padding: 0 var(--sp-2);
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  position: relative;
}
.mobile-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  transition: var(--transition);
}
.mobile-toggle span:nth-child(1) { top: 16px; }
.mobile-toggle span:nth-child(2) { top: 21px; }
.mobile-toggle span:nth-child(3) { top: 26px; }
.mobile-toggle.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 5. BARRE DE RÉASSURANCE ---------- */
.reassurance-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: var(--reassurance-h);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.26), rgba(8, 11, 18, 0.86) 50%, rgba(var(--accent-rgb), 0.26));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-on-dark);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: 500;
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}
.reassurance-bar ul {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.reassurance-bar li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.reassurance-bar .check { color: var(--gold); font-weight: 700; }

main { padding-top: calc(var(--header-h) + var(--reassurance-h)); }

/* ---------- 6. BOUTONS / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--accent-rgb), 0.34);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 2px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--stage);
  color: white;
}
.btn-dark:hover {
  background: var(--bordeaux);
  color: white;
}

.btn-lg {
  padding: var(--sp-4) var(--sp-6);
  font-size: 1.125rem;
}

.btn-full { width: 100%; }

/* ---------- 7. HERO ---------- */
.hero {
  padding-top: clamp(var(--sp-6), 5vw, var(--sp-8));
  padding-bottom: clamp(var(--sp-7), 8vw, var(--sp-9));
  background:
    linear-gradient(112deg, rgba(var(--accent-rgb), 0.22) 0%, rgba(var(--accent-rgb), 0) 34%),
    linear-gradient(180deg, #05070B 0%, var(--stage-2) 62%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -12%;
  width: 70%;
  height: 100%;
  background:
    linear-gradient(105deg, transparent 0 44%, rgba(110, 198, 255, 0.18) 44% 45%, transparent 45% 100%),
    linear-gradient(108deg, transparent 0 61%, rgba(var(--accent-rgb), 0.16) 61% 62%, transparent 62% 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.hero-content h1 {
  margin-bottom: var(--sp-4);
  color: var(--text-on-dark);
}

.hero-content h1 strong {
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(110, 198, 255, 0.28);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(248, 250, 252, 0.82);
  margin-bottom: var(--sp-5);
  max-width: 50ch;
}

.hero-trust {
  display: flex;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: rgba(248, 250, 252, 0.76);
}

.trust-item strong {
  color: var(--text-on-dark);
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stars { color: var(--gold); letter-spacing: 0; }

/* ---------- 8. FORMULAIRE MULTI-STEP ---------- */
.lead-form-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 1px 0 var(--glass-hi) inset;
  padding: var(--sp-6);
  border: 1px solid var(--glass-hi);
  position: relative;
}

.lead-form-card::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  width: 72px;
  height: 5px;
  border-radius: var(--radius-pill);
}

.form-header {
  text-align: center;
  margin-bottom: var(--sp-5);
}
.form-header h3 {
  margin-bottom: var(--sp-2);
}
.form-header p {
  color: var(--text-soft);
  font-size: var(--fs-small);
  margin: 0;
}

.progress-bar {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.progress-step {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.progress-step.active { background: var(--accent); }
.progress-step.done { background: var(--gold); }

.lead-form { min-height: 248px; }   /* limite le saut de hauteur entre étapes */
.form-step {
  display: none;
  border: 0;            /* reset bordure groove par défaut du <fieldset> */
  padding: 0;
  margin: 0;
  min-width: 0;         /* évite le min-content du <fieldset> */
}
.form-step.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-field {
  margin-bottom: var(--sp-4);
}

.form-field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--sp-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 1rem;
  font-family: inherit;
  background: #F8FAFC;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-alt);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-field input.error,
.form-field select.error {
  border-color: var(--error);
}

.field-error {
  display: none;
  color: var(--error);
  font-size: var(--fs-xs);
  margin-top: var(--sp-2);
}
.field-error.show { display: block; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.choice-card {
  position: relative;
  padding: var(--sp-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #F8FAFC;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  overflow: hidden;
}
.choice-card:hover {
  border-color: var(--accent);
  background: var(--bg-alt);
}
.choice-card input { position: absolute; opacity: 0; }
.choice-card input:checked + .choice-content {
  color: var(--accent);
}
.choice-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.choice-content {
  display: block;
}
.choice-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--sp-2);
  border-radius: calc(var(--radius) - 4px);
  background-color: var(--stage);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}
.choice-photo--wedding { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-wedding.webp'); }
.choice-photo--birthday { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-birthday.webp'); }
.choice-photo--corporate { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-corporate.webp'); }
.choice-photo--private { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-birthday.webp'); }
.choice-photo--mitzvah { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-mitzvah.webp'); }
.choice-photo--technical { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-technical.webp'); }
.choice-photo--guide { background-image: linear-gradient(rgb(5 7 11 / 12%), rgb(5 7 11 / 12%)), url('/assets/img/card-guide.webp'); }
.choice-label {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 var(--sp-2) var(--sp-1);
  display: block;
}

.form-nav {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.form-nav .btn { flex: 1; }

.consent-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-small);
}
.consent-block label {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 400;
  margin: 0;
}
.consent-block input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-footer-note {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--sp-3);
}

/* ---------- 9. SECTION COMMENT ÇA MARCHE ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
  position: relative;
  transition: var(--transition);
}
.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.step-number {
  position: absolute;
  top: -20px;
  left: var(--sp-5);
  width: 40px;
  height: 40px;
  background: var(--stage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.step-card h3 {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-h4);
}
.step-card p {
  color: var(--text-soft);
  font-size: var(--fs-small);
  margin: 0;
}

/* ---------- 10. CARDS PRESTATIONS ---------- */
.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #05070B 0%, #172032 62%, var(--accent) 100%);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.service-card-img picture,
.service-card-img img {
  width: 100%;
  height: 100%;
  display: block;
}
.service-card-img img {
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-card-img img {
  transform: scale(1.035);
}
.service-card-body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--sp-2);
}
.service-card p {
  color: var(--text-soft);
  margin-bottom: var(--sp-4);
  flex: 1;
  font-size: var(--fs-small);
}
.service-card-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.service-card-link {
  color: var(--text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.service-card-link::after {
  content: '→';
  transition: var(--transition);
}
.service-card:hover .service-card-link::after {
  transform: translateX(4px);
}

/* ---------- 11. ZONES (VILLES) ---------- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-3);
}
.zone-tile {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-4);
  text-align: center;
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}
.zone-tile:hover {
  background: var(--stage);
  color: white;
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.zone-tile-name { display: block; font-size: 1.1rem; }
.zone-tile-meta { display: block; font-size: var(--fs-xs); opacity: 0.7; margin-top: var(--sp-1); }

/* ---------- 12. AVIS / TESTIMONIALS ---------- */
.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: var(--sp-6);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--accent-soft);
  line-height: 1;
}
.testimonial-quote {
  font-style: italic;
  color: var(--text);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
  line-height: var(--lh-loose);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
}
.testimonial-meta { line-height: 1.3; }
.testimonial-name { font-weight: 600; }
.testimonial-event { font-size: var(--fs-small); color: var(--text-muted); }

/* ---------- 13. FAQ ---------- */
.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }

.faq-question {
  width: 100%;
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: transparent;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  transition: var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-item.open .faq-answer {
  max-height: 600px;
}
.faq-answer-inner {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--text-soft);
  line-height: var(--lh-loose);
}

/* ---------- 14. URGENCY / SOCIAL PROOF ---------- */
.urgency-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #172032 58%, var(--stage) 100%);
  color: white;
  padding: var(--sp-4);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  margin: var(--sp-5) 0;
}
.urgency-banner .pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  margin-right: var(--sp-2);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
  margin: var(--sp-6) 0;
  text-align: center;
}
.counter-item .counter-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.counter-item .counter-label {
  color: var(--text-soft);
  font-size: var(--fs-small);
  margin-top: var(--sp-2);
  display: block;
}

/* ---------- 15. CTA BANNER ---------- */
.cta-banner {
  background:
    linear-gradient(118deg, rgba(var(--accent-rgb), 0.2) 0%, rgba(var(--accent-rgb), 0) 36%),
    linear-gradient(135deg, var(--stage) 0%, #172032 100%);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-6), 6vw, var(--sp-8));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 58%, rgba(110, 198, 255, 0.18) 58% 59%, transparent 59% 100%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: var(--sp-4); }
.cta-banner p {
  color: var(--text-on-dark);
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto var(--sp-5);
}

/* ---------- 16. FLOATING WHATSAPP ---------- */
.floating-wa {
  position: fixed;
  bottom: var(--sp-5);
  right: var(--sp-5);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: var(--transition);
  color: white;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}
.floating-wa:hover {
  transform: scale(1.1);
  color: white;
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--stage) 0%, #05070B 100%);
  color: var(--text-on-dark);
  padding: var(--sp-8) 0 var(--sp-5);
  margin-top: var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}
.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col ul li { margin-bottom: var(--sp-2); }
.footer-col a {
  color: var(--text-on-dark);
  opacity: 0.85;
  font-size: var(--fs-small);
  transition: var(--transition);
}
.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}
.footer-brand .logo { color: white; font-size: 1.5rem; margin-bottom: var(--sp-3); display: block; }
.footer-brand .logo span { color: var(--gold); }
.footer-brand p {
  color: var(--text-on-dark);
  opacity: 0.7;
  font-size: var(--fs-small);
  max-width: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-4);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-on-dark);
  opacity: 0.65;
}

/* ---------- 18. BREADCRUMB ---------- */
.breadcrumb {
  padding: var(--sp-3) 0;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.breadcrumb ol {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.breadcrumb li::after {
  content: '/';
  margin-left: var(--sp-2);
  color: var(--border-strong);
}
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- 19. BLOG ARTICLE ---------- */
.article-header {
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-7) 0 var(--sp-5);
}
.article-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}
.article-meta span:not(:last-child)::after {
  content: '·';
  margin-left: var(--sp-3);
}
.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: var(--lh-loose);
}
.article-body h2 { margin-top: var(--sp-7); }
.article-body h3 { margin-top: var(--sp-6); }
.article-body p { margin-bottom: var(--sp-4); max-width: none; }
.article-body ul, .article-body ol {
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-5);
}
.article-body ul li, .article-body ol li {
  margin-bottom: var(--sp-2);
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: var(--sp-4) var(--sp-5);
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin: var(--sp-5) 0;
  font-style: italic;
}
.article-cta-inline {
  background: linear-gradient(135deg, var(--gold-soft), #F8FAFC);
  border-radius: var(--radius);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
  text-align: center;
}
.article-cta-inline h3 {
  margin-bottom: var(--sp-3);
}

/* ---------- 20. EXIT INTENT POPUP ---------- */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(19, 16, 24, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: var(--sp-4);
}
.exit-popup.show { display: flex; animation: fadeIn 0.3s ease; }
.exit-popup-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  border: 1px solid var(--glass-hi);
  box-shadow: var(--shadow-lg), 0 1px 0 var(--glass-hi) inset;
}

/* Utilitaire Liquid Glass réutilisable */
.glass {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-hi);
  box-shadow: 0 1px 0 var(--glass-hi) inset;
}
.exit-popup-close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --fs-h1: 2.7rem;
    --fs-h2: 2rem;
  }
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero::before { width: 90%; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 50px;
    --reassurance-h: 30px;
    --fs-h1: 2.25rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.35rem;
    --fs-body: 1rem;
  }
  .nav-list, .header-cta .btn { display: none; }
  .mobile-toggle { display: block; }
  .nav-list.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: calc(var(--header-h) + var(--reassurance-h));
    left: 0;
    right: 0;
    background: var(--stage);
    padding: var(--sp-5);
    border-bottom: 1px solid rgba(110, 198, 255, 0.18);
    box-shadow: var(--shadow);
    z-index: 998;
  }
  .nav-list.mobile-open li {
    width: 100%;
    border-bottom: 1px solid rgba(248, 250, 252, 0.12);
  }
  .nav-list.mobile-open a {
    display: block;
    padding: var(--sp-4) 0;
    color: var(--text-on-dark);
  }
  .reassurance-bar ul { gap: var(--sp-3); font-size: var(--fs-xs); }
  .reassurance-bar { padding: 0 var(--sp-3); }
  .choice-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-wa { width: 48px; height: 48px; font-size: 1.25rem; }
  section { padding-block: var(--sp-6); }
  .lead-form-card { padding: var(--sp-4); }
}

@media (max-width: 480px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.55rem;
  }
  .reassurance-bar li:nth-child(n+3) { display: none; }
  .hero-trust { gap: var(--sp-3); }
  .counter-item .counter-num { font-size: 2.25rem; }
  .btn-lg { padding: var(--sp-3) var(--sp-5); font-size: 1rem; }
}

/* ---------- 22. UTILITIES ---------- */
.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;
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-6 { margin-bottom: var(--sp-6); }

.hidden { display: none; }

/* Listes de contenu EMD (quartiers, critères) */
.emd-list, .emd-ol { padding-left: var(--sp-5); margin-bottom: var(--sp-5); }
.emd-list li { list-style: disc; margin-bottom: var(--sp-3); line-height: var(--lh-loose); }
.emd-ol li { list-style: decimal; margin-bottom: var(--sp-3); line-height: var(--lh-loose); }

/* Honeypot anti-spam : hors écran (PAS display:none — doit rester remplissable par les bots) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
