/* Inter (fonte variable) - self-hebergee, SIL Open Font License 1.1
   Source : https://fonts.google.com/specimen/Inter
   Deux sous-ensembles seulement : latin (couvre le francais, oe et guillemets)
   et latin-ext, telecharge uniquement si la page contient un caractere concerne. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================
   TechLupi - Feuille de style principale
   Palette sobre : bleu nuit (confiance) + bleu accent (action)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #0B1830;
  --navy-900: #0F1E3D;
  --navy-800: #16294A;
  --navy-700: #1B3B6F;

  --accent-700: #1D4ED8;
  --accent-600: #2563EB;
  --accent-500: #3B82F6;
  --accent-100: #DBE7FE;
  --accent-50:  #EFF5FF;

  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #5A6B85;
  --ink-400: #7C8AA0;

  --bg: #FFFFFF;
  --surface: #F6F8FC;
  --surface-2: #EEF2F9;
  --line: #E3E9F2;
  --line-strong: #CFD9E8;

  --ok-600: #128C5A;
  --ok-50: #E8F7F0;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 30, 61, .06);
  --shadow-sm: 0 2px 8px rgba(15, 30, 61, .06);
  --shadow-md: 0 8px 24px rgba(15, 30, 61, .08);

  --container: 1160px;
  --header-h: 76px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Mise en page ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }

.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--tight { padding: clamp(2.25rem, 1.5rem + 2vw, 3.5rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--navy-900); color: #C6D2E6; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--sidebar { grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }

.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-700); margin-bottom: .75rem;
}
.section--dark .eyebrow { color: var(--accent-500); }

.lead { font-size: 1.1rem; color: var(--ink-500); }
.muted { color: var(--ink-400); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- 4. Boutons ---------- */
.btn {
  --btn-bg: var(--accent-600);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  font: inherit; font-weight: 600; font-size: .95rem;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { box-shadow: var(--shadow-sm); }
.btn--primary:hover { --btn-bg: var(--accent-700); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink-400); }
.btn--onDark { --btn-bg: rgba(255,255,255,.07); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.24); }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,.14); }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .93rem; }
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 5. En-tete ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); }
.brand-name span { color: var(--accent-600); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  display: block; padding: .5rem .8rem; border-radius: var(--radius-sm);
  font-size: .94rem; font-weight: 600; color: var(--ink-700); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--surface-2); color: var(--ink-900); }
.nav a.is-active { color: var(--accent-700); background: var(--accent-50); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--ink-900); cursor: pointer;
}
.nav-toggle:hover { background: var(--surface); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1.25rem; }
.mobile-nav li { margin: 0; }
.mobile-nav a {
  display: block; padding: .8rem .25rem; font-weight: 600; color: var(--ink-900);
  border-bottom: 1px solid var(--line); text-decoration: none;
}
.mobile-nav a.is-active { color: var(--accent-700); }
.mobile-nav .btn { margin-top: 1rem; }

/* ---------- 6. Hero et en-tetes de page ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900);
  color: #C3D0E6;
  padding: clamp(3.5rem, 2rem + 6vw, 6rem) 0 clamp(3.5rem, 2rem + 5vw, 5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 45%, transparent 100%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .28), transparent 68%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero-text { max-width: 58ch; font-size: 1.1rem; color: #A9BAD6; }
.hero .btn-row { margin-top: 2rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; margin-bottom: 1.4rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06);
  font-size: .82rem; font-weight: 600; color: #C9D9F5;
}
.pill--link { text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.pill--link:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); text-decoration: none; }
.pill--link svg { opacity: .7; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; flex: none; box-shadow: 0 0 0 3px rgba(52, 211, 153, .22); }

.page-head {
  background: var(--navy-900); color: #B7C6E0;
  padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0;
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 90% at 25% 0%, #000 40%, transparent 100%);
}
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: .6rem; }
.page-head p { max-width: 62ch; color: #A9BAD6; font-size: 1.05rem; }

.breadcrumb { font-size: .85rem; color: #7F93B5; margin-bottom: 1rem; }
.breadcrumb a { color: #A9BAD6; }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }

/* ---------- 7. Cartes ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.65rem;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-500); font-size: .95rem; }
.card > .link-arrow { margin-top: auto; padding-top: 1rem; }
a.card:hover { border-color: var(--accent-500); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.card--flat { background: var(--surface); border-color: transparent; }
.card--dark { background: var(--navy-800); border-color: rgba(255,255,255,.1); color: #B7C6E0; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #A9BAD6; }

.icon-box {
  width: 46px; height: 46px; flex: none; margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--accent-50); color: var(--accent-700);
}
.icon-box--slate { background: var(--surface-2); color: var(--navy-700); }
.icon-box svg { width: 22px; height: 22px; }
.icon-18 { width: 18px; height: 18px; }
.icon-20 { width: 20px; height: 20px; }

.checklist { list-style: none; margin: 1rem 0; padding: 0; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; margin-bottom: .55rem; }
.checklist svg { flex: none; width: 18px; height: 18px; margin-top: .2rem; color: var(--ok-600); }
.checklist--dark li { color: #B7C6E0; }
.checklist--dark svg { color: #6EE7B7; }

.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.trust-item { text-align: center; padding: 1.25rem .5rem; }
.trust-item .icon-box { margin-inline: auto; }
.trust-item h4 { margin-bottom: .3rem; }
.trust-item p { font-size: .88rem; color: var(--ink-500); margin: 0; }

.stat { text-align: center; }
.stat-value { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat-label { font-size: .85rem; color: #93A6C4; }

/* ---------- 8. Onglets ---------- */
.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .35rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.1rem; font: inherit; font-size: .93rem; font-weight: 600;
  color: var(--ink-700); background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.tab:hover { border-color: var(--line-strong); background: var(--surface); }
.tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- 9. Tarifs ---------- */
.billing-switch {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem; background: var(--surface-2); border-radius: var(--radius-pill);
}
.billing-switch button {
  padding: .45rem 1rem; border: 0; border-radius: var(--radius-pill);
  font: inherit; font-size: .87rem; font-weight: 600; color: var(--ink-500);
  background: transparent; cursor: pointer;
}
.billing-switch button[aria-pressed="true"] { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-xs); }
.save-badge {
  display: inline-block; margin-left: .4rem; padding: .1rem .45rem;
  border-radius: var(--radius-pill); background: var(--ok-50); color: var(--ok-600);
  font-size: .72rem; font-weight: 700;
}

.plan { position: relative; }
.plan--featured { border-color: var(--accent-500); box-shadow: var(--shadow-md); }
.plan-tag {
  position: absolute; top: -12px; left: 1.65rem;
  padding: .2rem .7rem; border-radius: var(--radius-pill);
  background: var(--accent-600); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.plan-range { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); }
.plan h3 { margin: .35rem 0 .4rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin: 1.1rem 0 .2rem; flex-wrap: wrap; }
.price-value { font-size: 2.1rem; font-weight: 800; color: var(--ink-900); letter-spacing: -.03em; }
.price-period { font-size: .9rem; color: var(--ink-400); }
.price-note { font-size: .8rem; color: var(--ink-400); margin: 0 0 1rem; }
.plan .btn { margin-top: auto; }
.price-strike { text-decoration: line-through; color: var(--ink-400); font-size: 1.15rem; margin-right: .4rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
thead th {
  text-align: left; padding: 1rem 1.15rem; background: var(--surface);
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
tbody td, tbody th { padding: .9rem 1.15rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody th { font-weight: 600; color: var(--ink-900); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }

/* ---------- 10. Etapes ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 20px; }
.steps--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.steps li { counter-increment: step; margin: 0; padding-top: 1.15rem; border-top: 2px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em;
  color: var(--accent-600); margin-bottom: .5rem;
}
.steps h4 { margin-bottom: .3rem; }
.steps p { font-size: .92rem; color: var(--ink-500); margin: 0; }
.section--dark .steps li { border-top-color: rgba(255,255,255,.16); }
.section--dark .steps p { color: #A9BAD6; }

/* ---------- 11. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink-900); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq details p { padding-bottom: 1.15rem; color: var(--ink-500); max-width: 80ch; margin: 0; }
.faq details[open] summary { color: var(--accent-700); }

/* ---------- 12. Bandeau CTA ---------- */
.cta-band {
  background: var(--navy-900); border-radius: var(--radius-lg); color: #B7C6E0;
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-bottom: .35rem; }
.cta-band p { margin: 0; max-width: 62ch; color: #A9BAD6; }
.cta-band .btn-row { flex: none; }

/* ---------- 13. Formulaire ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-900); margin-bottom: .4rem; }
.field .hint { font-weight: 400; color: var(--ink-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .9rem;
  font: inherit; font-size: .95rem; color: var(--ink-900);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 3px var(--accent-100);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA8BE; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; }
.field-error { display: none; margin: .35rem 0 0; font-size: .82rem; color: #DC2626; font-weight: 500; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--ink-500); }
.checkbox input { width: auto; margin-top: .25rem; accent-color: var(--accent-600); }

.form-success {
  display: none; align-items: flex-start; gap: .75rem;
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  background: var(--ok-50); border: 1px solid #B7E4CE; border-radius: var(--radius);
  color: #0B6B45; font-size: .93rem;
}
.form-success.is-visible { display: flex; }
.form-success svg { flex: none; color: var(--ok-600); }

.contact-item { display: flex; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item .icon-box { width: 40px; height: 40px; margin-bottom: 0; }
.contact-item h4 { margin-bottom: .15rem; }
.contact-item p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ---------- 14. Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #93A6C4; padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #93A6C4; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer p { font-size: .92rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: var(--accent-500); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: #6F82A3;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { font-size: .85rem; }

/* ---------- 15. Divers ---------- */
.note {
  padding: 1rem 1.15rem; background: var(--accent-50); border-left: 3px solid var(--accent-500);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--ink-700);
}
.note--warn { background: #FFF7ED; border-left-color: #F59E0B; }

.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tag-list li {
  margin: 0; padding: .35rem .75rem; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--ink-700); font-size: .84rem; font-weight: 500;
}

.legal h2 { margin-top: 2.5rem; font-size: 1.35rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.05rem; }
.legal p, .legal li { color: var(--ink-500); }

.js-anim .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Page Etat des services ---------- */
.status-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.35rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--ok-50); border: 1px solid #B7E4CE;
}
.status-banner .status-icon {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ok-600); border: 1px solid #B7E4CE;
}
.status-banner h2 { font-size: 1.15rem; margin: 0 0 .15rem; color: #0B6B45; }
.status-banner p { margin: 0; font-size: .9rem; color: #12795A; }
.status-banner--warn { background: #FFF7ED; border-color: #FCD9A6; }
.status-banner--warn .status-icon { color: #B45309; border-color: #FCD9A6; }
.status-banner--warn h2 { color: #8A4708; }
.status-banner--warn p { color: #9A5A12; }

.badge {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  padding: .25rem .7rem; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600;
}
.badge .dot { width: 7px; height: 7px; background: currentColor; box-shadow: none; }
.badge--ok { background: var(--ok-50); color: var(--ok-600); }
.badge--maint { background: var(--accent-50); color: var(--accent-700); }
.badge--warn { background: #FFF7ED; color: #B45309; }
.badge--down { background: #FEF2F2; color: #B91C1C; }

.service-list { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.service-row {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; align-items: center;
  padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row h3 { font-size: 1rem; margin: 0 0 .1rem; }
.service-row p { margin: 0; font-size: .85rem; color: var(--ink-400); }
.uptime { font-size: .82rem; color: var(--ink-500); }
.uptime-bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: .35rem; max-width: 220px; }
.uptime-bar span { display: block; height: 100%; background: var(--ok-600); border-radius: 3px; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.75rem; border-left: 2px solid var(--line); }
.timeline li { position: relative; margin: 0 0 1.85rem; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.75rem - 6px); top: .45rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line-strong);
}
.timeline time { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-400); margin-bottom: .2rem; }
.timeline h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.timeline p { font-size: .93rem; color: var(--ink-500); margin: 0; }

@media (max-width: 700px) {
  .service-row { grid-template-columns: 1fr; gap: .5rem; }
  .service-row .badge { justify-self: start; }
}

/* ---------- 16. Responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid--3, .grid--sidebar { grid-template-columns: 1fr; }
  .steps--3 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.15rem; }
  .btn-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-anim .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   18. Navigation avancee (sous-menus, telephone, mobile)
   ========================================================= */
.nav-wrap { display: flex; justify-content: center; flex: 1; }
.nav { gap: .1rem; }

.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .8rem; border: 0; border-radius: var(--radius-sm);
  font: inherit; font-size: .94rem; font-weight: 600;
  color: var(--ink-700); background: transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--surface-2); color: var(--ink-900); text-decoration: none; }
.nav-link.is-active { color: var(--accent-700); background: var(--accent-50); }
.nav-chevron { transition: transform .18s ease; opacity: .65; }

.nav-item { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  width: 320px; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.nav-menu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-item:hover .nav-menu,
.nav-item:focus-within .nav-menu,
.nav-link[aria-expanded="true"] + .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-item:hover .nav-chevron,
.nav-link[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav .nav-menu a {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .65rem .7rem; border-radius: var(--radius);
  color: var(--ink-900); font-weight: 600; font-size: .92rem;
}
.nav .nav-menu a:hover { background: var(--surface); color: var(--accent-700); }
.nav-menu a strong { display: block; font-weight: 600; }
.nav-menu a span span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-400); margin-top: .1rem; }
.nav-menu-icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-50); color: var(--accent-700);
}
.nav-menu-icon svg { width: 18px; height: 18px; }
.nav-menu a[aria-current="page"] { background: var(--accent-50); color: var(--accent-700); }

/* Menu mobile : sections repliables */
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem .25rem; font-weight: 600; color: var(--ink-900); cursor: pointer; list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid var(--ink-400); border-bottom: 2px solid var(--ink-400);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.mobile-nav details[open] summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.mobile-nav details ul { padding: 0 0 .6rem .9rem; }
.mobile-nav details a { border-bottom: 0; padding: .55rem .25rem; font-weight: 500; color: var(--ink-500); }
.mobile-nav details a.is-active { color: var(--accent-700); font-weight: 600; }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: #fff; border: 0; border-radius: 50%;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-600); }

/* Lien d'etat dans le pied de page */

/* =========================================================
   19. Modules interactifs (configurateur, estimateur)
   ========================================================= */
.tool {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.tool-fields { display: grid; gap: 1.6rem; align-content: start; }

.range-field label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .9rem; font-weight: 600; color: var(--ink-900); margin-bottom: .6rem;
}
.range-field output { font-size: 1rem; font-weight: 700; color: var(--accent-700); font-variant-numeric: tabular-nums; }
.range-field .range-hint { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-400); margin-top: .35rem; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; margin: 0;
  background: var(--surface-2); border-radius: 3px; cursor: pointer;
}
input[type="range"]:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 4px; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-600); border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(15,30,61,.3); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-600); border: 3px solid #fff;
  box-shadow: 0 1px 4px rgba(15,30,61,.3); cursor: pointer;
}
input[type="range"]::-moz-range-track { height: 6px; background: var(--surface-2); border-radius: 3px; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.option {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .75rem .85rem; margin: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: .88rem; color: var(--ink-700); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.option:hover { border-color: var(--accent-500); background: var(--accent-50); }
.option input { margin-top: .15rem; accent-color: var(--accent-600); flex: none; }
.option strong { display: block; color: var(--ink-900); font-weight: 600; }
.option span { font-size: .8rem; color: var(--ink-400); }
.option:has(input:checked) { border-color: var(--accent-500); background: var(--accent-50); }

.tool-result {
  background: var(--navy-900); color: #B7C6E0; border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column;
}
.tool-result h3 { color: #fff; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: .75rem; }
.tool-result .result-name { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.tool-result .result-price { font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin: .75rem 0 .1rem; }
.tool-result .result-price small { font-size: .85rem; font-weight: 500; color: #93A6C4; letter-spacing: 0; }
.tool-result .result-note { font-size: .85rem; color: #93A6C4; margin: 0 0 1rem; }
.result-list { list-style: none; margin: 1rem 0; padding: 0; font-size: .87rem; }
.result-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.result-list li:last-child { border-bottom: 0; }
.result-list span { color: #fff; font-weight: 600; text-align: right; }
.tool-result .btn { margin-top: auto; }

/* =========================================================
   20. FAQ filtrable
   ========================================================= */
.faq-tools { display: grid; gap: 1rem; margin-bottom: 2rem; }
.faq-search { position: relative; }
.faq-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-400); }
.faq-search input {
  width: 100%; padding: .8rem 1rem .8rem 2.65rem;
  font: inherit; font-size: .95rem; color: var(--ink-900);
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
}
.faq-search input:focus { outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 3px var(--accent-100); }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .95rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-700);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--line-strong); background: var(--surface); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.faq-count { font-size: .85rem; color: var(--ink-400); }
.faq-empty { display: none; padding: 2rem; text-align: center; color: var(--ink-500); }
.faq-empty.is-visible { display: block; }
.faq details[hidden] { display: none; }
.faq-group-title { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-700); margin: 2.25rem 0 .25rem; font-weight: 700; }
.faq-group-title:first-of-type { margin-top: 0; }

/* =========================================================
   21. Articles et guides
   ========================================================= */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent-600); z-index: 120; transition: width .1s linear;
}
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.article-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.article-toc h2 { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-400); margin-bottom: .85rem; }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.article-toc li { margin: 0; }
.article-toc a {
  display: block; padding: .4rem 0 .4rem .9rem; margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: .87rem; color: var(--ink-500); line-height: 1.4;
}
.article-toc a:hover { color: var(--ink-900); text-decoration: none; }
.article-toc a.is-current { color: var(--accent-700); border-left-color: var(--accent-600); font-weight: 600; }

.article-meta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; font-size: .85rem; color: var(--ink-400); margin-bottom: 1.5rem; }
.article-meta .badge { font-size: .78rem; }

.article { max-width: 72ch; }
.article h2 { font-size: 1.6rem; margin-top: 3rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.15rem; margin-top: 2rem; }
.article p, .article li { font-size: 1.02rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.35rem; margin-bottom: 1.35rem; }
.article li { margin-bottom: .5rem; }
.article strong { color: var(--ink-900); }
.article figure { margin: 2rem 0; }
.article figcaption { font-size: .85rem; color: var(--ink-400); margin-top: .6rem; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.callout {
  display: flex; gap: .9rem; margin: 2rem 0;
  padding: 1.15rem 1.35rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.callout svg { flex: none; color: var(--accent-600); margin-top: .15rem; }
.callout p { margin: 0; font-size: .95rem; }
.callout--tip { background: var(--accent-50); border-color: var(--accent-100); }
.callout--warn { background: #FFF7ED; border-color: #FCD9A6; }
.callout--warn svg { color: #B45309; }

.code-block {
  background: var(--navy-950); color: #C6D2E6; border-radius: var(--radius);
  padding: 1.1rem 1.25rem; overflow-x: auto; margin: 1.5rem 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .86rem; line-height: 1.7;
}
.code-block .cmt { color: #7F93B5; }

.article-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Cartes ressources */
.resource-card { position: relative; }
.resource-card .badge { align-self: flex-start; margin-bottom: .9rem; }
.resource-card h3 { font-size: 1.08rem; }
.resource-meta { font-size: .82rem; color: var(--ink-400); margin-top: auto; padding-top: 1rem; }

/* =========================================================
   22. References et cas clients
   ========================================================= */
.case {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.case + .case { margin-top: 24px; }
.case-side { border-right: 1px solid var(--line); padding-right: 40px; }
.case-side dl { margin: 1.25rem 0 0; }
.case-side dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; margin-top: 1rem; }
.case-side dd { margin: .2rem 0 0; font-size: .93rem; color: var(--ink-700); }
.case h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.case h3:first-of-type { margin-top: 0; }

.kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 1.75rem; }
.kpi { padding: 1rem; background: var(--surface); border-radius: var(--radius); text-align: center; }
.kpi-value { font-size: 1.45rem; font-weight: 800; color: var(--accent-700); letter-spacing: -.02em; }
.kpi-label { font-size: .8rem; color: var(--ink-500); line-height: 1.35; }

.quote {
  margin: 1.75rem 0 0; padding: 1.25rem 1.4rem;
  background: var(--surface); border-left: 3px solid var(--accent-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-size: .97rem; font-style: italic; color: var(--ink-700); margin-bottom: .6rem; }
.quote footer { font-size: .84rem; color: var(--ink-400); font-style: normal; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.logo-plate {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 76px; padding: 1rem;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--ink-400); font-size: .84rem; font-weight: 600; background: #fff;
}

/* =========================================================
   23. Equipe, chiffres, pages diverses
   ========================================================= */
.team-card { text-align: left; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-700); color: #fff; font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em; margin-bottom: 1rem;
}
.team-role { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); margin-bottom: .35rem; }

.value-row { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 1rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row .icon-box { margin-bottom: 0; width: 42px; height: 42px; }
.value-row h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.value-row p { margin: 0; color: var(--ink-500); font-size: .95rem; }

.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-cols h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.sitemap-cols ul { list-style: none; padding: 0; }
.sitemap-cols li { margin-bottom: .5rem; }

.error-code { font-size: clamp(4rem, 3rem + 8vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--accent-600); margin-bottom: 1rem; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; align-items: center; }
.dl-specs { margin: 0; }
.dl-specs > div { display: grid; grid-template-columns: 40% 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.dl-specs > div:last-child { border-bottom: 0; }
.dl-specs dt { color: var(--ink-500); }
.dl-specs dd { margin: 0; color: var(--ink-900); font-weight: 600; }

/* =========================================================
   24. Responsive et impression (modules avances)
   ========================================================= */
@media (max-width: 1080px) {
  /* minmax(0,1fr) empeche le contenu du sommaire d'elargir la grille
     au-dela de l'ecran (source d'un defilement horizontal). */
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-toc, .article { min-width: 0; }
  .article-toc a { overflow-wrap: anywhere; }
  .article-toc { position: static; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; background: var(--surface); }
  .article-toc ol { border-left: 0; }
  .article-toc a { padding-left: 0; border-left: 0; }
  .article-toc a.is-current { border-left: 0; }
}

@media (max-width: 1000px) {
  .tool { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .case-side { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 28px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav-wrap { display: none; }
  .kpi-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .to-top { right: 14px; bottom: 14px; }
  .article h2 { font-size: 1.35rem; }
}

@media print {
  .site-header, .site-footer, .to-top, .reading-progress, .cta-band, .btn { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section { padding: 1rem 0; }
  .card, .tool, .case { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* =========================================================
   25. Ajustements (prix "a partir de", pied de page simplifie)
   ========================================================= */
.price-from {
  display: block; width: 100%;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-400); margin-bottom: -.3rem;
}

.footer-top { padding-bottom: 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid--links { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .footer-grid--links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid--links { grid-template-columns: 1fr; }
}

/* =========================================================
   26. Utilitaires (remplacent les styles en ligne : permet
       une CSP stricte, sans style-src 'unsafe-inline')
   ========================================================= */
.u-m0 { margin: 0; }
.u-mt-xs { margin-top: .6rem; }
.u-mt-sm { margin-top: 1rem; }
.u-mt-md { margin-top: 1.25rem; }
.u-mt-lg { margin-top: 1.75rem; }
.u-mt-note { margin: .85rem 0 0; }
.u-mt-tiny { margin: .4rem 0 0; }
.u-mb-xs { margin-bottom: .3rem; }
.u-mb-sm { margin-bottom: 1rem; }
.u-mb-md { margin-bottom: 2rem; }
.u-mb-lg { margin-bottom: 3.5rem; }
.u-push { margin-top: auto; padding-top: .5rem; }
.u-w-full { width: 100%; }
.u-text-left { text-align: left; }
.u-accent { color: var(--accent-700); }
.u-ink { color: var(--ink-500); }
.u-title-sm { font-size: 1.3rem; }

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

/* Barres de disponibilite (page Etat des services) */
.uptime-bar .lvl-100 { width: 100%; }
.uptime-bar .lvl-9999 { width: 99.99%; }
.uptime-bar .lvl-9998 { width: 99.98%; }
.uptime-bar .lvl-9997 { width: 99.97%; }
.uptime-bar .lvl-9995 { width: 99.95%; }

/* Blocs recurrents, decrits une bonne fois ici */
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tabs-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.lead--intro { max-width: 70ch; margin-bottom: 2rem; }
.badge--lead { align-self: flex-start; margin-bottom: .75rem; }
.field-legend { font-size: .9rem; font-weight: 600; color: var(--ink-900); margin-bottom: .6rem; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.legend li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; }
.footer-note { margin-top: 1rem; color: #6F82A3; }
.site-footer .brand img { height: 42px; }
.card-note { color: #7F93B5; margin-top: 1rem; }
.case-side h2 { font-size: 1.35rem; margin-top: 1rem; }
.form-card > h2 { font-size: 1.4rem; }
.form-card > h3 { margin-bottom: .35rem; }
table caption { caption-side: bottom; text-align: left; padding: .9rem 1.15rem; }

/* Piege a robots : hors ecran, jamais annonce, jamais atteignable au clavier */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* =========================================================
   27. Confort mobile
   Tout est enferme dans des media queries : l'affichage
   sur ordinateur (au-dela de 900 px) n'est pas modifie.
   ========================================================= */

/* ---------- Barre d'action fixe (masquee sur ordinateur) ---------- */
.mobile-cta { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .brand img { height: 36px; }
  .brand-name { font-size: 1.12rem; }

  /* Le menu se superpose au contenu au lieu de le repousser */
  .mobile-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 40px rgba(15, 30, 61, .18);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .mobile-nav ul { padding: .35rem 0 1rem; }
  .mobile-nav a { padding: .75rem .25rem; }

  /* Correctif : sans cette regle, .mobile-nav a impose display:block
     et les boutons perdent leur centrage. */
  .mobile-nav .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.2rem;
    border-bottom: 0;
  }

  /* Le fond ne defile plus derriere le menu ouvert, et un voile
     separe nettement le panneau du contenu. Un appui dessus referme. */
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 24, 48, .5);
    z-index: 96;
  }
}

@media (max-width: 700px) {
  /* ---------- Respiration generale ---------- */
  .section { padding: 2.75rem 0; }
  .section--tight { padding: 2rem 0; }
  .hero { padding: 2.5rem 0 3rem; }
  .page-head { padding: 2rem 0 2.25rem; }
  h1 { font-size: 1.95rem; line-height: 1.22; }
  .hero-text, .page-head p { font-size: 1rem; }
  .section-head { margin-bottom: 1.75rem; }
  .card { padding: 1.35rem; }
  .grid { gap: 16px; }

  /* ---------- Zones tactiles ---------- */
  .tab, .chip { padding-block: .6rem; }
  .faq summary { padding: 1.05rem 0; }
  .nav-toggle { width: 44px; height: 44px; }

  /* ---------- Formulaires : evite le zoom automatique sur iOS ---------- */
  .field input, .field select, .field textarea, .faq-search input {
    font-size: 16px;
  }

  /* ---------- Tableaux : moins de defilement lateral ---------- */
  table { min-width: 520px; font-size: .87rem; }
  thead th, tbody td, tbody th { padding: .75rem .85rem; }
  .table-wrap { position: relative; }

  /* ---------- Listes de caracteristiques ---------- */
  .dl-specs > div { grid-template-columns: 1fr; gap: .1rem; padding: .55rem 0; }
  .dl-specs dt { font-size: .8rem; }

  /* ---------- Sommaire des guides : deux colonnes, moins haut ---------- */
  .article-toc ol { columns: 2; column-gap: 1.25rem; }
  .article-toc li { break-inside: avoid; }

  /* ---------- Pied de page plus compact ---------- */
  .site-footer { padding: 2.5rem 0 1.25rem; }
  .footer-grid--links { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-bottom { margin-top: 2rem; }

  /* ---------- Barre d'action fixe ---------- */
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { padding: .7rem 1rem; font-size: .92rem; }

  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; }
}

@media (max-width: 420px) {
  .footer-grid--links { grid-template-columns: 1fr; }
  .article-toc ol { columns: 1; }
  h1 { font-size: 1.8rem; }
}

/* Erreur d'envoi du formulaire de contact (retour du serveur) */
.flash-error {
  margin-top: 1rem; padding: .85rem 1.1rem;
  background: #FEF2F2; border: 1px solid #F3C7C7; border-radius: var(--radius);
  color: #8B1A1A; font-size: .92rem;
}

/* =========================================================
   28. Espaces client
   ========================================================= */
/* Un SVG place dans un bouton garde toujours une taille raisonnable,
   meme si la classe d'icone est oubliee. */
.btn > svg { width: 16px; height: 16px; flex: none; }
.icon-16 { width: 16px; height: 16px; flex: none; }

.header-portal { gap: .4rem; }
.header-portal svg { opacity: .75; }

a.portal { position: relative; }
a.portal:hover .icon-box { background: var(--accent-600); color: #fff; }
.portal .icon-box { transition: background-color .18s ease, color .18s ease; }
.portal-tool {
  display: inline-block; align-self: flex-start; margin-bottom: .5rem;
  padding: .15rem .6rem; border-radius: var(--radius-pill);
  background: var(--surface-2); color: var(--ink-500);
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.portal-audience {
  margin-top: .5rem !important; font-size: .82rem; color: var(--ink-400);
}
.portal .link-arrow { margin-top: auto; padding-top: 1rem; }

/* =========================================================
   29. Mobile : deuxieme passe
   Regroupe les corrections de confort constatees a l'usage.
   L'affichage sur ordinateur (> 900 px) n'est pas modifie.
   ========================================================= */
@media (max-width: 900px) {
  /* --- Menu : plus compact, pour voir toutes les entrees d'un coup --- */
  .mobile-nav ul { padding: .25rem 0 .75rem; }
  .mobile-nav a { padding: .62rem .25rem; font-size: .97rem; }
  .mobile-nav summary { padding: .62rem .25rem; }
  .mobile-nav details ul { padding: 0 0 .4rem .9rem; }
  .mobile-nav details a { padding: .48rem .25rem; font-size: .93rem; }

  /* Les trois boutons du bas tiennent sur moins de hauteur */
  .mobile-nav .btn { padding: .68rem 1rem; font-size: .93rem; }
  .mobile-nav .btn--block + .btn--block { margin-top: .45rem; }
  .mobile-portal { justify-content: center; gap: .45rem; }
}

@media (max-width: 700px) {
  /* --- Pied de page : deux colonnes des 340 px, listes resserrees --- */
  .footer-grid--links { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .site-footer { padding: 2rem 0 1rem; }
  .site-footer li { margin-bottom: .35rem; }
  .site-footer a { font-size: .88rem; }
  .site-footer h4 { margin-bottom: .6rem; font-size: .76rem; }
  .footer-top { padding-bottom: 1.25rem; margin-bottom: 1.5rem; }
  .footer-note { margin-top: .75rem; font-size: .82rem; }
  .footer-bottom { margin-top: 1.5rem; padding-top: 1.1rem; gap: .6rem; }
  .footer-bottom nav { gap: .5rem 1rem; }

  /* --- Titres de section un peu plus serres --- */
  h2 { font-size: 1.45rem; }
  .section-head p { font-size: .98rem; }

  /* --- Cartes d'espace client : lecture rapide au pouce --- */
  .portal .icon-box { width: 40px; height: 40px; margin-bottom: .75rem; }
  .portal h3 { font-size: 1.05rem; }
}

@media (max-width: 420px) {
  /* En dessous de cette largeur, deux colonnes de liens restent lisibles
     tant que les libelles peuvent revenir a la ligne. */
  .footer-grid--links { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .site-footer a { font-size: .86rem; }
  .mobile-cta .btn { font-size: .88rem; padding: .65rem .5rem; }
}

/* ---------------------------------------------------------------
   30. Banniere cookies
   Le refus est aussi accessible que l'acceptation : memes dimensions,
   meme place, aucun bouton mis en avant par la taille.
   --------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(15, 30, 61, .12);
  animation: cookie-up .28s ease-out;
}
.cookie-bar[hidden] { display: none; }
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }

.cookie-bar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-bar__text { flex: 1 1 420px; min-width: 0; }
.cookie-bar__text h2 { font-size: 1.02rem; margin: 0 0 .3rem; color: var(--ink-900); }
.cookie-bar__text p { margin: 0; font-size: .9rem; color: var(--ink-500); }
.cookie-bar__actions { display: flex; gap: .6rem; flex: none; }
.cookie-bar__actions .btn { min-width: 130px; justify-content: center; }

@media (max-width: 900px) {
  /* La barre d'action mobile occupe la meme place : on la retire
     tant que le visiteur n'a pas repondu. */
  body.has-cookie-bar .mobile-cta { display: none; }
}

@media (max-width: 640px) {
  .cookie-bar__inner { padding: 1rem 16px calc(1.1rem + env(safe-area-inset-bottom)); gap: .8rem; }
  .cookie-bar__text h2 { font-size: .96rem; }
  .cookie-bar__text p { font-size: .84rem; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1 1 0; min-width: 0; }
}

/* Sommaire des textes legaux */
.legal-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.25rem; }
.legal-toc a {
  padding: .4rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-500);
  text-decoration: none;
}
.legal-toc a:hover { border-color: var(--accent-600); color: var(--accent-600); background: #fff; }
.legal h2 { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------
   31. Reseaux sociaux (pied de page)
   --------------------------------------------------------------- */
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-pill);
  color: #C6D2E6;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.footer-social a:hover { border-color: var(--accent-500); color: #fff; background: rgba(59, 130, 246, .14); }
.footer-social a:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.footer-social svg { width: 19px; height: 19px; }

@media (max-width: 640px) {
  .footer-top { gap: 1.1rem; }
  .footer-social a { width: 42px; height: 42px; }
}
