/* Site de présentation de Faora : sobre et rassurant. Charte « nuit du phare » (Bruno, 21/10 ; référence : charte/jetons.css) :
   le bleu nuit du ciel, l'ambre du faisceau, l'or de la lanterne, l'écume turquoise ; mode sombre compris. Le haut de chaque
   page (.heros) est une bande de nuit, quel que soit le thème : elle redéfinit les jetons pour tout ce qu'elle contient. */
:root {
  --fond: #f6f7fb; --carte: #ffffff; --texte: #0f1733; --doux: #4f5a75; --bord: #dde2ee;
  --accent: #13235f; --accent-2: #0560c0; --accent-pale: #eef1fb; --lien: #0560c0; --sur-accent: #ffffff;
  --or: #d4900c; --vert: #0a6b3e; --rouge: #b42318;
  --nuit: #0c1228; --nuit-2: #121a3a; --nuit-3: #1b2550; --ambre: #f5a623; --lueur: #ffd84d; --ecume: #2bd4e0;
  --faisceau: linear-gradient(135deg, #ffd166, #f5a623);
  --ombre: 0 1px 2px rgba(12, 18, 40, .06), 0 8px 24px rgba(12, 18, 40, .07);
  --police-titre: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #0a1028; --carte: #121a36; --texte: #e6eaf5; --doux: #a2adc6; --bord: #26305a;
    --accent: #ffc94d; --accent-2: #7cc4ff; --accent-pale: #182452; --lien: #7cc4ff; --sur-accent: #0c1228;
    --or: #ffd84d; --vert: #4fd69c; --rouge: #ff8a80;
    --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
  }
}
:root[data-theme="dark"] {
  --fond: #0a1028; --carte: #121a36; --texte: #e6eaf5; --doux: #a2adc6; --bord: #26305a;
  --accent: #ffc94d; --accent-2: #7cc4ff; --accent-pale: #182452; --lien: #7cc4ff; --sur-accent: #0c1228;
  --or: #ffd84d; --vert: #4fd69c; --rouge: #ff8a80;
  --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
}
/* Une couleur par forfait (charte/jetons.css, partie 3 ; stratégie de l'offre, 17/11) : fonds pleins identiques en clair et en sombre,
   texte --sur-forfait dessus ; --f-*-encre = la couleur du forfait écrite sur le fond de la page, selon le thème. */
:root {
  --forfait-gratuit: #5b6577; --forfait-essentiel: #2f64c8; --forfait-connecte: #0b7480; --forfait-patrimoine: #13203f;
  --forfait-or: #e9a93a; --sur-forfait: #ffffff;
  --f-gratuit-encre: #5b6577; --f-essentiel-encre: #2f64c8; --f-connecte-encre: #0b7480; --f-patrimoine-encre: #13203f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --f-gratuit-encre: #a9b3c4; --f-essentiel-encre: #8fb3ff; --f-connecte-encre: #4fcfd8; --f-patrimoine-encre: #f5c25a }
}
:root[data-theme="dark"] { --f-gratuit-encre: #a9b3c4; --f-essentiel-encre: #8fb3ff; --f-connecte-encre: #4fcfd8; --f-patrimoine-encre: #f5c25a }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("polices/plus-jakarta-sans-latin-700-normal.woff2") format("woff2") }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("polices/plus-jakarta-sans-latin-800-normal.woff2") format("woff2") }

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif }
a { color: var(--lien) }
h1, h2, h3, .marque { font-family: var(--police-titre) }
img, svg { max-width: 100% }
.conteneur { max-width: 1080px; margin: 0 auto; padding: 0 16px }

/* en-tête */
.entete { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bord) }
.entete .conteneur { display: flex; align-items: center; gap: 20px; height: 64px }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); font-weight: 700; font-size: 1.15rem }
.marque img { width: 32px; height: 32px }
.nav { display: flex; gap: 16px; margin-left: auto; align-items: center }
.nav a { text-decoration: none; color: var(--doux); font-size: .95rem; white-space: nowrap }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texte) }
/* survol en gras (Bruno 24/11) sans décaler les onglets voisins : un gras par l'ombre du texte, pas par font-weight ; l'onglet de la page
   ouverte (ex. Guides sur un guide) prend le même gras et un filet d'or, pour qu'on le lise comme « vous êtes ici » et pas comme une autre couleur */
.nav a:not(.bouton):not(.langue):hover, .nav a:not(.bouton):not(.langue)[aria-current="page"], .sous-menu a:hover, .sous-menu a[aria-current="page"] {
  text-shadow: .35px 0 0 currentColor, -.35px 0 0 currentColor }
@media (min-width: 1121px) {
  .entete .nav a:not(.bouton):not(.langue)[aria-current="page"] { text-decoration: underline 2px var(--ambre); text-underline-offset: 8px }
}
.nav .bouton { color: var(--nuit) }
.nav .langue { font-size: .8rem; font-weight: 600; border: 1px solid var(--bord); border-radius: 6px; padding: 3px 7px }
.menu-mobile { display: none; margin-left: auto; background: none; border: 1px solid var(--bord); border-radius: 8px; padding: 6px 10px; color: var(--texte); font: inherit }
/* menu replié tant que la navigation (onglets, connexion, inscription, langue) ne tient pas sur une ligne */
@media (max-width: 1120px) {
  .menu-mobile { display: block }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--carte); border-bottom: 1px solid var(--bord); padding: 8px 16px 16px }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--bord) }
  .nav .bouton { margin-top: 12px; text-align: center; border-bottom: 0 }
  .nav .langue { align-self: center; margin-top: 12px; padding: 4px 12px; border: 1px solid var(--bord) }
  .entete.ouvert .nav { display: flex }
  /* menu ouvert plus haut que l'écran (13 visites) : il défile seul jusqu'à « EN », sans faire défiler la page (SITE, 16/11) */
  .nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    box-sizing: border-box; -webkit-overflow-scrolling: touch; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) }
  .maquette + .entete .nav { max-height: calc(100vh - 98px); max-height: calc(100dvh - 98px) } /* la bande « Maquette » (34 px) au-dessus */
}
/* « Me connecter » : hors du <nav> pour rester visible sur téléphone ; même hauteur que « Créer mon compte » (police .95rem,
   bordure comprise dans les 10 px), toujours sur une ligne. Sur ordinateur, le <nav> s'efface (display: contents) pour que
   le bouton se range entre les onglets et « Créer mon compte » : « … Questions | Me connecter | Créer mon compte | EN » */
.entete .connexion { font-size: .95rem; padding: 9px 17px; white-space: nowrap; flex-shrink: 0 }
@media (min-width: 1121px) {
  /* onglets français plus longs depuis Guides (Bruno 24/11) : le logo ne se tasse jamais, les onglets se serrent de 4 px */
  .entete .conteneur { gap: 12px }
  .entete .marque { flex-shrink: 0 }
  .entete .nav { display: contents }
  .entete .nav > :first-child { margin-left: auto }
  .entete .connexion { order: 1 }
  .entete .nav .bouton { order: 2 }
  .entete .nav .langue { order: 3 }
}
@media (max-width: 420px) {
  .entete .conteneur { gap: 10px }
  .entete .connexion { font-size: .875rem; padding: 7px 11px }
  .menu-mobile { padding: 6px 9px }
}

/* boutons */
.bouton { display: inline-block; background: var(--faisceau); color: var(--nuit); box-shadow: 0 4px 16px rgba(245, 166, 35, .28); text-decoration: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer }
.bouton:hover { filter: brightness(1.06); box-shadow: 0 6px 22px rgba(245, 166, 35, .4) }
.bouton.second { background: transparent; color: var(--accent); border: 1px solid var(--bord); box-shadow: none; filter: none }
.bouton.second:hover { background: var(--accent-pale) }

/* sections */
section { padding: 64px 0 }
section.alt { background: var(--carte); border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord) }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.025em; font-weight: 800 }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.015em }
h3 { font-size: 1.1rem; margin: 0 0 6px }
.chapeau { font-size: 1.15rem; color: var(--doux); margin: 0 0 28px; text-align: justify } /* toute la largeur du conteneur, alignée sur les cartes */
.surtitre { color: var(--or); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 10px }
.actions { display: flex; gap: 12px; flex-wrap: wrap }

/* accueil */
.heros { padding: 72px 0 64px; color: var(--texte);
  --fond: #0c1228; --carte: #131c40; --texte: #eef1fa; --doux: #aeb8d4; --bord: rgba(255, 255, 255, .14);
  --accent: #ffc94d; --accent-2: #7cc4ff; --accent-pale: rgba(255, 255, 255, .06); --lien: #7cc4ff; --sur-accent: #0c1228;
  --or: #ffd84d; --vert: #4fd69c; --rouge: #ff8a80; --ombre: 0 18px 50px rgba(0, 0, 0, .35);
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 12%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1px 1px at 63% 38%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1px 1px at 81% 15%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 64%, rgba(255, 255, 255, .5), transparent 60%),
    radial-gradient(60% 80% at 85% 20%, rgba(245, 166, 35, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(43, 212, 224, .08), transparent 70%),
    linear-gradient(180deg, #070b1d, #0c1228 55%, #121a3a) }
.heros .bouton.second { color: var(--texte) }
.heros .bouton.second:hover { background: rgba(255, 255, 255, .08) }
.heros .grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center }
@media (max-width: 900px) { .heros .grille { grid-template-columns: 1fr } }
.rassurance { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; color: var(--doux); font-size: .92rem }
.rassurance span::before { content: "✓ "; color: var(--vert); font-weight: 700 }

/* grilles de cartes */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.cartes.deux { grid-template-columns: repeat(2, 1fr) }
@media (max-width: 900px) { .cartes { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .cartes, .cartes.deux { grid-template-columns: 1fr } }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; padding: 22px; box-shadow: var(--ombre) }
section.alt .carte { background: var(--fond) }
.carte p { margin: 0; color: var(--doux) }
/* carte à pied : les boutons collés en bas, à la même hauteur d'une carte à l'autre (accueil, « Comment ça marche » ; DEB-9) */
.carte.a-pied { display: flex; flex-direction: column }
.carte.a-pied > .actions:last-child { margin-top: auto; padding-top: 20px }
.carte p, .carte li, .encart p { text-align: left; -webkit-hyphens: manual; hyphens: manual } /* Bruno, 19/10 : à gauche sans césure, puis alignement.js amène chaque ligne au bord sans ouvrir de trou */
.carte p.surtitre { color: var(--or); margin-bottom: 10px } /* même or que les surtitres de section (accueil : Pourquoi Faora, Pour qui) */
.pastille { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-pale); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px }

/* maquettes d'écran (chiffres fictifs) */
.fenetre { background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; box-shadow: var(--ombre); overflow: hidden; font-size: 13px }
.fenetre .barre { background: linear-gradient(180deg, #1b2550, #0c1228); color: #fff; padding: 8px 12px; display: flex; justify-content: space-between; font-size: 12px }
.fenetre .barre i { font-style: normal; opacity: .75 }
.fenetre .corps { padding: 14px }
.bandeau-exemple { margin: 0; padding: 6px 12px; background: #fff4d6; color: #7a5a00; font-size: 12px; font-weight: 600; border-bottom: 1px solid #f0dca0 } /* le bandeau « Données d'exemple » de l'app */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bandeau-exemple { background: #3a3417; color: #f3d98a; border-color: #5a4e20 } }
:root[data-theme="dark"] .bandeau-exemple { background: #3a3417; color: #f3d98a; border-color: #5a4e20 }
.fenetre h4 { margin: 0 0 8px; color: var(--accent); font-size: 14px }
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px }
.tuiles div { border: 1px solid var(--bord); border-radius: 8px; padding: 8px }
.tuiles small { display: block; color: var(--doux); font-size: 10px; text-transform: uppercase; letter-spacing: .04em }
.tuiles b { font-variant-numeric: tabular-nums; font-size: 15px }
.registre { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums }
.registre th { text-align: left; font-weight: 600; color: var(--doux); font-size: 11px; border-bottom: 1px solid var(--bord); padding: 4px 6px }
.registre td { padding: 5px 6px; border-bottom: 1px solid var(--bord) }
.registre .n { text-align: right }
.registre .moins { color: var(--rouge) }
.registre .ok { color: var(--vert); font-weight: 700; text-align: center }
.telephone { width: 230px; border: 8px solid #222b38; border-radius: 30px; background: var(--carte); padding: 16px 12px; box-shadow: var(--ombre); font-size: 13px; margin: 0 auto }
.telephone .solde { font-size: 26px; font-weight: 700; color: var(--accent); margin: 2px 0 12px; font-variant-numeric: tabular-nums }
.telephone .ligne { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--bord); font-variant-numeric: tabular-nums }
.fictif { color: var(--doux); font-size: .8rem; text-align: center; margin-top: 8px }

/* étapes */
.etapes { counter-reset: e; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none }
.etapes li { counter-increment: e; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start }
.etapes li::before { content: counter(e); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--sur-accent); display: grid; place-items: center; font-weight: 700 }
.etapes p { margin: 2px 0 0; color: var(--doux) }

/* questions */
details { background: var(--carte); border: 1px solid var(--bord); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px }
details summary { cursor: pointer; font-weight: 600 }
details p { color: var(--doux); margin: 10px 0 0 }

/* formulaire */
form.demande { display: grid; gap: 16px; max-width: 620px }
.champ { display: grid; gap: 6px }
.champ label { font-weight: 600; font-size: .95rem }
.champ small { color: var(--doux) }
.champ input:not([type=radio]):not([type=checkbox]), .champ textarea, .champ select { font: inherit; padding: 10px 12px; border: 1px solid var(--bord); border-radius: 8px; background: var(--carte); color: var(--texte); width: 100% }
.champ input:not([type=radio]):not([type=checkbox]):focus, .champ textarea:focus, .champ select:focus { outline: 2px solid var(--accent-2); outline-offset: 1px }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
@media (max-width: 600px) { .deux-champs { grid-template-columns: 1fr } }
.choix { display: flex; gap: 10px; flex-wrap: wrap }
.choix label { display: flex; gap: 8px; align-items: center; white-space: nowrap; border: 1px solid var(--bord); border-radius: 8px; padding: 8px 12px; font-weight: 400; cursor: pointer; background: var(--carte) }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--doux) }
.consentement input { margin-top: 5px }
/* cases et boutons radio : taille native (Safari iOS appliquait la largeur et le cadre des champs texte) */
.choix input, .consentement input { width: auto; flex: none; margin: 0; padding: 0; accent-color: var(--accent) }
.consentement input { margin-top: 5px }
.message { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--bord); background: var(--accent-pale) }
.message.erreur { border-color: var(--rouge); color: var(--rouge); background: transparent }
.encart { background: var(--accent-pale); border: 1px solid var(--bord); border-radius: 12px; padding: 18px 20px }

/* pied */
.pied { padding: 36px 0 48px; color: var(--doux); font-size: .9rem; border-top: 1px solid var(--bord) }
.pied .conteneur { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between }
.pied nav { display: flex; gap: 16px; flex-wrap: wrap }
.pied a { color: var(--doux) }
.maquette { background: var(--lueur); color: var(--nuit); text-align: center; font-size: .85rem; padding: 6px 16px }

/* textes légaux */
.texte-legal { max-width: 820px }
.texte-legal .carte { padding: 8px 28px 24px }
.texte-legal h2 { font-size: 1.2rem; margin: 26px 0 8px }
.texte-legal p, .texte-legal li { color: var(--texte) }
.texte-legal ul { padding-left: 22px }
.texte-legal li { margin: 4px 0 }
.texte-legal .maj { color: var(--doux); margin: 0 0 8px }
.texte-legal table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: .95rem }
.texte-legal th, .texte-legal td { text-align: left; border-bottom: 1px solid var(--bord); padding: 8px 6px; vertical-align: top }
.texte-legal th { color: var(--doux); font-weight: 600 }
@media (max-width: 600px) { .texte-legal .carte { padding: 4px 16px 18px } .texte-legal table { font-size: .85rem } }

/* illustration de l'icône (accueil) */
.illustration { display: block; width: min(420px, 100%); margin: 0 auto; border-radius: 22%; box-shadow: 0 18px 48px rgba(1, 39, 130, .25) }
.slogan-sous { color: var(--accent-2); font-weight: 600; font-size: 1.15rem; margin: -6px 0 14px }
/* page de texte suivi (À propos) : une colonne lisible */
.texte-long{max-width:none}
.texte-long p{font-size:18px;line-height:1.7;margin:0 0 18px;text-align:justify}

/* Tarifs : bascule mois / année et cartes de forfait (données lues par /api/forfaits) */
.bascule { display: inline-flex; border: 1px solid var(--bord); border-radius: 999px; padding: 4px; background: var(--carte); gap: 4px }
.bascule button { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--doux); padding: 8px 16px; border-radius: 999px; cursor: pointer }
.bascule button[aria-pressed="true"] { background: var(--accent); color: var(--sur-accent) }
.bascule span { font-weight: 400; font-size: .85em }
.forfaits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: stretch }
.forfait { display: flex; flex-direction: column; gap: 14px }
.forfait h3 { margin: 0 }
.forfait .prix b { display: block; font-size: 2rem; line-height: 1.1; color: var(--accent) }
.forfait .prix small { color: var(--doux) }
.forfait .prix .remise { display: block; margin-top: 4px; color: var(--vert); font-size: .9rem; font-weight: 600 }
.forfait .modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; align-content: start; flex: 1 }
.forfait .modules li { padding-left: 24px; position: relative }
.forfait .modules li::before { position: absolute; left: 0; font-weight: 700 }
.forfait .modules li.inclus::before { content: "✓"; color: var(--vert) }
.forfait .modules li.absent { color: var(--doux); opacity: .55; text-decoration: line-through }
.forfait .modules li.absent::before { content: "–" }
.forfait .prix .ttc { display: inline; margin-left: 6px; font-size: .8rem; font-weight: 600; color: var(--doux) }
.forfait .prix .limites { margin: 8px 0 0; color: var(--doux); font-size: .9rem; line-height: 1.35; text-wrap: balance }
/* une limite par span : chacune reste entière, le point médian la suit ; sur une carte étroite, la seconde passe dessous sans « · » en tête */
.forfait .prix .limites > span { display: inline-block }
.forfait .prix .limites > span:not(:last-child)::after { content: "·"; margin: 0 .4em }
.forfait.avant { border: 2px solid var(--ambre); box-shadow: 0 10px 30px rgba(245, 166, 35, .18); position: relative }
.forfait .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--faisceau); color: var(--nuit);
  font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap }
/* les lignes des cartes de forfait alignées d'une carte à l'autre (EXPERT SIT-18, Bruno 28/10) : nom, prix, phrase, modules, bouton,
   chacun sur sa rangée commune (sous-grille) ; les modules ne commencent plus à des hauteurs différentes selon la longueur de la phrase */
/* … seulement là où :has() existe aussi (Bruno 21/11, Firefox ancien : sous-grille connue, :has() non → l'accroche et la phrase
   tombaient sur la même rangée et la phrase partait dans une 2e colonne) ; ailleurs, la carte reste une colonne simple */
@supports (grid-template-rows: subgrid) and selector(:has(a)) {
  .forfaits > .forfait { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 14px; align-content: start }
  .forfait > h3 { grid-row: 1 } .forfait > .prix { grid-row: 2 } .forfait > p { grid-row: 3 } .forfait > .modules { grid-row: 4 }
  .forfait > .bouton { grid-row: 5; align-self: end }
}
/* accroche de la carte (« Pour découvrir »…, offre commerciale 17/11) : p.accroche avant le h3 ; une rangée de plus, alignée d'une carte à l'autre */
.forfait > p.accroche { margin: 0 0 -8px; color: var(--forfait-encre, var(--doux)); font-size: .82rem; font-weight: 700; letter-spacing: .04em }
.forfait[data-forfait="expert"] > p.accroche { color: var(--forfait-or) }
@supports (grid-template-rows: subgrid) and selector(:has(a)) {
  .forfaits:has(> .forfait > .accroche) > .forfait { grid-row: span 6 }
  .forfaits:has(> .forfait > .accroche) .forfait > .accroche { grid-row: 1 }
  .forfaits:has(> .forfait > .accroche) .forfait > h3 { grid-row: 2 }
  .forfaits:has(> .forfait > .accroche) .forfait > .prix { grid-row: 3 }
  .forfaits:has(> .forfait > .accroche) .forfait > p:not(.accroche) { grid-row: 4 }
  .forfaits:has(> .forfait > .accroche) .forfait > .modules { grid-row: 5 }
  .forfaits:has(> .forfait > .accroche) .forfait > .bouton { grid-row: 6 }
}
/* Une couleur par forfait (stratégie de l'offre, 17/11) : la carte porte data-forfait="<code>" (gratuit, basique = Essentiel,
   avance = Connecté, expert = Patrimoine) ; le même attribut sert partout (comparaison, profils de l'accueil). */
/* les cartes du site et la bande .heros sont de nuit dans les deux thèmes : les encres y sont celles du sombre */
.carte, .simulateur, .heros { --f-gratuit-encre: #a9b3c4; --f-essentiel-encre: #8fb3ff; --f-connecte-encre: #4fcfd8; --f-patrimoine-encre: #f5c25a }
[data-forfait="gratuit"] { --forfait: var(--forfait-gratuit); --forfait-encre: var(--f-gratuit-encre) }
[data-forfait="basique"] { --forfait: var(--forfait-essentiel); --forfait-encre: var(--f-essentiel-encre) }
[data-forfait="avance"] { --forfait: var(--forfait-connecte); --forfait-encre: var(--f-connecte-encre) }
[data-forfait="expert"] { --forfait: var(--forfait-patrimoine); --forfait-encre: var(--f-patrimoine-encre) }
.forfait[data-forfait] { box-shadow: inset 0 6px 0 var(--forfait), var(--ombre); padding-top: 28px }
.forfait[data-forfait] > h3, .forfait[data-forfait] .prix b { color: var(--forfait-encre) }
/* Patrimoine, le conseillé : bleu nuit et or, quel que soit le thème */
.forfait[data-forfait="expert"] { --texte: #e6eaf5; --doux: #a2adc6; --vert: #4fd69c; background: var(--forfait-patrimoine); color: var(--texte);
  border: 2px solid var(--forfait-or); box-shadow: 0 12px 32px rgba(233, 169, 58, .22); position: relative }
.forfait[data-forfait="expert"] > h3 { color: #ffffff }
.forfait[data-forfait="expert"] .prix b { color: var(--forfait-or) }
.forfait[data-forfait="expert"] .badge { background: var(--forfait-or); color: var(--forfait-patrimoine) }
.forfait[data-forfait="expert"] .bouton.second { background: transparent; color: #ffffff; border: 1px solid var(--forfait-or) }
.forfait[data-forfait="expert"] .bouton.second:hover { background: rgba(233, 169, 58, .15) }
.comparer th[data-forfait] { color: var(--forfait-encre); box-shadow: inset 0 -3px 0 var(--forfait) }
.comparer th[data-forfait="expert"] { box-shadow: inset 0 -3px 0 var(--forfait-or) }
.bandeau-essai { margin: 0 0 22px; padding: 12px 16px; border-radius: 10px; background: var(--carte); border: 1px solid var(--bord);
  color: var(--or); font-weight: 700; text-align: center }
.forfait .bouton { text-align: center }
/* Offre commerciale (17/11) : bandeau d'essai à titre, texte et deux boutons ; badge confiance sous la grille ; profils de l'accueil */
div.bandeau-essai { margin: 0 0 28px; padding: 22px 24px; border-radius: 12px; background: var(--carte); border: 1px solid var(--bord);
  box-shadow: var(--ombre); color: var(--texte); font-weight: 400; text-align: left }
div.bandeau-essai h2 { margin: 0 0 6px; font-size: 1.3rem; line-height: 1.25; text-wrap: balance }
div.bandeau-essai p { margin: 0 0 16px; color: var(--doux); max-width: 70ch }
div.bandeau-essai p b { color: var(--texte) }
div.bandeau-essai .actions { gap: 10px }
p.cafe { margin: 22px auto 0; max-width: 60ch; text-align: center; color: var(--texte); font-size: 1.05rem; font-weight: 600; text-wrap: balance }
#comparer .note-tarifs { margin-top: 12px; font-size: .85rem }
ul.confiance { list-style: none; margin: 28px 0 0; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord); color: var(--doux); font-size: .92rem; font-weight: 600 }
ul.confiance li { display: inline-flex; align-items: center; gap: 8px }
.profils { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px }
/* l'accueil : la section des profils suit une autre section claire, un trait les sépare */
section:not(.alt, .heros):has(> .conteneur > .profils) { border-top: 1px solid var(--bord) }
a.carte.profil { display: flex; flex-direction: column; gap: 8px; color: var(--texte); text-decoration: none; padding-top: 26px;
  box-shadow: inset 0 5px 0 var(--forfait, var(--accent)), 0 14px 34px rgba(12, 18, 40, .16); transition: transform .15s }
a.carte.profil:hover { transform: translateY(-2px) }
a.carte.profil h3 { margin: 0 }
a.carte.profil p { margin: 0; color: var(--doux); flex: 1 }
a.carte.profil .profil-forfait { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700;
  background: var(--forfait, var(--accent)); color: var(--sur-forfait) }
a.carte.profil[data-forfait="expert"] { box-shadow: inset 0 5px 0 var(--forfait-or), 0 14px 34px rgba(12, 18, 40, .16) }
a.carte.profil[data-forfait="expert"] .profil-forfait { color: var(--forfait-or); box-shadow: inset 0 0 0 1px var(--forfait-or) }
@media (prefers-reduced-motion: reduce) { a.carte.profil { transition: none } a.carte.profil:hover { transform: none } }
.attente { color: var(--doux) }
.note-tarifs { color: var(--doux); font-size: .92rem; margin-top: 24px }

/* section en deux colonnes, texte et aperçu (Fonctionnalités : tutoriel) */
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center }
.deux-col ul { padding-left: 20px; color: var(--doux) }
.deux-col li { margin: 6px 0 }
.registre .a-faire { color: var(--doux); text-align: center }
@media (max-width: 900px) { .deux-col { grid-template-columns: 1fr; gap: 28px } }

/* animations de l'accueil et de Fonctionnalités (statique/joie.js) */
.anim-phare svg, .anim-bocaux svg { display: block; width: 100%; height: auto }
.anim-phare { max-width: 520px; margin-left: auto; filter: drop-shadow(0 18px 40px rgba(1, 39, 130, .25)) }
.anim-phare .halo { animation: pulse 2.4s ease-in-out infinite; transform-origin: 112px 152px }
@keyframes pulse { 0%, 100% { opacity: .25; transform: scale(.9) } 50% { opacity: .5; transform: scale(1.12) } }
.anim-bocaux { max-width: 560px; margin: 0 auto }
.anim-bocaux .verre { stroke: var(--bord); transition: stroke .3s }
.anim-bocaux .verre.plein { filter: drop-shadow(0 0 10px currentColor) }
.anim-bocaux .couvercle { fill: var(--bord) }
.anim-bocaux .texte { fill: var(--texte) }
.anim-bocaux .doux { fill: var(--doux) }
@media (prefers-reduced-motion: reduce) { .anim-phare .halo { animation: none } }

.simulateur { background: var(--carte); border: 1px solid var(--bord); border-radius: 14px; padding: 22px }
.simulateur label { display: block; font-weight: 600; margin-bottom: 10px }
.simulateur output { color: var(--accent); font-weight: 800; margin-left: 6px }
.simulateur input[type=range] { width: 100%; accent-color: var(--accent); margin: 6px 0 18px }
.simulateur h3 { margin: 0 0 14px }
.simulateur .resultats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 14px }
.simulateur .resultats div { background: var(--accent-pale); border-radius: 10px; padding: 10px 12px }
.simulateur .resultats dt { color: var(--doux); font-size: .82rem }
.simulateur .resultats dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem }
.simulateur .resultats .principal dd { color: var(--accent); font-size: 1.25rem }
.simulateur label output { font-size: 1.1rem }
.repartition { display: flex; height: 14px; border-radius: 7px; overflow: hidden }
.repartition i, .legende span { display: block; background: var(--accent-2) }
.repartition .interets, .legende .pastille-interets, .graphe-composes .gains { background: var(--vert); fill: var(--vert) }
.graphe-composes .verse { fill: var(--accent-2) }
.graphe-composes svg { display: block; width: 100%; height: auto }
.legende { display: flex; align-items: center; gap: 6px; color: var(--doux); font-size: .88rem; margin: 10px 0 0 }
.legende span { width: 12px; height: 12px; border-radius: 3px; margin-left: 8px }
.legende span:first-child { margin-left: 0 }
@media (max-width: 520px) { .simulateur .resultats { grid-template-columns: 1fr } }

/* petites illustrations des cartes de Fonctionnalités (joie.js, data-anim) : état final au repos, animation au survol */
.carte .mini { height: 56px; margin: 0 0 12px }
.carte .mini svg { height: 56px; width: auto; display: block; overflow: visible }
.mini .trait { fill: var(--bord) }
.mini .fond-fenetre { fill: var(--carte) } section.alt .mini .fond-fenetre { fill: var(--fond) }
.mini .c1 { fill: var(--accent-2) } .mini .c2 { fill: var(--vert) } .mini .c3 { fill: var(--or) } .mini .c4 { fill: var(--rouge) }
.mini .cercle, .mini .loupe, .mini .cadre { fill: none; stroke: var(--doux); stroke-width: 2.5 }
.mini .coche { fill: none; stroke: var(--vert); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round }
.mini .mat, .mini .axe { stroke: var(--doux); stroke-width: 2.5; stroke-linecap: round }
.mini .axe { stroke: var(--bord) }
.mini .cible { stroke: var(--doux); stroke-width: 1.5; stroke-dasharray: 4 3 }
.mini .courbe, .mini .lien { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round }
.mini .lien { stroke: var(--doux); stroke-dasharray: 4 4 }
.mini .part { fill: none; stroke-width: 9; stroke-dasharray: var(--l) 100; stroke-dashoffset: var(--d); transform: rotate(-90deg); transform-origin: 40px 28px }
.mini .part.c1 { stroke: var(--accent-2) } .mini .part.c2 { stroke: var(--vert) } .mini .part.c3 { stroke: var(--or) } .mini .part.c4 { stroke: var(--rouge) }
.mini .pousse, .mini .agite { transform-box: fill-box; transform-origin: bottom }
.mini .agite { transform-origin: left center }
.mini .bascule { transform-box: fill-box; transform-origin: center }
.mini .flux { opacity: 0 }
.mini .flux:nth-of-type(n) { transform: translateX(calc(var(--i) * 10px)); opacity: 1 }
@media (prefers-reduced-motion: no-preference) {
  .carte:is(:hover, :focus-within, .joue) .mini :is(.apparait, .pousse, .trace, .glisse, .agite, .bascule, .arrive, .part, .flux) {
    animation-duration: .55s; animation-fill-mode: both; animation-timing-function: cubic-bezier(.2, .8, .3, 1); animation-delay: calc(var(--i, 0) * 110ms) }
  .carte:is(:hover, :focus-within, .joue) .mini .apparait { animation-name: mini-apparait }
  .carte:is(:hover, :focus-within, .joue) .mini .pousse { animation-name: mini-pousse }
  .carte:is(:hover, :focus-within, .joue) .mini .trace { animation-name: mini-trace; animation-duration: 1.1s; stroke-dasharray: 100 }
  .carte:is(:hover, :focus-within, .joue) .mini .lien.trace { stroke-dasharray: 4 4; animation-name: mini-apparait }
  .carte:is(:hover, :focus-within, .joue) .mini .glisse { animation-name: mini-glisse; animation-duration: 1.4s; animation-timing-function: ease-in-out }
  .carte:is(:hover, :focus-within, .joue) .mini .agite { animation-name: mini-agite; animation-duration: .9s; animation-iteration-count: 2 }
  .carte:is(:hover, :focus-within, .joue) .mini .bascule { animation-name: mini-bascule; animation-duration: 1.2s }
  .carte:is(:hover, :focus-within, .joue) .mini .arrive { animation-name: mini-arrive }
  .carte:is(:hover, :focus-within, .joue) .mini .part { animation-name: mini-part; animation-duration: .7s }
  .carte:is(:hover, :focus-within, .joue) .mini .flux { animation-name: mini-flux; animation-duration: 1.2s; animation-iteration-count: 2; animation-timing-function: linear; animation-delay: calc(var(--i) * 400ms) }
}
/* partir : le fichier sort du foyer, puis le foyer s'efface (au repos : déjà effacé, le fichier reste) */
.mini .efface { opacity: .3 }
.mini .pli { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-linejoin: round }
.mini .descend { transform-box: fill-box }
@media (prefers-reduced-motion: no-preference) {
  .carte:is(:hover, :focus-within, .joue) .mini .efface { animation: mini-efface 2.6s ease-in-out both }
  .carte:is(:hover, :focus-within, .joue) .mini .descend { animation: mini-descend .7s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i) * 110ms) }
}
@keyframes mini-efface { 0%, 55% { opacity: 1 } 100% { opacity: .3 } }
@keyframes mini-descend { from { opacity: 0; transform: translateY(-8px) } }
@keyframes mini-apparait { from { opacity: 0; transform: translateY(6px) } }
@keyframes mini-pousse { from { transform: scaleY(0) } }
@keyframes mini-trace { from { stroke-dashoffset: 100 } to { stroke-dashoffset: 0 } }
@keyframes mini-glisse { 0% { transform: translateX(-50px) } 60% { transform: translateX(6px) } 100% { transform: translateX(0) } }
@keyframes mini-agite { 0%, 100% { transform: skewY(0) } 30% { transform: skewY(-10deg) } 70% { transform: skewY(7deg) } }
@keyframes mini-bascule { 0% { transform: rotate(-14deg) } 40% { transform: rotate(9deg) } 70% { transform: rotate(-4deg) } 100% { transform: rotate(0) } }
@keyframes mini-arrive { from { opacity: 0; transform: translateX(calc(var(--s) * 18px)) } }
@keyframes mini-part { from { stroke-dasharray: 0 100 } }
@keyframes mini-flux { from { transform: translateX(-12px); opacity: 0 } 20% { opacity: 1 } 80% { opacity: 1 } to { transform: translateX(22px); opacity: 0 } }

/* accueil : les 3 étapes validées une à une, puis l'aperçu du suivi (joie.js, .parcours-anim) */
.parcours-anim { position: relative; overflow: hidden }
.parcours-anim .etapes li::before { transition: background .3s, transform .3s }
.parcours-anim.anime .etapes li:not(.fait, .actif) { opacity: .5 }
.parcours-anim .etapes li { transition: opacity .3s }
.parcours-anim .etapes li.actif::before { animation: anneau 1.2s ease-out infinite }
.parcours-anim .etapes li.fait::before { content: "✓"; background: var(--vert); transform: scale(1.08) }
@keyframes anneau { 0% { box-shadow: 0 0 0 0 rgba(5, 113, 214, .5) } 100% { box-shadow: 0 0 0 12px rgba(5, 113, 214, 0) } }
.parcours-anim .curseur { position: absolute; left: 0; top: 0; width: 26px; height: 26px; pointer-events: none; transition: transform .7s cubic-bezier(.4, 0, .2, 1), opacity .4s; z-index: 2 }
.parcours-anim .curseur svg { width: 100%; height: 100%; fill: #fff; stroke: #0d1420; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); transition: transform .15s }
.parcours-anim .curseur.clic svg { transform: scale(.8) }
.parcours-anim .curseur.parti { opacity: 0 }
.suivi-apercu { margin-top: 16px; background: var(--carte); border: 1px solid var(--bord); border-radius: 10px; padding: 12px 14px; transition: opacity .5s, transform .5s }
.parcours-anim.anime .suivi-apercu:not(.visible) { opacity: 0; transform: translateY(12px) }
.suivi-titre { margin: 0 0 10px; font-weight: 700; color: var(--vert) }
.suivi-comptes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px }
.suivi-comptes div { background: var(--accent-pale); border-radius: 8px; padding: 6px 8px }
.suivi-comptes small { display: block; color: var(--doux); font-size: .75rem }
.suivi-comptes b { font-size: .95rem; color: var(--accent) }
.suivi-budget { display: grid; gap: 6px; font-size: .85rem }
.suivi-budget div { display: grid; grid-template-columns: 80px 1fr 40px; gap: 8px; align-items: center }
.suivi-budget i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--vert) var(--p), var(--accent-pale) var(--p)) }
.parcours-anim.anime .suivi-budget i { background: var(--accent-pale); position: relative; overflow: hidden }
.parcours-anim.anime .suivi-budget i::after { content: ""; position: absolute; inset: 0; width: var(--p); background: var(--vert); border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform .9s ease .3s }
.parcours-anim.anime .suivi-apercu.visible .suivi-budget i::after { transform: none }
.suivi-budget em { font-style: normal; color: var(--doux); text-align: right }
@media (max-width: 520px) { .suivi-comptes { grid-template-columns: 1fr 1fr } .suivi-comptes div:last-child { grid-column: 1 / -1 } }

/* sous-menu de Fonctionnalités : la visite guidée */
.nav-groupe { position: relative; display: flex; align-items: center }
.sous-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 220px; padding: 10px 0; background: var(--carte); border: 1px solid var(--bord); border-radius: 10px; box-shadow: 0 12px 30px rgba(1, 39, 130, .14); z-index: 20 }
.sous-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px }
.nav-groupe:hover .sous-menu, .nav-groupe:focus-within .sous-menu { display: grid }
.sous-menu span { padding: 2px 16px 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--or) }
.sous-menu a { padding: 7px 16px }
.sous-menu a:hover { background: var(--accent-pale) }
@media (max-width: 1120px) {
  .nav-groupe { display: block }
  .nav-groupe > a { display: block }
  .sous-menu { display: grid; position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 16px; min-width: 0; background: none }
  .sous-menu::before { display: none }
  .sous-menu span { padding: 8px 0 2px }
  .sous-menu a { padding: 10px 0 }
}

/* pages de la visite guidée */
.visite-heros .grille { align-items: center }
/* le dernier appel de l'accueil : un paragraphe centré, sur deux lignes, sous le titre centré (EXPERT SIT-18, Bruno 28/10) */
.appel-final .chapeau { text-align: center; max-width: 46em; margin-left: auto; margin-right: auto }
/* les fenêtres d'aperçu de la visite guidée (Bruno, 27/10 : « pas très lisible, bleu sur bleu ») : claires sur la nuit, comme l'app en
   thème clair ; elles reprennent les jetons clairs de la page, que la bande de nuit (.heros) avait remplacés. L'aperçu des apparences
   (.maquette-app) garde les siens. */
.visite-heros .fenetre:not(.maquette-app) {
  --fond: #f4f6fb; --carte: #ffffff; --texte: #0f1733; --doux: #4f5a75; --bord: #e3e8f2;
  --accent: #13235f; --accent-2: #0560c0; --accent-pale: #eef1fb; --lien: #0560c0; --sur-accent: #ffffff;
  --or: #d4900c; --vert: #0a6b3e; --rouge: #b42318;
  background: #ffffff; color: var(--texte); border: 1px solid rgba(255, 216, 77, .35); box-shadow: 0 0 0 1px rgba(255, 216, 77, .12), 0 24px 60px rgba(0, 0, 0, .45) }
/* la liste des comptes (Bien démarrer) : une pastille de couleur par genre de compte (data-compte), le montant en gras */
.visite-heros .fenetre:not(.maquette-app) .bandeau-exemple { background: #fff4d6; color: #7a5a00; border-color: #f0dca0 }
/* la banque de l'aperçu Foyer : l'icône au trait de Faora, plus d'émoji */
.ico-banque { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8h18z M5 8v9 M9.5 8v9 M14.5 8v9 M19 8v9 M3 21h18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8h18z M5 8v9 M9.5 8v9 M14.5 8v9 M19 8v9 M3 21h18'/%3E%3C/svg%3E") center / contain no-repeat }
/* séries du graphique des projets : des teintes moyennes, les jetons clairs (texte) y seraient trop sombres */
.visite-heros .fenetre:not(.maquette-app) :is(.li, .pl, .bi, .de) { --vert: #2fa36b; --accent-2: #3b82d6; --or: #e3a92b; --rouge: #d9534f }
.fenetre.comptes-clair .corps { padding: 16px 18px 10px }
.fenetre.comptes-clair h4 { font-size: 15px; margin-bottom: 6px }
.fenetre.comptes-clair .registre td { padding: 7px 4px; font-size: 14px; vertical-align: middle }
.fenetre.comptes-clair .registre tr:last-child td { border-bottom: 0 }
.fenetre.comptes-clair .registre td.n { font-weight: 700 }
.fenetre.comptes-clair .registre td:first-child { position: relative; padding-left: 46px }
/* la pastille (::before) et l'icône au trait par-dessus (::after, en masque, même jeu que le site) */
.fenetre.comptes-clair .registre td:first-child::before { content: ""; position: absolute; left: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 8px; background: var(--teinte-pale) }
.fenetre.comptes-clair .registre td:first-child::after { content: ""; position: absolute; left: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--teinte); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat }
.fenetre.comptes-clair [data-compte="courant"] { --teinte: #0560c0; --teinte-pale: #e3eefb; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3z M3 10h18 M16 14.5h2'/%3E%3C/svg%3E") }
.fenetre.comptes-clair [data-compte="carte"] { --teinte: #6d3fc0; --teinte-pale: #efe8fb; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 5h20v14H2z M2 10h20 M6 15h4'/%3E%3C/svg%3E") }
.fenetre.comptes-clair [data-compte="epargne"] { --teinte: #0a7a4a; --teinte-pale: #e2f4ea; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 3 8h18z M5 8v9 M9.5 8v9 M14.5 8v9 M19 8v9 M3 21h18'/%3E%3C/svg%3E") }
.fenetre.comptes-clair [data-compte="placement"] { --teinte: #b26a00; --teinte-pale: #fdf0d9; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18 M7 15l4-4 3 3 6-7'/%3E%3C/svg%3E") }
.fenetre.comptes-clair [data-compte="pret"] { --teinte: #b42318; --teinte-pale: #fbe7e5; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7 M5 10v10h14V10 M10 20v-6h4v6'/%3E%3C/svg%3E") }
.inclus-forfaits { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; color: var(--doux); font-size: .92rem }
.inclus-forfaits b { background: var(--accent-pale); color: var(--accent); border-radius: 999px; padding: 3px 12px; font-size: .85rem }
.bon-a-savoir { background: var(--accent-pale); border: 1px solid var(--bord); border-radius: 12px; padding: 18px 20px }
.bon-a-savoir h3 { margin-top: 0 }
.bon-a-savoir ul { margin: 0; padding-left: 20px; color: var(--doux) }
.bon-a-savoir li { margin: 6px 0 }
.visite-suite { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center }
.visite-suite a.precedent::before { content: "← " } .visite-suite a.suivant::after { content: " →" }
.ecran-anim { max-width: 560px; width: 100%; margin-left: auto }
.ecran-anim .corps { min-height: 250px }
.ecran-anim .registre tr { transition: background .3s, opacity .4s, transform .4s }
.ecran-anim .registre tr.nouvelle { background: #fff7d6 }
.ecran-anim .registre tr.cachee { opacity: 0; transform: translateY(-6px) }
.ecran-anim .etat-rappro { display: flex; justify-content: space-between; margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--accent-pale); font-size: 13px; font-weight: 600 }
.ecran-anim .etat-rappro.ok { background: #e3f4ea; color: var(--vert) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ecran-anim .registre tr.nouvelle { background: #3a3417 } :root:not([data-theme="light"]) .ecran-anim .etat-rappro.ok { background: #16301f } }
.budget-lignes { display: grid; gap: 10px; font-size: 13px }
.budget-lignes .ligne-b { display: grid; grid-template-columns: 110px 1fr 120px; gap: 10px; align-items: center }
.budget-lignes .piste { display: block; position: relative; height: 12px; border-radius: 6px; background: var(--accent-pale); overflow: hidden }
/* la barre garde toute sa largeur et s'étire en transform (sur le compositeur : plus de mise en page ni de dessin à chaque image au défilement,
   SITE 7201cc55) ; joie.js pose --part, de 0 à 1 */
.budget-lignes .piste i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 6px; background: var(--vert); transform: scaleX(var(--part, 0)); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .3, 1) }
.budget-lignes .piste i.depasse { background: var(--rouge) }
.budget-lignes .chiffres { text-align: right; color: var(--doux); font-variant-numeric: tabular-nums }
.budget-mois { display: flex; gap: 6px; margin-bottom: 12px }
.budget-mois span { padding: 3px 10px; border-radius: 999px; font-size: 12px; background: var(--accent-pale); color: var(--doux) }
.budget-mois span.actif { background: var(--accent); color: var(--sur-accent) }
.treso-svg { width: 100%; height: auto; display: block }
.treso-svg .axe { stroke: var(--bord); stroke-width: 1 }
.treso-svg .courbe { fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linejoin: round }
.treso-svg .scenario { fill: none; stroke: var(--rouge); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linejoin: round }
.treso-svg .zone { fill: var(--accent-2); fill-opacity: .1 }
.treso-svg text { fill: var(--doux); font-size: 11px }
.treso-svg .point-bas { fill: var(--rouge) }
.treso-svg .bulle { fill: var(--carte); stroke: var(--bord) }
.treso-svg .bulle-texte { fill: var(--texte); font-size: 12px; font-weight: 600 }
.treso-legende { display: flex; gap: 14px; font-size: 12px; color: var(--doux); margin-top: 6px; flex-wrap: wrap }
.treso-legende b { display: inline-block; width: 18px; height: 3px; vertical-align: middle; margin-right: 6px; background: var(--accent-2) }
.treso-legende b.s { background: repeating-linear-gradient(90deg, var(--rouge) 0 6px, transparent 6px 10px) }

/* écrans à scènes de la visite guidée (joie.js : [data-t] reçoit « vu » à son heure ; .raz coupe les transitions au retour) */
.ecran-anim.raz, .ecran-anim.raz * { transition: none !important; animation: none !important }
.bascule-vu .ap { display: none } .bascule-vu.vu .av { display: none } .bascule-vu.vu .ap { display: revert }
.montre { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s }
.montre.vu { opacity: 1; transform: none }
.registre tr.montre { transform: none }
.registre tr.montre:not(.vu) { display: none }
.registre tr.montre.vu { animation: nouvelle-ligne 1.6s }
@keyframes nouvelle-ligne { from { background: #fff7d6 } }
.ecran-anim .registre th, .ecran-anim .registre td { white-space: nowrap }
.ecran-anim .registre tr.retard:not(.vu) td:first-child { color: var(--rouge); font-weight: 600 }
.etiquette { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--accent-pale); color: var(--accent) }
.etiquette.rouge { background: #fde8e6; color: var(--rouge) } .etiquette.verte { background: #e3f4ea; color: var(--vert) }
.actions-ecran { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px }
.bouton-ecran { display: inline-block; padding: 4px 12px; border: 1px solid var(--bord); border-radius: 6px; background: var(--fond); font-size: 12px; font-weight: 600; color: var(--texte) }
.bouton-ecran.clic.vu { animation: clic-ecran .7s }
@keyframes clic-ecran { 0% { box-shadow: 0 0 0 0 rgba(5, 113, 214, .55); transform: scale(1) } 30% { transform: scale(.94); background: var(--accent-pale) } 100% { box-shadow: 0 0 0 12px rgba(5, 113, 214, 0); transform: scale(1) } }
.detecte { margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: #fff7d6; font-size: 12.5px; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap }
.toast { font-size: 12px; font-weight: 600; color: var(--vert) }
.onglets-ecran { display: flex; gap: 4px; margin-bottom: 10px }
.onglets-ecran span { padding: 3px 10px; border-radius: 6px; font-size: 12px; color: var(--doux) }
.onglets-ecran span.actif { background: var(--accent); color: var(--sur-accent) }
.barres-h { display: grid; gap: 8px; font-size: 12.5px }
.barres-h div { display: grid; grid-template-columns: 90px 1fr 64px; gap: 8px; align-items: center }
.barres-h i { display: block; height: 12px; width: var(--w); border-radius: 6px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .3, 1) }
.barres-h div:nth-child(2) i { transition-delay: .15s } .barres-h div:nth-child(3) i { transition-delay: .3s } .barres-h div:nth-child(4) i { transition-delay: .45s }
.barres-h div:nth-child(5) i { transition-delay: .6s } .barres-h div:nth-child(6) i { transition-delay: .75s }
.barres-h.vu i { transform: none }
.barres-h em { font-style: normal; text-align: right; color: var(--doux); font-variant-numeric: tabular-nums }
.ecran-anim .tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px }
.ecran-anim .tuiles div { background: var(--accent-pale); border-radius: 8px; padding: 6px 10px }
.ecran-anim .tuiles small { display: block; color: var(--doux); font-size: 11px }
.ecran-anim .tuiles b { font-variant-numeric: tabular-nums }
.ecran-anim .tuiles b.plus, .hausse, .ok-texte { color: var(--vert) } .baisse { color: var(--rouge) }
.sparkline svg { width: 100%; height: 36px; display: block }
.trace-ecran { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s ease-in-out }
.trace-ecran.vu { stroke-dashoffset: 0 }
.colonnes { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 130px; border-bottom: 1px solid var(--bord) }
.colonnes > span { flex: 1; display: flex; flex-direction: column; height: 0; border-radius: 3px 3px 0 0; overflow: hidden; transition: height .7s cubic-bezier(.2, .8, .3, 1); transition-delay: calc(var(--i) * 70ms) }
.colonnes.vu > span { height: var(--h, 100%) }
.colonnes i { display: block; min-height: 0 }
.int, .legende-ecran b.int { background: var(--rouge) } .cap, .legende-ecran b.cap { background: var(--accent-2) }
.li, .legende-ecran b.li { background: var(--vert) } .pl, .legende-ecran b.pl { background: var(--accent-2) } .bi, .legende-ecran b.bi { background: var(--or) } .de, .legende-ecran b.de { background: var(--rouge) }
.colonnes .int { opacity: .8 }
.repere { position: absolute; left: var(--x); top: -4px; bottom: 0; border-left: 2px dashed var(--texte); padding-left: 6px; font-size: 11px; font-weight: 700; color: var(--texte); white-space: nowrap }
.axe-ecran { display: flex; justify-content: space-between; font-size: 11px; color: var(--doux); margin-top: 4px }
.legende-ecran { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--doux); margin: 8px 0 0 }
.legende-ecran b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px }
.membres { display: grid; gap: 6px; font-size: 13px }
.membres div { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center }
.membres small { color: var(--doux) }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-2); color: #fff; font-weight: 700; font-size: 12px }
.avatar.a2 { background: var(--vert) } .avatar.a3 { background: var(--or) }
.banque { font-size: 13px }
.banque-ligne { display: flex; justify-content: space-between; gap: 8px; font-weight: 600 }
.banque p { margin: 6px 0 0; color: var(--doux); font-size: 12.5px }
.progression { display: block; height: 8px; margin-top: 8px; border-radius: 4px; background: var(--accent-pale); overflow: hidden }
.progression i { display: block; height: 100%; width: 100%; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform 1.9s ease-in-out }
.progression.vu i { transform: none }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .detecte { background: #3a3417 } :root:not([data-theme="light"]) .etiquette.rouge { background: #3b1c19 } :root:not([data-theme="light"]) .etiquette.verte { background: #16301f } }
@media (max-width: 520px) {
  .ecran-anim .registre th:nth-child(3), .ecran-anim .registre td:nth-child(3) { display: none }
  .barres-h div { grid-template-columns: 78px 1fr 56px }
  .ecran-anim .tuiles { grid-template-columns: 1fr 1fr } .ecran-anim .tuiles > div:last-child { grid-column: 1 / -1 }
}

/* Apparence à la carte : la maquette de l'app passe de Simple à Complet (data-preset) et d'un habillage à l'autre (data-hab) */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("polices/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2") }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("polices/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2") }
.choix-prereglage { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px }
.choix-prereglage button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--bord); background: var(--carte); color: var(--texte); cursor: pointer }
.choix-prereglage button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--sur-accent) }
/* Bruno, 25/10 (via SITE) : l'aperçu suit l'app 0.37 — un interrupteur Simple / Complet (data-preset debutant | habitue, sur
   l'écran) et neuf habillages (data-hab, mêmes clés que l'app : marque, nuit, phare, aube, jour, faora, retro, verre, terracotta),
   chacun avec ses couleurs (relevées dans habillages.css de l'app) ; plus de palette ni de Confort visuel dans l'aperçu. */
.choix-habillage { display: flex; flex-wrap: wrap; gap: 5px; margin: -2px 0 10px }
.choix-habillage button { font: inherit; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--bord); background: transparent; color: var(--doux); cursor: pointer }
.choix-habillage button:hover { color: var(--texte); border-color: var(--accent) }
.choix-habillage button[aria-pressed="true"] { background: var(--accent-pale); border-color: var(--accent); color: var(--texte); font-weight: 700 }
.maquette-app { --m-barre: linear-gradient(180deg, #1f8fe8, #0571d6 45%, #012782); --m-barre-t: #fff; --m-outils: #fff; --m-fond: #f4f7fa; --m-volet: #fff;
  --m-surface: #fff; --m-texte: #16202e; --m-doux: #5a6a80; --m-accent: #0571d6; --m-actif-t: #fff; --m-bord: #dbe4f0; --m-rayon: 8px; --m-police: inherit;
  background: var(--m-fond); color: var(--m-texte); border-color: var(--m-bord); font-family: var(--m-police);
  transition: font-size .4s, background-color .4s, color .4s }
.maquette-app .barre { background: var(--m-barre); color: var(--m-barre-t); transition: background .4s }
.m-outils { display: none; gap: 10px; padding: 6px 10px; border-bottom: 1px solid var(--m-bord); background: var(--m-outils); font-size: 14px }
.m-corps { display: grid; grid-template-columns: 120px 1fr; min-height: 230px }
.m-volet { display: grid; align-content: start; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--m-bord); background: var(--m-volet); transition: background .4s }
.m-volet > * { padding: 4px 8px; border-radius: 6px; color: var(--m-texte) }
.m-volet b { background: var(--m-accent); color: var(--m-actif-t); transition: background .4s }
.m-page { padding: 12px }
.m-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; margin-bottom: 10px }
.m-tuiles div { border: 1px solid var(--m-bord); border-radius: var(--m-rayon); padding: 6px 8px; background: var(--m-surface); transition: background .4s }
.m-tuiles small { display: block; color: var(--m-doux); font-size: .8em }
.m-tuiles b { color: var(--m-chiffre, var(--m-accent)); transition: color .4s }
.m-lignes div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--m-bord) }
.m-lignes div span:nth-child(2) { flex: 1 }
.m-lignes .moins { color: #c0392b }
/* Simple : les mots de tous les jours, l'essentiel, plus grand ; Complet : la barre des modules et toutes les colonnes */
[data-preset="debutant"] .maquette-app { font-size: 14px }
[data-preset="debutant"] .complet { display: none }
[data-preset="debutant"] .m-lignes div { padding: 9px 0 }
[data-preset="habitue"] .simple { display: none }
[data-preset="habitue"] .m-outils { display: flex }
[data-preset="habitue"] .maquette-app { font-size: 12px }
/* les habillages */
[data-hab="marque"] .maquette-app { --m-chiffre: #0f172a; --m-barre: #070e18; --m-outils: #475569; --m-fond: #f1f5f9; --m-volet: #f1f5f9; --m-texte: #1e293b; --m-doux: #64748b;
  --m-accent: #f59e0b; --m-actif-t: #0f172a; --m-bord: #e2e8f0; --m-rayon: 10px; --m-police: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif }
[data-hab="nuit"] .maquette-app { --m-barre: linear-gradient(180deg, #0a1530, #070e1e); --m-barre-t: #fff6d8; --m-outils: #0f1d3c; --m-fond: #0b1730; --m-volet: #0b1730;
  --m-surface: #0f1d3c; --m-texte: #d6deee; --m-doux: #8fa0c4; --m-accent: #f5bd4f; --m-actif-t: #0b1730; --m-bord: rgba(255, 209, 102, .18); --m-rayon: 10px;
  --m-police: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif }
[data-hab="phare"] .maquette-app { --m-barre: linear-gradient(180deg, #25345a, #1e2b48); --m-barre-t: #fff6d8; --m-outils: #283a5c; --m-fond: #1f2d4c; --m-volet: #1f2d4c;
  --m-surface: #283a5c; --m-texte: #d6deee; --m-doux: #a9b6cf; --m-accent: #f5bd4f; --m-actif-t: #1f2d4c; --m-bord: #3b4e73; --m-rayon: 10px;
  --m-police: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif }
[data-hab="aube"] .maquette-app { --m-chiffre: #1e2235; --m-barre: linear-gradient(180deg, #faf7f1, #f5f0e7); --m-barre-t: #1e2235; --m-outils: #ebe5da; --m-fond: #ede8e1; --m-volet: #f8f5ef;
  --m-surface: #fbf9f6; --m-texte: #3a3d4d; --m-doux: #8a8478; --m-accent: #eb9900; --m-actif-t: #1e2235; --m-bord: #e2d9c9; --m-rayon: 10px;
  --m-police: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif }
[data-hab="jour"] .maquette-app { --m-chiffre: #13294b; --m-barre: linear-gradient(100deg, #dcedfb, #eaf5ff); --m-barre-t: #13294b; --m-outils: #fff; --m-fond: #f2f7fc; --m-volet: #eef5fb;
  --m-texte: #2f4363; --m-doux: #5f7b9c; --m-accent: #f2a516; --m-actif-t: #13294b; --m-bord: #d6e4f1; --m-rayon: 10px;
  --m-police: "Plus Jakarta Sans", -apple-system, system-ui, sans-serif }
[data-hab="verre"] .maquette-app { --m-barre: #fff; --m-barre-t: #1e1b2e; --m-fond: #f3f1fa; --m-texte: #1e1b2e; --m-doux: #625f78; --m-accent: #5b3fd9;
  --m-bord: #e6e2f3; --m-rayon: 14px }
[data-hab="verre"] .m-tuiles div { box-shadow: 0 4px 14px rgba(91, 63, 217, .08) }
[data-hab="terracotta"] .maquette-app { --m-barre: #fff8f6; --m-barre-t: #1e1b1a; --m-outils: #fff8f6; --m-fond: #fff8f6; --m-texte: #1e1b1a; --m-doux: #6b5f5c;
  --m-accent: #b5533a; --m-bord: #f0dcd6; --m-rayon: 16px }
[data-hab="terracotta"] .m-tuiles div { padding: 10px 12px }
/* habillages sombres et Faora : icônes d'un seul trait, comme leur barre des modules */
:is([data-hab="nuit"], [data-hab="phare"]) .m-outils .ico-aplat { fill: none; stroke: none }
:is([data-hab="nuit"], [data-hab="phare"]) .m-outils .ico-trait { stroke: #f5bd4f } :is([data-hab="nuit"], [data-hab="phare"]) .m-outils .ico-trait text { fill: #f5bd4f }
[data-hab="marque"] .m-outils .ico-aplat { fill: none; stroke: none }
[data-hab="marque"] .m-outils .ico-trait { stroke: #fff } [data-hab="marque"] .m-outils .ico-trait text { fill: #fff }
/* Rétro 2005 : l'allure des grands logiciels des années 2000 */
[data-hab="retro"] .maquette-app { font: 11px Tahoma, Verdana, "Segoe UI", sans-serif; background: #ece9d8; color: #000; border-radius: 6px; border-color: #0a246a }
[data-hab="retro"] .maquette-app .barre { background: linear-gradient(180deg, #3a7be0, #0a3fa8 60%, #0a246a); color: #fff; font-weight: 700 }
[data-hab="retro"] .m-outils { background: linear-gradient(180deg, #fbfbf8, #e3e0cf); border-bottom: 1px solid #aca899 }
[data-hab="retro"] .m-outils span { padding: 1px 4px; border: 1px solid #c8c4b0; border-radius: 3px; background: #f5f4ee }
[data-hab="retro"] .m-outils .ico-emoji { display: inline }
[data-hab="retro"] .m-outils .ico-dessin { display: none }
[data-hab="retro"] .m-volet { background: linear-gradient(180deg, #7ba2e7, #6375d6); border-right-color: #4f5fb0 }
[data-hab="retro"] .m-volet > * { color: #fff; border-radius: 0 }
[data-hab="retro"] .m-volet b { background: #fff; color: #0a246a }
[data-hab="retro"] .m-tuiles div { border-radius: 0; border-color: #aca899; background: #fff }
[data-hab="retro"] .m-tuiles small { color: #444 }
[data-hab="retro"] .m-tuiles b { color: #0a246a }
[data-hab="retro"] .m-lignes div { border-bottom-color: #d4d0c8; background: #fff; padding: 2px 4px }
[data-hab="retro"] .m-lignes div:nth-child(even) { background: #f1efe2 }
@media (max-width: 520px) { .m-corps { grid-template-columns: 1fr } .m-volet { grid-auto-flow: column; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--m-bord) } }
/* icônes de la barre : dessins bicolores de l'app, émojis d'origine pour Rétro 2005, un seul trait pour Faora et les habillages sombres */
.m-outils span { display: inline-flex; align-items: center }
.m-outils .ico-emoji { font-style: normal; display: none }
.m-outils .ico-dessin { width: 22px; height: 22px; display: block; overflow: visible }
[data-preset="habitue"] .m-outils { gap: 10px; padding: 6px 10px }
.m-outils .ico-aplat { fill: var(--f); stroke: var(--f); stroke-width: 1.5 }
.m-outils .ico-aplat text, .m-outils .ico-aplat [fill=currentColor] { fill: transparent; stroke: none }
.m-outils .ico-trait { fill: none; stroke: var(--t); stroke-width: 1.55 }
.m-outils .ico-trait text, .m-outils .ico-trait [fill=currentColor] { fill: var(--t); stroke: none }
.mini .aa { fill: var(--accent); font: 700 22px -apple-system, system-ui, sans-serif }
.mini .clair { fill: #ffffff; opacity: .85 } .mini .clair-trait { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round }
.mini .volet { fill: var(--accent-pale) } .mini .volet-retro { fill: #c9d6f2 } .mini .titre-retro { fill: #0a246a }
.mini .contraste { fill: #000000 } .mini .aa-grand { fill: #ffffff; font: 700 28px 'Atkinson Hyperlegible', system-ui, sans-serif }
.mini .grandit { transform-box: fill-box; transform-origin: center }
@media (prefers-reduced-motion: no-preference) {
  .carte:is(:hover, :focus-within, .joue) .mini .grandit { animation: mini-grandit 1.6s cubic-bezier(.2, .8, .3, 1) both }
  .carte:is(:hover, :focus-within, .joue) .mini .teinte { animation: mini-teinte 4.2s steps(1) both }
  .carte:is(:hover, :focus-within, .joue) .mini .fond-mode { animation: mini-mode 4.2s ease-in-out both }
}
@keyframes mini-grandit { 0% { transform: scale(.55) } 45% { transform: scale(1.12) } 100% { transform: scale(1) } }
/* couleur, taille et police de « Aa » : Bleu Faora, Émeraude, Prune, Ambre, retour */
@keyframes mini-teinte {
  0% { fill: var(--accent); font-size: 22px; font-family: -apple-system, system-ui, sans-serif }
  20% { fill: #1e9e6a; font-size: 26px; font-family: Georgia, serif }
  40% { fill: #8a3f9c; font-size: 18px; font-family: 'Atkinson Hyperlegible', sans-serif }
  60% { fill: #f2c14e; font-size: 24px; font-family: ui-monospace, monospace }
  80%, 100% { fill: var(--accent); font-size: 22px; font-family: -apple-system, system-ui, sans-serif } }
@keyframes mini-mode { 0%, 50% { fill: transparent } 58%, 78% { fill: #11161d } 86%, 100% { fill: transparent } }
.colonnes { margin-top: 22px }
.repere { top: -20px }
@media (prefers-reduced-motion: reduce) { .registre tr.montre.vu, .bouton-ecran.clic.vu { animation: none } }

/* Forfaits d'une fonctionnalité, sous sa carte (lus dans la grille par joie.js) */
.forfait-carte { margin: 12px 0 0 !important; font-size: .8rem }
.forfait-carte a { display: inline-block; background: var(--accent-pale); color: var(--accent); border-radius: 999px; padding: 2px 10px; text-decoration: none; font-weight: 600 }
.forfait-carte a:hover { text-decoration: underline }

/* Fonctionnalités, « Ce que Faora fait autrement » : trois grands blocs, texte et écran animé alternés */
.autrement { margin-top: 48px; align-items: start }
.autrement-titre { font-size: 1.45rem; margin: 0 0 8px }
.autrement .ecran-anim { margin-top: 8px }
@media (max-width: 900px) { .autrement { grid-template-columns: 1fr; gap: 20px } .autrement.inverse > .ecran-anim { order: 2 } }

/* Accueil, « Pour tous » : trois niveaux côte à côte */
.niveaux .niveau { display: flex; flex-direction: column }
.niveau-icone { font-size: 1.8rem; line-height: 1 }
.niveau h3 { margin-top: 10px }
.niveau-affichage { color: var(--doux); font-size: .9rem; margin: 4px 0 0 }
.niveau .inclus-forfaits { margin-top: 10px }
.niveau p:last-child { margin-top: auto; padding-top: 12px }
.niveaux-note { margin-top: 20px; color: var(--doux) }

/* Tarifs, « Comparer les forfaits en détail » */
.comparer { margin-top: 28px; border: 1px solid var(--bord); border-radius: 12px; background: var(--carte); padding: 0 16px }
.comparer summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--accent) }
.comparer .defile { overflow-x: auto; padding-bottom: 14px }
.comparer table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px }
.comparer th, .comparer td { padding: 8px 10px; border-top: 1px solid var(--bord); text-align: left }
.comparer thead th { border-top: 0; font-size: .85rem; color: var(--doux) }
.comparer tbody th { font-weight: 500 }
.comparer .n { text-align: center }
.comparer td.inclus { color: var(--vert); font-weight: 700 }
.comparer td.absent { color: var(--doux) }
/* le phare : étoiles et étincelles qui scintillent */
.anim-phare .etoile, .anim-phare .etincelle { animation: scintille 3s ease-in-out infinite }
.anim-phare .etincelle { animation-duration: 2.2s }
@keyframes scintille { 0%, 100% { opacity: .2 } 50% { opacity: .95 } }
@media (prefers-reduced-motion: reduce) { .anim-phare .etoile, .anim-phare .etincelle { animation: none } }
/* thème sombre : le trait des icônes de l'aperçu prend la teinte claire, comme dans l'app */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .m-outils .ico-trait { stroke: var(--f) } :root:not([data-theme="light"]) .m-outils .ico-trait text { fill: var(--f) } }
:root[data-theme="dark"] .m-outils .ico-trait { stroke: var(--f) } :root[data-theme="dark"] .m-outils .ico-trait text { fill: var(--f) }
/* Avis des testeurs (page avis.html, hors menus) : une carte par avis, la citation puis l'auteur */
.avis-liste .avis-attente { grid-column: 1 / -1; color: var(--doux); font-style: italic; margin: 0 0 24px }
.carte.avis { margin: 0; display: flex; flex-direction: column; gap: 14px }
.carte.avis blockquote { margin: 0 }
.carte.avis blockquote p { color: var(--texte); font-size: 1.05rem; line-height: 1.6 }
.carte.avis figcaption { color: var(--doux); font-size: .92rem }
/* deux colonnes larges au plus (un avis long et un court ne s'étirent plus à la même hauteur), une seule sur téléphone ; la traduction
   (version anglaise, sous la citation française) en retrait, filet à gauche, plus petite */
.cartes.avis-liste { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start }
.carte.avis blockquote[lang] + p { margin: 0; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--doux); font-size: .95rem; line-height: 1.6 }
.carte.avis blockquote[lang] + p > i:first-child { display: block; margin-bottom: 2px; font-style: normal; font-weight: 700; font-size: .8rem; letter-spacing: .04em; color: var(--doux) }
.carte.avis figcaption { margin-top: 2px }
.avis-mention.texte-long { margin-top: 32px } /* plus fort que .texte-long { margin: 0 auto }, plus bas (RECETTE e695bce9) */
.avis-mention h2 { font-size: 1.2rem; margin: 0 0 10px }

/* illustration de l'accueil : le phare sur la côte, la nuit (Stitch, choisie par Bruno le 21/10), animée en CSS :
   la lanterne pulse, le faisceau balaie doucement la nuit, des étincelles scintillent dans la lumière. La lanterne est
   placée par --lx / --ly (en % de l'image), l'angle du faisceau par --angle, posés sur la figure. */
.phare-nuit { --lx: 30%; --ly: 30%; --angle: -14deg; position: relative; margin: 0; max-width: 480px; margin-left: auto;
  border-radius: 20px; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 216, 77, .3), 0 0 70px -2px rgba(245, 166, 35, .52), 0 0 160px -6px rgba(245, 166, 35, .3), 0 24px 60px rgba(0, 0, 0, .35) }
@media (max-width: 900px) { .phare-nuit { margin: 0 auto } }
.phare-nuit img { display: block; width: 100%; height: auto; animation: phare-respire 24s ease-in-out infinite alternate; transform-origin: var(--lx) var(--ly) }
.phare-nuit span { position: absolute; pointer-events: none }
/* le faisceau : un cône doré qui part de la lanterne, en lumière additive */
.phare-nuit .faisceau { left: var(--lx); top: var(--ly); width: 95%; height: 40%; transform-origin: 0 50%;
  translate: 0 -50%; rotate: var(--angle);
  background: linear-gradient(90deg, rgba(255, 236, 170, .5), rgba(255, 200, 90, .2) 30%, rgba(245, 166, 35, 0) 70%);
  clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 54%); filter: blur(14px); mix-blend-mode: screen;
  animation: phare-balaie 9s ease-in-out infinite }
/* la lueur de la lanterne */
.phare-nuit .lueur { left: var(--lx); top: var(--ly); width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 205, .95), rgba(255, 210, 110, .45) 30%, rgba(245, 166, 35, 0) 70%);
  mix-blend-mode: screen; animation: phare-pulse 3.2s ease-in-out infinite }
/* les étincelles, posées dans le faisceau par --x / --y */
.phare-nuit .etincelles { inset: 0 }
.phare-nuit .etincelle { left: var(--x); top: var(--y); width: 5px; height: 5px; border-radius: 50%; background: #fff3c4;
  box-shadow: 0 0 8px 2px rgba(255, 216, 77, .8); opacity: 0; animation: phare-scintille 3.6s ease-in-out infinite; animation-delay: var(--d, 0s) }
@keyframes phare-balaie { 0%, 100% { rotate: calc(var(--angle) - 3deg); opacity: .75 } 50% { rotate: calc(var(--angle) + 3deg); opacity: 1 } }
@keyframes phare-pulse { 0%, 100% { opacity: .7; scale: .9 } 50% { opacity: 1; scale: 1.12 } }
@keyframes phare-scintille { 0%, 100% { opacity: 0; scale: .4 } 45% { opacity: 1; scale: 1 } 60% { opacity: .8 } }
@keyframes phare-respire { from { scale: 1 } to { scale: 1.04 } }
@media (prefers-reduced-motion: reduce) {
  .phare-nuit img, .phare-nuit .faisceau, .phare-nuit .lueur { animation: none }
  .phare-nuit .etincelle { animation: none; opacity: .7 }
}

/* ═══ Charte du phare : le corps des pages (Bruno, 21/10 : « pas tout en foncé, très harmonieux et pro, pas de gris sur les
   cartes : en bleu comme en haut »). Fonds clairs légèrement bleutés, sections alternées blanc / bleu très pâle ; les cartes
   sont des éclats de nuit (mêmes jetons que .heros) ; FAQ, encarts et textes légaux restent clairs ; le pied referme la page
   en nuit. En sombre, la même logique sur fond de nuit. ═══ */
:root:not([data-theme="dark"]) { --fond: #f4f6fb }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fond: #0a1028 } }
h1, h2 { color: var(--titre, inherit) }
:root { --titre: #13235f }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --titre: #f1f3fb } }
:root[data-theme="dark"] { --titre: #f1f3fb }
.heros { --titre: #ffffff }
section { background: #ffffff }
section.alt { background: linear-gradient(180deg, #edf1fb, #f5f7fd); border-color: #e0e6f4 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) section { background: #0a1028 } :root:not([data-theme="light"]) section.alt { background: #0e1532; border-color: #1c2550 } }
:root[data-theme="dark"] section { background: #0a1028 }
:root[data-theme="dark"] section.alt { background: #0e1532; border-color: #1c2550 }
section.heros { background-color: #0c1228 }

/* les cartes : un éclat de nuit, avec la lueur du faisceau dans l'angle */
.carte, .simulateur, section.alt .carte {
  --carte: #131c40; --fond: #101836; --texte: #eef1fa; --doux: #b7c0da; --bord: rgba(255, 255, 255, .12); --titre: #ffffff;
  --accent: #ffc94d; --accent-2: #8fd0ff; --accent-pale: rgba(255, 255, 255, .07); --lien: #8fd0ff; --sur-accent: #0c1228;
  --or: #ffd84d; --vert: #4fd69c; --rouge: #ff8a80;
  color: var(--texte); border: 1px solid rgba(255, 255, 255, .06);
  background: radial-gradient(90% 70% at 100% 0%, rgba(245, 166, 35, .12), transparent 60%), linear-gradient(160deg, #18234f, #0e1531);
  box-shadow: 0 1px 2px rgba(12, 18, 40, .08), 0 14px 34px rgba(12, 18, 40, .16);
}
.carte h3, .simulateur h3 { color: #ffffff }
.carte .pastille { background: rgba(255, 216, 77, .12) }
.forfait.avant { border: 1px solid rgba(255, 201, 77, .7); box-shadow: 0 0 0 1px rgba(255, 201, 77, .35), 0 18px 40px rgba(245, 166, 35, .22) }
.carte .champ input:not([type=radio]):not([type=checkbox]), .carte .champ textarea, .carte .champ select { background: #0c1330; border-color: rgba(255, 255, 255, .16) }
/* « Comment tenez-vous vos comptes aujourd'hui ? » (acces.html) : cinq boutons radio au lieu de la liste native (SITE e641182e ; Bruno 28/11,
   maquette validée : la liste ouverte restait un menu système gris) ; fieldset sans cadre, chaque choix au format des champs de la carte
   de nuit (40 px, fond #0c1330, filet), le choix coché en or ; au téléphone, un choix par ligne */
fieldset.champ-outil { border: 0; margin: 0; padding: 0; min-width: 0 }
fieldset.champ-outil > legend { padding: 0; margin: 0 0 6px; font-weight: 600; font-size: .95rem }
fieldset.champ-outil .choix { gap: 8px }
fieldset.champ-outil .choix label { box-sizing: border-box; white-space: normal; min-height: 40px; padding: 0 14px; font-size: .92rem; line-height: 1.3; transition: border-color .15s, background-color .15s }
.carte fieldset.champ-outil .choix label { background: #0c1330; border-color: rgba(255, 255, 255, .16) }
.carte fieldset.champ-outil .choix label:hover { border-color: rgba(255, 201, 77, .55) }
.carte fieldset.champ-outil .choix label:has(input:checked) { border-color: #ffc94d; background: rgba(255, 201, 77, .12) }
fieldset.champ-outil .choix label:has(input:focus-visible) { outline: 2px solid #7cc4ff; outline-offset: 1px }
fieldset.champ-outil .choix input { accent-color: #ffc94d }
fieldset.champ-outil .choix input:focus-visible { outline: none } /* le contour est sur le bouton entier, pas deux anneaux */
@media (max-width: 600px) { fieldset.champ-outil .choix label { flex: 1 1 100%; padding: 8px 14px } }
@media (prefers-reduced-motion: reduce) { fieldset.champ-outil .choix label { transition: none } }

/* ce qui reste clair : textes légaux, questions, encarts, messages */
.texte-legal .carte { --carte: #ffffff; --texte: #0f1733; --doux: #4f5a75; --bord: #dde2ee; --titre: #13235f; --lien: #0560c0;
  background: #ffffff; border: 1px solid #e0e6f4; box-shadow: 0 1px 2px rgba(12, 18, 40, .05) }
details { border: 1px solid #e0e6f4; border-left: 3px solid var(--ambre); background: #ffffff; box-shadow: 0 1px 2px rgba(12, 18, 40, .04) }
details summary { color: var(--titre) }
details summary::marker { color: var(--ambre) }
.encart { background: linear-gradient(180deg, #eef2fc, #f6f8fe); border: 1px solid #dfe5f5; border-left: 3px solid var(--ambre) }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) details { background: #121a36; border-color: #26305a; border-left-color: var(--ambre) }
  :root:not([data-theme="light"]) .encart { background: #121a36; border-color: #26305a; border-left-color: var(--ambre) }
  :root:not([data-theme="light"]) .texte-legal .carte { --carte: #121a36; --texte: #e6eaf5; --doux: #a2adc6; --bord: #26305a; --titre: #f1f3fb; --lien: #7cc4ff; background: #121a36; border-color: #26305a }
}
:root[data-theme="dark"] details, :root[data-theme="dark"] .encart { background: #121a36; border-color: #26305a; border-left-color: var(--ambre) }

/* le pied : la nuit referme la page */
.pied { --doux: #aeb8d4; background: linear-gradient(180deg, #0c1228, #070b1d); color: var(--doux); border-top: 0 }
.pied a { color: #c3cbe2 }
.pied a:hover { color: var(--lueur) }
/* 18 pages resserrent le bandeau et la section suivante par un style en ligne (fait quand le bandeau avait la couleur de la
   page) : la bande de nuit a besoin de respirer, et la section qui la suit aussi */
section.heros[style] { padding-bottom: 48px !important }
section.heros + section[style] { padding-top: 40px !important }

/* icônes des cartes (Bruno, 21/10 : « il faut revoir les icônes ») : un seul jeu au trait, doré comme le faisceau, dessiné en
   masque ; data-icone="nom" dans les pages, la forme ici. Remplace les émojis. */
.pastille[data-icone], .niveau-icone[data-icone] { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-size: 0;
  background: linear-gradient(160deg, rgba(255, 216, 77, .16), rgba(245, 166, 35, .06)); box-shadow: inset 0 0 0 1px rgba(255, 216, 77, .28) }
[data-icone]::before { content: ""; width: 26px; height: 26px; background: linear-gradient(135deg, #ffe7a0, #f5a623);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat }
[data-icone="cadenas"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11h14v10H5z M8 11V7a4 4 0 0 1 8 0v4 M12 15v2'/%3E%3C/svg%3E") }
[data-icone="isole"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h7v7H3z M14 3h7v7h-7z M3 14h7v7H3z M14 14h7v7h-7z'/%3E%3C/svg%3E") }
[data-icone="oeil"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z M12 9a3 3 0 1 0 0 6a3 3 0 1 0 0-6z'/%3E%3C/svg%3E") }
[data-icone="foyer"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a4 4 0 1 0 0-8a4 4 0 1 0 0 8z M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1 M16 3.5a4 4 0 0 1 0 7.5 M22 21v-1a5 5 0 0 0-3.5-4.8'/%3E%3C/svg%3E") }
[data-icone="sauvegarde"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h11l3 3v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z M7 3v5h8V3 M7 21v-7h10v7'/%3E%3C/svg%3E") }
[data-icone="transfert"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3h5v5 M4 20L21 3 M21 16v5h-5 M15 15l6 6 M4 4l5 5'/%3E%3C/svg%3E") }
[data-icone="apparence"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20c1.1 0 2-.9 2-2 0-.5-.2-1-.5-1.3-.3-.4-.5-.8-.5-1.3 0-1.1.9-2 2-2h2.3A4.7 4.7 0 0 0 22 10.7C22 5.9 17.5 2 12 2z M7.5 11h.01 M10 7h.01 M14.5 7h.01 M17 11h.01'/%3E%3C/svg%3E") }
[data-icone="avenir"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 15l11-6 2 4-11 6z M13 9l6-3 2 4-6 3 M9 17l-2 5 M11 16l3 6'/%3E%3C/svg%3E") }
[data-icone="pousse"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9 M12 12c0-4-3-7-8-7 0 4 3 7 8 7z M12 10c0-3.5 2.5-6 7-6 0 3.5-2.5 6-7 6z'/%3E%3C/svg%3E") }
[data-icone="boussole"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20a10 10 0 1 0 0-20z M16 8l-2.5 5.5L8 16l2.5-5.5z'/%3E%3C/svg%3E") }
[data-icone="fusee"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.7-.8.7-2.1-.1-2.9a2.2 2.2 0 0 0-2.9-.1z M12 15l-3-3a22 22 0 0 1 2-3.9A12.9 12.9 0 0 1 22 2c0 2.7-.8 7.5-6 11a22.4 22.4 0 0 1-4 2z M9 12H4s.6-3 2-4c1.6-1.1 5 0 5 0 M12 15v5s3-.6 4-2c1.1-1.6 0-5 0-5'/%3E%3C/svg%3E") }
[data-icone="livre"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v17H6.5A2.5 2.5 0 0 0 4 21.5z M4 21.5A2.5 2.5 0 0 1 6.5 19H20 M8 7h8 M8 11h6'/%3E%3C/svg%3E") }
[data-icone="calendrier"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z M3 10h18 M8 2v4 M16 2v4 M8 14h.01 M12 14h.01 M16 14h.01 M8 18h.01 M12 18h.01'/%3E%3C/svg%3E") }
[data-icone="calcul"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z M8 6h8v4H8z M8 14h.01 M12 14h.01 M16 14h.01 M8 18h.01 M12 18h.01 M16 18h.01'/%3E%3C/svg%3E") }
[data-icone="tresorerie"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18 M7 16v-4 M11 16V8 M15 16v-6 M19 16V5'/%3E%3C/svg%3E") }
[data-icone="placements"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8 M15 7h6v6'/%3E%3C/svg%3E") }
[data-icone="mobile"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z M11 18h2'/%3E%3C/svg%3E") }
[data-icone="tutoriel"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10L12 5 2 10l10 5 10-5z M6 12v5c3 2 9 2 12 0v-5 M22 10v6'/%3E%3C/svg%3E") }
[data-icone="crayon"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.8 2.8 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5z M15 5l4 4'/%3E%3C/svg%3E") }
[data-icone="banque"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18 M3 10h18 M5 6l7-3 7 3 M6 10v11 M10 10v11 M14 10v11 M18 10v11'/%3E%3C/svg%3E") }
[data-icone="banque-lecture"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 7l7-4 7 4z M4 7v6.5 M9 7v6.5 M14 7v4.5 M2 15.5h8.5 M11.5 18.5s2.2-3.8 5.8-3.8 5.7 3.8 5.7 3.8-2.1 3.8-5.7 3.8-5.8-3.8-5.8-3.8z M17.3 17.2a1.3 1.3 0 1 0 0 2.6a1.3 1.3 0 1 0 0-2.6z'/%3E%3C/svg%3E") } /* banque lue sans pouvoir agir (Sécurité, 21/11) */
[data-icone="dossiers"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.7-.9l-.8-1.2A2 2 0 0 0 7.9 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2z'/%3E%3C/svg%3E") }
[data-icone="puzzle"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h5a2 2 0 1 1 4 0h5v5a2 2 0 1 1 0 4v5h-5a2 2 0 1 0-4 0H4v-5a2 2 0 1 0 0-4z'/%3E%3C/svg%3E") }
[data-icone="globe"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20a10 10 0 1 0 0-20z M2 12h20 M12 2c3 3 4 6.5 4 10s-1 7-4 10c-3-3-4-6.5-4-10s1-7 4-10z'/%3E%3C/svg%3E") }
[data-icone="ordinateur"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H4z M2 19h20'/%3E%3C/svg%3E") }
[data-icone="synchro"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 0 1-15.5 6.2L3 16 M3 12a9 9 0 0 1 15.5-6.2L21 8 M21 3v5h-5 M3 21v-5h5'/%3E%3C/svg%3E") }
[data-icone="confiance"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z M9 12l2 2 4-4'/%3E%3C/svg%3E") }

/* sections illustrées de l'accueil (Bruno, 21/10) : les bocaux, les étapes et le téléphone passent dans la nuit du phare */
.anim-bocaux, .parcours-anim, .telephone {
  --carte: #131c40; --fond: #101836; --texte: #eef1fa; --doux: #b7c0da; --bord: rgba(255, 255, 255, .14); --titre: #ffffff;
  --accent: #ffc94d; --accent-2: #8fd0ff; --accent-pale: rgba(255, 255, 255, .07); --lien: #8fd0ff; --sur-accent: #0c1228;
  --or: #ffd84d; --vert: #4fd69c; --rouge: #ff8a80; color: var(--texte) }
.anim-bocaux { width: 100%; max-width: 520px; padding: 26px 22px 18px; border-radius: 20px;
  background: radial-gradient(70% 60% at 85% 0%, rgba(245, 166, 35, .16), transparent 65%), linear-gradient(160deg, #18234f, #0c1228);
  box-shadow: 0 18px 44px rgba(12, 18, 40, .22) }
.anim-bocaux .verre { stroke: rgba(255, 246, 216, .38); transition: stroke .4s, filter .4s }
.anim-bocaux .verre.plein { filter: drop-shadow(0 0 6px rgba(245, 189, 79, .45)) }
.anim-bocaux .fond-verre { fill: rgba(255, 255, 255, .035) }
.anim-bocaux .surface { fill: #fff6d8; opacity: .55 }
.anim-bocaux .graduation { stroke: rgba(255, 246, 216, .22); stroke-width: 1.5; stroke-linecap: round }
.anim-bocaux .reflet { stroke: rgba(255, 255, 255, .10); stroke-width: 5; stroke-linecap: round; fill: none }
.anim-bocaux .couvercle { fill: #8a6a2a }
.anim-bocaux .couvercle-reflet { fill: #c9a85a; opacity: .7 }
.anim-bocaux .atteint { opacity: 0; transition: opacity .4s }
.anim-bocaux .atteint.visible { opacity: 1 }
.anim-bocaux .texte { fill: #fff6d8 }
.anim-bocaux .doux { fill: #b4c0d8; font-variant-numeric: tabular-nums }
.encart.parcours-anim { border: 1px solid rgba(255, 255, 255, .06); border-left: 3px solid var(--ambre); border-radius: 16px; padding: 22px 22px 18px;
  background: radial-gradient(80% 50% at 100% 0%, rgba(245, 166, 35, .12), transparent 60%), linear-gradient(160deg, #18234f, #0e1531);
  box-shadow: 0 18px 44px rgba(12, 18, 40, .2) }
.parcours-anim h3 { color: #ffffff }
.parcours-anim .etapes li.fait::before { color: #0c1228 }
.parcours-anim .suivi-titre { color: var(--or) }
.telephone { border: 0; padding: 18px 14px; border-radius: 34px; background: linear-gradient(170deg, #16204a, #0c1228);
  box-shadow: 0 0 0 8px #070b1d, 0 0 0 9px rgba(255, 216, 77, .45), 0 24px 50px rgba(12, 18, 40, .3) }
.telephone .solde { color: var(--or) }
/* bouton secondaire sur fond clair : un vrai bouton, cerné de bleu nuit */
.bouton.second { background: #ffffff; border-color: #c9d2ea; color: #13235f; box-shadow: 0 1px 2px rgba(12, 18, 40, .06) }
.bouton.second:hover { background: #eef2fc; border-color: #13235f }
.heros .bouton.second, .carte .bouton.second { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--texte); box-shadow: none }
.heros .bouton.second:hover, .carte .bouton.second:hover { background: rgba(255, 255, 255, .08) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bouton.second { background: transparent; border-color: #34407a; color: #e6eaf5 } }
:root[data-theme="dark"] .bouton.second { background: transparent; border-color: #34407a; color: #e6eaf5 }

/* les dernières pages (Bruno, 21/10 : « toutes les autres pages du site ») */
/* icônes dans les titres (« Bon à savoir », « Votre suivi est prêt », offre d'essai) : l'or plus soutenu, lisible sur fond clair */
.ico-titre { display: inline-grid; vertical-align: -4px; margin-right: 8px }
.ico-titre::before { width: 20px; height: 20px; background: linear-gradient(135deg, #f5a623, #b86e00) }
.carte .ico-titre::before, .parcours-anim .ico-titre::before { background: linear-gradient(135deg, #ffe7a0, #f5a623) }
[data-icone="ampoule"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6 M10 22h4 M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.3h6c0-1 .4-1.8 1-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") }
[data-icone="etincelle"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E") }
[data-icone="cadeau"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h18v4H3z M5 12v9h14v-9 M12 8v13 M12 8c-1.5-3-5-4-5.5-1.5S9.5 8 12 8z M12 8c1.5-3 5-4 5.5-1.5S14.5 8 12 8z'/%3E%3C/svg%3E") }
[data-icone="europe"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.90 4.40a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M14.70 5.42a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M17.48 8.20a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M18.50 12.00a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M17.48 15.80a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M14.70 18.58a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M10.90 19.60a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M7.10 18.58a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M4.32 15.80a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M3.30 12.00a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M4.32 8.20a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0 M7.10 5.42a1.1 1.1 0 1 0 2.2 0a1.1 1.1 0 1 0-2.2 0'/%3E%3C/svg%3E") }
/* étapes « Pas à pas » : numéros dorés, comme le faisceau */
.etapes li::before { background: var(--faisceau); color: #0c1228; box-shadow: 0 3px 10px rgba(245, 166, 35, .28) }
/* visite guidée : précédent et suivant en vrais boutons */
.visite-suite a.precedent, .visite-suite a.suivant { display: inline-block; padding: 9px 16px; border: 1px solid #c9d2ea; border-radius: 999px; background: #ffffff; color: #13235f; text-decoration: none; font-weight: 600 }
.visite-suite a.precedent:hover, .visite-suite a.suivant:hover { border-color: #13235f; background: #eef2fc }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .visite-suite a.precedent, :root:not([data-theme="light"]) .visite-suite a.suivant { background: transparent; border-color: #34407a; color: #e6eaf5 } }
:root[data-theme="dark"] .visite-suite a.precedent, :root[data-theme="dark"] .visite-suite a.suivant { background: transparent; border-color: #34407a; color: #e6eaf5 }
/* À propos : une lettre, en colonne de lecture, ouverte en plus grand, filet doré */
.texte-long { max-width: 780px; margin: 0 auto; padding-left: 26px; border-left: 3px solid var(--ambre) }
.texte-long > p:first-child { font-size: 22px; line-height: 1.55; color: var(--titre); font-family: var(--police-titre); font-weight: 700; letter-spacing: -.01em; text-align: left }
.texte-long > .actions, .texte-long > p:last-child { margin-top: 28px }

/* « Me connecter » (en-tête et héros de l'accueil) en bleu nuit, à côté du bouton doré « Créer mon compte » (Bruno, 22/10) :
   encre #13235f (texte blanc 14,7:1). Sur la nuit du héros et en mode sombre, un contour clair le détache du fond. */
.bouton.second.connexion { background: #13235f; border-color: #13235f; color: #ffffff; box-shadow: 0 2px 8px rgba(12, 18, 40, .18) }
.bouton.second.connexion:hover { background: #1c3080; border-color: #1c3080 }
.heros .bouton.second.connexion { background: #13235f; border-color: rgba(255, 255, 255, .4); color: #ffffff }
.heros .bouton.second.connexion:hover { background: #1c3080; border-color: rgba(255, 255, 255, .6) }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bouton.second.connexion { background: #13235f; border-color: #5b6cb0; color: #ffffff }
  :root:not([data-theme="light"]) .bouton.second.connexion:hover { background: #1c3080; border-color: #8090d0 }
}
:root[data-theme="dark"] .bouton.second.connexion { background: #13235f; border-color: #5b6cb0; color: #ffffff }
:root[data-theme="dark"] .bouton.second.connexion:hover { background: #1c3080; border-color: #8090d0 }

/* ───── Bulle d'aide « Une question ? » (SITE, aide.js ; Bruno 22/10) : même allure que celle de l'app (bleu nuit, liseré or,
   messages en cartes, puces arrondies) ; le bouton reste visible et referme le panneau, posé juste au-dessus ───── */
.aide { position: fixed; right: 20px; bottom: 20px; z-index: 60; pointer-events: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: .95rem }
.aide > * { pointer-events: auto }
.aide-bouton { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 1px solid var(--ambre); border-radius: 999px; background: #13235f; color: #ffffff; font: 600 .95rem/1 inherit; box-shadow: 0 0 0 3px rgba(245, 166, 35, .18), 0 8px 24px rgba(12, 18, 40, .25); cursor: pointer }
.aide-bouton:hover { background: #1c3080 }
.aide-bouton[aria-expanded="true"] { background: var(--carte); color: var(--texte); border-color: var(--bord); box-shadow: var(--ombre) }
.aide-panneau { margin: 0; padding: 0; width: 380px; max-width: calc(100vw - 32px); height: min(540px, calc(100dvh - 110px)); display: flex; flex-direction: column; overflow: hidden; background: var(--carte); color: var(--texte); border: 1px solid var(--bord); border-radius: 16px; box-shadow: 0 24px 60px rgba(12, 18, 40, .28) }
.aide-panneau[hidden] { display: none }
.aide-tete { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 16px; background: #13235f; color: #ffffff; box-shadow: inset 0 -3px 0 var(--ambre) }
.aide-tete h2 { flex: 1; margin: 0; font: 700 1.05rem var(--police-titre); color: inherit; outline: none }
.aide-fermer { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer }
.aide-fermer:hover { background: rgba(255, 255, 255, .14) }
.aide-fil { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; background: var(--fond); line-height: 1.5 }
.aide-fil > :first-child { margin-top: 0 }
.aide-fil h3 { margin: 4px 0 8px; font: 700 1rem var(--police-titre); color: var(--texte) }
.aide-fil p { margin: 0 0 10px; overflow-wrap: anywhere }
.aide-fil > p:not(.aide-aussi) { padding: 10px 13px; background: var(--carte); border: 1px solid var(--bord); border-radius: 14px; border-bottom-left-radius: 4px }
.aide-fil > p:has(> .aide-lien) { padding: 0 2px; background: none; border: 0 }
.aide-aussi { color: var(--doux); font-size: .88rem; font-weight: 600 }
.aide-lien { font-weight: 600; color: var(--lien) }
.aide-choix { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.aide-choix button, .aide-retour { min-height: 38px; padding: 7px 14px; border: 1px solid var(--bord); border-radius: 20px; background: var(--carte); color: var(--texte); font: 500 .9rem/1.3 inherit; text-align: left; cursor: pointer }
.aide-choix button:hover, .aide-retour:hover { border-color: var(--accent-2); background: var(--accent-pale) }
.aide-retour { border-style: dashed; color: var(--lien) }
.aide-saisie { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--bord); background: var(--carte) }
.aide-q { flex: 1; min-width: 0; min-height: 42px; padding: 0 12px; border: 1px solid var(--bord); border-radius: 10px; background: var(--fond); color: var(--texte); font: inherit; font-size: 16px }
.aide-saisie .bouton { flex: none; min-height: 42px; padding: 0 16px; border: 0; cursor: pointer; font: inherit; font-weight: 700 }
.aide button:focus-visible, .aide-q:focus-visible, .aide-lien:focus-visible { outline: 2px solid var(--ambre); outline-offset: 2px }
.aide-q:focus { border-color: var(--ambre) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aide-tete { background: var(--nuit-3) } :root:not([data-theme="light"]) .aide-bouton:not([aria-expanded="true"]) { background: var(--nuit-3) } }
:root[data-theme="dark"] .aide-tete, :root[data-theme="dark"] .aide-bouton:not([aria-expanded="true"]) { background: var(--nuit-3) }
@media (max-width: 560px) {
  .aide { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px }
  .aide-panneau { width: 100%; max-width: none; height: calc(100dvh - 90px - env(safe-area-inset-bottom)); border-radius: 14px }
}
@media print { .aide { display: none } }
/* la bulle ne recouvre plus la fin de la page (EXPERT SIT-18, Bruno 28/10) : le pied laisse sa place en bas ; sur téléphone, une bulle
   plus petite */
.pied { padding-bottom: 96px }
@media (max-width: 600px) { .aide-bouton { min-height: 40px; padding: 0 14px; font-size: .88rem } }

/* ── Créer mon compte sur un seul écran (Bruno, 25/10, via DONNÉES : « tout affiché sur une seule page sans avoir à faire
   défiler » ; portable ~1450 × 890). Feuille seule, balisage de SITE inchangé : bandeau du haut réduit, « déjà un compte » sur
   une ligne, formulaire en grille (e-mail et outil côte à côte, anti-robot et bouton sur la même ligne), étapes resserrées. */
@media (min-width: 900px) {
  body:has(form#demande) section.heros[style] { padding: 22px 0 18px !important }
  body:has(form#demande) .heros .surtitre { margin-bottom: 6px }
  body:has(form#demande) .heros h1 { font-size: clamp(1.8rem, 2.4vw, 2.2rem); margin: 0 0 6px }
  body:has(form#demande) .heros .chapeau { font-size: .98rem; line-height: 1.5; margin: 0 }
  body:has(form#demande) section.heros + section[style] { padding: 18px 0 28px !important }
  body:has(form#demande) section.heros + section > .conteneur:first-child { margin-bottom: 14px !important }
  body:has(form#demande) section.heros + section > .conteneur:first-child .encart { padding: 9px 16px }
  body:has(form#demande) section.heros + section > .conteneur:first-child .encart p { margin: 0; font-size: .9rem; line-height: 1.45; text-align: left }
  body:has(form#demande) .cartes.deux { grid-template-columns: 1.6fr 1fr; gap: 20px }
  body:has(form#demande) form.demande { max-width: none; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 18px 20px }
  body:has(form#demande) form.demande > :is(.deux-champs, .consentement, #retour) { grid-column: 1 / -1 }
  body:has(form#demande) form.demande > .champ:has(textarea) { grid-column: 1 / -1 }
  /* l'outil n'est plus à côté de l'e-mail (boutons radio, SITE e641182e) : les deux prennent toute la largeur */
  body:has(form#demande) form.demande > :is(fieldset.champ-outil, .champ:has(#email)) { grid-column: 1 / -1 }
  body:has(form#demande) form.demande > .champ:has(#email) > label { min-height: 0 }
  body:has(form#demande) form.demande > fieldset.champ-outil > legend { font-size: .88rem }
  body:has(form#demande) form.demande fieldset.champ-outil .choix input { height: auto; padding: 0 }
  body:has(form#demande) form.demande .champ { gap: 4px }
  body:has(form#demande) form.demande .champ label { font-size: .88rem }
  /* e-mail et outil côte à côte : la question de l'outil tient sur deux lignes, les deux libellés se calent en bas pour aligner les champs */
  body:has(form#demande) form.demande > .champ:not(:has(textarea)) { align-content: start }
  body:has(form#demande) form.demande > .champ:not(:has(textarea)) > label { min-height: 2.6em; display: flex; align-items: flex-end; line-height: 1.3 }
  body:has(form#demande) form.demande .champ small { font-size: .8rem }
  body:has(form#demande) form.demande .champ :is(input, select) { height: 40px; padding: 6px 12px; font-size: .95rem }
  body:has(form#demande) form.demande textarea { height: 56px; min-height: 56px; padding: 8px 12px; resize: vertical }
  body:has(form#demande) form.demande .consentement { font-size: .8rem; line-height: 1.38 }
  body:has(form#demande) form.demande > .cf-turnstile { align-self: center }
  body:has(form#demande) form.demande > div:has(> button[type=submit]) { align-self: center; justify-self: end }
  body:has(form#demande) .cartes.deux > div > .encart { padding: 16px 18px }
  body:has(form#demande) .cartes.deux > div > .encart .etapes { gap: 10px; margin-top: 10px !important }
  body:has(form#demande) .cartes.deux > div > .encart .etapes li { grid-template-columns: 32px 1fr; gap: 10px }
  body:has(form#demande) .cartes.deux > div > .encart .etapes li::before { width: 30px; height: 30px; font-size: .9rem }
  body:has(form#demande) .cartes.deux > div > .encart .etapes h3 { font-size: .98rem; margin: 2px 0 0 }
  body:has(form#demande) .cartes.deux > div > .encart .etapes p { font-size: .86rem; line-height: 1.4 }
}

/* Planche illustrée (logigramme « Faora en un coup d'œil », CHARTE 25/10) : image 16/9 sur fond nuit, coins arrondis, ombre douce.
   Sur l'élément img lui-même ou sur une figure qui la contient. */
.planche { display: block; width: 100%; max-width: 1180px; height: auto; margin: 0 auto; border-radius: 20px; background: #0c1228;
  aspect-ratio: 16 / 9; box-shadow: 0 18px 50px rgba(12, 18, 40, .28); overflow: hidden }
figure.planche { padding: 0 }
figure.planche img { display: block; width: 100%; height: auto }
figure.planche figcaption { padding: 14px 18px 16px; color: #d6deee; background: #0c1228; font-size: .95rem; line-height: 1.5 }
figure.planche:has(figcaption) { aspect-ratio: auto }

/* remplissage automatique du navigateur : son fond jaune pâle sous un texte clair, illisible (Bruno 25/10) ; on garde le fond du champ */
/* une règle par état, jamais groupées (un état inconnu ferait jeter tout le groupe) ; Safari peint aussi en jaune le mot de passe masqué et le mot de passe fort (27/10) */
.champ input:-webkit-autofill { -webkit-text-fill-color: var(--texte); box-shadow: 0 0 0 40px var(--carte) inset; caret-color: var(--texte); transition: background-color 600000s 0s }
.champ input:autofill { -webkit-text-fill-color: var(--texte); box-shadow: 0 0 0 40px var(--carte) inset; caret-color: var(--texte); transition: background-color 600000s 0s }
.champ input:-webkit-autofill-and-obscured { -webkit-text-fill-color: var(--texte); box-shadow: 0 0 0 40px var(--carte) inset; caret-color: var(--texte); transition: background-color 600000s 0s }
.champ input:-webkit-autofill-strong-password { -webkit-text-fill-color: var(--texte); box-shadow: 0 0 0 40px var(--carte) inset; caret-color: var(--texte); transition: background-color 600000s 0s }
.champ input:-webkit-autofill-strong-password-viewable { -webkit-text-fill-color: var(--texte); box-shadow: 0 0 0 40px var(--carte) inset; caret-color: var(--texte); transition: background-color 600000s 0s }
.carte .champ input:-webkit-autofill { -webkit-text-fill-color: #ffffff; box-shadow: 0 0 0 40px #0c1330 inset; caret-color: #ffffff }
.carte .champ input:autofill { -webkit-text-fill-color: #ffffff; box-shadow: 0 0 0 40px #0c1330 inset; caret-color: #ffffff }
.carte .champ input:-webkit-autofill-and-obscured { -webkit-text-fill-color: #ffffff; box-shadow: 0 0 0 40px #0c1330 inset; caret-color: #ffffff }
.carte .champ input:-webkit-autofill-strong-password { -webkit-text-fill-color: #ffffff; box-shadow: 0 0 0 40px #0c1330 inset; caret-color: #ffffff }
.carte .champ input:-webkit-autofill-strong-password-viewable { -webkit-text-fill-color: #ffffff; box-shadow: 0 0 0 40px #0c1330 inset; caret-color: #ffffff }

/* ══ Nouvelle charte Faora (apparence « Faora » de l'app, Bruno 01/11) : les cartes, les petites animations et les simulateurs
   prennent la nuit, le verre et les teintes de l'app — or #e9b24c, bleu #7aa5f5, menthe #8fd8b0, corail #f0937b, crème #f3d9a4 ══ */
.carte, .simulateur, section.alt .carte {
  --accent: #e9b24c; --accent-2: #7aa5f5; --lien: #f3d9a4; --or: #f3d9a4; --vert: #8fd8b0; --rouge: #f0937b;
  --doux: #c9d2e6; --bord: rgba(255, 255, 255, .13); --accent-pale: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
  background: radial-gradient(90% 70% at 100% 0%, rgba(233, 178, 76, .10), transparent 60%), linear-gradient(160deg, #16233f, #0d1830);
}
.carte a:not(.bouton), .simulateur a:not(.bouton) { color: #f3d9a4 }
.carte a:not(.bouton):hover, .simulateur a:not(.bouton):hover { color: #ffffff }
.carte .pastille { background: rgba(233, 178, 76, .14) }
.simulateur output, .simulateur .resultats .principal dd { color: #e9b24c }
.simulateur input[type=range] { accent-color: #e9b24c }
.simulateur .resultats div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px }
.texte-legal .carte { --accent: #13235f; --lien: #0560c0; border-radius: 14px }

/* les vraies captures de l'app (pages visite, Bruno 01/11) : le cadre de l'app — verre de nuit, arrondi, ombre, lueur dorée */
.capture-app { margin: 0 0 0 auto; width: 100%; max-width: 640px }
.capture-app a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(233, 178, 76, .12), 0 0 60px -20px rgba(233, 178, 76, .35);
  transition: transform .25s ease, box-shadow .25s ease }
.capture-app a:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(233, 178, 76, .3), 0 0 70px -18px rgba(233, 178, 76, .45) }
.capture-app img { display: block; width: 100%; height: auto }
@media (max-width: 900px) { .capture-app { margin: 24px auto 0; max-width: none } }
/* capture sous une grille de cartes (visite Espaces, SITE 55176860) : centrée, plus large que celle du héros, à 28 px des cartes */
.cartes + .capture-app { margin: 28px auto 0; max-width: 760px }
@media (prefers-reduced-motion: reduce) { .capture-app a, .capture-app a:hover { transition: none; transform: none } }
/* capture de TÉLÉPHONE (.capture-app.mobile, visite Split, SITE 17/11) : un téléphone de 280 px au bureau, centré dans sa colonne,
   cadre de nuit aux coins ronds, l'écran à l'intérieur ; 230 px sur un téléphone */
.capture-app.mobile { max-width: 280px; margin: 0 auto }
.capture-app.mobile a, .heros:has(.capture-app) .capture-app.mobile a { border-radius: 42px; border: 9px solid #0c1228; background: #0c1228;
  outline: 1px solid rgba(255, 255, 255, .08); outline-offset: -10px }
.capture-app.mobile img { border-radius: 33px }
@media (max-width: 900px) { .capture-app.mobile { max-width: 230px; margin: 28px auto 0 } }

/* ══ Les captures de l'app sont sombres (apparence Faora) : on inverse le fond pour qu'elles ressortent (Bruno 01/11) ══
   - en-têtes des visites (et de toute page dont l'en-tête porte une capture) en clair : ciel de jour très pâle, lueur dorée ;
   - sections claires : la capture sur un fond un peu plus net, ombre plus marquée ;
   - les fenêtres imitées qui restent (banques) passent dans la nuit de l'app, comme les captures */
.heros:has(.capture-app) {
  --fond: #f6f8fd; --carte: #ffffff; --texte: #0f1733; --doux: #4f5a75; --bord: #dde2ee; --titre: #13235f;
  --accent: #13235f; --accent-2: #0560c0; --lien: #0560c0; --or: #d4900c; --vert: #0a6b3e; --rouge: #b42318;
  color: var(--texte);
  background: radial-gradient(60% 80% at 85% 30%, rgba(233, 178, 76, .22), transparent 65%), radial-gradient(50% 60% at 10% 100%, rgba(122, 165, 245, .14), transparent 70%),
    linear-gradient(180deg, #fbfcff, #eef2fb) !important;
  border-bottom: 1px solid #e0e6f4;
}
.heros:has(.capture-app) :is(h1, h2) { color: #13235f }
.heros:has(.capture-app) .surtitre { color: #d4900c }
.heros:has(.capture-app) .chapeau { color: #3c4766 }
.heros:has(.capture-app) a:not(.bouton) { color: #0560c0 }
.capture-app a { border-color: rgba(13, 24, 46, .5) }
section:not(.heros) .capture-app a, .heros:has(.capture-app) .capture-app a {
  box-shadow: 0 26px 60px rgba(12, 18, 40, .32), 0 6px 16px rgba(12, 18, 40, .18), 0 0 0 1px rgba(13, 24, 46, .35) }
section:not(.heros) .capture-app a:hover, .heros:has(.capture-app) .capture-app a:hover {
  box-shadow: 0 32px 70px rgba(12, 18, 40, .38), 0 8px 20px rgba(12, 18, 40, .22), 0 0 0 1px rgba(233, 178, 76, .6) }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .heros:has(.capture-app) { background: radial-gradient(60% 80% at 85% 30%, rgba(233, 178, 76, .18), transparent 65%), linear-gradient(180deg, #e9eef9, #dfe6f5) !important }
}
.fenetre { --carte: #0f1b33; --texte: #e6ebf5; --doux: #9eaac4; --bord: rgba(255, 255, 255, .1); --accent: #f3d9a4; --accent-2: #7aa5f5; --vert: #8fd8b0; --rouge: #f0937b; --or: #e9b24c;
  background: linear-gradient(160deg, #142240, #0c172d); color: #e6ebf5; border: 1px solid rgba(13, 24, 46, .6); border-radius: 16px;
  box-shadow: 0 24px 56px rgba(12, 18, 40, .3), 0 0 0 1px rgba(13, 24, 46, .3) }
.fenetre .barre { background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #f3d9a4 }
.fenetre :is(td, th) { border-color: rgba(255, 255, 255, .08); color: #e6ebf5 }
.fenetre :is(.neg, .rouge) { color: #f0937b }

/* ═══ Rubrique Guides (SITE, f737a121 ; habillage CHARTE 07/11) ═══ */
/* le surtitre lien (« Guides ») garde l'or des surtitres ; souligné au survol seulement */
.surtitre a { color: inherit; text-decoration: none }
.surtitre a:hover, .surtitre a:focus-visible { text-decoration: underline; text-underline-offset: 3px }
/* index : le lien de chaque carte posé en pied, à la même hauteur d'une carte à l'autre */
.cartes > .carte:has(> p:last-child > a:only-child) { display: flex; flex-direction: column }
.cartes > .carte > p:last-child:has(> a:only-child) { margin-top: auto; padding-top: 14px }
/* articles : puces et numéros dorés, titres resserrés sur leur texte */
.guide h2 { margin-top: 34px }
.guide > :is(ul, ol) { padding-left: 24px }
.guide > :is(ul, ol) > li::marker { color: var(--ambre); font-weight: 700 }
.guide > ol > li { padding-left: 4px }
.guide > .actions { margin-top: 24px }
/* simulateur : le titre du tableau, puis le tableau dans la carte de nuit */
.sim-pret h2 { font-size: 1.1rem; margin: 28px 0 10px; color: var(--titre) }
.sim-pret .defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px 6px }
.texte-legal .sim-pret table.amortissement { margin: 0; font-size: .92rem; font-variant-numeric: tabular-nums; min-width: 520px }
.sim-pret table.amortissement thead th { color: var(--doux); font-size: .8rem; font-weight: 600; vertical-align: bottom; border-bottom-color: rgba(255, 255, 255, .2) }
.sim-pret table.amortissement tbody :is(th, td) { color: var(--texte); border-bottom-color: rgba(255, 255, 255, .07); padding: 7px 8px; white-space: nowrap }
.sim-pret table.amortissement :is(th, td):not(:first-child) { text-align: right }
.sim-pret table.amortissement tbody th { color: var(--or); font-weight: 700 }
.sim-pret table.amortissement td:last-child { font-weight: 700 }
.sim-pret table.amortissement tbody tr:hover :is(th, td) { background: rgba(255, 255, 255, .04) }
.sim-pret .fictif { margin-top: 12px; color: var(--doux) }
@media (max-width: 600px) { .texte-legal .sim-pret table.amortissement { font-size: .85rem } .sim-pret table.amortissement :is(th, td) { padding: 6px } }
/* code d'activation FAORA-XXXX-XXXX-XXXX (page /code, collecte Ulule, DONNÉES 11/11) : chasse fixe, signes espacés, saisie en capitales */
.code-activation{display:inline-block;padding:8px 14px;border:1px dashed var(--accent);border-radius:10px;font-family:ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;font-size:1.15em;font-weight:600;letter-spacing:.12em;font-variant-numeric:tabular-nums slashed-zero;white-space:nowrap;user-select:all;-webkit-user-select:all}
input.saisie-code-activation{font-family:ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;font-size:18px;letter-spacing:.1em;text-transform:uppercase;font-variant-numeric:tabular-nums slashed-zero}
input.saisie-code-activation::placeholder{text-transform:none;letter-spacing:normal;font-family:inherit}
/* grille de cinq cartes (Sécurité « Ce que Faora ne fait pas », SITE d792ddfc ; Visite › Apparence) : trois puis deux, sur toute la largeur, au lieu de 3 + 2 et un vide ;
   les deux dernières, plus larges, reçoivent les textes longs ; à deux colonnes, la dernière occupe la ligne */
@media (min-width: 901px) {
  .cartes:not(.deux):has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)) }
  .cartes:not(.deux):has(> :nth-child(5):last-child) > * { grid-column: span 2 }
  .cartes:not(.deux):has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3 }
}
@media (min-width: 601px) and (max-width: 900px) {
  .cartes:not(.deux):has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1 }
}

/* Visite guidée : la planche illustrée, juste sous l'en-tête (SITE 9074eedd) — pleine largeur du conteneur, sans marge de figure ;
   48 px d'air sous l'en-tête, rien dessous (la section suivante garde ses 64 px) ; deux planches (Apparence) espacées de 24 px */
section.section-illustration { padding: 48px 0 0 }
.illustration-visite { margin: 0 }
.illustration-visite img { display: block; width: 100%; height: auto }
.illustration-visite + .illustration-visite { margin-top: 24px }
@media (max-width: 700px) { section.section-illustration { padding-top: 32px } .illustration-visite + .illustration-visite { margin-top: 16px } }
/* Sur téléphone (Bruno 16/11 : « photo seule recadrée ») : la planche entière (358 px) rendait ses cartes illisibles ; seule la photo
   et sa légende restent — 772 px sur 1168, à gauche ou à droite de la planche selon la page (cartes coupées par la figure) */
@media (max-width: 700px) {
  .illustration-visite { overflow: hidden; aspect-ratio: 772 / 561; border-radius: 18px }
  .illustration-visite img { width: 151.3%; max-width: none }
  .illustration-visite img:is([src*="visite-apparence"], [src*="visite-banques-foyer"], [src*="visite-budget"], [src*="visite-comptes"],
    [src*="visite-emprunts"], [src*="visite-etats"]) { margin-left: -51.3% }
}

/* Visite › Apparence, « Puis, un habillage » (SITE 09314e3b, Bruno 14/11 : « la carte selon l'apparence, pas juste le logo ») : chaque carte
   prend le fond, l'encre, le bord, l'arrondi et l'accent de son habillage ; couleurs fixes, les mêmes en thème clair ou sombre du site */
.cartes > .carte.habillage-carte { position: relative; overflow: hidden }
.cartes > .carte.habillage-carte h3 { position: relative }
.cartes > .carte.habillage-carte p { position: relative }
.cartes > .carte.habillage-carte[data-habillage="faora"] { background: radial-gradient(120% 70% at 90% -10%, rgba(232,184,99,.22), transparent 55%), linear-gradient(180deg, #14223f, #0c1830); border-color: rgba(255,255,255,.14); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 32px -16px rgba(6,16,31,.7) }
.cartes > .carte.habillage-carte[data-habillage="faora"] h3 { color: #f3cf86 }
.cartes > .carte.habillage-carte[data-habillage="faora"] p { color: #b7c3da }
.cartes > .carte.habillage-carte[data-habillage="marque"] { background: #ffffff; border-color: #dfe3ee; border-radius: 12px; box-shadow: inset 0 6px 0 #0c1228, 0 8px 22px -14px rgba(12,18,40,.35) }
.cartes > .carte.habillage-carte[data-habillage="marque"] h3 { color: #0c1228; text-decoration: underline 3px #f5a623; text-underline-offset: 7px }
.cartes > .carte.habillage-carte[data-habillage="marque"] p { color: #4a5672 }
/* Rétro 2005 : comme l'app, pas de gris — contenu blanc sur un bleu très pâle, fin bandeau bleu dégradé en haut, titre bleu souligné d'or, Tahoma */
.cartes > .carte.habillage-carte[data-habillage="retro"] { background: linear-gradient(90deg, #0a246a, #3a6ea5 55%, #a6caf0) top / 100% 7px no-repeat, linear-gradient(180deg, #f3f8fe, #ffffff 45%); border-color: #bcd5f1; border-radius: 12px }
.cartes > .carte.habillage-carte[data-habillage="retro"] h3 { color: #0b3d91; font-family: Tahoma, Verdana, sans-serif; font-weight: 700; letter-spacing: 0; text-decoration: underline 3px #e8b400; text-underline-offset: 7px }
.cartes > .carte.habillage-carte[data-habillage="retro"] p { color: #1b2a4a; font-family: Tahoma, Verdana, sans-serif; font-size: .95em }
.cartes > .carte.habillage-carte[data-habillage="nuit"] { background: radial-gradient(90% 60% at 15% 0%, rgba(245,189,79,.14), transparent 60%), linear-gradient(180deg, #070e1e, #0f1d3c); border-color: rgba(255,246,216,.14); border-radius: 14px }
.cartes > .carte.habillage-carte[data-habillage="nuit"] h3 { color: #f5bd4f }
.cartes > .carte.habillage-carte[data-habillage="nuit"] p { color: #e9dfc4 }
.cartes > .carte.habillage-carte[data-habillage="phare"] { background: radial-gradient(90% 70% at 100% 110%, rgba(240,168,116,.32), transparent 60%), linear-gradient(170deg, #1e2b48, #2a3b60); border-color: rgba(255,255,255,.14); border-radius: 14px }
.cartes > .carte.habillage-carte[data-habillage="phare"] h3 { color: #f5bd4f }
.cartes > .carte.habillage-carte[data-habillage="phare"] p { color: #dbe3f3 }
.cartes > .carte.habillage-carte[data-habillage="aube"] { background: radial-gradient(90% 60% at 0% 0%, rgba(232,116,58,.14), transparent 60%), #f7f3ec; border-color: #e3dccf; border-radius: 14px }
.cartes > .carte.habillage-carte[data-habillage="aube"] h3 { color: #b4560c }
.cartes > .carte.habillage-carte[data-habillage="aube"] p { color: #1e2235 }
.cartes > .carte.habillage-carte[data-habillage="jour"] { background: linear-gradient(180deg, #e3f0fc, #ffffff 70%); border-color: #d9e6f2; border-radius: 14px; box-shadow: 0 8px 22px -14px rgba(19,41,75,.3) }
.cartes > .carte.habillage-carte[data-habillage="jour"] h3 { color: #1f6fb5 }
.cartes > .carte.habillage-carte[data-habillage="jour"] h3::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 8px; border-radius: 50%; background: #e0a020; vertical-align: middle }
.cartes > .carte.habillage-carte[data-habillage="jour"] p { color: #13294b }
.cartes > .carte.habillage-carte[data-habillage="verre"] { background: linear-gradient(rgba(255,255,255,.66), rgba(255,255,255,.66)), linear-gradient(135deg, #d9d0fb, #f3eefe); border-color: rgba(255,255,255,.95); border-radius: 24px; box-shadow: 0 12px 30px -12px rgba(91,63,217,.25) }
.cartes > .carte.habillage-carte[data-habillage="verre"] h3 { color: #5b3fd9 }
.cartes > .carte.habillage-carte[data-habillage="verre"] p { color: #1e1b2e }
/* Terracotta : rose très pâle, encre presque noire, titre noir très gras souligné terracotta, et la barre flottante sombre de l'app, avec sa pilule */
.cartes > .carte.habillage-carte[data-habillage="terracotta"] { background: #fdf3f0; border-color: #f2dcd5; border-radius: 18px; padding-bottom: 48px }
.cartes > .carte.habillage-carte[data-habillage="terracotta"] h3 { color: #1e1b1a; font-weight: 800; text-decoration: underline 3px #c2502f; text-underline-offset: 7px }
.cartes > .carte.habillage-carte[data-habillage="terracotta"] p { color: #2a2422 }
.cartes > .carte.habillage-carte[data-habillage="terracotta"]::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 46%; height: 18px; margin-left: -23%; border-radius: 999px;
  background: linear-gradient(#c2502f, #c2502f) 30% 50% / 22% 8px no-repeat, #1e1e24; box-shadow: 0 6px 14px rgba(30,30,36,.25) }

/* ═══ Fonctionnalités, nouvelle organisation (SITE 56046453, maquette validée par Bruno le 14/11) ═══ */
.chapeau-section { font-size: 1.1rem; color: var(--doux); max-width: 680px; margin: 0 0 24px }
/* 1. ce que Faora fait tout seul : cartes de nuit, l'étiquette « Tout seul » en vert d'écume */
.carte.carte-auto p.tout-seul { margin: 0 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #7fd1b9 }
/* 2. le rythme : trois cartes claires, le moment en or, la durée en gros */
.cartes.rythme > .carte.carte-rythme { --texte: #0f1733; --doux: #4f5a75; --titre: #13235f; --or: #d4900c; background: #ffffff; border: 1px solid #e0e6f4; box-shadow: 0 1px 2px rgba(12, 18, 40, .05), 0 8px 22px rgba(12, 18, 40, .06) }
.cartes.rythme > .carte.carte-rythme h3 { color: var(--titre) }
.carte.carte-rythme p.rythme-quand { margin: 0; font-family: var(--police-titre); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--or) }
.carte.carte-rythme p.rythme-duree { margin: 2px 0 10px; font-family: var(--police-titre); font-size: 1.75rem; font-weight: 800; line-height: 1.15; color: var(--titre) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cartes.rythme > .carte.carte-rythme { --texte: #e6eaf5; --doux: #a2adc6; --titre: #f1f3fb; --or: #ffd84d; background: #121a36; border-color: #26305a } }
:root[data-theme="dark"] .cartes.rythme > .carte.carte-rythme { --texte: #e6eaf5; --doux: #a2adc6; --titre: #f1f3fb; --or: #ffd84d; background: #121a36; border-color: #26305a }
/* 3. les familles : une ligne par module, le nom à gauche, le forfait à droite, sans puce ; le détail replié sous la liste */
.carte.famille ul.famille-liste { list-style: none; margin: 10px 0 0; padding: 0 }
.carte.famille ul.famille-liste > li { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1) }
.carte.famille ul.famille-liste > li > span { flex: 1; min-width: 0 }
.carte.famille ul.famille-liste > li > p.forfait-carte { flex: none; margin: 0 !important; font-size: .75rem; white-space: nowrap }
.carte.famille details.famille-plus { margin: 12px 0 0; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0; box-shadow: none }
.carte.famille details.famille-plus > summary { color: #ffd84d; font-weight: 600 }
.carte.famille details.famille-plus > summary::marker { color: #ffd84d }
.carte.famille .famille-detail h4 { margin: 16px 0 4px; font-size: 1rem; color: #ffffff }
.carte.famille .famille-detail p { margin: 0 0 4px; color: var(--doux); font-size: .92rem }
/* 4. le bandeau des simulateurs : une bande de nuit, le surtitre en or, le bouton du faisceau */
.bandeau-simulateurs { display: grid; justify-items: start; gap: 10px; padding: 32px 36px; border-radius: 26px; color: #eef1fa;
  background: radial-gradient(70% 90% at 100% 0%, rgba(245, 166, 35, .16), transparent 60%), linear-gradient(160deg, #18234f, #0e1531); box-shadow: 0 14px 34px rgba(12, 18, 40, .16) }
.bandeau-simulateurs .surtitre { margin: 0; color: #ffd84d }
.bandeau-simulateurs h2 { margin: 0; color: #ffffff }
.bandeau-simulateurs p { margin: 0; color: #b7c0da; max-width: 640px }
.bandeau-simulateurs p:last-child { margin-top: 8px }
@media (max-width: 600px) { .bandeau-simulateurs { padding: 24px 20px } }
/* page Simulateurs : les deux liens sous les simulateurs, côte à côte puis l'un sous l'autre */
.liens-simulateurs { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0 0 }
.liens-simulateurs a { font-weight: 600 }
.cartes.familles { align-items: start }

/* Pourquoi Faora : « Votre banque vous dit où vous en êtes. Faora aussi, et vous emmène plus loin. » (Bruno 15/11) — carte nuit pleine
   largeur, texte à gauche, deux téléphones à droite : l'appli d'une banque (claire, générique, un solde et des lignes passées qui
   s'effacent) et Faora (le même solde du jour, puis la trésorerie prévue) ; au téléphone, texte au-dessus et appareils côte à côte.
   Balisage : section.relais-section > .conteneur > .relais (SITE). */
.relais{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.3fr);gap:20px 28px;align-items:center;position:relative;overflow:hidden;border-radius:24px;background:radial-gradient(900px 420px at 78% 10%, #24365f 0%, #14223f 55%, #0c1830 100%);color:#f3ead8;padding:40px 44px 44px;box-shadow:0 18px 50px rgba(12,18,40,.18)}
.relais h2{margin:0;font-family:var(--police-titre);font-weight:800;font-size:clamp(26px,3.2vw,38px);line-height:1.12;letter-spacing:-.015em;color:#f3ead8;max-width:760px}
.relais h2 em{font-style:normal;color:#e8b863}
.relais .relais-chapeau{margin:12px 0 0;font-size:17px;color:#b7c3da;max-width:720px}
.relais-texte{min-width:0}
.relais-scene{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}
.relais-col{display:flex;flex-direction:column;align-items:center;gap:16px}
.relais-legende{text-align:center;max-width:300px}
.relais-legende b{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.relais-legende span{display:block;margin-top:3px;font-size:14px;color:#b7c3da}
.relais-col.banque .relais-legende b{color:#9fb0cf}.relais-col.faora .relais-legende b{color:#e8b863}
.relais-tel{width:212px;height:410px;border-radius:38px;border:9px solid #05080f;box-sizing:border-box;overflow:hidden;position:relative;box-shadow:0 24px 50px rgba(0,0,0,.45);font-variant-numeric:tabular-nums}
.relais-tel::before{content:"";position:absolute;top:8px;left:50%;width:70px;height:18px;margin-left:-35px;border-radius:12px;background:#05080f;z-index:2}
/* l'appli d'une banque, générique : claire, un solde, des lignes passées */
.relais-tel.b{background:#f1f3f7;color:#1c2333;transform:rotate(-3deg)}
.relais-tel.b .haut{background:#2f4a78;color:#fff;padding:40px 18px 20px}
.relais-tel.b .haut small{display:block;font-size:11px;opacity:.75}
.relais-tel.b .haut .solde{display:block;font-size:27px;font-weight:700;margin-top:4px;letter-spacing:-.01em}
.relais-tel.b .haut .date{display:block;font-size:11px;opacity:.75;margin-top:2px}
.relais-tel.b ul{list-style:none;margin:0;padding:8px 14px;display:flex;flex-direction:column}
.relais-tel.b li{display:flex;justify-content:space-between;gap:8px;padding:9px 2px;border-bottom:1px solid #dde2ea;font-size:12px}
.relais-tel.b li span:first-child{display:flex;flex-direction:column}.relais-tel.b li small{color:#7a8396;font-size:10px}
.relais-tel.b .brume{position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(180deg,rgba(241,243,247,0),#f1f3f7 40%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:26px}
.relais-tel.b .brume span{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:#fff;border:1px dashed #9aa4b8;color:#5b6478;font-size:12px;font-weight:600}
/* Faora : le solde de chaque jour, sur des mois */
.relais-tel.f{background:radial-gradient(120% 60% at 70% 0%, #1c2e52 0%, #0d1830 55%, #070d1c 100%);color:#e6ebf5;transform:rotate(3deg);padding:38px 14px 14px;display:flex;flex-direction:column;gap:10px}
.relais-tel.f .reel{display:flex;flex-direction:column;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(233,178,76,.35)}.relais-tel.f .reel span{font-size:9.5px;color:#9eaac4}.relais-tel.f .reel b{font-size:20px;color:#f3ead8;letter-spacing:-.01em}
.relais-tel.f .horizons{display:flex;gap:4px;padding:3px;border-radius:999px;background:rgba(255,255,255,.07)}
.relais-tel.f .horizons span{flex:1;text-align:center;padding:5px 0;border-radius:999px;font-size:10.5px;color:#9eaac4}
.relais-tel.f .horizons span.on{background:#e9b24c;color:#1a1408;font-weight:700}
.relais-tel.f .graphe{position:relative;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);padding:8px 6px 4px}
.relais-tel.f .graphe svg{display:block;width:100%;height:118px}
.relais-tel.f .mois{display:flex;justify-content:space-between;font-size:9px;color:#7f8bab;padding:0 4px}
.relais-tel.f .bulle{position:absolute;left:78px;top:78px;background:#f3ead8;color:#0c1228;border-radius:10px;padding:5px 8px;font-size:9.5px;box-shadow:0 8px 18px #0008;display:flex;flex-direction:column;line-height:1.25}
.relais-tel.f .bulle b{color:#b4471f;font-size:12px}
.relais-tel.f .lignes{display:flex;flex-direction:column;gap:6px}
.relais-tel.f .l{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:10px;background:rgba(255,255,255,.05);font-size:11px}
.relais-tel.f .l i{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11px}
.relais-tel.f .l span{flex:1}.relais-tel.f .l b{white-space:nowrap}
.relais-fleche{display:flex;flex-direction:column;align-items:center;gap:10px;color:#e8b863;text-align:center}
.relais-fleche svg{width:48px;height:48px}
.relais-fleche span{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;width:96px}
@media (max-width:980px){.relais{grid-template-columns:1fr}}
@media (max-width:820px){.relais{padding:28px 18px 26px}.relais-scene{grid-template-columns:1fr 1fr;gap:10px}.relais-fleche{display:none}.relais-tel{zoom:.74}.relais-legende b{font-size:11px}.relais-legende span{font-size:12.5px}}
.relais-section{padding:8px 0 0}
.relais-tel.f .l i.ok{background:rgba(127,209,185,.18);color:#7fd1b9}
/* Pourquoi Faora, retouches (Bruno via SITE, 15/11) : la carte « relais » sur le gris clair des blocs « Pas à pas » (section.alt), plus
   la nuit ; textes, flèche et légendes recolorés pour le clair, et pour le sombre ; le bandeau du haut moins haut (feuille seule :
   le bandeau qui précède la carte relais, comme Créer mon compte) */
.relais{background:linear-gradient(180deg,#edf1fb,#f5f7fd);border:1px solid #e0e6f4;color:#0f1733;box-shadow:0 10px 30px rgba(19,35,95,.08)}
.relais h2{color:#13235f}
.relais h2 em{color:#d4900c}
.relais .relais-chapeau{color:#4f5a75}
.relais .relais-fleche{color:#d4900c}
.relais .relais-legende span{color:#4f5a75}
.relais-col.banque .relais-legende b{color:#4f5a75}
.relais-col.faora .relais-legende b{color:#d4900c}
.relais-tel{box-shadow:0 18px 36px rgba(15,23,51,.22)}
.relais-tel.b{border-color:#1b2233}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .relais{background:#0e1532;border-color:#1c2550;color:#e6eaf5;box-shadow:none}
  :root:not([data-theme="light"]) .relais h2{color:#f1f3fb}
  :root:not([data-theme="light"]) .relais h2 em, :root:not([data-theme="light"]) .relais .relais-fleche, :root:not([data-theme="light"]) .relais-col.faora .relais-legende b{color:#ffc94d}
  :root:not([data-theme="light"]) .relais .relais-chapeau, :root:not([data-theme="light"]) .relais .relais-legende span, :root:not([data-theme="light"]) .relais-col.banque .relais-legende b{color:#a2adc6}
  :root:not([data-theme="light"]) .relais-tel{box-shadow:0 18px 40px rgba(0,0,0,.5)}
  :root:not([data-theme="light"]) .relais-tel.b{border-color:#05080f}
}
:root[data-theme="dark"] .relais{background:#0e1532;border-color:#1c2550;color:#e6eaf5;box-shadow:none}
:root[data-theme="dark"] .relais h2{color:#f1f3fb}
:root[data-theme="dark"] :is(.relais h2 em, .relais .relais-fleche, .relais-col.faora .relais-legende b){color:#ffc94d}
:root[data-theme="dark"] :is(.relais .relais-chapeau, .relais .relais-legende span, .relais-col.banque .relais-legende b){color:#a2adc6}
section.heros:has(+ .relais-section){padding:40px 0 30px !important}
section.heros:has(+ .relais-section) .surtitre{margin-bottom:8px}
section.heros:has(+ .relais-section) h1{font-size:clamp(1.9rem, 3.2vw, 2.6rem);margin:0 0 8px}
section.heros:has(+ .relais-section) .chapeau{margin:0}
section.heros + .relais-section{padding-top:28px}
@media (max-width:600px){section.heros:has(+ .relais-section){padding:26px 0 22px !important}}
/* Pourquoi Faora : les deux cartes sous la carte « relais », en paragraphes courts, alignées à gauche (Bruno 15/11) — un blanc entre
   les paragraphes ; les lignes d'un même paragraphe se coupent par <br> */
.relais-section + section .carte p + p { margin-top: .85em }
.relais-section + section .carte p { text-align: left }
/* relais en clair : le jaune or de la marque à la place du brun (Bruno 15/11, « on dirait du marron pas beau ») — l'or pur ne se lit pas
   en texte sur le gris clair (1,7:1) : il passe en fond, comme les boutons jaunes du site, avec le bleu nuit dessus — surligneur sous le
   <em>, pastille ronde sous la flèche, étiquette « Faora » ; le libellé de la flèche en bleu nuit */
.relais h2 em{color:#13235f;background:linear-gradient(transparent 58%, #ffc94d 58%, #ffc94d 92%, transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .08em}
.relais .relais-fleche{color:#13235f}
.relais .relais-fleche svg{box-sizing:border-box;width:54px;height:54px;padding:12px;border-radius:50%;background:#ffc94d;color:#13235f;box-shadow:0 6px 16px rgba(245,166,35,.35)}
.relais-col.faora .relais-legende b{display:inline-block;padding:3px 12px;border-radius:999px;background:#ffc94d;color:#13235f}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .relais h2 em{background:none;color:#ffc94d;padding:0}
  :root:not([data-theme="light"]) .relais .relais-fleche{color:#ffc94d}
  :root:not([data-theme="light"]) .relais-col.faora .relais-legende b{background:#ffc94d;color:#0c1228}
}
:root[data-theme="dark"] .relais h2 em{background:none;color:#ffc94d;padding:0}
:root[data-theme="dark"] .relais .relais-fleche{color:#ffc94d}
:root[data-theme="dark"] .relais-col.faora .relais-legende b{background:#ffc94d;color:#0c1228}
@media (max-width:820px){.relais-col.faora .relais-legende b{padding:2px 10px}}
/* relais en clair, suite (Bruno 15/11 : « je voulais que tu modifies la couleur du texte ») : pas de surligneur ni de pastille, le texte
   lui-même en or — un or soutenu (#d4900c) plutôt que l'or pur, illisible sur le gris clair */
.relais h2 em{color:#d4900c;background:none;padding:0}
.relais .relais-fleche{color:#d4900c}
.relais .relais-fleche svg{width:48px;height:48px;padding:0;border-radius:0;background:none;color:inherit;box-shadow:none}
.relais-col.faora .relais-legende b{display:block;padding:0;border-radius:0;background:none;color:#d4900c}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .relais-col.faora .relais-legende b{background:none;color:#ffc94d} }
:root[data-theme="dark"] .relais-col.faora .relais-legende b{background:none;color:#ffc94d}
/* l'or du site en clair : le jaune or de Faora (#d4900c) au lieu du brun #9a5b00, partout (Bruno 15/11 : « sur tout le site il y a cette
   couleur marron/jaune au lieu du jaune faora ») — surtitres, rubriques, chiffres dorés ; le sombre garde #ffd84d */

/* ── Focus clavier, partout (DONNÉES/Bruno 17/11 : « il faut pouvoir utiliser le clavier partout ») ──
   Site : bandes de nuit (.heros, cartes) en or quel que soit le thème.
   Un anneau net, hors de l'élément, sur tout ce qui se joint au clavier : bleu océan sur fond clair, or sur fond sombre. Il passe devant
   les « outline: none » des feuilles (outline seulement, en !important ; jamais l'ombre, qui reste aux animations) ; la souris n'en
   montre pas (:focus-visible). Une ligne de tableau ou une option garde l'anneau à l'intérieur, pour ne pas être rognée. */
:root { --anneau-focus: #0560c0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --anneau-focus: #ffd166; } }
:root[data-theme="dark"], .heros, .carte, .simulateur { --anneau-focus: #ffd166; }
:root :is(a[href], button, input:not([type="hidden"]), select, textarea, summary, [tabindex]:not([tabindex="-1"]), [role="tab"], [role="radio"], [role="checkbox"], [role="switch"], [role="option"], [role="menuitem"], [role="row"], [contenteditable="true"]):focus-visible { outline: 3px solid var(--anneau-focus) !important; outline-offset: 2px !important; }
:root :is(tr, [role="row"], [role="option"], option, td, th):focus-visible { outline-offset: -3px !important; }
:root input:is([type="checkbox"], [type="radio"]):focus-visible { outline-offset: 3px !important; }
/* une carte entière qui est un lien (profils de l'accueil) : l'anneau or à l'intérieur, sur la nuit de la carte, jamais à cheval sur la page claire (RECETTE 17/11) */
:root a.carte.carte.carte:focus-visible { outline-offset: -5px !important; }

/* Lien d'évitement « Aller au contenu » (note 80 d'EXPERT ; balisage de SITE 105b7984, en tête de body) : hors écran,
   il descend au premier Tab au-dessus de l'en-tête collant (z-index 10), à l'allure d'un .bouton doré ; l'anneau est celui
   du focus clavier du site (--anneau-focus : bleu océan en clair, or en sombre), hors du bouton. main#contenu reçoit le focus
   sans contour (tabindex="-1", jamais atteint au Tab). */
.aller-contenu.bouton { position: fixed; left: 12px; top: 12px; z-index: 1000; transform: translateY(calc(-100% - 24px)); transition: transform .15s ease-out; font-weight: 700 }
.aller-contenu.bouton:focus { transform: none }
@media (prefers-reduced-motion: reduce) { .aller-contenu.bouton { transition: none } }
main#contenu:focus { outline: none }

/* ── « Logiciel installé ou en ligne : comment choisir ? » (SITE d851a72f ; modèle : PDF de Bruno, 21/11) ── */
/* l'or écrit sur fond clair : #d4900c ne se lit pas en petit (2,9:1) — un or brun en clair, l'or de la lanterne en sombre */
:root { --or-texte: #9a5b00 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --or-texte: var(--or) } }
:root[data-theme="dark"] { --or-texte: var(--or) }
/* en-tête : le phare à droite, fondu dans la nuit de la bande */
.heros-phare { padding-bottom: 24px; position: relative; overflow: hidden; isolation: isolate }
@media (min-width: 901px) {
  .heros-phare::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 44%;
    background: url("faora-phare.jpg") center 28% / cover no-repeat; opacity: .85; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%) }
  .heros-phare .conteneur > * { max-width: 58% }
}
/* les petites notes sous les trois cartes, au pied, après un filet */
.carte .note-carte { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--bord); font-size: .85rem }
/* le comparatif : la colonne Faora surlignée d'or, « gros plus » sur les trois premières lignes */
.comparatif .defile { padding-top: 6px }
.comparatif table { min-width: 0 }
.comparatif th, .comparatif td { padding: 12px 12px; vertical-align: top; line-height: 1.45 }
.comparatif tbody th { font-weight: 600; width: 24% }
.comparatif :is(thead th, td):nth-child(3) { background: color-mix(in srgb, var(--ambre) 10%, transparent) }
.comparatif tr.gros-plus td:nth-child(3) { background: color-mix(in srgb, var(--ambre) 17%, transparent) }
.comparatif thead th:nth-child(3) { color: var(--or-texte); font-weight: 700 }
.comparatif .etiquette-plus { display: inline-block; margin: 4px 0 0; padding: 1px 8px; border: 1px solid var(--or); border-radius: 999px;
  font-size: .72rem; font-weight: 700; line-height: 1.4; color: var(--or-texte); white-space: nowrap }
/* au téléphone : chaque ligne devient une petite carte, la question en titre, puis « Installé » et « Faora » l'un sous l'autre
   (libellés tirés de data-col) ; plus de défilement horizontal */
@media (max-width: 640px) {
  .comparatif { padding: 0 }
  .comparatif .defile { overflow: visible; padding: 0 }
  .comparatif :is(table, tbody, tr, th, td) { display: block; width: auto }
  .comparatif thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
  .comparatif tbody tr { padding: 12px 14px; border-top: 1px solid var(--bord) }
  .comparatif tbody tr:first-child { border-top: 0 }
  .comparatif tbody th { width: auto; padding: 0 0 8px; border: 0; font-size: .98rem }
  .comparatif td { padding: 8px 10px; border: 0; border-radius: 8px }
  .comparatif td + td { margin-top: 6px }
  .comparatif td:nth-child(2) { padding-left: 0; padding-right: 0; background: none }
  .comparatif td[data-col]::before { content: attr(data-col); display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 700;
    letter-spacing: .03em; text-transform: uppercase; color: var(--doux) }
  .comparatif td:nth-child(3)[data-col]::before { color: var(--or-texte) }
}
/* « Notre parti pris » : encadré doré, bord gauche or, la phrase-clé en or (les cartes du site sont de nuit dans les deux thèmes :
   l'or de la page s'y lit) */
.carte.parti-pris { border-color: color-mix(in srgb, var(--or) 45%, transparent);
  box-shadow: inset 4px 0 0 var(--or), inset 0 0 0 999px color-mix(in srgb, var(--or) 7%, transparent), var(--ombre) }
.carte.parti-pris p.accroche { color: var(--or); font-size: 1.05rem; line-height: 1.5; margin-bottom: 10px }

/* ── Accompagnement en visio (accompagnement.html, Bruno 24/11 ; maquette « Faora · Accompagnement en visio ») : carte du créateur
   dans le bandeau de nuit, quatre durées sur une ligne (blanches, Patrimoine en nuit), trois étapes en colonnes, deux encarts blancs. ── */
.carte.createur { display: grid; gap: 14px; padding: 24px 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none }
.createur-tete { display: flex; align-items: center; gap: 14px }
.createur-tete h3 { margin: 0; font-size: 1.1rem }
.createur-tete p.muet { margin: 2px 0 0; font-size: .88rem }
.createur-photo { flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 201, 77, .55); color: var(--doux); font-size: .7rem }
.createur-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.carte.createur > p:not(.surtitre) { color: var(--texte); line-height: 1.6 }
.carte.createur > p.surtitre { margin: 0; text-transform: none; letter-spacing: 0; font-size: .88rem }
.cartes.seances { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px }
.cartes.seances .carte.seance, ol.etapes.trois + .cartes.deux .carte {
  --carte: #ffffff; --texte: #0f1733; --doux: #4f5a75; --bord: #dde2ee; --titre: #13235f; --or: #b7791f;
  color: var(--texte); background: #ffffff; border: 1px solid #e0e6f4; box-shadow: 0 1px 2px rgba(12, 18, 40, .05) }
.cartes.seances .carte.seance h3, ol.etapes.trois + .cartes.deux .carte h3 { color: var(--titre) }
.cartes.seances .carte.seance p.surtitre { color: var(--doux); margin-bottom: 8px }
.cartes.seances .carte.seance.mise-en-avant { --carte: #131c40; --texte: #eef1fa; --doux: #b7c0da; --titre: #ffffff; --or: #ffd84d;
  border-color: rgba(255, 201, 77, .5); background: radial-gradient(90% 70% at 100% 0%, rgba(245, 166, 35, .14), transparent 60%), linear-gradient(160deg, #18234f, #0e1531);
  box-shadow: 0 14px 34px rgba(12, 18, 40, .18) }
.cartes.seances .carte.seance.mise-en-avant p.surtitre { color: var(--or) }
.carte.seance p.duree { margin: 0 0 10px; color: var(--titre); font-size: 1rem; font-weight: 600 }
.carte.seance p.duree b { font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; margin-right: 4px; font-variant-numeric: tabular-nums }
.carte.seance h3 { margin: 0 0 10px; font-size: 1rem }
.carte.seance ul { margin: 0; padding-left: 18px; color: var(--doux); font-size: .92rem; line-height: 1.55 }
.carte.seance li + li { margin-top: 4px }
ol.etapes.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 22px }
ol.etapes.trois li { display: block }
ol.etapes.trois li::before { margin-bottom: 12px; background: var(--faisceau, var(--accent)); color: var(--nuit) }
ol.etapes.trois h3 { margin: 0 0 6px; font-size: 1.05rem }
ol.etapes.trois + .cartes.deux { margin-top: 40px }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cartes.seances .carte.seance:not(.mise-en-avant), :root:not([data-theme="light"]) ol.etapes.trois + .cartes.deux .carte {
    --carte: #121a36; --texte: #e6eaf5; --doux: #a2adc6; --bord: #26305a; --titre: #f1f3fb; --or: #ffd84d; background: #121a36; border-color: #26305a }
}
:root[data-theme="dark"] .cartes.seances .carte.seance:not(.mise-en-avant), :root[data-theme="dark"] ol.etapes.trois + .cartes.deux .carte {
  --carte: #121a36; --texte: #e6eaf5; --doux: #a2adc6; --bord: #26305a; --titre: #f1f3fb; --or: #ffd84d; background: #121a36; border-color: #26305a }
@media (max-width: 1000px) { .cartes.seances { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 760px) { ol.etapes.trois { grid-template-columns: 1fr; gap: 18px } ol.etapes.trois li { display: grid; grid-template-columns: 40px 1fr; gap: 14px } ol.etapes.trois li::before { margin: 0 } }
@media (max-width: 600px) { .cartes.seances { grid-template-columns: 1fr } }

/* Planche E (« Bien démarrer, en quelques fenêtres ») cliquable, CHARTE 25/11 (demande de Bruno par SITE) : trois zones posées sur les
   trois pastilles de départ, en pourcentages de l'image (elles suivent sa largeur fluide) ; survol et focus clavier visibles.
   Balisage : <div class="planche planche-departs[ en]"><img …><a class="zone-depart zone-visite" href="…" aria-label="Visite guidée"></a>…</div>
   Mesures prises sur propositions.html (#e .dep, 1600 × 900) : FR, puis EN (.en). Si la planche change, les remesurer. */
.planche.planche-departs { position: relative; container-type: inline-size }
.planche.planche-departs > img { display: block; width: 100%; height: auto }
.planche-departs > a.zone-depart { position: absolute; top: 35.33%; height: 5.56%; border-radius: 1cqw;
  transition: background-color .15s, box-shadow .15s }
.planche-departs > a.zone-depart:hover { background: rgba(255, 201, 77, .12); box-shadow: 0 0 0 2px #ffd84d, 0 0 24px rgba(255, 201, 77, .35) }
.planche-departs > a.zone-depart:focus-visible { background: rgba(255, 201, 77, .12); box-shadow: 0 0 0 3px #ffd84d, 0 0 0 6px rgba(12, 18, 40, .9) }
.planche-departs > a.zone-visite { left: 23.87%; width: 12.68% }
.planche-departs > a.zone-import { left: 37.92%; width: 21.64% }
.planche-departs > a.zone-creation { left: 60.94%; width: 15.19% }
.planche-departs.en > a.zone-visite { left: 26.91%; width: 12.09% }
.planche-departs.en > a.zone-import { left: 40.38%; width: 17.62% }
.planche-departs.en > a.zone-creation { left: 59.38%; width: 13.71% }
@media (prefers-reduced-motion: reduce) { .planche-departs > a.zone-depart { transition: none } }
/* au téléphone, la pastille ne fait que 12 px de haut : la cible du doigt passe à 24 px au moins, centrée sur elle, sans changer le dessin (RECETTE 20183aea) */
.planche-departs > a.zone-depart::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 24px); transform: translateY(-50%) }
/* Tarifs : l'encart « Une visio de prise en main » (SITE 085a7207, Bruno 25/11) se distingue de l'encart d'essai : écarté des forfaits,
   filet or à gauche, fond à peine doré, pastille visio au trait. Au téléphone, la pastille passe au-dessus du titre. */
div.bandeau-essai.bandeau-visio { margin-top: 32px; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; align-items: start;
  background: linear-gradient(160deg, color-mix(in srgb, var(--or) 9%, var(--carte)), var(--carte) 65%);
  border-color: color-mix(in srgb, var(--or) 40%, var(--bord)); box-shadow: inset 4px 0 0 var(--or), var(--ombre) }
div.bandeau-essai.bandeau-visio::before { content: ""; grid-row: 1 / span 3; width: 48px; height: 48px; border-radius: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9a93a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h12v10H3z M15 10.5l6-3.5v10l-6-3.5'/%3E%3C/svg%3E") center / 26px no-repeat, linear-gradient(160deg, rgba(255, 216, 77, .16), rgba(245, 166, 35, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 216, 77, .32) }
div.bandeau-essai.bandeau-visio > * { grid-column: 2 }
@media (max-width: 560px) {
  div.bandeau-essai.bandeau-visio { grid-template-columns: minmax(0, 1fr); padding: 20px 18px 20px 22px }
  div.bandeau-essai.bandeau-visio::before { grid-row: auto; margin-bottom: 12px }
  div.bandeau-essai.bandeau-visio > * { grid-column: 1 }
}

/* Vidéos du site (statique/videos.js, chantier Vidéos 29/11) : une grille de lecteurs (deux de front à partir de ~900 px), une seule
   vidéo sur 880 px au plus, partant du bord du titre comme les autres sections (SITE 29/11), une vidéo verticale (9:16) sur 360 px ; cadre de nuit arrondi au filet or doux, la vidéo ne
   dépasse jamais la largeur ni 78 % de la hauteur de l'écran */
section.videos-site { padding: 48px 0 }
section.videos-site h2 { margin-bottom: 20px }
.videos-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 28px; align-items: start }
section.videos-site.une .videos-grille { grid-template-columns: minmax(0, 880px); justify-content: start }
section.videos-site.une figure.video-site.verticale { justify-self: start }
figure.video-site { display: flex; flex-direction: column; gap: 12px; min-width: 0; margin: 0 }
figure.video-site.verticale { width: 100%; max-width: 360px; justify-self: center }
.video-cadre { overflow: hidden; border: 1px solid color-mix(in srgb, var(--or) 35%, transparent); border-radius: 16px; background: #0c1330;
  box-shadow: 0 14px 34px rgba(12, 18, 40, .18) }
.video-cadre > video { display: block; width: 100%; height: auto; max-height: 78vh; background: #0c1330 }
figure.video-site > figcaption > h3 { margin: 0 0 4px; font-size: 1.15rem; line-height: 1.3 }
figure.video-site > figcaption > p { margin: 0 0 6px; line-height: 1.5 }
figure.video-site > figcaption > p.video-infos { margin: 0; color: var(--doux); font-size: .88rem }
.videos-vide { margin: 0; color: var(--doux) }
@media (max-width: 560px) {
  section.videos-site { padding: 36px 0 }
  .videos-grille { gap: 22px }
  .video-cadre { border-radius: 12px }
}
