/* =========================================================================
   PB DIGITAL SOLUTIONS - direction « epure »
   Les deux mondes restent : le studio en clair, l editeur en noir.
   Ce qui part, et c est tout le sujet : les etiquettes en petites capitales
   espacees, les filets dores, les numeros fantomes, les pastilles d etat,
   les etiquettes de technologie, l ecriture manuscrite, le grain, et les
   cadres de 1 px autour de chaque chose. Il reste du blanc, du texte et
   des images. Une seule famille de caracteres, un seul accent.
   ========================================================================= */

:root{
  --blanc:#ffffff;
  --gris:#f5f5f7;          /* le gris des sections, tres leger */
  --noir:#121722;          /* le bleu nuit du monogramme PB, pas un noir pur */
  --noir-2:#1b2130;        /* les tuiles posees sur le bleu nuit */
  --encre:#1d1d1f;         /* le texte, lui, reste neutre */
  --ink:#1d1d1f;
  --ink-2:#6e6e73;         /* texte secondaire sur clair */
  --ligne:#d2d2d7;
  --clair:#f5f5f7;         /* texte sur fond noir */
  --clair-2:#86868b;       /* texte secondaire sur fond noir */
  --or:#8a6410;            /* lien sur fond clair : 5,6:1 */
  --or-vif:#e0a32b;        /* pastille de marque et lien sur fond noir */
  --serif:"Libre Caslon Display",Georgia,"Times New Roman",serif;
  --t:cubic-bezier(.28,.11,.32,1);
  --r:20px;                /* rayon des tuiles */
  --ombre:0 1px 2px rgba(0,0,0,.05), 0 14px 34px rgba(0,0,0,.10);
  --ombre-nuit:0 1px 2px rgba(0,0,0,.3), 0 14px 36px rgba(0,0,0,.4);
  --wrap:1040px;           /* Apple tient dans 980-1024 px, pas plus */
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; overflow-x:clip; }
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto} *{animation:none!important;transition:none!important} }
body{
  background:var(--blanc); color:var(--ink);
  font:400 17px/1.47 "Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  letter-spacing:-.012em; -webkit-font-smoothing:antialiased; overflow-x:clip;
}
img,svg{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ font-weight:700; letter-spacing:-.026em; line-height:1.06; }
/* les grandes phrases, et elles seules, sont a empattements */
.geant,.titre,.porte h2,.rayon > h2,.preuve b{
  font-family:var(--serif); font-weight:400; letter-spacing:-.012em; line-height:1.08; }
.geant{ letter-spacing:-.018em; }

.wrap{ max-width:var(--wrap); margin:0 auto;
  padding-inline:max(22px,env(safe-area-inset-left)); }
.large{ max-width:1340px; }

/* ---------- la barre du haut : fine, floue, discrete ---------- */
.nav{ position:sticky; top:0; z-index:60; height:48px;
  border-bottom:1px solid rgba(0,0,0,.08); }
/* Le fond flou vit sur un pseudo-element : pose sur la barre elle-meme,
   backdrop-filter en ferait un bloc conteneur pour les descendants en
   position:fixed, et le panneau du menu se calerait sur la barre au lieu
   de la fenetre. */
.nav::before{ content:''; position:absolute; inset:0; z-index:-1;
  background:rgba(255,255,255,.72); backdrop-filter:saturate(180%) blur(20px); }
.nav--noir{ border-bottom-color:rgba(255,255,255,.1); }
.nav--noir::before{ background:rgba(0,0,0,.72); }
.nav__in{ display:flex; align-items:center; justify-content:space-between;
  height:48px; gap:8px; }
.nav__l{ display:none; gap:34px; }
@media(min-width:800px){
  .nav__l{ display:flex; }
  /* Cible de 24 px au minimum (WCAG 2.2, critere 2.5.8) : le lien
     devient une boite centree de 24 px de haut et de large, et l ecart
     est reduit d autant pour que l espacement vu reste le meme. */
  .nav__l{ gap:24px; }
  .nav__l a{ display:inline-flex; align-items:center; justify-content:center;
    min-height:24px; min-width:24px; padding:0 5px; }
}
.nav a{ font-size:13px; letter-spacing:-.004em; color:var(--ink);
  opacity:.84; transition:opacity .2s var(--t); }
.nav a:hover{ opacity:1; }
.nav--noir a{ color:var(--clair); }
.marque{ display:flex; align-items:center; gap:9px; opacity:1 !important;
  min-height:26px; }
/* Le vrai logo de PB Digital Solutions, et pas une tuile dessinee en CSS :
   le monogramme officiel (P or, B blanc) decoupe dans Logo PB.png. Le « PB »
   du HTML reste la pour les lecteurs d ecran, il est juste masque. */
.marque i{ width:26px; height:26px; display:block; border-radius:6px;
  background:#00040b url(/logo-mono.png) center/cover no-repeat;
  font-size:0; color:transparent; }
.marque b{ font-weight:600; font-size:14px; letter-spacing:-.016em; }

/* ---------- le surtitre des pages de prestation ---------- */
.etiq{ font-size:13px; letter-spacing:.15em; text-transform:uppercase;
  font-weight:600; color:var(--or); }

/* ---------- le menu du telephone ---------- */
.burger{ display:grid; place-items:center; width:44px; height:44px;
  margin-right:-11px; padding:0; background:none; border:0; cursor:pointer;
  -webkit-tap-highlight-color:transparent; }
@media(min-width:800px){ .burger{ display:none; } }
.burger span{ grid-area:1/1; display:block; width:18px; height:1.5px;
  border-radius:2px; background:var(--ink); transition:transform .34s var(--t); }
.burger span:first-child{ transform:translateY(-3.25px); }
.burger span:last-child{ transform:translateY(3.25px); }
.nav--noir .burger span{ background:var(--clair); }
.nav[data-ouvert] .burger span:first-child{ transform:rotate(45deg); }
.nav[data-ouvert] .burger span:last-child{ transform:rotate(-45deg); }

@media(max-width:799px){
  /* Le panneau se cale sur la FENETRE, jamais sur la barre : il reste ainsi
     a sa place quelle que soit la position de defilement. */
  .nav__l{ display:block; position:fixed; left:0; right:0; top:48px;
    max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px);
    overflow-y:auto; overscroll-behavior:contain;
    padding:4px max(22px,env(safe-area-inset-left))
            calc(22px + env(safe-area-inset-bottom));
    background:var(--blanc); border-bottom:1px solid rgba(0,0,0,.08);
    opacity:0; visibility:hidden; transform:translateY(-8px);
    transition:opacity .3s var(--t), transform .3s var(--t), visibility .3s; }
  .nav--noir .nav__l{ background:#0c1018;
    border-bottom-color:rgba(255,255,255,.1); }
  .nav[data-ouvert] .nav__l{ opacity:1; visibility:visible; transform:none; }
  .nav__l a{ display:block; padding:15px 0; font-size:19px;
    letter-spacing:-.018em; opacity:1;
    border-bottom:1px solid rgba(0,0,0,.07); }
  .nav--noir .nav__l a{ border-bottom-color:rgba(255,255,255,.1); }
  .nav__l a:last-child{ border-bottom:0; }
  /* touch-action: pan-y laisse defiler le panneau lui-meme sur un ecran
     court, et overscroll-behavior empeche le geste de se propager a la page
     en dessous. C est ce qui remplace l ancien verrou de defilement. */
  .nav__l{ touch-action:pan-y; }
}

/* ---------- boutons et liens ---------- */
.pill{ display:inline-block; background:var(--or-vif); color:#171001;
  font-size:17px; font-weight:500; letter-spacing:-.016em;
  padding:12px 23px; border-radius:980px; border:0; cursor:pointer;
  transition:background .2s var(--t); }
.pill:hover{ background:#eeb13c; }
.pill--noir{ background:var(--encre); color:#fff; }
.pill--noir:hover{ background:#3a3a3e; }
.lien{ display:inline-flex; align-items:baseline; gap:4px; color:var(--or);
  font-size:17px; letter-spacing:-.016em; }
.lien::after{ content:"\203A"; font-size:1.22em; line-height:1;
  transform:translateY(.04em); transition:transform .2s var(--t); }
.lien:hover{ text-decoration:underline; }
.lien:hover::after{ transform:translate(3px,.04em); }
.liens{ display:flex; flex-wrap:wrap; gap:14px 30px; }
.sombre .lien{ color:var(--or-vif); }

/* ---------- sections ---------- */
.sec{ padding:clamp(60px,8vw,110px) 0; }
.sec--gris{ background:var(--gris); }
.sec--noir{ background:var(--noir); color:var(--clair); }
.sec--noir h1,.sec--noir h2,.sec--noir h3{ color:#fff; }

.titre{ font-size:clamp(34px,5vw,56px); }
.geant{ font-size:clamp(42px,7.6vw,84px); }
.chapo{ font-size:clamp(19px,2.2vw,26px); line-height:1.38; letter-spacing:-.018em;
  color:var(--ink-2); font-weight:400; }
.sec--noir .chapo{ color:var(--clair-2); }
.centre{ text-align:center; }
.centre .chapo{ max-width:30ch; margin-inline:auto; }
.centre .liens{ justify-content:center; }

/* ---------- les deux portes, en tuiles ---------- */
/* ---------- accueil : la phrase ET les deux mondes sur le premier ecran ----------
   Mesure du 17/11/2026 : sur une fenetre de 975 px, les deux cartes finissaient
   a 1 046 px. Il manquait 71 px. On retire du vide, pas des mots, et la hauteur
   n est jamais calee sur celle de la fenetre : sur un petit portable la page se
   decale proprement au lieu de se couper. */
.ouverture{ padding-top:clamp(40px,4.2vw,58px); padding-bottom:clamp(24px,2.4vw,32px); }
.ouverture .geant{ font-size:clamp(40px,5.1vw,66px); }
.ouverture .chapo{ max-width:52ch; margin-top:16px; }
.ouverture .liens{ margin-top:20px; }
.portes{ display:grid; gap:12px; }
@media(min-width:860px){ .portes{ grid-template-columns:1fr 1fr; } }
.porte{ border-radius:var(--r); padding:clamp(34px,3.6vw,48px) 34px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; min-height:clamp(250px,26vw,340px);
  transition:transform .4s var(--t); }
.porte:hover{ transform:translateY(-2px); }
.porte h2{ font-size:clamp(28px,3.4vw,40px); margin-bottom:10px; }
.porte p{ font-size:clamp(17px,1.5vw,19px); color:var(--ink-2);
  letter-spacing:-.014em; margin-bottom:20px; max-width:26ch; }
.porte--clair{ background:var(--blanc); box-shadow:var(--ombre); }
.porte--noir{ background:var(--noir); color:var(--clair); box-shadow:var(--ombre-nuit); }
.porte--noir h2{ color:#fff; }
.porte--noir p{ color:var(--clair-2); }

/* l apercu d un site, sans cadre ni fausse fenetre */
.vue{ width:100%; max-width:420px; border-radius:12px; overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.14); }
.vue img{ width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center; }
.porte--noir .vue{ box-shadow:0 14px 44px rgba(0,0,0,.6); }

/* la rangee de logos, sans cadre */
.logos{ display:flex; flex-wrap:wrap; justify-content:center; gap:22px; }
.logos img{ width:44px; height:44px; object-fit:contain; opacity:.92; }

/* ---------- faits, sans encadrement ---------- */
.faits{ display:grid; gap:clamp(30px,4vw,56px); text-align:center; }
@media(min-width:720px){ .faits{ grid-template-columns:repeat(4,1fr); } }
.fait b{ display:block; font-size:clamp(34px,4vw,48px); font-weight:700;
  letter-spacing:-.03em; line-height:1; margin-bottom:10px; }
.fait span{ font-size:15px; color:var(--ink-2); letter-spacing:-.01em; }
.sec--noir .fait span{ color:var(--clair-2); }

/* ---------- tuiles de contenu ---------- */
.tuiles{ display:grid; gap:12px; }
@media(min-width:760px){ .tuiles--2{ grid-template-columns:1fr 1fr; } }
@media(min-width:720px){ .tuiles--3{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1040px){ .tuiles--3{ grid-template-columns:repeat(3,1fr); } }
.tuile{ background:var(--gris); border-radius:var(--r);
  padding:clamp(28px,3vw,38px); display:flex; flex-direction:column; }
.sec--noir .tuile{ background:var(--noir-2); }
.tuile h3{ font-size:22px; margin-bottom:8px; }
.tuile p{ font-size:16px; color:var(--ink-2); letter-spacing:-.012em; }
.sec--noir .tuile p{ color:var(--clair-2); }
.tuile .lien{ margin-top:18px; font-size:16px; }

/* tuile produit : l image en haut, le texte dessous */
.produit{ background:#1c2434; box-shadow:var(--ombre-nuit); border-radius:var(--r); overflow:hidden;
  display:flex; flex-direction:column; transition:transform .4s var(--t); }
.produit:hover{ transform:translateY(-3px); }
.produit__img{ background:#0d1118; }
.produit__img img{ width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center; }
.produit__vide{ aspect-ratio:16/10; background:#161c28; }
.produit__b{ padding:26px 28px 30px; display:flex; flex-direction:column; flex:1; }
.produit__h{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.produit__h img{ width:30px; height:30px; object-fit:contain; border-radius:7px; }
.produit__h h3{ font-size:22px; color:#fff; }
.produit p{ font-size:16px; color:var(--clair-2); letter-spacing:-.012em; }
.produit .lien{ margin-top:16px; font-size:16px; color:var(--or-vif); }
.bientot{ font-size:13px; color:var(--clair-2); margin-top:16px; }

/* ---------- rayon ---------- */
.rayon{ margin-top:clamp(48px,6vw,86px); }
.rayon:first-of-type{ margin-top:0; }
.rayon > h2{ font-size:clamp(26px,3vw,34px); margin-bottom:6px; }
.rayon > p{ font-size:17px; color:var(--clair-2); margin-bottom:26px;
  letter-spacing:-.014em; }

/* ---------- prestations, en liste aeree ---------- */
.liste{ display:grid; gap:clamp(26px,3vw,44px); }
@media(min-width:720px){ .liste{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .liste{ grid-template-columns:repeat(3,1fr); } }
.liste h3{ font-size:19px; margin-bottom:7px; }
.liste p{ font-size:16px; color:var(--ink-2); letter-spacing:-.012em; }

/* ---------- etapes ---------- */
.etapes{ display:grid; gap:clamp(26px,3vw,40px); counter-reset:e; }
@media(min-width:760px){ .etapes{ grid-template-columns:repeat(4,1fr); } }
.etape{ counter-increment:e; }
.etape::before{ content:counter(e,decimal-leading-zero);
  display:block; font-size:14px; font-weight:600; color:var(--ink-2);
  margin-bottom:12px; letter-spacing:0; }
.etape h3{ font-size:18px; margin-bottom:6px; }
.etape p{ font-size:16px; color:var(--ink-2); }

/* ---------- realisations ---------- */
.works{ display:grid; gap:12px; }
@media(min-width:860px){ .works{ grid-template-columns:1fr 1fr; } }
.work{ background:var(--blanc); box-shadow:var(--ombre); border-radius:var(--r); overflow:hidden;
  display:flex; flex-direction:column; transition:transform .4s var(--t); }
.work:hover{ transform:translateY(-3px); }
.work img{ width:100%; aspect-ratio:16/10; object-fit:cover; object-position:top center; }
.work__b{ padding:28px 30px 34px; }
.work__b h3{ font-size:22px; margin-bottom:8px; }
.work__b p{ font-size:16px; color:var(--ink-2); }
.work__b .lien{ margin-top:16px; font-size:16px; }

/* ---------- tarifs ---------- */
.prix{ display:grid; gap:clamp(28px,3vw,48px); }
@media(min-width:800px){ .prix{ grid-template-columns:repeat(3,1fr); } }
.offre h3{ font-size:21px; margin-bottom:4px; }
.offre .de{ font-size:14px; color:var(--ink-2); }
.offre .montant{ font-size:clamp(34px,3.6vw,44px); font-weight:700;
  letter-spacing:-.03em; margin:2px 0 18px; }
.offre ul{ list-style:none; }
.offre li{ font-size:16px; color:var(--ink-2); padding:9px 0;
  border-top:1px solid var(--ligne); }
.offre li:last-child{ border-bottom:1px solid var(--ligne); }
.offre .lien{ margin-top:20px; font-size:16px; }
.note{ font-size:14px; color:var(--ink-2); margin-top:clamp(24px,3vw,36px); }

/* ---------- formulaire ---------- */
.form{ max-width:660px; margin-inline:auto; }
.champs{ display:grid; gap:16px; }
@media(min-width:680px){ .champs{ grid-template-columns:1fr 1fr; } }
.champ{ display:flex; flex-direction:column; gap:7px; }
.large2{ grid-column:1 / -1; }
.champ label{ font-size:13px; color:var(--ink-2); letter-spacing:-.008em; }
.champ input,.champ select,.champ textarea{
  font:400 17px/1.4 inherit; color:var(--ink); background:var(--blanc);
  border:1px solid var(--ligne); border-radius:12px; padding:13px 15px;
  transition:border-color .2s var(--t); width:100%; }
.sec--gris .champ input,.sec--gris .champ select,.sec--gris .champ textarea{ background:#fff; }
.champ input:focus,.champ select:focus,.champ textarea:focus{
  outline:none; border-color:var(--ink); }
.champ textarea{ resize:vertical; min-height:130px; }
.piege{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__bas{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 22px;
  margin-top:26px; }
.form__bas p{ font-size:13px; color:var(--ink-2); flex:1 1 280px; }

/* ---------- avis ---------- */
.avis{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:10px 20px; text-align:center; }
.avis p{ font-size:17px; color:var(--ink-2); letter-spacing:-.014em; }
.sec--noir .avis p{ color:var(--clair-2); }

/* ---------- pied ----------
   Centre, avec le monogramme en couleur : un pied de page n est pas une
   ligne de mentions legales reléguee en bas a gauche, c est la derniere
   chose que le visiteur voit. */
.pied{ background:var(--gris); padding:clamp(40px,5vw,62px) 0 clamp(30px,4vw,44px);
  font-size:13px; color:var(--ink-2); letter-spacing:-.006em; text-align:center; }
.pied__in{ display:flex; flex-direction:column; align-items:center;
  gap:clamp(18px,2.2vw,26px); }
.pied .marque{ justify-content:center; }
.pied .marque i{ width:34px; height:34px; border-radius:8px; }
.pied .marque b{ font-size:17px; }
.pied__l{ display:flex; flex-wrap:wrap; justify-content:center;
  gap:10px clamp(18px,2.2vw,30px); font-size:14px; }
.pied__l a{ color:var(--ink); opacity:.78; transition:opacity .2s var(--t);
  display:inline-flex; align-items:center; min-height:24px; }
.pied__l a:hover{ opacity:1; text-decoration:underline; }
.pied__bas{ width:100%; padding-top:clamp(16px,2vw,22px);
  border-top:1px solid var(--ligne); display:flex; flex-direction:column;
  align-items:center; gap:9px; }
.pied__k{ display:inline-flex; align-items:center; gap:8px; min-height:24px; }
.pied__k img{ width:17px; height:17px; object-fit:contain; opacity:.75; }
.pied__k:hover{ color:var(--ink); }

/* ---------- la table des deux portes ----------
   Les tuiles sont des feuilles blanches posees sur un plan gris : c est le
   plan qui cree le cadre, pas un filet. */
.salle{ background:#e9e9ee; padding-block:clamp(34px,3.6vw,52px); }
.salle .portes{ gap:clamp(14px,1.6vw,22px); }

/* ---------- une preuve par monde, sous sa porte ----------
   MEME conteneur et MEME gouttiere que les portes, sinon les deux colonnes
   ne tombent pas sous les deux tuiles. */
.preuves{ display:grid; gap:clamp(30px,3vw,48px) clamp(14px,1.6vw,22px);
  text-align:center; }
@media(min-width:820px){ .preuves{ grid-template-columns:1fr 1fr; } }
.preuve{ padding-inline:clamp(20px,3vw,46px); }
.preuve b{ display:block; font-size:clamp(26px,2.8vw,34px); font-weight:700;
  letter-spacing:-.026em; margin-bottom:10px; }
.preuve > span{ display:block; font-size:16px; color:var(--ink-2);
  letter-spacing:-.012em; }
.preuve .logos{ margin-top:22px; display:grid; justify-items:center;
  align-items:center; gap:clamp(10px,1.4vw,18px);
  grid-template-columns:repeat(3,1fr); max-width:190px; margin-inline:auto; }
/* Les neuf de front seulement quand la colonne est assez large : en dessous
   de 1150 px ils tombaient a 27 px et devenaient illisibles. Plus bas, un
   carre de 3 sur 3 a pleine taille, qui a l air voulu. */
@media(min-width:1150px){
  .preuve .logos{ grid-template-columns:repeat(9,1fr); max-width:none; }
}
.preuve .logos img{ width:100%; max-width:44px; height:auto; aspect-ratio:1; }
.preuve .lien{ margin-top:20px; font-size:16px; }

/* ---------- le banc d essai, en une ligne ----------
   La page se mesure elle-meme devant le visiteur. Rien n est ecrit en dur :
   un concurrent ne peut pas copier cette ligne sans avoir un site rapide. */
.banc{ text-align:center; font-size:15px; color:var(--ink-2);
  letter-spacing:-.01em; padding-block:clamp(30px,4vw,46px);
  /* Les quatre mesures se suivent sans aucune espace dans le HTML : le
     navigateur n a donc nulle part ou couper, et la derniere sortait de
     l ecran sur telephone, rognee sans que rien ne le signale. En rangee
     souple, chaque mesure devient un element a part, donc un point de
     coupure. La phrase de bas de bloc garde sa ligne entiere. */
  display:flex; flex-wrap:wrap; justify-content:center; align-items:baseline;
  row-gap:4px; }
.banc > div{ flex-basis:100%; }
.banc b{ font-weight:600; color:var(--ink); }
.banc span{ white-space:nowrap; }
.banc i{ font-style:normal; opacity:.4; margin-inline:10px; }

/* ---------- une section en deux colonnes : titre a gauche, texte a droite ---------- */
.deux{ display:grid; gap:clamp(18px,2.4vw,40px); align-items:start; }
@media(min-width:900px){ .deux{ grid-template-columns:minmax(0,.78fr) minmax(0,1.5fr); } }
.deux > div > p + p{ margin-top:14px; }
.deux .mention{ margin-top:26px; font-size:15px; color:var(--ink-2); }
.deux .mention a{ text-decoration:underline; }

/* En eclaircissant les tuiles de logiciels (#1b2130 vers #1c2434) pour qu elles
   se detachent du bleu nuit, le gris secondaire est tombe a 4,29:1, sous le
   seuil. Les descriptions et la mention « bientot » prennent un gris plus clair. */
.produit p,.produit .bientot{ color:#9aa4b4; }

/* etats du formulaire, ecrits par form.js */
.form__etat{ margin-top:16px; font-size:15px; }
.form__etat--ok{ color:#1d6b3f; font-weight:500; }
.form__etat--erreur{ color:#a0342a; font-weight:500; }

/* ---------- page de texte : legales, conditions, kit ----------
   Ecrit ici et non plus en bloc <style> dans chaque page : la regle
   etait recopiee dans trois pages, la peau sombre dans quatre. */
.doc{ max-width:720px; }
.doc h1,.doc h2{ font-family:var(--serif); font-weight:400; letter-spacing:-.012em; line-height:1.08; }
.doc h1{ font-size:clamp(38px,5.6vw,62px); margin-bottom:22px; }
.doc h2{ font-size:clamp(22px,2.6vw,28px); margin:40px 0 10px; }
.doc h3{ font-size:19px; margin:26px 0 6px; }
.doc p,.doc li{ font-size:17px; line-height:1.6; color:var(--ink-2); }
.doc p{ margin:0 0 14px; }
.doc ul,.doc ol{ padding-left:20px; margin:0 0 14px; }
.doc li{ margin-bottom:8px; }
.doc strong{ color:var(--ink); }
/* :not(.pill) est indispensable : sans lui cette regle de conteneur
   (0,2,0) l emporte sur le composant .pill (0,1,0) et repeint le bouton
   en or. Le piege de specificite deja paye sur .page a et .header__cta. */
.doc a:not(.pill):not(.tuile){ color:var(--or); text-decoration:underline; text-underline-offset:3px; }
/* :not(.tuile) est indispensable : une carte qui EST un lien se faisait
   repeindre entierement en or souligne, titre et texte compris. C est le
   meme piege de specificite que .pill, paye une quatrieme fois le
   15 novembre 2026 sur les cartes du blog. */
.doc dt{ font-weight:600; color:var(--ink); margin-top:14px; }
.doc dd{ margin:4px 0 0; color:var(--ink-2); font-size:17px; line-height:1.6; }

/* ---------- la peau sombre d une page entiere ----------
   Posee par class="sombre" sur le body. La specificite ajoutee par
   .sombre l emporte sur les regles du monde clair ci-dessus. */
.sombre{ background:var(--noir); color:var(--clair); }
.sombre h1,.sombre h2,.sombre h3{ color:#fff; }
.sombre .doc p,.sombre .doc li,.sombre .doc dd{ color:var(--clair-2); }
.sombre .doc strong{ color:var(--clair); }
.sombre .doc a:not(.pill):not(.tuile){ color:var(--or-vif); }
.sombre .chapo{ color:var(--clair-2); }
.sombre .lien{ color:var(--or-vif); }
.sombre .pied{ background:#0d1119; color:var(--clair-2); }
.sombre .pied__bas{ border-top-color:rgba(255,255,255,.12); }
.sombre .pied .marque b{ color:#fff; }
.sombre .pied__l a{ color:var(--clair); opacity:.86; }
.sombre .pied__l a:hover{ opacity:1; }
.sombre .pied__k{ color:var(--clair-2); }
.sombre .pied__k img{ opacity:.95; }

/* ---------- lien d evitement (WCAG 2.4.1) ----------
   Il existait dans l ancienne direction (.skip-link d atelier.css) et a
   disparu a la refonte du 10 novembre, alors que la declaration
   d accessibilite affirmait toujours sa presence. Sans lui, qui navigue
   au clavier retraverse les six liens de navigation a chaque page. */
.evitement{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--ink); color:#fff; padding:10px 16px; border-radius:6px;
  font-size:15px; font-weight:500; text-decoration:none;
}
.evitement:focus{ left:12px; top:12px; }
.sombre .evitement{ background:#fff; color:var(--noir); }

/* Trois paliers regles sur la HAUTEUR de la fenetre, pas sur sa largeur :
   c est la hauteur qui coupe. Mesure du 17/11/2026 dans le navigateur de
   Pascal : ecran 1536x864, mais fenetre de 695 px seulement, les barres de
   Chrome en prennent 169. On ne se fie donc jamais a la taille de l ecran.
   Sous 860 px de large la page passe en colonne et rien de tout ceci ne
   s applique. La hauteur n est jamais calee sur 100vh : la page se decale,
   elle ne se coupe pas. */
@media(min-width:860px) and (max-height:900px){
  .ouverture{ padding-top:clamp(26px,3vw,38px); padding-bottom:clamp(20px,2vw,26px); }
  .ouverture .geant{ font-size:clamp(38px,4.3vw,56px); }
  .ouverture .chapo{ margin-top:12px; font-size:clamp(18px,1.6vw,21px); }
  .ouverture .liens{ margin-top:16px; }
  .salle{ padding-block:clamp(24px,2.6vw,36px); }
  .porte{ min-height:clamp(220px,21vw,286px); padding:clamp(28px,3vw,38px) 34px; }
}
@media(min-width:860px) and (max-height:760px){
  .ouverture{ padding-top:30px; padding-bottom:20px; }
  .ouverture .geant{ font-size:clamp(36px,3.6vw,52px); }
  .ouverture .chapo{ margin-top:12px; font-size:19px; }
  .ouverture .liens{ margin-top:16px; }
  .salle{ padding-block:28px; }
  .porte{ min-height:260px; padding:30px 34px; }
  .porte h2{ font-size:clamp(26px,2.6vw,34px); }
  .porte p{ font-size:18px; margin-bottom:16px; }
}
@media(min-width:860px) and (max-height:640px){
  .ouverture{ padding-top:22px; padding-bottom:16px; }
  .ouverture .geant{ font-size:clamp(32px,3.1vw,44px); }
  .ouverture .chapo{ margin-top:10px; font-size:18px; }
  .ouverture .liens{ margin-top:14px; }
  .salle{ padding-block:22px; }
  .porte{ min-height:212px; padding:24px 34px; }
  .porte p{ margin-bottom:14px; }
}

/* =========================================================================
   FINITIONS - audit du 17/11/2026
   Au repos, la page est identique au pixel pres. Ce qui s ajoute ne se voit
   qu au clavier, a l appui du doigt, et en bout de ligne.
   ========================================================================= */

/* 1. L anneau de focus clavier. Il n existait aucune regle a nous : on
      dependait de l anneau par defaut du navigateur, que les champs de
      formulaire retiraient meme completement (outline:none plus haut).
      :focus-visible ne se declenche qu au clavier, jamais a la souris,
      donc rien ne change pour qui clique. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--or); outline-offset:3px; border-radius:4px; }
.sombre :where(a,button):focus-visible,
.sec--noir :where(a,button):focus-visible,
.nav--noir :where(a,button):focus-visible,
.porte--noir:focus-visible,
.produit:focus-visible{ outline-color:var(--or-vif); }
.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible{
  outline:2px solid var(--or); outline-offset:2px; border-color:var(--ink); }
.pill:focus-visible{ outline-offset:4px; }

/* 2. Le retour au clic. Sans lui, sur telephone, le doigt cache le bouton
      et rien ne confirme l appui : on reclique, et on envoie deux fois. */
.pill{ transition:background .2s var(--t), transform .12s var(--t); }
.pill:active{ transform:translateY(1px) scale(.985); }
.lien:active{ opacity:.65; }
.porte:active,.produit:active,.work:active,.tuile:active{ transform:scale(.994); }
.burger{ transition:transform .12s var(--t); }
.burger:active{ transform:scale(.93); }

/* 3. Les veuves typographiques : un mot seul sur la derniere ligne d un
      titre. balance repartit les lignes, pretty protege juste la derniere. */
h1,h2,h3,.geant,.titre,.porte h2,.preuve b,.offre h3{ text-wrap:balance; }
.chapo,.doc p,.tuile p,.produit p,.work__b p,.preuve > span,.offre li{ text-wrap:pretty; }

/* 4. Les chiffres d un prix doivent s aligner d une offre a l autre :
      sans chasse fixe, le 1 est plus etroit que le 8 et la colonne danse. */
.offre .montant,.offre .de{ font-variant-numeric:tabular-nums; }

/* 5. La page courante dans le menu. L attribut est pose par site.js. */
.nav__l a[aria-current]{ opacity:1; }
.nav__l a[aria-current="page"]{ font-weight:600; }
.pied__l a[aria-current="page"]{ opacity:1; }
