/* ==================================================================
   Dupont Électricité — feuille de style commune
   Sobre, lisible, professionnelle. Aucune dépendance externe.
   ================================================================== */

:root {
  --fond: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #fafbfd;
  --bord: #e3e8ef;
  --bord-fort: #cdd6e2;

  --encre: #16263d;
  --encre-doux: #5c6b81;
  --encre-leger: #8494a8;

  --primaire: #14477d;
  --primaire-fonce: #0e3560;
  --primaire-clair: #e9f0f8;
  --accent: #e0901c;
  --accent-clair: #fdf3e3;

  --vert: #1a7f4b;
  --vert-clair: #e4f4ea;
  --rouge: #b5322c;
  --rouge-clair: #fbeae9;
  --violet: #6141b0;
  --violet-clair: #eeeafa;
  --orange: #c05621;
  --orange-clair: #fdeee2;
  --gris: #6b7a8f;
  --gris-clair: #eef1f5;

  --rayon: 10px;
  --rayon-s: 6px;
  --ombre: 0 1px 2px rgba(16, 38, 61, .06), 0 4px 14px rgba(16, 38, 61, .05);
  --ombre-forte: 0 10px 40px rgba(16, 38, 61, .16);
  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 15px;
  line-height: 1.55;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 30px; }
h2 { font-size: 21px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
a { color: var(--primaire); }

.conteneur { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.conteneur--etroit { max-width: 820px; }

/* ---------------------------------------------------------------
   En-tête
   --------------------------------------------------------------- */
.entete {
  background: var(--surface);
  border-bottom: 1px solid var(--bord);
  position: sticky; top: 0; z-index: 50;
}
.entete__inner { display: flex; align-items: center; gap: 28px; height: 62px; }

.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.marque__logo {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: linear-gradient(145deg, var(--primaire), var(--primaire-fonce));
  color: #fff; display: grid; place-items: center; font-size: 17px;
}
.marque__nom { font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; }
.marque__sous { font-size: 11.5px; color: var(--encre-leger); margin-top: -2px; }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  padding: 7px 13px; border-radius: var(--rayon-s); text-decoration: none;
  color: var(--encre-doux); font-size: 14px; font-weight: 500;
}
.nav a:hover { background: var(--surface-2); color: var(--encre); }
.nav a.actif { background: var(--primaire-clair); color: var(--primaire); font-weight: 600; }

/* ---------------------------------------------------------------
   Boutons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--rayon-s); border: 1px solid var(--bord-fort);
  background: var(--surface); color: var(--encre); font: inherit; font-weight: 600; font-size: 14px;
  cursor: pointer; text-decoration: none; transition: .15s ease;
}
.btn:hover { border-color: var(--encre-leger); }
.btn--primaire { background: var(--primaire); border-color: var(--primaire); color: #fff; }
.btn--primaire:hover { background: var(--primaire-fonce); border-color: var(--primaire-fonce); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #3a2500; }
.btn--grand { padding: 13px 24px; font-size: 15px; }
.btn--petit { padding: 6px 12px; font-size: 13px; }
.btn--lien { border: none; background: none; color: var(--primaire); padding: 4px 6px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------------------------------------------------------
   Cartes et sections
   --------------------------------------------------------------- */
.carte {
  background: var(--surface); border: 1px solid var(--bord);
  border-radius: var(--rayon); box-shadow: var(--ombre);
}
.carte__entete {
  padding: 16px 20px; border-bottom: 1px solid var(--bord);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.carte__titre { margin: 0; font-size: 15px; font-weight: 650; }
.carte__corps { padding: 20px; }

.section { padding: 46px 0; }
.section--gris { background: var(--surface-2); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); }
.section__titre { text-align: center; margin-bottom: 8px; }
.section__intro { text-align: center; color: var(--encre-doux); max-width: 620px; margin: 0 auto 32px; }

.surtitre {
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--primaire); margin-bottom: 10px;
}

/* ---------------------------------------------------------------
   Badges
   --------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 3px 9px; border-radius: 100px; font-size: 12px; font-weight: 600;
  background: var(--gris-clair); color: var(--gris);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--sans-point::before { display: none; }

.st-nouveau            { background: var(--primaire-clair); color: var(--primaire); }
.st-a-contacter        { background: var(--accent-clair);  color: #96620d; }
.st-devis-envoye       { background: var(--violet-clair);  color: var(--violet); }
.st-relance-a-effectuer{ background: var(--orange-clair);  color: var(--orange); }
.st-gagne              { background: var(--vert-clair);    color: var(--vert); }
.st-perdu              { background: var(--gris-clair);    color: var(--gris); }

.urg-elevee  { background: var(--rouge-clair); color: var(--rouge); }
.urg-moyenne { background: var(--accent-clair); color: #96620d; }
.urg-faible  { background: var(--vert-clair);  color: var(--vert); }

/* ---------------------------------------------------------------
   Formulaire
   --------------------------------------------------------------- */
.champ { margin-bottom: 18px; }
.champ__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.champ__aide { font-size: 12.5px; color: var(--encre-leger); margin-top: 5px; }
.champ__obligatoire { color: var(--rouge); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 14.5px; color: var(--encre);
  background: var(--surface); border: 1px solid var(--bord-fort); border-radius: var(--rayon-s);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primaire); box-shadow: 0 0 0 3px rgba(20, 71, 125, .12);
}
textarea { resize: vertical; min-height: 132px; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6b81' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }

.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }

.case { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--bord-fort); border-radius: var(--rayon-s); background: var(--surface-2); cursor: pointer; }
.case input { margin: 2px 0 0; flex: none; }
.case__texte { font-size: 13.5px; }

.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.radio { position: relative; display: flex; }
.radio input { position: absolute; opacity: 0; }
/* Le « > » est indispensable : sans lui, le texte d'aide imbriqué hériterait
   lui aussi de la bordure et du fond, et ressemblerait à un champ de saisie vide. */
.radio > span {
  display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 100%;
  text-align: center; padding: 11px 10px; font-size: 14px; font-weight: 650; line-height: 1.3;
  border: 1px solid var(--bord-fort); border-radius: var(--rayon-s); cursor: pointer; background: var(--surface);
  transition: .15s ease;
}
.radio > span:hover { border-color: var(--encre-leger); }
.radio > span .discret { font-weight: 400; font-size: 12.5px; line-height: 1.35; }
.radio input:checked + span { border-color: var(--primaire); background: var(--primaire-clair); color: var(--primaire); box-shadow: 0 0 0 1px var(--primaire); }
.radio input:checked + span .discret { color: var(--primaire); opacity: .85; }
.radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(20,71,125,.2); }

.erreurs { background: var(--rouge-clair); border: 1px solid #f0c9c6; color: #8c2621; padding: 12px 16px; border-radius: var(--rayon-s); margin-bottom: 20px; font-size: 14px; }
.erreurs ul { margin: 6px 0 0; padding-left: 20px; }

/* ---------------------------------------------------------------
   Tableau
   --------------------------------------------------------------- */
.tableau-zone { overflow-x: auto; }
table.tableau { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.tableau th {
  text-align: left; padding: 11px 14px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--encre-leger);
  background: var(--surface-2); border-bottom: 1px solid var(--bord); white-space: nowrap;
}
.tableau td { padding: 12px 14px; border-bottom: 1px solid var(--bord); vertical-align: middle; }
.tableau tbody tr:hover { background: var(--surface-2); }
.tableau tbody tr.surligne { animation: surlignage 2.6s ease-out; }
@keyframes surlignage { 0%,45% { background: #fff6e2; } 100% { background: transparent; } }
.tableau .nom { font-weight: 600; }
.tableau .ref { font-size: 11.5px; color: var(--encre-leger); font-variant-numeric: tabular-nums; }
.tableau select { padding: 5px 26px 5px 9px; font-size: 12.5px; font-weight: 600; background-position: right 8px center; }
.tableau .btn { white-space: nowrap; }
.tableau td:last-child { width: 1%; }

/* ---------------------------------------------------------------
   Indicateurs (KPI)
   --------------------------------------------------------------- */
.grille-kpi { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi {
  background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 14px 16px; box-shadow: var(--ombre); cursor: pointer; text-align: left;
  font: inherit; color: inherit; transition: .15s; border-top: 3px solid var(--bord-fort);
}
.kpi:hover { border-color: var(--bord-fort); transform: translateY(-1px); }
.kpi.actif { border-color: var(--primaire); box-shadow: 0 0 0 2px rgba(20,71,125,.13), var(--ombre); }
.kpi__valeur { font-size: 27px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi__label { font-size: 12.5px; color: var(--encre-doux); margin-top: 3px; }
.kpi--nouveau { border-top-color: var(--primaire); }
.kpi--a-contacter { border-top-color: var(--accent); }
.kpi--devis-envoye { border-top-color: var(--violet); }
.kpi--relance-a-effectuer { border-top-color: var(--orange); }
.kpi--gagne { border-top-color: var(--vert); }
.kpi--perdu { border-top-color: var(--gris); }

/* ---------------------------------------------------------------
   Chaîne d'automatisation (animation)
   --------------------------------------------------------------- */
.pipeline { list-style: none; margin: 0; padding: 0; }
.pipeline__etape {
  display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--bord);
  opacity: .32; transition: opacity .3s;
}
.pipeline__etape:last-child { border-bottom: none; }
.pipeline__etape.active { opacity: 1; }
.pipeline__puce {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gris-clair); color: var(--encre-leger); font-size: 12.5px; font-weight: 700;
}
.pipeline__etape.active .pipeline__puce { background: var(--vert-clair); color: var(--vert); }
.pipeline__etape.encours .pipeline__puce { background: var(--primaire-clair); color: var(--primaire); animation: pulsation 1s infinite; }
@keyframes pulsation { 50% { transform: scale(1.14); } }
.pipeline__titre { font-weight: 620; font-size: 14.5px; }
.pipeline__systeme { font-size: 11.5px; color: var(--encre-leger); margin-top: 1px; }
.pipeline__detail { margin: 7px 0 0; padding-left: 17px; font-size: 13px; color: var(--encre-doux); }
.pipeline__detail li { margin-bottom: 2px; }

/* ---------------------------------------------------------------
   Analyse IA
   --------------------------------------------------------------- */
.ia {
  border: 1px solid #d5e2f0; border-radius: var(--rayon);
  background: linear-gradient(180deg, #f6f9fd, var(--surface));
}
.ia__entete { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #e2ebf5; }
.ia__pastille { width: 26px; height: 26px; border-radius: 7px; background: var(--primaire); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.ia__corps { padding: 18px; }
.ia__resume { background: var(--surface); border: 1px solid var(--bord); border-left: 3px solid var(--primaire); border-radius: var(--rayon-s); padding: 13px 15px; font-size: 14.5px; margin-bottom: 16px; }
.ia__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px; }
.ia__champ { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon-s); padding: 10px 12px; }
.ia__label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--encre-leger); font-weight: 700; }
.ia__valeur { font-size: 14px; font-weight: 600; margin-top: 3px; }
.ia__source { font-size: 11px; color: var(--encre-leger); font-weight: 400; margin-top: 2px; }
.ia__mots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ia__mot { background: var(--primaire-clair); color: var(--primaire); border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: 500; }
.ia__avertissement { margin-top: 16px; font-size: 12.5px; color: var(--encre-doux); background: var(--accent-clair); border: 1px solid #f2dfbd; border-radius: var(--rayon-s); padding: 10px 13px; }
.ia__alerte { margin-top: 12px; font-size: 13px; background: var(--rouge-clair); border: 1px solid #f0c9c6; color: #8c2621; border-radius: var(--rayon-s); padding: 9px 13px; }

/* ---------------------------------------------------------------
   Messages générés (email / notification)
   --------------------------------------------------------------- */
.message { border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.message__entete { padding: 11px 15px; background: var(--surface-2); border-bottom: 1px solid var(--bord); font-size: 12.5px; color: var(--encre-doux); }
.message__objet { font-weight: 650; color: var(--encre); font-size: 14px; margin-bottom: 3px; }
.message__corps { padding: 15px; font-size: 13.5px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.62; color: #33465e; }
.message__pied { padding: 8px 15px; border-top: 1px solid var(--bord); font-size: 11.5px; color: var(--encre-leger); background: var(--surface-2); }

.notif { border: 1px solid var(--bord); border-left: 3px solid var(--accent); border-radius: var(--rayon); padding: 13px 16px; background: var(--surface); margin-bottom: 12px; }
.notif__titre { font-weight: 650; font-size: 14px; margin-bottom: 5px; }
.notif__message { font-size: 13.5px; color: var(--encre-doux); white-space: pre-wrap; }

/* ---------------------------------------------------------------
   Panneau latéral (fiche prospect)
   --------------------------------------------------------------- */
.voile { position: fixed; inset: 0; background: rgba(16, 38, 61, .42); opacity: 0; pointer-events: none; transition: opacity .22s; z-index: 90; }
.voile.ouvert { opacity: 1; pointer-events: auto; }
.panneau {
  position: fixed; top: 0; right: 0; height: 100%; width: min(560px, 100%);
  background: var(--fond); box-shadow: var(--ombre-forte); z-index: 100;
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
}
.panneau.ouvert { transform: none; }
.panneau__entete { padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--bord); display: flex; align-items: flex-start; gap: 12px; }
.panneau__corps { padding: 20px; overflow-y: auto; flex: 1; }
.panneau__fermer { margin-left: auto; border: none; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--encre-leger); padding: 0 4px; }

/* ---------------------------------------------------------------
   Onglets
   --------------------------------------------------------------- */
.onglets { display: flex; gap: 4px; border-bottom: 1px solid var(--bord); margin-bottom: 20px; }
.onglet {
  padding: 9px 15px; border: none; background: none; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--encre-doux); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.onglet.actif { color: var(--primaire); border-bottom-color: var(--primaire); }

/* ---------------------------------------------------------------
   Divers
   --------------------------------------------------------------- */
.liste-def { display: grid; grid-template-columns: 128px 1fr; gap: 7px 14px; font-size: 14px; }
.liste-def dt { color: var(--encre-leger); font-size: 13px; }
.liste-def dd { margin: 0; font-weight: 550; }

.vide { text-align: center; padding: 46px 20px; color: var(--encre-leger); }
.barre-outils { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.barre-outils input[type="text"] { max-width: 260px; }
.pousse { margin-left: auto; }
.discret { color: var(--encre-leger); font-size: 12.5px; }
.pied { padding: 26px 0; border-top: 1px solid var(--bord); color: var(--encre-leger); font-size: 12.5px; text-align: center; background: var(--surface); }
.pastille-compteur { background: var(--rouge); color: #fff; border-radius: 100px; padding: 1px 7px; font-size: 11px; font-weight: 700; margin-left: 4px; }

.ruban { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-clair); border: 1px solid #f0dcb8; color: #8a5a0b; border-radius: 100px; padding: 5px 13px; font-size: 12.5px; font-weight: 600; }

.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: etape; }
.etape { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); position: relative; }
.etape::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; top: -11px; left: 18px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--primaire); color: #fff; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
}
.etape h3 { margin: 8px 0 6px; font-size: 14.5px; }
.etape p { margin: 0; font-size: 13.5px; color: var(--encre-doux); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 960px) {
  .grille-kpi { grid-template-columns: repeat(3, 1fr); }
  .etapes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  h1 { font-size: 24px; }
  .conteneur { padding: 0 16px; }
  .entete__inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 10px; }
  .nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .grille-2, .grille-3, .radios { grid-template-columns: 1fr; }
  .grille-kpi { grid-template-columns: repeat(2, 1fr); }
  .etapes { grid-template-columns: 1fr; }
  .marque__sous { display: none; }
  .liste-def { grid-template-columns: 1fr; gap: 2px 0; }
  .liste-def dd { margin-bottom: 8px; }
}

@media print {
  .entete, .nav, .btn, .pied { display: none; }
  body { background: #fff; }
}

/* ---------------------------------------------------------------
   Bandeau de confirmation (tableau de bord)
   --------------------------------------------------------------- */
.bandeau {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px);
  background: var(--encre); color: #fff; padding: 11px 20px; border-radius: 100px;
  font-size: 13.5px; font-weight: 550; box-shadow: var(--ombre-forte);
  opacity: 0; pointer-events: none; transition: .22s ease; z-index: 200; max-width: 90vw; text-align: center;
}
.bandeau.visible { opacity: 1; transform: translate(-50%, 0); }
.bandeau--erreur { background: var(--rouge); }

/* ---------------------------------------------------------------
   Guide de démonstration
   --------------------------------------------------------------- */
.encart-guide {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin: 26px auto 0; max-width: 640px; text-align: left;
  background: var(--accent-clair); border: 1px solid #f0dcb8; border-radius: var(--rayon);
  padding: 14px 18px; font-size: 13.5px; color: #6d4708;
}

.etapes-demo { list-style: none; margin: 0; padding: 0; counter-reset: demo; }
.etape-demo {
  display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--bord);
  border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px 20px; margin-bottom: 14px;
  transition: opacity .2s, border-color .2s;
}
.etape-demo:has(input:checked) { opacity: .5; border-color: var(--vert); }
.etape-demo__coche { flex: none; padding-top: 2px; }
.etape-demo__coche input { width: 19px; height: 19px; cursor: pointer; accent-color: var(--vert); }
.etape-demo__contenu { flex: 1; min-width: 0; }
.etape-demo__entete { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.etape-demo__numero {
  counter-increment: demo; flex: none; width: 25px; height: 25px; border-radius: 50%;
  background: var(--primaire); color: #fff; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700;
}
.etape-demo__numero::before { content: counter(demo); }
.etape-demo h3 { margin: 0; font-size: 16px; flex: 1; min-width: 180px; }
.etape-demo p { margin: 0 0 10px; font-size: 14px; color: var(--encre-doux); }

.adire {
  margin: 0 0 12px; padding: 12px 15px; background: var(--primaire-clair);
  border-left: 3px solid var(--primaire); border-radius: 0 var(--rayon-s) var(--rayon-s) 0;
  font-size: 14.5px; color: #163a63; font-style: italic;
}
.adire strong { font-style: normal; }
.adire + .adire { margin-top: -4px; }

.montrer {
  margin: 0 0 12px; padding: 11px 15px; background: var(--vert-clair);
  border-left: 3px solid var(--vert); border-radius: 0 var(--rayon-s) var(--rayon-s) 0;
  font-size: 13.5px; color: #14532d;
}
.attention {
  margin: 0 0 12px; padding: 11px 15px; background: var(--accent-clair);
  border-left: 3px solid var(--accent); border-radius: 0 var(--rayon-s) var(--rayon-s) 0;
  font-size: 13.5px; color: #6d4708;
}

.faq { border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--bord); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 13px 18px; cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸ "; color: var(--primaire); font-weight: 700; }
.faq details[open] summary::before { content: "▾ "; }
.faq summary:hover { background: var(--surface-2); }
.faq .reponse { padding: 0 18px 15px 34px; font-size: 14px; color: var(--encre-doux); }
.faq .reponse p:last-child { margin-bottom: 0; }

.chrono { font-variant-numeric: tabular-nums; }

@media (max-width: 700px) {
  .etape-demo { padding: 14px 15px; }
  .encart-guide { justify-content: flex-start; }
}
@media print {
  .etape-demo { break-inside: avoid; box-shadow: none; opacity: 1 !important; }
  .faq details { break-inside: avoid; }
  .faq .reponse { display: block !important; }
  .encart-guide { display: none; }
}
