/* ==========================================================================
   Sanson Digital — feuille de style principale
   Sommaire :
   1. Polices        2. Variables      3. Base & reset   4. Mise en page
   5. Typographie    6. Boutons        7. En-tête/nav    8. Héros
   9. Composants     10. Tarifs        11. FAQ           12. Formulaires
   13. Blog & prose  14. Pied de page  15. Animations    16. Utilitaires
   ========================================================================== */

/* 1. Polices (auto-hébergées : rapide et conforme RGPD) ------------------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-semibold-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables ------------------------------------------------------------ */
:root {
  /* Couleurs de marque (bleu marine issu du logo) */
  --navy-950: #0a1a2e;
  --navy-900: #0f2440;
  --navy: #143151;
  --navy-700: #1f4573;
  --navy-600: #2d5a8e;
  --navy-300: #9db3cf;
  --navy-200: #c6d4e6;
  --navy-100: #e3eaf3;
  --navy-50: #f1f5fa;

  /* Accent (orange corail) — décoratif et boutons d'action */
  --accent: #ff6b3d;
  --accent-600: #f2572a;
  --accent-ink: #c2410c; /* version lisible pour du texte sur fond clair */
  --accent-soft: #fff1eb;

  /* Neutres */
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #0e1a2b;
  --text: #2b3646;
  --muted: #5b6676;
  --line: #e2e5ea;
  --line-strong: #cfd5dd;
  --line-input: #7b8594; /* bordure des champs : contraste 3,7:1 */
  --success: #15803d;
  --danger: #b91c1c;

  /* Typographie */
  --font-head: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h4: 1.15rem;
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --fs-display: clamp(2.4rem, 1.6rem + 3.5vw, 4.25rem);

  /* Espacements & formes */
  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, 0.06), 0 1px 1px rgba(14, 26, 43, 0.04);
  --shadow: 0 10px 30px -12px rgba(14, 26, 43, 0.18), 0 2px 6px rgba(14, 26, 43, 0.05);
  --shadow-lg: 0 30px 60px -20px rgba(14, 26, 43, 0.3), 0 8px 20px -8px rgba(14, 26, 43, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* 3. Base & reset --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--navy-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--accent-ink);
}
:focus-visible {
  outline: 3px solid var(--accent-ink); /* contraste ≥ 4,7:1 sur fonds clairs */
  outline-offset: 3px;
  border-radius: 4px;
}
.section--navy :focus-visible,
.cta-band :focus-visible,
.visual-panel :focus-visible,
.price-card--featured :focus-visible,
.card--navy :focus-visible,
.aside-cta :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent); /* contraste ≥ 4,7:1 sur fonds navy */
}
::selection {
  background: var(--navy);
  color: var(--white);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 4. Mise en page --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}
.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}
.section--paper {
  background: var(--paper);
}
.section--tint {
  background: var(--navy-50);
}
.section--navy {
  background: var(--navy-900);
  color: var(--navy-200);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}
.section--navy a:not(.btn) {
  color: var(--white);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 1rem;
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.split {
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--reverse > :first-child {
    order: 2;
  }
  .split--wide-text {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.split > *,
.hero__grid > * {
  min-width: 0;
}
.stack > * + * {
  margin-top: 1rem;
}

/* 5. Typographie ---------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.07;
}
h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.025em;
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
.section--navy strong {
  color: var(--white);
}
.lead {
  font-size: var(--fs-lg);
  color: var(--muted);
  line-height: 1.6;
}
.section--navy .lead {
  color: var(--navy-200);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--navy .eyebrow,
.cta-band .eyebrow,
.visual-panel .eyebrow {
  color: var(--accent);
}
.text-accent {
  color: var(--accent-ink);
}
.highlight {
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.highlight::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--accent);
  opacity: 0.35;
  border-radius: 4px;
  z-index: -1;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: var(--fs-sm);
}

/* 6. Boutons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-bd: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  font-family: var(--font-head);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(14, 26, 43, 0.45);
}
.btn:active {
  transform: translateY(0);
}
.btn .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon--arrow {
  transform: translateX(3px);
}
.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--navy-950);
  --btn-bd: var(--accent);
}
.btn--accent:hover {
  --btn-bg: var(--accent-600);
  --btn-bd: var(--accent-600);
  box-shadow: 0 12px 26px -10px rgba(242, 87, 42, 0.6);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover {
  --btn-bd: var(--navy);
  box-shadow: none;
}
.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-bd: var(--white);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover {
  --btn-bd: var(--white);
  box-shadow: none;
}
.btn--lg {
  padding: 1rem 1.9rem;
  min-height: 56px;
  font-size: 1.05rem;
}
.btn--sm {
  padding: 0.55rem 1.1rem;
  min-height: 40px;
  font-size: 0.9rem;
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
}
.link-arrow .icon {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* 7. En-tête & navigation ------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même casserait le positionnement fixe du menu mobile. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav-open .site-header::before {
  background: var(--white);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -14px rgba(14, 26, 43, 0.25);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: auto;
  height: 40px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-head);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s, color 0.2s;
}
.nav__link:hover {
  color: var(--navy);
  background: var(--navy-50);
}
.nav__link[aria-current] {
  color: var(--navy);
  background: var(--navy-100);
}
.nav__cta {
  margin-left: 0.75rem;
}
.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bar:nth-child(1) {
  top: 15px;
}
.nav-toggle__bar:nth-child(2) {
  top: 22px;
}
.nav-toggle__bar:nth-child(3) {
  top: 29px;
}
.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .brand img {
    height: 36px;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav__link {
    padding: 0.95rem 1rem;
    font-size: 1.15rem;
    border-radius: var(--radius);
  }
  .nav__cta {
    margin: 0;
  }
  .nav__cta .btn {
    width: 100%;
    min-height: 54px;
    font-size: 1.05rem;
  }
  body.nav-open {
    overflow: hidden;
  }
}
@media (max-width: 520px) {
  .hero .btn-row .btn,
  .page-hero .btn-row .btn,
  .cta-band .btn-row .btn {
    width: 100%;
  }
}

/* 8. Héros ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7.5rem);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--navy-100) 1px, transparent 1px), linear-gradient(90deg, var(--navy-100) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: 0.7;
}
.hero__grid {
  display: grid;
  gap: clamp(3rem, 2rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero h1 {
  font-size: var(--fs-display);
  margin-bottom: 1.5rem;
}
.hero .lead {
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.hero__badge-dot .icon {
  width: 0.95rem;
  height: 0.95rem;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__proof .icon {
  color: var(--success);
}

/* Visuel du héros : maquette de navigateur + cartes flottantes */
.hero-visual {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.mock-browser {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--navy-50);
  border-bottom: 1px solid var(--line);
}
.mock-browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-browser__url {
  flex: 1;
  min-width: 0;
  margin-left: 0.75rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-browser__body {
  padding: 1.5rem;
}
.mock-line {
  height: 10px;
  border-radius: 6px;
  background: var(--navy-100);
}
.mock-line + .mock-line {
  margin-top: 0.6rem;
}
.mock-line--title {
  height: 18px;
  width: 75%;
  background: var(--navy);
}
.mock-line--accent {
  width: 32%;
  height: 32px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  margin-top: 1.25rem !important;
}
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.mock-cards span {
  height: 64px;
  border-radius: 10px;
  background: var(--navy-50);
  border: 1px solid var(--line);
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--muted);
  animation: float 2.5s ease-in-out 2; /* 5 s au total (RGAA 13.8) */
}
.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  flex: none;
}
.float-card__icon--accent {
  background: var(--accent);
  color: var(--navy-950);
}
.float-card--tl {
  top: 18%;
  left: -8%;
}
.float-card--br {
  bottom: -6%;
  right: -4%;
  animation-delay: -1.25s;
}
@media (max-width: 640px) {
  .float-card--tl {
    left: -2%;
    top: 30%;
  }
  .float-card--br {
    right: -2%;
  }
}
.score-ring {
  --val: 100;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--success) calc(var(--val) * 1%), var(--navy-100) 0);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--success);
  position: relative;
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--white);
}
.score-ring span {
  position: relative;
}

/* En-tête des pages intérieures */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -80px;
  width: 520px;
  height: 300px;
  background: url("../img/logo-mark.svg") no-repeat center / contain;
  opacity: 0.05;
}
.page-hero h1 {
  max-width: 900px;
}
.page-hero .lead {
  max-width: 720px;
}
.page-hero .btn-row {
  margin-top: 2rem;
}
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: "/";
  content: "/" / "";
  margin-right: 0.4rem;
  color: var(--line-strong);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* 9. Composants ----------------------------------------------------------- */
/* Cartes */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.card h3 {
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--muted);
}
.card .link-arrow {
  margin-top: auto;
  padding-top: 1.25rem;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--navy-200);
  box-shadow: var(--shadow);
}
.card--link {
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  color: inherit;
}
.card--paper {
  background: var(--paper);
  border-color: transparent;
}
.card--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--navy-200);
}
.card--navy h3 {
  color: var(--white);
}
.card--navy p {
  color: var(--navy-200);
}
.section--navy .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.section--navy .card p {
  color: var(--navy-200);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: var(--navy-50);
  color: var(--navy);
  transition: background-color 0.3s, color 0.3s;
}
.card__icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.card--hover:hover .card__icon {
  background: var(--navy);
  color: var(--white);
}
.card__icon--accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.section--navy .card__icon {
  background: rgba(255, 107, 61, 0.14);
  color: var(--accent);
}
.card__tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

/* Badges / pastilles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--navy-100);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.badge--accent {
  color: var(--navy-950);
  background: var(--accent);
}
.badge--soft {
  color: var(--accent-ink);
  background: var(--accent-soft);
}
.tag-list .badge {
  white-space: normal;
}
.post-card__body .badge,
.card > .badge {
  align-self: flex-start;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

/* Liste à puces cochées */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143151' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 0.8rem;
}
.checklist--accent li::before {
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.section--navy .checklist li::before,
.card--navy .checklist li::before {
  background-color: rgba(255, 107, 61, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.checklist--cols {
  columns: 2 260px;
  column-gap: 2rem;
}
.checklist--cols li {
  break-inside: avoid;
}
.crosslist li::before {
  background-color: #fde8e8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* Étapes du processus */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.step {
  position: relative;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy-600);
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.step__meta {
  display: inline-block;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-ink);
}
.section--navy .step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.section--navy .step::before {
  -webkit-text-stroke-color: var(--accent);
}
.section--navy .step__meta {
  color: var(--accent);
}
.section--navy .step p {
  color: var(--navy-200);
}

/* Chiffres clés / repères */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1.25rem;
}
.stat {
  padding: 1.5rem;
  border-left: 3px solid var(--accent);
}
.stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.section--navy .stat__value {
  color: var(--white);
}
.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.section--navy .stat__label {
  color: var(--navy-200);
}

/* Bloc « mise en avant » (encadré) */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
}
.callout > .icon {
  margin-top: 0.15rem;
  color: var(--navy);
}
.callout p {
  margin: 0;
}
.callout--accent {
  background: var(--accent-soft);
  border-color: #ffd9c9;
  border-left-color: var(--accent);
}
.callout--accent > .icon {
  color: var(--accent-ink);
}

/* Visuel d'illustration générique (panneau navy avec contenu) */
.visual-panel {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: radial-gradient(120% 100% at 100% 0%, rgba(255, 107, 61, 0.22) 0%, transparent 45%), linear-gradient(160deg, var(--navy-700) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg);
  color: var(--navy-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.visual-panel h3,
.visual-panel strong {
  color: var(--white);
}

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: clamp(18px, 2vw, 28px);
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 107, 61, 0.28) 0%, transparent 50%), linear-gradient(135deg, var(--navy) 0%, var(--navy-950) 100%);
  color: var(--navy-200);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -70px;
  width: 420px;
  height: 260px;
  background: url("../img/logo-mark.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
  opacity: 0.06;
}
.cta-band h2 {
  color: var(--white);
  max-width: 720px;
}
.cta-band p {
  max-width: 620px;
  font-size: var(--fs-lg);
}
.cta-band .btn-row {
  margin-top: 2rem;
}

/* Tableau comparatif */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table th,
.table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  background: var(--navy-50);
}
.table tbody tr:last-child td,
.table tbody tr:last-child th {
  border-bottom: 0;
}
.table tbody th {
  font-weight: 600;
  color: var(--ink);
}

/* 10. Tarifs -------------------------------------------------------------- */
.pricing {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card__name {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.price-card__desc {
  min-height: 3.2em;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.5rem 0 0.25rem;
  font-family: var(--font-head);
  color: var(--ink);
}
.price__from {
  width: 100%;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.price__amount {
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.price__unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-card__note {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.price-card .checklist {
  margin-bottom: 2rem;
  font-size: var(--fs-sm);
}
.price-card .btn {
  margin-top: auto;
}
.price-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--navy-200);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1000px) {
  .price-card--featured {
    transform: translateY(-12px);
  }
}
.price-card--featured .price-card__name,
.price-card--featured .price,
.price-card--featured strong {
  color: var(--white);
}
.price-card--featured .price-card__desc,
.price-card--featured .price__unit,
.price-card--featured .price__from,
.price-card--featured .price-card__note {
  color: var(--navy-300);
}
.price-card--featured .checklist li::before {
  background-color: rgba(255, 107, 61, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.price-card .card__tag {
  top: -0.85rem;
  right: 1.5rem;
}
.price-note {
  margin-top: 2rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  text-align: center;
}

/* Bascule d'onglets (ex. : tarifs création / SEO) */
.tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  margin-bottom: 2.5rem;
  background: var(--navy-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.tabs__btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tabs__btn[aria-selected="true"] {
  color: var(--white);
  background: var(--navy);
}
[role="tabpanel"][hidden] {
  display: none;
}

/* 11. FAQ (éléments <details>) -------------------------------------------- */
.faq {
  max-width: 860px;
  margin-inline: auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-child {
  border-top: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  font-family: var(--font-head);
  font-size: 1.075rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143151' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 0.9rem;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent-soft);
}
.faq__item summary:hover {
  color: var(--navy-700);
}
.faq__answer {
  padding: 0 3.5rem 1.5rem 0.25rem;
  color: var(--muted);
}
.faq__answer p + p {
  margin-top: 0.75rem;
}

/* 12. Formulaires --------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.25rem;
}
.form__row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.field label,
.field legend {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field .req {
  color: var(--accent-ink);
}
.field__hint {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-input);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.textarea {
  min-height: 150px;
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.select {
  padding-right: 2.75rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143151' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem;
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--navy-600);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(20, 49, 81, 0.12);
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.field__error {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--danger);
}
.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.choice-group legend {
  margin-bottom: 0.6rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.choice span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--line-input);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.choice input:checked + span {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}
.choice input:focus-visible + span {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
}
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.consent label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--muted);
}
.consent input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--navy);
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
}
.form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-weight: 500;
}
.form-status.is-success {
  display: block;
  color: var(--success);
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}
.form-status.is-error {
  display: block;
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Liste de coordonnées */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-list .card__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  flex: none;
}
.contact-list .card__icon .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.contact-list strong {
  display: block;
  font-family: var(--font-head);
}

/* 13. Blog & contenu éditorial -------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(100% 120% at 100% 0%, rgba(255, 107, 61, 0.35) 0%, transparent 55%), linear-gradient(150deg, var(--navy-700), var(--navy-950));
  color: var(--white);
  overflow: hidden;
}
.post-card__cover .icon {
  width: 3.5rem;
  height: 3.5rem;
  stroke-width: 1.5;
  opacity: 0.95;
}
.post-card__cover--alt {
  background: radial-gradient(100% 120% at 0% 100%, rgba(255, 107, 61, 0.3) 0%, transparent 55%), linear-gradient(200deg, var(--navy-600), var(--navy-900));
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.6rem;
}
.post-card__body h2,
.post-card__body h3 {
  font-size: 1.25rem;
  margin: 0.75rem 0 0.6rem;
}
.post-card__body p {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.post-card__body .link-arrow {
  margin-top: auto;
  padding-top: 1.25rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.post-meta .icon {
  width: 1rem;
  height: 1rem;
}

.article-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.article-layout > * {
  min-width: 0; /* laisse les tableaux défiler au lieu d'élargir la colonne */
}
@media (min-width: 1040px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 4.5rem;
  }
  .article-aside {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - 3rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
.toc {
  padding: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.toc__title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
}
.toc a {
  color: var(--muted);
  text-decoration: none;
}
.toc a:hover {
  color: var(--navy);
  text-decoration: underline;
}
.aside-cta {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--navy-200);
  font-size: var(--fs-sm);
}
.aside-cta strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--white);
}
.aside-cta .btn {
  margin-top: 1rem;
  width: 100%;
}

.prose {
  font-size: 1.075rem;
  line-height: 1.75;
  max-width: 72ch;
}
.prose > * + * {
  margin-top: 1.25em;
}
.prose p {
  margin: 0;
}
.prose h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  margin: 2.4em 0 0.2em;
}
.prose h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  margin: 1.9em 0 0.1em;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75em;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--accent-ink);
  font-weight: 600;
}
.prose blockquote {
  margin-inline: 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--accent);
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
}
.prose .table-wrap,
.prose .callout {
  margin-block: 2rem;
}
.prose a {
  color: var(--navy-700);
  text-decoration: underline;
}
.prose a:hover {
  color: var(--accent-ink);
}
.prose .lead {
  font-size: 1.2rem;
}
.prose code {
  padding: 0.1em 0.4em;
  font-size: 0.9em;
  color: var(--navy);
  background: var(--navy-50);
  border-radius: 6px;
}
.article-header {
  max-width: 820px;
}
.article-header .post-meta {
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
}

/* Contenu juridique */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
}
.legal h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}
.legal p,
.legal li {
  color: var(--text);
}
.legal ul {
  padding-left: 1.3em;
}
.legal li + li {
  margin-top: 0.4rem;
}
.placeholder {
  padding: 0.05em 0.35em;
  color: #92400e;
  background: #fef3c7;
  border-radius: 4px;
  font-weight: 600;
}

/* 14. Pied de page -------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  background: var(--navy-950);
  color: var(--navy-300);
  font-size: var(--fs-sm);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}
.footer-brand img {
  width: 210px;
  height: auto;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  max-width: 340px;
  color: var(--navy-300);
}
.footer-title {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-links {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--navy-300);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-links .icon {
  display: inline-block;
  vertical-align: -0.2em;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.4rem;
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-xs);
}
.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-bottom a {
  color: var(--navy-300);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--white);
}

/* Bouton « retour en haut » */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s;
}

/* 15. Animations ---------------------------------------------------------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.js [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.8s var(--ease) var(--reveal-delay, 0s), translate 0.8s var(--ease) var(--reveal-delay, 0s), transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.js [data-reveal].is-visible {
  opacity: 1;
  translate: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }
}

/* 16. Utilitaires --------------------------------------------------------- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-inline: auto;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 1rem !important;
}
.mt-2 {
  margin-top: 2rem !important;
}
.mt-3 {
  margin-top: 3rem !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-2 {
  margin-bottom: 2rem !important;
}
.justify-center {
  justify-content: center;
}
.nowrap {
  white-space: nowrap;
}

@media print {
  .site-header,
  .site-footer,
  .to-top,
  .cta-band,
  .article-aside {
    display: none !important;
  }
  body {
    color: #000;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }
}
