/* S33D VPN — feuille de style unique, sans dépendance externe.
   THÈME CLAIR (refonte 2026-08-26) : le retour terrain sur la première vitrine
   était unanime — le fond noir « fait peur » et coûte des ventes. Le schéma
   visuel s'aligne sur les standards du marché (fond blanc, sections douces,
   cartes en relief, icônes vectorielles) sans copier aucune marque. */

/* Manrope auto-hébergée (variable 200-800, sous-ensembles latin).
   Pas de fonts.googleapis.com : servir une police depuis Google transmet
   l'adresse IP du visiteur à un tiers hors UE — jurisprudence défavorable,
   et une requête externe de moins. Licence SIL OFL. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fond: #ffffff;
  --fond-doux: #f4f8fb;         /* sections alternées */
  --fond-appui: #eaf2f8;
  --trait: #e2e9f0;
  --encre: #0e2233;             /* titres */
  --texte: #3a4d61;             /* corps */
  --texte-doux: #67798c;
  --accent: #16a34a;
  --accent-fonce: #0e8a3d;
  --accent-doux: #e6f6ec;
  --degrade: linear-gradient(135deg, #17a94e, #0d9b6c);
  --alerte: #b45309;
  --refus: #dc2626;
  --rayon: 14px;
  --ombre: 0 6px 24px rgba(14, 34, 51, .07);
  --ombre-forte: 0 24px 60px rgba(14, 34, 51, .14);
  --large: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.large { width: min(100% - 2.5rem, var(--large)); margin-inline: auto; }

a { color: var(--accent-fonce); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--encre); }
h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 .9rem; letter-spacing: -.015em; font-weight: 800; }
h3 { font-size: 1.08rem; margin: 0 0 .5rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.chapo { font-size: 1.13rem; color: var(--texte-doux); max-width: 64ch; }
.centre { text-align: center; }
.centre .chapo { margin-inline: auto; }

/* --- icônes vectorielles ---
   Pas d'emoji : sous Windows, les drapeaux emoji s'affichent en LETTRES et les
   pictogrammes varient d'un système à l'autre. Tout est en SVG inline. */
.icone { width: 24px; height: 24px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pastille-icone {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-doux); color: var(--accent-fonce); margin-bottom: .9rem;
}
.drapeau { display: inline-block; width: 30px; height: 20px; border-radius: 4px;
  overflow: hidden; box-shadow: 0 0 0 1px rgba(14,34,51,.12); vertical-align: -4px; flex: none; }
.drapeau svg { display: block; width: 100%; height: 100%; }

/* --- bandeau d'état de la connexion du visiteur ---
   « Votre IP · Votre FAI · Statut » : la page cesse d'être une brochure, elle
   parle au visiteur de SA connexion. Rempli par /moi.json ; si l'appel
   échoue, le bandeau reste masqué — jamais de valeurs fausses. */
.bandeau-ip { display: none; background: var(--encre); color: #cfdae4;
  font-size: .85rem; text-align: center; padding: .5rem .8rem; }
.bandeau-ip.visible { display: block; }
.bandeau-ip strong { color: #fff; font-weight: 700; }
.bandeau-ip .sep { margin: 0 .55rem; opacity: .45; }
.bandeau-ip .statut-non { color: #ff8a80; font-weight: 700; }
.bandeau-ip .statut-oui { color: #7ee2a8; font-weight: 700; }
.bandeau-ip a { color: #fff; text-decoration: underline; margin-left: .55rem;
  white-space: nowrap; }

/* --- sélecteur de langue --- */
.langues { display: flex; align-items: center; gap: .1rem; font-size: .85rem; }
.langues a { color: var(--texte-doux); font-weight: 650; padding: .25rem .45rem;
  border-radius: 7px; }
.langues a:hover { color: var(--encre); text-decoration: none; }
.langues a.actif { color: var(--accent-fonce); background: var(--accent-doux); }
.langues .sep { color: var(--trait); }

/* --- en-tête --- */
.entete {
  background: rgba(255, 255, 255, .86);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.entete.pose { box-shadow: 0 4px 20px rgba(14,34,51,.08); border-color: var(--trait); }
.entete .large { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 0; }
.marque { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.18rem; color: var(--encre); }
.marque:hover { text-decoration: none; }
.marque .trois { color: var(--accent); }
.marque .embleme { width: 30px; height: 30px; flex: none; }
.entete nav { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.entete nav a { color: var(--texte); font-size: .95rem; font-weight: 550; }
.entete nav a:hover { color: var(--encre); text-decoration: none; }

/* --- boutons --- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.4rem; border-radius: 12px;
  background: var(--degrade); color: #fff; font-weight: 700; border: 0;
  box-shadow: 0 8px 20px rgba(22, 163, 74, .25);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.bouton:hover { text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(22, 163, 74, .32); filter: brightness(1.04); }
.bouton.petit { padding: .48rem 1rem; font-size: .9rem; }
.bouton.grand { padding: .95rem 1.8rem; font-size: 1.05rem; border-radius: 13px; }
.bouton.creux { background: #fff; color: var(--encre); border: 1.5px solid var(--trait);
  box-shadow: none; }
.bouton.creux:hover { border-color: var(--accent); color: var(--accent-fonce);
  box-shadow: 0 8px 18px rgba(14,34,51,.08); }

/* --- sections --- */
main section { padding: 4.5rem 0; }
.alterne { background: var(--fond-doux); }
.etroit { max-width: 660px; }
.etroit-large { max-width: 840px; }

/* --- apparition au défilement --- */
.reveler { opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease; }
.reveler.visible { opacity: 1; transform: none; }
.reveler:nth-child(2) { transition-delay: .08s; }
.reveler:nth-child(3) { transition-delay: .16s; }
.reveler:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveler { opacity: 1; transform: none; }
}

/* --- accroche --- */
.heros { padding: 4.5rem 0 4rem; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(22, 163, 74, .10), transparent 65%),
    radial-gradient(700px 420px at -10% 110%, rgba(13, 155, 108, .08), transparent 60%),
    var(--fond); }
.heros-grille { display: grid; gap: 3.5rem; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.heros h1 { font-size: clamp(2.4rem, 5.4vw, 3.7rem); }
.surtitre { display: inline-flex; align-items: center; gap: .45rem;
  background: var(--accent-doux); color: var(--accent-fonce);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; padding: .35rem .9rem; margin: 0 0 1.1rem; }
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); animation: pouls 2s infinite; }
@keyframes pouls {
  0%   { box-shadow: 0 0 0 0 rgba(22,163,74,.45); }
  70%  { box-shadow: 0 0 0 9px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}
.actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.9rem; }
.garanties { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin: 1.7rem 0 0;
  padding: 0; list-style: none; color: var(--texte-doux); font-size: .92rem; }
.garanties li { display: flex; align-items: center; gap: .45rem; }
.garanties .icone { width: 18px; height: 18px; color: var(--accent-fonce); }

/* --- aperçu interactif de l'application ---
   En HTML/CSS : net sur tout écran, zéro octet d'image, et il RÉAGIT — le
   visiteur clique un pays et voit la connexion se faire. C'est la réponse au
   reproche « page statique ». */
.app { background: #fff; border: 1px solid var(--trait); border-radius: 20px;
  overflow: hidden; box-shadow: var(--ombre-forte); max-width: 420px;
  justify-self: center; width: 100%; }
.app-barre { display: flex; align-items: center; gap: .4rem;
  padding: .7rem 1rem; background: var(--fond-doux); border-bottom: 1px solid var(--trait); }
.app-barre span { width: 10px; height: 10px; border-radius: 50%; background: #d4dde5; }
.app-barre p { margin: 0 0 0 .55rem; font-size: .8rem; color: var(--texte-doux); font-weight: 600; }
.app-corps { padding: 1.5rem 1.4rem 1.4rem; }
.app-etat { display: flex; align-items: center; gap: .5rem; margin: 0;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--texte-doux); font-weight: 800; }
.app-etat .point { width: 9px; height: 9px; border-radius: 50%; background: #c3ced8;
  transition: background .3s; }
.app.connecte .app-etat { color: var(--accent-fonce); }
.app.connecte .point { background: var(--accent); animation: pouls 2s infinite; }
.app-lieu { display: flex; align-items: center; gap: .6rem;
  margin: .5rem 0 1.15rem; font-size: 1.3rem; font-weight: 800; color: var(--encre); }
.app-bouton { background: var(--degrade); color: #fff; font-weight: 700; cursor: default;
  text-align: center; padding: .75rem; border-radius: 12px; font-size: .95rem;
  transition: opacity .3s; }
.app.transition .app-bouton { opacity: .65; }
/* Les pays défilent DANS le cadre : la hauteur coupe volontairement le
   8e rang à mi-hauteur — c'est ce qui dit « ça continue » sans ascenseur
   permanent. `position: relative` sert au script (offsetTop des lignes). */
.app-liste { list-style: none; padding: 0; margin: 1.15rem 0 0; position: relative;
  max-height: 302px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--trait) transparent; }
.app-liste button { display: flex; align-items: center; gap: .65rem; width: 100%;
  padding: .55rem .6rem; border: 0; background: none; border-radius: 9px;
  color: var(--texte); font: inherit; font-size: .95rem; cursor: pointer;
  transition: background .18s; text-align: left; }
.app-liste button:hover { background: var(--fond-doux); }
.app-liste li.actif button { background: var(--accent-doux); color: var(--encre); font-weight: 700; }
.app-liste .coche { margin-left: auto; color: var(--accent-fonce); opacity: 0;
  width: 18px; height: 18px; transition: opacity .25s; }
.app-liste li.actif .coche { opacity: 1; }
.app-note { margin: .9rem 0 0; font-size: .78rem; color: var(--texte-doux); text-align: center; }

/* --- bande de chiffres --- */
.bande { padding: 2.4rem 0; background: var(--fond-doux); border-block: 1px solid var(--trait); }
.bande-grille { display: grid; gap: 1.4rem; text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bande-grille strong { display: block; font-size: 2rem; font-weight: 800; color: var(--encre); }
.bande-grille strong em { font-style: normal; color: var(--accent-fonce); }
.bande-grille span { color: var(--texte-doux); font-size: .9rem; }

/* --- bandeau des plateformes --- */
.plateformes { padding: 2.2rem 0; }
.titre-fin { text-align: center; color: var(--texte-doux); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; margin: 0 0 1.2rem; font-weight: 700; }
.plateformes-liste { list-style: none; padding: 0; margin: 0; display: flex;
  flex-wrap: wrap; justify-content: center; gap: 1rem; }
.plateformes-liste li { display: flex; align-items: center; gap: .55rem;
  padding: .6rem 1.1rem; border: 1px solid var(--trait); border-radius: 999px;
  color: var(--texte-doux); font-size: .93rem; background: #fff; }
.plateformes-liste li em { font-style: normal; font-size: .74rem; color: var(--texte-doux); }
.plateformes-liste li.dispo { color: var(--encre); font-weight: 650;
  border-color: rgba(22,163,74,.35); box-shadow: var(--ombre); }
.plateformes-liste li.dispo em { color: var(--accent-fonce); font-weight: 700; }
.plateformes-liste li a { display: flex; align-items: center; gap: .55rem; color: inherit; }
.plateformes-liste li a:hover { text-decoration: none; }
.plateformes-liste .icone { width: 20px; height: 20px; }

/* --- grilles et cartes --- */
.grille { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.carte {
  background: #fff; border: 1px solid var(--trait);
  border-radius: var(--rayon); padding: 1.6rem; box-shadow: var(--ombre);
  transition: transform .2s, box-shadow .2s;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte p:last-child { margin-bottom: 0; }
.carte p { color: var(--texte-doux); font-size: .96rem; }

/* --- pays : carte du monde pointillée + épingles-drapeaux ---
   Le fond est un ASSET SVG généré par SCRIPTS/S33D-VPN/generer_carte_pointillee.py
   (points gris = terres, points verts = pays servis) — pas d'inline : il pèserait
   ~20 Ko dans CHAQUE page, l'asset est en cache. Les épingles sont des drapeaux
   posés en % du viewBox, le nom apparaît au survol ; la liste complète reste en
   toutes lettres dans les puces sous la carte (mobile, lecteurs d'écran, SEO).
   Sur petit écran la carte DÉFILE horizontalement (min-width) : la réduire
   au-delà colle les drapeaux d'Europe les uns sur les autres. */
.monde { margin-top: 2.4rem; overflow-x: auto; background: #fff;
  border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); }
.monde-cadre { position: relative; min-width: 680px; }
.monde-fond { display: block; width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); }
.pin .drapeau { display: block; width: 26px; height: 17px; border-radius: 4px;
  box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(14, 34, 51, .28);
  transition: transform .15s; }
.pin:hover { z-index: 3; }
.pin:hover .drapeau { transform: scale(1.18); }
.pin-nom { position: absolute; bottom: calc(100% + 7px); left: 50%;
  transform: translateX(-50%); background: var(--encre); color: #fff;
  font-size: .74rem; font-weight: 700; padding: .28rem .65rem; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.pin-nom::after { content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--encre); }
.pin:hover .pin-nom { opacity: 1; }
@media (max-width: 720px) { .pin .drapeau { width: 20px; height: 13px; } }
.pays-puces { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .55rem; padding: 0; margin: 1.6rem 0 0; }
.pays-puces li { display: flex; align-items: center; gap: .5rem; background: #fff;
  border: 1px solid rgba(22, 163, 74, .3); border-radius: 999px;
  padding: .38rem .85rem; font-size: .86rem; font-weight: 650; color: var(--encre); }
.pays-puces .drapeau { width: 21px; height: 14px; }
.pays-puces li.a-venir { border-style: dashed; border-color: var(--trait);
  color: var(--texte-doux); font-weight: 600; }
.pays-puces li.a-venir .icone { width: 15px; height: 15px; }
.pays-puces li.a-venir em { font-style: normal; font-size: .78rem; }

/* --- comparateur à trois colonnes ---
   Aucun concurrent n'est nommé : une affirmation fausse sur une société tierce
   se paie. Les colonnes décrivent des CATÉGORIES, la nôtre est mise en avant. */
.defile { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--trait); vertical-align: middle; }
th { color: var(--texte-doux); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.comparatif { min-width: 640px; background: #fff; border-radius: var(--rayon);
  box-shadow: var(--ombre); overflow: hidden; }
.comparatif th, .comparatif td { text-align: center; }
.comparatif th:first-child, .comparatif td:first-child { text-align: left; color: var(--texte-doux); }
.comparatif .nous { background: var(--accent-doux); color: var(--encre); font-weight: 650; }
.comparatif thead .nous { color: var(--accent-fonce); font-size: 1rem;
  text-transform: none; letter-spacing: 0; }
.comparatif tbody tr:last-child td { border-bottom: 0; }
.comparatif .oui { color: var(--accent-fonce); }
.comparatif .non { color: var(--refus); }
.comparatif .moyen { color: var(--alerte); }
.comparatif .icone { width: 20px; height: 20px; vertical-align: -4px; }

/* --- confiance / transparence --- */
.valeurs { display: grid; gap: 1.3rem; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.valeur { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 1.6rem; box-shadow: var(--ombre); }
.valeur p { color: var(--texte-doux); font-size: .96rem; margin-bottom: 0; }

/* --- étapes --- */
.etapes { display: grid; gap: 1.6rem; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: etape; }
.etape { position: relative; background: #fff; border: 1px solid var(--trait);
  border-radius: var(--rayon); padding: 1.6rem; box-shadow: var(--ombre); }
.etape .numero { width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--degrade); color: #fff; font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center; margin: 0 0 .9rem;
  box-shadow: 0 6px 14px rgba(22,163,74,.3); }
.etape p { color: var(--texte-doux); font-size: .96rem; margin-bottom: 0; }

/* --- offres --- */
.offres { display: grid; gap: 1.4rem; margin-top: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.offre { background: #fff; border: 1.5px solid var(--trait); position: relative;
  border-radius: 18px; padding: 1.8rem 1.7rem; display: flex; flex-direction: column;
  box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.offre:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.offre.mise-en-avant { border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(22, 163, 74, .18); }
.exposant { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--texte-doux); font-weight: 700; margin: 0; }
.montant { font-size: 2.6rem; font-weight: 800; margin: .35rem 0 0; line-height: 1;
  color: var(--encre); }
.montant span { font-size: 1.4rem; font-weight: 700; }
.offre .prix { color: var(--texte-doux); font-size: .93rem; margin-top: .3rem; }
.liste-nette { list-style: none; padding: 0; margin: 0; }
.liste-nette li { padding: .5rem 0 .5rem 1.7rem; position: relative;
  border-bottom: 1px solid var(--trait); font-size: .95rem; }
.liste-nette li:last-child { border-bottom: 0; }
.offre .liste-nette { margin: .7rem 0 1.5rem; }
.offre .liste-nette li::before { content: "✓"; position: absolute; left: .1rem;
  color: var(--accent-fonce); font-weight: 800; }
.offre .bouton { margin-top: auto; }
.economie { display: inline-block; margin-left: .5rem; background: var(--accent-doux);
  color: var(--accent-fonce); font-size: .78rem; font-weight: 800;
  border-radius: 999px; padding: .12rem .55rem; vertical-align: middle; }
.ruban { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  margin: 0; background: var(--degrade); color: #fff; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: .3rem .85rem;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px rgba(22,163,74,.35); }
.option-ip { margin-top: 1.7rem; background: #fff; border: 1px solid var(--trait);
  border-radius: 18px; box-shadow: var(--ombre);
  padding: 1.5rem 1.7rem; display: grid; gap: 1.4rem; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto; }
.option-ip h3 { margin-bottom: .4rem; }
.option-ip p { color: var(--texte-doux); }
.option-ip p:last-child { margin-bottom: 0; }
.option-prix { text-align: right; }
.option-prix .montant { color: var(--accent-fonce); font-size: 2rem; }
@media (max-width: 620px) {
  .option-ip { grid-template-columns: 1fr; }
  .option-prix { text-align: left; }
}
.mention { margin-top: .9rem; color: var(--texte-doux); font-size: .85rem; }

/* --- questions fréquentes --- */
#questions details { border: 1px solid var(--trait); border-radius: var(--rayon);
  background: #fff; margin-bottom: .8rem; box-shadow: var(--ombre);
  transition: box-shadow .2s; }
#questions details[open] { box-shadow: var(--ombre-forte); }
#questions summary { cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 650;
  color: var(--encre); list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; }
#questions summary::-webkit-details-marker { display: none; }
#questions summary::after { content: "+"; color: var(--accent-fonce); font-size: 1.5rem;
  font-weight: 400; line-height: 1; flex: none; transition: transform .25s; }
#questions details[open] summary::after { transform: rotate(45deg); }
#questions details p { padding: 0 1.3rem 1.15rem; margin: 0; color: var(--texte-doux); }

/* --- formulaire --- */
.formulaire { margin-top: 1.8rem; background: #fff; border: 1px solid var(--trait);
  border-radius: 18px; padding: 1.8rem; box-shadow: var(--ombre); }
.champs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.champ { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; }
.champ span { color: var(--texte); font-weight: 600; }
.champ em { font-style: normal; color: var(--texte-doux); font-weight: 400; }
.champ input, .champ select { background: var(--fond-doux); color: var(--encre);
  border: 1.5px solid var(--trait); border-radius: 10px; padding: .75rem .85rem;
  font: inherit; font-size: .96rem; width: 100%; transition: border-color .18s, background .18s; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--accent);
  background: #fff; }
.formulaire button { margin-top: 1.2rem; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

/* --- pied de page --- */
.pied { border-top: 1px solid var(--trait); background: var(--fond-doux);
  padding: 3rem 0 2rem; color: var(--texte-doux); font-size: .92rem; }
.pied nav { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-bottom: .9rem; }
.pied a { color: var(--texte-doux); }
.pied a:hover { color: var(--encre); }
.pied-colonnes { display: grid; gap: 2rem; margin-bottom: 2rem;
  grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(150px, 1fr)); }
.pied-colonnes a { display: block; margin-bottom: .5rem; }
.pied-colonnes .marque { margin-bottom: .8rem; }
.pied-titre { color: var(--encre); font-weight: 700; font-size: .92rem; margin: 0 0 .7rem; }
.pied-note { max-width: 42ch; font-size: .87rem; }
.pied-bas { border-top: 1px solid var(--trait); padding-top: 1.2rem; margin: 0; font-size: .84rem; }

/* --- pages intérieures : lecture longue --- */
.document { max-width: 76ch; }
.document h1 { font-size: 2rem; margin: 0 0 .9rem; }
.document h2 { margin-top: 2.3rem; font-size: 1.35rem; }
.document ul { padding-left: 1.2rem; }
.document li { margin-bottom: .4rem; }
.deux-colonnes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.conserve { border-left: 3px solid var(--alerte); }
.jamais { border-left: 3px solid var(--accent); }
.conserve .liste-nette li::before { content: "•"; position: absolute; left: .3rem; color: var(--alerte); }
.jamais .liste-nette li::before { content: "✕"; position: absolute; left: .25rem; color: var(--accent-fonce); font-weight: 700; }

/* --- encadré d'avertissement --- */
.encadre {
  background: #fff; border: 1px solid var(--trait);
  border-left: 3px solid var(--alerte); border-radius: var(--rayon);
  padding: 1.1rem 1.3rem; margin: 1.5rem 0; box-shadow: var(--ombre);
}
.encadre p:last-child { margin-bottom: 0; }

/* --- blocs de commandes (page d'installation) --- */
.commande {
  background: #0e2233; border-radius: var(--rayon);
  padding: 1rem 1.2rem; overflow-x: auto; margin: 1rem 0 1.6rem;
}
.commande code {
  font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  font-size: .88rem; line-height: 1.7; color: #dbe7f0;
  white-space: pre; background: none; padding: 0;
}
code {
  font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  font-size: .9em; background: var(--fond-appui); border-radius: 4px;
  padding: .1rem .35rem; color: var(--encre);
}

/* --- porte d'accès (PIN) --- */
.porte { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(22, 163, 74, .1), transparent 65%),
    var(--fond-doux); }
.porte-carte { background: #fff; border: 1px solid var(--trait); border-radius: 20px;
  padding: 2.6rem 2.4rem; max-width: 420px; width: 100%; text-align: center;
  box-shadow: var(--ombre-forte); }
.porte-carte .pastille-icone { margin: 0 auto 1.1rem; }
.porte-carte h1 { font-size: 1.5rem; }
.porte-carte p { color: var(--texte-doux); font-size: .95rem; }
.porte-pin { width: 100%; padding: .9rem 1rem; font-size: 1.5rem; letter-spacing: .5em;
  text-indent: .5em; text-align: center; border: 1.5px solid var(--trait); border-radius: 12px;
  outline: none; font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  background: var(--fond-doux); color: var(--encre); transition: border-color .18s; }
.porte-pin:focus { border-color: var(--accent); background: #fff; }
.porte-carte .bouton { width: 100%; margin-top: 1.1rem; }
.porte-erreur { color: var(--refus); font-weight: 600; font-size: .9rem; min-height: 1.3em;
  margin: .8rem 0 0; }
.porte-carte.secoue { animation: secousse .4s; }
@keyframes secousse {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* --- réactivité --- */
@media (max-width: 900px) {
  .heros-grille { grid-template-columns: 1fr; gap: 2.5rem; }
  main section { padding: 3.2rem 0; }
}
