/* =============================================================================
   Me Retrouver — feuille de style unique (direction « Crépuscule »)
   Sommaire : 1 Variables · 2 Base · 3 Bandes et vagues · 4 En-tête · 5 Mise en page
              6 Composants · 7 Accueil (hero, signes, respiration) · 8 Pages
              9 Pied de page · 10 Mouvement
   Pour changer une couleur ou une police du site : modifier la section 1.
   ============================================================================= */

/* ── 1. Variables ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Palette */
  --night: #0d2c40;
  --navy: #123a52;
  --petrol: #14435c;
  --peach: #f0cda8;
  --peach-soft: #f6dcc0;
  --copper: #d99a73;
  --mauve: #9a86b8;
  --sky: #2a7391;
  --terracotta: #a64b2f;
  --paper: #f8f1e7;
  --card: #fffbf5;
  --line: #e8d9c3;
  --footer: #0a2433;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
  --wave-h: clamp(2.75rem, 6vw, 5.25rem);

  /* Formes des vagues entre deux zones (masques SVG) */
  --wave-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath d='M0,46 C180,84 380,10 640,38 C900,66 1130,78 1440,22 L1440,84 L0,84 Z'/%3E%3C/svg%3E");
  --wave-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C260,76 520,70 760,38 C1000,6 1240,10 1440,52 L1440,84 L0,84 Z'/%3E%3C/svg%3E");
  --wave-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C220,10 460,12 720,44 C980,76 1200,74 1440,28 L1440,84 L0,84 Z'/%3E%3C/svg%3E");

  /* Couleurs « sur fond clair » (valeurs par défaut) */
  --heading: var(--navy);
  --ink: #1b2f3a;
  --ink-soft: #4a5d66;
  --ink-faint: #5e6f77;
  --accent: var(--terracotta);
  --link: #17607c;
  --link-hover: var(--terracotta);
  --btn-bg: var(--navy);
  --btn-bg-hover: var(--night);
  --btn-fg: var(--paper);
  --btn-glow: rgb(18 58 82 / 0.35);
  --ghost-line: rgb(18 58 82 / 0.45);
  --ghost-fg: var(--navy);
  --ghost-hover: rgb(18 58 82 / 0.06);
}
@media (min-width: 1024px) {
  :root {
    --header-h: 6.25rem;
  }
}

/* Couleurs « sur fond sombre » : bandes bleues et bloc sombre */
.band--dusk,
.band--deep,
.band--closing,
.panel--deep,
.site-header,
.site-footer {
  --heading: var(--paper);
  --ink: var(--paper);
  --ink-soft: #dbe8ec;
  --ink-faint: #c3d6de;
  --accent: var(--peach);
  --link: var(--peach);
  --link-hover: #fff;
  --btn-bg: var(--peach);
  --btn-bg-hover: var(--peach-soft);
  --btn-fg: var(--night);
  --btn-glow: rgb(240 205 168 / 0.3);
  --ghost-line: #9cb9c6;
  --ghost-fg: var(--paper);
  --ghost-hover: rgb(240 205 168 / 0.1);
}
/* Les cartes et encarts restent clairs, même posés sur un fond sombre */
.card,
.inset,
.question,
.panel:not(.panel--deep) {
  --heading: var(--navy);
  --ink: #1b2f3a;
  --ink-soft: #4a5d66;
  --ink-faint: #5e6f77;
  --accent: var(--terracotta);
  --link: #17607c;
  --link-hover: var(--terracotta);
  --btn-bg: var(--navy);
  --btn-bg-hover: var(--night);
  --btn-fg: var(--paper);
  --btn-glow: rgb(18 58 82 / 0.35);
  --ghost-line: rgb(18 58 82 / 0.45);
  --ghost-fg: var(--navy);
  --ghost-hover: rgb(18 58 82 / 0.06);
}

/* ── 2. Base ──────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--navy);
  color: #fff;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
}

/* ── 3. Bandes et vagues ──────────────────────────────────────────────────── */
/* Une « bande » est une zone pleine largeur. Elle se termine (data-wave) ou commence
   (data-wave-top) par une vague de la couleur de la zone voisine. */
.band {
  position: relative;
  grid-column: full;
  overflow: hidden;
}
.wrap {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1rem;
}
@media (min-width: 640px) {
  .wrap {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .wrap {
    padding: 4.5rem 4rem;
  }
}
.band--cream {
  background: var(--paper);
}
.band--dusk {
  background:
    radial-gradient(ellipse 80% 55% at 50% 112%, rgb(244 184 150 / 0.55) 0%, rgb(178 140 170 / 0.38) 34%, rgb(90 100 150 / 0) 70%),
    radial-gradient(circle at 76% 52%, rgb(60 130 160 / 0.55) 0%, rgb(60 130 160 / 0) 46%),
    linear-gradient(180deg, #0d2c40 0%, #133f58 55%, #27506f 100%);
}
.band--dusk > .wrap {
  padding-top: calc(var(--header-h) + 1.5rem);
}
.band--deep {
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgb(120 105 160 / 0.28) 0%, rgb(120 105 160 / 0) 70%),
    linear-gradient(180deg, #123a52 0%, #10344b 100%);
}
.band--closing {
  background:
    radial-gradient(ellipse 65% 38% at 50% 72%, rgb(244 184 150 / 0.4) 0%, rgb(178 140 170 / 0.24) 45%, rgb(90 100 150 / 0) 100%),
    linear-gradient(180deg, #14435c 0%, var(--footer) 100%);
}

.band[data-wave] > .wrap {
  padding-bottom: calc(var(--wave-h) + 1.75rem);
}
.band[data-wave-top] > .wrap {
  padding-top: calc(var(--wave-h) + 2rem);
}
.band[data-wave]::after,
.band[data-wave-top]::before,
.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: var(--wave-h);
  background: var(--wave-fill, var(--paper));
  -webkit-mask: var(--wave-shape, var(--wave-b)) center / 100% 100% no-repeat;
  mask: var(--wave-shape, var(--wave-b)) center / 100% 100% no-repeat;
  pointer-events: none;
}
.band[data-wave]::after {
  bottom: -1px;
  z-index: 2;
}
.band[data-wave-top]::before,
.site-footer::before {
  top: -1px;
  transform: scaleY(-1);
}
.band[data-wave='a'] {
  --wave-shape: var(--wave-a);
}
.band[data-wave='b'] {
  --wave-shape: var(--wave-b);
}
.band[data-wave='c'] {
  --wave-shape: var(--wave-c);
}
.band[data-wave-to='cream'] {
  --wave-fill: var(--paper);
}
.band[data-wave-to='deep'] {
  --wave-fill: #123a52;
}
.band[data-wave-to='closing'] {
  --wave-fill: #14435c;
}

/* ── 4. En-tête ───────────────────────────────────────────────────────────── */
/* Posé sur le fond sombre de la première bande ; devient une barre fixe dès qu'on fait défiler (main.js). */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  view-transition-name: site-header;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100% - 2rem, 72rem);
  height: 1px;
  translate: -50% 0;
  background: linear-gradient(90deg, rgb(240 205 168 / 0), rgb(240 205 168 / 0.28) 50%, rgb(240 205 168 / 0));
  transition: opacity 0.3s var(--ease);
}
.site-header.is-stuck {
  position: fixed;
  height: 4.25rem;
  background: rgb(13 44 64 / 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px -18px rgb(0 0 0 / 0.5);
  animation: header-in 0.4s var(--ease);
}
.site-header.is-stuck::after {
  opacity: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--paper);
}
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__tagline {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--peach);
}
.nav-toggle {
  display: inline-flex;
  padding: 0.6rem;
  border: 1px solid rgb(240 205 168 / 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.nav-toggle:hover {
  background: rgb(240 205 168 / 0.12);
}
.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}
.nav-toggle .icon-close,
.nav-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Menu : liste déroulante sur mobile, ligne horizontale sur ordinateur */
.site-menu {
  position: absolute;
  inset: 100% 0 auto 0;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1rem 1.5rem;
  border-top: 1px solid rgb(240 205 168 / 0.2);
  background: rgb(10 36 51 / 0.98);
  box-shadow: 0 24px 40px -20px rgb(0 0 0 / 0.5);
}
.site-menu.is-open {
  display: flex;
  animation: menu-in 0.3s var(--ease);
}
.site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  font-size: 1rem;
  font-weight: 500;
}
.site-nav a {
  position: relative;
  padding: 0.6rem 0;
  color: #dbe8ec;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.3rem;
  width: 100%;
  height: 1.5px;
  background: var(--peach);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--peach);
}
.site-nav a:hover::after,
.site-nav a[aria-current]::after {
  transform: scaleX(1);
}
.site-header .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding-inline: 2rem;
  }
  .nav-toggle {
    display: none;
  }
  .site-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .site-nav {
    flex-direction: row;
    width: auto;
    gap: 1.25rem;
    font-size: 0.9375rem;
  }
  .site-nav a {
    padding: 0.4rem 0;
  }
  .site-nav a::after {
    bottom: 0;
  }
}
@media (min-width: 1200px) {
  .site-header__inner {
    padding-inline: 4rem;
  }
  .brand__name {
    font-size: 1.55rem;
  }
  .site-menu {
    gap: 2rem;
  }
  .site-nav {
    gap: 2rem;
  }
}
/* Très petits écrans : la signature « Hypnothérapie · Pessac » doit tenir sur une ligne */
@media (max-width: 400px) {
  .brand__name {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }
  .brand__tagline {
    font-size: 0.625rem;
    letter-spacing: 0.16em;
  }
}

/* ── 5. Mise en page ──────────────────────────────────────────────────────── */
/* Les pages sont une suite de bandes pleine largeur et de blocs centrés. */
.shell {
  --w: 72rem;
  display: grid;
  grid-template-columns: [full-start] minmax(1rem, 1fr) [content-start] minmax(0, var(--w)) [content-end] minmax(1rem, 1fr) [full-end];
}
.shell > * {
  grid-column: content;
  margin-top: 1.5rem;
}
.shell > .band {
  grid-column: full;
  margin-top: 0;
}
.shell > .band + :not(.band) {
  margin-top: 1rem;
}
.shell > :last-child:not(.band) {
  margin-bottom: 4.5rem;
}
.shell--narrow {
  --w: 48rem;
}
.shell--medium {
  --w: 64rem;
}

.panel {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
@media (min-width: 640px) {
  .panel {
    padding: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .panel {
    padding: 3rem;
  }
}
.panel--stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.panel--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.panel--deep {
  padding: 2.5rem 1.75rem;
  border-color: transparent;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgb(120 105 160 / 0.3) 0%, rgb(120 105 160 / 0) 70%),
    linear-gradient(180deg, #123a52 0%, #10344b 100%);
}
@media (min-width: 640px) {
  .panel--deep {
    padding: 3rem 2.5rem;
  }
}
.stack > * + * {
  margin-top: 1.5rem;
}
.stack-sm > * + * {
  margin-top: 0.75rem;
}

/* Variante « à plat » (shell--flat) : sections posées sur le fond, sans cadre blanc.
   Utilisée par la page L'hypnose. Pour l'étendre : `shell: shell--flat` dans l'en-tête de la page. */
.shell--flat > .panel:not(.panel--deep) {
  padding: 0;
  border: 0;
  background: none;
}
.shell--flat > * {
  margin-top: 2.75rem;
}
.shell--flat > .band + :not(.band) {
  margin-top: 1.5rem;
}
.shell--flat h2.eyebrow--heading {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: normal;
  text-transform: none;
}

.grid {
  display: grid;
  gap: 1rem;
}
.grid--2 {
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .grid--testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ── 6. Composants ────────────────────────────────────────────────────────── */
/* Typographie */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--heading {
  color: var(--heading);
}
.title-xl,
.title-lg,
.title-md {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--heading);
  font-variant-numeric: lining-nums;
}
.title-xl {
  font-size: clamp(2.25rem, 5.6vw, 3.75rem);
  letter-spacing: -0.01em;
}
.title-lg {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
}
.title-md {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.title-xl,
.title-lg,
.hero__headline {
  text-wrap: balance;
}
.title-xl em,
.title-lg em {
  font-style: italic;
  color: var(--accent);
}
.text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.text--sm {
  font-size: 0.9375rem;
  line-height: 1.7;
}
.text--lead {
  font-size: 1.1875rem;
  line-height: 1.65;
}
@media (min-width: 1024px) {
  .text--lead {
    font-size: 1.25rem;
  }
}
.text--faint {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-faint);
}
.text a,
.link {
  font-weight: 500;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.text a:hover,
.link:hover {
  color: var(--link-hover);
}
mark,
.highlight {
  background: linear-gradient(180deg, transparent 58%, rgb(240 205 168 / 0.7) 58%);
  color: inherit;
  font-weight: 600;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}

/* Boutons : les couleurs viennent du fond (variables --btn-*, section 1) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 1rem 2rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary,
.btn--deep {
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.btn--primary:hover,
.btn--deep:hover {
  background: var(--btn-bg-hover);
  box-shadow: 0 10px 26px -8px var(--btn-glow);
}
.btn--secondary {
  border-color: var(--ghost-line);
  background: transparent;
  color: var(--ghost-fg);
}
.btn--secondary:hover {
  border-color: var(--accent);
  background: var(--ghost-hover);
}
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid rgb(156 185 198 / 0.55);
  border-radius: 999px;
  font-size: 0.875rem;
  color: #e8f1f4;
}

/* Cartes */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgb(18 58 82 / 0.28);
  border-color: #dcc6a6;
}
.card--peach {
  border-top: 2px solid var(--copper);
}
.card--mauve {
  border-top: 2px solid var(--mauve);
}
.card--blue {
  border-top: 2px solid var(--sky);
}
.card--thick {
  border-top-width: 4px;
}
.card--peach:hover {
  border-top-color: var(--copper);
}
.card--mauve:hover {
  border-top-color: var(--mauve);
}
.card--blue:hover {
  border-top-color: var(--sky);
}
.card--row {
  flex-direction: row;
  gap: 1rem;
}
.card--link .title-lg,
.card--link .title-md {
  transition: color 0.2s var(--ease);
}
.card--link:hover .title-lg,
.card--link:hover .title-md {
  color: var(--link);
}
.card__more {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--link);
  transition: color 0.2s var(--ease);
}
.card__more:hover {
  color: var(--link-hover);
}
.meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}

/* Listes à puces rondes */
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.dot-list li::before {
  content: '';
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
}
.dot-list--peach li::before {
  background: var(--copper);
}
.dot-list--compact {
  gap: 0.5rem;
}
.bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Encart crème (accompagnements, contact) */
.inset {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(248 241 231 / 0.7);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.inset__title {
  font-weight: 600;
  color: var(--heading);
}
.inset h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.inset a:hover {
  color: var(--link-hover);
}
.service {
  scroll-margin-top: 6rem;
}
.service__cols {
  display: grid;
  gap: 1.5rem;
}
.service__outcomes {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.service__outcomes strong {
  color: var(--heading);
}
@media (min-width: 1024px) {
  .service__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service__cols > * + * {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

/* Tarifs */
.price {
  font-variant-numeric: lining-nums;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  color: var(--heading);
}
.price--hero {
  font-size: 3.75rem;
}
.price--card {
  font-size: 2.75rem;
  color: var(--terracotta);
}
.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.badge {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgb(240 205 168 / 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}
.step__num {
  font-variant-numeric: lining-nums;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgb(240 205 168 / 0.5);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--terracotta);
}
.strike {
  text-decoration: line-through;
}
.save {
  font-weight: 600;
  color: var(--terracotta);
}
.split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.split > * {
  flex: 1;
}
@media (min-width: 640px) {
  .split {
    flex-direction: row;
    gap: 2.5rem;
  }
}

/* Témoignages */
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgb(240 205 168 / 0.5);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial__name {
  font-weight: 600;
  color: var(--heading);
}
.testimonial__rating {
  font-size: 0.875rem;
  color: var(--ink-faint);
}
.testimonial__note {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ── 7. Accueil et pages à portrait ───────────────────────────────────────── */
/* Premier écran */
.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 0.5rem;
}
.hero__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero__title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-weight: 400;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.6vw, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.hero__headline em {
  font-style: italic;
  white-space: nowrap;
  color: var(--peach);
}
.hero__text {
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.65;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3.5rem;
  }
  .hero__text {
    font-size: 1.25rem;
  }
  .band--dusk > .wrap:has(.hero) {
    padding-bottom: calc(var(--wave-h) + 5.5rem);
  }
}
/* Apparition douce du texte au chargement : mouvement seul, sans masquer le texte (le premier écran reste lisible sans JavaScript) */
.hero__body > * {
  animation: rise 0.9s var(--ease) both;
}
.hero__body > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero__body > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero__body > :nth-child(4) {
  animation-delay: 0.24s;
}

/* Portrait rond entouré de cercles qui « respirent » */
.portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.portrait-wrap figcaption {
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  color: #e3eef2;
}
.portrait {
  --size: min(62vw, 22.5rem);
  position: relative;
  width: var(--size);
  aspect-ratio: 1;
  /* place pour les cercles, qui dépassent de la photo d'un quart de sa taille */
  margin: calc(var(--size) * 0.2) 0 calc(var(--size) * 0.26);
}
.portrait img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 3px solid var(--peach);
  border-radius: 50%;
  background: #1a4a63;
  object-fit: cover;
  object-position: 50% 22%;
}
.portrait__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--size) * var(--k));
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid var(--peach);
  border-radius: 50%;
  animation: breathe 9s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* Page « Qui suis-je » */
.profile {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding-top: 1.25rem;
}
.profile .portrait {
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .profile {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

/* En-tête de page intérieure (dans une bande sombre) */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  padding-top: 0.5rem;
}
.page-head .text--lead {
  max-width: 42rem;
}
.back-link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s var(--ease);
}
.back-link:hover {
  color: var(--link-hover);
}
.page-head .meta {
  color: var(--ink-faint);
}

/* « Vous vous reconnaissez ? » : colonnes ouvertes, sans cartes */
.signs {
  display: grid;
  gap: 2.75rem;
  margin-top: 2.5rem;
}
.sign {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s var(--ease);
}
.sign:hover {
  transform: translateY(-3px);
}
.sign::before {
  content: '';
  width: 4.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--copper), #b79fc4);
}
.sign .title-md {
  margin-top: 0.375rem;
  font-size: 1.75rem;
}
.sign__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.sign__list li {
  display: flex;
  gap: 0.75rem;
}
.sign__list li::before {
  content: '';
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--copper);
}
@media (min-width: 768px) {
  .signs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

/* « Ce qu'on ressent » + respiration guidée */
.ressent {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.ressent__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ressent__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #f0e4d4;
}
.ressent__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ressent__list li::before {
  content: '';
  flex: none;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--peach);
}
@media (min-width: 1024px) {
  .js .ressent {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
  }
}

/* La respiration n'a de sens qu'avec JavaScript : sans lui, elle reste masquée */
.breath-card {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  padding: 2rem 1.5rem 2.25rem;
  border: 1px solid #3a6c86;
  border-radius: var(--radius-lg);
  background: rgb(24 73 102 / 0.55);
  text-align: center;
}
.js .breath-card {
  display: flex;
}
.breath-card__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
}
.breath-card__hint {
  max-width: 19rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.breath-card__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 15rem;
  height: 13.5rem;
}
.breath-card__halo,
.breath-card__orb {
  grid-area: 1 / 1;
  border-radius: 50%;
}
.breath-card__halo {
  width: 8.75rem;
  height: 8.75rem;
  background: radial-gradient(circle, rgb(240 205 168 / 0.45), rgb(240 205 168 / 0) 70%);
  opacity: 0.35;
}
.breath-card__orb {
  width: 5.25rem;
  height: 5.25rem;
  background: linear-gradient(145deg, var(--peach-soft), #e9b88f);
  box-shadow: 0 0 40px rgb(240 205 168 / 0.35);
}
.breath-card__phase {
  position: absolute;
  inset: auto 0 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 2.125rem;
  color: var(--peach);
}
.breath-card.is-running .breath-card__orb {
  animation: inhale 10s ease-in-out infinite;
}
.breath-card.is-running .breath-card__halo {
  animation: halo 10s ease-in-out infinite;
}

/* Appel final (bande de fin de page) */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.cta .title-lg {
  max-width: 50rem;
}
.cta .text {
  max-width: 38rem;
}

/* ── 8. Pages ─────────────────────────────────────────────────────────────── */
/* Formulaire de contact */
.contact-box {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .contact-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Test de stress */
.question {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}
.question legend {
  /* float + width 100 % : la question reste dans la carte (sinon elle chevauche la bordure) */
  float: left;
  width: 100%;
  padding: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--heading);
}
.question__num {
  margin-right: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.choices {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.choice:hover span {
  border-color: var(--link);
  color: var(--link);
}
.choice input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.choice input:focus-visible + span {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
.form--locked .choice input {
  pointer-events: none;
}
.form--locked .choice span {
  opacity: 0.6;
}
.result {
  --tone: var(--sky);
  --tone-text: #1d5a73;
}
.result[data-tone='mid'] {
  --tone: var(--copper);
  --tone-text: #8a4a25;
}
.result[data-tone='high'] {
  --tone: #d97706;
  --tone-text: #a64b00;
}
.result[data-tone='very-high'] {
  --tone: #dc2626;
  --tone-text: #b91c1c;
}
.result__score {
  font-variant-numeric: lining-nums;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--tone-text);
}
.result__label {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--tone-text);
}
.meter {
  height: 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}
.meter__bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--tone);
  transition: width 0.7s var(--ease);
}
.meter-scale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
}
.meter-scale .line {
  flex: 1;
  border-top: 1px solid var(--line);
}

/* Questions fréquentes (tarifs) */
.faq {
  display: grid;
  gap: 0.75rem;
}
.faq details {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(248 241 231 / 0.7);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--heading);
}
.faq details[open] summary {
  margin-bottom: 0.5rem;
}

/* Blog */
.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose > :first-child {
  margin-top: 0;
}
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--heading);
}
.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.875rem;
}
.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.5rem;
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1rem;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.25rem;
}
.prose a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
.prose a:hover {
  color: var(--link-hover);
}
.prose strong {
  font-weight: 600;
  color: var(--heading);
}
.prose blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--copper);
  font-style: italic;
}
.prose hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.prose img {
  width: 100%;
  margin: 1.5rem 0;
  border-radius: 1rem;
}
.video {
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── 9. Pied de page ──────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  padding: calc(var(--wave-h) + 1.5rem) 1rem 2.5rem;
  background: var(--footer);
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.9);
}
/* Après une bande d'appel final (déjà sombre), pas de vague au-dessus du pied de page */
body:has(.shell > .band--closing:last-child) .site-footer {
  padding-top: 2.5rem;
}
body:has(.shell > .band--closing:last-child) .site-footer::before {
  display: none;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}
.site-footer__brand {
  max-width: 28rem;
}
.site-footer__brand strong {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  color: #fff;
}
.site-footer__cols {
  display: grid;
  gap: 2rem;
}
.site-footer h2 {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--peach);
}
.site-footer li + li {
  margin-top: 0.5rem;
}
.site-footer a {
  transition: color 0.2s var(--ease);
}
.site-footer a:hover {
  color: var(--peach);
}
.site-footer__notice {
  max-width: 80rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.07);
  line-height: 1.75;
}
.site-footer__social {
  margin-top: 1.5rem;
  text-align: center;
}
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.65);
}
.site-footer__social a:hover {
  color: #fff;
}
.site-footer__social svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: currentColor;
}
@media (min-width: 640px) {
  .site-footer {
    padding-inline: 1.5rem;
  }
  .site-footer__cols {
    grid-template-columns: repeat(2, auto);
    gap: 4rem;
  }
}
@media (min-width: 1024px) {
  .site-footer {
    padding-inline: 4rem;
  }
  .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* ── 10. Mouvement ────────────────────────────────────────────────────────── */
/* Apparition au défilement (uniquement si JavaScript actif : sinon tout reste visible) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes rise {
  from {
    transform: translateY(14px);
  }
}
@keyframes breathe {
  0%,
  100% {
    scale: 1;
    opacity: 0.45;
  }
  50% {
    scale: 1.04;
    opacity: 0.9;
  }
}
@keyframes inhale {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.6);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes halo {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  40% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}
@keyframes header-in {
  from {
    transform: translateY(-100%);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Transition fluide entre les pages (navigateurs récents ; ignorée ailleurs) */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 0.18s var(--ease) both fade-out;
}
::view-transition-new(root) {
  animation: 0.32s var(--ease) both fade-in;
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* Visiteurs qui demandent moins de mouvement : plus d'animation, tout reste lisible */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .portrait__ring {
    opacity: 0.55;
  }
  .btn:hover,
  .card:hover,
  .sign:hover {
    transform: none;
  }
}
