/* ==========================================================================
   jijido – feuille de style commune (FR, EN et pages légales)
   Mobile d’abord. Aucune dépendance externe, aucune requête vers un autre
   domaine.
   ========================================================================== */

/* Police Outfit (SIL Open Font License 1.1, voir fonts/OFL.txt).
   Sous-ensemble latin avec les accents français, graisses 400, 500 et 600. */
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette */
  --fond: #f7f7f5;
  --fond-alt: #e4e4e1;          /* gris pierre : sections alternées, encadrés */
  --graphite: #2b2d31;          /* en-tête, contact, pied de page */
  --texte: #2b2d31;
  --texte-secondaire: #55585e;
  --bordure: #c4c5c1;           /* bordures décoratives */
  --gris-points: #8a8d93;       /* décor uniquement, jamais pour du texte */
  --jaune: #f2b705;             /* boutons et repères, jamais en texte sur fond clair */
  --jaune-survol: #d9a404;
  --texte-bouton: #1e1f22;
  --jaune-texte: #6e5300;       /* petits textes colorés et liens sur fond clair */
  --sur-graphite: #ffffff;
  --sur-graphite-secondaire: #c9cbcf;
  --lien-sur-graphite: #f2b705;
  --trait-graphite: #484b52;    /* séparateurs décoratifs sur fond graphite */
  --graphite-clair: #34373c;    /* cartes sur fond graphite */
  --surface: #ffffff;           /* panneaux de l’exemple de mail uniquement */
  --focus: #1e1f22;
  --fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='%231e1f22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%231e1f22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");   /* coche foncée, posée sur un carré jaune */

  /* Typographie et mise en page */
  --police: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --largeur: 71.25rem;
  --gouttiere: 1rem;
  --mesure: 34em;               /* environ 70 caractères par ligne */
  --espace-section: 3rem;
}

@media (min-width: 48em) {
  :root {
    --gouttiere: 2rem;
    --espace-section: 5.5rem;
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

@media (min-width: 48em) {
  body {
    font-size: 1.1875rem;
  }
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: inherit;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

@media (min-width: 48em) {
  h1 {
    font-size: 3rem;
    line-height: 1.1;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}

p {
  max-width: var(--mesure);
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25em;
}

li {
  max-width: var(--mesure);
}

li + li {
  margin-top: 0.375rem;
}

strong {
  font-weight: 600;
}

a {
  color: var(--jaune-texte);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 3px;
}

/* Focus clavier : contour foncé de 3 px et halo jaune extérieur de 3 px,
   visible sur fond clair comme sur fond graphite. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  box-shadow: 0 0 0 6px var(--jaune);
}

main:focus,
main:focus-visible {
  outline: none;
  box-shadow: none;
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--jaune);
  color: var(--texte-bouton);
  font-weight: 600;
}

.skip-link:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  margin-inline: auto;
}

/* Bouton principal (jaune) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.625rem 1.375rem;
  border: 0;
  border-radius: 4px;
  background: var(--jaune);
  color: var(--texte-bouton);
  font: inherit;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--jaune-survol);
  color: var(--texte-bouton);
}

/* --------------------------------------------------------------------------
   En-tête (bandeau graphite)
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--graphite);
  color: var(--sur-graphite);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo outils"
    "slogan slogan";
  align-items: center;
  column-gap: 1rem;
  padding-block: 0.875rem;
}

.brand-link {
  grid-area: logo;
  justify-self: start;
  border-radius: 2px;
}

.brand-link img {
  width: auto;
  height: 32px;
}

.brand-tagline {
  grid-area: slogan;
  margin: 0.375rem 0 0;
  color: var(--sur-graphite-secondaire);
  font-size: 0.8125rem;
  line-height: 1.35;
}

/* Le slogan est masqué sous 400 px de large. */
@media (max-width: 24.99em) {
  .brand-tagline {
    display: none;
  }
}

.header-tools {
  grid-area: outils;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
}

.lang-switch a,
.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.25rem;
  border-radius: 2px;
}

.lang-switch a {
  color: var(--sur-graphite);
}

.lang-current {
  font-weight: 600;
}

.lang-sep {
  color: var(--sur-graphite-secondaire);
}

/* Bouton « Menu » : affiché seulement en mobile et si JavaScript est actif. */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--sur-graphite-secondaire);
  border-radius: 4px;
  background: transparent;
  color: var(--sur-graphite);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.menu-toggle::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(25%) rotate(-135deg);
}

.header-nav {
  border-top: 1px solid var(--trait-graphite);
}

.header-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 0.25rem 1.25rem;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  max-width: none;
  margin: 0;
}

.main-nav li + li {
  border-top: 1px solid var(--trait-graphite);
}

.main-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--sur-graphite);
  font-weight: 500;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}

@media (max-width: 63.99em) {
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .header-nav:not(.is-open) {
    display: none;
  }
  .header-cta {
    width: 100%;
  }
}

@media (min-width: 64em) {
  .header-top {
    grid-template-areas:
      "logo outils"
      "slogan outils";
    padding-block: 1rem 0.875rem;
  }
  .brand-link img {
    height: 40px;
  }
  .brand-tagline {
    font-size: 0.875rem;
  }
  .header-nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.625rem;
  }
  .main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
  }
  .main-nav li + li {
    border-top: 0;
  }
  .main-nav a {
    padding: 0.5rem 0;
  }
}

@media (min-width: 80em) {
  .main-nav ul {
    gap: 0 2rem;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--espace-section);
}

.section-alt {
  background: var(--fond-alt);
}

/* Repère jaune au-dessus des titres de section */
.section h2::before {
  content: "";
  display: block;
  width: 3rem;
  height: 0.3rem;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--jaune);
}

.guarantee h2::before {
  content: none;
}

/* Section sur fond graphite */
.section-dark {
  background: var(--graphite);
  color: var(--sur-graphite);
}

.section-dark .section-intro,
.section-dark .card p,
.section-dark .note {
  color: var(--sur-graphite-secondaire);
}

.section-dark .card {
  border-color: var(--trait-graphite);
  background: var(--graphite-clair);
}

.section-intro {
  margin-bottom: 2rem;
  color: var(--texte-secondaire);
  font-size: 1.125rem;
}

@media (min-width: 48em) {
  .section-intro {
    margin-bottom: 2.5rem;
    font-size: 1.3125rem;
  }
}

/* Listes sans puces (sémantique conservée par role="list" dans le HTML) */
.points,
.cards,
.checks,
.steps,
.tools-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.points > li,
.cards > li,
.steps > li,
.tools-list > li {
  max-width: none;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Accroche, avec le fond pixelisé
   La grille fixe est un fond CSS ; main.js n’anime que les pixels allumés,
   dessinés exactement sur cette grille (pas de 24 px, carrés de 6 px).
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 5.5rem;
  background-color: var(--fond);
  /* Carré --gris-points (#8a8d93) à très faible opacité */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect x='9' y='9' width='6' height='6' fill='%238a8d93' fill-opacity='.14'/%3E%3C/svg%3E");
  background-position: 0 0;
  background-size: 24px 24px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.hero h1 {
  max-width: 16em;
  margin-bottom: 1.25rem;
}

.lead {
  max-width: 31em;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.hero-actions p {
  margin: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-weight: 500;
}

/* Petit carré jaune avec une coche */
.hero-points li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 3px;
  background: var(--jaune) var(--coche) center / 75% no-repeat;
}

.hero-pause {
  position: absolute;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.pixels-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--bordure);
  border-radius: 4px;
  background: var(--fond);
  color: var(--texte-secondaire);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  pointer-events: auto;
}

.pixels-toggle:hover {
  color: var(--texte);
  border-color: var(--texte-secondaire);
}

/* Icône pause (deux barres) ou lecture (triangle) */
.pixels-toggle::before {
  content: "";
  width: 0.625em;
  height: 0.75em;
  border-left: 0.2em solid currentColor;
  border-right: 0.2em solid currentColor;
}

.pixels-toggle.is-paused::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.375em 0 0.375em 0.625em;
  border-color: transparent transparent transparent currentColor;
}

@media (min-width: 48em) {
  .hero {
    padding-block: 5.5rem 6.5rem;
  }
  .lead {
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Bande « Fonctionne avec vos outils »
   -------------------------------------------------------------------------- */

.tools {
  border-top: 1px solid var(--bordure);
  padding-block: 1.75rem;
}

.tools-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tools-title {
  margin: 0;
  color: var(--texte-secondaire);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
}

.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 500;
}

.tool-outlook img {
  width: 36px;
  height: 36px;
}

.tool-gmail img {
  width: 39px;
  height: 39px;
}

.tools-more {
  color: var(--texte-secondaire);
}

@media (min-width: 64em) {
  .tools-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Le problème, Pourquoi me faire confiance
   -------------------------------------------------------------------------- */

.points {
  display: grid;
  gap: 2rem;
}

.points > li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--texte);
}

.points p {
  margin: 0;
}

/* Réassurance : coche jaune devant chaque titre */
.points-check h3 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.points-check h3::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 3px;
  background: var(--jaune) var(--coche) center / 75% no-repeat;
}

.points-check p {
  padding-left: 1.875rem;
}

@media (min-width: 48em) {
  .points-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

@media (min-width: 64em) {
  .points-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   Solutions
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--bordure);
  border-radius: 6px;
  background: var(--fond);
}

.card h3 {
  margin-bottom: 0.75rem;
}

/* Icône et titre de carte côte à côte */
.card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.card-head h3 {
  margin: 0;
}

.card-icon {
  display: block;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon .accent {
  fill: var(--jaune);
  stroke: none;
}

.card-icon .dot {
  fill: currentColor;
  stroke: none;
}

.card p {
  margin: 0;
}

.card p + p {
  margin-top: 0.75rem;
}

.note {
  margin: 0;
  font-weight: 500;
}

@media (min-width: 48em) {
  .card {
    padding: 2rem;
  }
  .cards-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 64em) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Exemple concret : fenêtre de messagerie générique
   -------------------------------------------------------------------------- */

.demo {
  margin: 0 0 2rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  background: var(--graphite);
  color: var(--sur-graphite);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mail-window {
  overflow: hidden;
  border: 1px solid var(--bordure);
  border-radius: 8px;
  background: var(--surface);
}

.mail-bar {
  padding: 0.625rem 1.25rem;
  border-bottom: 1px solid var(--bordure);
  background: var(--fond);
  color: var(--texte-secondaire);
  font-size: 0.875rem;
  font-weight: 500;
}

.mail-panels {
  display: grid;
}

.mail-panel {
  padding: 1.25rem;
  font-size: 1rem;
}

.mail-panel + .mail-panel {
  border-top: 1px solid var(--bordure);
}

.mail-received {
  background: var(--fond);
}

.mail-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.mail-panel-title {
  margin: 0 0 1rem;
  color: var(--texte-secondaire);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mail-panel-head .mail-panel-title {
  margin: 0;
}

.mail-status {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--texte-secondaire);
  border-radius: 3px;
  color: var(--texte);
  font-size: 0.8125rem;
  font-weight: 500;
}

.mail-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--fond-alt);
  font-size: 0.9375rem;
}

.mail-meta div {
  display: contents;
}

.mail-meta dt {
  color: var(--texte-secondaire);
}

.mail-meta dd {
  margin: 0;
  font-weight: 500;
}

.mail-body p {
  margin: 0 0 0.875rem;
}

.mail-body ul {
  margin: 0 0 0.875rem;
  padding-left: 1.25em;
}

.mail-body li + li {
  margin-top: 0.125rem;
}

/* Informations reprises de la base et de l’agenda : surlignées en jaune */
mark {
  position: relative;
  z-index: 0;
  padding: 0.05em 0.15em;
  background: none;
  color: var(--texte-bouton);
  white-space: nowrap;
}

/* Trait de surligneur sur la moitié basse du texte */
mark::before {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  z-index: -1;
  border-radius: 2px;
  background: var(--jaune);
  transform-origin: left center;
}

/* Animation du surligneur (main.js ajoute .anim puis .is-visible) */
@media (prefers-reduced-motion: no-preference) {
  .demo.anim .mail-body mark::before {
    transform: scaleX(0);
    transition: transform 0.45s ease-out var(--d, 0s);
  }
  .demo.anim.is-visible .mail-body mark::before {
    transform: none;
  }
}

.mail-signature {
  color: var(--texte-secondaire);
  font-style: italic;
}

.mail-validation {
  max-width: none;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--fond-alt);
  color: var(--texte-secondaire);
  font-size: 0.9375rem;
  font-weight: 500;
}

.demo-legend {
  margin: 0.875rem 0 0;
  color: var(--texte-secondaire);
  font-size: 0.9375rem;
}

@media (min-width: 48em) {
  .mail-panel {
    padding: 1.75rem 2rem;
  }
}

@media (min-width: 60em) {
  .mail-panels {
    grid-template-columns: 2fr 3fr;
  }
  .mail-panel + .mail-panel {
    border-top: 0;
    border-left: 1px solid var(--bordure);
  }
}

/* Trois garanties sous l’exemple */
.checks {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.checks > li {
  position: relative;
  margin: 0;
  padding-left: 2rem;
}

.checks > li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0.3rem;
  width: 0.4em;
  height: 0.75em;
  border: solid var(--texte);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Rappel des logos après le visuel */
.tools-reminder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bordure);
}

.tools-reminder .tool img {
  width: 28px;
  height: 28px;
}

.tools-reminder .tool-gmail img {
  width: 30px;
  height: 30px;
}

.tools-reminder p {
  margin: 0;
  color: var(--texte-secondaire);
}

/* --------------------------------------------------------------------------
   Méthode : étapes reliées comme les points du logo, la dernière en jaune
   -------------------------------------------------------------------------- */

.steps {
  counter-reset: etape;
}

.steps > li {
  position: relative;
  min-height: 2.5rem;
  padding: 0.3rem 0 2.25rem 4rem;
  counter-increment: etape;
}

.steps > li::before {
  content: counter(etape);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gris-points);
  color: var(--texte-bouton);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}

/* Trait vertical qui relie les points */
.steps > li::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  bottom: 0;
  left: calc(1.25rem - 2px);
  width: 4px;
  background: var(--gris-points);
}

.steps > li:last-child {
  padding-bottom: 0;
}

.steps > li:last-child::after {
  display: none;
}

/* Dernière étape : point jaune, un peu plus grand, comme dans le logo */
.steps > li:last-child::before {
  top: -0.25rem;
  left: -0.25rem;
  width: 3rem;
  height: 3rem;
  background: var(--jaune);
}

.steps h3 {
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--texte-secondaire);
}

@media (min-width: 48em) {
  .steps > li {
    padding: 0.2rem 0 2.5rem 4.5rem;
  }
  .steps > li::before {
    width: 2.75rem;
    height: 2.75rem;
  }
  .steps > li::after {
    top: 2.75rem;
    left: calc(1.375rem - 2px);
  }
  .steps > li:last-child::before {
    top: -0.3rem;
    left: -0.3rem;
    width: 3.35rem;
    height: 3.35rem;
  }
}

/* --------------------------------------------------------------------------
   Garantie
   -------------------------------------------------------------------------- */

.guarantee {
  padding: 1.75rem 1.25rem 1.75rem 1.5rem;
  border-left: 8px solid var(--jaune);
  background: var(--fond-alt);
}

.figures {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.figures li {
  max-width: 18em;
  margin: 0;
}

.figure {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.guarantee-label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.guarantee-note {
  margin: 0;
  color: var(--texte-secondaire);
}

@media (min-width: 48em) {
  .guarantee {
    padding: 2.75rem 3rem;
  }
  .figures {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .figure {
    font-size: 3rem;
  }
}

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */

.about-text p {
  font-size: 1.125rem;
}

@media (min-width: 48em) {
  .about-text p {
    font-size: 1.3125rem;
  }
}

/* --------------------------------------------------------------------------
   Questions fréquentes (accordéon <details>, style NHS)
   -------------------------------------------------------------------------- */

.faq {
  max-width: 46rem;
  border-top: 1px solid var(--bordure);
}

.faq details {
  border-bottom: 1px solid var(--bordure);
}

.faq summary {
  position: relative;
  display: block;
  padding: 1.125rem 0 1.125rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Triangle d’ouverture */
.faq summary::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 0.25rem;
  border-style: solid;
  border-width: 0.4rem 0 0.4rem 0.7rem;
  border-color: transparent transparent transparent currentColor;
}

.faq details[open] > summary::before {
  top: 1.55rem;
  border-width: 0.7rem 0.4rem 0 0.4rem;
  border-color: currentColor transparent transparent transparent;
}

.faq summary:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.faq-answer {
  margin: 0 0 1.25rem 0.5rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--bordure);
}

.faq-answer p {
  margin: 0;
}

@media (min-width: 48em) {
  .faq summary {
    font-size: 1.25rem;
  }
  .faq summary::before {
    top: 1.55rem;
  }
  .faq details[open] > summary::before {
    top: 1.65rem;
  }
}

/* --------------------------------------------------------------------------
   Contact et pied de page (fond graphite)
   -------------------------------------------------------------------------- */

.contact {
  background: var(--graphite);
  color: var(--sur-graphite);
}

.contact-lead {
  color: var(--sur-graphite);
  font-size: 1.125rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.contact-actions p {
  margin: 0;
  color: var(--sur-graphite-secondaire);
}

.contact a:not(.button),
.site-footer a {
  color: var(--lien-sur-graphite);
}

@media (min-width: 48em) {
  .contact-lead {
    font-size: 1.3125rem;
  }
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--trait-graphite);
  background: var(--graphite);
  color: var(--sur-graphite-secondaire);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-logo {
  width: auto;
  height: 32px;
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0 0 0.25rem;
}

.footer-name {
  color: var(--sur-graphite);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0;
}

@media (min-width: 48em) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .footer-meta {
    text-align: right;
  }
  .footer-links {
    justify-content: flex-end;
  }
}

/* --------------------------------------------------------------------------
   Pages légales (brouillons dans brouillons/pages-legales/, hors du site publié)
   -------------------------------------------------------------------------- */

.legal {
  padding-block: 3rem var(--espace-section);
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
}

@media (min-width: 48em) {
  .legal h2 {
    font-size: 1.75rem;
  }
}

.legal-list {
  max-width: 46rem;
  margin: 0;
}

.legal-list div {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bordure);
}

.legal-list dt {
  color: var(--texte-secondaire);
  font-size: 0.9375rem;
}

.legal-list dd {
  margin: 0;
}

@media (min-width: 48em) {
  .legal-list div {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.5rem;
  }
  .legal-list dt {
    font-size: inherit;
  }
}

/* Repère visible pour une information à compléter */
.todo {
  padding: 0 0.3em;
  border: 1px dashed var(--jaune-texte);
  border-radius: 3px;
  color: var(--jaune-texte);
  font-weight: 600;
}

.back-link {
  margin-top: 2.5rem;
}

/* --------------------------------------------------------------------------
   Téléphone : blocs plus serrés, chiffres à côté de leur texte
   -------------------------------------------------------------------------- */

@media (max-width: 47.99em) {
  .section-intro {
    margin-bottom: 1.5rem;
  }
  .points {
    gap: 1.5rem;
  }
  .points > li {
    padding-top: 1rem;
  }
  .points-check {
    gap: 1.25rem;
  }
  .points-check > li {
    padding-top: 0;
    border-top: 0;
  }
  .cards {
    gap: 1rem;
  }
  .card {
    padding: 1.25rem;
  }
  .mail-panel {
    padding: 1.125rem 1rem;
  }
  .figures {
    gap: 1rem;
  }
  .figures li {
    display: grid;
    grid-template-columns: 6rem 1fr;
    align-items: baseline;
    gap: 0.75rem;
  }
  .figure {
    margin: 0;
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   Téléphone : cartes qui défilent à l’horizontale (flèches ajoutées par main.js)
   Sans JavaScript, les cartes restent les unes sous les autres.
   -------------------------------------------------------------------------- */

.defile-nav {
  display: none;
}

@media (max-width: 47.99em) {
  .js .defile {
    display: flex;
    gap: 0.75rem;
    margin: 0 calc(-1 * var(--gouttiere));
    padding: 0.375rem var(--gouttiere);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gouttiere);
    scrollbar-width: none;
  }
  .js .defile::-webkit-scrollbar {
    display: none;
  }
  /* La carte suivante dépasse un peu : on devine qu’on peut faire glisser */
  .js .defile > li {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .js .defile.points > li {
    padding: 1.25rem;
    border: 1px solid var(--bordure);
    border-radius: 6px;
    background: var(--fond);
  }
  /* Focus du bandeau dessiné à l’intérieur (il touche les bords de l’écran) */
  .js .defile:focus-visible {
    outline-offset: -3px;
    box-shadow: inset 0 0 0 6px var(--jaune);
  }
  .js .defile-nav {
    display: flex;
    justify-content: space-between;
    margin: 0.75rem 0 1.5rem;
  }
  .defile-nav button {
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: var(--jaune) var(--fleche) center / 40% no-repeat;
    cursor: pointer;
  }
  .defile-nav button:first-child {
    transform: scaleX(-1);
  }
  .defile-nav button:disabled {
    opacity: 0.35;
    cursor: default;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .defile {
    scroll-behavior: smooth;
  }
}

/* --------------------------------------------------------------------------
   Impression
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .contact,
  .site-footer {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .hero-canvas,
  .hero-pause,
  .menu-toggle,
  .skip-link {
    display: none !important;
  }
  .js .header-nav:not(.is-open) {
    display: block;
  }
  .faq details > .faq-answer {
    display: block;
  }
}
