/* ==========================================================================
   SIMR — feuille de style principale
   Polices système Windows (Segoe UI, Cascadia) : aucune requête externe.
   ========================================================================== */

:root {
  --navy-950: #06111d;
  --navy-900: #0a1a2b;
  --navy-800: #0f2438;
  --navy-700: #163250;
  --teal-800: #075e5c;
  --teal-700: #0a6e6b;
  --teal-600: #0b7c79;
  --teal-500: #119a96;
  --teal-300: #5fd6d0;
  --teal-200: #a6ece7;
  --teal-100: #dcf5f3;
  --teal-50: #eefaf9;

  --ink: #0b1724;
  --ink-2: #2b3d50;
  --muted: #566778;
  --line: #e1e7ee;
  --line-strong: #cdd6e0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --on-dark: #e8eef5;
  --on-dark-muted: #a9b8c8;
  --line-dark: rgba(255, 255, 255, .12);

  --ok: #1f9d68;
  --warn: #c98213;
  --danger: #c2413c;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 43, .05), 0 1px 3px rgba(10, 26, 43, .07);
  --shadow-md: 0 18px 40px -20px rgba(10, 26, 43, .28);
  --shadow-lg: 0 30px 60px -25px rgba(3, 10, 20, .55);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;

  --container: 1180px;
  --gutter: 24px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 650;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal-300); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-200); color: var(--ink); }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1.2 var(--font);
  padding: .85em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-sm { font-size: .925rem; padding: .62em 1.1em; }
.btn-lg { font-size: 1.06rem; padding: 1em 1.6em; }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 6px 18px -8px rgba(11, 124, 121, .7); }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-support { background: var(--navy-900); color: #fff; box-shadow: 0 6px 18px -8px rgba(10, 26, 43, .6); }
.btn-support:hover { background: var(--navy-700); color: #fff; }
.btn-support .icon { color: var(--teal-300); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.section-dark .btn-primary, .hero .btn-primary, .cta-band .btn-primary, .page-hero .btn-primary { background: var(--teal-300); color: var(--navy-900); }
.section-dark .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover, .page-hero .btn-primary:hover { background: #fff; color: var(--navy-900); }

/* ---------- Petits éléments ---------- */
.eyebrow {
  font: 600 .78rem/1.3 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-700);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--teal-300); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.badge {
  display: inline-block; font: 600 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em;
  padding: .5em .75em; border-radius: 999px; background: var(--teal-100); color: var(--teal-800);
}
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--teal-700); margin-top: auto; padding-top: .5rem; }
.more .icon { transition: transform .15s; width: 1em; height: 1em; }

/* Adresse d'urgence : assemblée ici à partir de data-u et data-d, jamais présente en clair
   dans le HTML, donc invisible pour les robots qui ramassent les adresses. Ni lien, ni copie. */
.courriel-protege::before { content: attr(data-u) "\0040" attr(data-d); font-weight: 650; white-space: nowrap; }
.urgence-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 1.2em; padding: 12px 14px; border-radius: 10px;
  background: #fff7ea; border: 1px solid #f3dcb3; color: var(--ink-2); font-size: .94rem; line-height: 1.5;
}
.urgence-note .icon { color: var(--warn); margin-top: 2px; }

/* ---------- Barre du haut ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-note { display: inline-flex; align-items: center; gap: .45em; }
.topbar-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--teal-300); }
.topbar .icon { width: 1em; height: 1em; color: var(--teal-300); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10, 26, 43, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 700 1.35rem/1 var(--font-display); letter-spacing: .02em; color: inherit; }
.brand-text span { font-size: .78rem; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }
.brand-light { color: #fff; }
.brand-light .brand-text span { color: var(--on-dark-muted); }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .55em .85em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem;
}
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.nav-list > li > a .icon { width: .9em; height: .9em; transition: transform .2s; }

.has-sub { position: relative; }
.subnav {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(720px, 90vw);
  transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.subnav::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover > a .icon, .has-sub:focus-within > a .icon { transform: rotate(180deg); }
.subnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.subnav-grid a {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border-radius: 10px; text-decoration: none; color: var(--ink);
}
.subnav-grid a:hover, .subnav-grid a[aria-current="page"] { background: var(--bg-soft); }
.subnav-grid .icon { width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: var(--teal-50); color: var(--teal-700); }
.subnav-grid strong { display: block; font-size: .95rem; line-height: 1.3; }
.subnav-grid small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; margin-top: 2px; }

.nav-toggle { display: none; }

/* ---------- Héros (accueil) ---------- */
/* Photo de fond commune aux héros (Pexels, licence libre), voilée de bleu pour garder le texte lisible. */
.hero, .page-hero {
  background:
    linear-gradient(90deg, rgba(22, 50, 80, .88) 0%, rgba(22, 50, 80, .66) 45%, rgba(22, 50, 80, .18) 100%),
    url(../img/hero-support.jpg) center 60% / cover no-repeat,
    var(--navy-700);
}
/* Le texte des pages intérieures s'étend plus à droite : voile plus soutenu au centre. */
.page-hero {
  background:
    linear-gradient(90deg, rgba(22, 50, 80, .90) 0%, rgba(22, 50, 80, .78) 55%, rgba(22, 50, 80, .30) 100%),
    url(../img/hero-support.jpg) center 60% / cover no-repeat,
    var(--navy-700);
}
.hero h1, .page-hero h1, .hero .lead, .page-hero .lead, .hero-points { text-shadow: 0 1px 14px rgba(6, 17, 29, .45); }
.hero {
  position: relative; overflow: hidden;
  color: var(--on-dark);
  padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 9vw, 120px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .hl { color: var(--teal-300); }
.hero .lead { color: var(--on-dark-muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-points { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--on-dark); }
.hero-points li { display: inline-flex; align-items: center; gap: .5em; }
.hero-points .icon { color: var(--teal-300); }

/* Console « rapport du matin » */
.hero-visual { margin: 0; position: relative; }
.console {
  background: rgba(10, 26, 43, .93);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.console-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 6px 10px 16px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  font: 500 .85rem/1 var(--font-mono); color: var(--on-dark);
}
.console-title { display: inline-flex; align-items: center; gap: .6em; margin: 0; font: inherit; color: inherit; letter-spacing: 0; }
.console-foot a { color: var(--teal-300); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.console-foot a:hover { color: #fff; }
.console-foot .icon { width: 1em; height: 1em; }
.console-title .icon { color: var(--teal-300); }
/* Commandes de fenêtre façon Windows : réduire, agrandir, fermer */
.win-ctrl { display: flex; }
.win-ctrl i { width: 38px; height: 22px; position: relative; opacity: .65; }
.win-ctrl i::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.win-ctrl i:nth-child(1)::before { width: 10px; height: 1.5px; background: var(--on-dark); }
.win-ctrl i:nth-child(2)::before { width: 9px; height: 9px; border: 1.5px solid var(--on-dark); }
.win-ctrl i:nth-child(3)::before { content: "×"; font: 400 17px/1 var(--font); color: var(--on-dark); }
.console-rows { list-style: none; margin: 0; padding: 8px; }
.console-rows li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 13px 12px; border-radius: 10px;
}
.console-rows li + li { border-top: 1px solid rgba(255, 255, 255, .06); }
.console-rows strong { display: block; color: #fff; font-weight: 600; font-size: .98rem; }
.console-rows div span { display: block; color: var(--on-dark-muted); font-size: .86rem; line-height: 1.4; }
.st { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.st .icon { width: 17px; height: 17px; }
.st-ok { background: rgba(31, 157, 104, .18); color: #5fe0a5; }
.st-warn { background: rgba(232, 163, 61, .18); color: #f5bf6b; }
.st-info { background: rgba(95, 214, 208, .15); color: var(--teal-300); }
.tag { font: 600 .7rem/1 var(--font-mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; padding: .5em .7em; border-radius: 6px; }
.tag-ok { background: rgba(31, 157, 104, .18); color: #79e8b5; }
.tag-warn { background: rgba(232, 163, 61, .18); color: #f7c97f; }
.tag-info { background: rgba(95, 214, 208, .15); color: var(--teal-200); }
.console-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 20px; border-top: 1px solid var(--line-dark);
  font: 500 .8rem/1.3 var(--font-mono); color: var(--on-dark-muted);
}
.hero-visual figcaption { margin-top: 14px; font-size: .82rem; color: var(--on-dark-muted); text-align: center; }

/* ---------- Bande de chiffres ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 34px 24px; border-left: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 0; padding-left: 0; }
.stats-grid strong { display: block; font: 700 clamp(1.9rem, 3vw, 2.4rem)/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; margin-bottom: 8px; }
.stats-grid span { display: block; font-size: .95rem; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }
.section-head > p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); }
.section-dark .section-head > p:not(.eyebrow) { color: var(--on-dark-muted); }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: 1rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-200); color: inherit; }
.card-link:hover .more .icon { transform: translateX(3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-700);
  margin-bottom: 20px;
  border: 1px solid var(--teal-100);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-list { list-style: none; padding: 0; margin: 0 0 1.2em; font-size: .95rem; }
.card-list li { display: flex; gap: .55em; align-items: baseline; padding: 3px 0; color: var(--ink-2); }
.card-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--teal-500); flex: none; transform: translateY(-2px); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); box-shadow: none; }
.section-dark .card p { color: var(--on-dark-muted); }
.section-dark .card-icon { background: rgba(95, 214, 208, .1); color: var(--teal-300); border-color: rgba(95, 214, 208, .2); }

/* ---------- Fonctionnalités (coulisses) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-content: start; }
.feature .card-icon { margin: 0; grid-row: span 2; width: 44px; height: 44px; }
.feature h3 { font-size: 1.1rem; margin: 2px 0 .35em; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
.section-dark .feature p { color: var(--on-dark-muted); }
.note-inline {
  margin-top: 48px; padding: 20px 24px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong); background: #fff;
  display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: .98rem;
}
.note-inline .icon { color: var(--teal-600); width: 22px; height: 22px; margin-top: 2px; }
.note-inline p { margin: 0; }

/* ---------- Bloc en deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.split.reverse > :first-child { order: 2; }
.list-check { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.list-check li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6e6b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark .list-check li::before { background-color: rgba(95, 214, 208, .15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd6d0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.list-check strong { display: block; }

/* Carte « liste de contrôle » */
.checklist-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.checklist-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--bg-soft);
}
.checklist-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.checklist-head span { font: 500 .8rem/1 var(--font-mono); color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 8px 12px; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 13px 12px; font-size: .98rem; color: var(--ink); }
.checklist li + li { border-top: 1px solid var(--line); }
.checklist .tick { width: 26px; height: 26px; border-radius: 8px; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.checklist .tick .icon { width: 15px; height: 15px; }
.checklist small { margin-left: auto; color: var(--muted); font: 500 .78rem/1.2 var(--font-mono); white-space: nowrap; }

/* ---------- Trois niveaux de sauvegarde ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: tier; position: relative; }
.tier {
  position: relative;
  border-radius: var(--radius); padding: 28px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
}
.tier-level { font: 600 .75rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-300); display: block; margin-bottom: 18px; }
.tier h3 { color: #fff; }
.tier p { color: var(--on-dark-muted); font-size: .98rem; }
.tier .card-icon { background: rgba(95, 214, 208, .1); color: var(--teal-300); border-color: rgba(95, 214, 208, .2); }
.tier:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -16px; width: 12px; height: 12px;
  border-top: 2px solid var(--teal-300); border-right: 2px solid var(--teal-300);
  transform: rotate(45deg); opacity: .6;
}
.tier-meta { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .9rem; }
.tier-meta li { display: flex; gap: 8px; color: var(--on-dark); }
.tier-meta li::before { content: "›"; color: var(--teal-300); font-weight: 700; }
.section:not(.section-dark) .tier { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.section:not(.section-dark) .tier h3 { color: var(--ink); }
.section:not(.section-dark) .tier p { color: var(--muted); }
.section:not(.section-dark) .tier-level { color: var(--teal-700); }
.section:not(.section-dark) .tier .card-icon { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); }
.section:not(.section-dark) .tier-meta li { color: var(--ink-2); }
.section:not(.section-dark) .tier-meta li::before { color: var(--teal-600); }
.section:not(.section-dark) .tier:not(:last-child)::after { border-color: var(--teal-600); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font: 600 .9rem/1 var(--font-mono); color: var(--teal-700);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--teal-200); background: #fff;
}
.step::after { content: ""; position: absolute; top: 21px; left: 52px; right: 10px; height: 1.5px; background: linear-gradient(90deg, var(--teal-200), transparent); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.35rem; margin-bottom: .3em; }
.plan-for { color: var(--muted); font-size: .98rem; min-height: 3.2em; }
.plan .card-list { margin-top: 8px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-featured { border: 2px solid var(--teal-600); box-shadow: var(--shadow-md); }
.plan-featured .badge { position: absolute; top: -12px; left: 32px; background: var(--teal-600); color: #fff; }

/* ---------- Héros des pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden;
  color: var(--on-dark-muted);
  padding: clamp(56px, 7vw, 92px) 0 clamp(56px, 7vw, 84px);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 18em; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 42em; }
.page-hero .actions { margin-top: 1.6rem; }
.page-hero a:not(.btn), .section-dark a:not(.btn), .cta-band a:not(.btn) { color: var(--teal-300); }
.page-hero a:not(.btn):hover, .section-dark a:not(.btn):hover { color: #fff; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .3); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--teal-300); }

/* ---------- Contenu rédactionnel ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--teal-600); }
.side-note {
  border-left: 3px solid var(--teal-500); background: var(--teal-50);
  padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.6em 0; color: var(--ink-2); font-size: 1rem;
}
.side-note p:last-child { margin: 0; }
.side-note.warn { border-color: var(--warn); background: #fff7ea; }

/* Bloc de contenu détaillé : titre à gauche, texte à droite */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail:last-child { padding-bottom: 0; }
.detail-head .card-icon { margin-bottom: 16px; }
.detail-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .4em; }
.detail-head p { color: var(--muted); font-size: 1rem; }
.detail-body > :last-child { margin-bottom: 0; }
.detail-body .list-check { margin-top: 0; }

/* ---------- Grand chiffre / citation ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 32px 36px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-50), #fff);
  border: 1px solid var(--teal-100);
}
.callout-figure { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); color: var(--teal-700); letter-spacing: -0.03em; }
.callout p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
.callout small { display: block; margin-top: 6px; color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 600 1.08rem/1.4 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  font: 400 1.2rem/1 var(--font); color: var(--teal-700); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 48px 22px 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 100%, rgba(17, 154, 150, .35), transparent 60%),
    var(--navy-900);
  color: var(--on-dark-muted);
  padding: clamp(56px, 7vw, 88px) 0;
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; font-size: 1.08rem; max-width: 40em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-self: end; }

/* ---------- À propos ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-500); }
.timeline .when { font: 600 .8rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal-700); display: block; margin-bottom: 6px; }
.timeline h3 { font-size: 1.1rem; margin-bottom: .3em; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- Support ---------- */
.support-options .card { padding: 32px; }
.support-options .btn { margin-top: auto; align-self: flex-start; }
.support-options .card p { margin-bottom: 1.4em; }
.big-phone { font: 700 1.6rem/1.1 var(--font-display); color: var(--ink); text-decoration: none; display: inline-block; margin-bottom: 1rem; letter-spacing: -0.01em; }
.big-phone:hover { color: var(--teal-700); }
.ordered { counter-reset: o; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.ordered li { counter-increment: o; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.ordered li::before { content: counter(o); width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: #fff; font: 600 .9rem/32px var(--font-mono); text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--ink); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(17, 154, 150, .15); }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-600); flex: none; }
.field-check label { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }
.form-actions small { color: var(--muted); }
.form-alert { display: none; padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .97rem; }
.form-alert.is-visible { display: block; }
.form-alert-error { background: #fdecec; color: #8a1f1b; border: 1px solid #f4c7c5; }
.form-alert-ok { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.field label small { font-weight: 400; color: var(--muted); }
.field-help { display: inline-flex; align-items: center; gap: .4em; font-size: .9rem; font-weight: 600; margin-top: 4px; align-self: flex-start; }
.field-help .icon { width: 1em; height: 1em; }
.field-hint { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.field-hint:empty { display: none; }
.info-panel form { margin: 4px 0 16px; }
.info-panel .form-actions { margin-top: 14px; }
.form-success .card-icon { margin-bottom: 18px; }
.form-success h2 { font-size: 1.6rem; }
[hidden] { display: none !important; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.info-list .card-icon { width: 44px; height: 44px; margin: 0; }
.info-list strong { display: block; margin-bottom: 2px; }
.info-list span, .info-list a { color: var(--ink-2); }
.info-panel { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); }
.info-panel h2 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.info-panel + .info-panel { margin-top: 20px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 72px 0 28px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .8fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin: 20px 0; max-width: 32em; }
.footer-brand address { display: flex; gap: 10px; color: var(--on-dark); }
.footer-brand address .icon { color: var(--teal-300); margin-top: 4px; }
.footer-title { font: 600 .78rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 8px 0 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; display: inline-flex; align-items: center; gap: .55em; }
.footer-links a:hover { color: #fff; }
.footer-contact .icon { color: var(--teal-300); }
.footer-urgence { display: flex; gap: .55em; align-items: flex-start; color: var(--on-dark); margin-top: 6px; }
.footer-urgence .icon { color: #f5bf6b !important; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ---------- Page 404 / merci ---------- */
.simple-page { padding: clamp(80px, 12vw, 140px) 0; text-align: center; }
.simple-page .card-icon { margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 18px; }
.simple-page .card-icon .icon { width: 30px; height: 30px; }
.simple-page p { max-width: 36em; margin-left: auto; margin-right: auto; color: var(--muted); }
.simple-page .actions { justify-content: center; }

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav { gap: 14px; }
  .nav-list > li > a { padding: .55em .6em; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  /* Mobile : le bouton de support reste visible dans l'en-tête, à gauche du menu */
  .header-actions { order: 2; margin-left: auto; }
  .header-billet { display: none; }
  .nav-toggle { order: 3; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; }
  .nav-toggle-close, .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: block; }
  .site-nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + 38px)) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a { display: flex; padding: 16px 4px; border-radius: 0; font-size: 1.08rem; }
  .nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { background: none; }
  .nav-list > li > a .icon { display: none; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { transform: none; }
  .subnav-grid { grid-template-columns: 1fr; }
  .subnav-grid a { padding: 10px 4px; }
  .subnav-grid small { display: none; }
  .subnav-grid .icon { width: 32px; height: 32px; padding: 7px; }
  .nav-cta { display: inline-flex; align-self: stretch; padding: .9em; font-size: 1rem; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .split, .contact-grid, .cta-inner { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cta-actions { justify-self: start; }
  .cards-3, .plans { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier:not(:last-child)::after { top: auto; bottom: -16px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .step::after { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { padding: 26px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .stats-grid > div:nth-child(-n+2) { border-top: 0; }
  .stats-grid > div:nth-child(odd) { padding-left: 0; }
  .stats-grid > div:nth-child(even) { border-left: 1px solid var(--line); }
  .detail { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero, .page-hero {
    background:
      linear-gradient(rgba(22, 50, 80, .84), rgba(22, 50, 80, .72)),
      url(../img/hero-support-1000.jpg) 70% 60% / cover no-repeat,
      var(--navy-700);
  }
  body { font-size: 1rem; }
  .topbar-links { gap: 14px; font-size: .8rem; }
  .brand-text span { display: none; }
  .cards-2, .cards-3, .cards-4, .plans, .features, .values, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { align-items: stretch; width: 100%; }
  .console-rows li { grid-template-columns: auto 1fr; }
  .console-rows .tag { grid-column: 2; justify-self: start; }
  .callout { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .checklist small { display: none; }
  .faq details > div { padding-right: 0; }
  .card, .plan { padding: 24px; }
}

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

@media print {
  .topbar, .site-header, .cta-band, .site-footer { display: none; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
