/* ============================================================================
   HELVETIC CONTROL — le système de design du SITE PUBLIC
   ----------------------------------------------------------------------------
   6 octobre 2026 (Dylan) : « que toutes les pages donnent l'impression d'avoir
   été conçues en même temps, avec le même langage graphique… moderne, premium,
   sobre, légèrement inspiré de l'univers Apple ». Les couleurs ne changent pas
   (encre, papier, signal rouge) : seuls la typographie, les formes, les
   boutons, les icônes, les cartes et les espacements sont mis d'accord.

   24 octobre 2026 (Dylan, sur la maquette validée) : le site prend le design
   system de FIZE et du portail — fond beige et sections crème, encre, un
   seul gris, brique en accent, Urbanist, surtitres en capitales, boutons
   principaux noirs, onglets en pilules sur une piste, cartes crème à filet
   fin, champs couleur du fond avec liseré, sections sombres aux cartes du
   mode sombre de FIZE, aucun dégradé hormis le voile de la photo du héros.
   Les jetons ci-dessous portent ce dessin ; la section finale « LE DESSIN DE
   FIZE ET DU PORTAIL » règle les composants que les styles propres à chaque
   page écrivaient en dur (blanc, rouge, dégradés) et passe devant eux.

   Une seule source pour ce que les pages partagent — jetons, base, en-tête,
   héros, titres de section, boutons, icônes, cartes, champs, pied de page.
   Chaque page (index.html, portail-entreprise.html) ne garde dans son <style>
   que ses sections à elle, écrites avec ces jetons.

   Jetons
   • Titres : héros (H1) et section (H2) en 700, lignes serrées ; titre de
     carte (H3) 18 px en 600 ; petit titre (H4) 15 px en 600. Surtitres en
     capitales espacées, 12 px, 600.
   • Texte : introduction 17 px, courant 16 px, cartes 15 px, petit 14 px,
     légende 13 px. Graisses : 400, 500, 600, 700 — rien d'autre.
   • Boutons : 52 px (grand), 44 px (petit), en pilule, 600.
   • Icônes : un seul trait de 1,75 (celui du portail), 16 px dans un texte ou
     un bouton, 20 px dans une pastille ronde de 44 px (32 px pour les petites).
   • Arrondis : 10 (étiquettes), 14 (champs, petits encadrés), 20 (cartes),
     28 (grands blocs), pilule (boutons).
   • Bordures : 1 px pour ce qui contient, 1,5 px pour ce qu'on touche.
   • Ombres : seulement ce qui flotte — sur la photo du héros, les fenêtres.
   • Espacements : sections 88 px (64 px sur téléphone), 48 px entre un titre
     de section et son contenu, 20 px entre des cartes, 16 px entre des tuiles.
   ========================================================================== */

/* La police de FIZE et du portail (licence SIL OFL), les mêmes fichiers que le portail. */
@font-face{font-family:'Urbanist';font-weight:400;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-400.woff2) format('woff2');}
@font-face{font-family:'Urbanist';font-weight:500;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-500.woff2) format('woff2');}
@font-face{font-family:'Urbanist';font-weight:600;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-600.woff2) format('woff2');}
@font-face{font-family:'Urbanist';font-weight:700;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-700.woff2) format('woff2');}
@font-face{font-family:'Urbanist';font-weight:800;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-800.woff2) format('woff2');}
@font-face{font-family:'Urbanist';font-weight:900;font-style:normal;font-display:swap;src:url(/espace-client/assets/polices/urbanist-900.woff2) format('woff2');}

:root{
  /* Couleurs — la palette de FIZE et du portail (24 octobre 2026) : encre,
     fond beige (--paper), crème pour les cartes et les sections claires
     (--white, qui n'est plus blanc), brique en accent (--signal), un seul
     gris, vert sauge pour « ok ». Avant : encre #15130F, papier #F5F1EA,
     blanc pur, rouge #E30613, gris #6E6C64. */
  --ink:#17191A; --ink-70:#4A4D48; --ink-50:rgba(23,25,26,.55);
  --paper:#D6D0C5; --paper-deep:#C5BFB5; --white:#EFEBE3;
  --signal:#C8431F; --signal-deep:#9E2F21; --signal-pale:rgba(200,67,31,.10); --signal-text:#932E14;
  --gray:#4A4D48; --line:rgba(60,45,25,.18); --line-soft:rgba(60,45,25,.10);
  --ok:#2F5C50; --ok-pale:rgba(47,92,80,.12);
  /* Les tons de FIZE que les composants réclament en plus. */
  --creme:#EFEBE3; --niveau2:#E4DFD5; --niveau2-bord:#CDC9C0; --champ:#D6D0C5; --champ-bord:#C9C4BB;
  --sombre-carte:#292725; --sombre-bord:#4A4641;

  /* Une seule police, celle de FIZE et du portail : Urbanist (@font-face
     ci-dessus, servie depuis le dépôt), le système en secours. */
  --font-body:'Urbanist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display:var(--font-body);
  --font-mono:var(--font-body);

  /* Typographie */
  --fs-hero:clamp(2.15rem, 1.5rem + 2.6vw, 3.25rem);
  --fs-h2:clamp(1.8rem, 1.45rem + 1.5vw, 2.5rem);
  --fs-h3:1.125rem;
  --fs-h4:.9375rem;
  --fs-lead:1.0625rem;
  --fs-body:1rem;
  --fs-card:.9375rem;
  --fs-small:.875rem;
  --fs-caption:.8125rem;
  --fs-label:.75rem;
  /* Graisses de FIZE : 500 courant, 600 boutons et libellés, 800 titres. */
  --fw-regular:500; --fw-medium:500; --fw-semibold:600; --fw-bold:800;
  --lh-hero:1.08; --lh-h2:1.12; --lh-title:1.3; --lh-body:1.6;
  --ls-title:-.02em; --ls-label:.05em;

  /* Formes : 10 pour les champs et les étiquettes, 20 pour les cartes, 24 pour les grands blocs, pilule pour les boutons. */
  --r-xs:10px; --r-sm:10px; --r-md:20px; --r-lg:20px; --r-pill:999px;
  --border:1px solid var(--line);
  --border-control:1px solid rgba(60,45,25,.26);

  /* Ombres : à plat, comme FIZE — un filet d'ombre sous les cartes, une vraie ombre seulement sous la fenêtre. */
  --shadow-sm:0 1px 2px rgba(60,45,25,.12);
  --shadow-float:0 1px 2px rgba(60,45,25,.12);
  --shadow-md:var(--shadow-float);
  --shadow-lg:0 18px 40px -16px rgba(70,50,30,.5);

  /* Espacements */
  --space-section:88px;
  --space-head:48px;
  --gap-cards:20px;
  --gap-tiles:16px;
  --pad-card:24px;
  --pad-block:56px 60px;

  /* Boutons et icônes */
  --btn-h:52px; --btn-h-sm:44px;
  --icon-sm:16px; --icon-md:20px;
  --icon-box:44px; --icon-box-sm:32px;
  --icon-stroke:1.75;
}
@media(max-width:767px){
  :root{--space-section:64px; --space-head:36px; --gap-cards:16px; --pad-card:22px; --pad-block:32px 24px;}
}

/* ------------------------------------------------------------------ base */
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; scroll-padding-top:92px;}
body{font-family:var(--font-body); font-size:var(--fs-body); color:var(--ink); background:var(--white); -webkit-font-smoothing:antialiased; line-height:1.55;}
button, input, select, textarea{font-family:inherit;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
::selection{background:var(--signal); color:#fff;}
:focus-visible{outline:3px solid rgba(227,6,19,.4); outline-offset:2px;}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important;}
}

.container{max-width:1200px; margin:0 auto; padding:0 24px;}
@media(min-width:768px){.container{padding:0 44px;}}
@media(min-width:1600px){.container{max-width:1440px;}}
@media(min-width:2000px){.container{max-width:1620px;}}

section{padding:var(--space-section) 0;}
.bg-cream{background:var(--paper);}
.bg-white{background:var(--white);}
.bg-black{background:var(--ink); color:#fff;}

h1,h2,h3,h4{font-family:var(--font-display); letter-spacing:var(--ls-title);}
sup{color:var(--signal-text); font-weight:var(--fw-bold);}
.text-accent{color:var(--signal-text);}

/* Une seule épaisseur de trait pour toutes les icônes (celle du portail). */
svg[stroke]{stroke-width:var(--icon-stroke);}

/* ------------------------------------------------- titres de section */
.section-head{text-align:center; max-width:660px; margin:0 auto;}
.eyebrow{font-size:var(--fs-label); font-weight:var(--fw-semibold); letter-spacing:var(--ls-label); text-transform:uppercase; color:var(--signal-text); margin-bottom:14px;}
.section-head h2{font-size:var(--fs-h2); font-weight:var(--fw-bold); line-height:var(--lh-h2);}
.section-head p.lead{margin-top:18px; font-size:var(--fs-lead); color:var(--gray); line-height:var(--lh-body);}

/* ------------------------------------------------------------- boutons
   Grand (52 px) et petit (44 px), toujours en pilule. Le survol change la
   teinte, sans faire sauter le bouton ni l'entourer d'un halo. */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:var(--btn-h); padding:0 28px; border-radius:var(--r-pill); border:1.5px solid transparent; font-family:inherit; font-size:var(--fs-card); font-weight:var(--fw-semibold); line-height:1.2; letter-spacing:0; text-align:center; cursor:pointer; -webkit-appearance:none; appearance:none; transition:background .2s, color .2s, border-color .2s;}
.btn svg{width:var(--icon-sm); height:var(--icon-sm); flex-shrink:0;}
.btn-primary{background:var(--signal); color:#fff;}
.btn-primary:hover{background:var(--signal-deep);}
.btn-dark{background:var(--ink); color:#fff;}
.btn-dark:hover{background:var(--signal);}
.btn-clair{background:#fff; color:var(--ink);}
.btn-clair:hover{background:#fff; color:var(--signal-text);}
.btn-outline{background:transparent; color:var(--ink); border-color:var(--line);}
.btn-outline:hover{border-color:var(--ink); background:var(--paper);}
.btn-sm{min-height:var(--btn-h-sm); padding:0 20px; font-size:var(--fs-small);}
.btn:disabled{opacity:.6; cursor:not-allowed;}
/* La flèche dans son rond, en bout de bouton : la seule icône d'un bouton
   texte, et toujours la même. */
.btn__fleche{width:26px; height:26px; border-radius:50%; background:#fff; color:var(--signal); display:inline-flex; align-items:center; justify-content:center; margin:0 -14px 0 2px; flex-shrink:0;}
.btn__fleche svg{width:var(--icon-sm); height:var(--icon-sm);}

/* ------------------------------------------- icônes dans une pastille */
.icon-circle{width:var(--icon-box); height:var(--icon-box); border-radius:50%; background:var(--signal-pale); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--signal-text);}
.icon-circle svg{width:var(--icon-md); height:var(--icon-md);}
.bg-black .icon-circle{background:rgba(227,6,19,.16);}

/* -------------------------------------------------------------- cartes */
.card{background:#fff; border:var(--border); border-radius:var(--r-md);}
.opt{color:var(--gray); font-weight:var(--fw-medium);}
.d{font-size:var(--fs-caption); color:var(--gray);}
.t{font-weight:var(--fw-semibold); font-size:var(--fs-small); color:var(--ink);}
/* Les étapes d'un déroulement (« Le contrôle » de l'accueil, « Comment ça
   marche » du portail) : la même carte, sombre sur l'encre, claire sur le
   papier — un trait rouge, le numéro, le titre, la phrase. */
.process-card, .pe-etape{position:relative; min-height:208px; padding:var(--pad-card); border-radius:var(--r-md);}
.process-card::before, .pe-etape::before{content:''; position:absolute; top:22px; left:24px; width:26px; height:3px; background:var(--signal); border-radius:2px;}
.process-card .num, .pe-etape .num{display:block; font-family:var(--font-mono); font-size:1.875rem; line-height:1; font-weight:var(--fw-bold); color:var(--signal-text); letter-spacing:-.02em; margin:20px 0 20px;}
.process-card .title, .pe-etape .title{display:block; font-family:var(--font-display); font-size:var(--fs-h4); line-height:var(--lh-title); font-weight:var(--fw-semibold); letter-spacing:-.01em;}
.process-card .desc, .pe-etape .desc{display:block; margin-top:8px; font-size:var(--fs-small); line-height:var(--lh-body);}
@media(max-width:640px){.process-card, .pe-etape{min-height:0;}}

/* -------------------------------------------------------------- en-tête */
header{position:sticky; top:0; z-index:100; background:rgba(245,241,234,.88); backdrop-filter:blur(12px); border-bottom:var(--border);}
.nav-inner{display:flex; align-items:center; justify-content:space-between; height:84px; gap:20px;}
.logo img{height:42px; width:auto; display:block;}
nav.desktop{display:none; align-items:center; gap:28px; margin-left:auto;}
nav.desktop a{font-size:var(--fs-caption); font-weight:var(--fw-semibold); color:var(--ink); position:relative; padding-bottom:6px;}
nav.desktop a.active{color:var(--signal-text);}
nav.desktop a.active::after{content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--signal); border-radius:2px;}
/* Le menu complet ne s'affiche que là où il tient sur une ligne (audit du 16 novembre 2026 ; Dylan : « corrige tout »).
   Il s'affichait dès 960 px de large, alors que l'en-tête complet de l'accueil en réclame 1145 (logo 228, menu 463,
   boutons 168 et 138, trois écarts de 20, marges 88) et celui de « Le portail entreprise » 1097 : entre les deux —
   tablette couchée, fenêtre sur un demi-écran — « Le contrôle », « À propos », « Portail entreprise » et le numéro de
   téléphone se cassaient sur deux lignes. À 1180 px il reste 18 px de marge sous Windows, où la barre de défilement en
   prend 17. En dessous, c'est l'en-tête des petits écrans, déjà dessiné : le logo, le téléphone, le menu. Les cinq
   règles de l'en-tête et du tiroir portent ce même seuil. */
@media(min-width:1180px){nav.desktop{display:flex;} .cta-desktop{display:inline-flex !important;}}
/* Les deux boutons de l'en-tête — l'espace client, le téléphone — ont la
   même hauteur : celle d'un petit bouton. */
.cta-espace, .cta-desktop{align-items:center; gap:8px; min-height:var(--btn-h-sm); border-radius:var(--r-pill); border:var(--border-control); font-family:var(--font-body); font-size:var(--fs-small); font-weight:var(--fw-semibold); letter-spacing:0; color:var(--ink); transition:border-color .2s, background .2s;}
.cta-espace{display:none; padding:0 18px; background:transparent;}
.cta-espace:hover{border-color:var(--ink); background:var(--white);}
.cta-espace svg{width:var(--icon-sm); height:var(--icon-sm); flex-shrink:0;}
@media(min-width:1180px){.cta-espace{display:inline-flex;}}
/* Le numéro de téléphone ne se coupe jamais en deux (16 novembre 2026). */
.cta-desktop{display:none; padding:0 18px 0 6px; background:var(--white); white-space:nowrap;}
.cta-desktop:hover{border-color:var(--signal); background:var(--signal-pale);}
.cta-desktop__icon{width:var(--icon-box-sm); height:var(--icon-box-sm); border-radius:50%; background:var(--signal); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.cta-desktop__icon svg{width:var(--icon-sm); height:var(--icon-sm);}
/* Sur téléphone, des boutons ronds de 44 px, comme les autres boutons à icône. */
.mobile-actions{display:flex; align-items:center; gap:10px; margin-left:auto;}
.mobile-devis, .mobile-menu-btn, .mobile-espace{display:inline-flex; align-items:center; justify-content:center; width:var(--btn-h-sm); height:var(--btn-h-sm); border-radius:50%;}
.mobile-devis{background:var(--signal); color:#fff;}
.mobile-menu-btn, .mobile-espace{border:var(--border); background:#fff; color:var(--ink); cursor:pointer;}
.mobile-devis svg, .mobile-menu-btn svg, .mobile-espace svg{width:var(--icon-md); height:var(--icon-md);}
@media(min-width:1180px){.mobile-actions{display:none;}}
@media(max-width:640px){
  .nav-inner{height:76px;}
  .logo img{height:34px;}
}
.mobile-drawer-backdrop{position:fixed; inset:0; z-index:190; background:rgba(21,19,15,.4); opacity:0; pointer-events:none; transition:opacity .25s ease;}
.mobile-drawer-backdrop.is-open{opacity:1; pointer-events:auto;}
/* L'ombre ne vient qu'à l'ouverture : fermé, le tiroir attend hors de l'écran
   et son ombre grisait le bord droit des pages claires. */
.mobile-drawer{display:block; position:fixed; z-index:200; top:0; right:0; bottom:0; width:min(86vw,360px); padding:96px 28px 32px; background:#fff; transform:translateX(105%); transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;}
.mobile-drawer.is-open{transform:translateX(0); box-shadow:-20px 0 54px rgba(21,19,15,.18);}
@media(min-width:1180px){.mobile-drawer,.mobile-drawer-backdrop{display:none;}}
.mobile-drawer-close{position:absolute; right:22px; top:20px; width:var(--btn-h-sm); height:var(--btn-h-sm); border:0; border-radius:50%; background:var(--paper); font-size:1.4rem; cursor:pointer; color:var(--ink);}
.mobile-drawer nav{display:flex; flex-direction:column; gap:4px;}
.mobile-drawer nav a{padding:15px 2px; border-bottom:var(--border); font-weight:var(--fw-semibold); font-size:var(--fs-body); color:var(--ink);}
.mobile-drawer nav a.active{color:var(--signal-text);}
.mobile-drawer .btn{margin-top:24px; width:100%;}
.mobile-drawer .btn + .btn{margin-top:10px;}

/* ------------------------------------------------------------- le héros
   Le même sur les deux pages : la photo du Cervin sous un voile papier qui
   s'efface vers la droite. */
.hero{position:relative; overflow:hidden; min-height:640px; display:flex; flex-direction:column; justify-content:center; padding:0;}
.hero img.bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:70% center; z-index:0;}
.hero-scrim{position:absolute; inset:0; z-index:1; background:linear-gradient(100deg, var(--paper) 0%, var(--paper) 30%, rgba(245,241,234,.95) 40%, rgba(245,241,234,.72) 51%, rgba(245,241,234,.34) 63%, rgba(245,241,234,0) 76%);}
.hero-row{position:relative; z-index:2; padding-top:60px; padding-bottom:60px; width:100%;}
/* Le grand titre du héros. Sur l'accueil, c'est le slogan (p.hero-slogan) : le
   titre de la page, pour les moteurs de recherche, est la petite ligne
   « Contrôle électrique OIBT · Neuchâtel » au-dessus, en étiquette (7 octobre 2026). */
.hero h1:not(.eyebrow), .hero .hero-slogan{font-family:var(--font-display); color:var(--ink); font-size:var(--fs-hero); font-weight:var(--fw-bold); letter-spacing:-.025em; line-height:var(--lh-hero); text-wrap:balance;}
.hero .lead, .hero-content p.lead{font-size:var(--fs-lead); line-height:var(--lh-body); color:var(--ink-70);}
@media(max-width:900px){
  .hero{min-height:600px; background:var(--paper);}
  .hero img.bg{object-position:60% 65%;}
  .hero-scrim{background:radial-gradient(ellipse 150% 95% at 0% 0%, var(--paper) 0%, var(--paper) 38%, rgba(245,241,234,.95) 54%, rgba(245,241,234,.75) 68%, rgba(245,241,234,.35) 82%, transparent 96%);}
  .hero-row{padding-top:32px; padding-bottom:36px;}
}
@media(min-width:1600px){
  .hero h1:not(.eyebrow), .hero .hero-slogan{font-size:clamp(3.25rem, 2.6rem + 1vw, 3.85rem);}
  .section-head h2{font-size:clamp(2.5rem, 1.9rem + 1vw, 3.25rem);}
  .section-head p.lead{font-size:1.1875rem;}
}

/* -------------------------------------------------------------- champs
   Le formulaire de contact de l'accueil et la fenêtre « Demander mon accès »
   du portail entreprise : les mêmes champs, en rectangles arrondis. */
.field label{display:block; font-size:var(--fs-caption); font-weight:var(--fw-semibold); margin-bottom:8px; color:var(--ink);}
.row-2{display:grid; grid-template-columns:1fr; gap:16px;}
@media(min-width:560px){.row-2{grid-template-columns:1fr 1fr;}}
/* NPA et localité : une case courte pour les quatre chiffres, la localité à
   côté, même sur téléphone. Les cases s'alignent par le bas quand une
   étiquette passe à la ligne. */
.row-lieu{display:grid; grid-template-columns:clamp(5.5rem,30%,7rem) minmax(0,1fr); gap:16px; align-items:end;}
input[type=text], input[type=email], input[type=tel], select, textarea{width:100%; border:var(--border-control); border-radius:var(--r-sm); padding:14px 18px; font-size:var(--fs-card); font-family:var(--font-body); color:var(--ink); background:var(--paper); transition:border-color .2s, background .2s;}
textarea{resize:vertical;}
/* La liste déroulante : la case des champs, sa flèche dessinée au trait des icônes. */
select{appearance:none; -webkit-appearance:none; padding-right:48px; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315130F' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 18px center; background-size:var(--icon-sm) var(--icon-sm);}
select:has(option[value=""]:checked){color:var(--gray);}
select option{color:var(--ink);}
input:focus, textarea:focus{outline:none; border-color:var(--signal); background:#fff;}
select:focus{outline:none; border-color:var(--signal); background-color:#fff;}
.hc-hp{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;}
.form-status{display:none; padding:13px 16px; border-radius:var(--r-sm); font-size:var(--fs-small); font-weight:var(--fw-semibold); line-height:1.5;}
.form-status--success{display:block; background:#EAF6EC; color:#1E7A34;}
.form-status--error{display:block; background:var(--signal-pale); color:var(--signal-deep);}

/* --------------------------------------------------------- pied de page */
footer{background:var(--ink); color:rgba(255,255,255,.55); padding-top:64px;}
.footer-grid{display:grid; grid-template-columns:1fr; gap:36px; padding-bottom:48px;}
@media(min-width:768px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr;}}
.footer-grid h4{color:#fff; font-family:var(--font-display); font-size:var(--fs-h4); font-weight:var(--fw-semibold); letter-spacing:0; margin-bottom:16px;}
.footer-grid ul{list-style:none; font-size:var(--fs-caption);}
.footer-grid li{margin-top:10px;}
.footer-grid li a:hover{color:var(--signal-text);}
.footer-logo img{height:38px; width:auto; display:block;}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1); padding-top:22px; padding-bottom:22px; display:flex; flex-direction:column; gap:10px; font-size:var(--fs-label);}
@media(min-width:768px){.footer-bottom{flex-direction:row; justify-content:space-between;}}
.footer-bottom-links{display:flex; gap:20px; flex-wrap:wrap;}
.footer-bottom-links a:hover{color:#fff;}

/* ============================================================================
   LE DESSIN DE FIZE ET DU PORTAIL — les composants (24 octobre 2026, Dylan :
   « maquette du site validée, tu peux coder »). Les jetons ci-dessus portent
   les couleurs, la police et les formes ; cette section règle ce que les
   styles propres à chaque page (index.html, portail-entreprise.html)
   écrivaient en dur — blanc, rouge, dégradés, ombres portées — et passe
   devant eux : chaque sélecteur est précédé de « body ». Pour revenir à
   l'ancien dessin : annuler le commit du 24 octobre 2026.
   Maquette et banc : dépôt de FIZE, docs/FIZE-design-system-clair/maquette-site.
   ========================================================================== */
body{background:var(--paper); font-weight:500;}
::selection{background:var(--ink); color:var(--creme);}
:focus-visible{outline:3px solid rgba(23,25,26,.35);}
/* Les sections : crème et beige en alternance, comme les cartes sur le fond de FIZE. */
body .bg-white{background:var(--creme);} body .bg-cream{background:var(--paper);}
body .bg-black,body .steps-dark,body .stats-band,body footer{background:var(--ink); color:rgba(239,235,227,.7);}
body h1,body h2,body h3,body h4{color:var(--ink);}
body .section-head h2,body .apropos-inner h2,body .legal-top h2,body .pe-offert h2,body .pe-final h2{font-weight:800; letter-spacing:-.02em;}
body .steps-dark .section-head h2,body .pe-offert h2{color:var(--creme);}
body .steps-dark .section-head p.lead{color:rgba(239,235,227,.68);}
/* Les surtitres : le titre de rubrique de FIZE — 13 px, 800, capitales, à l'encre. */
body .eyebrow,body .pe-profil .qui,body .legal-top .eyebrow,body .pe-dialogue legend,body .hc-estimator-result__label,body .addon-panel__list-label{font-size:13px; font-weight:800; letter-spacing:.05em; color:var(--ink);}
body .hero h1.eyebrow{color:var(--ink);}
body .hc-estimator-result__label,body .addon-panel__list-label{color:rgba(239,235,227,.6);}
body .text-accent,body sup{color:var(--signal-text);}
/* ── boutons : pilules de 44 px, 600 ; le principal à l'encre, texte crème ── */
/* Les boutons des trois autres endroits : 14 px, 600, 44 px de haut, en pilule ; les deux appels du héros en 15 px comme le grand bouton du portail. */
body .btn,body .submit-btn,body .legal-back,body .cta-espace,body .cta-desktop,body .bande-portail__cta{font-weight:600; font-size:14px; min-height:44px;}
body .hero-ctas .btn,body .pe-hero__ctas .btn,body .pe-final__actions .btn{font-size:15px;}
body .btn-sm{min-height:44px;}
body .btn-primary,body .submit-btn,body .btn-dark,body .mobile-devis{background:var(--ink); color:var(--creme); border-color:var(--ink);}
body .btn-primary:hover,body .submit-btn:hover,body .btn-dark:hover{background:#2A2D2E; border-color:#2A2D2E;}
body .btn-clair{background:var(--creme); color:var(--ink); border-color:rgba(60,45,25,.26);}
body .btn-clair:hover{background:var(--niveau2); color:var(--ink);}
body .btn-outline{border-color:rgba(60,45,25,.26); color:var(--ink);}
body .btn-outline:hover{border-color:var(--ink); background:var(--creme);}
body .btn__fleche{background:var(--creme); color:var(--ink);}
body .bg-black .btn-clair,body .pe-offert .btn-clair,body .hc-estimator-result .btn-clair{background:var(--creme); color:var(--ink);}
body .cta-espace{border-color:rgba(60,45,25,.26); background:var(--creme);} body .cta-espace:hover{border-color:var(--ink); background:var(--creme);}
body .cta-desktop{background:var(--creme); border-color:rgba(60,45,25,.26);} body .cta-desktop:hover{border-color:var(--ink); background:var(--creme);}
body .cta-desktop__icon{background:var(--ink); color:var(--creme);}
body .mobile-menu-btn,body .mobile-espace{background:var(--creme); border-color:rgba(60,45,25,.26);}
/* ── en-tête : beige translucide, liens 600 ── */
body header{background:rgba(214,208,197,.88); border-bottom:1px solid var(--line);}
body nav.desktop a{font-size:14px; font-weight:600; color:var(--ink-70);}
body nav.desktop a.active{color:var(--ink);} body nav.desktop a.active::after{background:var(--ink); height:2px;}
body .mobile-drawer{background:var(--creme);} body .mobile-drawer nav a{color:var(--ink); border-bottom:1px solid var(--line);}
body .mobile-drawer nav a.active{color:var(--signal-text);} body .mobile-drawer-close{background:var(--niveau2);}
/* ── la bande du portail ── */
body .bande-portail{background:var(--ink); color:var(--creme);}
body .bande-portail__nouveau{background:var(--signal); color:#fff; font-size:12px; font-weight:800; letter-spacing:.05em;}
body .bande-portail__texte{color:rgba(239,235,227,.78);} body .bande-portail__texte strong{color:var(--creme);}
@media(min-width:901px){body .bande-portail__cta{background:var(--creme); color:var(--ink);} body .bande-portail__cta svg{color:var(--signal-text);} body .bande-portail:hover .bande-portail__cta{background:var(--niveau2);}}
@media(max-width:900px){body .bande-portail__cta{background:none; color:var(--creme); font-size:0; min-height:0; padding:0; gap:0;} body .bande-portail__cta svg{color:var(--creme); width:20px; height:20px;}}
/* ── le héros : la photo sous un voile beige (seul dégradé gardé : c'est un fondu de photo) ── */
body .hero-scrim{background:linear-gradient(100deg, var(--paper) 0%, var(--paper) 30%, rgba(214,208,197,.95) 40%, rgba(214,208,197,.72) 51%, rgba(214,208,197,.34) 63%, rgba(214,208,197,0) 76%);}
@media(max-width:900px){body .hero{background:var(--paper);} body .hero-scrim{background:radial-gradient(ellipse 150% 95% at 0% 0%, var(--paper) 0%, var(--paper) 38%, rgba(214,208,197,.95) 54%, rgba(214,208,197,.75) 68%, rgba(214,208,197,.35) 82%, transparent 96%);}}
body .hero h1:not(.eyebrow),body .hero .hero-slogan{font-weight:800; letter-spacing:-.025em;}
body .hero .lead,body .hero-content p.lead{color:var(--ink-70);}
body .trust-card{background:var(--creme); border:1px solid var(--line); box-shadow:var(--shadow-sm);}
body .trust-item{border-bottom:1px solid var(--line-soft);} body .trust-item p.d{color:var(--gray);}
body .hero-seal{filter:drop-shadow(0 6px 12px rgba(60,45,25,.25));}
/* ── chiffres clés ── */
body .stat .num,body .pe-chiffre .num,body .process-card .num,body .pe-etape .num,body .price-card__value,body .hc-estimator-result__amount,body .hc-estimator-stepper__value,body .addon-panel__price,body .addon-panel__price-tag,body .hc-estimator-summary__row span:last-child,body .hc-estimator-toggle .hc-estimator-toggle__prix,body .pe-apercu__note{font-family:var(--font-body); font-weight:800;}
body .stat .num,body .pe-chiffre .num{color:var(--creme);} body .stat .label,body .pe-chiffre .label{color:rgba(239,235,227,.7);}
body .stat:not(:first-child)::before,body .pe-chiffre + .pe-chiffre::before{background:rgba(239,235,227,.16);}
/* ── icônes dans une pastille, cartes ── */
body .icon-circle{background:var(--signal-pale); color:var(--signal-text);}
body .bg-black .icon-circle,body .contact-card__info .icon-circle{background:rgba(239,235,227,.1); color:#E8A48F;}
body .card,body .price-card,body .pe-carte,body .pe-profil,body .hc-estimator-card,body .legal-card,body .contact-card,body .pe-final,body .hc-estimator-info,body .tariff-bottom-note,body .hc-estimator-toggle{background:var(--creme); border:1px solid var(--line); box-shadow:var(--shadow-sm);}
body .service-card{background:var(--creme); border:1px solid var(--line);}
body .service-card .bubble{background:var(--creme); color:var(--signal-text); box-shadow:var(--shadow-sm);}
body .service-card h3,body .price-panel-head h3,body .pe-carte h3,body .pe-profil h3,body .legal-block h3{font-weight:700;}
body .bg-white .pe-carte,body .bg-white .pe-profil{background:var(--niveau2); border-color:var(--niveau2-bord);}
body .bg-cream .pe-carte,body .bg-cream .pe-profil,body .bg-cream .card{background:var(--creme);}
body .pe-etape{background:var(--niveau2); border:1px solid var(--niveau2-bord);}
body .pe-carte p,body .pe-profil p,body .price-card__label small,body .service-card p.d,body .d,body .opt,body .hc-estimator-info p,body .tariff-bottom-note p,body .price-panel-head p{color:var(--gray);}
body .price-card__value{color:var(--ink);}
body .price-card__value--quote{font-weight:600;}
body .price-card{min-height:120px;}
/* ── « Le contrôle » (section sombre) : les cartes du mode sombre de FIZE, à plat ── */
body .process-card{background:var(--sombre-carte); border:1px solid var(--sombre-bord);}
body .process-card::before,body .pe-etape::before{background:var(--signal);}
body .process-card .num,body .pe-etape .num{color:var(--signal-text);} body .process-card .num{color:#E8A48F;}
body .process-card .title{color:var(--creme);} body .process-card .desc{color:rgba(239,235,227,.72);}
/* ── onglets des tarifs et catégories du calculateur : les onglets de FIZE, pilules sur une piste ── */
body .tariff-tabs,body .hc-estimator-categories{background:var(--paper-deep); border:0; padding:4px; gap:2px;}
body .tariff-tab,body .hc-estimator-category{min-height:40px; color:var(--gray); font-weight:600; font-size:15px;}
body .tariff-tab[aria-selected="true"],body .hc-estimator-category.is-active{background:var(--creme); color:var(--ink);}
body .tariff-tab:hover:not([aria-selected="true"]),body .hc-estimator-category:hover:not(.is-active){background:transparent; color:var(--ink);}
@media(max-width:760px){
  body .tariff-tab,body .tariff-tabs--catalogue .tariff-tab,body .hc-estimator-category,body .hc-estimator-categories--catalogue .hc-estimator-category{background:var(--creme); border:1px solid rgba(60,45,25,.26);}
  body .tariff-tab[aria-selected="true"],body .hc-estimator-category.is-active,body .hc-estimator-categories--catalogue .hc-estimator-category.is-active{background:var(--ink); color:var(--creme); border-color:var(--ink);}
}
body .price-panel-head{border-bottom:1px solid var(--line);} body .price-panel-head__icon{background:var(--signal-pale); color:var(--signal-text);}
body .addon-panel__required,body .addon-panel__list,body .hc-estimator-result,body .hc-estimator-custom-banner,body .contact-card__info,body .pe-chiffres,body .pe-offert{background:var(--ink); color:var(--creme);}
body .addon-panel__icon{background:var(--signal); color:#fff;}
body .addon-panel__text h4,body .addon-panel__price,body .hc-estimator-custom-banner__label,body .hc-estimator-result__amount{color:var(--creme);}
body .addon-panel__price-tag,body .addon-panel__row > span.addon-panel__price-tag{color:#E8A48F;}
body .addon-panel__badge{background:rgba(239,235,227,.12); color:rgba(239,235,227,.75);}
body .addon-panel__row{border-top:1px solid rgba(239,235,227,.1); color:rgba(239,235,227,.88);} body .addon-panel__name{color:rgba(239,235,227,.88);}
body .tariff-note-icon,body .dropzone .plus,body .hc-estimator-stepper__btn,body .hc-estimator-info__icon{background:var(--niveau2); border-color:var(--niveau2-bord); color:var(--ink);}
body .hc-estimator-info__icon{background:var(--signal-pale); color:var(--signal-text);}
body .hc-estimator-stepper__btn:hover{border-color:var(--ink); color:var(--ink);}
body .hc-estimator-card:has(.hc-estimator-stepper__value:not([data-qty="0"])){border-color:var(--ink);}
body .hc-estimator-toggle:has(input:checked){border-color:var(--ink); background:var(--niveau2);}
body .hc-estimator-toggle input{accent-color:var(--ink);}
body .hc-estimator-badge{background:var(--signal-pale); color:var(--signal-text); font-weight:800; letter-spacing:.05em;}
body .hc-estimator-result__tva,body .hc-estimator-result__note,body .hc-estimator-disclaimer,body .hc-estimator-custom-banner p{color:rgba(239,235,227,.65);}
body .hc-estimator-summary{border-top:1px solid rgba(239,235,227,.14);} body .hc-estimator-summary__row{color:rgba(239,235,227,.82);} body .hc-estimator-summary__row span:last-child{color:var(--creme);}
/* ── champs : la couleur du fond avec un fin liseré, rayon 10, libellés en capitales ── */
body .field label{font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.03em; color:var(--gray);}
body .field label .opt{text-transform:none; letter-spacing:0; font-weight:500;}
body input[type=text],body input[type=email],body input[type=tel],body select,body textarea{background-color:var(--champ); border:1px solid var(--champ-bord); border-radius:10px; padding:9px 16px; font-weight:500; color:var(--ink); font-size:15px;}
body input[type=text],body input[type=email],body input[type=tel],body select{height:40px;}
body input:focus,body textarea:focus,body select:focus{border-color:var(--ink); background-color:var(--champ); box-shadow:none;}
body select:has(option[value=""]:checked){color:var(--gray);}
body .dropzone{border:1.5px dashed rgba(60,45,25,.3); background:var(--champ); color:var(--gray);}
body .dropzone:hover,body .dropzone.is-dragover,body .dropzone.has-file{border-color:var(--ink); background:var(--niveau2); color:var(--ink);}
body .form-status--success{background:var(--ok-pale); color:var(--ok);} body .form-status--error{background:var(--signal-pale); color:var(--signal-text);}
body .contact-card__info .contact-row{border-bottom:1px solid rgba(239,235,227,.12);} body .contact-card__info .contact-row a,body .contact-card__info .contact-row span{color:var(--creme);}
/* ── page « portail entreprise » ── */
body .pe-pastille{background:var(--creme); border:1px solid var(--line); font-weight:800; letter-spacing:.05em;} body .pe-pastille::before{background:var(--ok);}
body .pe-offert::before{display:none;}
body .pe-offert .pe-offert__pastille{background:rgba(47,92,80,.3); color:#9FE0BC;} body .pe-offert__pastille::before{background:#9FE0BC;}
body .pe-offert p{color:rgba(239,235,227,.72);}
body .pe-coches li{background:rgba(239,235,227,.07); border:1px solid rgba(239,235,227,.12); color:var(--creme);}
body .pe-coche{background:rgba(47,92,80,.45); color:#9FE0BC;}
body .pe-final p,body .pe-final .pe-final__ou{color:var(--gray);} body .pe-final__ou a{color:var(--ink);}
body .pe-prix .section-head p.lead a{color:var(--ink);}
/* L'aperçu du portail : la même carte crème et les mêmes pastilles que le vrai portail. */
body .pe-apercu{background:var(--creme); border:1px solid var(--line); box-shadow:var(--shadow-sm); font-family:var(--font-body);
  --ink:#17191A; --ink-70:#4A4D48; --gray:#4A4D48; --paper:#D6D0C5; --line:rgba(60,45,25,.18); --line-soft:rgba(60,45,25,.1); --signal:#C8431F; --signal-deep:#9E2F21;}
body .pe-apercu__tete{font-weight:800; text-transform:uppercase; letter-spacing:.05em; font-size:13px;}
body .pe-ligne{border-top:1px solid var(--line-soft);} body .pe-ligne__adresse{font-weight:600;} body .pe-ligne__meta{color:var(--gray);}
body .pe-jalons{grid-template-columns:118px minmax(0,1fr);}
body .pe-jalons__segments{display:flex; gap:6px; align-items:center;}
body .pe-jalons__segment{width:18px; height:18px; border-radius:50%; background:transparent; outline:1.5px dashed #8A857C; outline-offset:-1.5px; position:relative;}
body .pe-jalons__segment + .pe-jalons__segment::before{content:''; position:absolute; right:100%; top:50%; width:6px; height:2px; margin-top:-1px; background:#C5BFB5;}
body .pe-jalons__segment[data-etat="fait"]{background:#2F5C50; outline:0;}
body .pe-jalons__segment[data-etat="fait"] + .pe-jalons__segment::before{background:#2F5C50;}
body .pe-jalons__segment[data-etat="encours"]{background:#3A6EA5; outline:0;}
body .pe-jalons[data-attendu="vous"] .pe-jalons__segment[data-etat="encours"],body .pe-jalons[data-attendu="tiers"] .pe-jalons__segment[data-etat="encours"]{background:#B7791F;}
body .pe-jalons[data-planifie="oui"] .pe-jalons__segment[data-etat="encours"],body .pe-jalons[data-preparation="oui"] .pe-jalons__segment[data-etat="encours"]{background:#3A6EA5;}
body .pe-jalons[data-termine="oui"] .pe-jalons__segment{background:#2F5C50; outline:0;}
body .pe-jalons[data-commentaire="oui"] .pe-jalons__segment[data-etat="encours"]{background:transparent; box-shadow:inset 0 0 0 2px #17191A; outline:0;}
body .pe-jalons__segment[data-etat]{overflow:visible;} body .pe-jalons__segment[data-etat]::after{background:var(--creme); border-radius:50%;}
body .pe-jalons[data-attendu="vous"] .pe-jalons__attente{color:#7E5210;}
body .pe-filtre{border:1px solid rgba(60,45,25,.26); background:var(--creme); color:var(--ink);}
body .pe-filtre--actif{background:#17191A; border-color:#17191A; color:var(--creme);}
body .pe-notifs{background:var(--creme); border:1px solid var(--line); box-shadow:var(--shadow-sm);}
body .pe-notifs__tout,body .pe-notifs__lien{color:#2C5687;} body .pe-notifs__reglages{background:var(--paper); border-top:1px solid var(--line-soft);}
body .pe-case{background:#17191A;} body .pe-notif{border-top:1px solid var(--line-soft);} body .pe-notif__titre::before{background:#3A6EA5;}
body .pe-notif__detail{color:var(--ink-70);} body .pe-notif__quand{color:var(--gray);}
body .pe-apercu__note{background:rgba(239,235,227,.85); color:var(--ink); letter-spacing:.05em;}
/* La fenêtre « Demander mon accès » */
body .pe-dialogue{background:var(--creme); box-shadow:var(--shadow-lg);} body .pe-dialogue::backdrop{background:rgba(23,25,26,.55);}
body .pe-dialogue__tete h2{font-weight:800;} body .pe-dialogue__note{color:var(--ink-70);}
body .pe-dialogue__fermer{background:var(--niveau2); border-color:var(--niveau2-bord);} body .pe-dialogue__fermer:hover{border-color:var(--ink); background:var(--niveau2);}
body .pe-merci__coche{background:var(--ok-pale); color:var(--ok);}
/* ── pages légales, pied de page ── */
body .legal-page{background:var(--paper);} body .legal-block{border-bottom:1px solid var(--line-soft);} body .legal-block p,body .legal-block ul{color:var(--ink-70);}
body .legal-back{background:var(--creme); border-color:rgba(60,45,25,.26);}
body footer{color:rgba(239,235,227,.6);} body .footer-grid h4{color:var(--creme); font-weight:700;} body .footer-grid li a:hover{color:var(--creme);}
body .footer-bottom{border-top:1px solid rgba(239,235,227,.12);} body .footer-bottom-links a:hover{color:var(--creme);}
/* ── dans les sections sombres, les surtitres et les textes se lisent en crème ── */
body .bg-black .eyebrow,body .steps-dark .eyebrow,body .pe-offert .eyebrow,body .hc-estimator-result .eyebrow{color:rgba(239,235,227,.7);}
body .stats-band,body .pe-chiffres{border-radius:0;}
body .pe-chiffres{border-radius:20px;}

/* « notre engagement, » dans le héros de l'accueil et « entreprise » dans celui du portail : le rouge du logo, comme avant (Dylan, 24 octobre 2026 : « uniquement ça », puis « lui aussi »). */
/* Un seul rouge, celui du logo : #D80000, mesuré sur le fichier du logo (Dylan, 25 octobre 2026 : « oui un seul rouge celui du logo »). */
body .hero-slogan .text-accent, body .pe-hero h1 .text-accent{color:#D80000;}

/* RÔLES DES COULEURS (24 octobre 2026, soir — règle écrite dans le dépôt de FIZE, docs/FIZE-design-system-clair/roles-des-couleurs.md) :
   bouton secondaire = crème + liseré partout, ronds compris (fermer la fenêtre, fermer le menu, + et − du calculateur) ; tuiles niveau 2. */
body .pe-dialogue__fermer, body .mobile-drawer-close, body .hc-estimator-stepper__btn, body .btn-clair, body .btn-outline, body .cta-espace, body .cta-desktop, body .legal-back{background:var(--creme); border:1px solid rgba(60,45,25,.26); color:var(--ink);}
body .pe-dialogue__fermer:hover, body .hc-estimator-stepper__btn:hover, body .btn-clair:hover, body .btn-outline:hover, body .legal-back:hover{background:var(--niveau2); border-color:rgba(60,45,25,.4); color:var(--ink);}

/* Le bloc final de « Le portail entreprise » (Dylan, 24 octobre 2026 : « c'est pas très joli comme c'est fait là ») : à droite du
   titre, une tuile niveau 2 « Nous joindre » avec les trois façons de nous atteindre en trois pilules de la même largeur — demander
   l'accès (principal), le téléphone et l'e-mail (secondaires) — au lieu de deux boutons flottants et d'un « Ou » souligné. */
body .pe-final > div:last-child{background:var(--niveau2); border:1px solid var(--niveau2-bord); border-radius:20px; padding:22px 22px 20px;}
body .pe-final > div:last-child::before{content:'Nous joindre'; display:block; margin-bottom:14px; font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--ink);}
body .pe-final__actions{flex-direction:column; gap:10px;}
body .pe-final__actions .btn{width:100%; justify-content:center; font-size:14px;}
body .pe-final__actions .btn-primary .btn__fleche{margin-left:auto;}
body .pe-final .pe-final__ou{margin-top:10px; font-size:0; line-height:0; color:transparent;}
body .pe-final__ou a{display:inline-flex; width:100%; min-height:44px; align-items:center; justify-content:center; gap:10px; border-radius:999px; background:var(--creme); border:1px solid rgba(60,45,25,.26); font-size:14px; line-height:1.2; font-weight:600; text-decoration:none; color:var(--ink);}
body .pe-final__ou a::before{content:''; width:16px; height:16px; flex-shrink:0; 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%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%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%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat;}
body .pe-final__ou a:hover{background:var(--niveau2); border-color:rgba(60,45,25,.4);}
@media(min-width:900px){body .pe-final{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center;}}
/* Les petites icônes dans les pastilles de l'aperçu du portail (Dylan, 25 oct. 2026 : « sur le site tu as oublié de mettre les
   petites icônes dans les pastilles ») : les mêmes que dans le vrai portail — coche sur une étape faite, chevron sur l'étape en
   cours chez Helvetic Control, sablier quand on attend une réponse, bulle pour un commentaire, tiret sur ce qui vient. */
body .pe-jalons__segment{background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A857C' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E") center/62% no-repeat; outline:1.5px dashed #8A857C; outline-offset:-1.5px;}
body .pe-jalons__segment[data-etat="fait"]{background:#2F5C50 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center/62% no-repeat; outline:0;}
body .pe-jalons__segment[data-etat="encours"]{background:#3A6EA5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='10 7 15 12 10 17'/%3E%3C/svg%3E") center/62% no-repeat; outline:0;}
body .pe-jalons[data-attendu="vous"] .pe-jalons__segment[data-etat="encours"], body .pe-jalons[data-attendu="tiers"] .pe-jalons__segment[data-etat="encours"]{background:#B7791F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v2.4l-5.2 5.6v2l5.2 5.6V21H6v-2.4l5.2-5.6v-2L6 5.4z' fill='white'/%3E%3C/svg%3E") center/58% no-repeat;}
body .pe-jalons[data-planifie="oui"] .pe-jalons__segment[data-etat="encours"], body .pe-jalons[data-preparation="oui"] .pe-jalons__segment[data-etat="encours"]{background:#3A6EA5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='10 7 15 12 10 17'/%3E%3C/svg%3E") center/62% no-repeat;}
body .pe-jalons[data-termine="oui"] .pe-jalons__segment{background:#2F5C50 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17 19 7.5'/%3E%3C/svg%3E") center/62% no-repeat; outline:0;}
body .pe-jalons[data-commentaire="oui"] .pe-jalons__segment[data-etat="encours"]{background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317191A' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5a2 2 0 0 1-2 2H8.5L4 20V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center/58% no-repeat; box-shadow:inset 0 0 0 2px #17191A; outline:0;}

/* ============================================================================
   AUDIT DU 25 OCTOBRE 2026 — corrections par la règle commune (Dylan : « Et corrige ce qui faut être corrigé directement »,
   après ses réponses aux dix questions). Rapport : dépôt de FIZE, docs/FIZE-design-system-clair/audit-ecosysteme-2026-10-25.
   Ce bloc est le dernier de la feuille : il passe devant tout ce qui précède.
   ========================================================================== */
/* 1. Sur une surface encre (bloc d'estimation, bandeau « Bâtiment ou installation spécifique », sections sombres), le bouton
   principal est crème, texte encre — comme le bouton principal du mode sombre de FIZE. */
body :is(.hc-estimator-result,.hc-estimator-custom-banner,.bg-black,.steps-dark,.contact-card__info,.pe-offert,.pe-chiffres,.addon-panel__required) :is(.btn-primary,.btn-dark,.submit-btn){background:var(--creme); color:var(--ink); border:1px solid var(--creme);}
body :is(.hc-estimator-result,.hc-estimator-custom-banner,.bg-black,.steps-dark,.contact-card__info,.pe-offert,.pe-chiffres,.addon-panel__required) :is(.btn-primary,.btn-dark,.submit-btn):hover{background:var(--niveau2); border-color:var(--niveau2); color:var(--ink);}
/* 2. Bouton secondaire : le survol passe au niveau 2 partout, en-tête compris. */
body .cta-espace:hover, body .cta-desktop:hover, body .mobile-espace:hover, body .mobile-menu-btn:hover{background:var(--niveau2); border-color:rgba(60,45,25,.4);}
body .cta-desktop__icon{background:none; color:var(--ink); width:auto; height:auto;}
/* 3. Une seule liste déroulante : rayon 10, 40 px, 15 / 500, le chevron gris de la règle à droite, sa place réservée. */
body select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A4D48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:16px 16px; padding-right:40px; text-overflow:ellipsis;}
/* 7. Un seul focus : anneau encre de 2 px décalé de 2 px (crème sur une surface encre), sans halo. */
body :focus-visible{outline:2px solid var(--ink); outline-offset:2px; box-shadow:none;}
body :is(.hc-estimator-result,.hc-estimator-custom-banner,.bg-black,.steps-dark,.contact-card__info,.pe-offert,.pe-chiffres,.addon-panel__required,footer,.bande-portail) :focus-visible{outline-color:var(--creme);}
body .bande-portail:focus-visible{outline-color:var(--creme); outline-offset:-4px;}
/* 8. Carte choisie : niveau 2 avec bord encre, les cartes de quantité comme les suppléments. */
body .hc-estimator-card:has(.hc-estimator-stepper__value:not([data-qty="0"])){background:var(--niveau2); border-color:var(--ink);}
/* 10. Onglets : une seule piste, l'onglet actif crème avec un anneau fin, sans ombre ; sur téléphone la même piste, onglets empilés. */
body .tariff-tab[aria-selected="true"], body .hc-estimator-category.is-active{box-shadow:0 0 0 1px rgba(60,45,25,.18);}
@media(max-width:760px){
  body .tariff-tabs, body .hc-estimator-categories{display:flex; flex-direction:column; overflow:visible; background:var(--paper-deep); border:0; border-radius:22px; padding:4px; gap:2px; max-width:none;}
  body .tariff-tab, body .tariff-tabs--catalogue .tariff-tab, body .hc-estimator-category, body .hc-estimator-categories--catalogue .hc-estimator-category{flex:0 0 auto; width:100%; min-height:40px; justify-content:center; white-space:normal; text-align:center; background:transparent; border:0; color:var(--gray); padding:8px 14px;}
  body .tariff-tab[aria-selected="true"], body .hc-estimator-category.is-active, body .hc-estimator-categories--catalogue .hc-estimator-category.is-active{background:var(--creme); color:var(--ink); border:0; box-shadow:0 0 0 1px rgba(60,45,25,.18);}
}
/* 11. Petits écrans : NPA garde son libellé sur une ligne ; les boutons d'une même pile ont la même largeur ;
   les liens légaux du pied s'empilent. */
@media(max-width:559px){
  body .footer-bottom-links{flex-direction:column; gap:10px;}
}
@media(max-width:900px){
  body .pe-hero__ctas{flex-direction:column; align-items:stretch;}
  body .pe-hero__ctas .btn{width:100%; justify-content:center;}
}
body .pe-final .pe-final__ou{display:flex; width:100%; max-width:none;} body .pe-final__ou a{flex:1 1 auto;}
/* 9. Une seule flèche de bouton : la flèche de trait, 16 px, de la couleur du texte, sans rond ; texte centré dans les piles. */
body .btn__fleche{width:16px; height:16px; margin:0; border-radius:0; background:none; color:currentColor;}
body .btn__fleche svg{width:16px; height:16px;}
body .pe-final__actions .btn-primary .btn__fleche{margin-left:0;}
@media(min-width:901px){body .bande-portail__cta svg{color:currentColor;}}
/* 13. Liens de la miniature du portail : encre souligné, comme sur le site (le vrai portail est corrigé de même). */
body .pe-notifs__tout, body .pe-notifs__lien{color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px;}
/* 16. Titres de la miniature « Notifications » et « Me prévenir » : la rubrique 13 / 800 capitales, comme dans le vrai portail. */
body .pe-notifs__titre{font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--ink);}
/* 6. Aucun texte sous 12 px : la pastille « Aperçu du portail » passe à 12 / 800. */
body .pe-apercu__note{font-size:12px; font-weight:800; letter-spacing:.05em;}
/* 17. La fenêtre « Demander mon accès » : le titre de fenêtre commun (13 / 800 capitales sur la ligne beige épaisse), la phrase
   en gris 13 / 500 sous la ligne, rayon 20, l'ombre des fenêtres, un voile encre à 40 %. */
body .pe-dialogue{border-radius:20px; box-shadow:var(--shadow-lg);}
body .pe-dialogue::backdrop{background:rgba(23,25,26,.4);}
body .pe-dialogue__tete{align-items:center; padding:12px 16px 10px 22px; border-bottom:3px solid var(--paper);}
body .pe-dialogue__tete h2{font-size:13px; font-weight:800; line-height:1.2; letter-spacing:.05em; text-transform:uppercase; color:var(--ink);}
body .pe-dialogue__fermer{margin:0;}
body .pe-dialogue__note{margin:16px 22px 0; font-size:13px; font-weight:500; color:var(--gray);}
body .pe-dialogue form{padding:16px 22px 22px;}
@media(max-width:600px){body .pe-dialogue__tete{padding:10px 12px 8px 20px;} body .pe-dialogue__note{margin:14px 20px 0;} body .pe-dialogue form{padding:14px 20px 20px;}}
/* 18. Une icône dans un rond est une tuile niveau 2, icône à l'encre, toujours ronde, sans ombre (question 7 : « on respecte
   le système design ») ; posée sur une surface encre, le niveau 2 du mode sombre et l'icône crème. */
body .icon-circle, body .price-panel-head__icon, body .tariff-note-icon, body .hc-estimator-info__icon, body .service-card .bubble{background:var(--niveau2); border:1px solid var(--niveau2-bord); color:var(--ink); box-shadow:none;}
body :is(.bg-black,.steps-dark,.contact-card__info,.pe-offert,.pe-chiffres) .icon-circle, body .addon-panel__icon{background:#363330; border:1px solid #4E4A45; color:var(--creme);}
/* 22. Cases à cocher du calculateur : dessinées comme dans FIZE et le portail — vide beige + liseré, cochée encre + coche crème. */
body .hc-estimator-toggle input[type=checkbox]{-webkit-appearance:none; appearance:none; width:18px; height:18px; flex:none; margin:0; border:1.5px solid #858179; border-radius:5px; background:var(--champ); cursor:pointer;}
body .hc-estimator-toggle input[type=checkbox]:checked{border-color:var(--ink); background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFEBE3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 7.8'/%3E%3C/svg%3E") center/84% no-repeat;}
/* 25. Menu du téléphone : la page en cours à l'encre, soulignée, comme sur ordinateur. */
body .mobile-drawer nav a.active{color:var(--ink); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px;}
/* Le tiroir du menu, partagé par les deux pages (la page « Le portail entreprise » n'en avait pas). */
.mobile-drawer-backdrop{position:fixed; inset:0; z-index:190; background:rgba(23,25,26,.4); opacity:0; pointer-events:none; transition:opacity .25s ease;}
.mobile-drawer-backdrop.is-open{opacity:1; pointer-events:auto;}
.mobile-drawer{display:block; position:fixed; z-index:200; top:0; right:0; bottom:0; width:min(86vw,360px); padding:96px 28px 32px; transform:translateX(105%); transition:transform .3s cubic-bezier(.2,.8,.2,1);}
.mobile-drawer.is-open{transform:translateX(0);}
@media(min-width:1180px){.mobile-drawer,.mobile-drawer-backdrop{display:none;}}
.mobile-drawer-close{position:absolute; right:22px; top:20px; width:var(--btn-h-sm); height:var(--btn-h-sm); border-radius:50%; font-size:1.4rem; cursor:pointer;}
.mobile-drawer nav{display:flex; flex-direction:column; gap:4px;}
.mobile-drawer nav a{padding:15px 2px; font-weight:600; font-size:var(--fs-body);}
.mobile-drawer .btn{margin-top:24px; width:100%;}
.mobile-drawer .btn + .btn{margin-top:10px;}
/* 31. Aucun accent sur une surface encre (question 8) : chiffres, prix des suppléments, icônes du contact et astérisque en crème ;
   le trait au-dessus des numéros d'étapes passe au crème lui aussi. */
body .process-card .num, body .addon-panel__price-tag, body .addon-panel__row > span.addon-panel__price-tag, body .contact-card__info .icon-circle{color:var(--creme);}
body :is(.bg-black,.steps-dark,.contact-card__info,.pe-offert,.pe-chiffres,.addon-panel__required,.addon-panel__list,.hc-estimator-result,.hc-estimator-custom-banner) :is(sup,.text-accent){color:var(--creme);}
body .process-card::before{background:rgba(239,235,227,.5);}
/* 4. Pastille « Offert à nos clients » et coches du bloc « 100 % gratuit » : plus de vert menthe — la pastille sœur du héros
   en version sombre (niveau 2 sombre, texte crème, point vert d'état, 12 / 800), coches crème dans un disque vert d'état. */
body .pe-offert .pe-offert__pastille{background:#363330; border:1px solid #4E4A45; color:var(--creme); font-size:12px; font-weight:800; letter-spacing:.05em;}
body .pe-offert .pe-offert__pastille::before{background:var(--creme); box-shadow:none;}
body .pe-coche{background:#363330; border:1px solid #4E4A45; color:var(--creme);}
/* 5 et 16. Titres de cartes en 800 ; titres des blocs légaux et du pied de page : la rubrique 13 / 800 capitales. */
body .service-card h3, body .price-panel-head h3, body .pe-carte h3, body .pe-profil h3{font-weight:800;}
body .legal-block h3{font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--ink);}
body .footer-grid h4{font-size:13px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--creme);}
/* 19. Le sceau « Brevet fédéral » ne recouvre plus la fin de la première ligne de la carte de confiance. */
@media(min-width:901px){body .hero-seal + .trust-item > div:last-child{padding-right:60px;}}
/* 29. Finitions : « Sur demande » sur la ligne de base des prix voisins ; le filet du pied dans la largeur du contenu ;
   des titres et chapeaux sans mot seul en fin de ligne. */
body .price-card__value--quote{position:relative; top:-5px;}
body .footer-bottom{position:relative; border-top:0;}
body .footer-bottom::before{content:''; position:absolute; top:0; left:24px; right:24px; height:1px; background:rgba(239,235,227,.12);}
@media(min-width:768px){body .footer-bottom::before{left:44px; right:44px;}}
body :is(.section-head h2,.section-head p.lead,.apropos-inner h2,.pe-offert h2,.pe-final h2,.legal-top h2){text-wrap:balance;}
/* 28. La bande « Me prévenir » de la miniature : niveau 2, comme dans le vrai portail corrigé. */
body .pe-notifs__reglages{background:var(--niveau2); border-top:1px solid var(--niveau2-bord);}
/* 32. Une carte a un rayon de 20, encadrés « OIBT » et « Important » compris (ils avaient le rayon d'un champ). */
body .hc-estimator-info, body .tariff-bottom-note{border-radius:20px;}
/* 7. L'en-tête presque opaque : les liens gris restent lisibles (AA) quand il passe au-dessus d'une bande encre. */
body header{background:rgba(214,208,197,.97);}
/* Relecture contradictoire du 25 octobre 2026 : les derniers écarts.
   31. La pastille « Nouveau » de la bande encre : crème, texte encre (aucun accent sur une surface encre).
   5. Plus de graisse 700 : les mentions en gras des encadrés et les titres de la miniature en 600, comme au portail.
   12. Les + et − du calculateur en ronds de 44 ; la croix du tiroir dessinée au trait, comme celle des fenêtres.
   33. Une seule façon de dire les champs obligatoires : la phrase en tête du formulaire, comme dans « Demander mon accès ». */
body .bande-portail__nouveau{background:var(--creme); color:var(--ink);}
body .tariff-bottom-note strong, body .hc-estimator-info strong, body .pe-notif__titre{font-weight:600;}
body .hc-estimator-stepper__btn{width:44px; height:44px; min-width:44px;}
body .mobile-drawer-close{display:inline-flex; align-items:center; justify-content:center; font-size:0;}
body .mobile-drawer-close svg{width:18px; height:18px;}
body .form-note{margin:0 0 4px; font-size:13px; font-weight:500; color:var(--gray);}

/* Les cinq étapes de la page « Le portail entreprise » : numéro et petit trait au rouge du logo, #D80000 (Dylan, 25 octobre 2026 :
   « les chiffres 01, 02, 03… j'aimerais que tu le fasses le rouge du logo »). Sur la carte claire, 4 : 1 — lisible. */
body .pe-etape .num{color:#D80000;}
body .pe-etape::before{background:#D80000;}

/* « Le portail est 100 % gratuit » : chaque coche est la pastille d'un dossier terminé du portail — vert #2F5C50, coche blanche, même
   dessin (Dylan, 25 octobre 2026 : « le même vu vert que l'on met lorsqu'on fait un dossier terminé »). Exception voulue à « aucun
   accent sur fond sombre ». */
body .pe-coche{background:#2F5C50; border:0; color:#FFFFFF;}

/* Accueil, « Votre contrôle, étape par étape » : numéro et petit trait au rouge du logo, comme les étapes du portail entreprise
   (Dylan, 25 octobre 2026 : « tu as oublié de mettre en rouge les numéros… sur la page principale où c'est mis le contrôle »).
   Exception voulue à « aucun accent sur fond sombre » : 2,8 : 1 sur la carte sombre, accepté en connaissance de cause. */
body .process-card .num{color:#D80000;}
body .process-card::before{background:#D80000;}

/* Pied de page : chaque lien offre 28 à 30 px de haut au doigt, sans que rien ne bouge à l'écran (audit du 16 novembre 2026 :
   15 px de haut pour les liens rapides, 19 pour les liens légaux, quand 24 sont demandés ; Dylan : « corrige tout »).
   Le lien gagne 5 px en haut et en bas ; des marges négatives de 5 px les reprennent, la mise en page reste la même. */
body .footer-grid li a, body .footer-bottom-links a{display:inline-block; padding:5px 0; margin:-5px 0;}
