@import url("fonts.css");

/* =========================================================
   CAP'ENFANCES — Feuille de style principale
   Palette extraite du logo officiel.
   ========================================================= */

:root {
  /* --- Couleurs de marque --- */
  --vert-900: #1c2a1a;
  --vert-800: #2b3f28;
  --vert-700: #3a5235;
  --vert-600: #4e6a46;
  --sauge-600: #5f6d4c;
  --sauge-500: #758360;
  --sauge-400: #909c7c;
  --sauge-200: #cfd7c2;
  --sauge-100: #e6ebdd;
  --terra-700: #9c4229;
  --terra-600: #b44e32;
  --terra-500: #d05d3e;
  --terra-200: #f0d2c6;
  --terra-50: #fcf2ed;
  /* Verts des aplats : plus doux que --vert-800/900, qui restent
     réservés au texte, aux bordures et aux petits éléments. */
  --vert-bandeau: #44583c;
  --vert-pied: #35462e;

  --sable-600: #c9a07c;
  --sable-500: #deb695;
  --sable-200: #f0ddc8;
  --sable-50: #faf3ea;

  /* --- Neutres --- */
  --creme: #fbf8f3;
  --creme-2: #f5f1e8;
  --blanc: #ffffff;
  --encre: #232a21;
  --encre-doux: #5b6455;
  --encre-clair: #808a7a;
  --trait: #e7e2d7;

  /* --- Typographie --- */
  --font-titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-texte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t-xs: 0.78rem;
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
  --t-xl: clamp(1.35rem, 1vw + 1.1rem, 1.75rem);
  --t-2xl: clamp(1.7rem, 2vw + 1.2rem, 2.4rem);
  --t-3xl: clamp(2.1rem, 3vw + 1.3rem, 3.2rem);
  --t-4xl: clamp(2.5rem, 4.2vw + 1.2rem, 4.2rem);

  /* --- Rythme --- */
  --wrap: 1180px;
  --wrap-etroit: 780px;
  --gap: clamp(1.5rem, 3vw, 2.75rem);
  --pad-section: clamp(4rem, 8vw, 7.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-full: 999px;

  /* --- Ombres --- */
  --ombre-xs: 0 1px 2px rgba(35, 42, 33, 0.06);
  --ombre-sm: 0 2px 10px rgba(35, 42, 33, 0.06);
  --ombre-md: 0 10px 30px -12px rgba(35, 42, 33, 0.18);
  --ombre-lg: 0 26px 60px -22px rgba(35, 42, 33, 0.28);

  --transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: var(--t-md);
  line-height: 1.68;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-titre);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--vert-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-4xl);
}
h2 {
  font-size: var(--t-3xl);
}
h3 {
  font-size: var(--t-xl);
}
h4 {
  font-size: var(--t-lg);
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--terra-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--terra-700);
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  font-weight: 600;
  color: var(--vert-800);
}

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

::selection {
  background: var(--sable-200);
  color: var(--vert-900);
}

/* Lien d'évitement (accessibilité clavier) */
.saut-contenu {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--vert-800);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
  text-decoration: none;
}

.saut-contenu:focus {
  left: 0;
  color: #fff;
}

/* =========================================================
   Utilitaires de mise en page
   ========================================================= */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap-etroit {
  width: min(100% - 2.5rem, var(--wrap-etroit));
  margin-inline: auto;
}

.section {
  padding-block: var(--pad-section);
  position: relative;
  /* "clip" et non "hidden" : empêche les décorations de déborder
     horizontalement sans casser les éléments en position sticky. */
  overflow-x: clip;
  overflow-y: visible;
}

.section--creme {
  background: var(--creme-2);
}

.section--sauge {
  background: var(--sauge-100);
}

.section--sable {
  background: var(--sable-50);
}

.section--vert {
  background: var(--vert-bandeau);
  color: #e9ece5;
}

.section--vert h2,
.section--vert h3 {
  color: #fff;
}

.section--serre {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.centre {
  text-align: center;
}

.mesure {
  max-width: 62ch;
}

.centre .mesure {
  margin-inline: auto;
}

/* En-tête de section — toujours centré, même au-dessus d'un
   titre aligné à gauche. */
.chapeau {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 1rem;
}

.chapeau::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terra-500);
  border-radius: 2px;
}

.section--vert .chapeau {
  color: var(--sable-500);
}

.section--vert .chapeau::before {
  background: var(--sable-500);
}

.intro-section {
  font-size: var(--t-lg);
  color: var(--encre-doux);
  max-width: 58ch;
}

.centre .intro-section {
  margin-inline: auto;
}

.section--vert .intro-section {
  color: #c6cfc0;
}

/* =========================================================
   Boutons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-texte);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.92rem 1.6rem;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.btn--primaire {
  background: var(--terra-500);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(208, 93, 62, 0.9);
}

.btn--primaire:hover {
  background: var(--terra-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(208, 93, 62, 0.85);
}

.btn--secondaire {
  background: transparent;
  border-color: var(--vert-800);
  color: var(--vert-800);
}

.btn--secondaire:hover {
  background: var(--vert-800);
  color: #fff;
  transform: translateY(-2px);
}

.btn--clair {
  background: #fff;
  color: var(--vert-800);
  border-color: #fff;
}

.btn--clair:hover {
  background: var(--sable-200);
  border-color: var(--sable-200);
  color: var(--vert-900);
  transform: translateY(-2px);
}

.btn--fantome {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--fantome:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--large {
  padding: 1.05rem 2rem;
  font-size: var(--t-base);
}

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.centre .groupe-btn {
  justify-content: center;
}

/* Lien fléché */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--t-sm);
  text-decoration: none;
  color: var(--terra-600);
}

.lien-fleche svg {
  transition: transform var(--transition);
}

.lien-fleche:hover svg {
  transform: translateX(4px);
}

/* =========================================================
   En-tête / navigation
   ========================================================= */

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--creme);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.entete.est-collee {
  border-bottom-color: var(--trait);
  box-shadow: var(--ombre-sm);
}

.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
  padding-block: 0.7rem;
}

.entete__logo {
  flex-shrink: 0;
  line-height: 0;
}

.entete__logo img {
  height: 62px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--vert-800);
  text-decoration: none;
  border-radius: var(--r-full);
  transition: var(--transition);
  white-space: nowrap;
}

/* Le bouton d'action n'apparaît dans le menu qu'en version mobile */
.nav > .btn {
  display: none;
}

.nav a:hover {
  background: var(--sauge-100);
  color: var(--vert-900);
}

.nav a[aria-current="page"] {
  color: var(--terra-600);
  font-weight: 600;
}

.entete__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--sauge-200);
  background: transparent;
  border-radius: var(--r-full);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.burger span {
  display: block;
  width: 19px;
  height: 1.8px;
  background: var(--vert-800);
  border-radius: 2px;
  transition: var(--transition);
}

.burger span + span {
  margin-top: 4.5px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.3px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.3px) rotate(-45deg);
}

/* Le menu passe au format burger dès que ses entrées ne tiennent plus
   sur une ligne avec le logo et le bouton de rendez-vous : il lui faut
   environ 950 px, plus les marges du conteneur. */
@media (max-width: 1024px) {
  .burger {
    display: grid;
  }

  .entete__actions .btn {
    display: none;
  }

  .nav {
    /* Ancré sous l'en-tête plutôt qu'à une distance fixe du haut :
       le menu reste bien placé même avec un bandeau au-dessus. */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--creme);
    border-bottom: 1px solid var(--trait);
    padding: 1rem 1.25rem 1.75rem;
    box-shadow: var(--ombre-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.est-ouverte {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.95rem 0.75rem;
    font-size: var(--t-md);
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--trait);
  }

  .nav > .btn {
    display: inline-flex;
    margin-top: 1rem;
    justify-content: center;
    padding: 1rem;
    border-bottom: 0;
  }

  .nav > .btn:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  .entete__logo img {
    height: 50px;
  }
}

/* =========================================================
   Bandeau de démonstration (à supprimer avant mise en ligne)
   ========================================================= */

.bandeau-demo {
  background: var(--vert-bandeau);
  color: #dfe5d8;
  font-size: var(--t-xs);
  text-align: center;
  padding: 0.6rem 1rem;
  position: relative;
  z-index: 110;
}

.bandeau-demo strong {
  color: var(--sable-500);
  font-weight: 600;
}

.bandeau-demo button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  margin-left: 0.6rem;
  opacity: 0.75;
}

.bandeau-demo button:hover {
  opacity: 1;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -12%;
  width: 46vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at 50% 50%,
    var(--sable-200) 0%,
    rgba(240, 221, 200, 0) 68%
  );
  pointer-events: none;
}

.hero__grille {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
}

.hero__identite {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero__pastille {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--sauge-100);
  border: 2px solid var(--blanc);
  box-shadow: var(--ombre-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__pastille img {
  width: 76%;
  height: auto;
}

.hero__identite-texte span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-clair);
  font-weight: 600;
}

.hero__identite-texte strong {
  display: block;
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--vert-800);
  font-family: var(--font-titre);
}

.hero h1 {
  margin-bottom: 1.5rem;
  /* Titre plus long que la version initiale : taille légèrement réduite. */
  font-size: clamp(2.2rem, 3.2vw + 1rem, 3.5rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--terra-500);
  /* Bloc à part : la partie colorée commence toujours sur sa propre ligne
     et s'équilibre indépendamment du début du titre. */
  display: block;
}

.hero__regle {
  width: 64px;
  height: 3px;
  background: var(--terra-500);
  border-radius: 3px;
  margin-bottom: 1.6rem;
}

.hero__credo {
  font-size: var(--t-xl);
  font-family: var(--font-titre);
  color: var(--vert-700);
  line-height: 1.42;
  margin-bottom: 1.2rem;
}

.hero__credo b {
  color: var(--terra-500);
  font-weight: 600;
}

.hero__sous {
  color: var(--encre-doux);
  max-width: 48ch;
  margin-bottom: 2rem;
}

/* Visuel du hero */
.hero__visuel {
  position: relative;
  display: grid;
  place-items: center;
  /* Garde la forme décalée (z-index -1) au-dessus du fond de la section
     et non derrière lui. */
  isolation: isolate;
}

.hero__cadre {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--sauge-100), var(--sable-50));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--ombre-lg);
}

.hero__cadre::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.hero__cadre img {
  width: 86%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(43, 63, 40, 0.14));
}

/* Cadre contenant une vraie photo : elle remplit le cadre au lieu de
   flotter au milieu comme une illustration. */
.hero__cadre--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

/* Forme décalée derrière le cadre */
.hero__visuel::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 78%;
  height: 72%;
  background: var(--sable-200);
  border-radius: var(--r-xl);
  z-index: -1;
}

/* Badge flottant */
/* Cale sur le bord droit : le chemin de l'illustration part du coin
   bas-gauche, et le badge le masquait à son endroit le plus large. */
.hero__badge {
  position: absolute;
  left: auto;
  right: -6%;
  bottom: calc(9% - 50px);
  background: var(--blanc);
  border-radius: var(--r-md);
  padding: 0.7rem 1rem;
  box-shadow: var(--ombre-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 228px;
}

.hero__badge img {
  width: 30px;
  flex-shrink: 0;
}

.hero__badge strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.1rem;
  color: var(--vert-800);
  line-height: 1.1;
}

.hero__badge span {
  font-size: var(--t-xs);
  color: var(--encre-doux);
  line-height: 1.35;
  display: block;
}

@media (max-width: 900px) {
  .hero__grille {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visuel {
    order: -1;
    max-width: 380px;
    margin-inline: auto;
  }

  .hero__badge {
    left: auto;
    right: -4%;
    bottom: 4%;
  }

  .hero .groupe-btn {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero__badge {
    position: static;
    margin-top: 1rem;
    max-width: none;
    box-shadow: var(--ombre-md);
  }
}

/* Hero secondaire (pages intérieures) */
.hero-page {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--sauge-100), var(--creme));
}

.hero-page__deco {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(340px, 34vw);
  opacity: 0.4;
  pointer-events: none;
}

.hero-page h1 {
  font-size: var(--t-3xl);
  max-width: 18ch;
}

.hero-page .intro-section {
  max-width: 54ch;
}

/* =========================================================
   Cartes
   ========================================================= */

.grille {
  display: grid;
  gap: var(--gap);
}

.grille--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grille--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grille--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.carte {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--ombre-xs);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.carte--lien:hover {
  transform: translateY(-5px);
  box-shadow: var(--ombre-md);
  border-color: var(--sauge-200);
}

.carte h3 {
  margin-bottom: 0.5rem;
}

.carte p {
  color: var(--encre-doux);
  font-size: var(--t-base);
}

.carte__pied {
  margin-top: auto;
  padding-top: 1.25rem;
}

/* Icône illustrée en tête de carte */
.carte__icone {
  width: 62px;
  height: 62px;
  border-radius: var(--r-md);
  background: var(--sauge-100);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.carte__icone img {
  width: 74%;
}

.carte--parents .carte__icone {
  background: var(--sauge-100);
}
.carte--etudiants .carte__icone {
  background: var(--sable-50);
}
.carte--pros .carte__icone {
  background: var(--terra-50);
}

/* Étiquette numérotée */
.carte__num {
  font-family: var(--font-titre);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sauge-200);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* =========================================================
   Liste à coches
   ========================================================= */

.liste-coches {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.liste-coches li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
  color: var(--encre-doux);
}

.liste-coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  background: var(--terra-50);
  border: 1.5px solid var(--terra-200);
}

.liste-coches li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.72em;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--terra-500);
  border-bottom: 2px solid var(--terra-500);
  transform: rotate(42deg);
}

.section--vert .liste-coches li {
  color: #c6cfc0;
}

/* =========================================================
   Citation
   ========================================================= */

.citation {
  position: relative;
  background: var(--blanc);
  border-left: 4px solid var(--terra-500);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 3rem);
  box-shadow: var(--ombre-sm);
}

.citation blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--font-titre);
  font-size: var(--t-xl);
  line-height: 1.45;
  color: var(--vert-800);
  font-style: italic;
}

.citation figcaption {
  font-size: var(--t-sm);
  color: var(--encre-clair);
}

.citation figcaption strong {
  display: block;
  color: var(--vert-800);
  font-weight: 600;
  font-style: normal;
}

/* =========================================================
   Le parcours (étapes)
   ========================================================= */

.parcours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
  gap: var(--gap);
  position: relative;
}

.etape {
  position: relative;
  text-align: center;
  padding-top: 0.5rem;
}

.etape__puce {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.2rem;
  border-radius: var(--r-full);
  background: var(--blanc);
  border: 2px solid var(--sable-500);
  display: grid;
  place-items: center;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--vert-800);
  position: relative;
  z-index: 2;
  box-shadow: var(--ombre-sm);
}

/* Trait reliant les étapes */
.parcours::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--sable-500) 0 8px,
    transparent 8px 16px
  );
  z-index: 1;
}

@media (max-width: 760px) {
  .parcours::before {
    display: none;
  }
}

.etape h3 {
  font-size: var(--t-lg);
  margin-bottom: 0.4rem;
}

.etape p {
  font-size: var(--t-base);
  color: var(--encre-doux);
}

/* =========================================================
   Étiquettes / thématiques
   ========================================================= */

.etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.etiquettes li {
  margin: 0;
  font-size: var(--t-sm);
  font-weight: 500;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-full);
  background: var(--sauge-100);
  color: var(--vert-700);
  border: 1px solid var(--sauge-200);
}

/* Étiquettes servant de raccourcis vers une section de la page. */
.etiquettes a {
  color: inherit;
  text-decoration: none;
}

.etiquettes li:has(a) {
  transition: background var(--transition), border-color var(--transition);
}

.etiquettes li:has(a:hover),
.etiquettes li:has(a:focus-visible) {
  background: var(--sauge-200);
  border-color: var(--sauge-400);
}

.section--vert .etiquettes li {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #e2e7da;
}

/* =========================================================
   Bloc prestation (accompagnements)
   ========================================================= */

.presta {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .presta {
    grid-template-columns: 1fr;
  }
}

.presta + .presta {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--trait);
}

.presta__entete {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.presta__entete .carte__icone {
  margin-bottom: 0;
}

.presta__entete h2 {
  margin: 0;
  font-size: var(--t-2xl);
}

.presta__sous {
  display: block;
  font-family: var(--font-texte);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-600);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.presta__bloc {
  margin-top: 1.9rem;
}

.presta__bloc h4 {
  font-family: var(--font-texte);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--encre-clair);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

/* La colonne de contenu d'une prestation est plus étroite que la pleine
   largeur : les grilles qu'elle contient se resserrent en conséquence. */
.presta__bloc .grille {
  gap: 1.25rem;
}

.presta__bloc .grille--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
}

/* Sous-section d'une prestation (par exemple « Étudiants » et
   « Reconversion » à l'intérieur d'un même bloc). */
.sous-presta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(2rem, 3vw, 2.75rem);
  border-top: 1px solid var(--trait);
  scroll-margin-top: 110px;
}

.sous-presta h3 {
  font-size: var(--t-xl);
  margin-bottom: 0.35rem;
}

.sous-presta__accroche {
  font-family: var(--font-titre);
  font-size: var(--t-lg);
  color: var(--sauge-600);
  margin: 0 0 1.25rem;
  max-width: 44ch;
}

/* Mention discrète, en fin de bloc. */
.mention-fine {
  margin-top: 2rem;
  font-size: var(--t-xs);
  color: var(--encre-clair);
  font-style: italic;
}

/* Carte tarif */
.tarif {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--ombre-sm);
  position: sticky;
  top: 110px;
}

@media (max-width: 900px) {
  .tarif {
    position: static;
  }
}

.tarif__ligne {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px dashed var(--trait);
}

/* Descriptif placé sous la ligne de tarif, sur toute la largeur.
   Le sélecteur reprend « .tarif__ligne dd » pour passer devant les
   styles du prix, définis plus bas avec la même spécificité. */
.tarif__ligne dd.tarif__detail {
  flex: 1 0 100%;
  margin: -0.35rem 0 0;
  font-family: var(--font-texte);
  font-size: var(--t-xs);
  font-weight: 400;
  line-height: 1.6;
  color: var(--encre-doux);
  white-space: normal;
}

.tarif__ligne:last-of-type {
  border-bottom: 0;
}

/* Base nulle : l'intitulé occupe la place restante et passe à la ligne
   de lui-même, sans repousser le prix sous lui. */
.tarif__ligne dt {
  flex: 1 1 0;
  min-width: 0;
  font-size: var(--t-base);
  color: var(--encre-doux);
}

.tarif__ligne dt small {
  display: block;
  font-size: var(--t-xs);
  color: var(--encre-clair);
}

.tarif__ligne dd {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vert-800);
  white-space: nowrap;
}

.tarif__ligne dd.est-offert {
  color: var(--terra-500);
  font-size: 1.05rem;
}

.tarif dl {
  margin: 0 0 1.5rem;
}

.tarif__note {
  font-size: var(--t-xs);
  color: var(--encre-clair);
  margin-top: 1rem;
}

/* Encart « tarif solidaire », entre la liste des tarifs et le bouton. */
.tarif__solidaire {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--sable-50);
  border: 1px solid var(--sable-200);
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--encre-doux);
}

/* =========================================================
   Bandeau tarif mis en avant
   ========================================================= */

.mise-en-avant {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--blanc);
  border: 1px solid var(--sable-200);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--ombre-md);
  position: relative;
  overflow: hidden;
}

.mise-en-avant__deco {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 210px;
  opacity: 0.16;
  pointer-events: none;
}

.mise-en-avant__prix {
  text-align: center;
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--trait);
}

.mise-en-avant__prix strong {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--terra-500);
  line-height: 1;
  font-weight: 600;
}

.mise-en-avant__prix span {
  display: block;
  font-size: var(--t-sm);
  color: var(--encre-clair);
  margin-top: 0.35rem;
}

@media (max-width: 760px) {
  .mise-en-avant {
    grid-template-columns: 1fr;
  }

  .mise-en-avant__prix {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--trait);
    padding-top: 1.5rem;
    text-align: left;
  }
}

/* =========================================================
   Chiffres clés
   ========================================================= */

.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}

/* Les intitulés sont des expressions courtes et non de simples chiffres :
   la taille reste généreuse mais accepte de passer sur deux lignes. La hauteur
   réservée est la même pour tous afin que les légendes restent alignées. */
.chiffre strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3em;
  font-family: var(--font-titre);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--sable-500);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

.chiffre span {
  display: block;
  margin-top: 0.55rem;
  font-size: var(--t-sm);
  color: #c9d1c1;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq details[open] {
  border-color: var(--sauge-200);
  box-shadow: var(--ombre-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.25rem 1.15rem 1.5rem;
  font-weight: 600;
  font-size: var(--t-base);
  color: var(--vert-800);
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--terra-500);
  border-bottom: 2px solid var(--terra-500);
  transform: translateY(-70%) rotate(45deg);
  transition: var(--transition);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq summary:hover {
  background: var(--creme-2);
}

.faq__reponse {
  padding: 0 1.5rem 1.4rem;
  color: var(--encre-doux);
  font-size: var(--t-base);
}

/* =========================================================
   Chemin de parcours (page À propos)
   ---------------------------------------------------------
   Un tracé courbe traverse les étapes sur grand écran ; sur
   téléphone, il devient une simple verticale.
   ========================================================= */

.chemin {
  position: relative;
}

/* Le tracé est purement décoratif : il est masqué dès que la
   frise bascule à la verticale. */
.chemin__trace {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: visible;
  pointer-events: none;
}

/* Aucun écart entre les colonnes : chacune fait exactement un
   cinquième de la largeur, donc les points tombent sur les abscisses
   10, 30, 50, 70 et 90 % — celles que suit le tracé. L'air se gagne
   par le rembourrage interne des étapes. */
.chemin__etapes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  /* Réserve la bande occupée par le tracé : le point de chaque
     étape vient se poser dessus. */
  padding: 36px 0 0;
}

.chemin__etape {
  margin: 0;
  padding-inline: clamp(0.5rem, 1.2vw, 1.1rem);
  text-align: center;
  --teinte: var(--sauge-500);
}

/* « --teinte » habille la pastille, « --teinte-texte » l'intitulé :
   les tons clairs (le beige notamment) restent lisibles en petit
   corps sur fond crème. */
.chemin__etape:nth-child(1) { --teinte: var(--vert-800); --teinte-texte: var(--vert-800); }
.chemin__etape:nth-child(2) { --teinte: var(--sauge-500); --teinte-texte: var(--sauge-600); }
.chemin__etape:nth-child(3) { --teinte: var(--sable-600); --teinte-texte: var(--sauge-600); }
.chemin__etape:nth-child(4) { --teinte: var(--sauge-600); --teinte-texte: var(--vert-700); }
.chemin__etape:nth-child(5) { --teinte: var(--terra-500); --teinte-texte: var(--terra-700); }

/* Pastille posée sur le tracé : 28 px de haut, donc centrée sur
   l'ordonnée 50 du SVG grâce aux 36 px de retrait de la liste. */
.chemin__point {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 1.25rem;
  border-radius: var(--r-full);
  background: var(--blanc);
  border: 3px solid var(--teinte);
  box-shadow: var(--ombre-sm);
}

.chemin__etape:last-child .chemin__point {
  background: var(--teinte);
  box-shadow: 0 0 0 5px var(--terra-50), var(--ombre-sm);
}

.chemin__date {
  display: block;
  min-height: 1.5em;
  font-family: var(--font-texte);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teinte-texte, var(--teinte));
  margin-bottom: 0.35rem;
}

.chemin__etape h3 {
  font-size: var(--t-lg);
  margin-bottom: 0.5rem;
}

.chemin__mots {
  margin: 0 0 0.6rem;
  font-family: var(--font-titre);
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--sauge-600);
}

.chemin__etape p:last-child {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--encre-doux);
}

/* --- Version verticale (téléphone et tablette) ---
   Même seuil que le menu : en deçà, cinq colonnes deviennent trop
   étroites pour les intitulés et le tracé perd sa lisibilité. */
@media (max-width: 1080px) {
  .chemin__trace {
    display: none;
  }

  .chemin__etapes {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 640px;
    margin-inline: auto;
    padding: 0 0 0 2.25rem;
  }

  .chemin__etape {
    padding-inline: 0;
  }

  /* Le chemin devient un trait vertical continu. */
  .chemin__etapes::before {
    content: "";
    position: absolute;
    top: 0.6rem;
    bottom: 0.6rem;
    left: 13px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      var(--vert-800),
      var(--sauge-400),
      var(--sable-500),
      var(--terra-200)
    );
    opacity: 0.55;
  }

  .chemin__etape {
    position: relative;
    text-align: left;
  }

  .chemin__point {
    position: absolute;
    left: -2.25rem;
    top: 0.1rem;
    margin: 0;
  }

  .chemin__date {
    min-height: 0;
  }
}

/* =========================================================
   Créneaux proposés
   ---------------------------------------------------------
   Affiche les disponibilités réelles en attendant — ou à côté —
   du calendrier de réservation.
   ========================================================= */

.creneaux {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--ombre-sm);
}

.creneaux h3 {
  font-size: var(--t-lg);
  margin-bottom: 0.35rem;
}

.creneaux__intro {
  margin-bottom: 1.35rem;
  font-size: var(--t-sm);
  color: var(--encre-clair);
}

.creneaux__jours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.creneaux__jours li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--trait);
}

.creneaux__jours li:last-child {
  border-bottom: 0;
}

.creneaux__jour {
  font-weight: 600;
  color: var(--vert-800);
  font-size: var(--t-sm);
}

.creneaux__heures {
  font-size: var(--t-sm);
  color: var(--encre-doux);
  text-align: right;
}

/* Jour sans rendez-vous : la ligne reste lisible mais s'efface. */
.creneaux__jours li.est-ferme .creneaux__jour,
.creneaux__jours li.est-ferme .creneaux__heures {
  color: var(--encre-clair);
  font-weight: 500;
}

.creneaux__note {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--trait);
  font-size: var(--t-xs);
  color: var(--encre-clair);
}

/* Bloc « créneaux + réservation » côte à côte. */
.creneaux-duo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--gap);
  align-items: start;
}

@media (max-width: 900px) {
  .creneaux-duo {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Appel à l'action final
   ========================================================= */

.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-final__chemin {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: min(1100px, 120%);
  opacity: 0.1;
  pointer-events: none;
}

.cta-final .wrap-etroit {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Formulaire
   ========================================================= */

.formulaire {
  display: grid;
  gap: 1.15rem;
}

.champ {
  display: grid;
  gap: 0.4rem;
}

.champ--duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.15rem;
}

.champ label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--vert-800);
}

.champ label .requis {
  color: var(--terra-500);
}

.champ input,
.champ select,
.champ textarea {
  font-family: inherit;
  font-size: var(--t-base);
  color: var(--encre);
  background: var(--blanc);
  border: 1.5px solid var(--trait);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  width: 100%;
  transition: var(--transition);
}

.champ textarea {
  min-height: 150px;
  resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-color: var(--sauge-400);
  outline-offset: 0;
}

.champ input[aria-invalid="true"],
.champ textarea[aria-invalid="true"],
.champ select[aria-invalid="true"] {
  border-color: var(--terra-500);
  background: var(--terra-50);
}

.champ__erreur {
  font-size: var(--t-xs);
  color: var(--terra-600);
  min-height: 1.1em;
}

.champ--case {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.champ--case input {
  width: auto;
  margin-top: 0.35rem;
  accent-color: var(--terra-500);
  flex-shrink: 0;
}

/* --- Disponibilités et préférence de réponse ---------------------
   Groupes de cases et de boutons radio dans le formulaire de contact. */

.dispos {
  border: 1px solid var(--trait);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.2rem 1.25rem;
  margin: 0;
  min-width: 0; /* sinon un fieldset refuse de rétrécir dans une grille */
}

.dispos legend {
  padding: 0 0.4rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--vert-800);
}

.dispos__aide {
  margin: 0 0 1.1rem;
  font-size: var(--t-xs);
  line-height: 1.6;
  color: var(--encre-clair);
}

.dispos__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr));
  gap: 1rem 1.25rem;
}

.dispos__titre {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra-600);
}

.dispos label,
.dispos__souple {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-sm);
  font-weight: 400;
  color: var(--encre-doux);
  cursor: pointer;
  margin-bottom: 0.3rem;
}

.dispos input {
  width: auto;
  accent-color: var(--terra-500);
  flex-shrink: 0;
  margin: 0;
}

.dispos__souple {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--trait);
}

.dispos__choix {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.dispos__choix label {
  margin-bottom: 0;
}

/* Une case à cocher ne peut pas montrer son erreur par sa bordure :
   on la signale par un contour. */
.champ--case input[aria-invalid="true"] {
  outline: 2px solid var(--terra-500);
  outline-offset: 2px;
}

.champ--case label {
  font-weight: 400;
  font-size: var(--t-sm);
  color: var(--encre-doux);
}

/* Champ anti-spam invisible */
.pot-de-miel {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.message-formulaire {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  border: 1px solid;
}

.message-formulaire[data-etat="succes"] {
  background: var(--sauge-100);
  border-color: var(--sauge-200);
  color: var(--vert-700);
}

.message-formulaire[data-etat="erreur"] {
  background: var(--terra-50);
  border-color: var(--terra-200);
  color: var(--terra-700);
}

/* =========================================================
   Coordonnées
   ========================================================= */

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

.coordonnees li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 0;
}

.coordonnees__icone {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--sauge-100);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--vert-700);
}

.coordonnees strong {
  display: block;
  font-size: var(--t-sm);
  color: var(--vert-800);
}

.coordonnees span,
.coordonnees a {
  font-size: var(--t-base);
  color: var(--encre-doux);
}

/* =========================================================
   Réservation
   ========================================================= */

.zone-reservation {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--ombre-sm);
  min-height: 420px;
}

.reservation-attente {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}

.reservation-attente img {
  width: 90px;
  opacity: 0.65;
}

.reservation-attente h3 {
  margin: 0;
}

.reservation-attente p {
  max-width: 46ch;
  color: var(--encre-doux);
  font-size: var(--t-base);
}

/* =========================================================
   Pied de page
   ========================================================= */

.pied {
  background: var(--vert-pied);
  color: #b9c3b2;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--t-sm);
}

.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  .pied__grille {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.pied__logo img {
  height: 84px;
  width: auto;
  margin-bottom: 1.1rem;
}

.pied h4 {
  color: #fff;
  font-family: var(--font-texte);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.pied li {
  margin: 0;
}

.pied a {
  color: #b9c3b2;
  text-decoration: none;
  transition: var(--transition);
}

.pied a:hover {
  color: var(--sable-500);
}

.pied__bas {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-xs);
  color: #8b9686;
}

/* =========================================================
   Décorations botaniques
   ========================================================= */

.deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.deco--hg {
  top: 4%;
  left: -3%;
  width: min(180px, 18vw);
  opacity: 0.35;
  transform: rotate(-12deg);
}

.deco--bd {
  bottom: 3%;
  right: -2%;
  width: min(210px, 20vw);
  opacity: 0.3;
  transform: scaleX(-1) rotate(8deg);
}

.deco--coin {
  top: -20px;
  right: 6%;
  width: min(110px, 14vw);
  opacity: 0.5;
}

@media (max-width: 760px) {
  .deco {
    display: none;
  }
}

.section > .wrap,
.section > .wrap-etroit {
  position: relative;
  z-index: 1;
}

/* Séparateur "chemin" entre deux sections */
.separateur-chemin {
  display: block;
  width: min(620px, 80%);
  margin: 0 auto;
  opacity: 0.45;
}

/* =========================================================
   Apparition au défilement
   ========================================================= */

/* L'état masqué n'est appliqué que si JavaScript est actif : sans lui,
   le contenu reste parfaitement visible. */
.js .apparait {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .apparait.est-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .apparait {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Contenu éditorial (mentions légales, confidentialité)
   ========================================================= */

.texte-legal h2 {
  font-size: var(--t-xl);
  margin-top: 2.75rem;
}

.texte-legal h2:first-child {
  margin-top: 0;
}

.texte-legal h3 {
  font-size: var(--t-lg);
  margin-top: 1.75rem;
}

.texte-legal {
  color: var(--encre-doux);
}

.texte-legal .a-completer {
  background: var(--sable-50);
  border: 1px dashed var(--sable-600);
  border-radius: 4px;
  padding: 0.1em 0.5em;
  color: var(--terra-700);
  font-weight: 600;
  font-size: 0.95em;
}

/* =========================================================
   Mode relecture — repère affiché sur chaque bloc
   Retiré en même temps que le bandeau de démonstration.
   ========================================================= */

.repere {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;
  font-family: var(--font-texte);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--terra-500);
  padding: 6px 10px;
  border-radius: var(--r-full);
  box-shadow: var(--ombre-sm);
  user-select: all;
  pointer-events: auto;
}

/* =========================================================
   Impression — Karine annote sur papier
   ========================================================= */

@media print {
  /* Les couleurs comptent : c'est aussi la charte qu'elle évalue. */
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  /* L'en-tête ne doit pas se répéter sur chaque feuille. */
  .entete {
    position: static;
    box-shadow: none;
  }

  .bandeau-demo button,
  .deco,
  .burger {
    display: none !important;
  }

  /* Rien ne doit être coupé en plein milieu. */
  .carte,
  .tarif,
  .etape,
  .citation,
  .mise-en-avant,
  .chiffre,
  .faq details,
  .presta__bloc {
    break-inside: avoid;
  }

  h1,
  h2,
  h3 {
    break-after: avoid;
  }

  /* Les questions de la FAQ sont ouvertes sur papier. */
  .faq details {
    border-color: #ccc;
  }

  .faq .faq__reponse {
    display: block !important;
  }

  .repere {
    border: 1px solid #000;
  }

  /* Marges confortables pour écrire à côté. */
  @page {
    margin: 14mm 16mm;
  }
}
