/* Polices hébergées sur le site (aucun appel à Google) */
@font-face { font-family: "Titan One"; src: url("/fonts/titan-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 600 800; font-stretch: 90% 100%; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Valentin Le Stunff · feuille de style du site
   Crème partout. Deux moments en couleur : le bloc jaune (la parole des commerçants)
   et le bloc violet (l'appel). Tout le reste reste calme.
   Espacements sur une grille de 4 px, trois arrondis, une seule courbe d'animation. */
:root {
  /* Charte */
  --creme: #FAF6EF;
  --anthra: #2C2C2A;
  --orange: #D85A30;
  --orange-fonce: #C24E27;
  --violet: #534AB7;
  --jaune: #FAC775;
  --nuit: #16133C;
  --blanc: #FFFFFF;

  /* Thème clair */
  --fond: #FAF6EF;
  --texte: #2C2C2A;
  --doux: #5A5753;
  --ligne: rgba(44, 44, 42, 0.16);
  --surface: #FFFDF9;
  --accent-texte: #534AB7;
  --focus: #16133C;
  --logo-texte: #2C2C2A;
  --champ-bord: #8C877F;

  /* Dégradés de marque (clair en haut à gauche, foncé en bas à droite).
     Le départ du violet est assez foncé pour que le texte crème et le titre jaune restent lisibles. */
  --g-violet: linear-gradient(135deg, #655CC4 0%, #4C43AE 50%, #322B85 100%);
  --g-jaune: linear-gradient(135deg, #FDDDA3 0%, #FAC775 50%, #E6B262 100%);

  /* Typo */
  --f-display: "Titan One", "Arial Black", Impact, sans-serif;
  --f-texte: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-titre: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --titre-axes: "wdth" 90, "opsz" 96;
  --titre-espace: -0.015em;
  --label-axes: "wdth" 100, "opsz" 24;

  /* Arrondis : grands blocs, cartes et photos, pilule */
  --r-bloc: 32px;
  --r-carte: 24px;
  --r-pilule: 999px;
  --r-champ: 12px;

  /* Espace entre deux sections */
  --s-section: 72px;

  /* Mouvement */
  --duree: 160ms;
  --courbe: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #232321; --texte: #FAF6EF; --doux: #B9B4AB; --ligne: rgba(250, 246, 239, 0.16);
    --surface: #2C2C2A; --accent-texte: #A49DEB; --focus: #FAC775; --logo-texte: #FAF6EF; --champ-bord: #7A766F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #232321; --texte: #FAF6EF; --doux: #B9B4AB; --ligne: rgba(250, 246, 239, 0.16);
  --surface: #2C2C2A; --accent-texte: #A49DEB; --focus: #FAC775; --logo-texte: #FAF6EF; --champ-bord: #7A766F;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 4px; }

.page { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
main > * + * { margin-top: var(--s-section); }

.titre {
  font-family: var(--f-titre);
  font-variation-settings: var(--titre-axes);
  font-weight: 800;
  letter-spacing: var(--titre-espace);
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
.pastille {
  display: inline-block;
  font-family: var(--f-titre);
  font-variation-settings: var(--label-axes);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 14px 7px;
  border-radius: var(--r-pilule);
  background: var(--violet);
  color: var(--creme);
}
.lien {
  color: var(--accent-texte);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness var(--duree) var(--courbe);
}
.lien:hover { text-decoration-thickness: 3px; }

/* Bouton */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-pilule);
  background: var(--orange);
  color: var(--nuit);
  font-family: var(--f-titre);
  font-variation-settings: var(--label-axes);
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color var(--duree) var(--courbe);
}
.btn:hover { background: var(--orange-fonce); }
.action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.action small { font-size: 0.9375rem; color: var(--doux); }

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.logo { width: 132px; height: auto; }
.logo path[style*="#2c2c2a"] { fill: var(--logo-texte) !important; }
.logo .logo-cm { display: none; }
.nav { display: flex; gap: 16px; font-weight: 500; font-size: 0.9375rem; }
.nav a { text-decoration: none; text-underline-offset: 6px; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Haut de page */
.hero { display: grid; gap: 28px; padding-top: 28px; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.hero .intro { max-width: 34rem; margin: 0; font-size: 1.125rem; }
.hero .texte { display: grid; gap: 24px; min-width: 0; }
.avatar {
  float: left;
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  margin: 4px 12px 4px 0;
  shape-outside: circle(50%);
}
.portrait { display: none; }

/* Sections */
.section-titre { font-size: clamp(2.4rem, 8vw, 4.25rem); margin-bottom: 32px; }

/* Blocs en couleur */
.bloc { border-radius: var(--r-bloc); padding: 40px 24px; }
.bloc-jaune { background: var(--g-jaune); color: var(--anthra); }
.bloc-violet { background: var(--g-violet); color: var(--creme); }

/* Bulles de message : la signature du site, réservée à la parole des commerçants */
.bulles { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bulle {
  position: relative;
  justify-self: start;
  max-width: 30rem;
  background: var(--creme);
  color: var(--anthra);
  border-radius: var(--r-carte);
  padding: 12px 20px;
  font-size: 1.125rem;
  font-weight: 500;
}
.bulle::after {
  content: "";
  position: absolute;
  left: 20px; bottom: -10px;
  width: 16px; height: 12px;
  background: var(--creme);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Ça te parle */
.parle { display: grid; grid-template-areas: "titre" "bulles" "suite"; }
.parle .section-titre { grid-area: titre; }
.parle .bulles { grid-area: bulles; margin-bottom: 32px; }
.parle .bulle:nth-child(2) { margin-left: 12%; }
.parle .suite { grid-area: suite; margin: 0; font-size: 1.125rem; max-width: 32rem; }

/* Offres (accueil) */
.offres { border-top: 1px solid var(--ligne); }
.offre { display: grid; gap: 12px; padding-block: 28px; border-bottom: 1px solid var(--ligne); }
.offre .pastille { justify-self: start; }
.offre .corps { display: grid; gap: 8px; }
.offre h3 { font-size: clamp(1.75rem, 5vw, 2.4rem); }
.offre p { margin: 0; max-width: 38rem; }
.apres-offres { margin: 24px 0 0; }

/* Contenus : cartes sobres, la grande carte en premier */
.contenus { display: grid; gap: 16px; }
.contenu {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--r-carte);
  padding: 24px 20px;
}
.contenu .corps { display: grid; gap: 8px; align-content: start; min-width: 0; }
.contenu .pastille { justify-self: start; margin-bottom: 4px; }
.contenu h3 { font-size: 1.75rem; }
.contenu .corps p { margin: 0; max-width: 34rem; }
.preuve { order: 2; align-self: end; display: grid; gap: 4px; min-width: 0; }
.preuve .gros {
  font-family: var(--f-titre);
  font-variation-settings: var(--titre-axes);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: var(--titre-espace);
  color: var(--accent-texte);
  font-variant-numeric: tabular-nums;
}
.preuve > span { color: var(--doux); font-size: 1rem; max-width: 20rem; }
.contenu > .lien { order: 3; justify-self: start; }

/* Avant / après : deux citations posées sur un filet, sans carte dans la carte */
.avant-apres { gap: 16px; align-self: start; }
.avant-apres p {
  margin: 0;
  display: grid; gap: 8px; justify-items: start; align-content: start;
  padding-top: 16px;
  border-top: 1px solid var(--ligne);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.45;
}
.avant-apres p:first-child { color: var(--doux); font-weight: 400; }
.avant-apres .pastille { font-size: 0.75rem; }
.date-chiffres { font-size: 0.875rem; color: var(--doux); margin: 16px 0 0; }

/* C'est qui */
.qui { display: grid; gap: 40px; }
.collage { position: relative; padding-bottom: 48px; max-width: 520px; }
.collage .grande { width: 86%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-carte); }
.collage .petite {
  position: absolute; right: 8px; bottom: 0;
  width: 42%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-carte);
  border: 8px solid var(--fond);
  transform: rotate(4deg);
}
.qui .texte { display: grid; gap: 20px; align-content: center; min-width: 0; }
.qui .texte .section-titre { margin-bottom: 0; }
.qui .texte p { margin: 0; max-width: 34rem; }

/* On s'appelle */
.bloc-violet .section-titre { color: var(--jaune); margin-bottom: 16px; }
.appel-suite p { margin: 0 0 28px; max-width: 34rem; font-size: 1.125rem; }

/* Pied de page */
.pied { margin-top: var(--s-section); border-top: 1px solid var(--ligne); padding-block: 40px 24px; font-size: 0.9375rem; display: grid; gap: 24px; }
.pied .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.pied h4 { margin: 0 0 8px; font-family: var(--f-titre); font-variation-settings: var(--label-axes); font-weight: 700; font-size: 1rem; }
.pied p, .pied ul { margin: 0; padding: 0; list-style: none; }
.pied .mail { user-select: all; }
.pied .bas { color: var(--doux); font-size: 0.875rem; display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ===== Page Offres ===== */
.hero-offres .hesite { margin: 0; }
.choix { padding: 32px 20px; }
.choix li { display: grid; }
.choix li:nth-child(2) .bulle { margin-left: 8%; }
.bulle-lien {
  display: grid; gap: 8px; justify-items: start;
  text-decoration: none; color: var(--anthra);
  transition: background-color var(--duree) var(--courbe);
}
.bulle-lien::after { transition: background-color var(--duree) var(--courbe); }
.bulle-lien .pastille { font-size: 0.75rem; }
.bulle-lien:hover, .bulle-lien:hover::after { background: var(--blanc); }
.offre-bloc { display: grid; gap: 16px; padding-block: 40px; border-top: 1px solid var(--ligne); scroll-margin-top: 16px; }
.offre-bloc:last-child { border-bottom: 1px solid var(--ligne); }
.offre-tete { display: grid; gap: 12px; align-content: start; }
.offre-tete .pastille { justify-self: start; }
.offre-tete h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.offre-infos { display: grid; gap: 24px; min-width: 0; }
.offre-infos dl { margin: 0; display: grid; }
.offre-infos dl > div { display: grid; gap: 4px; padding-block: 16px; border-bottom: 1px solid var(--ligne); }
.offre-infos dl > div:first-child { padding-top: 0; }
.offre-infos dt { font-family: var(--f-titre); font-variation-settings: var(--label-axes); font-weight: 700; font-size: 1rem; }
.offre-infos dd { margin: 0; max-width: 38rem; }
.offre-infos .lien { justify-self: start; }
.tarifs .section-titre { margin-bottom: 16px; }
.tarifs p { margin: 0; font-size: 1.375rem; max-width: 34rem; }

/* FAQ en bulles jaunes */
.faq { display: grid; gap: 32px; }
.faq-item { display: grid; gap: 12px; align-content: start; }
.bulle-q { margin: 0; background: var(--jaune); font-family: var(--f-texte); font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.bulle-q::after { background: var(--jaune); }
.faq-item p { margin: 0 0 0 20px; max-width: 38rem; }

/* ===== Pages Community management et Audit ===== */
.fil { font-size: 0.9375rem; color: var(--doux); }
.fil a { color: inherit; text-underline-offset: 4px; }
.hero-cm h1 { font-size: clamp(2.3rem, 9.5vw, 4.6rem); }
.changes { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ligne); }
.changes li { padding-block: 16px; border-bottom: 1px solid var(--ligne); font-weight: 500; font-size: clamp(1.2rem, 3.6vw, 1.45rem); line-height: 1.4; text-wrap: pretty; }

/* Étapes numérotées, reliées par un filet centré sous chaque numéro */
.etapes { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; }
.etapes li {
  counter-increment: etape;
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 32px;
}
.etapes li::before {
  content: counter(etape);
  grid-row: span 2;
  text-align: center;
  font-family: var(--f-titre);
  font-variation-settings: var(--titre-axes);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-texte);
}
.etapes li::after { content: ""; position: absolute; left: 19px; top: 48px; bottom: 8px; width: 2px; background: var(--ligne); }
.etapes li:last-child { padding-bottom: 0; }
.etapes li:last-child::after { display: none; }
.etapes h3 { grid-column: 2; font-size: clamp(1.35rem, 4vw, 1.8rem); margin: 4px 0 8px; }
.etapes p { grid-column: 2; margin: 0; max-width: 40rem; }
.regarde { max-width: 56rem; }
.notion { margin: 40px 0 0; padding: 20px 24px; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-carte); max-width: 44rem; }

/* ===== Ordinateur ===== */
@media (min-width: 900px) {
  :root { --s-section: 104px; }
  .page { padding-inline: 40px; }
  .logo { width: 172px; }
  .logo .logo-cm { display: inline; }
  .nav { gap: 32px; font-size: 1rem; }

  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); align-items: center; gap: 56px; padding-top: 40px; }
  .avatar { display: none; }
  .portrait { display: block; position: relative; margin: 0; }
  .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-bloc); transform: rotate(-2deg); }
  .portrait a {
    position: absolute; left: -16px; bottom: 32px;
    background: var(--creme); color: var(--anthra);
    font-weight: 600; font-size: 0.9375rem; text-decoration: none;
    padding: 8px 16px; border-radius: var(--r-pilule);
    transform: rotate(3deg);
    box-shadow: 0 2px 0 var(--ligne);
  }

  .bloc { padding: 64px; }
  .bulle { font-size: 1.25rem; }
  .parle { grid-template-areas: "titre bulles" "suite bulles"; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: center; }
  .parle .section-titre { align-self: end; }
  .parle .suite { align-self: start; }
  .parle .bulles { margin: 0; }
  .parle .bulle:nth-child(2) { margin-left: 18%; }
  .parle .bulle:nth-child(3) { margin-left: 6%; }

  .offre { grid-template-columns: 240px minmax(0, 1fr); column-gap: 40px; align-items: start; padding-block: 32px; }
  .offre .pastille { margin-top: 8px; }

  .contenus { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contenu { padding: 32px; }
  .preuve > span { min-height: 3.1em; } /* les gros chiffres s'alignent d'une carte à l'autre */
  .contenu-large {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 24px;
  }
  .contenu-large .corps { grid-column: 1; grid-row: 1; }
  .contenu-large > .lien { grid-column: 1; grid-row: 2; align-self: end; }
  .contenu-large .avant-apres { grid-column: 2; grid-row: 1 / span 2; align-self: center; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .contenu-large .avant-apres p { font-size: 1.25rem; }
  .contenu-large h3 { font-size: 2.1rem; }

  .qui { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }

  .bloc-violet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .bloc-violet .section-titre { margin: 0; }

  .hero-offres { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .choix { padding: 48px 40px; }
  .offre-bloc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; padding-block: 56px; }
  .offre-infos dl > div { grid-template-columns: 192px minmax(0, 1fr); column-gap: 24px; }
  .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .faq.faq-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }

  .changes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .changes li { padding-block: 24px; }
  .etapes { max-width: 52rem; }
  .etapes li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; }
  .etapes li::after { left: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Étiquettes discrètes : seuls les noms des trois offres gardent la pilule */
.contenu .pastille,
.avant-apres .pastille {
  background: none; color: var(--doux);
  padding: 0; border-radius: 0;
  font-family: var(--f-texte); font-variation-settings: normal;
  font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.bulle-lien .pastille {
  background: none; color: var(--violet);
  padding: 0; border-radius: 0;
  font-family: var(--f-texte); font-variation-settings: normal;
  font-weight: 600; font-size: 1rem;
  letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.bulle-lien .pastille::after { content: " →"; }

/* ===== Page À propos ===== */
.recit { display: grid; gap: 16px; max-width: 40rem; }
.recit p { margin: 0; font-size: 1.125rem; }
.recit .certif { margin-top: 8px; font-size: 0.9375rem; font-weight: 600; color: var(--doux); }
.principes { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ligne); }
.principes li { padding-block: 20px; border-bottom: 1px solid var(--ligne); text-wrap: pretty; }
.principes strong { display: block; margin-bottom: 4px; font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.hero-apropos .portrait { display: block; margin: 0; max-width: 320px; }
.hero-apropos .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-carte); transform: rotate(-2deg); }
@media (min-width: 900px) {
  .principes { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
  .principes li { padding-block: 24px; }
  .hero-apropos .portrait { max-width: none; }
  .hero-apropos .portrait img { border-radius: var(--r-bloc); }
}

/* ===== Pages Contact et Merci ===== */
.titre-page {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 9.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.contact { display: grid; gap: 40px; padding-top: 28px; }
.contact-intro { display: grid; gap: 16px; align-content: start; }
.contact-intro .intro, .merci .intro { margin: 0; font-size: 1.125rem; max-width: 34rem; }
.formulaire {
  display: grid; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  border-radius: var(--r-carte);
  padding: 24px 20px;
}
.champ { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.champ > label, .champ legend { font-weight: 600; padding: 0; }
.champ label span, .champ legend span { font-weight: 400; font-size: 0.9375rem; color: var(--doux); margin-left: 4px; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  color: var(--texte);
  background: var(--fond);
  border: 1px solid var(--champ-bord);
  border-radius: var(--r-champ);
  transition: border-color var(--duree) var(--courbe);
}
.formulaire textarea { min-height: 120px; resize: vertical; }
.formulaire ::placeholder { color: var(--doux); opacity: 1; }
.formulaire input:hover, .formulaire textarea:hover { border-color: var(--texte); }
.cases legend { margin-bottom: 8px; }
.insecable { white-space: nowrap; }
.cases label { font-weight: 400; display: flex; align-items: center; gap: 12px; min-height: 36px; cursor: pointer; }
.cases input { width: 20px; height: 20px; margin: 0; accent-color: var(--violet); }
.formulaire .btn { justify-self: start; border: 0; cursor: pointer; margin-top: 4px; }
.rgpd { margin: 0; font-size: 0.875rem; color: var(--doux); }
.rgpd a { color: inherit; text-underline-offset: 4px; }
.merci { display: grid; gap: 16px; padding-top: 40px; max-width: 44rem; }
.merci .action { margin-top: 16px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 40px; align-items: start; }
  .contact-intro { position: sticky; top: 32px; }
  .formulaire { padding: 32px; }
  .merci { padding-top: 64px; }
}

/* ===== Pages légales ===== */
.legal { display: grid; gap: 48px; padding-top: 40px; max-width: 44rem; }
.legal .titre-page { font-size: clamp(2.3rem, 8vw, 3.75rem); }
.legal .maj { margin: -32px 0 0; font-size: 0.9375rem; color: var(--doux); }
.legal section { display: grid; gap: 16px; }
.legal h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); }
.legal p, .legal ul { margin: 0; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal dl { margin: 0; display: grid; border-top: 1px solid var(--ligne); }
.legal dl > div { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--ligne); }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.a-completer { padding: 2px 8px; border-radius: var(--r-pilule); background: var(--jaune); color: var(--anthra); font-size: 0.875rem; font-weight: 600; }
@media (min-width: 900px) {
  .legal { padding-top: 64px; }
  .legal dl > div { grid-template-columns: 224px minmax(0, 1fr); column-gap: 24px; }
}

/* ===== Page 404 ===== */
.erreur .code { margin: 0; font-weight: 600; color: var(--doux); }

/* Lien d'évitement : invisible tant qu'on ne navigue pas au clavier */
.aller-contenu {
  position: absolute; left: 16px; top: -64px; z-index: 20;
  padding: 12px 20px; border-radius: var(--r-pilule);
  background: var(--nuit); color: var(--creme);
  font-weight: 600; text-decoration: none;
}
.aller-contenu:focus { top: 16px; }

/* Bouton d'appel dans le menu : sur ordinateur seulement */
.nav { align-items: center; }
.nav-appel { display: none; }
@media (min-width: 900px) {
  .nav .nav-appel { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 1rem; text-decoration: none; }
  .nav .nav-appel:hover { text-decoration: none; }
}

/* Haut de page : lien secondaire vers les offres */
.hero .action small { flex-basis: 100%; }

/* Bulles de « Ça te parle ? » : elles arrivent comme des messages reçus (seule animation visible du site) */
.js-bulles .parle .bulle {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: left bottom;
  transition: opacity 240ms var(--courbe), transform 240ms var(--courbe);
}
.js-bulles .parle .bulles.arrivees .bulle { opacity: 1; transform: none; }
.js-bulles .parle .bulles.arrivees .bulle:nth-child(2) { transition-delay: 450ms; }
.js-bulles .parle .bulles.arrivees .bulle:nth-child(3) { transition-delay: 900ms; }
@media (prefers-reduced-motion: reduce) {
  .js-bulles .parle .bulle { opacity: 1; transform: none; }
}
