/* ==========================================================================
   wayvance.css - Design system du site wayvance-assurance.org (S03)
   Jetons derives de docs/12_SYSTEME_DESIGN.md (Wayvance Digital).
   Mobile d'abord (360px) ; identifiants francais sans accents (ASCII).
   ========================================================================== */

/* ---------- Police Inter (variable, locale - aucune dependance externe) -- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('polices/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('polices/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Jetons (docs/12 section 1) ----------------------------------- */
:root {
  --bleu-nuit: #1F3864;
  --bleu-nuit-fonce: #16294A;
  --orange: #E8730C;
  --orange-fonce: #C96108;
  --vert-medical: #0E7A5F;
  --vert-fond: #E3F2EC;
  --encre: #1C2434;
  --gris: #64748B;
  --fond: #F6F7F9;
  --bordure: #E6EAF0;
  --ambre: #B7791F;
  --ambre-fond: #FDF3E7;
  --rouge: #C53030;
  --rouge-fond: #FBEAEA;
  --blanc: #FFFFFF;
  --rayon: 16px;
  --rayon-petit: 10px;
  --rayon-grand: 26px;
  --ombre: 0 8px 28px rgba(31, 56, 100, 0.10);
  --ombre-forte: 0 14px 40px rgba(22, 41, 74, 0.22);
  --largeur-max: 76rem;
  --hauteur-entete: 68px;
  /* Echelle typographique et respiration des sections (proportions
     reprises de saplivraison, adaptees a Inter) */
  --t-heros: clamp(2rem, 6.5vw, 4.6rem);
  --t-h2: clamp(1.4rem, 3.6vw, 2.7rem);
  --t-intro: clamp(1.02rem, 1.5vw, 1.18rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--encre);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bleu-nuit); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--bleu-nuit); font-weight: 800; }
h1 { font-size: var(--t-heros); letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); letter-spacing: -0.015em; }
h3 { font-size: 1.12rem; }
strong { font-weight: 800; }
/* Aucun texte en italique sur le site (decision Ibrahim 2026-07-23) */
em, i { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.conteneur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
section { padding: var(--section-y) 0; }
.section-fond { background: var(--fond); }

.surtitre {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert-medical);
  background: var(--vert-fond);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
/* Entetes de section alignees a gauche, largeurs maitrisees
   (modele saplivraison : titre <= 24ch, intro <= 42rem) */
.entete-section { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.entete-section h2 { max-width: 24ch; }
.entete-section p {
  color: var(--gris);
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: var(--t-intro);
  line-height: 1.5;
}

/* ---------- Facette de cristal (docs/12 section 2) ----------------------- */
/* Pan diagonal translucide : degrade orange 16% + rehaut blanc 10%.        */
.facette { position: relative; overflow: hidden; }
.facette::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(232, 115, 12, 0.16), rgba(255, 255, 255, 0.10));
  clip-path: polygon(58% 0, 82% 0, 44% 100%, 20% 100%);
  pointer-events: none;
}
.facette > * { position: relative; z-index: 1; }
/* Variante pour fonds clairs : pan bleu-gris tres subtil */
.facette-claire { position: relative; overflow: hidden; }
.facette-claire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(31, 56, 100, 0.05), rgba(232, 115, 12, 0.04));
  clip-path: polygon(58% 0, 82% 0, 44% 100%, 20% 100%);
  pointer-events: none;
}
.facette-claire > * { position: relative; z-index: 1; }

/* ---------- Boutons ------------------------------------------------------ */
/* Fond noir uniforme pour tous les CTA pleins (plus d'orange en fond de
   bouton, decision Ibrahim 2026-07-25) ; forme pilule (999px) sur tous les
   boutons du site, modele saplivraison. Texte >= 18.7px gras conserve. */
.bouton-orange, .bouton-contour, .bouton-blanc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1.17rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.bouton-orange {
  background: var(--encre);
  color: var(--blanc);
  box-shadow: 0 6px 18px rgba(28, 36, 52, 0.30);
}
.bouton-orange:hover { background: #000; transform: translateY(-2px); }
.bouton-contour {
  background: var(--blanc);
  color: var(--bleu-nuit);
  border-color: rgba(31, 56, 100, 0.35);
}
.bouton-contour:hover { background: rgba(31, 56, 100, 0.06); border-color: var(--bleu-nuit); }
.bouton-blanc {
  background: var(--blanc);
  color: var(--bleu-nuit);
  box-shadow: var(--ombre);
}
.bouton-blanc:hover { transform: translateY(-2px); }

/* ---------- En-tete collant (bandeau gris clair, modele saplivraison) ---- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 248, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bordure);
  min-height: var(--hauteur-entete);
}
.entete.ombre { box-shadow: 0 6px 24px rgba(22, 41, 74, 0.10); }
.entete-interieur {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--hauteur-entete);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.entete-logo img { height: 40px; width: auto; }
/* Bloc marque : logo avec, dessous, "Appel direct :" + numero en
   defilement aleatoire toutes les 15 s (deux numeros, fondu pilote
   par commun.js). Visible a toutes les tailles, modele saplivraison. */
.marque-bloc { display: flex; flex-direction: column; gap: 2px; }
.appel-direct {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}
.appel-libelle {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.appel-numero {
  display: inline-block;
  color: var(--bleu-nuit);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.appel-numero:hover { text-decoration: underline; }
.appel-numero.change { opacity: 0; transform: translateY(-6px); }
/* Liens du menu en pilules (modele saplivraison : fond alterne clair,
   soulevement au survol, page active en couleur distincte) */
.entete-nav { display: none; margin-left: auto; align-items: center; gap: 0.2rem; }
.entete-nav a {
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  transition: background-color 0.2s ease, color 0.15s ease, transform 0.15s ease;
}
.entete-nav a:nth-child(2n) { background-color: var(--fond); }
.entete-nav a:hover { color: var(--bleu-nuit); background-color: var(--bordure); transform: translateY(-1px); }
.entete-nav a[aria-current="page"] { color: var(--bleu-nuit); background-color: rgba(31, 56, 100, 0.08); font-weight: 700; }
/* Selecteur de langue segmente (pilule, actif = blanc + ombre douce,
   modele saplivraison) */
.entete-langues {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #E8EBF0;
  border: 1px solid #DDE2E9;
  border-radius: 999px;
  padding: 3px;
  margin-left: auto;
}
.entete-langues a {
  color: var(--gris);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.15s ease, box-shadow 0.2s ease;
}
.entete-langues a:hover { color: var(--encre); }
.entete-langues a.active {
  background: var(--blanc);
  color: var(--bleu-nuit);
  box-shadow: 0 1px 4px rgba(22, 41, 74, 0.16);
}
.entete-cta {
  display: none;
  padding: 0.55rem 1.1rem;
  box-shadow: none;
  font-size: 0.88rem;
  white-space: nowrap;
}
/* Bouton menu mobile "encercle" (pilule + bordure + icone + libelle),
   modele saplivraison (decision Ibrahim 2026-07-25) */
.bouton-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 0.5rem 0.95rem 0.5rem 0.8rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bouton-menu:hover { border-color: rgba(31, 56, 100, 0.35); box-shadow: var(--ombre); }
.bouton-menu-icone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 18px;
}
.bouton-menu-icone span {
  display: block;
  width: 18px;
  height: 2.5px;
  background: var(--bleu-nuit);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.bouton-menu-texte { font-size: 0.85rem; font-weight: 600; color: var(--bleu-nuit); }
.bouton-menu[aria-expanded="true"] .bouton-menu-icone span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] .bouton-menu-icone span:nth-child(2) { opacity: 0; }
.bouton-menu[aria-expanded="true"] .bouton-menu-icone span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu-mobile {
  display: none;
  background: var(--blanc);
  border-top: 1px solid var(--bordure);
  box-shadow: 0 14px 30px rgba(22, 41, 74, 0.10);
  padding: 0.75rem 1.25rem 1.5rem 1.25rem;
}
.menu-mobile.ouvert { display: block; }
.menu-mobile a {
  display: block;
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--bordure);
}
.menu-mobile .bouton-orange {
  margin-top: 1rem;
  width: 100%;
  border-bottom: 0;
  color: var(--blanc);
}

@media (min-width: 1000px) {
  .appel-libelle { font-size: 0.68rem; }
  .appel-numero { font-size: 0.9rem; }
  .entete-cta { display: inline-flex; }
  .entete-nav { display: flex; margin-left: auto; }
  .entete-langues { margin-left: 0; }
  .bouton-menu, .menu-mobile { display: none !important; }
}

/* ---------- Heros (message fort : titre geant + photo panoramique,
   disposition reprise de saplivraison) ---------------------------------- */
.heros {
  background: linear-gradient(160deg, var(--blanc) 0%, #F1F4F9 100%);
  color: var(--encre);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--section-y) 0;
}
.heros h1 { color: var(--bleu-nuit); max-width: 17ch; }
/* Surtitre du heros : fond vert conserve, texte noir qui vire a l'orange
   toutes les 7 secondes (decision Ibrahim 2026-07-24, couleur au lieu
   d'opacite depuis le 2026-07-25) */
.heros .surtitre {
  color: var(--encre);
  animation: rafraichissement-surtitre 7s ease-in-out infinite;
}
@keyframes rafraichissement-surtitre {
  0%, 80%, 100% { color: var(--encre); }
  90% { color: var(--orange); }
}
@media (prefers-reduced-motion: reduce) {
  .heros .surtitre { animation: none; }
}
/* Touche sante (vert medical, sans italique) : l'orange reste
   reserve aux CTA (docs/12) */
.heros h1 em {
  font-style: normal;
  color: var(--vert-medical);
}
/* Pied du heros : pitch a gauche, actions a droite (grille sap) */
.heros-pied {
  display: grid;
  gap: 1.5rem;
  margin: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(2rem, 4.5vw, 3.25rem) 0;
}
.heros-pitch {
  color: var(--gris);
  font-size: var(--t-intro);
  line-height: 1.55;
  max-width: 36rem;
  margin: 0;
}
.heros-boutons { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* Paire de logos App Store + Google Play dans le CTA du heros */
.logos-stores { display: inline-flex; align-items: center; gap: 0.3rem; }
.logos-stores svg { display: block; }
/* Mention application (docx presentation section 1 : souscrire, payer,
   recevoir sa carte depuis le telephone, sante comme auto) */
.heros-app {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 30rem;
  color: var(--gris);
  font-size: 0.88rem;
}
.heros-app svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--vert-medical); }

/* Grande photo panoramique avec carte d'assure et badge prix flottants */
.heros-visuel { position: relative; }
.heros-photo {
  border-radius: var(--rayon-grand);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
  aspect-ratio: 4 / 3.4;
}
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }

/* Variante moins agressive du heros panoramique (21/9 en desktop) : ce ratio
   rogne trop les photos qui ne sont pas deja tres larges (groupe sur deux
   rangs, portrait de famille), coupant tetes ou pieds. A utiliser des qu'une
   photo hero n'est pas nativement tres panoramique (ratio < ~1.8). */
.heros-photo-naturel { aspect-ratio: 4 / 3; }

/* Carte d'assure flottante (visuel, texte S02 section 1) */
.carte-assure {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: min(240px, 72%);
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-nuit-fonce) 100%);
  border-radius: 12px;
  border-left: 4px solid var(--vert-medical);
  box-shadow: var(--ombre-forte);
  padding: 0.9rem 1rem;
  color: var(--blanc);
}
.carte-assure::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(118deg, rgba(232, 115, 12, 0.16), rgba(255, 255, 255, 0.10));
  clip-path: polygon(60% 0, 85% 0, 45% 100%, 20% 100%);
  pointer-events: none;
}
.carte-assure-libelle {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.carte-assure-formule { font-weight: 800; font-size: 1.05rem; margin: 0.15rem 0 0.5rem 0; }
.carte-assure-pied { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.badge-actif {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 122, 95, 0.28);
  color: #8FE0C8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-actif::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35C79A;
}
.carte-assure-qr {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(0deg, var(--bleu-nuit) 0 3px, transparent 3px 6px),
    repeating-linear-gradient(90deg, var(--bleu-nuit) 0 3px, var(--blanc) 3px 6px);
  border: 3px solid var(--blanc);
  flex-shrink: 0;
}

/* Duo d'ecrans reels de l'application (maquettes du dossier de
   presentation) - section application */
.duo-telephones {
  position: relative;
  width: min(400px, 100%);
  margin: 0 auto;
  padding: 1.25rem 0 2.25rem 0;
}
.tel-cadre {
  background: var(--encre);
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--ombre-forte);
}
.tel-cadre img { width: 100%; height: auto; border-radius: 22px; }
.tel-principal { width: 62%; position: relative; z-index: 2; }
.tel-second {
  width: 56%;
  position: absolute;
  right: 0;
  top: 3.5rem;
  transform: rotate(4deg);
  z-index: 1;
}

/* Badge prix flottant */
.badge-prix {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: var(--blanc);
  color: var(--bleu-nuit);
  border: 1px solid var(--bordure);
  border-radius: 12px;
  box-shadow: var(--ombre-forte);
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.badge-prix strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--orange); }

@media (min-width: 900px) {
  .heros-pied { grid-template-columns: 1.15fr auto; align-items: end; }
  .heros-photo { aspect-ratio: 21 / 9; }
  .heros-photo-naturel { aspect-ratio: 3 / 2; }
  .carte-assure { left: 1.75rem; bottom: 1.75rem; }
  .badge-prix { top: 1.5rem; right: 1.5rem; }
}

/* ---------- Bandeau preuves chiffrees ------------------------------------ */
.bandeau-chiffres { background: var(--blanc); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.chiffres-grille {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  text-align: center;
}
.chiffre-valeur {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--bleu-nuit);
  line-height: 1.1;
}
.chiffre-libelle { font-size: 0.88rem; color: var(--gris); font-weight: 600; }
@media (min-width: 760px) { .chiffres-grille { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .chiffres-grille.trois-colonnes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pourquoi Wayvance : photo soins + benefices legers ----------- */
/* Plus de "cages" : items sans bordure ni fond, respiration sap. */
.pourquoi-grille { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
@media (min-width: 980px) { .pourquoi-grille { grid-template-columns: 0.9fr 1.25fr; } }
.pourquoi-photo {
  border-radius: var(--rayon-grand);
  overflow: hidden;
  box-shadow: var(--ombre);
  aspect-ratio: 4 / 4.4;
}
.pourquoi-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 979px) { .pourquoi-photo { aspect-ratio: 3 / 2; } }
.grille-cartes { display: grid; gap: 1.75rem 2rem; }
@media (min-width: 640px) { .grille-cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grille-cartes.trois-colonnes { grid-template-columns: repeat(3, 1fr); } }
.carte h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.carte p { color: var(--gris); font-size: 0.92rem; }
.carte-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--vert-fond);
  color: var(--vert-medical);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

/* ---------- Cartes formules ---------------------------------------------- */
.grille-formules { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .grille-formules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grille-formules { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.formule {
  position: relative;
  background: var(--blanc);
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.6rem 1.2rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}
.formule-nom {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bleu-nuit);
}
.formule-prix {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--bleu-nuit);
  line-height: 1.1;
  white-space: nowrap;
}
.formule-prix span { font-size: 0.85rem; font-weight: 600; color: var(--gris); }
.formule-couverture { font-size: 0.9rem; color: var(--encre); font-weight: 600; }
.formule-personnes {
  font-size: 0.85rem;
  color: var(--vert-medical);
  font-weight: 700;
  background: var(--vert-fond);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin: 0.35rem auto 0 auto;
}
.lien-formule {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--bleu-nuit);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}
.lien-formule:hover { border-bottom-color: var(--bleu-nuit); }
.note-formules {
  margin: 1.75rem auto 0 auto;
  max-width: 760px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris);
  background: var(--vert-fond);
  border-radius: var(--rayon-petit);
  padding: 0.9rem 1.25rem;
}
.centre-cta { text-align: center; margin-top: 2rem; }

/* ---------- Etapes (points relies en pointilles, modele sap) ------------- */
.grille-etapes { display: grid; gap: 2.25rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.etape { position: relative; padding-left: 2.1rem; }
.etape-point {
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--vert-medical);
  box-shadow: 0 0 0 4px var(--vert-fond);
}
.etape:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 1.4rem;
  bottom: -1.9rem;
  border-left: 2px dashed #D3DAE4;
}
.etape-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 0.35rem;
}
.etape h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.etape p { color: var(--gris); font-size: 0.92rem; max-width: 26rem; }
@media (min-width: 1040px) {
  .grille-etapes { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .etape { padding-left: 0; padding-top: 2.1rem; }
  .etape-point { top: 0; left: 2px; }
  .etape:not(:last-child)::before {
    border-left: 0;
    border-top: 2px dashed #D3DAE4;
    inset: 5px -1.6rem auto 1.6rem;
  }
}

/* ---------- Section application ------------------------------------------ */
.app-grille { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .app-grille { grid-template-columns: 1fr 1fr; } }
.app-texte p { color: var(--gris); margin: 0.75rem 0 1.5rem 0; }

/* Boutons de telechargement App Store / Google Play ("Disponible sur",
   href=# en attendant les liens fournis par Ibrahim) */
.boutons-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}
.bouton-store {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--encre);
  color: var(--blanc);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  min-width: 170px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bouton-store:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.bouton-store, .bouton-store svg, .bouton-store .store-texte, .bouton-store .store-texte small, .bouton-store .store-texte strong { color: var(--blanc); }
.bouton-store svg { flex-shrink: 0; }
.store-texte { display: flex; flex-direction: column; line-height: 1.25; }
.store-texte small { font-size: 0.68rem; font-weight: 600; opacity: 0.75; }
.store-texte strong { font-size: 1.02rem; font-weight: 700; }

/* ---------- Defile des villes (marquee) ----------------------------------- */
.defile {
  overflow: hidden;
  background: var(--blanc);
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  color: var(--encre);
  padding: 0.85rem 0;
}
.defile-piste {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: defilement 60s linear infinite;
}
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-piste span { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.defile-piste span::after { content: '\00B7'; margin-left: 2.5rem; color: var(--orange); }
@keyframes defilement {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .defile-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* ---------- Apercus reseau / auto ----------------------------------------- */
.apercu-grille { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .apercu-grille { grid-template-columns: 1.05fr 0.95fr; } }
.apercu-photo {
  position: relative;
  border-radius: var(--rayon-grand);
  overflow: hidden;
  box-shadow: var(--ombre);
  aspect-ratio: 4 / 3;
}
.apercu-photo img { width: 100%; height: 100%; object-fit: cover; }
.apercu-compteurs { display: flex; gap: 2rem; margin: 1.25rem 0 1.75rem 0; flex-wrap: wrap; }
.apercu-compteurs div { min-width: 130px; }

/* Badge flottant "pharmacies" avec la croix de pharmacie (reprise en
   SVG de la croix du site actuel, aux couleurs de la marque) */
.carte-pharmacies {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--bordure);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: 0.7rem 1rem;
}
.carte-pharmacies strong {
  display: block;
  color: var(--bleu-nuit);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.1;
}
.carte-pharmacies span { font-size: 0.8rem; color: var(--gris); font-weight: 600; }
.croix-pharmacie { flex-shrink: 0; }

/* ---------- FAQ accordeon numerote ---------------------------------------- */
.faq-colonnes { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 860px) { .faq-colonnes { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.accordeon {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-petit);
  overflow: hidden;
}
.accordeon + .accordeon { margin-top: 1rem; }
.accordeon-bouton {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  text-align: left;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
}
.accordeon-numero { color: var(--orange); font-weight: 800; font-size: 0.9rem; flex-shrink: 0; }
.accordeon-chevron {
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--gris);
}
.accordeon-bouton[aria-expanded="true"] .accordeon-chevron { transform: rotate(180deg); }
.accordeon-contenu { display: none; padding: 0 1.25rem 1.15rem 3.05rem; color: var(--gris); font-size: 0.95rem; }
.accordeon-contenu.ouvert { display: block; }

/* ---------- CTA final (clair, sur fond blanc) ------------------------------ */
.cta-final {
  background: var(--blanc);
  color: var(--encre);
  text-align: center;
  padding: 4rem 0;
}
.cta-final h2 { color: var(--bleu-nuit); margin-bottom: 1.5rem; }
.cta-final .heros-boutons { justify-content: center; margin-bottom: 1.75rem; }
.cta-final p { color: var(--gris); font-size: 0.95rem; }
.cta-final a:not(.bouton-orange):not(.bouton-contour):not(.bouton-store) { color: var(--bleu-nuit); }

/* ---------- Pied de page --------------------------------------------------- */
.pied {
  background: var(--bleu-nuit-fonce);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem 0;
  font-size: 0.92rem;
}
.pied-grille { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 860px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
/* Logo bleu nuit + orange : pastille blanche pour rester lisible
   sur le pied de page sombre */
.pied-marque img {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  background: var(--blanc);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  box-sizing: content-box;
}
.pied h4 {
  color: var(--blanc);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.pied-colonne a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  padding: 0.28rem 0;
}
.pied-colonne a:hover { color: var(--blanc); text-decoration: underline; }
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.pied-social { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin: -1rem 0 1.75rem 0; }
.pied-social-libelle { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.bouton-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc);
  transition: background 0.2s ease, transform 0.2s ease;
}
.bouton-social:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.bouton-social svg { width: 17px; height: 17px; }

/* ---------- Bouton WhatsApp flottant --------------------------------------- */
.whatsapp-flottant {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.whatsapp-flottant:hover { transform: scale(1.08); }
.whatsapp-flottant svg { width: 30px; height: 30px; fill: var(--blanc); }

/* ==========================================================================
   Page assurance-sante (lot L2)
   ========================================================================== */

/* Liste de garanties cochees (contenus conserves du site actuel) */
.liste-coches { list-style: none; display: grid; gap: 0.65rem; }
@media (min-width: 760px) { .liste-coches.deux-colonnes { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.liste-coches li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--encre);
  font-size: 0.95rem;
}
.liste-coches li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--vert-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5' fill='none' stroke='%230E7A5F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* Tableau du bareme : defilement horizontal contenu (S03), colonnes par
   formule (S02 section 7), colonne Prestige mise en avant */
.tableau-defilant { overflow-x: auto; border: 1px solid var(--bordure); border-radius: var(--rayon); background: var(--blanc); }
.tableau-bareme { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 860px; }
/* Variante page formule : une seule colonne de taux, pas besoin de largeur minimale */
.tableau-bareme.tableau-formule { min-width: 0; }
.tableau-bareme.tableau-formule th:nth-child(2), .tableau-bareme.tableau-formule td:nth-child(2) { white-space: normal; }
.tableau-bareme th, .tableau-bareme td {
  padding: 0.7rem 0.9rem;
  text-align: center;
  border-bottom: 1px solid var(--bordure);
  white-space: nowrap;
}
.tableau-bareme th:first-child, .tableau-bareme td:first-child {
  text-align: left;
  white-space: normal;
  min-width: 240px;
}
.tableau-bareme thead th {
  background: var(--fond);
  color: var(--bleu-nuit);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tableau-bareme .groupe td {
  background: var(--fond);
  color: var(--bleu-nuit);
  font-weight: 800;
  text-align: left;
  font-size: 0.85rem;
}
.tableau-bareme .col-mise-avant { background: var(--vert-fond); font-weight: 700; }
.tableau-bareme td.plafond { font-weight: 700; color: var(--bleu-nuit); }
.tableau-bareme tbody tr:last-child td { border-bottom: 0; }

/* Cartes d'informations (carences, composition familiale, territoire,
   remboursements) : contenus denses conserves du site actuel */
.cartes-infos { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cartes-infos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .cartes-infos.trois-colonnes { grid-template-columns: repeat(3, 1fr); } }
.carte-info {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.4rem 1.5rem;
}
.carte-info h3 { margin-bottom: 0.9rem; }
.carte-info .ligne {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--fond);
  font-size: 0.92rem;
}
.carte-info .ligne:last-of-type { border-bottom: 0; }
.carte-info .ligne span:first-child { color: var(--gris); }
.carte-info .ligne span:last-child { font-weight: 700; color: var(--bleu-nuit); text-align: right; }
.carte-info .note { margin-top: 0.75rem; font-size: 0.85rem; color: var(--gris); }
.drapeaux { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.drapeaux span {
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Listes d'exclusions (D-05 : listes actuelles integrales) */
.listes-exclusions { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .listes-exclusions { grid-template-columns: 1fr 1fr; } }
.liste-exclusions {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.4rem 1.5rem;
}
.liste-exclusions h3 { margin-bottom: 0.9rem; }
.liste-exclusions ul { list-style: none; display: grid; gap: 0.5rem; }
.liste-exclusions li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--gris);
  font-size: 0.92rem;
}
.liste-exclusions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.55rem;
  height: 2px;
  border-radius: 2px;
  background: var(--rouge);
}

/* Outil de recherche du reseau (donnees W-S1) */
.reseau-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 980px) { .reseau-grille { grid-template-columns: 1.5fr 1fr; } }
.outil-reseau {
  min-width: 0;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 1.25rem;
}
.onglets { display: inline-flex; gap: 2px; background: #E8EBF0; border: 1px solid #DDE2E9; border-radius: 999px; padding: 3px; margin-bottom: 1rem; }
.onglet {
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gris);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.15s ease, box-shadow 0.2s ease;
}
.onglet:hover { color: var(--encre); }
.onglet.actif { background: var(--blanc); color: var(--bleu-nuit); box-shadow: 0 1px 4px rgba(22, 41, 74, 0.16); }
.reseau-filtres { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.9rem; }
.reseau-filtres input, .reseau-filtres select {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon-petit);
  background: var(--blanc);
  color: var(--encre);
  min-width: 0;
}
.reseau-filtres input { flex: 2 1 220px; }
.reseau-filtres select { flex: 1 1 150px; }
.reseau-compteur { font-size: 0.85rem; font-weight: 700; color: var(--vert-medical); margin-bottom: 0.6rem; }
.reseau-liste {
  list-style: none;
  max-height: 430px;
  overflow-y: auto;
  border-top: 1px solid var(--bordure);
}
.reseau-ligne {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid var(--fond);
}
.reseau-ligne strong { display: block; font-size: 0.92rem; color: var(--encre); }
.reseau-detail { font-size: 0.82rem; color: var(--gris); }
.reseau-contact { font-size: 0.82rem; font-weight: 600; color: var(--bleu-nuit); white-space: nowrap; }
@media (max-width: 560px) { .reseau-ligne { flex-direction: column; gap: 0.15rem; } }

/* Carte "documents a fournir" (contenus conserves du site actuel) */
.carte-documents {
  background: var(--vert-fond);
  border: 1px solid rgba(14, 122, 95, 0.18);
  border-radius: var(--rayon);
  padding: 1.5rem 1.6rem;
}
.carte-documents h3 { color: var(--vert-medical); margin-bottom: 0.9rem; }
.carte-documents ul { list-style: none; display: grid; gap: 0.55rem; }
.carte-documents li { position: relative; padding-left: 1.5rem; font-size: 0.93rem; color: var(--encre); }
.carte-documents li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--vert-medical);
}
.carte-documents .note { margin-top: 1rem; font-size: 0.88rem; color: var(--encre); }
.adhesion-grille { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 980px) { .adhesion-grille { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Bande avantages (variation graphique page sante) -------------- */
/* Fond vert medical tres clair (au lieu du gris habituel des sections
   alternees) : distingue cette page tout en restant dans le systeme. */
.avantages-bande { background: var(--vert-fond); }
.avantages-liste { display: grid; gap: 1.75rem; }
@media (min-width: 700px) { .avantages-liste { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .avantages-liste { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.avantage-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.avantage-icone {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vert-medical);
  box-shadow: var(--ombre);
}
.avantage-item h3 { font-size: 0.98rem; margin-bottom: 0.25rem; }
.avantage-item p { font-size: 0.85rem; color: var(--gris); margin: 0; }

/* ---------- Vitrine d'ecrans de l'application (variation du duo-telephones,
   ecrans non superposes, legerement inclines en alternance) -------------- */
.vitrine-telephones {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 0 1rem 0;
}
.vitrine-tel { width: min(175px, 40vw); text-align: center; }
.vitrine-tel figure {
  background: var(--encre);
  border-radius: 26px;
  padding: 7px;
  box-shadow: var(--ombre-forte);
  transition: transform 0.2s ease;
}
.vitrine-tel img { width: 100%; height: auto; border-radius: 19px; display: block; }
.vitrine-tel:nth-child(odd) figure { transform: rotate(-3deg); }
.vitrine-tel:nth-child(even) figure { transform: rotate(3deg); }
.vitrine-tel:hover figure { transform: rotate(0) translateY(-6px); }
.vitrine-tel figcaption {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bleu-nuit);
}
@media (prefers-reduced-motion: reduce) {
  .vitrine-tel figure, .vitrine-tel:hover figure { transition: none; }
}

/* ---------- Panneau agent (carte bleu nuit, variation du fond sombre
   habituellement reserve au pied de page - accent, pas grande section) --- */
.panneau-agent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-nuit-fonce) 100%);
  border-radius: var(--rayon-grand);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.panneau-agent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(232, 115, 12, 0.16), rgba(255, 255, 255, 0.08));
  clip-path: polygon(58% 0, 82% 0, 44% 100%, 20% 100%);
  pointer-events: none;
}
.panneau-agent > * { position: relative; z-index: 1; }
.panneau-agent .surtitre { background: rgba(255, 255, 255, 0.14); color: #BFD3F5; }
.panneau-agent h2 { color: var(--blanc); max-width: 22ch; }
.panneau-agent p { color: rgba(255, 255, 255, 0.8); }
@media (min-width: 940px) { .panneau-agent { grid-template-columns: 1.1fr 1fr; } }
.panneau-telephones {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}
.panneau-tel { width: min(140px, 30vw); text-align: center; }
.panneau-tel figure {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 22px;
  padding: 6px;
  box-shadow: 0 20px 45px rgba(9, 17, 32, 0.4);
}
.panneau-tel img { width: 100%; border-radius: 16px; display: block; }
.panneau-tel figcaption { margin-top: 0.6rem; font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.panneau-tel:nth-child(2) { margin-top: 1.75rem; }

/* Photo (variante du panneau agent quand une photo remplace les ecrans) */
.panneau-photo {
  border-radius: var(--rayon-grand);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(9, 17, 32, 0.4);
  aspect-ratio: 4 / 3.2;
}
.panneau-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Titre present pour la structure/accessibilite mais non affiche a l'ecran
   (section sans titre visible par choix editorial, ex. Conditions de garantie) */
.accessible-seul {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   Page assurance-auto (lot L2)
   ========================================================================== */

/* Carrousel photo des types de vehicules : remplace le hero photo de la
   page assurance-auto et l'apercu auto de l'accueil (decision Ibrahim
   2026-07-25). Meme largeur que son conteneur (comme .heros-photo /
   .apercu-photo qu'il remplace), ratio 3/2 fixe a toutes les tailles
   d'ecran (verifie sans rognage sur les 6 photos - contrairement a
   .heros-photo-naturel, pas de bascule vers 4/3 en mobile : ce ratio
   plus carre rognerait 4 des 6 photos). Defilement auto 5 s, fondu +
   derive douce (pas de swipe), pause au survol/focus, respecte
   prefers-reduced-motion. */
.carrousel-vehicules {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--rayon-grand);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
}
.carrousel-diapo {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.carrousel-diapo.actif { opacity: 1; z-index: 1; }
.carrousel-diapo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); }
.carrousel-diapo.actif img { animation: wv-carrousel-derive 5.6s ease-out forwards; }
@keyframes wv-carrousel-derive {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.carrousel-diapo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 41, 74, 0.85) 0%, rgba(22, 41, 74, 0.25) 45%, rgba(22, 41, 74, 0) 70%);
}
.carrousel-diapo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2rem 1.5rem 2.4rem 1.5rem;
  color: var(--blanc);
  font-weight: 800;
  font-size: 1.15rem;
}
.carrousel-puces {
  position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 3;
  display: flex; justify-content: center; gap: 0.5rem;
}
.carrousel-puce {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carrousel-puce.actif { background: var(--blanc); transform: scale(1.3); }
@media (prefers-reduced-motion: reduce) {
  .carrousel-diapo.actif img { animation: none; }
  .carrousel-diapo { transition: opacity 0.3s ease; }
}

/* ---------- Simulateur de prime (migration W-S2, formules inchangees) ----- */
.simulateur-carte {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.sim-entete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.sim-entete h3 { font-size: 1.1rem; }
.sim-progression { display: flex; gap: 6px; }
.sim-point {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bordure);
  transition: background-color 0.2s ease;
}
.sim-point.actif { background: var(--orange); }
.sim-point.fait { background: var(--vert-medical); }
.sim-etape { display: none; }
.sim-etape.active { display: block; }
.sim-etape-titre { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.1rem; }
.sim-grille { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .sim-grille { grid-template-columns: 1fr 1fr; } }
.sim-champ { display: flex; flex-direction: column; gap: 0.4rem; }
.sim-champ label { font-size: 0.85rem; font-weight: 600; color: var(--encre); }
.sim-champ select, .sim-champ input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  border: 1.5px solid var(--bordure);
  border-radius: var(--rayon-petit);
  background: var(--blanc);
  color: var(--encre);
}
.sim-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.sim-nav-info { font-size: 0.85rem; color: var(--gris); }
.sim-resultat {
  background: var(--vert-fond);
  border-radius: var(--rayon);
  padding: 1.5rem;
  text-align: center;
}
.sim-resultat .res-label { font-weight: 700; color: var(--bleu-nuit); font-size: 0.95rem; }
.sim-resultat .res-montant { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--vert-medical); display: block; margin: 0.4rem 0; }
.sim-resultat .res-periode { color: var(--gris); font-size: 0.88rem; }
.sim-resultat .res-detail { color: var(--gris); font-size: 0.82rem; margin-top: 0.75rem; }

/* ---------- Verification de plaque (ASACI, conservee telle quelle) -------- */
.plaque-carte {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.plaque-ligne { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.plaque-ligne input { flex: 1 1 180px; }
.plaque-reponse { margin-top: 1.25rem; }
.plaque-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.plaque-badge.valide { background: var(--vert-fond); color: var(--vert-medical); }
.plaque-badge.expiree { background: var(--rouge-fond); color: var(--rouge); }
.plaque-info-ligne { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--fond); font-size: 0.9rem; }
.plaque-introuvable { color: var(--rouge); font-size: 0.9rem; }
.plaque-chargement { color: var(--gris); font-size: 0.88rem; text-align: center; padding: 0.5rem 0; }

/* ---------- Galerie diversite du reseau (page reseau-de-soins) ------------ */
.galerie-reseau { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .galerie-reseau { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .galerie-reseau { grid-template-columns: repeat(5, 1fr); } }
.galerie-carte {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.galerie-carte img { width: 100%; height: 100%; object-fit: cover; }
.galerie-carte::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 41, 74, 0.82) 0%, rgba(22, 41, 74, 0.15) 55%, rgba(22, 41, 74, 0) 75%);
}
.galerie-carte figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 0.9rem 0.9rem 0.85rem 0.9rem;
  color: var(--blanc); font-weight: 700; font-size: 0.88rem; line-height: 1.3;
}
.galerie-carte:hover img { transform: scale(1.05); }
.galerie-carte img { transition: transform 0.4s ease; }
@media (prefers-reduced-motion: reduce) { .galerie-carte img { transition: none; } }

/* ---------- Contact : carte WhatsApp mise en avant (page contact) --------- */
.carte-whatsapp {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: var(--vert-fond);
  border-radius: var(--rayon);
  padding: 1.4rem 1.5rem;
}
.carte-whatsapp-icone {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  color: var(--vert-medical);
  box-shadow: var(--ombre);
}
.carte-whatsapp h3 { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 1.05rem; }
.badge-rapide {
  display: inline-flex; align-items: center;
  background: var(--blanc); color: var(--vert-medical);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.03em;
  padding: 0.22rem 0.6rem; border-radius: 999px;
}
.carte-whatsapp p { color: var(--encre); font-size: 0.92rem; margin-top: 0.35rem; }
.carte-whatsapp .lien-whatsapp { display: inline-block; margin-top: 0.6rem; font-weight: 700; color: var(--vert-medical); }

/* ---------- Contact : formulaire (calque saplivraison, mecanisme W-S3) ---- */
.formulaire-contact {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-grand);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--ombre);
}
.formulaire-grille { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .formulaire-grille { grid-template-columns: 1fr 1fr; } }
.formulaire-champ { display: flex; flex-direction: column; gap: 0.4rem; }
.formulaire-champ.pleine-largeur { grid-column: 1 / -1; }
.formulaire-champ label { font-size: 0.85rem; font-weight: 600; color: var(--encre); }
.formulaire-champ input, .formulaire-champ select, .formulaire-champ textarea {
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-petit);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--encre);
  background: var(--blanc);
}
.formulaire-champ textarea { min-height: 130px; resize: vertical; }
.formulaire-champ input:focus, .formulaire-champ select:focus, .formulaire-champ textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.formulaire-note { margin-top: 1rem; font-size: 0.82rem; color: var(--gris); }
.formulaire-succes {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--vert-fond);
  color: var(--vert-medical);
  border-radius: var(--rayon-petit);
  font-weight: 600;
  font-size: 0.9rem;
}
.formulaire-succes.visible { display: block; }

/* ---------- Page a-propos : equipe ----------------------------------------- */
.equipe-carte { max-width: 22rem; }
.equipe-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--bleu-nuit);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  box-shadow: var(--ombre);
}
.equipe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.equipe-photo-attente { font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.equipe-nom { font-size: 1.2rem; font-weight: 800; color: var(--bleu-nuit); margin-top: 1.1rem; }
.equipe-titre { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gris); margin-top: 0.2rem; }

/* ---------- Page a-propos : cartes d'activite (photo + texte + lien) ------ */
.grille-activites { display: grid; gap: 1.75rem; }
@media (min-width: 760px) { .grille-activites { grid-template-columns: repeat(3, 1fr); } }
.carte-activite {
  border-radius: var(--rayon);
  overflow: hidden;
  border: 1px solid var(--bordure);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.carte-activite-photo { aspect-ratio: 4 / 3; }
.carte-activite-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-activite-corps { padding: 1.25rem 1.4rem 1.5rem 1.4rem; }
.carte-activite h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.carte-activite p { color: var(--gris); font-size: 0.9rem; margin-bottom: 0.9rem; }
.lien-fleche { color: var(--vert-medical); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }

/* ---------- Mini-etapes (colonne etroite, jamais horizontales) ------------ */
.mini-etapes { display: grid; gap: 1.4rem; }
.mini-etape { position: relative; padding-left: 2.1rem; }
.mini-etape-point {
  position: absolute; left: 0; top: 0.3rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--vert-medical);
  box-shadow: 0 0 0 4px var(--vert-fond);
}
.mini-etape:not(:last-child)::before {
  content: '';
  position: absolute; left: 6px; top: 1.4rem; bottom: -1.75rem;
  border-left: 2px dashed #D3DAE4;
}
.mini-etape-num {
  display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gris); margin-bottom: 0.35rem;
}
.mini-etape h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.mini-etape p { color: var(--gris); font-size: 0.88rem; }

/* ---------- Apparition au defilement --------------------------------------- */
.apparition { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.apparition.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .apparition { opacity: 1; transform: none; transition: none; }
}

/* ---------- Ajustements mobile (< 1000px), jamais applique au desktop ----
   Corrige un debordement horizontal reel constate sur telephone (Infinix
   Hot 30i, 2026-07-25) : le bloc marque+langues+bouton-menu de l'en-tete
   depassait la largeur de l'ecran a 360px, coupant le bouton menu et
   creant une bande blanche apres dezoom. On resserre chaque element de
   l'en-tete sans rien retirer, puis on reduit titres/sous-titres et texte
   des boutons pour eviter les retours a la ligne. -------------------------- */
@media (max-width: 999px) {
  .appel-direct { flex-direction: column; align-items: flex-start; gap: 0; }
  .appel-libelle { font-size: 0.55rem; letter-spacing: 0.04em; }
  .appel-numero { font-size: 0.74rem; }
  .entete-langues { padding: 2px; }
  .entete-langues a { padding: 0.24rem 0.5rem; font-size: 0.74rem; }
  .bouton-menu { padding: 0.55rem 0.7rem; }
  .bouton-menu-texte { display: none; }

  h3 { font-size: 1rem; }
  .carte h3 { font-size: 0.95rem; }
  .etape h3 { font-size: 1.03rem; }
  .avantage-item h3 { font-size: 0.92rem; }
  .sim-entete h3 { font-size: 0.98rem; }
  .carte-whatsapp h3 { font-size: 0.95rem; }
  .carte-activite h3 { font-size: 0.95rem; }
  .mini-etape h3 { font-size: 0.92rem; }

  .bouton-orange, .bouton-contour, .bouton-blanc {
    font-size: 0.98rem;
    padding: 0.75rem 1.25rem;
    gap: 0.4rem;
  }
}
