/* ==========================================================================
   Cabinet Médical de Pédiatrie — Dr S. DAHMANI (Oran)
   Design System Moderne, Élégant, Fluide & Bilingue (LTR / RTL)
   ========================================================================== */

/* ── 1. VARIABLES & DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --bleu-nuit: #071739;
  --bleu-fonce: #0a2558;
  --bleu: #084dbd;
  --bleu-vif: #0066ff;
  --bleu-hover: #063ea0;
  --bleu-clair: #2563eb;
  --bleu-pale: #dbeafe;
  --bleu-fond: #f0f6ff;
  --bleu-subtil: #f8faff;

  --turquoise: #0d9488;
  --turquoise-fond: #f0fdfa;
  --vert: #10b981;
  --vert-fond: #ecfdf5;
  --or: #f59e0b;
  --or-fond: #fffbeb;
  --rouge: #ef4444;
  --rouge-fond: #fef2f2;

  --encre: #0f172a;
  --encre-douce: #334155;
  --encre-pale: #64748b;
  --fond-page: #f8fafc;
  --blanc: #ffffff;
  --trait: #e2e8f0;
  --trait-fin: rgba(8, 77, 189, 0.09);
  --trait-fort: #cbd5e1;

  --arrondi-xs: 6px;
  --arrondi-sm: 10px;
  --arrondi: 16px;
  --arrondi-l: 22px;
  --arrondi-xl: 30px;
  --arrondi-rond: 9999px;

  --ombre-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --ombre: 0 4px 20px -2px rgba(8, 77, 189, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --ombre-forte: 0 16px 36px -4px rgba(8, 77, 189, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --ombre-lueur: 0 0 0 4px rgba(8, 77, 189, 0.15);

  --police-corps: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --police-titres: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --largeur: 1220px;
}

html[dir='rtl'] {
  --police-corps: 'Readex Pro', 'Almarai', system-ui, -apple-system, sans-serif;
  --police-titres: 'Almarai', 'Readex Pro', system-ui, sans-serif;
}

/* ── 2. RESET & BASE ────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background-color: var(--fond-page);
}

body {
  font-family: var(--police-corps);
  font-size: 16px;
  line-height: 1.7;
  color: var(--encre-douce);
  background-color: var(--blanc);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--police-titres);
  color: var(--bleu-nuit);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

html[dir='rtl'] h1,
html[dir='rtl'] h2,
html[dir='rtl'] h3,
html[dir='rtl'] h4 {
  letter-spacing: normal;
  line-height: 1.45;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--bleu);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover { color: var(--bleu-hover); }

:focus-visible {
  outline: 3px solid var(--bleu-vif);
  outline-offset: 3px;
  border-radius: var(--arrondi-sm);
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: 24px;
}

.conteneur--etroit { max-width: 800px; }
.centre { text-align: center; }

.evitement {
  position: absolute;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 999;
  background: var(--bleu);
  color: var(--blanc);
  padding: 12px 20px;
  border-radius: 0 0 var(--arrondi-sm) var(--arrondi-sm);
  font-weight: 700;
  transition: top 0.2s;
}
.evitement:focus { top: 0; }

/* ── 3. ANIMATIONS AU DÉFILEMENT (SCROLL REVEAL) ─────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delai, 0s);
  will-change: opacity, transform;
}

.reveal-on-scroll.est-revele {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── 4. BANDEAU SUPÉRIEUR ET EN-TÊTE ────────────────────────────────────── */
.bandeau-haut {
  background: linear-gradient(90deg, #071739 0%, #084dbd 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.bandeau-haut__corps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bandeau-haut__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.bandeau-haut__item svg {
  width: 15px;
  height: 15px;
  color: #93c5fd;
  flex-shrink: 0;
}

.bandeau-haut__badge-avis {
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 12px;
  border-radius: var(--arrondi-rond);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap !important;
  flex-shrink: 0;
}
.bandeau-haut__badge-avis .etoiles {
  color: #fbbf24;
  letter-spacing: 2px;
}

.bandeau-haut__droite {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.bandeau-haut__tel {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  padding: 3px 14px;
  border-radius: var(--arrondi-rond);
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1.4;
  transition: all 0.2s ease;
}
.bandeau-haut__tel span {
  white-space: nowrap !important;
  display: inline-block;
}
.bandeau-haut__tel:hover {
  background: #ffffff;
  color: var(--bleu);
}

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--trait);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  white-space: nowrap;
}

.marque__logo-wrap {
  position: relative;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #084dbd 0%, #00d2ff 100%);
  box-shadow: 0 4px 12px rgba(8, 77, 189, 0.2);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.marque:hover .marque__logo-wrap { transform: scale(1.06); }

.marque__img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--blanc);
}

.marque__textes {
  display: flex;
  flex-direction: column;
  white-space: nowrap !important;
}

.marque__titre {
  font-family: var(--police-titres);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bleu-nuit);
  line-height: 1.2;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.marque__sous-titre {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bleu);
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.menu {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap !important;
  flex-shrink: 0;
}

.menu__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--arrondi-rond);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  color: var(--encre-douce);
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.menu__lien:hover {
  color: var(--bleu);
  background: var(--bleu-fond);
}
.menu__lien[aria-current='page'] {
  color: var(--bleu);
  background: var(--bleu-pale);
  font-weight: 700;
}

.entete__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap !important;
}

.bouton-langue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--arrondi-rond);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  color: var(--bleu-fonce);
  background: var(--blanc);
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.bouton-langue svg { width: 16px; height: 16px; color: var(--bleu); }
.bouton-langue:hover {
  border-color: var(--bleu);
  background: var(--bleu-fond);
  color: var(--bleu);
  transform: translateY(-1px);
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--bleu-fond);
  border: 1.5px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  cursor: pointer;
  color: var(--bleu-fonce);
}
.burger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.bouton {
  --fond: var(--bleu);
  --texte: #ffffff;
  --bordure: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid var(--bordure);
  border-radius: var(--arrondi-rond);
  background: var(--fond);
  color: var(--texte);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(8, 77, 189, 0.2);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease;
}
.bouton svg { width: 18px; height: 18px; flex-shrink: 0; }
.bouton:hover {
  color: var(--texte);
  background: var(--bleu-hover);
  transform: translateY(-2px);
  box-shadow: var(--ombre-forte);
}
.bouton:active { transform: translateY(0); }

.bouton--entete {
  display: none;
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.bouton--brillant::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(25deg);
  animation: brillance 4.5s infinite;
}

@keyframes brillance {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

.bouton--hero {
  min-height: 54px;
  padding: 14px 30px;
  font-size: 16px;
  background: linear-gradient(135deg, var(--bleu-vif) 0%, var(--bleu) 100%);
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.35);
}
.bouton--hero:hover {
  background: linear-gradient(135deg, #1a75ff 0%, #063ea0 100%);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.45);
}

.bouton--clair {
  --fond: #ffffff;
  --texte: var(--bleu-fonce);
  --bordure: var(--trait-fort);
  box-shadow: var(--ombre-sm);
}
.bouton--clair:hover {
  --fond: var(--bleu-fond);
  --texte: var(--bleu);
  --bordure: var(--bleu-pale);
}

.bouton--fantome {
  --fond: transparent;
  --texte: var(--bleu-fonce);
  --bordure: var(--bleu-pale);
  box-shadow: none;
}
.bouton--fantome:hover {
  --fond: var(--bleu-fond);
  --texte: var(--bleu);
  border-color: var(--bleu);
}

.bouton--wa {
  --fond: #128c7e;
  --texte: #ffffff;
  --bordure: transparent;
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25);
}
.bouton--wa:hover {
  --fond: #0e7065;
}

.bouton--large { width: 100%; }
.bouton--entete { display: none; }

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--arrondi-rond);
  font-size: 13.5px;
  font-weight: 700;
}
.pastille svg { width: 15px; height: 15px; }

.pastille--statut {
  background: var(--vert-fond);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.point-pulsant {
  width: 8px;
  height: 8px;
  background: var(--vert);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulsation 2s infinite;
}

@keyframes pulsation {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pastille--google {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.pastille--google .etoiles {
  color: #f59e0b;
  letter-spacing: 1px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--bleu);
  font-size: 15px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.lien-fleche svg { width: 16px; height: 16px; }
.lien-fleche:hover { gap: 10px; color: var(--bleu-hover); text-decoration: none; }

html[dir='rtl'] .bouton svg,
html[dir='rtl'] .lien-fleche svg { transform: scaleX(-1); }

/* ── 6. SECTIONS & TITRES ───────────────────────────────────────────────── */
.section {
  padding: clamp(52px, 8vw, 92px) 0;
  position: relative;
}

.section--fond {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-block: 1px solid var(--trait);
}

.page-entete { padding-bottom: 28px; }

.titre-section { margin-bottom: clamp(30px, 4vw, 48px); }
.titre-section--centre {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bleu);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.surtitre svg { width: 16px; height: 16px; }

html[dir='rtl'] .surtitre {
  letter-spacing: normal;
  font-size: 14.5px;
}

.chapeau {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--encre-pale);
  margin-top: 8px;
}
.chapeau--centre { margin-inline: auto; }

/* ── 7. HERO SECTION AVEC HALOS LUMINEUX & COMPOSITIONS ────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 84px) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--trait);
  overflow: hidden;
}

.hero__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.hero__halo--1 {
  width: 500px;
  height: 500px;
  top: -100px;
  inset-inline-end: -80px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, rgba(8, 77, 189, 0.05) 70%, transparent 100%);
}
.hero__halo--2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  inset-inline-start: -80px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
}

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

.hero__pastille-groupe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__titre {
  margin-bottom: 14px;
}

.hero__titre-sub {
  display: block;
  color: var(--bleu-vif);
  font-size: 0.62em;
  font-weight: 700;
  margin-top: 6px;
}

.hero__chapeau {
  margin-bottom: 28px;
  max-width: 590px;
  font-size: 1.12rem;
}

.hero__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero__reperes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--trait);
  padding-top: 22px;
}
.hero__reperes li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__repere-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bleu-fond);
  color: var(--bleu);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__repere-icone svg { width: 18px; height: 18px; }
.hero__reperes strong {
  display: block;
  font-size: 14.5px;
  color: var(--bleu-fonce);
}
.hero__reperes small {
  color: var(--encre-pale);
  font-size: 12.5px;
}

.hero__visuel-wrap {
  position: relative;
}

.hero__visuel-cadre {
  position: relative;
  border-radius: var(--arrondi-xl);
}

.hero__image {
  border-radius: var(--arrondi-xl);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  border: 4px solid var(--blanc);
  background: var(--bleu-fond);
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero__visuel-wrap:hover .hero__image img { transform: scale(1.03); }

.hero__carte-flottante {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--arrondi);
  box-shadow: 0 12px 30px rgba(8, 77, 189, 0.16);
  font-size: 13.5px;
}

.anim-flottante {
  animation: flotter 4.5s ease-in-out infinite alternate;
}

@keyframes flotter {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.carte-flottante__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bleu-fond);
  color: var(--bleu);
  border-radius: var(--arrondi-sm);
  flex-shrink: 0;
}
.carte-flottante__icone svg { width: 20px; height: 20px; }

.carte-flottante__icone--vert {
  background: var(--vert-fond);
  color: var(--vert);
}

.hero__carte-flottante strong {
  display: block;
  color: var(--bleu-nuit);
  font-size: 13.5px;
}
.hero__carte-flottante small {
  color: var(--encre-pale);
  font-weight: 600;
  font-size: 12px;
}

.hero__carte-flottante--haut {
  top: 20px;
  inset-inline-start: -16px;
}
.hero__carte-flottante--bas {
  bottom: 22px;
  inset-inline-end: -16px;
}

/* ── 8. BANDEAU STATS / REPÈRES CLINIQUES ───────────────────────────────── */
.bandeau-stats {
  background: var(--blanc);
  padding: 28px 0;
  border-bottom: 1px solid var(--trait);
}

.grille-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.stat-carte {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bleu-fond);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-carte:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre);
  border-color: var(--bleu-vif);
  background: #ffffff;
}

.stat-carte__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--blanc);
  color: var(--bleu);
  border-radius: var(--arrondi);
  box-shadow: var(--ombre-sm);
  flex-shrink: 0;
}
.stat-carte__icone svg { width: 24px; height: 24px; }
.stat-carte__icone--cyan { color: var(--turquoise); }
.stat-carte__icone--vert { color: var(--vert); }
.stat-carte__icone--or { color: var(--or); }

.stat-carte__texte strong {
  font-family: var(--police-titres);
  font-size: 1.15rem;
  color: var(--bleu-nuit);
  font-weight: 800;
  display: block;
}
.stat-carte__texte span {
  font-size: 12.5px;
  color: var(--encre-pale);
  font-weight: 600;
}

/* ── 9. SECTION VEDETTE : GALERIE DU CABINET & FILTRES ─────────────────── */
.filtres-galerie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filtre-btn {
  padding: 10px 22px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--arrondi-rond);
  background: var(--blanc);
  color: var(--encre-douce);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filtre-btn:hover {
  border-color: var(--bleu);
  color: var(--bleu);
  background: var(--bleu-fond);
  transform: translateY(-1px);
}
.filtre-btn.est-actif {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
  box-shadow: 0 4px 14px rgba(8, 77, 189, 0.3);
}

.grille-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.carte-photo {
  position: relative;
  border-radius: var(--arrondi);
  overflow: hidden;
  background: var(--blanc);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.carte-photo:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.carte-photo__wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.carte-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.carte-photo:hover .carte-photo__img {
  transform: scale(1.08);
}

.carte-photo__survol {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 57, 0.2) 0%, rgba(7, 23, 57, 0.92) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #ffffff;
  transition: opacity 0.3s ease;
}
.carte-photo:hover .carte-photo__survol,
.carte-photo:focus-within .carte-photo__survol {
  opacity: 1;
}

.carte-photo__btn-zoom {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bleu-nuit);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.carte-photo__btn-zoom svg { width: 18px; height: 18px; }
.carte-photo__btn-zoom:hover { transform: scale(1.15); }

.carte-photo__infos {
  transform: translateY(12px);
  transition: transform 0.3s ease;
}
.carte-photo:hover .carte-photo__infos { transform: translateY(0); }

.carte-photo__titre {
  font-family: var(--police-titres);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  display: block;
  margin-bottom: 4px;
}
.carte-photo__desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 10. MODAL LIGHTBOX ─────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.est-ouvert {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 23, 57, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__conteneur {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  background: var(--blanc);
  border-radius: var(--arrondi-l);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.est-ouvert .lightbox__conteneur { transform: scale(1); }

.lightbox__fermer {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--encre);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}
.lightbox__fermer:hover {
  background: #ffffff;
  transform: scale(1.1);
  color: var(--rouge);
}
.lightbox__fermer svg { width: 20px; height: 20px; }

.lightbox__cadre {
  background: #071739;
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox__img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox__legende {
  padding: 18px 24px 10px;
}
.lightbox__legende strong {
  display: block;
  font-family: var(--police-titres);
  font-size: 1.2rem;
  color: var(--bleu-nuit);
  margin-bottom: 4px;
}
.lightbox__legende p {
  font-size: 14px;
  color: var(--encre-pale);
  margin: 0;
}

.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 18px;
  border-top: 1px solid var(--trait);
}

.lightbox__fleche {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bleu-fond);
  color: var(--bleu);
  border: 1px solid var(--bleu-pale);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lightbox__fleche:hover {
  background: var(--bleu);
  color: var(--blanc);
  transform: scale(1.08);
}
.lightbox__fleche svg { width: 18px; height: 18px; }
.lightbox__fleche--prev svg { transform: rotate(180deg); }

html[dir='rtl'] .lightbox__fleche--prev svg { transform: rotate(0deg); }
html[dir='rtl'] .lightbox__fleche--next svg { transform: rotate(180deg); }

.lightbox__compteur {
  font-size: 14px;
  font-weight: 700;
  color: var(--encre-pale);
}

/* ── 11. CARTES SERVICES & ENGAGEMENTS ──────────────────────────────────── */
.grille {
  display: grid;
  gap: 24px;
}
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.carte {
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-l);
  padding: 24px;
  box-shadow: var(--ombre);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.carte--lien {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.carte--lien:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
  border-color: var(--bleu-pale);
}

.carte--service {
  padding: 0;
  overflow: hidden;
}

.carte__image-apercu {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bleu-fond);
}
.carte__image-apercu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carte--service:hover .carte__image-apercu img {
  transform: scale(1.06);
}

.carte__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--bleu-nuit);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--arrondi-rond);
  box-shadow: var(--ombre-sm);
}

.carte__corps {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.carte__entete-icone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.carte__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bleu-fond);
  color: var(--bleu);
  border-radius: var(--arrondi);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.carte:hover .carte__icone { transform: scale(1.08); }
.carte__icone svg { width: 22px; height: 22px; }

.carte__icone--large {
  width: 54px;
  height: 54px;
  border-radius: var(--arrondi-l);
}
.carte__icone--large svg { width: 28px; height: 28px; }

.carte--engagement {
  text-align: start;
}
.carte--engagement h3 {
  margin-block: 16px 8px;
  font-size: 1.18rem;
}
.carte--engagement p {
  font-size: 14.5px;
  color: var(--encre-douce);
  line-height: 1.6;
}

.carte--conseil {
  display: flex;
  flex-direction: column;
}
.carte__entete-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.carte--conseil h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.carte--conseil p {
  font-size: 14.5px;
  color: var(--encre-douce);
}

.carte--locaux {
  padding: 0;
  overflow: hidden;
}
.carte__image-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.carte__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.carte--locaux:hover .carte__image-wrap img {
  transform: scale(1.06);
}

/* ── 12. SECTION OUTILS INTERACTIFS POUR LES PARENTS ─────────────────────── */
.onglets-outils {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.onglet-outil-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--arrondi-rond);
  background: var(--blanc);
  color: var(--bleu-fonce);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--ombre-sm);
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.onglet-outil-btn svg { width: 18px; height: 18px; color: var(--bleu); }
.onglet-outil-btn:hover {
  border-color: var(--bleu);
  background: var(--bleu-fond);
  color: var(--bleu);
  transform: translateY(-2px);
}
.onglet-outil-btn.est-actif {
  background: linear-gradient(135deg, var(--bleu) 0%, #063ea0 100%);
  color: #ffffff;
  border-color: var(--bleu);
  box-shadow: 0 6px 20px rgba(8, 77, 189, 0.28);
}
.onglet-outil-btn.est-actif svg { color: #ffffff; }

.panneau-outil {
  animation: apparaitreOutil 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.carte--outil {
  padding: clamp(24px, 4vw, 40px);
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-xl);
  box-shadow: var(--ombre);
}

.outil-entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--trait);
}

.champ-date-bebe {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.champ-date-bebe label {
  font-weight: 700;
  font-size: 14px;
  color: var(--bleu-nuit);
}
.input-date-custom {
  padding: 10px 16px;
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--arrondi);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--bleu-fonce);
  background: var(--bleu-fond);
  transition: all 0.2s ease;
}
.input-date-custom:focus {
  border-color: var(--bleu);
  box-shadow: var(--ombre-lueur);
  outline: none;
}

.grille-vaccins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.carte-vaccin {
  padding: 20px;
  background: var(--bleu-subtil);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  transition: all 0.2s ease;
}
.carte-vaccin:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre);
  border-color: var(--bleu);
  background: #ffffff;
}

.carte-vaccin__entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.carte-vaccin__badge-age {
  background: var(--bleu);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--arrondi-rond);
}

.carte-vaccin__date-prevue {
  font-size: 12.5px;
  font-weight: 800;
  color: #065f46;
  background: var(--vert-fond);
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: var(--arrondi-rond);
}

.carte-vaccin h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--bleu-nuit);
}

.carte-vaccin__maladies {
  font-size: 13.5px;
  color: var(--encre-douce);
  margin-bottom: 6px;
  line-height: 1.5;
}

.carte-vaccin__details {
  font-size: 12px;
  color: var(--encre-pale);
  display: block;
}

.vaccins-reference-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--arrondi);
  margin-bottom: 22px;
}

.badge-officiel-dz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bleu-nuit);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--arrondi-rond);
}

.badge-officiel-dz svg {
  width: 14px;
  height: 14px;
  stroke: var(--or);
}

.vaccins-reference-badge small {
  color: var(--encre-douce);
  font-size: 12.5px;
  font-weight: 500;
}

.vaccins-guide-abrev {
  margin-top: 24px;
  border-top: 1px dashed var(--bordure);
  padding-top: 18px;
}

.accordeon-abrev {
  background: #ffffff;
  border: 1px solid var(--bordure);
  border-radius: var(--arrondi);
  overflow: hidden;
  transition: all 0.2s ease;
}

.accordeon-abrev[open] {
  border-color: var(--bleu-pale);
  box-shadow: var(--ombre-sm);
}

.accordeon-abrev__titre {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bleu-nuit);
  cursor: pointer;
  background: var(--fond-carte);
  user-select: none;
}

.accordeon-abrev__titre:hover {
  background: var(--bleu-subtil);
  color: var(--bleu);
}

.accordeon-abrev__titre svg {
  width: 16px;
  height: 16px;
  color: var(--vert);
}

.accordeon-abrev__corps {
  padding: 16px 18px;
  background: #ffffff;
}

.tableau-lexique-wrap {
  overflow-x: auto;
}

.tableau-lexique-vaccins {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tableau-lexique-vaccins th {
  text-align: left;
  background: var(--bleu-subtil);
  color: var(--bleu-nuit);
  padding: 10px 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--bleu-pale);
}

html[dir="rtl"] .tableau-lexique-vaccins th {
  text-align: right;
}

.tableau-lexique-vaccins td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--encre);
  line-height: 1.45;
}

.tableau-lexique-vaccins tr:last-child td {
  border-bottom: none;
}

.badge-sigle {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bleu-pale);
  color: var(--bleu-nuit);
  font-weight: 800;
  font-size: 12px;
  border-radius: 4px;
}

/* ── CALCULATEUR DE POIDS & POSOLOGIE ───────────────────────────────────── */
.champ-poids-wrap {
  margin-block: 20px 16px;
}
.champ-poids-wrap label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bleu-nuit);
  margin-bottom: 8px;
}
.champ-poids-flex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.input-poids-custom {
  width: 130px;
  padding: 12px 18px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--bleu-nuit);
  background: var(--bleu-fond);
  border: 2px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  transition: all 0.2s ease;
}
.input-poids-custom:focus {
  border-color: var(--bleu);
  box-shadow: var(--ombre-lueur);
  outline: none;
}
.unite-kg {
  font-size: 18px;
  font-weight: 800;
  color: var(--bleu);
}

.avertissement-medical {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--arrondi);
  color: #92400e;
  font-size: 13px;
  margin-top: 18px;
}
.avertissement-medical svg { width: 20px; height: 20px; color: var(--or); flex-shrink: 0; margin-top: 2px; }
.avertissement-medical p { margin: 0; }

.resultat-posologie-boite {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resultat-carte {
  background: linear-gradient(135deg, #071739 0%, #084dbd 100%);
  color: #ffffff;
  padding: 28px 24px;
  border-radius: var(--arrondi-l);
  text-align: center;
  box-shadow: 0 10px 30px rgba(8, 77, 189, 0.25);
}

.resultat-titre {
  font-size: 14px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

.resultat-valeur {
  font-family: var(--police-titres);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.resultat-pipette {
  font-size: 14px;
  font-weight: 600;
  color: #e0f2fe;
}

.resultat-reperes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.repere-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bleu-fond);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi);
}
.repere-item svg { width: 20px; height: 20px; color: var(--bleu); flex-shrink: 0; }
.repere-item strong { display: block; font-size: 14px; color: var(--bleu-nuit); }
.repere-item small { font-size: 12px; color: var(--encre-pale); }

/* ── CHECKLIST PREMIÈRE VISITE ─────────────────────────────────────────── */
.checklist-progression {
  display: flex;
  align-items: center;
  gap: 12px;
}
.checklist-progression span {
  font-family: var(--police-titres);
  font-size: 15px;
  font-weight: 800;
  color: var(--bleu);
  white-space: nowrap !important;
}
.barre-progression-bg {
  width: 140px;
  height: 8px;
  background: var(--trait);
  border-radius: var(--arrondi-rond);
  overflow: hidden;
}
.barre-progression-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bleu) 0%, var(--vert) 100%);
  border-radius: var(--arrondi-rond);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.grille-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.checklist-carte {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bleu-subtil);
  border: 1.5px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.checklist-carte:hover {
  background: #ffffff;
  border-color: var(--bleu);
  box-shadow: var(--ombre-sm);
}

.checklist-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checklist-boite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--blanc);
  border: 2px solid var(--trait-fort);
  border-radius: 7px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}
.checklist-coche {
  display: none;
  color: #ffffff;
}
.checklist-coche svg { width: 16px; height: 16px; }

.checklist-checkbox:checked + .checklist-boite {
  background: var(--vert);
  border-color: var(--vert);
}
.checklist-checkbox:checked + .checklist-boite .checklist-coche {
  display: block;
}

.checklist-carte:has(.checklist-checkbox:checked) {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.checklist-texte strong {
  display: block;
  font-size: 15px;
  color: var(--bleu-nuit);
  margin-bottom: 4px;
}
.checklist-texte p {
  font-size: 13px;
  color: var(--encre-douce);
  margin: 0;
  line-height: 1.45;
}

/* ── 13. COMPOSITIONS VISUELLES ET LISTES ───────────────────────────────── */
.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.deux-colonnes--centre { align-items: center; }
.deux-colonnes--egales { grid-template-columns: 1fr; }

.visuel-cadre {
  position: relative;
  border-radius: var(--arrondi-l);
  overflow: hidden;
  border: 4px solid var(--blanc);
  box-shadow: var(--ombre-forte);
}
.visuel-cadre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visuel-cadre__badge {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  color: var(--bleu-nuit);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: var(--arrondi-rond);
  box-shadow: var(--ombre);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.visuel-cadre__badge svg { width: 16px; height: 16px; color: var(--bleu); }

.visuel-compose {
  position: relative;
}

.visuel-compose__img-principale {
  border-radius: var(--arrondi-l);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  border: 3px solid var(--blanc);
}
.visuel-compose__img-principale img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visuel-compose__miniature {
  position: absolute;
  bottom: -20px;
  inset-inline-end: -10px;
  width: 180px;
  background: var(--blanc);
  padding: 8px;
  border-radius: var(--arrondi);
  box-shadow: var(--ombre-forte);
  border: 1px solid var(--trait);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.visuel-compose__miniature img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--arrondi-sm);
}
.visuel-compose__miniature span {
  font-size: 12px;
  color: var(--bleu-nuit);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.visuel-compose__miniature svg { width: 14px; height: 14px; color: var(--bleu); }

.liste-check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.liste-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
}
.liste-check li svg {
  width: 20px;
  height: 20px;
  color: var(--vert);
  flex-shrink: 0;
  margin-top: 3px;
}

.liste-check--double {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.grille-atouts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.atout-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bleu-fond);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  transition: transform 0.2s ease;
}
.atout-item:hover { transform: translateX(4px); }
html[dir='rtl'] .atout-item:hover { transform: translateX(-4px); }

.atout-item svg {
  width: 24px;
  height: 24px;
  color: var(--bleu);
  flex-shrink: 0;
  margin-top: 2px;
}
.atout-item strong {
  display: block;
  color: var(--bleu-nuit);
  font-size: 15.5px;
}
.atout-item small {
  color: var(--encre-douce);
  font-size: 13.5px;
}

/* ── 13. PAGE SERVICES (ARTICLES DÉTAILLÉS) ─────────────────────────────── */
.liste-services {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-carte {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-xl);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--ombre);
  align-items: center;
}

.service-carte__entete {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.service-carte__badge {
  display: inline-block;
  background: var(--bleu-fond);
  color: var(--bleu);
  font-size: 13px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--arrondi-rond);
  margin-bottom: 4px;
}

.service-carte__desc { margin-bottom: 16px; }

.service-carte__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-carte__visuel {
  border-radius: var(--arrondi-l);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.service-carte__visuel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 14. HORAIRES & COORDONNÉES ─────────────────────────────────────────── */
.carte--info-bloc { padding: 28px; }

.horaires {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.horaires li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--fond-page);
  border-radius: var(--arrondi-sm);
  font-size: 14.5px;
}
.horaires li b { color: var(--bleu-nuit); }
.horaires li span { font-weight: 600; color: var(--encre-douce); }

.coordonnees {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.coordonnees li a,
.coordonnees li div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--fond-page);
  border-radius: var(--arrondi);
  color: var(--encre);
  text-decoration: none;
  transition: all 0.2s ease;
}
.coordonnees li a:hover {
  background: var(--bleu-fond);
  color: var(--bleu);
  transform: translateX(3px);
}
html[dir='rtl'] .coordonnees li a:hover { transform: translateX(-3px); }

.coordonnees svg {
  width: 22px;
  height: 22px;
  color: var(--bleu);
  flex-shrink: 0;
}
.coordonnees span {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 15px;
}
.coordonnees small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--encre-pale);
}

.carte-zone {
  min-height: 280px;
  background: var(--bleu-fond);
  border: 2px dashed var(--bleu-pale);
  border-radius: var(--arrondi-l);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.carte-zone iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
.carte-zone__placeholder {
  text-align: center;
  padding: 24px;
}
.carte-zone__placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--bleu);
  margin-inline: auto;
  margin-bottom: 8px;
}

/* ── 15. ENCADRÉS & URGENCES ────────────────────────────────────────────── */
.encadre {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: var(--bleu-fond);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi-l);
}
.encadre__icone svg {
  width: 28px;
  height: 28px;
  color: var(--bleu);
  flex-shrink: 0;
  margin-top: 2px;
}
.encadre__texte strong {
  display: block;
  font-family: var(--police-titres);
  font-size: 16.5px;
  color: var(--bleu-nuit);
  margin-bottom: 4px;
}
.encadre__texte p {
  font-size: 14.5px;
  margin: 0;
  color: var(--encre-douce);
}

.urgence {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--rouge-fond);
  border: 1px solid #fecaca;
  border-radius: var(--arrondi);
  color: #991b1b;
  font-size: 14.5px;
}
.urgence svg {
  width: 24px;
  height: 24px;
  color: var(--rouge);
  flex-shrink: 0;
  margin-top: 2px;
}
.urgence p { margin: 0; }

.aide {
  font-size: 13.5px;
  color: var(--encre-pale);
}

/* ── 16. FAQ ACCORDÉON ──────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
  overflow: hidden;
  box-shadow: var(--ombre-sm);
  transition: all 0.25s ease;
}
.faq__item[open] {
  border-color: var(--bleu-pale);
  box-shadow: var(--ombre);
}

.faq__question {
  padding: 18px 24px;
  font-family: var(--police-titres);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--bleu-nuit);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--bleu);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__reponse {
  padding: 0 24px 22px;
  color: var(--encre-douce);
  font-size: 15px;
  line-height: 1.65;
}

/* ── 17. BANNIÈRE D'APPEL À L'ACTION (CTA) ──────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, #071739 0%, #084dbd 100%);
  color: var(--blanc);
  padding: clamp(56px, 8vw, 88px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
}

.section-cta .conteneur {
  position: relative;
  z-index: 2;
}

.section-cta h2 {
  color: var(--blanc);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  margin-bottom: 14px;
}
.section-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.section-cta__boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.section-cta__boutons .bouton {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ── 18. PIED DE PAGE ───────────────────────────────────────────────────── */
.pied {
  background: #061533;
  color: #cbd5e1;
  font-size: 14.5px;
  padding: 64px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pied__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pied h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.pied__marque-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pied__logo {
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.pied__titre {
  display: block;
  color: #ffffff;
  font-family: var(--police-titres);
  font-size: 1.2rem;
}
.pied__sous-titre {
  color: #93c5fd;
  font-weight: 600;
}

.pied__adresse {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.pied__adresse svg { width: 16px; height: 16px; color: #93c5fd; flex-shrink: 0; margin-top: 3px; }

.pied__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.pied__contacts a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.pied__contacts a:hover { color: #ffffff; }
.pied__contacts svg { width: 16px; height: 16px; color: #93c5fd; }

.pied__note {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
}

.pied__liste-liens {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pied__liste-liens a {
  color: #cbd5e1;
  transition: color 0.15s;
}
.pied__liste-liens a:hover { color: #ffffff; }

.pied__horaires {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pied__horaires li {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
}
.pied__horaires b { color: #ffffff; }

.pied__bas {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #94a3b8;
}

.pied__reseaux {
  display: flex;
  gap: 14px;
}
.lien-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 600;
}
.lien-social:hover { color: #ffffff; }
.lien-social svg { width: 16px; height: 16px; }

/* ── 19. BARRE D'ACTIONS RAPIDES SUR MOBILE ─────────────────────────────── */
.barre-rapide {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--trait);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
}

.barre-rapide__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  color: var(--encre-douce);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--arrondi-sm);
  transition: background 0.15s;
}
.barre-rapide__item svg { width: 20px; height: 20px; }

.barre-rapide__item--primaire {
  background: var(--bleu);
  color: #ffffff;
  border-radius: var(--arrondi);
  box-shadow: 0 2px 8px rgba(8, 77, 189, 0.3);
}
.barre-rapide__item--primaire:hover {
  background: var(--bleu-hover);
  color: #ffffff;
}

.barre-rapide__item--wa { color: #128c7e; }

/* ── 20. MENU TIROIR MOBILE ─────────────────────────────────────────────── */
.tiroir {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--blanc);
  border-bottom: 3px solid var(--bleu);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.tiroir.est-ouvert { display: block; }

.tiroir__entete {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--trait);
}
.tiroir__marque {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tiroir__marque img { border-radius: 50%; }
.tiroir__marque strong {
  display: block;
  color: var(--bleu-nuit);
  font-size: 15px;
}
.tiroir__marque small {
  color: var(--bleu);
  font-weight: 600;
}

.tiroir__liens {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.tiroir__lien {
  padding: 10px 14px;
  border-radius: var(--arrondi);
  font-size: 16px;
  font-weight: 700;
  color: var(--encre);
  text-decoration: none;
}
.tiroir__lien:hover,
.tiroir__lien[aria-current='page'] {
  background: var(--bleu-fond);
  color: var(--bleu);
}

.tiroir__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── PIÈGE ANTI-SPAM & ENCADRÉ GLOBAL FIX ──────────────────────────────── */
.piege {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.encadre svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0;
}

.rdv-contact-rapide {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.rdv-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-rond);
  box-shadow: var(--ombre-sm);
}

.rdv-contact-icone {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bleu-fond);
  color: var(--bleu);
  border-radius: 50%;
  flex-shrink: 0;
}
.rdv-contact-icone svg { width: 18px; height: 18px; }
.rdv-contact-icone--wa { background: #dcfce7; color: #15803d; }

.rdv-contact-textes strong {
  display: block;
  font-size: 12px;
  color: var(--encre-douce);
}
.rdv-contact-lien {
  font-family: var(--police-titres);
  font-size: 15px;
  font-weight: 800;
  color: var(--bleu-nuit);
  text-decoration: none;
}
.rdv-contact-lien:hover { color: var(--bleu); }

/* ── 21. FORMULAIRE DE RENDEZ-VOUS ──────────────────────────────────────── */
.carte--rdv-form {
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-xl);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: var(--ombre);
}

/* Stepper moderne */
.etapes-progression {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin: 0 0 36px;
  position: relative;
}
.etapes-progression::before {
  content: '';
  position: absolute;
  top: 18px;
  inset-inline: 40px;
  height: 2px;
  background: var(--trait);
  z-index: 1;
}

.etape-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.etape-bulle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--blanc);
  border: 2px solid var(--trait-fort);
  border-radius: 50%;
  font-family: var(--police-titres);
  font-size: 15px;
  font-weight: 800;
  color: var(--encre-pale);
  transition: all 0.25s ease;
}

.etape-titre {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--encre-pale);
  transition: color 0.25s ease;
}

.etape-item.est-active .etape-bulle {
  background: linear-gradient(135deg, var(--bleu) 0%, #063ea0 100%);
  border-color: var(--bleu);
  color: #ffffff;
  box-shadow: 0 0 0 5px var(--bleu-pale);
}
.etape-item.est-active .etape-titre {
  color: var(--bleu-nuit);
  font-weight: 800;
}

.etape-item.est-faite .etape-bulle {
  background: var(--vert-fond);
  border-color: var(--vert);
  color: var(--vert);
}

.etape { display: none; }
.etape.est-active {
  display: block;
  animation: apparaitreOutil 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.etape-entete {
  margin-bottom: 24px;
}
.etape-entete h2 {
  font-family: var(--police-titres);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--bleu-nuit);
  margin: 0 0 6px;
}

/* Grille des motifs */
.grille-motifs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.carte-motif {
  cursor: pointer;
  user-select: none;
  position: relative;
}

.motif-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.carte-motif__corps {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bleu-subtil);
  border: 2px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  transition: all 0.2s ease;
  position: relative;
}
.carte-motif:hover .carte-motif__corps {
  background: #ffffff;
  border-color: var(--bleu);
  transform: translateY(-2px);
  box-shadow: var(--ombre-sm);
}

.carte-motif__icone {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanc);
  border: 1px solid var(--bleu-pale);
  border-radius: var(--arrondi-sm);
  color: var(--bleu);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.carte-motif__icone svg { width: 22px; height: 22px; }

.carte-motif__textes {
  flex: 1;
}
.carte-motif__nom {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bleu-nuit);
  line-height: 1.35;
  margin-bottom: 3px;
}
.carte-motif__duree {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 8px;
  border-radius: var(--arrondi-rond);
}

.carte-motif__coche {
  display: none;
  width: 22px;
  height: 22px;
  background: var(--bleu);
  color: #ffffff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carte-motif__coche svg { width: 14px; height: 14px; }

.motif-radio:checked + .carte-motif__corps {
  background: #ffffff;
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(8, 77, 189, 0.15), var(--ombre);
}
.motif-radio:checked + .carte-motif__corps .carte-motif__icone {
  background: var(--bleu);
  color: #ffffff;
  border-color: var(--bleu);
}
.motif-radio:checked + .carte-motif__corps .carte-motif__coche {
  display: flex;
}

/* Étape 2 : Date & Créneaux (Jour même) */
.bandeau-jour-rdv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bleu-subtil);
  border: 1.5px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  margin-bottom: 20px;
}

.bandeau-jour-rdv__gauche {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-jour-rdv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bleu);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--arrondi-rond);
}

.badge-jour-rdv svg {
  width: 14px;
  height: 14px;
}

.texte-date-jour {
  font-size: 15px;
  font-weight: 800;
  color: var(--bleu-nuit);
}

.badge-statut-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--vert-texte);
  background: var(--vert-fond);
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: var(--arrondi-rond);
}

.badge-statut-direct svg {
  width: 13px;
  height: 13px;
}

.note-rdv-jour {
  margin-top: 18px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--bordure);
  border-radius: var(--arrondi-sm);
}

.note-rdv-jour p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--encre-douce);
  line-height: 1.5;
}

.note-rdv-jour svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--bleu);
  margin-top: 1px;
}

.input-date-rdv {
  width: 100%;
  max-width: 320px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--bleu-nuit);
  background: var(--bleu-fond);
  border: 2px solid var(--bleu-pale);
  border-radius: var(--arrondi);
  font-family: inherit;
  transition: all 0.2s ease;
}
.input-date-rdv:focus {
  border-color: var(--bleu);
  box-shadow: var(--ombre-lueur);
  outline: none;
}

.etiquette-creneaux {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--bleu-nuit);
  margin-bottom: 10px;
}

.creneaux-grille {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-block: 10px 16px;
}
.creneau {
  padding: 12px 14px;
  background: var(--blanc);
  border: 1.5px solid var(--trait-fort);
  border-radius: var(--arrondi-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--bleu-nuit);
  cursor: pointer;
  transition: all 0.2s ease;
}
.creneau:hover:not(:disabled) {
  border-color: var(--bleu);
  background: var(--bleu-fond);
  color: var(--bleu);
  transform: translateY(-2px);
}
.creneau[aria-pressed='true'] {
  background: linear-gradient(135deg, var(--bleu) 0%, #063ea0 100%);
  color: #ffffff;
  border-color: var(--bleu);
  box-shadow: 0 4px 12px rgba(8, 77, 189, 0.3);
}
.creneau:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: #f1f5f9;
  border-color: #e2e8f0;
}
.creneaux__vide {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  background: var(--bleu-fond);
  border: 1.5px dashed var(--bleu-pale);
  border-radius: var(--arrondi);
  color: var(--bleu-fonce);
  font-size: 14.5px;
  font-weight: 600;
  margin: 0;
}

/* ── CONTENEUR ÉTÉOIT & SYSTÈME UNIVERSEL DE FORMULAIRES ──────────────── */
.conteneur--etroit {
  max-width: 760px !important;
  margin-inline: auto !important;
  width: 100%;
}

.ligne-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 640px) {
  .ligne-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.champ {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.champ label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--police-corps, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--bleu-nuit, #071739);
}

.obligatoire {
  color: #ef4444;
  font-weight: 800;
}

.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ input[type="date"],
.champ input[type="password"],
.champ input[type="search"],
.champ input[type="number"],
.champ textarea,
.champ select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  font-family: var(--police-corps, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--encre, #0f172a);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-appearance: none;
  appearance: none;
}

html[dir="rtl"] .champ input,
html[dir="rtl"] .champ textarea,
html[dir="rtl"] .champ select {
  font-family: var(--police-corps, 'Almarai', system-ui, sans-serif);
  text-align: right;
}

.champ input:hover,
.champ textarea:hover,
.champ select:hover {
  border-color: #94a3b8;
}

.champ input:focus,
.champ textarea:focus,
.champ select:focus {
  border-color: var(--bleu, #084dbd);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(8, 77, 189, 0.14), 0 2px 8px rgba(8, 77, 189, 0.08);
  outline: none;
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.champ textarea {
  resize: vertical;
  min-height: 74px;
  line-height: 1.5;
}

.champ select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}
html[dir="rtl"] .champ select {
  background-position: left 14px center;
  padding-right: 16px;
  padding-left: 38px;
}

.erreur {
  display: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
  margin-top: 4px;
  line-height: 1.4;
}
.erreur.est-visible {
  display: block;
  animation: apparaitreOutil 0.2s ease;
}

/* Étape 3 : Informations */
.sous-bloc-form {
  padding: 20px 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--arrondi-l);
  margin-bottom: 16px;
}
.sous-titre-form {
  font-family: var(--police-titres);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bleu-nuit);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consentement-carte {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.consentement-carte:hover {
  border-color: #cbd5e1;
}
.consentement-carte input {
  width: 18px;
  height: 18px;
  accent-color: var(--bleu);
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
}
.consentement-texte {
  font-size: 13px;
  color: var(--encre-douce);
  line-height: 1.4;
}
.consentement-texte b { color: var(--bleu-nuit); }
.consentement-texte a { color: var(--bleu); font-weight: 700; }

.recapitulatif-rdv {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recapitulatif-rdv strong {
  color: var(--bleu);
}

.nav-etapes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 32px;
}

.nav-etapes .bouton {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 800;
  min-height: 48px;
  flex: 0 1 auto;
  box-sizing: border-box;
}

.nav-etapes button[data-suivant],
.nav-etapes button[type="submit"] {
  min-width: 180px;
}

/* Confirmation / Succès */
.carte--succes-rdv {
  text-align: center;
  padding: clamp(36px, 6vw, 56px) 30px;
  background: var(--blanc);
  border: 1px solid var(--trait-fin);
  border-radius: var(--arrondi-xl);
  box-shadow: var(--ombre);
}
.succes-rdv__cercle-icone {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25);
}
.succes-rdv__cercle-icone svg { width: 36px; height: 36px; }

.succes-rdv__dossier-boite {
  background: var(--bleu-fond);
  border: 2px dashed var(--bleu);
  border-radius: var(--arrondi-l);
  padding: 24px 20px;
  margin: 24px auto;
  max-width: 440px;
}
.dossier-etiquette {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bleu);
  margin-bottom: 6px;
}
.dossier-code {
  display: block;
  font-family: var(--police-titres);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--bleu-nuit);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.dossier-conseil {
  font-size: 13.5px;
  color: var(--encre-douce);
  line-height: 1.45;
  display: block;
}

.succes-rdv__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ── 22. RESPONSIVE BREAKPOINTS ─────────────────────────────────────────── */
@media (min-width: 768px) {
  .hero__grille {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .hero__reperes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .deux-colonnes {
    grid-template-columns: 1fr 1fr;
  }
  .liste-check--double {
    grid-template-columns: 1fr 1fr;
  }
  .service-carte {
    grid-template-columns: 1.15fr 1fr;
  }
  .service-carte--inverse .service-carte__contenu {
    order: 2;
  }
  .service-carte--inverse .service-carte__visuel {
    order: 1;
  }
  .barre-rapide { display: none; }
}

@media (min-width: 992px) {
  .menu { display: flex; }
  .burger { display: none; }
  .bouton--entete { display: inline-flex; }
  .hero__carte-flottante--haut { inset-inline-start: -24px; }
  .hero__carte-flottante--bas { inset-inline-end: -24px; }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }
  .bandeau-haut__corps {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .bandeau-haut__droite {
    width: 100%;
    justify-content: space-between;
  }
  .hero__visuel-wrap {
    margin-top: 10px;
  }
  .hero__carte-flottante {
    position: static;
    margin-top: 12px;
    animation: none;
  }
}
