/* ============================================================
   CYBER DOOR — Feuille de style principale
   Palette : encre marine + vert sarcelle sur fond clair
   Typo   : Bricolage Grotesque (titres) / Inter (texte)
   Mobile-first : les media queries élargissent vers le desktop
   ============================================================ */

/* ---------- 1. Variables & base ---------- */
:root {
  /* Couleurs */
  --encre: #0b2233;          /* bleu marine profond : titres, header */
  --encre-2: #16374d;        /* marine secondaire */
  --sarcelle: #0e7c66;       /* vert sarcelle : actions principales */
  --sarcelle-fonce: #0a5c4c; /* survol des boutons */
  --sarcelle-pale: #e3f2ee;  /* fonds de badges / encadrés */
  --bleu: #155e8c;           /* liens, accents secondaires */
  --fond: #f4f8f7;           /* fond général, blanc teinté de vert */
  --carte: #ffffff;          /* fond des cartes */
  --ligne: #d9e5e1;          /* bordures discrètes */
  --texte: #2b3a42;          /* texte courant */
  --texte-doux: #5b6d74;     /* texte secondaire */
  /* Jauge du testeur de mot de passe */
  --rouge: #c94b32;
  --orange: #d98a26;
  --vert: #1d9a63;
  /* Typographie */
  --police-titre: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --police-texte: "Inter", "Segoe UI", sans-serif;
  --police-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  /* Divers */
  --rayon: 12px;
  --ombre: 0 4px 18px rgba(11, 34, 51, 0.08);
  --largeur-max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  color: var(--encre);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--bleu); }
a:hover { color: var(--sarcelle); }

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

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

/* Accessibilité : focus clavier visible partout */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--sarcelle);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- 2. En-tête & navigation ---------- */
.entete {
  background: var(--encre);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.entete-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}
.logo:hover { color: #fff; }
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo .porte { color: var(--sarcelle); }

/* Bouton hamburger (mobile) */
.bouton-menu {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #fff;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-principale { display: none; width: 100%; }
.nav-principale.ouverte { display: block; }

.nav-principale ul {
  list-style: none;
  margin: 0;
  padding: 10px 0 16px;
}

.nav-principale a {
  display: block;
  padding: 10px 6px;
  color: #e8f0ee;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
}
.nav-principale a:hover { color: #fff; background: var(--encre-2); }
.nav-principale a.actif { color: #7fd6c2; font-weight: 700; }

.nav-cta {
  display: inline-block;
  background: var(--sarcelle);
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 8px;
  text-align: center;
  margin-top: 6px;
}
.nav-cta:hover { background: var(--sarcelle-fonce) !important; }

@media (min-width: 860px) {
  .bouton-menu { display: none; }
  .entete-int { flex-wrap: nowrap; }
  .nav-principale { display: block; width: auto; }
  .nav-principale ul {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
  }
  .nav-principale a { padding: 8px 12px; }
  .nav-cta { margin: 0 0 0 8px; }
}

/* ---------- 3. Boutons & étiquettes ---------- */
.bouton {
  display: inline-block;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.bouton:active { transform: scale(0.98); }

.bouton-plein { background: var(--sarcelle); color: #fff; }
.bouton-plein:hover { background: var(--sarcelle-fonce); color: #fff; }

.bouton-contour {
  background: transparent;
  color: var(--encre);
  border: 2px solid var(--encre);
}
.bouton-contour:hover { background: var(--encre); color: #fff; }

.bouton-large { width: 100%; }
@media (min-width: 600px) { .bouton-large { width: auto; } }

/* Étiquette "plaque de porte" : signature visuelle du site */
.plaque {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sarcelle-fonce);
  background: var(--sarcelle-pale);
  border: 1px solid var(--sarcelle);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.plaque::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sarcelle);
  box-shadow: inset 0 -3px 0 var(--sarcelle-fonce);
}

.badge-gratuit { background: var(--sarcelle); color: #fff; border-radius: 6px; padding: 2px 10px; font-size: 0.8rem; font-weight: 700; }
.badge-payant { background: var(--encre); color: #fff; border-radius: 6px; padding: 2px 10px; font-size: 0.8rem; font-weight: 700; }

/* ---------- 4. Sections & cartes ---------- */
.section { padding: 56px 0; }
.section-sombre { background: var(--encre); }
.section-sombre h2, .section-sombre h3 { color: #fff; }
.section-sombre p { color: #cfdcd8; }

.intro-section { max-width: 640px; margin-bottom: 32px; }

.grille {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .grille-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grille-3 { grid-template-columns: repeat(3, 1fr); } }

.carte {
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 26px;
}

.carte .icone {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--sarcelle-pale);
  color: var(--sarcelle-fonce);
  border-radius: 10px;
  margin-bottom: 14px;
}
.carte .icone svg { width: 26px; height: 26px; }

/* ---------- 5. Héros (page d'accueil) ---------- */
.heros {
  background: linear-gradient(160deg, var(--encre) 0%, var(--encre-2) 70%, #1b4a44 100%);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
}
.heros h1 { color: #fff; }
.heros .accent { color: #7fd6c2; }
.heros p.grand { font-size: 1.15rem; color: #d3e2de; max-width: 540px; }

.heros-int {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .heros-int { grid-template-columns: 1.2fr 1fr; } }

.heros-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.heros .bouton-contour { color: #fff; border-color: rgba(255,255,255,0.6); }
.heros .bouton-contour:hover { background: #fff; color: var(--encre); }

/* Illustration "porte" : le battant s'entrouvre au chargement */
.illu-porte { display: block; margin: 0 auto; max-width: 300px; }
.illu-porte .battant {
  transform-origin: left center;
  animation: ouvrir 1.4s ease-out 0.4s forwards;
}
@keyframes ouvrir {
  from { transform: perspective(600px) rotateY(0deg); }
  to   { transform: perspective(600px) rotateY(-24deg); }
}

/* ---------- 6. Outils (testeur + générateur) ---------- */
.outil {
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 26px;
}

.note-confidentialite {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--sarcelle-pale);
  border: 1px solid var(--sarcelle);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--sarcelle-fonce);
  margin-bottom: 18px;
}
.note-confidentialite svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

.champ {
  width: 100%;
  font-size: 1.05rem;
  padding: 13px 14px;
  border: 2px solid var(--ligne);
  border-radius: 10px;
  background: #fff;
  color: var(--texte);
  font-family: var(--police-texte);
}
.champ:focus { border-color: var(--sarcelle); outline: none; }

.champ-mdp-groupe { position: relative; }
.champ-mdp-groupe .champ { padding-right: 52px; font-family: var(--police-mono); }
.bouton-oeil {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--texte-doux);
}
.bouton-oeil:hover { color: var(--encre); }

/* Jauge de robustesse */
.jauge {
  height: 12px;
  border-radius: 999px;
  background: #e4ecea;
  overflow: hidden;
  margin: 16px 0 8px;
}
.jauge-remplissage {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--rouge);
  transition: width 0.35s ease, background 0.35s ease;
}
.jauge-texte { font-weight: 700; font-family: var(--police-titre); }
.jauge-texte.faible { color: var(--rouge); }
.jauge-texte.moyen  { color: var(--orange); }
.jauge-texte.fort   { color: var(--vert); }

.liste-criteres { list-style: none; padding: 0; margin: 16px 0 0; }
.liste-criteres li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 0.95rem;
  color: var(--texte-doux);
}
.liste-criteres li.ok { color: var(--vert); }
.liste-criteres li.ko { color: var(--texte-doux); }
.liste-criteres li.alerte { color: var(--rouge); font-weight: 600; }
.liste-criteres .coche { flex-shrink: 0; width: 18px; text-align: center; font-weight: 700; }

/* Générateur */
.gen-affichage {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 18px;
}
.gen-resultat {
  flex: 1;
  font-family: var(--police-mono);
  font-size: 1.05rem;
  padding: 13px 14px;
  border: 2px dashed var(--sarcelle);
  border-radius: 10px;
  background: var(--sarcelle-pale);
  color: var(--encre);
  word-break: break-all;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.bouton-copier {
  flex-shrink: 0;
  background: var(--encre);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}
.bouton-copier:hover { background: var(--encre-2); }
.bouton-copier.copie { background: var(--vert); }

.gen-options { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 600px) { .gen-options { grid-template-columns: 1fr 1fr; } }

.gen-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  cursor: pointer;
}
.gen-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sarcelle);
  cursor: pointer;
}

.gen-longueur { margin-bottom: 20px; }
.gen-longueur label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; }
.gen-longueur output { font-family: var(--police-mono); color: var(--sarcelle-fonce); }
input[type="range"] {
  width: 100%;
  accent-color: var(--sarcelle);
  cursor: pointer;
}

/* ---------- 7. Formations ---------- */
.module {
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  margin-bottom: 14px;
  overflow: hidden;
}
.module summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--police-titre);
  font-weight: 700;
  color: var(--encre);
}
.module summary::-webkit-details-marker { display: none; }
.module summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--sarcelle);
}
.module[open] summary::after { content: "–"; }
.module .numero {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--sarcelle-pale);
  color: var(--sarcelle-fonce);
  border-radius: 8px;
  font-size: 0.95rem;
}
.module-contenu { padding: 0 20px 20px; border-top: 1px solid var(--ligne); }
.module-contenu ul { padding-left: 20px; }
.module-contenu li { margin-bottom: 6px; }

/* Encadré prix (page de vente) */
.boite-prix {
  background: var(--carte);
  border: 2px solid var(--sarcelle);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 30px;
  text-align: center;
}
.prix {
  font-family: var(--police-titre);
  font-size: 3rem;
  font-weight: 800;
  color: var(--encre);
}
.prix small { font-size: 1.1rem; font-weight: 500; color: var(--texte-doux); }

.liste-coches { list-style: none; padding: 0; margin: 0 0 1.2em; }
.liste-coches li { padding: 6px 0 6px 30px; position: relative; }
.liste-coches li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sarcelle);
  font-weight: 800;
}

/* ---------- 8. Formulaires (contact / accès) ---------- */
.formulaire { display: grid; gap: 16px; max-width: 560px; }
.formulaire label { font-weight: 600; color: var(--encre); display: block; margin-bottom: 6px; }
.formulaire textarea { min-height: 150px; resize: vertical; }

.message-form {
  border-radius: 10px;
  padding: 14px 16px;
  font-weight: 600;
  display: none;
}
.message-form.visible { display: block; }
.message-form.succes { background: #e2f4e9; color: var(--vert); border: 1px solid var(--vert); }
.message-form.erreur { background: #fbeae6; color: var(--rouge); border: 1px solid var(--rouge); }

/* ---------- 9. FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--ligne); }
.faq-item summary {
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: var(--encre);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sarcelle); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--texte-doux); padding-bottom: 16px; }

/* ---------- 10. Pied de page ---------- */
.pied {
  background: var(--encre);
  color: #b9cac5;
  padding: 40px 0 24px;
  margin-top: 40px;
  font-size: 0.92rem;
}
.pied a { color: #d8e6e2; text-decoration: none; }
.pied a:hover { color: #7fd6c2; }
.pied-grille {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-bottom: 28px;
}
@media (min-width: 700px) { .pied-grille { grid-template-columns: 2fr 1fr 1fr; } }
.pied h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: 6px; }
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: #8fa4a0;
}

/* ---------- 11. Divers ---------- */
.texte-centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.texte-doux { color: var(--texte-doux); }
.page-legale h2 { margin-top: 1.6em; }
.page-legale { max-width: 760px; }

/* ---------- 12. Accompagnement (accueil & offres) ---------- */

/* Les deux portes : entrer / sécuriser */
.portes { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 800px) { .portes { grid-template-columns: 1fr 1fr; } }

.porte-carte {
  position: relative;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 30px 26px 26px;
  overflow: hidden;
}
.porte-carte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--sarcelle);
}
.porte-carte.securite::before { background: var(--encre); }

.porte-carte .picto {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--sarcelle-pale);
  color: var(--sarcelle-fonce);
  margin-bottom: 16px;
}
.porte-carte.securite .picto { background: #e6edf2; color: var(--encre); }
.porte-carte .picto svg { width: 28px; height: 28px; }
.porte-carte h3 { font-size: 1.3rem; }
.porte-carte ul { list-style: none; padding: 0; margin: 16px 0 0; }
.porte-carte li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--texte-doux);
}
.porte-carte li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sarcelle);
}
.porte-carte.securite li::before { background: var(--encre); }

/* Comment ça se passe : 3 étapes */
.etapes {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 28px;
  counter-reset: etape;
}
@media (min-width: 780px) { .etapes { grid-template-columns: repeat(3, 1fr); } }

.etape-item { counter-increment: etape; position: relative; padding-left: 62px; }
.etape-item::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--encre);
  color: #fff;
  border-radius: 50%;
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 1.1rem;
}
.etape-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.etape-item p { color: var(--texte-doux); font-size: 0.97rem; margin-bottom: 0; }

/* Formules d'accompagnement */
.formules {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 32px;
  align-items: stretch;
}
@media (min-width: 900px) { .formules { grid-template-columns: repeat(3, 1fr); } }

.formule {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 28px 26px 26px;
}
.formule.vedette { border: 2px solid var(--sarcelle); }
.formule-etiquette {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--sarcelle);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}
.formule h3 { font-size: 1.25rem; margin-bottom: 4px; }
.formule .sous {
  color: var(--texte-doux);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.formule-prix {
  font-family: var(--police-titre);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--encre);
  line-height: 1.1;
}
.formule-prix small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texte-doux);
}
.formule .note-prix {
  font-size: 0.86rem;
  color: var(--texte-doux);
  margin: 6px 0 0;
}
.formule .liste-coches { margin: 18px 0 20px; flex: 1; }
.formule .liste-coches li { font-size: 0.96rem; }

/* Bandeau d'appel secondaire */
.bandeau {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: var(--sarcelle-pale);
  border: 1px solid var(--sarcelle);
  border-radius: var(--rayon);
  padding: 24px 26px;
  margin-top: 26px;
}
.bandeau p { margin: 0; flex: 1; min-width: 250px; color: var(--sarcelle-fonce); }
.bandeau strong { color: var(--encre); }

/* Charte de confiance (sur fond sombre) */
.charte {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .charte { grid-template-columns: 1fr 1fr; } }

.charte li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(127, 214, 194, 0.28);
  border-radius: 10px;
  padding: 16px 18px;
}
.charte svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #7fd6c2;
  margin-top: 3px;
}
.charte span { color: #cfdcd8; font-size: 0.97rem; line-height: 1.55; }
.charte strong { color: #fff; }

/* ---------- 13. Page accompagnement & prise de rendez-vous ---------- */

/* Détail d'une formule */
.detail-formule {
  background: var(--carte);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 28px;
  margin-bottom: 20px;
  scroll-margin-top: 84px;
}
.detail-formule.vedette { border: 2px solid var(--sarcelle); }

.detail-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin-bottom: 4px;
}
.detail-entete h3 { margin: 0; font-size: 1.5rem; }
.detail-entete .tarif {
  margin-left: auto;
  font-family: var(--police-titre);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--encre);
  white-space: nowrap;
}
.detail-entete .tarif small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texte-doux);
}
.detail-formule .duree {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sarcelle-fonce);
  background: var(--sarcelle-pale);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.detail-formule .pour-qui {
  border-left: 3px solid var(--sarcelle);
  padding-left: 14px;
  margin: 16px 0;
  color: var(--texte-doux);
  font-size: 0.96rem;
}
.detail-formule .pour-qui strong { color: var(--encre); }
.detail-deroule { list-style: none; padding: 0; margin: 16px 0 0; }
.detail-deroule li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--ligne);
}
.detail-deroule li:last-child { border-bottom: none; }
.detail-deroule li::before {
  content: "→";
  position: absolute;
  left: 4px;
  color: var(--sarcelle);
  font-weight: 700;
}

/* Formulaire de rendez-vous */
.encart-rdv {
  background: var(--carte);
  border: 2px solid var(--sarcelle);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 30px 26px;
}
@media (min-width: 700px) { .encart-rdv { padding: 36px 40px; } }

.formulaire-rdv { display: grid; gap: 18px; max-width: none; }
.formulaire-rdv label { font-weight: 600; color: var(--encre); display: block; margin-bottom: 6px; }
.formulaire-rdv .champ, .formulaire-rdv select, .formulaire-rdv textarea {
  width: 100%;
  font-size: 1.05rem;
  padding: 13px 14px;
  border: 2px solid var(--ligne);
  border-radius: 10px;
  background: #fff;
  color: var(--texte);
  font-family: var(--police-texte);
}
.formulaire-rdv select:focus,
.formulaire-rdv textarea:focus { border-color: var(--sarcelle); outline: none; }
.formulaire-rdv textarea { min-height: 110px; resize: vertical; }

.champs-2 { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .champs-2 { grid-template-columns: 1fr 1fr; } }

/* Cases à cocher / radios en grille (créneaux, appareils) */
.choix-grille { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choix-grille { grid-template-columns: repeat(4, 1fr); } }

.choix {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--fond);
  border: 2px solid var(--ligne);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.choix:hover { border-color: var(--sarcelle); }
.choix input { accent-color: var(--sarcelle); width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
/* État sélectionné : la classe est posée par js/rendez-vous.js.
   La règle :has() sert de repli si le JavaScript est désactivé. */
.choix.coche,
.choix:has(input:checked) {
  border-color: var(--sarcelle);
  background: var(--sarcelle-pale);
  color: var(--encre);
  font-weight: 600;
}

.aide-champ { font-size: 0.87rem; color: var(--texte-doux); margin: -8px 0 0; }

.rassurance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--sarcelle-pale);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--sarcelle-fonce);
}
.rassurance svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
