/* ==========================================================================
   TANIT — feuille de style
   Palette tirée du logo : noir calligraphique, bleu de la sphère, ambre/orange du triangle.
   Polices auto-hébergées (aucun appel à un service tiers) :
   Lora et Work Sans — SIL Open Font License 1.1.
   ========================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #15161B;
  --ink-2: #454B59;
  --ink-3: #5A6170;
  --paper: #FFFFFF;
  --mist: #F3F5FA;
  --mist-2: #E9EDF6;
  --line: #DCE1EB;
  --line-strong: #8A93A6;
  --blue: #1D43A6;
  --blue-600: #16368A;
  --blue-900: #0B1B45;
  --blue-50: #EDF2FD;
  --blue-100: #DCE5FA;
  --amber: #F4A43A;
  --amber-600: #E08A1E;
  --amber-50: #FFF4E3;
  --orange: #E0661B;
  --orange-ink: #A8430C;
  --ok: #17643E;
  --ok-50: #E8F5EE;
  --err: #B3261E;
  --err-50: #FCECEA;
  --todo: #FFF1A8;
  --night-text: #E8EDFA;
  --night-muted: #B8C3E0;
  --focus: #0B1B45;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-1: 0 1px 2px rgba(11, 27, 69, .06), 0 2px 10px rgba(11, 27, 69, .05);
  --shadow-2: 0 2px 6px rgba(11, 27, 69, .07), 0 16px 40px rgba(11, 27, 69, .12);
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --topbar-h: 96px;
  --actionbar-h: 68px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-kerning: normal;
  overflow-wrap: break-word;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.45rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.22rem, 1.1rem + .45vw, 1.42rem); }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
em { font-style: italic; }
strong, b { font-weight: 700; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
sup { font-size: .62em; line-height: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--ink); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important; 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: -120px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.todo {
  background: var(--todo); color: var(--ink); font-weight: 700;
  padding: .05em .35em; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--mist { background: var(--mist); }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.flow > * + * { margin-top: var(--flow, 1em); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 920px) {
  .split { grid-template-columns: 1.1fr .9fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .8rem/1.25 var(--font-body); letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange); flex: none; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.3em;
  border: 2px solid transparent; border-radius: 12px;
  font: 700 1rem/1.2 var(--font-body); text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.25em; height: 1.25em; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--accent { background: var(--amber); color: var(--ink); }
.btn--accent:hover { background: var(--amber-600); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-50); }
.btn--quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--quiet:hover { border-color: var(--line-strong); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { min-height: 44px; padding: .5em 1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 520px) { .btn-row > .btn { flex: 1 1 100%; } }
.textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink .ic { transition: transform .15s ease; }
.textlink:hover .ic { transform: translateX(3px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .32em .8em; border-radius: 999px;
  background: var(--mist); color: var(--ink-2);
  font-size: .88rem; font-weight: 700; line-height: 1.3;
}
.chip .ic { width: 1.05em; height: 1.05em; }
.chip--price { background: var(--amber-50); color: var(--orange-ink); }
.chip--quote { background: var(--blue-50); color: var(--blue); }
.chip--line { background: var(--paper); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.topbar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 12px; }
.brand img { width: 60px; height: 60px; }
.topbar__contact { display: none; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar__devis { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .5em 1em;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink);
  font: 700 1rem/1 var(--font-body); cursor: pointer;
}
.nav-toggle .ic { width: 1.35em; height: 1.35em; }
.nav-toggle .ic-close { display: none; }
.site-header.is-open .nav-toggle .ic-open { display: none; }
.site-header.is-open .nav-toggle .ic-close { display: block; }
.mainnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.nav-list a[aria-current="page"], .nav-list a.is-section { color: var(--blue); }
.mainnav__extra { display: grid; gap: 10px; }
.mainnav__cta .cta-short { display: none; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(11, 27, 69, .07); }

/* Mobile & tablette : menu déroulant */
@media (max-width: 1179.98px) {
  .js .mainnav { display: none; }
  .js .site-header.is-open .mainnav {
    display: block; position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--header-h, 73px); overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 899.98px) {
  .js .site-header.is-open .mainnav { padding-bottom: calc(var(--actionbar-h) + 24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 1179.98px) {
  .mainnav__inner { padding-block: 8px 24px; }
  .nav-list a { min-height: 56px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
  .nav-list a::after {
    content: ""; width: 9px; height: 9px; flex: none;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(-45deg); opacity: .5;
  }
  .mainnav__extra { margin-top: 20px; }
  .mainnav__extra .btn { width: 100%; }
  .mainnav__cta { display: none; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 560px) and (max-width: 1179.98px) {
  .topbar__devis { display: inline-flex; }
}
@media (min-width: 900px) {
  .brand img { width: 72px; height: 72px; }
  .topbar { min-height: 88px; }
}

/* Ordinateur : bandeau + menu horizontal collant */
@media (min-width: 1180px) {
  .site-header { top: calc(-1 * var(--topbar-h)); }
  .topbar { height: var(--topbar-h); }
  .brand img { width: 80px; height: 80px; }
  .topbar__contact { display: flex; align-items: center; gap: 26px; margin-left: auto; }
  .topbar__actions { display: none; }
  .tb-link { display: inline-flex; align-items: center; gap: .5em; color: var(--ink); text-decoration: none; font-weight: 700; }
  .tb-link .ic { color: var(--blue); }
  .tb-link:hover { color: var(--blue); }
  .tb-zone { display: inline-flex; align-items: center; gap: .5em; color: var(--ink-2); }
  .tb-zone .ic { color: var(--orange); }
  .mainnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list a { position: relative; padding: 10px 6px; border-radius: 8px; font-size: .9rem; white-space: nowrap; }
  .nav-list a:hover { background: var(--mist); }
  .nav-list a[aria-current="page"]::after, .nav-list a.is-section::after {
    content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--orange);
  }
  /* Largeur intermédiaire : libellé court « Devis » (le libellé complet reste lu par les lecteurs d'écran) */
  .mainnav__cta .cta-short { display: inline; }
  .mainnav__cta .cta-long {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .mainnav__extra { display: none; }
  .mainnav__cta { flex: none; }
}
@media (min-width: 1264px) {
  .mainnav__cta .cta-short { display: none; }
  .mainnav__cta .cta-long { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
}

/* ---------- Barre d'actions mobile ---------- */
.actionbar { display: none; }
@media (max-width: 899.98px) {
  body { padding-bottom: calc(var(--actionbar-h) + env(safe-area-inset-bottom, 0px)); }
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(11, 27, 69, .08);
  }
  .actionbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: 12px; text-decoration: none;
    color: var(--blue); background: var(--blue-50); font-weight: 700; font-size: .9rem;
  }
  .actionbar a .ic { width: 1.35em; height: 1.35em; }
  .actionbar a.is-accent { background: var(--amber); color: var(--ink); }
}

/* ---------- Hero (accueil) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 88px) clamp(48px, 7vw, 104px); }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero__text { display: grid; gap: 22px; justify-items: start; }
.hero__title { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.9rem); }
.hero__brand {
  display: block; margin-bottom: .45em;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
  letter-spacing: .32em; color: var(--orange-ink);
}
.hero__title em { font-weight: 400; color: var(--blue); }
.zone-line { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--ink-2); }
.zone-line li { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: .95rem; }
.zone-line .ic { color: var(--orange); }

.hero__card { position: relative; display: grid; place-items: center; padding: clamp(8px, 2vw, 24px); }
.hero__card::before {
  content: ""; position: absolute; width: min(118%, 560px); max-width: 100%; aspect-ratio: 1;
  border: 1px solid var(--line); border-radius: 50%;
}
.bizcard {
  position: relative; width: min(100%, 420px);
  display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2);
}
.bizcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  transform: rotate(-4deg) translate(-10px, 8px);
}
@media (min-width: 980px) { .bizcard { transform: rotate(1.5deg); } }
.bizcard__logo img { width: 100%; height: auto; aspect-ratio: 1; }
.bizcard__lines { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.bizcard__lines div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bizcard__lines dt { flex: none; }
.bizcard__lines dt .ic { color: var(--blue); width: 1.3em; height: 1.3em; }
.bizcard__lines dd { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.bizcard__lines a { color: var(--ink); text-decoration: none; }
.bizcard__lines a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.card p { color: var(--ink-2); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px;
  background: var(--blue-50); color: var(--blue);
}
.card__icon .ic { width: 28px; height: 28px; }
.card__icon--amber { background: var(--amber-50); color: var(--orange-ink); }
.card__title { font-family: var(--font-display); font-weight: 700; line-height: 1.2; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.45rem); }
.card__title a { color: var(--ink); text-decoration: none; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.card__more { display: inline-flex; align-items: center; gap: .35em; color: var(--blue); font-weight: 700; }
.card__more .ic { transition: transform .15s ease; }
.card--link { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card--link:hover { border-color: var(--blue); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card--link:hover .card__more .ic { transform: translateX(3px); }
.card--link:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--link a:focus-visible { outline: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.section--mist .card { border-color: var(--line); }

/* Points forts */
.features { display: grid; gap: 28px 32px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features--3 { grid-template-columns: repeat(3, 1fr); } .features--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 6px 16px; align-content: start; align-items: start; }
.feature .card__icon { grid-row: 1; grid-column: 1; width: 48px; height: 48px; border-radius: 14px; }
.feature .card__icon .ic { width: 25px; height: 25px; }
.feature h3 { grid-row: 1; grid-column: 2; align-self: center; font-size: 1.18rem; }
.feature p { grid-row: 2; grid-column: 2; color: var(--ink-2); }

/* ---------- Listes ---------- */
.checklist { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: flex-start; gap: .65em; }
.checklist .ic { width: 1.2em; height: 1.2em; margin-top: .22em; color: var(--blue); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); column-gap: 28px; }
.checklist--x .ic { color: var(--err); }
.checklist--compact { gap: 6px; font-size: .98rem; }
.checklist--factors .ic { color: var(--orange-ink); }

/* Groupes de prestations */
.groups { display: grid; gap: 20px; }
@media (min-width: 900px) { .groups--2 { grid-template-columns: repeat(2, 1fr); } }
.group {
  display: grid; gap: 16px; align-content: start;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.group__head { display: flex; align-items: center; gap: 14px; }
.group__head h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.38rem); }
.group__intro { color: var(--ink-2); }
.group .note { margin-top: 4px; }
.group .pull { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.groups--2 > .group--wide { grid-column: 1 / -1; }
.group--wide .group__intro { max-width: 75ch; }

/* Thèmes (conciergerie) */
.theme + .theme { margin-top: clamp(40px, 6vw, 72px); }
.theme__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.theme__head h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 clamp(28px, 4vw, 44px); }
.toc a {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .45em .95em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none;
}
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.toc .ic { color: var(--blue); width: 1.1em; height: 1.1em; }

/* ---------- Encadrés ---------- */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: 12px;
  background: var(--blue-50); color: var(--ink); font-size: .98rem;
}
.note .ic { color: var(--blue); margin-top: .15em; }
.note--amber { background: var(--amber-50); }
.note--amber .ic { color: var(--orange-ink); }
.note--line { background: var(--paper); border: 1px solid var(--line); }
.pull {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem); line-height: 1.35; color: var(--blue);
  max-width: 34ch; text-wrap: balance;
}
.pull::before { content: "« "; color: var(--orange); }
.pull::after { content: " »"; color: var(--orange); }
.fact {
  display: grid; gap: 12px; padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-l); background: var(--blue-900); color: var(--night-text);
}
.fact h2, .fact h3 { color: #fff; }
.fact p { color: var(--night-text); }
.fact .eyebrow { color: var(--amber); }
.fact__big { font-family: var(--font-display); font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.1rem); line-height: 1.3; color: #fff; text-wrap: balance; }

/* ---------- En-têtes de page ---------- */
.page-head { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 80px); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head__grid { display: grid; gap: 18px; justify-items: start; }
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 60ch; }
.page-head--school {
  --margin-x: max(6px, calc((100% - min(100% - 2 * var(--gutter), var(--container))) / 2 - 16px));
  background-color: #FCFDFF;
  background-image:
    linear-gradient(to right, transparent calc(var(--margin-x) - 1px), #EFA3B5 calc(var(--margin-x) - 1px), #EFA3B5 calc(var(--margin-x) + 1px), transparent calc(var(--margin-x) + 1px)),
    linear-gradient(to bottom, #C9D8F4 1px, transparent 1px),
    linear-gradient(to bottom, #E6EDFA 1px, transparent 1px),
    linear-gradient(to right, #E6EDFA 1px, transparent 1px);
  background-size: 100% 100%, 100% 32px, 100% 8px, 32px 100%;
  background-position: 0 0, 0 12px, 0 12px, 0 0;
}
.page-head--night {
  background-color: var(--blue-900);
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 16%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 74% 54%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(2px 2px at 88% 26%, rgba(244,164,58,.8), transparent 60%),
    radial-gradient(1px 1px at 93% 78%, rgba(255,255,255,.35), transparent 60%);
  border-bottom-color: var(--blue-900);
  color: var(--night-text);
  --focus: #F4A43A;
}
.page-head--night h1 { color: #fff; }
.page-head--night .lead { color: var(--night-muted); }
.page-head--night .eyebrow { color: var(--amber); }
.page-head--night .breadcrumb, .page-head--night .breadcrumb a { color: var(--night-muted); }
.page-head--night .breadcrumb li[aria-current] { color: #fff; }

.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px; margin-inline: 10px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .6;
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Bande de nuit ---------- */
.night {
  background: var(--blue-900); color: var(--night-text); --focus: #F4A43A;
}
.night h2, .night h3 { color: #fff; }
.night p { color: var(--night-muted); }
.night .eyebrow { color: var(--amber); }
.night .checklist .ic { color: var(--amber); }
.night .chip { background: rgba(255,255,255,.08); color: var(--night-text); }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 28px; align-content: start; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--blue-100);
}
.step:last-child::before { display: none; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--blue); color: var(--blue);
  font: 700 1.25rem/1 var(--font-display); font-variant-numeric: lining-nums;
}
.step:last-child .step__num { background: var(--blue); color: #fff; }
.step h3 { font-size: 1.18rem; margin-top: 12px; }
.step p { color: var(--ink-2); margin-top: 6px; }
@media (min-width: 980px) {
  .steps--row { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps--row .step { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .steps--row .step::before { left: 60px; right: -18px; top: 25px; bottom: auto; width: auto; height: 2px; }
  .steps--row .step h3 { margin-top: 0; }
}

/* ---------- Tarifs ---------- */
.prices { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 44px clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 30px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
}
.price::before {
  content: ""; position: absolute; top: 16px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--mist); border: 1px solid var(--line-strong);
}
.price__name { font-size: 1.3rem; }
.price__value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-variant-numeric: lining-nums; }
.price__value strong { font-family: var(--font-display); font-size: clamp(2.6rem, 2.1rem + 1.6vw, 3.3rem); line-height: 1; color: var(--ink); }
.price__value span { font-weight: 700; color: var(--ink-2); }
.price__value--quote strong { font-size: clamp(1.7rem, 1.45rem + .8vw, 2.1rem); }
.price__for { color: var(--ink-2); }
.price .btn { margin-top: auto; }
.price--featured { border: 2px solid var(--blue); }
.price-inline { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 700; white-space: nowrap; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 1rem; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 700; color: var(--ink-2); }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--mist); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; }
td.price-cell { font-weight: 700; white-space: nowrap; }
@media (max-width: 639.98px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
  .table-wrap tr + tr { margin-top: 10px; }
  .table-wrap th, .table-wrap td { padding: 0; border: 0; }
  .table-wrap td.price-cell { margin-top: 6px; color: var(--orange-ink); }
  .table-wrap td:last-child { margin-top: 4px; color: var(--ink-2); font-size: .95rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 60px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { width: 1.4em; height: 1.4em; color: var(--blue); transition: transform .2s ease; }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq__a > * + * { margin-top: .6em; }

/* ---------- Zone d'intervention ---------- */
.zone-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.zone-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.zone-list .ic { color: var(--orange); width: 1.4em; height: 1.4em; margin-top: .1em; }
.zone-list strong { display: block; }
.zone-list span { color: var(--ink-2); }
.arr { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); }
.arr__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }
.arr__grid li {
  display: grid; place-items: center; aspect-ratio: 1.35; max-width: 100%;
  border-radius: 10px; background: var(--blue-50); color: var(--blue);
  font: 700 clamp(.95rem, .85rem + .4vw, 1.15rem)/1 var(--font-display); font-variant-numeric: lining-nums;
}
.arr__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-weight: 700; }
.arr__caption span { color: var(--ink-3); font-weight: 400; }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: var(--blue); color: #fff; --focus: #F4A43A; }
.cta-band__inner { display: grid; gap: 24px; align-items: center; padding-block: clamp(44px, 6vw, 72px); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr auto; } }
.cta-band h2 { color: #fff; font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.2rem); }
.cta-band p { color: #E3E9F8; margin-top: 10px; max-width: 56ch; }

/* ---------- Formulaires ---------- */
.form-card__intro { margin-block: 8px 20px; }
.form-card { padding: clamp(22px, 3.5vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); }
.form { display: grid; gap: 22px; }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 700; }
.req { color: var(--err); }
.hint { color: var(--ink-3); font-size: .92rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D43A6' 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 14px center; background-size: 20px;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--ink-3); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); border-radius: 12px;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field__error { display: flex; gap: .4em; align-items: flex-start; color: var(--err); font-size: .94rem; font-weight: 700; }
.field__error .ic { margin-top: .12em; width: 1.1em; height: 1.1em; }
.form fieldset { margin: 0; padding: clamp(16px, 2.5vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.form legend { padding: 0 8px; font: 700 1.15rem/1.3 var(--font-display); }
.fieldset__intro { margin: 0 0 16px; color: var(--ink-2); font-size: .98rem; }
.checks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.check {
  display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400;
}
.check:hover { border-color: var(--line-strong); }
.check:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--blue); }
.form-legend { color: var(--ink-3); font-size: .95rem; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-actions .btn { min-width: 240px; }
@media (max-width: 520px) { .form-actions .btn { width: 100%; min-width: 0; } }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.privacy-note { color: var(--ink-3); font-size: .92rem; max-width: 70ch; }
.form-status { display: grid; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px solid; }
.form-card .form-status { margin-bottom: 20px; }
.form-status:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-status--ok { background: var(--ok-50); color: var(--ok); border-color: #A9D7BD; }
.form-status--err { background: var(--err-50); color: var(--err); border-color: #F1B8B2; }
.form-status--info { background: var(--blue-50); color: var(--ink); border-color: var(--blue-100); }
.form-status p { color: inherit; }
.form-status strong { display: block; font-size: 1.05rem; }
.form-status .btn-row { margin-top: 4px; }
.error-summary { padding: 16px 20px; border-radius: 14px; background: var(--err-50); border: 1px solid #F1B8B2; color: var(--err); }
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.error-summary ul { margin: 8px 0 0; padding-left: 1.2em; }
.error-summary a { color: var(--err); font-weight: 700; }

/* Coordonnées */
.contact-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card .label { color: var(--ink-3); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-card .value { font-weight: 700; font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-card .btn { margin-top: 6px; }

/* ---------- Articles ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-3); font-size: .95rem; }
.article-body h2 { display: flex; gap: .5em; align-items: baseline; }
.article-body h2 .n { font-family: var(--font-body); font-size: .8em; color: var(--orange-ink); }
.aside-box { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
@media (min-width: 1000px) { .aside-sticky { position: sticky; top: 100px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--blue-900); color: var(--night-text); --focus: #F4A43A; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 36px; padding-block: clamp(48px, 6vw, 80px) 36px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.35fr 1fr 1fr 1.2fr; } }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__logo { display: inline-block; width: 132px; padding: 8px; background: #fff; border-radius: 18px; }
.footer__logo img { width: 116px; height: 116px; }
.footer__brand p { color: var(--night-muted); max-width: 34ch; }
.footer__title { font: 700 .82rem/1.3 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.footer__list { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.footer__list a { display: inline-flex; align-items: center; gap: .5em; min-height: 32px; }
.footer__list .ic { color: var(--amber); }
.footer__zone { color: var(--night-muted); font-size: .95rem; margin-top: 12px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--night-muted); font-size: .92rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.footer__bottom a { color: var(--night-text); }
.footer__wink { font-family: var(--font-display); font-style: italic; }

/* ---------- Bandeau d'aperçu (version de travail) ---------- */
.preview-bar { background: var(--todo); color: var(--ink); font-size: .92rem; }
.preview-bar .container { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding-block: 8px; }

/* ---------- 404 ---------- */
.notfound { display: grid; gap: 18px; justify-items: start; }
.notfound__code { font: 700 clamp(4rem, 3rem + 5vw, 7rem)/1 var(--font-display); color: var(--blue-100); }

/* ---------- Divers ---------- */
.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }
.center { text-align: center; }
.two-cols { display: grid; gap: 20px; }
@media (min-width: 860px) { .two-cols { grid-template-columns: 1fr 1fr; } }
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; }
.compare__col h3 .ic { width: 1.3em; height: 1.3em; }
.compare__col--yes h3 .ic { color: var(--blue); }
.compare__col--no h3 .ic { color: var(--err); }
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.values li { padding: .5em 1em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; }
.levels { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 760px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.levels li { position: relative; display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.levels strong { font-family: var(--font-display); font-size: 1.25rem; }
.levels span { color: var(--ink-2); }
.levels li:last-child { border-color: var(--blue); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .actionbar, .cta-band, .skip-link, .form-card, .preview-bar { display: none !important; }
  body { padding: 0; font-size: 11pt; }
  .section, .page-head { padding-block: 16pt; background: none; }
  a { color: inherit; }
}
