/* Scoutia, démo : thème clair, blanc, mauve et bleu. Mobile d'abord. */
:root {
  --fond: #f8f7fe;
  --surface: #ffffff;
  --texte: #1d1a3a;
  --doux: #625e80;
  --trait: #e8e5f6;
  --mauve: #7c3aed;
  --mauve-clair: #f1ebff;
  --mauve-moyen: #ddd0fe;
  --bleu: #2563eb;
  --bleu-clair: #e8f0ff;
  --degrade: linear-gradient(135deg, #7c3aed 0%, #5b4cf0 50%, #2563eb 100%);
  --go: #15803d;      --go-fond: #dcfce7;
  --etudier: #a16207; --etudier-fond: #fef3c7;
  --non: #475569;     --non-fond: #f1f5f9;
  --rayon: 16px;
  --ombre: 0 1px 2px rgba(29, 26, 58, .04), 0 6px 20px rgba(91, 76, 240, .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Jamais de défilement horizontal de la page (constaté le 5 novembre 2026 sur Opera iPhone) : « clip » ne crée pas
   de conteneur de défilement, donc l'en-tête collant continue de fonctionner ; « hidden » sert de repli. */
html, body { overflow-x: hidden; max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--bleu); }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.sauter { position: absolute; left: -999px; }
.sauter:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mauve); outline-offset: 2px; }

/* En-tête */
.entete { background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 5; }
.entete__in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); }
.logo__icone svg { width: 32px; height: 32px; display: block; }
.logo__texte { font-weight: 750; font-size: 20px; letter-spacing: -.02em; }
.logo__texte span { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--doux); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--texte); background: var(--mauve-clair); }
.entete__cta { padding: 9px 16px; min-height: 40px; }
.choix { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 16px; max-width: 100%; }
.choix__label { font-size: 14px; font-weight: 600; color: var(--doux); }
.choix select {
  font: inherit; font-weight: 600; color: var(--texte); max-width: 100%; min-height: 44px;
  border: 1px solid var(--mauve-moyen); border-radius: 12px; padding: 8px 38px 8px 12px; background: var(--surface)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237c3aed' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
  appearance: none; cursor: pointer; box-shadow: var(--ombre);
}
.bandeau { background: var(--mauve-clair); color: #4c2a99; text-align: center; font-size: 13px; padding: 8px 16px; border-bottom: 1px solid var(--mauve-moyen); }

/* Page */
.page { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; }
.accueil { margin-bottom: 20px; }
.accueil__sur { margin: 0 0 4px; color: var(--mauve); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.accueil__titre { font-size: clamp(24px, 4.5vw, 34px); letter-spacing: -.02em; }
.accueil__sous { margin: 6px 0 0; color: var(--doux); }
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.chiffre { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 14px 16px; box-shadow: var(--ombre); }
.chiffre b { display: block; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.chiffre span { color: var(--doux); font-size: 13px; }
.chiffre--go b { color: var(--go); }
.chiffre--etudier b { color: var(--etudier); }
.chiffre--total b { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

.grille { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.grille > * { min-width: 0; }

/* Onglets */
.onglets { display: flex; gap: 6px; padding: 4px; background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain; touch-action: pan-x pan-y; } /* le glissement des onglets ne fait pas bouger la page */
.onglets::-webkit-scrollbar { display: none; }
.onglet {
  flex: 1 0 auto; font: inherit; font-weight: 600; color: var(--doux); background: none; border: 0; border-radius: 10px;
  padding: 9px 14px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.onglet:hover { color: var(--texte); }
.onglet[aria-selected="true"] { background: var(--mauve-clair); color: var(--mauve); }
.onglet__nb { font-size: 12px; min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--fond); color: var(--doux); }
.onglet[aria-selected="true"] .onglet__nb { background: var(--mauve); color: #fff; }
.onglets__aide { color: var(--doux); font-size: 13px; margin: 10px 2px 12px; }

/* Cartes d'avis */
.liste { display: grid; gap: 14px; }
.avis { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 16px; box-shadow: var(--ombre); display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.score {
  --p: 0; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 0deg, #7c3aed, #2563eb calc(var(--p) * 1%), var(--trait) 0);
}
.score__in { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 750; font-size: 16px; line-height: 1.1; }
.score small { display: block; font-size: 9px; color: var(--doux); font-weight: 600; }
.avis__tete { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 4px; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; }
.badge--go { background: var(--go-fond); color: var(--go); }
.badge--etudier { background: var(--etudier-fond); color: var(--etudier); }
.badge--non { background: var(--non-fond); color: var(--non); }
.avis h3 { font-size: 16px; font-weight: 650; margin: 2px 0 4px; overflow-wrap: anywhere; }
.avis h3 a { color: var(--texte); text-decoration: none; }
.avis h3 a:hover { color: var(--mauve); }
.avis__acheteur { color: var(--doux); font-size: 14px; margin: 0 0 8px; }
.puces { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.puce { font-size: 12.5px; padding: 3px 9px; border-radius: 8px; background: var(--fond); border: 1px solid var(--trait); color: var(--doux); }
.puce--urgent { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.puce--langue { background: var(--bleu-clair); border-color: #c9dafd; color: #1d4ed8; }
.puce--zone { background: var(--etudier-fond); border-color: #fde68a; color: var(--etudier); }
.puce--revu { background: var(--mauve-clair); border-color: var(--mauve-moyen); color: var(--mauve); }
.avis__raison { margin: 0 0 10px; }
.lots { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 4px; }
.lots li { font-size: 13.5px; color: var(--doux); padding-left: 16px; position: relative; }
.lots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--degrade); }

details.detail { border-top: 1px dashed var(--trait); padding-top: 8px; margin-bottom: 10px; }
details.detail summary { cursor: pointer; color: var(--mauve); font-size: 13px; font-weight: 600; list-style: none; padding: 4px 0; }
details.detail summary::-webkit-details-marker { display: none; }
details.detail summary::before { content: "▸ "; }
details.detail[open] summary::before { content: "▾ "; }
.barres { display: grid; gap: 7px; margin-top: 10px; }
.barre { display: grid; grid-template-columns: 92px 1fr 46px; align-items: center; gap: 8px; font-size: 13px; color: var(--doux); }
/* display: block : ce sont des <span>, et un élément en ligne ignore width (les barres restaient vides). */
.barre__fond { display: block; height: 8px; background: var(--fond); border-radius: 99px; overflow: hidden; border: 1px solid var(--trait); }
.barre__plein { display: block; height: 100%; background: var(--degrade); border-radius: 99px; }
.barre b { color: var(--texte); font-weight: 650; text-align: right; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bouton {
  font: inherit; font-size: 14px; font-weight: 600; border-radius: 10px; padding: 8px 14px; cursor: pointer;
  border: 1px solid var(--trait); background: var(--surface); color: var(--texte); text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.bouton:hover { border-color: var(--mauve-moyen); }
.bouton--plein { background: var(--degrade); color: #fff; border: 0; }
.bouton--plein:hover { filter: brightness(1.05); }
.bouton--discret { padding: 5px 10px; font-size: 13px; color: var(--doux); }
.bouton:disabled { opacity: .55; cursor: not-allowed; }
.bouton[aria-pressed="true"].retour--oui { background: var(--go-fond); border-color: #86efac; color: var(--go); }
.retour--non:hover { border-color: #fca5a5; color: #b91c1c; }
.bouton[aria-pressed="true"].retour--non { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.retour--remettre { color: var(--mauve); border-color: var(--mauve-moyen); }
.retour--remettre:hover { background: var(--mauve-clair); }
.badge--favori { background: #fff7d6; color: #a16207; }
.badge--miscote { background: #fee2e2; color: #b91c1c; }

/* Onglets de l'utilisateur, séparés de ceux de Scoutia */
.onglet--premier-perso { margin-left: 10px; position: relative; }
.onglet--premier-perso::before { content: ""; position: absolute; left: -9px; top: 8px; bottom: 8px; width: 1px; background: var(--trait); }
#onglet-miscote[aria-selected="true"] { background: #fee2e2; color: #b91c1c; }
#onglet-miscote[aria-selected="true"] .onglet__nb { background: #b91c1c; }
#onglet-favoris[aria-selected="true"] { background: #fff7d6; color: #a16207; }
#onglet-favoris[aria-selected="true"] .onglet__nb { background: #ca8a04; }

/* Bouton et lecteur vidéo */
.bouton--video { margin-top: 14px; background: var(--surface); border: 1px solid var(--mauve-moyen); color: var(--mauve); padding: 8px 16px 8px 8px; border-radius: 99px; }
.bouton--video:hover { background: var(--mauve-clair); }
.bouton--video__icone { width: 26px; height: 26px; border-radius: 50%; background: var(--degrade); color: #fff; display: inline-grid; place-items: center; font-size: 11px; padding-left: 2px; }
.bouton--video__duree { color: var(--doux); font-weight: 500; font-size: 13px; }
.lecteur { border: 0; border-radius: 18px; padding: 16px; width: min(960px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 30px 80px rgba(29, 26, 58, .35); }
.lecteur::backdrop { background: rgba(29, 26, 58, .55); backdrop-filter: blur(3px); }
.lecteur--vertical { width: min(420px, calc(100% - 24px)); }
.lecteur__tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lecteur__tete h2 { font-size: 16px; }
.lecteur video { display: block; width: 100%; max-height: calc(100vh - 150px); border-radius: 12px; background: #1d1a3a; }
.lecteur__note { margin: 8px 2px 0; color: var(--doux); font-size: 12.5px; }

/* Message de confirmation */
.statut { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 20; background: var(--texte); color: #fff;
  padding: 10px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 10px 30px rgba(29, 26, 58, .25); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.statut--visible { opacity: 1; transform: translate(-50%, 0); }
.actions__sep { flex: 1; }

.vide { background: var(--surface); border: 1px dashed var(--mauve-moyen); border-radius: var(--rayon); padding: 28px 20px; text-align: center; color: var(--doux); }
.vide b { display: block; color: var(--texte); font-size: 16px; margin-bottom: 6px; }

/* Colonne latérale */
.cote { display: grid; gap: 16px; align-content: start; }
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); }
.carte h2 { font-size: 16px; }
.carte__tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fiche dl, #fiche { margin: 0; display: grid; gap: 10px; }
#fiche dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--doux); }
#fiche dd { margin: 2px 0 0; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 5px; }
.etiquette { font-size: 12.5px; padding: 2px 8px; border-radius: 7px; background: var(--mauve-clair); color: #5b21b6; }
.etiquette--exclu { background: var(--non-fond); color: var(--non); text-decoration: line-through; text-decoration-color: #cbd5e1; }
.methode { background: linear-gradient(160deg, #ffffff 0%, #f5f1ff 60%, #eef4ff 100%); }
.methode h2 { margin-bottom: 10px; }
.methode__etapes { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--doux); }
.methode__etapes b { color: var(--texte); }
.methode__note { margin: 12px 0 0; font-size: 13px; color: var(--mauve); }

/* Fiche modifiée et reclassement */
.fiche__modifiee { display: grid; gap: 4px; font-size: 13px; color: #4c2a99; background: var(--mauve-clair); border: 1px solid var(--mauve-moyen); border-radius: 10px; padding: 8px 10px; margin-bottom: 12px; }
.fiche__modifiee[hidden] { display: none; }
.lien { font: inherit; font-weight: 600; color: var(--bleu); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 2px; }
.puce--reclasse { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.avis__recalcul { margin: -4px 0 10px; font-size: 13.5px; color: #0e7490; background: #ecfeff; border-left: 3px solid #22d3ee; padding: 6px 10px; border-radius: 0 8px 8px 0; }

/* Fenêtre d'édition de la fiche */
.editeur { border: 0; border-radius: 18px; padding: 0; width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 30px 80px rgba(29, 26, 58, .35); color: var(--texte); }
.editeur::backdrop { background: rgba(29, 26, 58, .55); backdrop-filter: blur(3px); }
.editeur__form { display: flex; flex-direction: column; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.editeur__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--trait); }
.editeur__tete h2 { font-size: 18px; }
.editeur__corps { overflow-y: auto; padding: 14px 18px 18px; display: grid; gap: 16px; overscroll-behavior: contain; }
.editeur__intro { margin: 0; color: var(--doux); font-size: 14px; }
.editeur__pied { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--trait); background: var(--fond); border-radius: 0 0 18px 18px; }
.groupe { border: 1px solid var(--trait); border-radius: 14px; padding: 12px 14px 14px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.groupe legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--mauve); padding: 0 6px; }
.champs { display: grid; gap: 12px; }
.champ { display: grid; gap: 5px; font-size: 14px; font-weight: 600; min-width: 0; }
.champ__titre { font-weight: 600; }
.champ__aide { display: block; font-size: 12.5px; font-weight: 400; color: var(--doux); }
.champ input, .champ textarea, .liste-edit__ajout input {
  font: inherit; font-weight: 400; color: var(--texte); width: 100%; min-width: 0;
  border: 1px solid var(--trait); border-radius: 10px; padding: 8px 10px; background: var(--surface);
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ textarea:focus, .liste-edit__ajout input:focus { outline: 3px solid var(--mauve-moyen); outline-offset: 0; border-color: var(--mauve); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.case input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mauve); flex: none; }
.langues { display: flex; flex-wrap: wrap; gap: 8px; }
.case--langue { align-items: center; font-weight: 500; border: 1px solid var(--trait); border-radius: 99px; padding: 5px 12px 5px 9px; }
.case--langue input { margin: 0; }
.case--langue:has(input:checked) { background: var(--mauve-clair); border-color: var(--mauve-moyen); color: #5b21b6; }
.liste-edit { display: grid; gap: 8px; font-weight: 400; }
.liste-edit__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.liste-edit__items .etiquette { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 9px; font-size: 13px; max-width: 100%; }
.liste-edit__items .etiquette span { overflow-wrap: anywhere; }
.liste-edit--exclu .etiquette { background: var(--non-fond); color: #475569; }
.etiquette__retirer { font: inherit; font-size: 15px; line-height: 1; width: 24px; height: 24px; border-radius: 6px; border: 0; background: transparent; color: inherit; cursor: pointer; flex: none; }
.etiquette__retirer:hover { background: rgba(124, 58, 237, .15); }
.liste-edit__vide { margin: 0; font-size: 13px; color: var(--doux); font-style: italic; }
.liste-edit__ajout { display: flex; gap: 6px; }
.liste-edit__msg { font-size: 12.5px; color: #b91c1c; min-height: 0; }
.liste-edit__msg:empty { display: none; }
.editeur__info { background: var(--bleu-clair); border: 1px solid #c9dafd; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #1e3a8a; }
.editeur__info p { margin: 4px 0 0; }
.editeur__erreurs { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; }
.editeur__erreurs[hidden] { display: none; }
.editeur__erreurs ul { margin: 4px 0 0; padding-left: 18px; }

.pied { max-width: 1120px; margin: 0 auto; padding: 0 16px 32px; color: var(--doux); font-size: 12.5px; }

@media (min-width: 720px) {
  .chiffres { grid-template-columns: repeat(4, 1fr); }
  .avis { padding: 20px; gap: 18px; }
  .score { width: 66px; height: 66px; }
  .score__in { width: 52px; height: 52px; font-size: 18px; }
  .champs--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .champs--2 .champ--court { max-width: 140px; }
  .champs--2:has(.champ--court) { grid-template-columns: minmax(0, 1fr) 140px; }
}
@media (min-width: 980px) {
  .grille { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .cote { position: sticky; top: 84px; }
}
@media (prefers-reduced-motion: no-preference) {
  .avis { animation: monte .25s ease both; }
  @keyframes monte { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Pages de vente (20 novembre 2026) : accroche, tarifs et appel aux PME pilotes, autour de la démo. */
.bouton--grand { font-size: 16px; padding: 12px 20px; border-radius: 12px; }
.vente { background: linear-gradient(180deg, var(--surface) 0%, var(--fond) 100%); border-bottom: 1px solid var(--trait); }
.vente__in { max-width: 1120px; margin: 0 auto; padding: 36px 16px 32px; }
.vente__sur { margin: 0 0 8px; color: var(--mauve); font-weight: 650; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.vente h1 { font-size: clamp(28px, 6vw, 46px); letter-spacing: -.03em; max-width: 18ch; }
.vente__sous { margin: 14px 0 0; color: var(--doux); font-size: 17px; max-width: 62ch; }
.vente__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.atouts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.atouts li { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 14px 16px; box-shadow: var(--ombre); }
.atouts b { display: block; margin-bottom: 2px; }
.atouts span { color: var(--doux); font-size: 14px; }
.tarifs, .pilote { border-top: 1px solid var(--trait); }
.tarifs__in, .pilote__in { max-width: 1120px; margin: 0 auto; padding: 32px 16px; }
.tarifs h2, .pilote h2 { font-size: clamp(22px, 4vw, 30px); letter-spacing: -.02em; }
.tarifs__sous { margin: 6px 0 18px; color: var(--doux); }
.offres { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.offre { position: relative; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); }
.offre h3 { font-size: 17px; }
.offre__prix { margin: 8px 0 0; color: var(--doux); }
.offre__prix b { font-size: 30px; color: var(--texte); letter-spacing: -.02em; }
.offre__annee { margin: 0; color: var(--doux); font-size: 13px; }
.offre__texte { margin: 10px 0 0; color: var(--doux); font-size: 14px; }
.offre ul { margin: 12px 0 0; padding-left: 18px; font-size: 14px; }
.offre li + li { margin-top: 4px; }
.offre--fondateur { border: 2px solid var(--mauve); background: linear-gradient(180deg, var(--mauve-clair) 0%, var(--surface) 60%); }
.offre__ruban { position: absolute; top: 14px; right: 14px; margin: 0; background: var(--degrade); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.pilote { background: var(--mauve-clair); }
.pilote p { max-width: 62ch; margin: 10px 0 18px; }
.pied p { margin: 0 0 6px; }
.pied a { color: var(--doux); }
@media (min-width: 720px) {
  .atouts { grid-template-columns: repeat(3, 1fr); }
  .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .offres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Les ancres (« Voir un exemple réel ») ne passent pas sous l'en-tête collant. */
#demo, .tarifs, .pilote { scroll-margin-top: 72px; }

/* Refonte du 20 novembre 2026, d'après les guides de pages de vente B2B et WCAG 2.2 : aperçu du produit dès l'accroche,
   réassurance sous les boutons, étapes, un bouton dans chaque offre (offre ouverte en premier), questions fréquentes. */
.vente__in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 40px; }
.vente__in .atouts { margin-top: 0; }
.vente__rassure { margin: 12px 0 0; font-size: 14px; color: var(--doux); }
.apercu { background: var(--surface); border: 1px solid var(--trait); border-radius: 20px; box-shadow: 0 2px 4px rgba(29, 26, 58, .04), 0 18px 48px rgba(91, 76, 240, .14); padding: 18px; align-self: start; }
.apercu__tete { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
.apercu__point { width: 36px; height: 36px; border-radius: 10px; background: var(--degrade); flex: none; }
.apercu__de { margin: 0; font-size: 13px; color: var(--doux); }
.apercu__titre { font-size: 16px; }
.apercu__liste { list-style: none; margin: 0; padding: 0; display: grid; }
.apercu__item { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--trait); min-width: 0; }
.apercu__ligne { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.apercu__score { font-weight: 700; font-size: 14px; }
.apercu__delai { font-size: 13px; color: var(--doux); }
.apercu__nom { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.apercu__acheteur { font-size: 13px; color: var(--doux); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apercu__raison { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.apercu__lien { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--mauve); text-decoration: none; padding: 4px 0; }
.apercu__lien:hover { text-decoration: underline; }

.etapes { border-top: 1px solid var(--trait); }
.etapes__in, .faq__in { max-width: 1120px; margin: 0 auto; padding: 40px 16px; }
.etapes h2, .faq h2 { font-size: clamp(22px, 4vw, 30px); letter-spacing: -.02em; margin-bottom: 18px; }
.etapes__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: etape; }
.etapes__liste li { counter-increment: etape; position: relative; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: 16px 16px 16px 60px; box-shadow: var(--ombre); }
.etapes__liste li::before { content: counter(etape); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--degrade); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.etapes__liste b { display: block; margin-bottom: 2px; }
.etapes__liste span { color: var(--doux); font-size: 15px; }

.tarifs__in, .pilote__in { padding-top: 40px; padding-bottom: 40px; }
.offre { display: flex; flex-direction: column; }
.offre ul { flex: 1; }
.offre__texte { flex: 1; }
.offre__cta { margin-top: 16px; justify-content: center; min-height: 44px; }
.offre--fondateur .offre__ruban { position: static; align-self: flex-start; margin-bottom: 10px; }

.faq { border-top: 1px solid var(--trait); }
.faq details { max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--trait); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; padding: 14px 44px 14px 16px; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--mauve); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--doux); }
.pilote__rassure { margin: 12px 0 0 !important; font-size: 14px; color: var(--doux); }

@media (min-width: 720px) {
  .nav { display: flex; }
  .entete__cta { margin-left: 8px; }
  .etapes__liste { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .vente__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 48px; padding-top: 56px; padding-bottom: 48px; }
  .vente__in .atouts { grid-column: 1 / -1; }
  .etapes__in, .faq__in, .tarifs__in, .pilote__in { padding-top: 56px; padding-bottom: 56px; }
}
#demo, .tarifs, .pilote, .faq, .etapes { scroll-margin-top: 72px; }

/* Second passage du 20 novembre 2026 (NN/g : page d'accueil, design visuel, tableaux comparatifs, accordéons ;
   Refactoring UI : moins de bordures, des fonds alternés et de l'espace pour séparer les sections). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section__sous { margin: 0 0 24px; color: var(--doux); max-width: 62ch; }
.etapes, .tarifs, .faq, .compare { border-top: 0; }
.etapes, .compare, .faq { background: var(--surface); }
.tarifs { background: var(--fond); }
.pilote { border-top: 0; background: linear-gradient(135deg, var(--mauve-clair) 0%, #eef4ff 100%); }
.etapes h2, .faq h2, .compare h2, .tarifs h2, .pilote h2 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -.02em; }
.etapes h2 { margin-bottom: 24px; }

/* Atouts : une liste lisible plutôt que trois cartes de plus. */
.atouts li { background: none; border: 0; box-shadow: none; padding: 0 0 0 34px; position: relative; }
.atouts li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, var(--degrade); }
.atouts span { font-size: 15px; }

/* Étapes : fond clair sans bordure. */
.etapes__liste li { border: 0; box-shadow: none; background: var(--fond); }

/* Comparaison avec les alertes gratuites. */
.compare__in { max-width: 1120px; margin: 0 auto; padding: 48px 16px; }
.compare__table { overflow-x: auto; border-radius: var(--rayon); border: 1px solid var(--trait); box-shadow: var(--ombre); background: var(--surface); }
.compare__table:focus-visible { outline-offset: 4px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--trait); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; color: var(--doux); font-weight: 650; background: var(--fond); }
.compare thead th.compare__nous { color: var(--mauve); }
.compare tbody th { font-weight: 600; width: 34%; }
.compare td { color: var(--doux); }
.compare td.compare__nous { color: var(--texte); font-weight: 600; background: var(--mauve-clair); }
.compare thead .compare__nous { background: var(--mauve-clair); }

/* Tarifs : mêmes attributs dans chaque offre ; l'avantage propre à l'offre est mis en avant. */
.offre ul { list-style: none; padding-left: 0; }
.offre li { padding-left: 24px; position: relative; }
.offre li::before { content: "✓"; position: absolute; left: 0; color: var(--mauve); font-weight: 700; }
.offre li.offre__plus { color: var(--mauve); font-weight: 600; }
.offre li.offre__plus::before { content: "★"; }

/* Questions fréquentes */
.faq__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin-bottom: 18px; }
.faq__tete h2 { margin: 0; }
.faq details { background: var(--fond); border-color: transparent; }
.faq details[open] { background: var(--surface); border-color: var(--trait); box-shadow: var(--ombre); }

/* Pied de page */
.pied { padding-top: 32px; border-top: 1px solid var(--trait); }
.pied__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.pied__nav a { color: var(--texte); font-weight: 600; font-size: 14px; text-decoration: none; padding: 4px 0; }
.pied__nav a:hover { color: var(--mauve); text-decoration: underline; }

@media (max-width: 719px) {
  .compare table { font-size: 14px; }
  .compare th, .compare td { padding: 12px 10px; }
}
@media (min-width: 720px) {
  .atouts { gap: 24px; }
}
@media (min-width: 980px) {
  .compare__in { padding-top: 64px; padding-bottom: 64px; }
}
#pourquoi, #questions { scroll-margin-top: 72px; }

/* Formulaire « Devenir PME pilote » et logo de l'aperçu (20 novembre 2026). */
.apercu__logo svg { width: 36px; height: 36px; display: block; flex: none; }
.pilote__in { max-width: 820px; }
.demande { display: grid; gap: 16px; margin-top: 8px; background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: 0 2px 4px rgba(29, 26, 58, .04), 0 18px 48px rgba(91, 76, 240, .12); }
.demande__aide { margin: 0; font-size: 14px; color: var(--doux); }
.demande .champ textarea, .demande .champ input { font-size: 16px; } /* 16 px : iOS ne zoome pas au focus */
.demande .champ input, .demande .champ textarea { min-height: 44px; }
.sous-groupe { border: 0; padding: 0; margin: 0; min-width: 0; }
.sous-groupe legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 6px; color: var(--texte); text-transform: none; letter-spacing: 0; }
.case--langue { min-height: 40px; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demande__consentement { font-size: 14px; }
.demande__consentement input { width: 22px; height: 22px; }
.demande__erreurs { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.demande__erreurs[hidden], .demande__merci[hidden], .demande[hidden] { display: none; }
.demande__erreurs ul { margin: 4px 0 0; padding-left: 18px; }
.demande__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.demande__pied .pilote__rassure { margin: 0 !important; }
.demande__merci { background: var(--go-fond); border: 1px solid #86efac; color: #14532d; border-radius: 16px; padding: 18px; margin-top: 8px; }
.demande__merci b { font-size: 18px; }
.demande__merci p { margin: 6px 0 0 !important; }
.demande__secours { font-size: 14px; color: var(--doux); }
.confidentialite { margin-top: 8px; font-size: 14px; color: var(--doux); }
.confidentialite summary { cursor: pointer; font-weight: 600; color: var(--texte); padding: 6px 0; }
.confidentialite p { margin: 6px 0 0 !important; max-width: 70ch; }
#pilote, #confidentialite { scroll-margin-top: 72px; }
@media (min-width: 720px) { .demande { padding: 24px; } }
/* WCAG 1.4.11 : le contour d'un champ doit contraster à 3:1 au moins avec le fond (le gris clair --trait n'y arrive pas). */
.demande .champ input, .demande .champ textarea { border-color: #8d88ab; }
.demande .case input { accent-color: var(--mauve); }
.demande .champs--2 { align-items: end; }
