/* ═══════════════════════════════════════════════════════════════════════════
   NOVAPPLIS — Feuille de style
   Aucune dépendance, aucun build. Tout se règle depuis les variables ci-dessous.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1. Thème (change les couleurs ici, elles se propagent partout) ──────── */
/*  Charte reprise de la carte de visite Novapplis : noir, blanc, gris très
    clair, et le bleu ardoise du mot « NOVAPPLIS » comme seule couleur.        */
:root {
  /* Thème clair — thème par défaut, comme la carte */
  --bg:          #FFFFFF;
  --bg-alt:      #F7F8FA;
  --surface:     #F2F3F5;
  --surface-2:   #E9EBEF;
  --border:      #E4E6EB;
  --border-soft: #EEF0F3;
  --text:        #21252B;
  --text-strong: #000000;
  --muted:       #616874;

  --accent:      #000000;   /* boutons pleins, éléments actifs */
  --accent-2:    #334155;   /* bleu ardoise « NOVAPPLIS » */
  --accent-3:    #64748B;
  --accent-ink:  #FFFFFF;
  --accent-soft: #EDEEF1;
  --ok:          #15803D;   /* réservé au point « disponible » */

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 10px 30px -14px rgba(0,0,0,.16);
  --shadow-lg: 0 28px 60px -28px rgba(0,0,0,.22);

  /* Réglages globaux */
  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-btn: 14px;
  --maxw:      1160px;
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: var(--font);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* Thème sombre — le noir du bandeau de la carte */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0A0A0B;
    --bg-alt:      #101012;
    --surface:     #17171A;
    --surface-2:   #202024;
    --border:      #27272C;
    --border-soft: #1C1C20;
    --text:        #E8E9EC;
    --text-strong: #FFFFFF;
    --muted:       #9B9FA8;

    --accent:      #FFFFFF;
    --accent-2:    #A8B5C4;
    --accent-3:    #7A8797;
    --accent-ink:  #000000;
    --accent-soft: rgba(255,255,255,.09);
    --ok:          #4ADE80;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.40);
    --shadow:    0 10px 30px -12px rgba(0,0,0,.65);
    --shadow-lg: 0 28px 60px -24px rgba(0,0,0,.80);
  }
}

/* Le choix explicite du visiteur l'emporte sur le réglage du système. */
:root[data-theme="dark"] {
  --bg:          #0A0A0B;
  --bg-alt:      #101012;
  --surface:     #17171A;
  --surface-2:   #202024;
  --border:      #27272C;
  --border-soft: #1C1C20;
  --text:        #E8E9EC;
  --text-strong: #FFFFFF;
  --muted:       #9B9FA8;

  --accent:      #FFFFFF;
  --accent-2:    #A8B5C4;
  --accent-3:    #7A8797;
  --accent-ink:  #000000;
  --accent-soft: rgba(255,255,255,.09);
  --ok:          #4ADE80;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.40);
  --shadow:    0 10px 30px -12px rgba(0,0,0,.65);
  --shadow-lg: 0 28px 60px -24px rgba(0,0,0,.80);
}

/* ─── 2. Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-strong);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.8vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--text-strong); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

.grad {
  color: var(--accent-2);
}


/* ─── 3. Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 9px; font-size: 1rem;
  background: var(--accent); color: var(--accent-ink);
}
.brand__text { font-weight: 700; letter-spacing: .08em; font-size: 1rem; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px; border-radius: 999px; color: var(--muted);
  font-size: .93rem; font-weight: 500; white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links a:hover { color: var(--text-strong); background: var(--surface-2); text-decoration: none; }
.nav__links a.is-active { color: var(--text-strong); background: var(--accent-soft); }
.nav__links .nav__cta {
  margin-left: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600;
  padding: 9px 18px;
}
.nav__links .nav__cta:hover { background: var(--accent); filter: brightness(1.1); color: var(--accent-ink); }
.nav__links .nav__cta.is-active { background: var(--accent); color: var(--accent-ink); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

/* Lien de retour des pages annexes : il ne passe pas par le menu repliable. */
.nav__retour {
  margin-left: auto; padding: 8px 12px; border-radius: 999px;
  color: var(--muted); font-size: .93rem; font-weight: 500; white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__retour:hover { color: var(--text-strong); background: var(--surface-2); text-decoration: none; }

.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--muted); cursor: pointer; padding: 0;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover { color: var(--text-strong); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon-sun { display: none; }
  :root:not([data-theme="dark"]) .icon-moon { display: block; }
}

.nav__burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav__burger span { width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__progress {
  height: 2px; width: 0%;
  background: var(--accent);
  transition: width .1s linear;
}


/* ─── 4. Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 60px); align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 9px;
  font-size: .78rem; font-weight: 600; letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.dot-live {
  width: 7px; height: 7px; margin-top: .45em; flex: none; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent);
}

.hero__title { margin-bottom: .5em; }
.hero__lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 52ch; margin-bottom: 34px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--radius-btn); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .96rem; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm);
}
.btn--primary:hover { box-shadow: var(--shadow); color: var(--accent-ink); }
.btn--ghost { background: var(--surface); color: var(--text-strong); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--text-strong); }
.btn--sm { padding: 10px 16px; font-size: .87rem; border-radius: 10px; }
.btn--full { width: 100%; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0; }
.stat {
  padding: 16px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.stat dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.35; }
.stat dd {
  margin: 6px 0 0; font-family: var(--font-head); font-size: 1.75rem; font-weight: 700;
  color: var(--text-strong); line-height: 1;
}
.stat dd small { font-family: var(--font); font-size: .82rem; font-weight: 500; color: var(--muted); }
.stat__suffix { color: var(--accent); }

/* Carte de visite */
.vcard {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg); padding: 30px 24px 24px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.vcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 72px;
  background: var(--accent);
}
.vcard__top { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: 18px; }
.avatar {
  width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover;
  display: grid; place-items: center; border: 4px solid var(--bg);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1.45rem; letter-spacing: .02em;
}
.vcard__name { margin: 0; font-weight: 700; color: var(--text-strong); font-size: 1.2rem; }
.vcard__role { margin: 4px 0 0; font-size: .9rem; color: var(--text); }
.vcard__org {
  margin: 8px 0 0; font-size: .84rem; font-weight: 700; letter-spacing: .09em;
  color: var(--accent-2);
}

.vcard__list { list-style: none; display: grid; gap: 8px; margin: 18px 0 0; }
.vcard__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 12px 14px; background: var(--surface); border-radius: var(--radius-sm); font-size: .88rem;
}
.vcard__list span { color: var(--muted); flex: none; }
.vcard__list a, .vcard__list strong { text-align: right; font-weight: 600; color: var(--text-strong); overflow-wrap: anywhere; }
.vcard__list a:hover { color: var(--accent-2); }
.vcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.vcard__mocard {
  display: block; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: .84rem; font-weight: 600; color: var(--muted);
}
.vcard__mocard:hover { color: var(--text-strong); text-decoration: none; }


/* ─── 5. Sections (blocs communs) ─────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }

.section__head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section__title { margin-bottom: .45em; }
.section__lede { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 54ch; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
}
.mt { margin-top: 30px; }

/* Liste à coches, utilisée par les services, les formules et l'estimateur */
.checklist { list-style: none; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 28px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 14px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}

/* Pitch */
.pitch__label {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--accent);
}
.pitch__label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
/* ─── 6. Services ─────────────────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

.service { position: relative; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.service:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-3px); box-shadow: var(--shadow); }
.service--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: var(--bg);
}

.service__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.service__ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.service__ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service__tag { margin: 0 0 2px; font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.service__head h3 { margin: 0; font-size: 1.16rem; }
.service p { color: var(--muted); font-size: .95rem; }
.service .checklist { margin: 18px 0; font-size: .92rem; }
.service__for {
  margin: 0; padding-top: 14px; border-top: 1px dashed var(--border);
  font-size: .88rem !important;
}


/* ─── 7. Approche et bloc IA ──────────────────────────────────────────────── */
.atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.atout { position: relative; }
.atout h3 { font-size: 1.06rem; }
.atout p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Bloc « l'IA, utilisée correctement » */
.ia { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(22px, 3vw, 40px); align-items: center; }
.ia h3 { font-size: 1.3rem; }
.ia p { color: var(--muted); }
.ia__list { list-style: none; display: grid; gap: 9px; }
.ia__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); }
.ia__list span { color: var(--accent); font-weight: 700; flex: none; }


/* ─── 8. Méthode ──────────────────────────────────────────────────────────── */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.etape {
  position: relative; padding: 26px 22px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.etape__num {
  position: absolute; top: -14px; left: 22px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: .92rem;
}
.etape h3 { margin: 6px 0 12px; font-size: 1.06rem; }
.etape__out { margin: 0; font-size: .88rem; color: var(--muted); }
.etape__out strong { display: inline-block; margin-top: 6px; color: var(--text-strong); }


/* ─── 9. Projets types ────────────────────────────────────────────────────── */
.projets { display: grid; gap: 22px; }
.projet {
  display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.projet:hover { border-color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-3px); box-shadow: var(--shadow); }
.projet__visuel {
  display: grid; place-items: center; min-height: 170px;
  font-size: 2.2rem; font-weight: 700;
}
.projet__visuel--a { background: var(--accent); color: var(--accent-ink); }
.projet__visuel--b { background: var(--accent-2); color: var(--bg); }
.projet__visuel--c { background: var(--accent-3); color: var(--bg); }
.projet__body { padding: 26px; }
.projet__meta { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.projet h3 { margin-bottom: 10px; font-size: 1.2rem; }
.projet__body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; max-width: 62ch; }
.projet__lien { margin: 16px 0 0 !important; font-size: .92rem; font-weight: 600; }
.projet__lien a { color: var(--accent-2); }
.projet__lien a::after { content: " →"; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.tags li {
  padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--muted);
}


/* ─── 10. Technologies ────────────────────────────────────────────────────── */
.poles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pole {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pole:hover { border-color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); transform: translateY(-3px); box-shadow: var(--shadow); }
.pole[hidden] { display: none; }
.pole__title { display: flex; align-items: center; gap: 11px; font-size: 1.04rem; margin-bottom: 18px; }
.pole__ico {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border-radius: 9px; background: var(--accent-soft); color: var(--accent);
  font-family: var(--font-head); font-size: .82rem; font-weight: 700;
}

.skill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.skill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border-soft);
  font-size: .87rem; color: var(--text);
}
.skill[hidden] { display: none; }
.skill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none; background: var(--accent-2); }


/* ─── 11. Estimation de projet ────────────────────────────────────────────── */
.estim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; align-items: start; }
.estim__form, .estim__out { min-width: 0; }
.estim__form .field:last-child { margin-bottom: 0; }

.estim__options { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.estim__options legend { grid-column: 1 / -1; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 2px; padding: 0; float: left; width: 100%; }

.opt {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-alt);
  font-size: .9rem; transition: border-color .18s var(--ease), background .18s var(--ease);
}
.opt:hover { border-color: var(--accent); }
.opt input { accent-color: var(--accent); width: 17px; height: 17px; flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt--consent { margin-bottom: 18px; align-items: flex-start; font-size: .84rem; color: var(--muted); }

.estim__out {
  position: sticky; top: 90px;
  background: var(--bg); border-color: var(--accent);
}
.estim__label { margin: 0; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.estim__range {
  margin: 6px 0 2px; font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 6vw, 3.1rem); color: var(--text-strong);
}
.estim__range small { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--muted); }
.estim__lots { color: var(--muted); font-size: .9rem; }
.estim__inc { margin: 18px 0; font-size: .9rem; }
/* ─── 12. Formules ────────────────────────────────────────────────────────── */
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; align-items: start; }
.offre { display: flex; flex-direction: column; position: relative; }
.offre--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  background: var(--bg);
}
.offre__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink);
  padding: 5px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.offre h3 { margin-top: 6px; font-size: 1.2rem; }
.offre__pitch { color: var(--muted); font-size: .93rem; }
.offre .checklist { margin-bottom: 22px; font-size: .92rem; }
.offre__prix {
  margin-top: auto; margin-bottom: 18px; padding-top: 18px; border-top: 1px solid var(--border);
  font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--text-strong);
}
.offre__prix span { display: block; font-family: var(--font); font-size: .76rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.offre__prix small { font-family: var(--font); font-size: .8rem; font-weight: 500; color: var(--muted); }


/* ─── 13. FAQ ─────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .42fr); gap: 22px; align-items: start; }
.faq { display: grid; gap: 10px; }

.faq__cta {
  position: sticky; top: 90px;
  background: var(--bg); border-color: var(--accent);
}
.faq__cta h3 { font-size: 1.1rem; }
.faq__cta p { color: var(--muted); font-size: .93rem; }
.faq__cta-note { margin: 14px 0 0; font-size: .82rem !important; text-align: center; }
.faq__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 22px;
  transition: border-color .18s var(--ease);
}
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--text-strong);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item p { margin: 0 0 20px; color: var(--muted); font-size: .95rem; max-width: 68ch; }


/* ─── 14. Contact ─────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

/* Ce qui se passe après l'envoi : l'incertitude est le premier frein. */
.apres { list-style: none; display: grid; gap: 18px; margin: 28px 0 0; }
.apres li { display: flex; gap: 14px; align-items: flex-start; }
.apres__num {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: .82rem; font-weight: 700;
}
.apres li div { display: flex; flex-direction: column; gap: 3px; font-size: .93rem; color: var(--muted); }
.apres li strong { color: var(--text-strong); font-size: .98rem; }

/* Les trois freins levés, juste sous le bouton d'envoi */
.garanties { list-style: none; display: grid; gap: 9px; margin: 18px 0 0; }
.garanties li { position: relative; padding-left: 26px; font-size: .89rem; color: var(--text); }
.garanties li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}

.contact__list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.contact__list li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.contact__list li > div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact__list li > div > span { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.contact__list a, .contact__list strong { font-weight: 600; color: var(--text-strong); overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--accent); }
.contact__ico {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-size: .95rem; font-weight: 700;
}
.copy-btn {
  flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--muted); font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: all .18s var(--ease);
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn.is-done { background: var(--ok); border-color: var(--ok); color: #04150E; }

.contact__form h3 { font-size: 1.1rem; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .94rem; color: var(--text); background: var(--bg-alt);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px;
  min-width: 0; max-width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
/* Champ piège du formulaire : hors écran, hors parcours clavier, hors lecteurs d'écran. */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Retour affiché après l'envoi */
.f-retour {
  margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; text-align: center;
}
.f-retour--ok { background: var(--surface-2); color: var(--text-strong); border: 1px solid var(--ok); }
.f-retour--ko { background: var(--surface-2); color: var(--text-strong); border: 1px dashed var(--border); }
#f-envoyer[disabled] { opacity: .6; cursor: progress; }

.form__note { margin: 16px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }


/* ─── 15. Pied de page ────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 40px 0 32px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 24px; align-items: start; }
.footer__note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); max-width: 62ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a { color: var(--muted); font-size: .9rem; }
.footer__links a:hover { color: var(--text-strong); }
.footer__copy { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--border-soft); font-size: .82rem; color: var(--muted); }


/* ─── 16. Apparition au défilement ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }


/* ─── 17. Pages de service ────────────────────────────────────────────────── */
.hero--page { padding: clamp(36px, 6vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero--page .hero__title { max-width: 20ch; }
.hero--page .hero__lede { max-width: 62ch; }

.fil { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.fil a { color: var(--muted); }
.fil a:hover { color: var(--text-strong); }
.fil span[aria-hidden] { margin: 0 6px; }

/* Renvois vers les autres pages, en bas de chaque page de service */
.liens-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.lien-service {
  display: grid; gap: 6px; color: var(--text);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lien-service:hover {
  text-decoration: none; transform: translateY(-3px);
  border-color: var(--accent); box-shadow: var(--shadow);
}
.lien-service strong { font-size: 1.06rem; color: var(--text-strong); }
.lien-service span { font-size: .93rem; color: var(--muted); }
.lien-service::after { content: "→"; color: var(--accent); font-weight: 700; margin-top: 6px; }

/* Appel à l'action de fin de page */
.cta-final {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 48px); align-items: center;
  background: var(--bg); border-color: var(--accent);
  padding: clamp(26px, 4vw, 40px);
}
.cta-final .section__title { margin-bottom: .3em; }
.cta-final .section__lede { margin: 0; }
.cta-final__actions { display: flex; flex-direction: column; gap: 10px; }
.cta-final__actions .btn { white-space: nowrap; }

/* ─── 18. Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .contact, .ia, .estim, .faq-wrap, .cta-final { grid-template-columns: minmax(0, 1fr); }
  .faq__cta { position: static; }
  .estim__out { position: static; }
  .services, .atouts, .liens-services { grid-template-columns: minmax(0, 1fr); }
  .projet { grid-template-columns: 120px minmax(0, 1fr); }
  .projet__visuel { font-size: 1.9rem; min-height: 0; }

  .nav__burger { display: flex; }

  /* Le menu passe en panneau : c'est au groupe de boutons de tenir la droite. */
  .nav__actions { margin-left: auto; }

  .nav__links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin-left: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 12px 18px 20px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a {
    padding: 14px; border-radius: var(--radius-sm);
    font-size: 1rem; color: var(--text);
    border-bottom: 1px solid var(--border-soft);
  }
  .nav__links a:last-of-type { border-bottom: 0; }
  .nav__links .nav__cta {
    margin: 12px 0 0; text-align: center; border-bottom: 0;
    color: var(--accent-ink);
  }


  /* Pied de page : la colonne des liens gardait sa largeur pleine et écrasait
     le bloc d'identité, réduit à une bande de texte illisible. Une colonne. */
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .footer__links {
    display: grid; grid-template-columns: repeat(3, max-content);
    justify-content: start; gap: 2px 44px;
  }
  .footer__links a { padding: 8px 0; }
}

/* ─── Téléphone ───────────────────────────────────────────────────────────── */
@media (max-width: 620px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 78px; }

  /* Moins de vide entre les sections : sur un petit écran, le blanc devient du défilement. */
  .section { padding: clamp(52px, 13vw, 72px) 0; }
  .section__head { margin-bottom: 28px; }
  .hero { padding: 32px 0 48px; }

  /* Cibles tactiles confortables */
  .icon-btn { width: 42px; height: 42px; }
  .copy-btn { padding: 9px 14px; }
  /* Le lien de retour tenait deux pixels de trop à côté de la marque. */
  .nav__retour { padding: 8px 4px; font-size: .88rem; }

  /* Hero : titre resserré, boutons pleine largeur, chiffres en deux colonnes */
  h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); }
  .hero__lede { margin-bottom: 26px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 32px; }
  .hero__actions .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px 12px; }
  .stat dt { font-size: .7rem; }
  .stat dd { font-size: 1.5rem; }
  .vcard { padding: 20px; }
  .vcard__actions { grid-template-columns: 1fr 1fr; }

  /* Cartes : un peu moins de rembourrage, un peu plus de contenu à l'écran */
  .card, .pole, .projet__body { padding: 20px; }
  .services, .atouts, .offres, .projets, .poles { gap: 14px; }
  .faq__item { padding-inline: 18px; }
  .faq-wrap { gap: 14px; }

  /* Projets : le grand aplat coloré devient un bandeau, le texte passe devant */
  .projet { grid-template-columns: minmax(0, 1fr); }
  .projet__visuel {
    min-height: 0; height: 54px; font-size: 1.25rem;
    display: flex; align-items: center; justify-content: flex-start; padding-left: 20px;
  }

  /* Technologies : sans la puce, deux fois plus d'étiquettes par ligne */
  .pole__title { margin-bottom: 14px; }
  .skill { font-size: .83rem; padding: 6px 11px; }
  .skill::before { display: none; }
  .skill-list { gap: 7px; }

  /* Estimation */
  .estim__options { grid-template-columns: minmax(0, 1fr); }
  .estim__range { font-size: 2.6rem; }

  /* Contact et pied de page */
  .contact__list li { flex-wrap: wrap; }
  .footer { padding: 32px 0 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
  .footer__links {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px;
  }
  .footer__links a { padding: 8px 0; }
}


/* ─── 19. Préférences d'accessibilité ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ─── 20. Impression (Ctrl+P → PDF : ta plaquette) ────────────────────────── */
@media print {
  :root { --bg:#fff; --bg-alt:#fff; --surface:#fff; --surface-2:#f4f6fa;
          --border:#ccd3de; --border-soft:#e4e9f1; --text:#111; --text-strong:#000; --muted:#444; }
  .nav, .hero__actions, .contact__form, .footer__links,
  .estim__form, .estim__out .btn, .faq__cta, .copy-btn, .icon-btn, .skip-link { display: none !important; }
  .estim { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq__item { padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--border-soft); }
  .faq__item summary::after { display: none; }
  .faq__item p { display: block !important; }
  body { font-size: 11pt; }
  .section { padding: 18px 0; break-inside: avoid; }
  .card, .pole, .projet, .etape, .offre, .service, .atout, .faq__item { break-inside: avoid; box-shadow: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #000; }
  .grad { -webkit-text-fill-color: currentColor; color: #000; background: none; }
}

