/* ==========================================================================
   La Maison des Émotions — feuille de style principale
   Vanessa Gosselin · Franqueville-Saint-Pierre

   Charte entièrement tirée du logo : bleu marine profond, bleu ciel lumineux.
   Ni doré, ni blanc pur — les textes clairs sont des bleus très pâles, ce qui
   évite la dureté du blanc sur fond sombre.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */
:root {
  /* Fonds, du plus profond au plus élevé */
  --abyss:      #000814;   /* pied de page, base du bandeau d'accueil */
  --navy:       #00102a;   /* fond courant — le bleu du disque du logo */
  --navy-2:     #061a36;   /* sections alternées */
  --raise:      #0b2240;   /* cartes et surfaces surélevées */
  --raise-2:    #10305a;   /* survol */

  /* Accents — le bleu lumineux du logo */
  --sky:        #78b8e0;   /* accent principal : liens, filets, boutons */
  --sky-bright: #a6d6f2;   /* survol, points forts */
  --sky-deep:   #2f6d9c;   /* bordures et aplats décoratifs — jamais du texte */

  /* Encres */
  --title:      #e8f2fb;
  --text:       #d8e8f5;
  --text-soft:  #95b2cb;

  /* Filets */
  --line:       rgba(120, 184, 224, .17);
  --line-soft:  rgba(120, 184, 224, .10);

  /* Typographie */
  --font-title: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rythme */
  --wrap: 1160px;
  --wrap-narrow: 780px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;

  /* Relief — sur fond sombre, une ombre ne se voit pas : c'est la lueur
     qui fait le relief, doublée d'une ombre noire pour l'assise. */
  --shadow-sm: 0 1px 3px rgba(0, 4, 12, .5);
  --shadow-md: 0 10px 30px rgba(0, 4, 12, .55);
  --shadow-lg: 0 24px 60px rgba(0, 4, 12, .65);
  --glow-md:   0 0 34px rgba(120, 184, 224, .16);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  background: var(--navy);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--navy);
  overflow-x: hidden;
}

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

a { color: var(--sky); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--sky-bright); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--title);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.65rem); }
h4 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }

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

strong { color: var(--title); font-weight: 700; }

::selection { background: rgba(120, 184, 224, .28); color: var(--title); }

/* Masqué visuellement, lu par les lecteurs d'écran et les moteurs */
/* Empêche une expression composée de se couper à son trait d'union */
.insecable { white-space: nowrap; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--sky); color: var(--navy); padding: .8rem 1.4rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--navy); }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
/* Section alternée : un bleu marine légèrement plus clair que le fond */
.section--alt { background: var(--navy-2); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Bande mise en avant : plus profonde, avec une lueur diffuse */
.section--navy {
  background: var(--abyss);
  position: relative;
  overflow: hidden;
}
.section--navy::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%,
              rgba(120, 184, 224, .13), transparent 70%);
  pointer-events: none;
}
.section--navy > * { position: relative; z-index: 1; }

/* Bande illustrée : la photo du cabinet derrière un voile marine.
   Le voile n'est pas un effet de style. Sans lui, le texte clair passerait
   sur un ciel presque blanc et deviendrait illisible : il est plus opaque en
   haut et en bas, là où les titres se posent, et s'allège au centre pour
   laisser voir le bâtiment. */
.section--photo {
  background-image: url("../img/cabinet.webp");
  background-size: cover;
  background-position: 50% 38%;
  position: relative;
  overflow: hidden;
}
.section--photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(0, 6, 15, .86) 0%,
              rgba(0, 15, 38, .52) 40%,
              rgba(0, 15, 38, .52) 60%,
              rgba(0, 6, 15, .90) 100%);
  pointer-events: none;
}
.section--photo > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Galerie du cabinet
   --------------------------------------------------------------------------
   Une mosaïque plutôt qu'une rangée : la photo de la table de soin est en
   portrait, les deux autres en paysage. Les forcer au même format les aurait
   toutes recadrées de travers. Ici chacune garde ses proportions — la haute
   occupe une colonne entière, les deux autres s'empilent à côté.

   La hauteur des rangées est donnée par les deux images de droite, à qui on
   impose un rapport ; celle de gauche s'étire pour les rejoindre. Sans cette
   ancre, une grille en « 1fr 1fr » n'aurait aucune hauteur à répartir.
   -------------------------------------------------------------------------- */
.galerie {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(.7rem, 1.5vw, 1.1rem);
}
.galerie figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--raise);
}
.galerie figure:first-child { grid-row: 1 / 3; }
.galerie figure:not(:first-child) { aspect-ratio: 16 / 11; }

.galerie img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.galerie figure:hover img { transform: scale(1.045); }

.galerie figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.6rem 1.1rem .95rem;
  /* Le dégradé n'est pas décoratif : les murs du cabinet sont clairs, et une
     légende blanche posée dessus serait illisible. */
  background: linear-gradient(180deg, transparent, rgba(0, 6, 15, .55) 45%, rgba(0, 6, 15, .9));
  color: var(--title);
  font-family: var(--font-title);
  font-size: 1.12rem;
  line-height: 1.25;
  pointer-events: none;
}
.galerie figcaption span {
  display: block;
  margin-top: .3em;
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--text-soft);
}

@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr; }
  .galerie figure:first-child { grid-row: auto; }
  .galerie figure:not(:first-child) { aspect-ratio: 16 / 11; }
  .galerie figure:first-child { aspect-ratio: 4 / 5; }
}

.center { text-align: center; }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.section-head p { color: var(--text-soft); max-width: 42rem; margin-inline: auto; }

.eyebrow {
  display: block;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Filet lumineux : un dégradé qui s'éteint aux extrémités, avec un losange
   au centre — c'est le motif d'accent qui revient dans tout le site. */
.rule {
  width: 84px; height: 1px;
  border: 0;
  margin: 1.6rem auto;
  position: relative;
  background: linear-gradient(90deg,
              transparent, var(--sky-deep) 22%, var(--sky) 50%,
              var(--sky-deep) 78%, transparent);
}
.rule::after {
  content: "";
  position: absolute; top: -2.5px; left: 50%;
  width: 6px; height: 6px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--sky);
  box-shadow: 0 0 10px rgba(120, 184, 224, .8);
}
.rule--left { margin-inline: 0; }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--text);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: .95rem 2.2rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  background: var(--sky);
  color: var(--navy);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease,
              transform .3s ease, box-shadow .3s ease;
}
.btn:hover {
  background: var(--sky-bright);
  border-color: var(--sky-bright);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(120, 184, 224, .3);
}

.btn--ghost {
  background: transparent;
  color: var(--sky);
  border-color: rgba(120, 184, 224, .45);
}
.btn--ghost:hover {
  background: rgba(120, 184, 224, .12);
  border-color: var(--sky);
  color: var(--sky-bright);
  box-shadow: none;
}

.btn--light { background: transparent; border-color: rgba(120,184,224,.45); color: var(--sky); }
.btn--light:hover { background: rgba(120,184,224,.12); border-color: var(--sky); color: var(--sky-bright); }

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

/* --------------------------------------------------------------------------
   5. En-tête & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 8, 20, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(0, 8, 20, .95);
  border-bottom-color: var(--line);
}

.site-header .wrap { --wrap: 1420px; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.2rem;
  min-height: 84px;
  padding-block: .5rem;
}

.brand { display: flex; align-items: center; gap: .85rem; color: var(--title); flex: 0 1 auto; min-width: 0; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-title);
  font-size: 1.18rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--title);
  white-space: nowrap;
}
.brand-sub {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-top: .15rem;
}

.nav { display: flex; align-items: center; gap: .3rem; flex: 0 1 auto; }
.nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }

.nav a {
  display: block;
  padding: .6rem .68rem;
  font-size: .74rem;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute; left: .68rem; right: .68rem; bottom: .35rem;
  height: 1px; background: var(--sky);
  box-shadow: 0 0 8px rgba(120, 184, 224, .7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover { color: var(--sky-bright); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--sky); }

.has-sub { position: relative; }
.has-sub > button {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .68rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700;
  white-space: nowrap;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text);
  background: none; border: 0; cursor: pointer;
}
.has-sub > button:hover { color: var(--sky-bright); }
.has-sub > button::after {
  content: ""; width: 5px; height: 5px;
  border-right: 1.5px solid var(--sky);
  border-bottom: 1.5px solid var(--sky);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s ease;
}
.has-sub.is-open > button::after { transform: rotate(-135deg) translateY(-2px); }
.has-sub > button.is-active { color: var(--sky); }

.sub {
  position: absolute; top: calc(100% + .4rem); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 300px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-top: 2px solid var(--sky);
  box-shadow: var(--shadow-lg), var(--glow-md);
  padding: .5rem;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-sub:hover .sub, .has-sub.is-open .sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.sub ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
.sub a {
  text-transform: none;
  letter-spacing: .01em;
  font-size: .9rem;
  font-weight: 400;
  font-family: var(--font-title);
  padding: .6rem .9rem;
  border-radius: var(--radius);
  color: var(--text);
}
.sub a::after { display: none; }
.sub a:hover { background: rgba(120, 184, 224, .12); color: var(--sky-bright); }

.burger {
  display: none;
  flex: 0 0 44px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px;
  background: var(--sky);
  transition: transform .3s ease, opacity .25s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav .btn { color: var(--navy); }
.nav .btn:hover { color: var(--navy); }
.nav-cta { margin-left: .6rem; padding: .7rem 1.5rem; font-size: .74rem; }

/* --------------------------------------------------------------------------
   6. Bandeau d'accueil
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid; place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(175deg, var(--abyss) 0%, #00132f 46%, #04203f 100%);
  overflow: hidden;
}
/* Halo derrière le logo : sans lui, le disque bleu marine du logo se
   confondrait avec le fond bleu marine de la page. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(120, 184, 224, .26), transparent 52%),
    radial-gradient(circle at 15% 85%, rgba(47, 109, 156, .20), transparent 55%),
    radial-gradient(circle at 88% 18%, rgba(120, 184, 224, .12), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-inner { position: relative; z-index: 1; }

.hero-logo {
  width: clamp(230px, 34vw, 400px);
  margin: 0 auto clamp(1.5rem, 3vw, 2.4rem);
  filter: drop-shadow(0 0 48px rgba(120, 184, 224, .38));
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) both;
}

.hero h1 { margin-bottom: .35em; }

.hero-tagline {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-style: italic;
  color: var(--sky-bright);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) .22s both;
}
.hero-meta {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--title);
  font-weight: 700;
  margin-bottom: .9rem;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) .3s both;
}
.hero-practices {
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--text-soft);
  max-width: 52rem;
  margin: 0 auto 2.4rem;
  animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) .35s both;
}
.hero .btn-row { animation: fadeUp 1.1s cubic-bezier(.2,.7,.3,1) .4s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Bandeau des pages intérieures */
.page-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(170deg, var(--abyss), #041730 70%, #082644);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/iris-noir.webp");
  background-size: cover;
  background-position: center;
  opacity: .22;
  mix-blend-mode: screen;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 50% 50%,
              rgba(120, 184, 224, .16), transparent 72%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 0; }
.page-hero p { color: var(--text-soft); max-width: 44rem; margin-inline: auto; }

/* En-tête des pages de pratique : le titre à gauche, l'illustration à droite.
   Elle devient un élément de structure au lieu d'un bloc posé au milieu du
   texte. Quand elle est présente, on coupe la texture d'iris du fond : deux
   images superposées rendaient le bandeau confus. */
.page-hero--pratique { text-align: left; }
.page-hero--pratique::before { display: none; }
.page-hero--pratique .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
/* Titre un peu resserré : la colonne est plus étroite que sur un bandeau
   pleine largeur, et « psycho-émotionnel » se coupait à son trait d'union. */
.page-hero--pratique h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.page-hero--pratique .rule { margin-inline: 0; }
.page-hero--pratique p { margin-inline: 0; max-width: 34rem; text-wrap: pretty; }

/* L'illustration n'a plus de cadre : ses bords s'effacent progressivement
   vers le fond. Le fondu est obtenu par deux dégradés croisés plutôt qu'un
   masque circulaire, qui aurait rogné les angles — et donc les libellés des
   émotions, placés en bas de leur illustration. Une lueur posée derrière
   rattrape la densité perdue sur les bords. */
.pratique-visuel {
  position: relative;
  /* 380 px est la limite raisonnable : les sources font 640 px, au-delà
     l'image serait agrandie sur les écrans à haute densité. */
  width: clamp(230px, 30vw, 380px);
  aspect-ratio: 1;
  line-height: 0;
  --fondu: 15%;
}
.pratique-visuel::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 184, 224, .26), transparent 68%);
  pointer-events: none;
}
.pratique-visuel img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%);
  mask-image:
    linear-gradient(to right,  transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Navigateurs sans masque CSS : on retombe sur un cadre discret */
@supports not (mask-composite: intersect) {
  .pratique-visuel img {
    border-radius: var(--radius);
    border: 1px solid rgba(120, 184, 224, .3);
  }
}

@media (max-width: 820px) {
  .page-hero--pratique { text-align: center; }
  .page-hero--pratique .wrap { grid-template-columns: 1fr; justify-items: center; }
  .page-hero--pratique .rule { margin-inline: auto; }
  .page-hero--pratique p { margin-inline: auto; }
  .pratique-visuel { width: min(100%, 340px); order: -1; margin-bottom: .5rem; }
}

.crumbs {
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--text-soft);
  padding-block: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--sky); }
.crumbs span { color: var(--title); }

/* --------------------------------------------------------------------------
   7. Grilles & cartes
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease,
              border-color .35s ease, background .35s ease;
}
/* Liseré lumineux en haut de carte, qui s'intensifie au survol */
.card::before {
  content: "";
  position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120,184,224,.5), transparent);
  opacity: .55;
  transition: opacity .35s ease;
}
.card:hover {
  transform: translateY(-5px);
  background: var(--raise-2);
  border-color: rgba(120, 184, 224, .38);
  box-shadow: var(--shadow-md), var(--glow-md);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-soft); font-size: .97rem; }

.card-practice { display: flex; flex-direction: column; text-decoration: none; }
.card-practice .card-num {
  font-family: var(--font-title);
  font-size: 2.6rem;
  color: var(--sky-deep);
  line-height: 1;
  margin-bottom: .6rem;
  transition: color .35s ease, text-shadow .35s ease;
}
.card-practice:hover .card-num {
  color: var(--sky);
  text-shadow: 0 0 22px rgba(120, 184, 224, .5);
}
.card-practice h3 { color: var(--title); }
.card-practice:hover h3 { color: var(--sky-bright); }
.card-link {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  display: inline-flex; align-items: center; gap: .5rem;
}
.card-link::after { content: "→"; transition: transform .3s ease; }
.card-practice:hover .card-link::after { transform: translateX(5px); }

/* Sur la bande la plus profonde, les cartes s'allègent */
.section--navy .card { background: rgba(120, 184, 224, .05); }
.section--navy .card:hover { background: rgba(120, 184, 224, .10); }

/* --------------------------------------------------------------------------
   8. Blocs éditoriaux
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }

.figure-round {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: var(--shadow-lg), var(--glow-md);
}
.figure-round img { width: 100%; height: 100%; object-fit: cover; }

.figure-frame { position: relative; max-width: 460px; margin-inline: auto; }
.figure-frame img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.figure-frame::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--sky-deep);
  border-radius: var(--radius);
  z-index: -1;
}

.photo-placeholder {
  aspect-ratio: 4/5;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--raise), var(--navy-2));
  border: 1px dashed var(--sky-deep);
  border-radius: var(--radius);
  color: var(--text-soft);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
}

/* Portrait rond — il fait écho à la pastille ronde du logo.
   Le halo derrière détache le portrait du fond bleu marine. */
.portrait-col { display: grid; place-items: center; position: relative; padding: 1.4rem; }
.portrait-col::before {
  content: "";
  position: absolute;
  width: min(100%, 440px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 184, 224, .20), transparent 68%);
  pointer-events: none;
}
.portrait {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(120, 184, 224, .38);
  box-shadow: var(--shadow-lg), 0 0 56px rgba(120, 184, 224, .22);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Emplacement en attendant la photo */
.portrait--vide {
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--raise), var(--navy-2));
  border: 1px dashed rgba(120, 184, 224, .45);
  color: var(--text-soft);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 2rem;
  line-height: 1.8;
}

@media (min-width: 900px) {
  .portrait-col { position: sticky; top: 118px; align-self: start; }
}

/* Citation détachée dans le corps du texte */
.citation {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--sky-bright);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Page « Pourquoi ? »

   Le mot « Pourquoi » ouvrait les 18 questions à l'identique : répété, il
   rendait la lecture mécanique. Il est donc posé UNE seule fois, en grand,
   dans une colonne qui reste à l'écran pendant qu'on parcourt la liste ;
   chaque ligne n'affiche plus que ce qui change. Le mot reste présent dans
   le code pour les lecteurs d'écran et les moteurs de recherche, et il
   redevient visible sur mobile, où la colonne ne peut plus rester fixe.
   -------------------------------------------------------------------------- */
.pourquoi-mise-en-page {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.pourquoi-ancre { position: sticky; top: 118px; }
.pourquoi-titre {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  font-style: italic;
  line-height: .95;
  color: var(--title);
  margin: 0 0 1.4rem;
}
.pourquoi-titre em { font-style: normal; color: var(--sky); }
.pourquoi-intro { color: var(--text-soft); font-size: .98rem; }

.pourquoi-liste { list-style: none; margin: 0; padding: 0; }
.pourquoi {
  position: relative;
  padding: 1.15rem 0 1.15rem 2rem;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-title);
  font-size: clamp(1.14rem, 1.75vw, 1.36rem);
  line-height: 1.5;
  color: var(--text);
  transition: color .3s ease, padding-left .3s ease;
}
.pourquoi:last-child { border-bottom: 0; }
.pourquoi::before {
  content: "";
  position: absolute;
  left: 0; top: calc(1.15rem + .72em);
  width: 11px; height: 1px;
  background: var(--sky-deep);
  transition: width .3s ease, background .3s ease, box-shadow .3s ease;
}
.pourquoi:hover { color: var(--sky-bright); padding-left: 2.45rem; }
.pourquoi:hover::before {
  width: 18px;
  background: var(--sky);
  box-shadow: 0 0 10px rgba(120, 184, 224, .85);
}

/* Le « Pourquoi » de chaque ligne : masqué là où l'ancre le porte déjà */
@media (min-width: 901px) {
  .pourquoi-mot {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .pourquoi-mise-en-page { grid-template-columns: 1fr; }
  .pourquoi-ancre { position: static; }
  .pourquoi-titre { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .pourquoi-mot { color: var(--text-soft); font-style: italic; }
}

.quote {
  position: relative;
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--title);
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem) 1rem 0;
}
.quote::before {
  content: "\201C";
  position: absolute; top: -.1em; left: 50%; transform: translateX(-50%);
  font-size: 5rem;
  color: rgba(120, 184, 224, .45);
  line-height: 1;
}

.callout {
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--sky-deep);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout--blue { border-left-color: var(--sky); background: rgba(120, 184, 224, .08); }
/* Mise en garde : on reste dans le bleu, la distinction se fait par
   l'intensité du liseré, pas par un changement de teinte. */
.callout--warn {
  border-left-color: var(--sky-bright);
  background: var(--raise-2);
}

.list-check { list-style: none; padding: 0; margin: 0 0 1.5em; }
.list-check li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
.list-check li::before {
  content: "";
  position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--sky);
  background: rgba(120, 184, 224, .25);
  box-shadow: 0 0 8px rgba(120, 184, 224, .35);
}
.list-check li:last-child { margin-bottom: 0; }

.list-arrow { list-style: none; padding: 0; margin: 0 0 1.5em; }
.list-arrow li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: .7rem;
  color: var(--text-soft);
}
.list-arrow li::before { content: "\2014"; position: absolute; left: 0; color: var(--sky); }

.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .3s ease, background .3s ease;
}
.step:hover { border-color: var(--line); background: var(--raise-2); }
.step::before {
  content: counter(step);
  position: absolute; left: 1.5rem; top: 1.45rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(120, 184, 224, .4);
}
.step h4 { margin-bottom: .3em; color: var(--title); }
.step p { color: var(--text-soft); font-size: .96rem; margin: 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: .9rem;
}
.why {
  padding: 1.15rem 1.4rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--sky-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--text);
  transition: border-left-color .3s ease, transform .3s ease,
              background .3s ease, color .3s ease;
}
.why:hover {
  border-left-color: var(--sky);
  background: var(--raise-2);
  color: var(--title);
  transform: translateX(4px);
}

.price-card {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
  background: var(--raise);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.2rem);
  box-shadow: var(--shadow-lg), var(--glow-md);
}
.price-amount {
  font-family: var(--font-title);
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  line-height: 1;
  color: var(--title);
  margin: .4rem 0 .2rem;
  text-shadow: 0 0 34px rgba(120, 184, 224, .35);
}
.price-amount span { font-size: .45em; color: var(--sky); vertical-align: super; }
.price-duration {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.sessions { display: grid; gap: .8rem; margin-top: 2.5rem; }
.session {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .3s ease, background .3s ease;
}
.session:hover { border-color: var(--line); background: var(--raise-2); }
.session-name {
  font-family: var(--font-title);
  font-size: 1.22rem;
  color: var(--title);
  flex: 1 1 15rem;
}
.session-count { color: var(--text-soft); font-size: .95rem; flex: 1 1 18rem; }

.contact-grid {
  display: grid; gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.contact-item {
  text-align: center;
  padding: clamp(1.8rem, 3vw, 2.4rem) 1.4rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color .3s ease, transform .3s ease,
              box-shadow .3s ease, background .3s ease;
}
.contact-item:hover {
  border-color: rgba(120, 184, 224, .38);
  background: var(--raise-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--glow-md);
}
.contact-icon {
  width: 46px; height: 46px;
  margin: 0 auto 1.1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(120, 184, 224, .12);
  border: 1px solid rgba(120, 184, 224, .3);
  color: var(--sky);
}
.contact-icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.contact-item h4 {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: .5em;
}
.contact-value {
  font-family: var(--font-title);
  font-size: 1.22rem;
  color: var(--title);
  line-height: 1.4;
}
a.contact-value:hover { color: var(--sky-bright); }
.contact-note { font-size: .86rem; color: var(--text-soft); margin-top: .5rem; }

.socials { display: flex; justify-content: center; gap: .8rem; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sky);
  transition: background .3s ease, color .3s ease,
              border-color .3s ease, transform .3s ease;
}
.socials a:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  transform: translateY(-3px);
}
.socials svg { width: 19px; height: 19px; fill: currentColor; }

.cta-band {
  background: linear-gradient(170deg, var(--abyss), #03192f 60%, #062240);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../img/iris-noir.webp");
  background-size: cover; background-position: center;
  opacity: .18; mix-blend-mode: screen;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 100% at 50% 50%,
              rgba(120, 184, 224, .16), transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band p {
  color: var(--text-soft);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   9. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--abyss);
  color: var(--text-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 0;
  font-size: .92rem;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand img {
  width: 74px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 20px rgba(120, 184, 224, .3));
}
.footer-brand .brand-name { color: var(--title); font-size: 1.15rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: .9rem; }

.site-footer h4 {
  color: var(--sky);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: var(--text-soft); }
.site-footer a:hover { color: var(--sky); }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .7rem 1.6rem;
  font-size: .82rem;
  color: var(--text-soft);
}
.footer-bottom a { color: var(--text-soft); }

.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; }

.footer-credit a { color: var(--sky); }
.footer-credit a:hover { color: var(--sky-bright); }

.link-btn {
  background: none; border: 0; padding: 0;
  font: inherit; color: var(--text-soft);
  cursor: pointer; text-align: left;
  transition: color .25s ease;
}
.link-btn:hover { color: var(--sky); }

/* --------------------------------------------------------------------------
   10. Bandeau de consentement aux cookies
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%; bottom: 1.2rem;
  z-index: 200;
  width: min(100% - 2rem, 960px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: rgba(11, 34, 64, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), var(--glow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(1.6rem);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.3,1), visibility .4s;
}
.cookie-banner.is-visible {
  opacity: 1; visibility: visible;
  transform: translateX(-50%);
}
.cookie-banner h2 { font-size: 1.12rem; margin-bottom: .35em; }
.cookie-banner p {
  font-size: .89rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
  max-width: 54ch;
}
.cookie-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .8rem 1.6rem; font-size: .73rem; white-space: nowrap; }

@media (max-width: 760px) {
  .cookie-banner {
    grid-template-columns: 1fr; bottom: 0; width: 100%;
    border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0;
  }
  .cookie-actions .btn { flex: 1 1 10rem; width: auto; }
}

/* --------------------------------------------------------------------------
   11. Animations au défilement
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
/* Le menu compte sept onglets depuis l'ouverture des Actualités : les trois
   paliers ci-dessous ont été remontés d'autant, sans quoi le dernier onglet
   venait mordre sur le nom du cabinet dès 1440 pixels de large. */
@media (max-width: 1560px) {
  .nav a, .has-sub > button { padding-inline: .5rem; font-size: .71rem; letter-spacing: .07em; }
  .nav-cta { padding-inline: 1.1rem; }
  .brand-name { font-size: 1.05rem; }
}

@media (max-width: 1420px) {
  .brand-text { display: none; }
}

@media (max-width: 1260px) {
  .burger { display: block; }

  /* Sans cela, le backdrop-filter de l'en-tête devient le bloc conteneur du
     menu en position fixed, qui se retrouve alors haut de quelques pixels. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--abyss);
  }

  .brand-text { display: flex; }
  .nav {
    position: fixed;
    inset: 84px 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem 1.5rem 3rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.2,.7,.3,1);
    border-top: 1px solid var(--line-soft);
  }
  .nav.is-open { transform: none; }

  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav a, .has-sub > button {
    width: 100%;
    padding: 1rem .4rem;
    font-size: .88rem;
    border-bottom: 1px solid var(--line-soft);
    justify-content: space-between;
  }
  .nav a::after { display: none; }

  .has-sub { width: 100%; }
  .sub {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: var(--navy-2);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .has-sub.is-open .sub { max-height: 420px; transform: none; }
  .sub a {
    padding: .85rem 1.2rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: .95rem;
    border-radius: 0;
  }
  .nav-cta { margin: 1.6rem 0 0; text-align: center; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cookie-actions .btn { width: auto; }
  .wrap, .wrap-narrow { width: calc(100% - 2rem); }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.05rem; }
  .header-inner { min-height: 72px; }
  .nav { inset-block-start: 72px; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; }
  .session { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   13. Préférences utilisateur & impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .burger, .cookie-banner { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  h1, h2, h3, h4, .lead, .quote, strong { color: #000; }
  .card, .session, .step, .why, .callout { border-color: #999; background: #fff; }
  .section { padding-block: 1rem; }
}

/* ==========================================================================
   14. Prise de rendez-vous
   ========================================================================== */
.rdv { max-width: 940px; margin-inline: auto; }

/* -- Fil des étapes ------------------------------------------------------ */
.rdv-etapes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0 0 1.3rem;
  border-bottom: 1px solid var(--line-soft);
  counter-reset: etape;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-soft);
}
.rdv-etapes li {
  counter-increment: etape;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.rdv-etapes li::before {
  content: counter(etape);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--font-title);
  font-size: .82rem;
  letter-spacing: 0;
  color: var(--text-soft);
}
.rdv-etapes li[aria-current="step"] { color: var(--sky); }
.rdv-etapes li[aria-current="step"]::before {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  box-shadow: 0 0 14px rgba(120, 184, 224, .5);
}
.rdv-etapes li.is-faite { color: var(--sky-bright); }
.rdv-etapes li.is-faite::before {
  content: "✓";
  border-color: var(--sky-deep);
  color: var(--sky);
}

/* -- Panneaux ------------------------------------------------------------ */
.rdv-panneau { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.rdv-panneau.is-actif { display: block; }
.rdv-panneau legend,
.rdv-panneau > h2 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--title);
  padding: 0;
  margin-bottom: .5em;
}
.rdv-panneau legend + p,
.rdv-consigne { color: var(--text-soft); margin-bottom: 2rem; }

/* -- Choix de la pratique et du lieu ------------------------------------ */
.rdv-options { display: grid; gap: .8rem; margin: 0 0 2rem; }
.rdv-options--lieu { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.rdv-option { position: relative; }
.rdv-option input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.rdv-option span {
  display: block;
  padding: 1.1rem 1.4rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--sky-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.rdv-option span strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.22rem;
  color: var(--title);
  margin-bottom: .15rem;
}
.rdv-option span em {
  font-style: normal;
  font-size: .9rem;
  color: var(--text-soft);
}
.rdv-option input:hover + span,
.rdv-option input:focus-visible + span {
  background: var(--raise-2);
  border-left-color: var(--sky);
}
.rdv-option input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.rdv-option input:checked + span {
  background: var(--raise-2);
  border-left-color: var(--sky);
  border-left-width: 3px;
  box-shadow: var(--glow-md);
}

.rdv-lieu { margin-bottom: 2rem; }
.rdv-lieu h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--sky);
  margin-bottom: 1rem;
}

/* -- Semaine et créneaux ------------------------------------------------- */
.rdv-semaine {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.rdv-semaine-libelle {
  font-family: var(--font-title);
  font-size: 1.22rem;
  color: var(--title);
  margin: 0;
  text-align: center;
  flex: 1 1 auto;
}
.rdv-fleche {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sky);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.rdv-fleche:hover:not(:disabled) { background: rgba(120, 184, 224, .12); border-color: var(--sky); }
.rdv-fleche:disabled { opacity: .3; cursor: not-allowed; }

.rdv-grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .5rem;
  min-height: 190px;
}
.rdv-jour {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}
.rdv-jour-titre {
  margin: 0 0 .3rem;
  text-align: center;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}
.rdv-jour-titre span { color: var(--sky); }
.rdv-jour-vide { text-align: center; color: var(--sky-deep); margin: 0; }

.rdv-creneau {
  width: 100%;
  padding: .6rem .2rem;
  background: var(--raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.rdv-creneau:hover {
  background: var(--raise-2);
  border-color: var(--sky);
  color: var(--sky-bright);
}
.rdv-creneau.is-choisi {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
}

.rdv-attente, .rdv-erreur {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-soft);
  padding: 2.5rem 1rem;
  margin: 0;
}
.rdv-erreur { color: var(--sky-bright); }

/* -- Formulaire ---------------------------------------------------------- */
.rdv-recap {
  background: var(--raise);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}
.rdv-recap strong { color: var(--title); font-weight: 500; }
.rdv-recap-prix { color: var(--sky); font-weight: 600; }

.rdv-champs { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.rdv-champ { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.rdv-champ--large { grid-column: 1 / -1; }
.rdv-champ label {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-soft);
}
.rdv-champ label .rdv-facultatif {
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 400;
  color: var(--sky-deep);
}
.rdv-champ input,
.rdv-champ textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  transition: border-color .25s ease, background .25s ease;
}
.rdv-champ input:focus,
.rdv-champ textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--raise);
}
.rdv-champ textarea { resize: vertical; min-height: 110px; }

.rdv-consentement {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  margin: 1.8rem 0 0;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.rdv-consentement input {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: .15rem;
  accent-color: var(--sky);
}

.rdv-message { margin: 1.2rem 0 0; font-size: .92rem; }
.rdv-message.is-erreur { color: var(--sky-bright); }

.rdv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 2rem;
}
.rdv-retour {
  background: none;
  border: 0;
  padding: .6rem 0;
  font: inherit;
  font-size: .9rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: color .25s ease;
}
.rdv-retour:hover { color: var(--sky); }

/* -- Confirmation -------------------------------------------------------- */
.rdv-confirmation { text-align: center; }
.rdv-confirmation-marque {
  width: 64px; height: 64px;
  margin: 0 auto 1.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(120, 184, 224, .14);
  border: 1px solid var(--sky);
  color: var(--sky);
  font-size: 1.7rem;
  box-shadow: var(--glow-md);
}
.rdv-reference {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 2rem;
}

/* -- Bandeau de démonstration ------------------------------------------- */
.rdv-demo {
  background: var(--raise-2);
  border: 1px dashed var(--sky);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
  font-size: .9rem;
  color: var(--text);
}
.rdv-demo strong { color: var(--sky-bright); }

@media (max-width: 820px) {
  .rdv-grille {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
  .rdv-jour {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .rdv-jour-titre {
    flex: 0 0 5.5rem;
    text-align: left;
    margin: 0;
  }
  .rdv-creneau { width: auto; flex: 0 0 auto; padding: .6rem 1rem; }
  .rdv-jour-vide { text-align: left; }
}

/* --------------------------------------------------------------------------
   Actualités

   Une carte d'article est un lien entier, photo comprise : sur mobile, viser
   un titre de trois mots au doigt est ingrat. La photo déborde donc jusqu'au
   bord de la carte — d'où le padding remis à zéro et l'overflow coupé — et
   le texte retrouve sa marge à l'intérieur.

   Les dates sont en chiffres alignés : les Cormorant Garamond dessinent par
   défaut des chiffres elzéviriens, dont le 0 descend sous la ligne et se lit
   « o ». Sur un site où une date fait foi, ce n'est pas acceptable.
   -------------------------------------------------------------------------- */
/* Sans plafond, un article seul s'étalerait sur toute la largeur de la page
   et sa photo deviendrait une bannière. Les colonnes sont donc bornées et la
   rangée centrée : une, deux ou six cartes gardent la même taille. */
.actus-grille {
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
}

.carte-actu {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

.carte-actu-image {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.carte-actu-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.carte-actu:hover .carte-actu-image img { transform: scale(1.055); }

.carte-actu-texte {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
}
.carte-actu-texte .eyebrow { margin-bottom: .7rem; }
.carte-actu h3 {
  color: var(--title);
  margin-bottom: .55em;
  transition: color .35s ease;
}
.carte-actu:hover h3 { color: var(--sky-bright); }
.carte-actu p { margin-bottom: 1rem; }

.carte-actu-date,
.actu-meta {
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--text-soft);
  font-variant-numeric: lining-nums;
}
.carte-actu .card-link { padding-top: 1.1rem; }

/* ---- Page d'un article ---- */
.actu-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .74rem;
  font-weight: 700;
}
.actu-meta a { color: var(--sky); text-decoration: none; }
.actu-meta a:hover { color: var(--sky-bright); }
.actu-meta span { color: var(--sky-deep); }

.actu-visuel {
  margin: 0 0 2.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.actu-visuel img { display: block; width: 100%; height: auto; }
/* Photo verticale ou carrée : bornée en largeur, sinon elle remplit l'écran
   et le texte de l'article disparaît sous la ligne de flottaison. */
.actu-visuel--haute { max-width: 480px; margin-inline: auto; }
/* Photo dont la définition réelle est plus étroite que la colonne : l'étirer
   la rendrait floue. On la montre à une taille qu'elle peut tenir. */
.actu-visuel--petite { max-width: 480px; margin-inline: auto; }

/* Photo placée au fil du texte, et non en tête d'article. */
.actu-illustration { margin-block: 2.8rem; }

/* Le corps d'article respire davantage que le reste du site : on y lit
   plusieurs minutes d'affilée, pas trois phrases. */
.actu-signature,
.liste-texte { font-size: inherit; }
.liste-texte { margin: 0 0 1.6rem 1.2rem; }
.liste-texte li { margin-bottom: .6rem; padding-left: .2rem; }
.liste-texte li::marker { color: var(--sky-deep); }

.actu-visuel + h2,
.actu-meta + h2 { margin-top: 0; }
.wrap-narrow .citation { margin: 2.4rem 0; }

.actu-signature {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--sky-bright);
}
.actu-signature span {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: .5rem;
}
