/* IrriGest — site de présentation */

@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('../fonts/plex-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --accent: #0369A1; --accent-600: #075985; --accent-700: #0C4A6E; --accent-900: #082F49;
  --accent-50: #F0F9FF; --accent-100: #E0F2FE; --accent-200: #BAE6FD; --accent-300: #7DD3FC;
  --vert: #15803D; --vert-bg: #DCFCE7; --vert-50: #F0FDF4;
  --sol: #F3EEE6; --sol-trait: #CDBFA9;
  --bg: #F6F7F9; --surface: #fff; --surface-2: #F9FAFB;
  --border: #E5E7EB; --border-strong: #D1D5DB;
  --ink: #111827; --ink-2: #4B5563; --ink-3: #6B7280;
  --ambre: #92400E; --ambre-bg: #FEF3C7;
  --r: 12px; --r-lg: 12px; --r-xl: 16px; --pill: 999px;
  --sh-sm: 0 1px 2px rgba(17,24,39,.05);
  --sh: 0 4px 14px rgba(17,24,39,.07), 0 1px 3px rgba(17,24,39,.05);
  --sh-lg: 0 24px 56px rgba(8,47,73,.18), 0 6px 16px rgba(8,47,73,.10);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.3,1);
  --largeur: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.evitement:focus { top: 12px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r); font: 700 15px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-primaire { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(3,105,161,.25); }
.btn-primaire:hover { background: var(--accent-600); }
.btn-contour { background: var(--surface); color: var(--accent-700); border-color: var(--border-strong); }
.btn-contour:hover { border-color: var(--accent); background: var(--accent-50); }
.btn-clair { background: #fff; color: var(--accent-700); }
.btn-clair:hover { background: var(--accent-50); }
.btn-contour-clair { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-contour-clair:hover { background: rgba(255,255,255,.16); }
.btn-petit { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-petit .ic { width: 17px; height: 17px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -.01em; flex: none; }
.logo-mk { width: 34px; height: 34px; flex: none; border-radius: 8px; box-shadow: 0 3px 10px rgba(3,105,161,.25); }
.logo .gest { color: var(--accent); }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, box-shadow .2s; color: var(--ink); }
.entete .conteneur { display: flex; align-items: center; gap: 28px; height: 72px; position: relative; }
.entete nav { display: flex; gap: 24px; margin-left: auto; position: relative; align-items: center; }
.entete nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; position: relative; transition: color .2s; }
.entete nav a:hover { color: var(--ink); }
.entete nav a.actif { color: var(--accent); }
.entete.colle, .entete.solide { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--border); }
.actions-entete { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; border-radius: 8px; }
.menu-btn .ic { width: 26px; height: 26px; }
.menu-mobile-cta { display: none; }
.indicateur { position: absolute; left: 0; bottom: -10px; height: 2px; width: 0; border-radius: 2px; background: var(--accent); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), width .4s var(--ease), opacity .25s; }
.progression { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.entete.colle .progression { opacity: 1; }
.progression i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-300)); }
.section-courante { display: none; }
.entete nav.nav-simple { gap: 18px; }
.entete nav.nav-simple .btn-primaire { color: #fff; }

/* ---------- Héros ---------- */
.heros { position: relative; overflow: hidden; background: linear-gradient(180deg, #E4F0F8 0%, #EEF4F8 55%, var(--bg) 100%); padding: 128px 0 96px; }
.heros .ondes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; stroke-width: 2; }
.heros .conteneur { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 52px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.badge .point { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px var(--vert-bg); }
.heros h1 { font-size: clamp(34px, 3.9vw, 52px); line-height: 1.06; font-weight: 800; margin-top: 20px; }
.heros h1 em { font-style: normal; color: var(--accent); }
.heros-texte > p { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); margin-top: 20px; max-width: 540px; }
.heros .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.rassurance { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 10px 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.rassurance li { display: inline-flex; align-items: center; gap: 6px; }
.rassurance .ic { width: 16px; height: 16px; color: var(--vert); stroke-width: 2.6; }

.vitrine { position: relative; padding: 0 0 40px; min-width: 0; }
.ecran { background: var(--surface); border-radius: 14px; padding: 8px; border: 1px solid var(--border); box-shadow: var(--sh-lg); }
.ecran .barre { display: flex; gap: 6px; padding: 2px 4px 8px; }
.ecran .barre i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.ecran img { border-radius: 8px; border: 1px solid var(--border); }
.telephone { background: #111827; border-radius: 30px; padding: 7px; box-shadow: var(--sh-lg); }
.telephone img { border-radius: 24px; }
.vitrine .telephone { position: absolute; right: -16px; bottom: -8px; width: 32%; max-width: 200px; }

/* ---------- Sections ---------- */
section { padding: 104px 0; }
section.sans-haut { padding-top: 0; }
.chapeau { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.surtitre { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.chapeau h2, .bloc h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; font-weight: 800; }
.chapeau p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

/* Usages */
.usages { padding: 8px 0 0; }
.usages ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.usages li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.usages li .ic { width: 18px; height: 18px; color: var(--vert); }

/* Comment ça marche */
.comment { padding-top: 96px; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.etape { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 26px 28px; box-shadow: var(--sh-sm); position: relative; }
.etape .illu { display: block; width: 100%; height: auto; max-height: 132px; background: var(--accent-50); border-radius: 10px; padding: 12px 8px 0; margin-bottom: 20px; overflow: hidden; }
.illu .trait { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.illu .fin { stroke-width: 2.2; }
.illu .epais { stroke-width: 5; }
.illu .gris { stroke: var(--accent-200); }
.illu .vert { stroke: var(--vert); }
.illu .fond { fill: #fff; }
.illu .pointille { stroke-dasharray: 4 6; }
.illu .sol { fill: var(--sol); }
.illu .grain { stroke: var(--sol-trait); stroke-width: 3; stroke-linecap: round; fill: none; }
.illu .plein { fill: var(--accent); }
.illu .plein-vert { fill: var(--vert); }
.etape .num { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--accent); background: var(--accent-50); border: 1px solid var(--accent-100); padding: 3px 10px; border-radius: var(--pill); }
.etape h3 { font-size: 19px; font-weight: 800; margin-top: 14px; }
.etape p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* Fonctionnalités */
.fonctions { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.carte:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.carte .pastille { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); margin-bottom: 18px; border: 1px solid var(--accent-100); }
.carte .pastille .ic { width: 23px; height: 23px; }
.carte h3 { font-size: 18px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.carte p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.etiquette { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ambre); background: var(--ambre-bg); padding: 3px 8px; border-radius: var(--pill); }

/* Blocs alternés texte + capture */
.bloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.bloc + .bloc { margin-top: 104px; }
.bloc.inverse .bloc-texte { order: 2; }
.bloc-texte { min-width: 0; }
.bloc-texte > p { color: var(--ink-2); font-size: 16.5px; margin-top: 16px; }
.liste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.liste li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink); font-weight: 500; }
.liste li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--vert-bg); color: var(--vert); stroke-width: 3; margin-top: 1px; }
.capture { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-lg); min-width: 0; }
.capture-mobile { display: flex; gap: 20px; justify-content: center; align-items: flex-start; min-width: 0; }
.capture-mobile .telephone { flex: 0 1 250px; min-width: 0; }
.capture-mobile .telephone:nth-child(2) { margin-top: 48px; }
.telechargement { margin-top: 30px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); display: grid; gap: 14px; justify-items: start; }
.telechargement p { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.telechargement p .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.ordinateur { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Vos données */
.confiance { background: linear-gradient(160deg, var(--accent-700) 0%, var(--accent-900) 100%); color: #fff; position: relative; overflow: hidden; }
.confiance .ondes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; stroke-width: 2; }
.confiance .conteneur { position: relative; }
.confiance .surtitre { color: var(--accent-300); }
.confiance .chapeau p { color: var(--accent-100); }
.grille-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.confiance .carte { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; }
.confiance .carte:hover { box-shadow: none; background: rgba(255,255,255,.09); }
.confiance .carte .pastille { background: rgba(125,211,252,.14); border-color: rgba(125,211,252,.2); color: var(--accent-300); }
.confiance .carte p { color: var(--accent-100); }

/* Pour qui */
.profils { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.profil { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--sh-sm); }
.profil .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-50); padding: 5px 12px; border-radius: var(--pill); }
.profil .tag .ic { width: 15px; height: 15px; }
.profil h3 { font-size: 22px; font-weight: 800; margin-top: 16px; }
.profil > p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }

/* Questions */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 0 24px; box-shadow: var(--sh-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; font-size: 15.5px; }

/* Appel final */
.appel { padding: 0 0 104px; }
.appel-carte { position: relative; overflow: hidden; border-radius: 20px; color: #fff; text-align: center; padding: 68px 32px; background: linear-gradient(140deg, #0284C7 0%, var(--accent) 45%, var(--accent-700) 100%); box-shadow: var(--sh-lg); }
.appel-carte .ondes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; stroke-width: 2; }
.appel-carte > * { position: relative; }
.appel-carte h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 800; line-height: 1.14; }
.appel-carte p { color: var(--accent-100); font-size: 17px; margin: 14px auto 0; max-width: 560px; }
.appel-carte .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.appel-carte .adresse { font-size: 14.5px; font-weight: 600; margin-top: 18px; color: var(--accent-100); }

/* Pied */
.pied { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; font-size: 14px; color: var(--ink-2); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.pied nav a:hover { color: var(--accent); }

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

/* Pages légales */
.page-legale { padding: 128px 0 88px; }
.page-legale .doc { max-width: 780px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--sh-sm); }
.page-legale h1 { font-size: 30px; font-weight: 800; }
.page-legale .maj { color: var(--ink-3); font-size: 13.5px; margin-top: 6px; }
.page-legale h2 { font-size: 18px; font-weight: 800; margin: 30px 0 8px; }
.page-legale p, .page-legale li { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.page-legale p + p, .page-legale p + ul, .page-legale ul + p { margin-top: 10px; }
.page-legale ul { padding-left: 20px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .entete nav, .entete .actions-entete { display: none; }
  .menu-btn { display: block; }
  .entete.ouvert { background: #fff; box-shadow: 0 1px 0 var(--border); }
  .entete.ouvert nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(17,24,39,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
  .entete.ouvert nav a { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
  .entete.ouvert nav a.actif { color: var(--accent); font-weight: 800; }
  .entete.ouvert nav .btn { margin-top: 14px; border-bottom: 0; padding: 0 20px; }
  .entete.ouvert nav .btn-primaire { color: #fff; }
  .entete.ouvert nav .btn-contour { color: var(--accent-700); border: 1px solid var(--border-strong); }
  .entete.ouvert .menu-mobile-cta { display: inline-flex; }
  .entete nav.nav-simple { display: flex; }
  .indicateur { display: none; }
  .section-courante { display: inline-block; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--border-strong); color: var(--accent); font-size: 13.5px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 42vw; min-width: 0; }
  .section-courante.visible { opacity: .9; transform: none; }
  .entete.ouvert .section-courante { opacity: 0; }
}
@media (max-width: 960px) {
  .heros .conteneur { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .heros-texte { text-align: center; max-width: 680px; margin: 0 auto; }
  .heros-texte > p { margin-left: auto; margin-right: auto; }
  .heros .actions, .rassurance { justify-content: center; }
  .vitrine { max-width: 720px; margin: 0 auto; width: 100%; padding-right: 24px; }
  .vitrine .telephone { right: 0; }
  .grille, .grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .bloc { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .bloc.inverse .bloc-texte { order: 0; }
}
@media (max-width: 820px) {
  .profils { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .conteneur { padding: 0 16px; }
  section { padding: 76px 0; }
  .heros { padding: 104px 0 64px; }
  .comment { padding-top: 72px; }
  .grille, .grille-4 { grid-template-columns: minmax(0, 1fr); }
  .vitrine { padding: 0 12px 28px 0; }
  .vitrine .telephone { width: 34%; border-radius: 20px; padding: 4px; }
  .vitrine .telephone img { border-radius: 16px; }
  .ecran { padding: 5px; border-radius: 10px; }
  .ecran .barre { display: none; }
  .ecran img { border-radius: 6px; }
  .capture-mobile { gap: 12px; }
  .telephone { border-radius: 24px; padding: 5px; }
  .telephone img { border-radius: 19px; }
  .capture-mobile .telephone:nth-child(2) { margin-top: 32px; }
  .profil, .carte { padding: 24px 20px; }
  .grille .carte { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 20px; }
  .grille .carte .pastille { margin: 0; width: 42px; height: 42px; }
  .grille .carte p { grid-column: 1 / -1; }
  .etape { padding: 20px 20px 24px; }
  .appel-carte { padding: 52px 20px; border-radius: 16px; }
  .page-legale .doc { padding: 24px 18px; }
  .heros .actions .btn, .appel-carte .actions .btn, .telechargement .btn { width: 100%; }
  .telechargement { justify-items: stretch; padding: 16px; }
  .faq details { padding: 0 18px; }
  .entete nav.nav-simple a:not(.btn) { display: none; }
}
@media (max-width: 380px) {
  .logo { font-size: 17px; }
  .logo-mk { width: 30px; height: 30px; }
  .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .btn, .carte, .indicateur, .section-courante { transition: none; }
}

/* =====================================================================
   Kit, abonnement, devis (v2)
   ===================================================================== */
.deja-client { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink-2); max-width: 520px; }
.deja-client .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }
.actions-bloc { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Aperçu du kit */
.kit-apercu { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.boite { list-style: none; margin: 0; padding: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: var(--accent-50); border: 1px solid var(--accent-100); border-radius: var(--r-xl); min-width: 0; }
.boite li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; font-weight: 700; font-size: 15px; min-width: 0; }
.boite .pastille, .abo-liste .pastille, .etapes-4 .pastille { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); border: 1px solid var(--accent-100); flex: none; }
.boite .pastille .ic { width: 21px; height: 21px; }

/* Abonnement */
.abo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.abo-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.abo-liste li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; }
.abo-liste h3 { font-size: 16.5px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.abo-liste p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }
.abo-tarif { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--accent); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh); }
.abo-tarif h3 { font-size: 22px; font-weight: 800; }
.abo-tarif .tarif { font-size: 30px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; margin-top: 12px; }
.abo-tarif p:not(.tarif) { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.abo-tarif .btn { margin-top: 22px; width: 100%; }

/* Devis */
.devis { background: var(--surface); border-top: 1px solid var(--border); }
.devis-grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.devis-texte h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; font-weight: 800; }
.devis-texte > p { color: var(--ink-2); font-size: 16.5px; margin-top: 16px; }
.suite { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.suite li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.suite li span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); border: 1px solid var(--accent-100); font-family: var(--mono); font-size: 13px; }
.note { color: var(--ink-3); font-size: 14px; margin-top: 18px; }
.devis-texte .note + .note { margin-top: 6px; }
.devis-carte { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; min-width: 0; }
.formulaire { position: relative; }
.formulaire .obligatoire-info { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.requis { color: #B91C1C; font-weight: 700; }
.facultatif { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ.large { grid-column: 1 / -1; }
.champ label { font-weight: 700; font-size: 14.5px; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: 500 15.5px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.champ textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.champ select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-200); }
.champ [aria-invalid="true"] { border-color: #B91C1C; box-shadow: 0 0 0 3px #FEE2E2; }
.aide { font-size: 13px; color: var(--ink-3); }
.erreur { font-size: 13.5px; color: #B91C1C; font-weight: 600; display: none; }
.erreur.visible { display: block; }
.consentement { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.consentement input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; flex: none; accent-color: var(--accent); padding: 0; }
.consentement label { flex: 1 1 0; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.consentement .erreur { flex-basis: 100%; padding-left: 32px; }
.piege { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.etat-envoi { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.etat-envoi.visible { display: block; }
.etat-envoi a { color: inherit; }
.envoyer { margin-top: 20px; width: 100%; }
.envoyer[disabled] { opacity: .7; cursor: progress; transform: none; }
.devis-succes { text-align: center; padding: 28px 8px; }
.devis-succes > .ic { width: 52px; height: 52px; color: var(--vert); stroke-width: 1.8; margin: 0 auto 14px; display: block; }
.devis-succes h3 { font-size: 22px; font-weight: 800; }
.devis-succes p { color: var(--ink-2); margin-top: 10px; }
.devis-succes:focus { outline: none; }

/* Page kit */
.heros-kit { padding-bottom: 80px; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.fil a { color: var(--ink-2); text-decoration: none; }
.fil a:hover { color: var(--accent); }
.illu-kit { margin: 0; min-width: 0; }
.illu-kit svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(8,47,73,.12)); }
.k-fond { fill: #fff; stroke: var(--border); }
.k-ombre rect { fill: var(--accent-50); }
.k-objet > rect { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.k-trait { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.k-fin { stroke-width: 2.2; }
.k-epais { stroke-width: 5; }
.k-pointille { stroke-dasharray: 4 6; }
.k-vert { fill: var(--vert); }
.k-accent-plein { fill: var(--accent); }
.k-marque { font: 800 22px var(--font); fill: var(--accent-700); letter-spacing: -.01em; }
.kit-contenu { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.points li { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.points .valeur { flex: none; min-width: 64px; height: 48px; padding: 0 10px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); font-weight: 800; font-size: 18px; border: 1px solid var(--accent-100); }
.points h3 { font-size: 17px; font-weight: 800; }
.points p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.composition .bloc-texte .btn { margin-top: 26px; }
.installation { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.etapes-4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.etapes-4 li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--sh-sm); }
.etapes-4 .num { position: absolute; top: 22px; right: 20px; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.etapes-4 .pastille { width: 46px; height: 46px; margin-bottom: 16px; }
.etapes-4 .pastille .ic { width: 23px; height: 23px; }
.etapes-4 h3 { font-size: 17px; font-weight: 800; }
.etapes-4 p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.apres-etapes { text-align: center; margin-top: 32px; }
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.profil-bientot { background: var(--surface-2); }
.profil-bientot .tag { color: var(--ambre); background: var(--ambre-bg); }
.liste-bientot li .ic { background: var(--ambre-bg); color: var(--ambre); stroke-width: 2.4; }
.limites .profil .liste { margin-top: 18px; }

@media (max-width: 1180px) {
  .entete nav { gap: 18px; }
  .entete .conteneur { gap: 20px; }
}
@media (max-width: 960px) {
  .abo, .devis-grille { grid-template-columns: minmax(0, 1fr); }
  .abo-tarif { position: static; }
  .devis-grille { gap: 36px; }
  .etapes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .illu-kit { max-width: 560px; margin: 0 auto; width: 100%; }
  .deja-client { margin-left: auto; margin-right: auto; text-align: left; }
}
@media (max-width: 820px) {
  .deux-colonnes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .boite { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .champs { grid-template-columns: minmax(0, 1fr); }
  .devis-carte { padding: 20px 16px; }
  .etapes-4 { grid-template-columns: minmax(0, 1fr); }
  .abo-tarif { padding: 22px 18px; }
  .abo-liste li { padding: 16px; gap: 12px; }
  .points li { padding: 16px; gap: 14px; }
  .points .valeur { min-width: 52px; font-size: 16px; }
  .actions-bloc .btn { width: 100%; }
  .entete nav.nav-simple .cta-devis { display: none; }
}
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.heros-texte > .deja-client { font-size: 14px; margin-top: 18px; max-width: 520px; }
@media (max-width: 960px) { .heros-texte > .deja-client { margin-left: auto; margin-right: auto; } }
.devis-texte > .note { font-size: 14px; color: var(--ink-3); margin-top: 18px; }
.devis-texte > .note + .note { margin-top: 6px; }
