/* ═══════════════════════════════════════════════════════════
   KEYSTONE DIGITAL — thème + composants propres au site
   Chargé APRÈS themes.css et immersif.css. Le moteur n'est pas modifié.
   ═══════════════════════════════════════════════════════════ */

/* Polices hébergées sur le site (pas d'appel à Google : plus rapide, conforme RGPD) */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-tight-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-tight-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: italic; font-display: swap; font-weight: 100 900; src: url(fonts/inter-tight-latin-wght-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0152-0153,U+2000-206F,U+20AC; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/martian-mono-latin-400-normal.woff2) format('woff2'); }

/* Thème : nuit navy, verre dépoli, bleu → cyan dosé */
html[data-theme="nuit"] {
  --bg: #060a14;
  --surface-solid: #0d1424;
  --ink: #f2f5fb;
  --ink-2: #a7b3c9;
  --line: rgba(150, 185, 255, .12);
  --accent: #1f74e0;
  --accent-ink: #ffffff;
  --accent-2: #6fb6ff;
  --spectrum: linear-gradient(100deg, #4f8ff7 0%, #38bdf8 50%, #22d3ee 100%);
  --fill: #1f74e0;
  --btn-shadow: 0 10px 30px -12px rgba(31, 116, 224, .7);
  /* verre : plaque translucide, flou, liseré lumineux en haut */
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02));
  --glass-border: rgba(170, 205, 255, .16);
  --glass-blur: 18px;
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .14), 0 24px 60px -30px rgba(0, 0, 0, .85);
  --grain: .025;
  --radius: 16px;
}
/* lumière fixe derrière le verre (pas d'animation) : halos navy, bleu et cyan */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 8%, rgba(31, 116, 224, .22), transparent 70%),
    radial-gradient(50vw 45vh at 5% 55%, rgba(30, 64, 175, .20), transparent 70%),
    radial-gradient(45vw 40vh at 90% 95%, rgba(34, 211, 238, .10), transparent 70%),
    linear-gradient(180deg, #060a14, #070d1b 60%, #060a14); }
html body { background: transparent; }
html { background: #060a14; }

/* ─── En-tête : logo ─── */
.im-header .im-home { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.im-header .im-home img { height: 22px; width: auto; }
.im-header .btn { padding: 9px 16px; font-weight: 600; }

/* ─── Boutons ─── */
.btn { font-weight: 600; font-size: 15px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.4em; border-radius: 999px;
  font-family: var(--font-ui); font-size: 15px; text-decoration: none; color: var(--ink);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  transition: transform .4s var(--ease-out), border-color .3s;
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
[data-layout="center"] .actions, .actions.center { justify-content: center; }
[data-layout="center"] .qr-inner > header { justify-items: center; margin: 0 auto; }
.zt-sub { max-width: 40ch; margin-left: auto; margin-right: auto; font-size: clamp(16px, .6vw + 13px, 21px); line-height: 1.5; }
.hero-actions { margin-top: 26px; position: relative; z-index: 3; }

/* ─── Grille des 8 offres ─── */
.offres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; width: 100%; }
.offre {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3); backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  text-decoration: none; color: var(--ink); transition: transform .5s var(--ease-out), border-color .3s;
}
.offre:hover { transform: translateY(-4px); border-color: rgba(0, 150, 255, .55); }
.offre img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 45%; }
.offre-body { display: grid; gap: 8px; padding: 18px 20px 22px; align-content: start; }
.offre-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); }
.offre h3 { font-size: clamp(20px, 1vw + 12px, 24px); line-height: 1.15; }
.offre p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.offre .more { font-size: 14px; color: var(--accent-2); margin-top: 4px; }
@media (max-width: 1100px) { .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .offres { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .offre { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: none; }
  .offre img { aspect-ratio: auto; height: 100%; object-position: center; }
  .offre-body { padding: 14px 16px; gap: 4px; }
  .offre p { font-size: 14px; }
}

/* ─── Cartes génériques (métiers, réalisations, FAQ) ─── */
.qa .exemples { font-size: .95em; }
.metier-tag { display: inline-flex; width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: 13px; background: rgba(0, 150, 255, .14); color: var(--accent-2); }
.projets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; width: 100%; }
.projet { display: grid; gap: 12px; align-content: start; }
.projet img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--glass-border); }
.projet h3 { font-size: 22px; }
.projet p { font-size: 15px; color: var(--ink-2); }
.citation { font-family: var(--font-display); font-size: clamp(20px, 1vw + 14px, 26px); line-height: 1.35; letter-spacing: -.01em; }
.auteur { font-size: 15px; color: var(--ink-2); }
.a-remplir { color: var(--ink-2); font-style: italic; }

/* FAQ en accordéon natif */
.faq { display: grid; gap: 10px; width: 100%; max-width: 900px; }
.faq details { border-radius: 16px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-2); font-size: 1.3em; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 66ch; }

/* Sommaire de la page Solutions */
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 900px; }
.sommaire a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.sommaire a:hover { border-color: var(--accent); }
.benefices { display: grid; gap: 6px; }

/* ═══════════ CONFIGURATEUR DE DEVIS ═══════════ */
.devis { min-height: 100vh; padding: clamp(96px, 13vh, 140px) var(--gutter) 80px; display: grid; justify-items: center; }
.devis-card {
  width: 100%; max-width: 780px; border-radius: 24px; padding: clamp(22px, 4vw, 44px);
  background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3); backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
}
.devis-head { display: grid; gap: 12px; margin-bottom: 26px; }
.devis-head h1 { font-size: clamp(30px, 3vw + 12px, 52px); line-height: 1.05; }
.devis-head p { color: var(--ink-2); }
.progress { display: grid; gap: 8px; margin-bottom: 28px; }
.progress-track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-fill { height: 100%; width: 20%; background: var(--spectrum); border-radius: 6px; transition: width .5s var(--ease-out); }
.progress-label { font-size: 14px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; }
.etape { border: 0; display: grid; gap: 18px; }
.etape[hidden] { display: none; }
.etape legend { font-family: var(--font-display); font-size: clamp(22px, 1.4vw + 14px, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 4px; padding: 0; }
.etape .aide { color: var(--ink-2); font-size: 15px; margin-top: -8px; }
.choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .choix { grid-template-columns: minmax(0, 1fr); } }
.choix label, .chips label {
  position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s;
}
.choix label:hover, .chips label:hover { border-color: rgba(0,150,255,.5); }
.choix input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--ink-2); display: grid; place-items: center; margin-top: 2px; transition: .2s; }
.choix input:checked + .box { background: var(--accent); border-color: var(--accent); }
.choix input:checked + .box::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.choix label:has(input:checked), .chips label:has(input:checked) { border-color: var(--accent); background: rgba(0,150,255,.12); }
.choix input:focus-visible + .box, .chips input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.choix strong { display: block; font-size: 16px; }
.choix small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { padding: 10px 14px; border-radius: 999px; font-size: 15px; }
.champ { display: grid; gap: 8px; }
.champ > label, .champ > .lbl { font-weight: 600; font-size: 16px; }
.champ .opt { font-weight: 400; color: var(--ink-2); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.devis input[type="text"], .devis input[type="email"], .devis input[type="tel"], .devis select, .devis textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(255,255,255,.05);
  border: 1px solid var(--glass-border); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, background .2s;
}
.devis select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.devis select option { background: #0c1220; color: #eef4ff; }
.devis textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.devis input:focus, .devis select:focus, .devis textarea:focus { border-color: var(--accent); background: rgba(0,150,255,.07); }
.devis ::placeholder { color: rgba(200, 215, 240, .45); }
.montant { position: relative; max-width: 320px; }
.montant input { padding-right: 44px !important; font-size: 22px !important; font-weight: 600; }
.montant span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); font-size: 20px; }
.indicatif { border-radius: 16px; padding: 16px 18px; background: rgba(0,150,255,.1); border: 1px solid rgba(0,150,255,.35); display: grid; gap: 4px; }
.indicatif[hidden] { display: none; }
.indicatif strong { color: var(--accent-2); font-size: 17px; }
.indicatif p { font-size: 15px; color: var(--ink); }
.indicatif .note { font-size: 13px; color: var(--ink-2); }
.erreur { color: #ff8a8a; font-size: 14px; }
.erreur:empty { display: none; }
[aria-invalid="true"] { border-color: #ff6b6b !important; }
.nav-etapes { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.nav-etapes .btn, .nav-etapes .btn-ghost { font-size: 16px; }
.nav-etapes .btn[disabled] { opacity: .6; cursor: progress; }
.recap { display: grid; gap: 2px; border-radius: 14px; overflow: hidden; border: 1px solid var(--glass-border); font-size: 15px; }
.recap div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 10px 14px; background: rgba(255,255,255,.03); }
.recap dt { color: var(--ink-2); }
.recap dd { overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 600px) { .recap div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.merci { text-align: center; display: grid; gap: 18px; justify-items: center; }
.merci h1 { font-size: clamp(30px, 3vw + 12px, 52px); }
.merci p { color: var(--ink-2); max-width: 48ch; }
.merci ol { display: grid; gap: 10px; text-align: left; counter-reset: s; width: 100%; max-width: 440px; }
.merci li { counter-increment: s; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); font-size: 15px; }
.merci li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--spectrum); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
.hp { position: absolute; left: -9999px; }

/* Pages de texte (mentions légales, 404) */
.page-texte { min-height: 100vh; padding: clamp(110px, 15vh, 160px) var(--gutter) 80px; display: grid; justify-items: center; }
.page-texte .a { max-width: 70ch; }
.page-texte h1 { font-size: clamp(32px, 3vw + 14px, 56px); margin-bottom: 24px; }
.page-texte h2 { font-size: 24px; margin-top: 1.6em; }
/* Sans JavaScript : toutes les étapes visibles, envoi direct */
html:not(.im-js) #btn-suivant, html:not(.im-js) #btn-retour { display: none; }
[hidden] { display: none !important; }
.etape legend + .aide { margin-top: 0; }

/* ─── Héros : badge, grand titre, sous-titre, deux boutons (inspiré du site d'origine) ─── */
.hero { min-height: var(--vh); position: relative; overflow: hidden; }
.hero .qr-inner { max-width: 1080px; justify-items: center; gap: 26px; }
.hero-grille { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(140,190,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(140,190,255,.07) 1px, transparent 1px);
  background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 78%); }
.hero::before { content: ''; position: absolute; width: 900px; height: 600px; left: 50%; top: 42%; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(31,116,224,.22), transparent 62%); }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: #9fd0ff;
  background: rgba(31,116,224,.12); border: 1px solid rgba(111,182,255,.28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--spectrum); box-shadow: 0 0 10px #38bdf8; }
.hero-titre { font-size: clamp(44px, 6.6vw + 4px, 112px); line-height: .98; letter-spacing: -.045em;
  background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 45%, #7cc4ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-titre em { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; }
.hero .lead { max-width: 40ch; margin: 0 auto; color: var(--ink-2); }
.hero .actions { justify-content: center; margin-top: 10px; }
.btn-xl { font-size: 16px !important; padding: 1em 1.8em !important; }
.btn-ghost { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }
@media (max-width: 600px) { .hero .actions { flex-direction: column; width: 100%; } .hero .actions a { justify-content: center; } }

/* ─── Offres (4 cartes en verre) ─── */
.offre { background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4); backdrop-filter: blur(var(--glass-blur)) saturate(1.4); }
.offre img { opacity: .92; }

/* ─── Pour qui : 4 plaques de verre, une phrase chacune ─── */
.metiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; text-align: left; }
.metier { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4); backdrop-filter: blur(var(--glass-blur)) saturate(1.4); display: grid; gap: 10px; }
.metier::before { content: ''; width: 34px; height: 3px; border-radius: 3px; background: var(--spectrum); }
.metier h3 { font-size: 22px; }
.metier p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1000px) { .metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .metiers { grid-template-columns: minmax(0, 1fr); gap: 10px; } .metier { padding: 20px; } }

/* ─── Réalisations ─── */
.projet img { box-shadow: var(--glass-highlight); }
.temoignage { margin-top: 10px; padding: 26px 28px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: var(--glass-highlight);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); display: grid; gap: 12px; max-width: 760px; }
.faq details { box-shadow: var(--glass-highlight); -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur)); }

/* ─── Appel à l'action final : grand panneau de verre au liseré spectre ─── */
.cta-section { min-height: auto !important; }
.cta-panneau { position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); border-radius: 28px; text-align: center;
  display: grid; justify-items: center; gap: 20px; overflow: hidden;
  background: linear-gradient(160deg, rgba(31,116,224,.20), rgba(255,255,255,.03) 55%), rgba(8,14,28,.55);
  border: 1px solid rgba(111,182,255,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 40px 100px -40px rgba(31,116,224,.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); }
.cta-panneau::before { content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: var(--spectrum); }
.cta-panneau .lead { max-width: 44ch; color: var(--ink-2); }
.cta-panneau .actions { justify-content: center; }
@media (max-width: 600px) { .cta-panneau .actions { flex-direction: column; width: 100%; } .cta-panneau .actions a { justify-content: center; } }

/* ─── Touches « spectre » discrètes ─── */
/* cartes d'offres : liseré qui s'allume au survol */
.offre::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--spectrum); opacity: 0; transition: opacity .35s; z-index: 2; }
.offre:hover::before, .offre:focus-visible::before { opacity: 1; }
.offre:hover { border-color: rgba(56, 189, 248, .35); }
/* numéros d'offre et étiquettes métier */
.offre-num { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* bouton principal : très léger dégradé au survol seulement */
.btn:hover { background: linear-gradient(100deg, #2a7ff0, #1f9be6); }
/* devis : choix coché bordé du spectre */
.choix label:has(input:checked) { border-color: transparent; background: linear-gradient(#171b21, #171b21) padding-box, var(--spectrum) border-box; border: 1px solid transparent; }

/* ═══════════ POSITIONNEMENT SUR MESURE ═══════════ */
/* Héros : les 3 expertises en pastilles */
.hero-piliers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-piliers li { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--ink); background: var(--glass-bg); border: 1px solid var(--glass-border); }
.hero-piliers li::before { content: '✓'; margin-right: 7px; color: var(--accent-2); }

/* 3 offres phares : la première (logiciel) mise en avant */
.offres-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offre-phare { border-color: rgba(111, 182, 255, .45); }
.offre-phare::before { opacity: 1; }
@media (max-width: 1000px) { .offres-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }

/* Déclinaisons d'une expertise (page Expertises) */
.declinaisons { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin-top: 14px; }
.declinaisons li { padding: 5px 12px; border-radius: 999px; font-size: 13px; background: rgba(0, 150, 255, .14); color: var(--accent-2); }
.declinaisons li::before { content: none; }

/* Devis : questions conditionnelles et chips cochables */
.etape .champ[hidden] { display: none; }
.chips label { padding: 9px 13px; font-size: 14px; }

/* Cartes d'offres de l'accueil : texte seul */
.offres-3 .offre { grid-template-rows: none; grid-template-columns: none; }
.offres-3 .offre-body { padding: 30px 28px 32px; gap: 12px; }
/* Déclinaisons : pastilles en ligne (prend le pas sur les listes .a du moteur) */
.a ul.declinaisons { display: flex; flex-wrap: wrap; gap: 6px; }
.a ul.declinaisons li { padding: 5px 12px; width: auto; }
.a ul.declinaisons li::before { content: none; display: none; }

/* Agenda Calendly après l'envoi du devis */
.rdv { width: 100%; }
.rdv iframe { display: block; width: 100%; height: 900px; border: 0; color-scheme: light; /* évite le fond blanc opaque du navigateur */ }
@media (max-width: 600px) { .rdv iframe { height: 1000px; } }

/* ═══════════ ÉPURATION ═══════════ */
/* Compteur « 02 / 12 » et aide clavier du moteur : retirés */
.im-count, .im-keys { display: none !important; }
/* Surtitres : simple texte, sans bulle */
.kicker, .kicker > span, .hero-badge {
  padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2);
}
.kicker::before, .kicker > span::before, .kicker > span:first-child::before, .hero-badge span { display: none; }
.kicker > span + span::before { content: '·'; display: inline; margin: 0 .6em; background: none; width: auto; height: auto; }
/* Piliers du héros : texte simple */
.hero-piliers { gap: 6px 22px; }
.hero-piliers li { padding: 0; background: none; border: 0; color: var(--ink-2); font-size: 15px; }

/* ═══════════ HEADER : barre transparente pleine largeur, ligne fine ═══════════ */
.im-header, .im-js .im-header, .im-ready .im-header {
  left: 0; right: 0; top: 0; transform: none; max-width: none; height: 72px;
  padding: 0 clamp(16px, 4vw, 48px); gap: clamp(20px, 3.4vw, 48px); border-radius: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; border-bottom: 1px solid rgba(150, 185, 255, .1);
  font-size: 15px; transition: background .35s, opacity .6s;
}
.im-js .im-header { transform: translateY(-12px); }
.im-ready .im-header { transform: none; }
/* au défilement : fond sombre en verre pour rester lisible sur le contenu */
.im-header.defile { background: rgba(6, 10, 20, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.im-header a { padding: 0; border-radius: 0; background: none !important; color: var(--ink-2); transition: color .25s; }
.im-header a:hover, .im-header a[aria-current="page"] { color: var(--ink); }
.im-header .im-home { color: var(--ink); font-size: 17px; font-weight: 600; gap: 10px; }
.hd-nav { display: flex; gap: clamp(18px, 2.4vw, 32px); margin-right: auto; }
.hd-rdv { font-size: 14px; }
.im-header .btn { padding: 10px 18px; border-radius: 10px; font-size: 14px; color: var(--ink);
  background: none !important; border: 1px solid rgba(111, 182, 255, .45); box-shadow: none; }
.im-header .btn:hover, .im-header .btn[aria-current="page"] { border-color: var(--accent-2); }
@media (max-width: 860px) { .hd-nav, .hd-rdv { display: none; } .im-header .im-home { margin-right: auto; } }
@media (max-width: 600px) { .im-header, .im-js .im-header, .im-ready .im-header { height: 60px; } .im-header .btn { padding: 8px 12px; font-size: 13px; } .im-header .im-home { font-size: 15px; } }

/* ═══════════ FOOTER ═══════════ */
.site-footer { position: relative; padding: 0 clamp(16px, 4vw, 48px) 28px; background: #060a14; border-top: 1px solid rgba(150, 185, 255, .12); font-family: var(--font-ui); }
.ft-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(36px, 6vw, 56px) 0; border-bottom: 1px solid rgba(150, 185, 255, .12); }
.ft-cta h2 { font-size: clamp(28px, 2.4vw + 12px, 40px); line-height: 1.1; letter-spacing: -.03em; }
.ft-cta h2 em { font-style: normal; color: var(--accent-2); }
.ft-cta .btn, .ft-cta .btn-ghost { border-radius: 10px; font-size: 15px; }
.ft-cols { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; padding: 44px 0; }
.ft-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.ft-logo img { height: 22px; width: auto; }
.ft-marque p { color: var(--ink-2); font-size: 14px; line-height: 1.6; max-width: 32ch; margin: 14px 0; }
.ft-mail { color: var(--accent-2); text-decoration: none; font-size: 14px; }
.ft-cols h3 { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b7891; margin-bottom: 16px; }
.ft-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ft-cols ul a { color: #d6deeb; text-decoration: none; font-size: 14px; }
.ft-cols ul a:hover, .ft-mail:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.ft-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(150, 185, 255, .12); color: #6b7891; font-size: 13px; }
@media (max-width: 900px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-marque { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ft-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } .ft-cta .actions { flex-direction: column; width: 100%; } .ft-cta .actions a { justify-content: center; } }
.im-header { box-shadow: none; }
.im-header .hd-nav a, .im-header .hd-rdv { color: var(--ink-2) !important; }
.im-header .hd-nav a:hover, .im-header .hd-rdv:hover, .im-header .hd-nav a[aria-current="page"] { color: var(--ink) !important; }
/* place pour le bouton « Votre lecture » en bas à droite */
.site-footer { padding-bottom: 84px; }
/* le moteur marque les ancres de la page comme « courantes » : on ne les met pas en avant */
.im-header .hd-nav a[href*="#"][aria-current="page"] { color: var(--ink-2) !important; }
.im-header .hd-nav a[href*="#"]:hover { color: var(--ink) !important; }

/* Démo gratuite mise en avant */
.hero-gratuit { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.hero-gratuit strong { color: var(--accent-2); font-weight: 600; }
.ft-gratuit { margin-top: 8px; color: var(--accent-2); font-size: 15px; }
