/* EL-AI, feuille de style unique du site (refonte 2026-11).
   Marine de la marque, papier froid, une couleur par offre :
   automatisations bleu, sites web orange, logiciels violet. Or en détail. */
:root {
  --nuit: #0E1B2C;
  --nuit-2: #15263C;
  --nuit-3: #1F3350;
  --papier: #F4F6FA;
  --blanc: #FFFFFF;
  --encre: #0E1B2C;
  --texte: #27344A;
  --gris: #536176;
  --gris-nuit: #B4C0D3;
  --ligne: #DCE2EC;
  --auto: #1F4FFF;
  --auto-fonce: #1238D1;
  --auto-clair: #E7EDFF;
  --auto-nuit: #8FA6FF;
  --web: #C2410C;
  --web-clair: #FFEDE2;
  --web-nuit: #FF9A63;
  --log: #6D35E0;
  --log-clair: #F0E8FF;
  --log-nuit: #BE9FFF;
  --or: #D2AE5C;
  --vert: #0D7F57;
  --rouge: #B42318;
  --rayon: 14px;
  --rayon-s: 8px;
  --max: 1200px;
  --titre: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --corps: "Figtree", "Avenir Next", system-ui, sans-serif;
  --ombre: 0 1px 2px rgba(14, 27, 44, .06), 0 8px 24px rgba(14, 27, 44, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--corps); font-size: 17px; line-height: 1.6; color: var(--texte); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--auto); text-underline-offset: 3px; }
a:hover { color: var(--auto-fonce); }
h1, h2, h3, h4 { font-family: var(--titre); color: var(--encre); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--or); color: var(--nuit); padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 6px; }
.skip:focus { left: 8px; }
.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 820px; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nuit); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-logo img { height: 38px; width: auto; border-radius: 3px; }
.nav-liens { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-liens a { display: block; color: #E6ECF5; text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav-liens a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-liens a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--or); border-radius: 0; }
.nav-liens .nav-auto { color: #fff; }
.nav-liens .nav-auto::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--auto-nuit); margin-right: 8px; vertical-align: 1px; }
.nav-liens .nav-cta { background: var(--auto); color: #fff; margin-left: 8px; padding: 10px 16px; }
.nav-liens .nav-cta:hover { background: var(--auto-fonce); }
.nav-bouton { display: none; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; padding: 8px 14px; font: 600 15px var(--corps); cursor: pointer; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font: 700 16px var(--corps); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-auto { background: var(--auto); color: #fff; }
.btn-auto:hover { background: var(--auto-fonce); color: #fff; }
.btn-web { background: var(--web); color: #fff; }
.btn-web:hover { background: #A3360A; color: #fff; }
.btn-log { background: var(--log); color: #fff; }
.btn-log:hover { background: #5A27C4; color: #fff; }
.btn-blanc { background: #fff; color: var(--nuit); }
.btn-blanc:hover { color: var(--auto); }
.btn-contour { border-color: currentColor; color: var(--encre); background: transparent; }
.sur-nuit .btn-contour { color: #fff; }
.fleche::after { content: "→"; transition: transform .15s; }
.btn:hover .fleche::after, .lien-fleche:hover::after { transform: translateX(3px); }
.lien-fleche { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.lien-fleche::after { content: "→"; transition: transform .15s; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--papier { background: var(--papier); }
.section--nuit, .sur-nuit { background: var(--nuit); color: var(--gris-nuit); }
.section--nuit h1, .section--nuit h2, .section--nuit h3, .sur-nuit h1, .sur-nuit h2, .sur-nuit h3 { color: #fff; }
.section--auto { background: var(--auto); color: #E6ECFF; }
.section--auto h2, .section--auto h3 { color: #fff; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font: 700 13px var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 16px; }
.surtitre::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--or); }
.surtitre--auto { color: var(--auto); } .surtitre--auto::before { background: var(--auto); }
.surtitre--web { color: var(--web); } .surtitre--web::before { background: var(--web); }
.surtitre--log { color: var(--log); } .surtitre--log::before { background: var(--log); }
.sur-nuit .surtitre, .section--nuit .surtitre { color: var(--or); }
.section--auto .surtitre { color: #fff; } .section--auto .surtitre::before { background: #fff; }
h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -0.01em; }
h2 em, h1 em { font-style: normal; color: var(--auto); }
.sur-nuit h1 em, .section--nuit h2 em { color: var(--auto-nuit); }
.intro { font-size: 19px; color: var(--gris); max-width: 680px; margin-bottom: 44px; }
.sur-nuit .intro, .section--nuit .intro { color: var(--gris-nuit); }
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.entete-section .intro { margin-bottom: 0; }

/* ---------- En-tête de page (hero) ---------- */
.hero { background: var(--nuit); color: var(--gris-nuit); padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 85% 10%, rgba(31, 79, 255, .35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(109, 53, 224, .22), transparent 70%); pointer-events: none; }
.hero .conteneur { position: relative; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .h1-petit { display: block; font: 700 clamp(15px, 1.5vw, 18px) var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: 18px; }
.hero .chapeau { font-size: clamp(18px, 1.8vw, 21px); color: #D5DEEC; max-width: 620px; margin: 22px 0 0; }
.hero--web::before { background: radial-gradient(600px 380px at 85% 10%, rgba(194, 65, 12, .38), transparent 70%); }
.hero--web h1 em { color: var(--web-nuit); }
.hero--log::before { background: radial-gradient(600px 380px at 85% 10%, rgba(109, 53, 224, .45), transparent 70%); }
.hero--log h1 em { color: var(--log-nuit); }
.hero-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.puces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; }
.puces li { font-size: 14px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 7px 13px; border-radius: 999px; }
.puces li::before { content: "✓"; color: var(--or); margin-right: 7px; }
.puces a { color: #fff; text-decoration: none; }

/* Fil d'Ariane */
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 14px; margin-bottom: 26px; }
.fil li { color: var(--gris-nuit); }
.fil li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.fil a { color: #D5DEEC; }

/* ---------- Schéma animé : une demande traverse l'automatisation ---------- */
.flux { background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.flux-titre { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris-nuit); font-weight: 700; margin-bottom: 18px; }
.flux-titre .direct { color: #7CE3B5; display: inline-flex; align-items: center; gap: 7px; }
.flux-titre .direct::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2BD68B; animation: pulse 1.6s infinite; }
.flux ol { list-style: none; position: relative; }
.flux ol::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: rgba(255, 255, 255, .12); }
.flux li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 9px 0; color: #C9D3E3; font-size: 15px; }
.flux li .pt { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit-3); color: #fff; font: 700 14px var(--titre); position: relative; z-index: 1; border: 2px solid rgba(255, 255, 255, .14); }
.flux li strong { color: #fff; display: block; font-weight: 700; }
.flux li .heure { font-size: 12px; color: var(--gris-nuit); font-variant-numeric: tabular-nums; }
.flux li { animation: allume 9s infinite; }
.flux li .pt { animation: allume-pt 9s infinite; }
.flux li:nth-child(2), .flux li:nth-child(2) .pt { animation-delay: 1.2s; }
.flux li:nth-child(3), .flux li:nth-child(3) .pt { animation-delay: 2.4s; }
.flux li:nth-child(4), .flux li:nth-child(4) .pt { animation-delay: 3.6s; }
.flux li:nth-child(5), .flux li:nth-child(5) .pt { animation-delay: 4.8s; }
.flux li:nth-child(6), .flux li:nth-child(6) .pt { animation-delay: 6s; }
@keyframes allume { 0%, 100% { opacity: .55; } 6%, 60% { opacity: 1; } }
@keyframes allume-pt { 0%, 100% { background: var(--nuit-3); border-color: rgba(255, 255, 255, .14); } 6%, 60% { background: var(--auto); border-color: var(--auto-nuit); box-shadow: 0 0 0 6px rgba(31, 79, 255, .25); } }
@keyframes pulse { 50% { opacity: .35; } }
.flux-pied { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--gris-nuit); }

/* ---------- Trois offres ---------- */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offre { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); padding: 30px; text-decoration: none; color: var(--texte); border: 1px solid var(--ligne); box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.offre::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c, var(--auto)); }
.offre:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14, 27, 44, .14); color: var(--texte); }
.offre .rang { font: 800 13px var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.offre h3 { font-size: 28px; margin: 10px 0 10px; }
.offre .prix-offre { font: 800 22px var(--titre); color: var(--encre); margin-top: auto; padding-top: 18px; }
.offre .prix-offre small { font: 600 14px var(--corps); color: var(--gris); }
.offre ul { list-style: none; margin: 6px 0 0; }
.offre li { padding: 5px 0 5px 24px; position: relative; font-size: 15.5px; }
.offre li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 10px; border-radius: 3px; background: var(--c); opacity: .85; }
.offre .lien-fleche { color: var(--c); margin-top: 16px; }
.offre--auto { --c: var(--auto); }
.offre--web { --c: var(--web); }
.offre--log { --c: var(--log); }
.offre--phare { background: var(--auto); color: #E6ECFF; border-color: var(--auto); grid-row: span 1; }
.offre--phare::before { background: var(--or); }
.offre--phare h3, .offre--phare .prix-offre { color: #fff; }
.offre--phare .rang { color: #fff; }
.offre--phare .prix-offre small { color: #DCE4FF; }
.offre--phare li::before { background: var(--or); }
.offre--phare .lien-fleche { color: #fff; }
.offre--phare:hover { color: #E6ECFF; }

/* ---------- Petites, moyennes, grandes ---------- */
.tailles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.taille { background: #fff; border-radius: var(--rayon); border: 1px solid var(--ligne); padding: 28px; display: flex; flex-direction: column; }
.section--papier .taille { box-shadow: var(--ombre); }
.taille .badge { align-self: flex-start; font: 800 12px var(--corps); letter-spacing: .12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; margin-bottom: 16px; }
.badge--s { background: var(--auto-clair); color: var(--auto-fonce); }
.badge--m { background: var(--auto); color: #fff; }
.badge--l { background: var(--nuit); color: #fff; }
.taille .qui { font-size: 14px; color: var(--gris); margin-bottom: 14px; }
.taille h3 { font-size: 22px; }
.etapes-mini { list-style: none; counter-reset: e; margin: 14px 0 0; }
.etapes-mini li { counter-increment: e; position: relative; padding: 6px 0 6px 34px; font-size: 15px; border-top: 1px dashed var(--ligne); }
.etapes-mini li:first-child { border-top: 0; }
.etapes-mini li::before { content: counter(e); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 6px; background: var(--auto-clair); color: var(--auto-fonce); font: 800 12px/22px var(--corps); text-align: center; }
.taille .gain { margin-top: auto; padding-top: 16px; font-size: 15px; color: var(--encre); font-weight: 600; }
.taille .gain::before { content: "Ce que ça change : "; color: var(--auto); }
.taille .tarif-taille { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ligne); font: 700 15px var(--corps); color: var(--gris); }
.taille .tarif-taille b { color: var(--encre); font-family: var(--titre); font-size: 18px; }

/* ---------- Grille de sujets ---------- */
.sujets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sujet { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 22px; text-decoration: none; color: var(--texte); transition: border-color .15s, transform .15s; }
.sujet:hover { border-color: var(--auto); transform: translateY(-2px); color: var(--texte); }
.sujet .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--auto-clair); color: var(--auto); display: grid; place-items: center; margin-bottom: 6px; }
.sujet .ico svg { width: 24px; height: 24px; }
.sujet h3 { font-size: 19px; margin: 0; }
.sujet p { font-size: 15px; color: var(--gris); margin: 0; }
.sujet .lien-fleche { color: var(--auto); font-size: 15px; margin-top: auto; padding-top: 6px; }
.sujet--secteur .ico { background: #FFF4DC; color: #8A6410; }

/* ---------- Chiffres sourcés ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--rayon); overflow: hidden; }
.chiffre { background: var(--nuit-2); padding: 28px 24px; display: flex; flex-direction: column; }
.chiffre .n { font: 800 clamp(36px, 4vw, 50px)/1 var(--titre); color: #fff; letter-spacing: -0.03em; }
.chiffre .n span { color: var(--or); }
.chiffre p { color: #D5DEEC; font-size: 15.5px; margin: 12px 0 14px; }
.chiffre .src { margin-top: auto; font-size: 12.5px; color: var(--gris-nuit); }
.chiffre .src a { color: var(--gris-nuit); }
.chiffres--clair { background: var(--ligne); }
.chiffres--clair .chiffre { background: #fff; }
.chiffres--clair .chiffre .n { color: var(--encre); }
.chiffres--clair .chiffre .n span { color: var(--auto); }
.chiffres--clair .chiffre p { color: var(--texte); }
.chiffres--clair .chiffre .src, .chiffres--clair .chiffre .src a { color: var(--gris); }

/* ---------- Blocs offre (sites, logiciels) sur l'accueil ---------- */
.bloc-offre { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.bloc-offre ul.coches { margin-top: 8px; }
.coches { list-style: none; display: grid; gap: 10px; }
.coches li { position: relative; padding-left: 32px; }
.coches li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--auto)); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.coches--2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.maquette { border-radius: 16px; padding: 22px; background: var(--c-clair, var(--auto-clair)); }
.maquette-ecran { background: #fff; border-radius: 10px; box-shadow: var(--ombre); overflow: hidden; }
.maquette-barre { display: flex; gap: 6px; padding: 10px 12px; background: var(--papier); border-bottom: 1px solid var(--ligne); }
.maquette-barre i { width: 10px; height: 10px; border-radius: 50%; background: var(--ligne); }
.maquette-corps { padding: 20px; display: grid; gap: 10px; }
.maquette-corps .l { height: 10px; border-radius: 6px; background: var(--ligne); }
.maquette-corps .l.titre { height: 22px; width: 70%; background: var(--c, var(--auto)); opacity: .9; }
.maquette-corps .l.c60 { width: 60%; } .maquette-corps .l.c80 { width: 80%; } .maquette-corps .l.c40 { width: 40%; }
.maquette-corps .cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.maquette-corps .cases span { height: 54px; border-radius: 8px; background: var(--c-clair, var(--auto-clair)); }
.maquette-corps .bouton { width: 38%; height: 30px; border-radius: 8px; background: var(--c, var(--auto)); margin-top: 4px; }
.maquette table { width: 100%; border-collapse: collapse; font-size: 13px; }
.maquette td, .maquette th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ligne); }
.maquette th { color: var(--gris); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.etat { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.etat--ok { background: #DDF5EA; color: #0A6B49; }
.etat--attente { background: #FFF1D6; color: #8A5A00; }
.etat--nouveau { background: var(--log-clair); color: var(--log); }
.theme-web { --c: var(--web); --c-clair: var(--web-clair); }
.theme-log { --c: var(--log); --c-clair: var(--log-clair); }
.theme-auto { --c: var(--auto); --c-clair: var(--auto-clair); }

/* ---------- Cartes génériques ---------- */
.grille { display: grid; gap: 20px; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
.carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 26px; }
.section--papier .carte { border-color: transparent; box-shadow: var(--ombre); }
.carte p:last-child { margin-bottom: 0; }
.carte .num { font: 800 14px var(--titre); color: var(--c, var(--auto)); display: block; margin-bottom: 10px; }
.carte--lien { text-decoration: none; color: var(--texte); display: block; transition: transform .15s; }
.carte--lien:hover { transform: translateY(-2px); color: var(--texte); }
.carte--accent { border-top: 5px solid var(--c, var(--auto)); }
.realisation .meta { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c, var(--web)); margin-bottom: 10px; }
.realisation h3 { font-size: 24px; }

/* ---------- Étapes de méthode ---------- */
.methode { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: m; list-style: none; }
.methode li { counter-increment: m; background: #fff; border-radius: var(--rayon); padding: 26px; border: 1px solid var(--ligne); position: relative; }
.section--papier .methode li { border-color: transparent; box-shadow: var(--ombre); }
.methode li::before { content: "0" counter(m); display: block; font: 800 34px/1 var(--titre); color: var(--auto); margin-bottom: 14px; }
.methode li:nth-child(2)::before { color: var(--or); }
.methode h3 { font-size: 20px; }
.methode p { font-size: 15.5px; margin: 0; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tarif { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 30px; display: flex; flex-direction: column; border-top: 6px solid var(--c, var(--auto)); }
.section--papier .tarif { border-color: transparent; border-top-color: var(--c); box-shadow: var(--ombre); }
.tarif .type { font: 800 13px var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.tarif h3 { font-size: 26px; margin: 8px 0 4px; }
.tarif .montant { font: 800 38px/1.1 var(--titre); color: var(--encre); letter-spacing: -0.02em; margin: 12px 0 2px; }
.tarif .montant small { font: 600 15px var(--corps); color: var(--gris); letter-spacing: 0; }
.tarif .note { color: var(--gris); font-size: 14.5px; }
.tarif ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 8px; }
.tarif li { padding-left: 26px; position: relative; font-size: 15.5px; }
.tarif li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font-weight: 800; }
.tarif .btn { margin-top: auto; justify-content: center; }
.tarif--auto { --c: var(--auto); } .tarif--web { --c: var(--web); } .tarif--log { --c: var(--log); }
.paliers { display: grid; gap: 0; margin: 14px 0 18px; border: 1px solid var(--ligne); border-radius: 10px; overflow: hidden; }
.palier { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px; font-size: 15px; }
.palier + .palier { border-top: 1px solid var(--ligne); }
.palier b { font-family: var(--titre); color: var(--encre); white-space: nowrap; }
.palier span { color: var(--gris); }
.legal { font-size: 14px; color: var(--gris); margin-top: 22px; }
.bande-maintenance { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; background: var(--nuit); color: var(--gris-nuit); border-radius: var(--rayon); padding: 22px 28px; }
.bande-maintenance strong { color: #fff; font-family: var(--titre); font-size: 20px; display: block; }
.bande-maintenance .t { display: flex; gap: 28px; flex-wrap: wrap; }
.bande-maintenance .t b { color: #fff; font: 800 22px var(--titre); }
.tableau { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); font-size: 15.5px; }
.tableau th, .tableau td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau th { background: var(--nuit); color: #fff; font-weight: 700; }
.tableau td:last-child { font-weight: 700; color: var(--encre); white-space: nowrap; }

/* ---------- Page sujet : scénario ---------- */
.scenario { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.avant-apres { border-radius: var(--rayon); padding: 26px; }
.avant-apres h3 { font-size: 19px; margin-bottom: 12px; }
.avant-apres ul { list-style: none; display: grid; gap: 8px; }
.avant-apres li { padding-left: 28px; position: relative; font-size: 16px; }
.avant-apres--avant { background: #FFF1EE; }
.avant-apres--avant li::before { content: "✕"; position: absolute; left: 0; color: var(--rouge); font-weight: 800; }
.avant-apres--apres { background: #E6F6EF; }
.avant-apres--apres li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-weight: 800; }
.outils { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 14px; }
.outils li { background: var(--papier); border: 1px solid var(--ligne); border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 600; color: var(--encre); }
.encadre-source { border-left: 5px solid var(--or); background: #FFF9EC; border-radius: 0 var(--rayon) var(--rayon) 0; padding: 22px 26px; }
.encadre-source .k { font: 800 12px var(--corps); letter-spacing: .12em; text-transform: uppercase; color: #8A6410; }
.encadre-source p { margin: 8px 0 8px; color: var(--encre); font-size: 17px; }
.encadre-source .src { font-size: 13.5px; color: var(--gris); margin: 0; }
.avertissement { font-size: 14px; color: var(--gris); font-style: italic; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 0 22px; }
.section--papier .faq details { border-color: transparent; box-shadow: var(--ombre); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font: 700 17.5px var(--titre); color: var(--encre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--auto); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- Bande d'appel ---------- */
.bande-appel { background: var(--auto); color: #E6ECFF; padding: 72px 0; position: relative; overflow: hidden; }
.bande-appel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); }
.bande-appel .conteneur { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.bande-appel h2 { color: #fff; margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 40px); }
.bande-appel p { margin: 0; font-size: 18px; max-width: 560px; }
.bande-appel .actions { margin-top: 0; }
.bande-appel .btn-contour { color: #fff; }

/* ---------- Formulaires ---------- */
.contact-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.coordonnees { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.coordonnees li { display: grid; gap: 2px; }
.coordonnees .k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.coordonnees .v { font: 700 19px var(--titre); color: var(--encre); text-decoration: none; }
.coordonnees a.v:hover { color: var(--auto); }
.formulaire { background: #fff; border-radius: 18px; padding: 32px; box-shadow: var(--ombre); border: 1px solid var(--ligne); display: grid; gap: 16px; }
.formulaire label { display: block; font-weight: 700; font-size: 15px; color: var(--encre); margin-bottom: 6px; }
.formulaire input, .formulaire textarea, .formulaire select { width: 100%; font: 16px var(--corps); color: var(--encre); padding: 13px 14px; border: 1.5px solid #C5CEDC; border-radius: 10px; background: #fff; }
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { outline: none; border-color: var(--auto); box-shadow: 0 0 0 4px rgba(31, 79, 255, .15); }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulaire .btn { justify-content: center; }
.statut { font-weight: 600; min-height: 1.2em; }
.statut--ok { color: var(--vert); } .statut--erreur { color: var(--rouge); } .statut--envoi { color: var(--auto); }

/* ---------- Liens locaux ---------- */
.liens-locaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.liens-locaux h3 { font-size: 18px; margin-bottom: 12px; }
.liens-locaux ul { list-style: none; display: grid; gap: 7px; }
.liens-locaux a { text-decoration: none; font-weight: 600; }
.liens-locaux a:hover { text-decoration: underline; }
.matrice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.matrice .carte h3 { font-size: 19px; }
.matrice .carte p { font-size: 14.5px; color: var(--gris); }
.matrice ul { list-style: none; display: grid; gap: 5px; margin-top: 10px; }
.matrice a { color: var(--web); font-weight: 600; text-decoration: none; font-size: 15px; }
.matrice a:hover { text-decoration: underline; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.etiquettes li, .etiquettes a { background: var(--papier); border-radius: 999px; padding: 6px 13px; font-size: 14.5px; font-weight: 600; color: var(--encre); text-decoration: none; }
.etiquettes a:hover { background: var(--auto-clair); color: var(--auto-fonce); }
.local-grille { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: start; }
.aparte { background: var(--papier); border-radius: var(--rayon); padding: 26px; }
.aparte h3 { font-size: 19px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--gris-nuit); padding: 72px 0 0; font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; }
.pied h2 { font: 800 13px var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { color: #DCE4F0; text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .marque img { height: 44px; width: auto; border-radius: 3px; margin-bottom: 16px; }
.pied .marque p { max-width: 300px; }
.pied-bas { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; }
.reseaux { display: flex; gap: 14px; }
.barre-mobile { display: none; }

/* ---------- Apparitions au défilement ---------- */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .apparait.vu { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sujets, .matrice { grid-template-columns: repeat(2, 1fr); }
  .chiffres, .methode, .grille-4 { grid-template-columns: repeat(2, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr 1fr; }
  .pied .marque { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-bouton { display: block; }
  .nav-liens { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--nuit); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-liens.ouvert { display: flex; }
  .nav-liens a { padding: 13px 10px; font-size: 17px; }
  .nav-liens .nav-cta { margin: 8px 0 0; text-align: center; }
  .hero-grille, .bloc-offre, .contact-grille, .local-grille, .scenario { grid-template-columns: 1fr; gap: 36px; }
  .offres, .tailles, .tarifs, .grille-3 { grid-template-columns: 1fr; }
  .liens-locaux { grid-template-columns: 1fr 1fr; }
  .bloc-offre .maquette { order: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .conteneur { padding: 0 20px; }
  .sujets, .matrice, .chiffres, .methode, .grille-2, .grille-4, .liens-locaux, .coches--2, .formulaire .deux { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .flux { padding: 18px; }
  .flux li { grid-template-columns: 32px 1fr; font-size: 14.5px; }
  .flux li .pt { width: 32px; height: 32px; }
  .flux ol::before { left: 15px; }
  .flux li .heure { display: none; }
  .tableau { font-size: 14px; }
  .tableau th, .tableau td { padding: 10px 12px; }
  .tableau td:last-child { white-space: normal; }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--nuit); border-top: 1px solid rgba(255, 255, 255, .12); }
  .barre-mobile a { color: #fff; text-align: center; padding: 18px 8px; font-weight: 700; text-decoration: none; }
  .barre-mobile a + a { background: var(--auto); }
  .btn { width: 100%; justify-content: center; }
  .actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .apparait { opacity: 1; transform: none; }
  .flux li { opacity: 1; }
}

/* Cartes claires posées sur une section colorée ou sombre */
.section--auto .sujet h3, .section--auto .carte h3, .sur-nuit .sujet h3 { color: var(--encre); }
.maquette td { color: var(--encre); }
.grille > *, .tailles > *, .sujets > * { min-width: 0; }
@media (max-width: 640px) {
  .palier { flex-wrap: wrap; }
  .palier b { white-space: normal; }
  .sujets { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sujet { padding: 16px; }
  .sujet p, .sujet .lien-fleche { display: none; }
  .sujet h3 { font-size: 16.5px; }
  .grille .sujet p { display: block; }
}
.hero:not(.hero--web):not(.hero--log) h1 em { color: #6F8CFF; }
.fleche::after { margin-left: 8px; display: inline-block; }
@media (max-width: 640px) { .puces { gap: 8px; } .puces li { font-size: 13px; padding: 6px 11px; } }

/* Références clientes, sous l'en-tête de l'accueil */
.references { background: var(--blanc); border-bottom: 1px solid var(--ligne); padding: 22px 0; }
.references-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 48px; }
.references-titre { font: 700 13px var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.references ul { display: flex; flex-wrap: wrap; gap: 14px 48px; list-style: none; margin: 0; padding: 0; }
.references li { display: flex; flex-direction: column; gap: 2px; }
.references a { font: 800 20px var(--titre); letter-spacing: -0.01em; color: var(--encre); text-decoration: none; }
.references a:hover, .references a:focus-visible { color: var(--auto); }
.references li span { font-size: 13px; color: var(--gris); }
