:root {
  --bg: #f8fbff;
  --bg-alt: #eef6fe;
  --bg-card: #ffffff;
  --ink: #1e293b;
  --ink-muted: #475569;
  --ink-light: #94a3b8;
  /* Accents bleu clair */
  --teal: #5ea8f0;
  --teal-light: #bfe0ff;
  --teal-bg: rgba(94, 168, 240, 0.14);
  --teal-hover: #3d8fd9;
  --teal-deep: #2b7bc4;
  /* Jaune/ambre — remplace le rose/rouge */
  --rose: #f59e0b;
  --rose-light: #fde68a;
  --rose-bg: rgba(245, 158, 11, 0.10);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --border: #e7e5e4;
  --radius: 10px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.09);
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --max: 50rem;
  --wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem; top: 1rem; z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--teal); color: #fefefe; border-radius: 6px;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover { color: var(--teal-deep); }

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

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

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

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.2;
  flex-shrink: 0;
}
.header-brand:hover { color: var(--teal); }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav { display: none; }
@media (min-width: 900px) {
  .header-nav { display: flex; align-items: center; }
}

.header-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 0.1rem;
}

.header-nav__list a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.header-nav__list a:hover {
  color: var(--teal);
  background: var(--teal-bg);
}
.header-nav__list a.is-active {
  color: var(--teal);
  background: var(--teal-bg);
  font-weight: 600;
}

.header-account { margin-left: 0.5rem; }

.header-account__link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.header-account__link:hover {
  color: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-bg);
}

.header-account__icon { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; gap: 4px; transition: background 0.15s;
}
.hamburger:hover { background: var(--teal-bg); }
.hamburger__bar {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
@media (min-width: 900px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(255, 253, 249, 0.98);
  backdrop-filter: blur(18px);
  padding: 5rem 2rem 2rem; overflow-y: auto;
}
.mobile-menu.is-open {
  display: block; animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-menu__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.mobile-menu__list a {
  display: block; padding: 0.9rem 1rem;
  font-size: 1.15rem; font-weight: 500;
  color: var(--ink-muted); text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.mobile-menu__list a:hover,
.mobile-menu__list a.is-active {
  color: var(--teal); background: var(--teal-bg);
}

.mobile-menu__footer {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu__footer .header-account__link {
  font-size: 1rem; padding: 0.6rem 1rem;
}
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

.mobile-menu__close {
  position: absolute; top: 1rem; right: 1.5rem;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; font-size: 1.25rem; color: var(--ink-muted);
  transition: color 0.15s, background 0.15s;
}
.mobile-menu__close:hover { color: var(--ink); background: var(--teal-bg); }

/* =============================================
   RDV STRIP (sous le header sur l'accueil)
   ============================================= */

.rdv-strip {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #f8fbff;
  padding: clamp(0.85rem, 2.5vw, 1.15rem) 0;
}
.rdv-strip__inner {
  display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch;
}
@media (min-width: 768px) {
  .rdv-strip__inner {
    flex-direction: row; align-items: center;
    justify-content: space-between; gap: 1.5rem;
  }
}
.rdv-strip__title {
  display: block; font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700; letter-spacing: 0.01em;
}
.rdv-strip__lead {
  margin: 0.2rem 0 0; font-size: 0.9375rem;
  line-height: 1.5; opacity: 0.92; max-width: 40rem;
}
.rdv-strip__lead a { color: #dbeafe; font-weight: 600; }

/* =============================================
   HOME : QUI SUIS-JE (hero)
   ============================================= */

.home-main { margin: 0; }

main.home-main {
  background: radial-gradient(ellipse 95% 55% at 50% -8%, rgba(94, 168, 240, 0.09), transparent 52%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.home-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.home-qui {
  background: linear-gradient(180deg, rgba(94, 168, 240, 0.08) 0%, var(--bg-card) 42%, var(--bg-card) 100%) !important;
  border-bottom: 1px solid var(--border);
}
.home-qui__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  width: min(100% - 1.25rem, 82rem);
  max-width: none;
  margin-inline: auto;
  padding-inline: min(0.75rem, 3vw);
}
@media (min-width: 900px) {
  .home-qui__grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    align-items: end;
    gap: clamp(1.75rem, 3.5vw, 3rem);
  }
}

/* Bloc gauche : portrait + texte serrés à gauche */
.home-qui__left {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  justify-items: start;
  width: 100%;
}
@media (min-width: 640px) {
  .home-qui__left {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.home-qui__portrait-col {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}
.home-qui__figure { margin: 0; width: 100%; }
.home-qui__figure img {
  display: block; width: 100%; max-width: 400px; height: auto;
  margin-inline: auto; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .home-qui__figure img {
    max-width: 280px;
    margin-inline: 0;
  }
}

.home-qui__text {
  max-width: min(52rem, 100%);
}

/* Illustration : colonne droite, visuellement plus bas */
.home-qui__concept {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .home-qui__concept {
    margin-inline: 0 0;
    margin-left: auto;
    justify-self: end;
    align-self: end;
    padding-top: clamp(2.5rem, 7vw, 5.5rem);
  }
}
.home-qui__concept-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.home-qui__tagline {
  margin: 0.8rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--teal-deep);
}
.home-qui__concept-note {
  margin: 0.45rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.home-qui__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700; margin: 0 0 0.4rem;
  color: var(--ink); line-height: 1.15;
}
.home-qui__role {
  margin: 0 0 1.25rem; font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--rose);
}
.home-qui__text p { color: var(--ink-muted); margin: 0 0 1rem; }

@media (max-width: 899px) {
  .home-qui__left {
    justify-items: center;
    text-align: center;
  }
  .home-qui__portrait-col {
    justify-content: center;
  }
  .home-qui__figure img {
    margin-inline: auto;
    max-width: 320px;
  }
  .home-qui__text {
    max-width: 40rem;
    margin-inline: auto;
  }
  .home-qui__concept {
    max-width: min(100%, 280px);
    margin-inline: auto;
    padding-top: 0.5rem;
  }
  .home-qui__tagline,
  .home-qui__concept-note {
    text-align: center;
  }
}

.home-link-more { font-weight: 600; color: var(--teal); }
.home-link-more:hover { color: var(--teal-deep); }

/* =============================================
   HOME : MOTIFS
   ============================================= */

.home-motifs {
  background: linear-gradient(175deg, rgba(238, 246, 254, 0.55) 0%, var(--bg) 48%, rgba(255, 253, 250, 0.85) 100%) !important;
}

.home-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--ink);
  display: inline-block;
  padding: 0.4rem 0.85rem 0.5rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, rgba(94, 168, 240, 0.14), rgba(245, 158, 11, 0.1));
  box-shadow: 0 1px 4px rgba(30, 41, 59, 0.05);
}

.section__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.section__inner--wide {
  max-width: min(100% - 2rem, 56rem);
}

.home-motifs__after-brain {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: clamp(0.65rem, 2vw, 1.35rem);
}

/* Note discrète — sur grand écran : centrée avec le bouton RDV */
.home-motifs__explainer {
  margin: 0;
  max-width: min(17.5rem, 94%);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  align-self: flex-end;
}
.home-motifs__explainer p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ink-light);
  text-align: end;
  hyphens: auto;
}
.home-motifs__badge {
  display: inline-block;
  margin: 0 0.35rem 0 0;
  padding: 0.06rem 0.32rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: rgba(94, 168, 240, 0.1);
  border-radius: 3px;
  vertical-align: 0.05em;
}
.home-motifs__explainer-text {
  font-weight: 400;
  color: var(--ink-light);
}

.home-motifs__cta {
  margin: 0;
  text-align: center;
}
.home-motifs__hint {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  text-align: center;
}

@media (min-width: 720px) {
  .home-motifs__after-brain {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(1rem, 4vw, 2.25rem);
  }
  .home-motifs__cta {
    order: 1;
    margin: 0;
    text-align: center;
  }
  .home-motifs__explainer {
    order: 2;
    align-self: flex-end;
    max-width: min(17.5rem, 100%);
  }
  .home-motifs__explainer p {
    text-align: center;
  }
  .home-motifs__hint {
    order: 3;
    flex: 1 0 100%;
    padding-top: 0.15rem;
  }
}

.page-shell .motifs-page__lead {
  margin: 0 0 1.35rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-muted);
}
.page-shell .motifs-page__lead strong {
  color: var(--ink);
  font-weight: 600;
}

/* Brain / réseau neuronal — motifs de consultation */
.home-motifs .motif-brain {
  position: relative;
  width: min(100% - 2rem, var(--wide));
  margin: 0.5rem auto 0;
  height: clamp(300px, 38vw, 460px);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 32px rgba(30, 41, 59, 0.05);
}

.home-motifs .motif-brain__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.22s ease;
}
.home-motifs .motif-brain__lines line {
  stroke: rgba(94, 168, 240, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  stroke-linecap: round;
}

/* Pas de pointillés visibles derrière la carte au survol / focus */
.home-motifs .motif-brain:has(.motif-brain__node:hover) .motif-brain__lines,
.home-motifs .motif-brain:has(.motif-brain__node:focus-visible) .motif-brain__lines {
  opacity: 0;
}

.home-motifs .motif-brain__node {
  position: absolute;
  left: var(--nx);
  top: var(--ny);
  transform: translate(-50%, -50%);
  max-width: clamp(128px, 15.5vw, 188px);
  padding: 0.45rem 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(238, 246, 254, 0.4) 100%);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  font-size: clamp(0.74rem, 1.4vw, 0.9rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  text-align: center;
  text-decoration: none !important;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(30, 41, 59, 0.07);
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}

/* Halo pulsant — effet neurone */
.home-motifs .motif-brain__node::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 1.75rem;
  background: radial-gradient(circle, rgba(94, 168, 240, 0.16) 0%, transparent 68%);
  z-index: -1;
  animation: brainPulse 2.8s ease-in-out infinite alternate;
}
.home-motifs .motif-brain__node:nth-of-type(1)::after { animation-delay: 0s; }
.home-motifs .motif-brain__node:nth-of-type(2)::after { animation-delay: 0.45s; }
.home-motifs .motif-brain__node:nth-of-type(3)::after { animation-delay: 0.9s; }
.home-motifs .motif-brain__node:nth-of-type(4)::after { animation-delay: 1.35s; }
.home-motifs .motif-brain__node:nth-of-type(5)::after { animation-delay: 1.8s; }
.home-motifs .motif-brain__node:nth-of-type(6)::after { animation-delay: 2.25s; }

@keyframes brainPulse {
  from { opacity: 0.45; transform: scale(0.95); }
  to   { opacity: 1;    transform: scale(1.15); }
}

.home-motifs .motif-brain__node:hover {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(43, 123, 196, 0.15);
  z-index: 2;
}
.home-motifs .motif-brain__node:hover::after {
  animation: none;
  opacity: 0;
  visibility: hidden;
}
.home-motifs .motif-brain__node:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

/* Mobile : retour en flex pills */
@media (max-width: 600px) {
  .home-motifs .motif-brain {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.25rem 0;
  }
  .home-motifs .motif-brain__lines { display: none; }
  .home-motifs .motif-brain__node {
    position: static;
    transform: none;
    max-width: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    padding: 0.45rem 0.95rem;
  }
  .home-motifs .motif-brain__node::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .home-motifs .motif-brain__node::after { animation: none; }
}

/* =============================================
   HOME : TRIPTYQUE
   ============================================= */

.home-triptych {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--bg-alt) 28%, var(--bg-alt) 100%) !important;
}

.home-triptych__grid { display: grid; gap: clamp(1.25rem, 3vw, 1.75rem); }
@media (min-width: 900px) {
  .home-triptych__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
  .home-col--ressources {
    grid-column: 1 / -1;
  }
}

.home-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-triptych__grid > .home-col:nth-child(1) {
  background: linear-gradient(165deg, rgba(94, 168, 240, 0.09) 0%, var(--bg-card) 58%);
}
.home-triptych__grid > .home-col:nth-child(2) {
  background: linear-gradient(165deg, rgba(245, 158, 11, 0.08) 0%, var(--bg-card) 58%);
}
.home-col--ressources {
  background: linear-gradient(145deg, rgba(94, 168, 240, 0.06) 0%, var(--bg-card) 48%, rgba(245, 158, 11, 0.05) 100%);
}
.home-col:hover {
  box-shadow: var(--shadow); transform: translateY(-3px);
}
.home-triptych__grid > .home-col:nth-child(1) .home-col__title {
  color: var(--teal-deep);
}
.home-triptych__grid > .home-col:nth-child(2) .home-col__title {
  color: #b45309;
}
.home-col__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.4rem);
  font-weight: 700; margin: 0 0 0.75rem;
  color: var(--ink);
}
.home-col p {
  margin: 0 0 0.85rem; color: var(--ink-muted); font-size: 0.975rem;
}

/* =============================================
   BOUTONS
   ============================================= */

.btn-rdv {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--rose);
  color: var(--ink) !important;
  font-weight: 700; font-size: 1rem;
  text-decoration: none !important;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}

/* Coordonnées : flou jusqu’au clic, pas de mailto:/tel: dans le HTML initial */
button.contact-reveal.btn-rdv {
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  text-align: center;
}
button.contact-reveal.btn-rdv--outline {
  border: 2px solid rgba(94, 168, 240, 0.45);
}

.contact-reveal .contact-reveal__inner {
  display: inline-block;
  filter: blur(5px);
  transition: filter 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .contact-reveal .contact-reveal__inner {
    transition: none;
    filter: none;
  }
}

button.contact-reveal:not(.btn-rdv) {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--teal);
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  vertical-align: baseline;
}
button.contact-reveal:not(.btn-rdv):hover {
  color: var(--teal-deep);
}
.btn-rdv:hover {
  background: #d97706;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.38);
  transform: translateY(-1px);
  color: var(--ink) !important;
}

.btn-rdv--xl {
  padding: 0.9rem 2.25rem;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  letter-spacing: 0.02em;
}

.btn-rdv--pulse { animation: rdvPulse 3s ease-in-out infinite; }
@keyframes rdvPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28); }
  50% { box-shadow: 0 6px 28px rgba(245, 158, 11, 0.42); }
}

.btn-rdv--outline {
  background: var(--bg-card) !important;
  color: var(--teal-deep) !important;
  border: 2px solid rgba(94, 168, 240, 0.45);
  box-shadow: none;
}
.btn-rdv--outline:hover {
  background: var(--teal-bg) !important;
  color: var(--teal-deep) !important;
  border-color: var(--teal);
}

/* CTA accueil (section motifs) — discret, aligné sur les bleus du site */
.btn-rdv.btn-rdv--home-cta {
  padding: 0.6rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  background: var(--teal-deep);
  color: #fefefe !important;
  box-shadow: 0 1px 3px rgba(30, 41, 59, 0.08), 0 4px 14px rgba(43, 123, 196, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-rdv.btn-rdv--home-cta:hover {
  background: var(--teal-hover);
  color: #fefefe !important;
  box-shadow: 0 2px 6px rgba(30, 41, 59, 0.1), 0 6px 20px rgba(43, 123, 196, 0.28);
  transform: translateY(-1px);
}
.btn-rdv.btn-rdv--home-cta:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* =============================================
   PAGES DE CONTENU
   ============================================= */

.page-shell {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 4.5rem);
  min-height: 45vh;
}

section h2,
.page-shell .approche-block h2,
.page-shell h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.95rem);
  font-weight: 700; margin: 0 0 1.25rem;
  color: var(--ink); padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--teal);
  display: inline-block;
}

.page-shell .approche-block {
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.page-shell .approche-block#outils {
  scroll-margin-top: 5rem;
}
.page-shell .approche-block:first-of-type {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.page-shell .approche-block p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
}
.page-shell .approche-block p:last-child {
  margin-bottom: 0;
}

section p { margin: 0 0 1rem; color: var(--ink-muted); }
section p:last-child { margin-bottom: 0; }

.page-shell .section__inner p,
.page-shell .section__inner .list-books,
.page-shell .section__inner .list-services,
.page-shell .section__inner .card { color: var(--ink-muted); }

main.home-main section { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

/* Pages légales */
.page-shell.legal-page .legal-page__lead { margin-bottom: 0.35rem; }
.page-shell.legal-page .legal-page__block {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.page-shell.legal-page .legal-page__block:first-of-type { margin-top: 1.15rem; }
.page-shell.legal-page .legal-page__block h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin: 1.35rem 0 0.5rem;
}
.page-shell.legal-page .legal-page__block h3:first-child { margin-top: 0; }
.page-shell.legal-page .legal-page__block ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.page-shell.legal-page .legal-page__nav-back {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

/* Lists */
.list-motifs {
  margin: 0; padding: 0; list-style: none; counter-reset: motif;
}
.list-motifs li {
  position: relative;
  padding: 0.85rem 0 0.85rem 3.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
}
.list-motifs li:last-child { border-bottom: none; }

.list-motifs li::before {
  counter-increment: motif;
  content: counter(motif);
  position: absolute; left: 0; top: 0.75rem;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: #fefefe;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  border-radius: 50%;
}

.list-motifs--compact li { padding-top: 0.65rem; padding-bottom: 0.65rem; }
.list-motifs--compact li::before { top: 0.55rem; }

.list-books { margin: 0; padding-left: 1.25rem; color: var(--ink-muted); }
.list-books li { margin-bottom: 0.5rem; }
.list-services { margin: 0; padding-left: 1.25rem; color: var(--ink-muted); }
.list-services li { margin-bottom: 0.4rem; }

.section-note { font-size: 0.9375rem; color: var(--ink-light); margin: 0 0 1rem !important; }
.todo { border-bottom: 1px dashed var(--amber); cursor: default; }

/* Lire plus */
.read-more { margin-top: 1.25rem; }
.read-more details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
}
.read-more summary {
  cursor: pointer; padding: 0.75rem 1rem;
  font-weight: 600; color: var(--teal);
  list-style: none; display: flex; align-items: center; gap: 0.5rem;
  transition: background 0.15s;
}
.read-more summary:hover { background: var(--teal-bg); }
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary::after { content: "↓"; font-size: 0.85em; transition: transform 0.25s; }
.read-more details[open] summary::after { transform: rotate(-180deg); }

.read-more .details__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border); color: var(--ink-muted);
}
.read-more .details__body p:first-child { margin-top: 1rem; }

.home-col .read-more { margin-top: 0.85rem; }
.home-col .read-more details {
  background: var(--bg);
  border-color: rgba(0, 0, 0, 0.06);
}

.home-col#ressources {
  scroll-margin-top: 5rem;
}

/* Ressources : texte à gauche, 4 cartes livres à droite (pleine largeur sous les 2 colonnes) */
.home-col--ressources .home-ressources__layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
@media (min-width: 720px) {
  .home-col--ressources .home-ressources__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1.15fr);
  }
}

.home-col--ressources .home-ressources__intro .home-col__title {
  margin-top: 0;
  color: var(--teal-deep);
}
.home-col--ressources .home-ressources__intro p:last-child {
  margin-bottom: 0;
}

.home-ressources__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 520px) {
  .home-ressources__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .home-ressources__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-book-card {
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(30, 41, 59, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-book-card:hover {
  box-shadow: 0 6px 20px rgba(30, 41, 59, 0.1);
  transform: translateY(-2px);
}

.home-book-card--lead {
  grid-column: 1 / -1;
  padding: 1rem 1.1rem 1.1rem;
  background: linear-gradient(135deg, rgba(94, 168, 240, 0.11), rgba(245, 158, 11, 0.07));
  border: 1px solid var(--border);
}
@media (min-width: 520px) and (max-width: 959px) {
  .home-book-card--lead {
    grid-column: span 2;
  }
  .home-book-card--sage {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .home-book-card--lead {
    grid-column: 1 / -1;
  }
}

.home-book-card__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--teal-deep);
  letter-spacing: 0.02em;
}
.home-book-card__tagline {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.home-book-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
}
.home-book-card__author {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.home-book-card--sea {
  background: linear-gradient(180deg, rgba(94, 168, 240, 0.1) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.home-book-card--rose {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.09) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.home-book-card--sage {
  background: linear-gradient(180deg, rgba(107, 144, 128, 0.11) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.home-book-card--sage:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .home-book-card,
  .home-book-card--sage:hover {
    transition: none;
    transform: none;
  }
}

/* =============================================
   PAGE CONTACT
   ============================================= */

.contact-rdv {
  margin: 0 0 1.25rem; display: flex; flex-direction: column;
  gap: 0.5rem; align-items: flex-start;
}
.contact-rdv__note { font-size: 0.9rem; color: var(--ink-light); }
.contact-card { text-align: left; }
.contact-line { margin: 0 0 0.35rem; }
.contact-hours {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
}
.contact-hours p { margin: 0 0 0.35rem; }
.contact-social { margin: 1rem 0 0 !important; font-size: 0.9375rem; }

.page-shell--contact .section__inner {
  max-width: min(100% - 2rem, var(--max));
}

.page-shell__h1-contact {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  margin: 0 0 1.5rem;
  border-bottom: 3px solid var(--teal);
  padding-bottom: 0.5rem; display: inline-block;
}

.rdv-block {
  margin-bottom: 2.5rem; padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--teal-bg);
  border: 1px solid rgba(94, 168, 240, 0.35);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.rdv-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.55rem);
  margin: 0 0 0.75rem; color: var(--ink);
}
.rdv-block__intro { margin: 0 0 1.25rem; color: var(--ink-muted); }
.rdv-block__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 540px) {
  .rdv-block__actions { flex-direction: row; flex-wrap: wrap; }
}
.rdv-block__online { margin: 1.25rem 0 0 !important; }

.contact-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  margin: 0 0 0.85rem; color: var(--ink);
}
.contact-coords-section { margin-bottom: 1.5rem; }
.contact-modalites-link { margin-top: 1.5rem !important; }

/* =============================================
   PAGE MODALITÉS PRATIQUES
   ============================================= */

.mp-page {
  margin: 0;
  padding: 0;
}

.mp-hero {
  width: 100%;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(94, 168, 240, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.mp-hero__inner {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}
.mp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ink);
  line-height: 1.1;
}
.mp-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 52rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-muted);
}
.mp-hero__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.mp-hero__anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.mp-hero__anchor svg {
  flex-shrink: 0;
  stroke: var(--teal);
}
.mp-hero__anchor:hover {
  background: var(--teal-bg);
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(94, 168, 240, 0.18);
  transform: translateY(-1px);
  color: var(--teal-deep);
}

.mp-band {
  width: 100%;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  scroll-margin-top: 5rem;
}
.mp-band__inner {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}

.mp-band--acces {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mp-band--paiement {
  background:
    linear-gradient(160deg, rgba(245, 158, 11, 0.05) 0%, var(--bg) 50%);
}
.mp-band--absences {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mp-band__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.mp-band__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fefefe;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  border-radius: 50%;
  line-height: 1;
}
.mp-band--paiement .mp-band__number {
  background: linear-gradient(135deg, var(--amber), #d97706);
}
.mp-band--absences .mp-band__number {
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: var(--ink);
}
.mp-band__heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  border: none;
  padding: 0;
  display: inline;
}

.mp-address {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: 1.1rem 1.5rem;
  background: var(--teal-bg);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
.mp-address__pin {
  flex-shrink: 0;
}
.mp-address__street {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.mp-address__city {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.mp-cols {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 640px) {
  .mp-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.mp-cols__block {
  padding: 0;
}
.mp-cols__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.65rem;
  color: var(--teal-deep);
}
.mp-cols__subtitle svg {
  flex-shrink: 0;
  stroke: var(--teal);
}

.mp-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.mp-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.mp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.75;
}

.mp-info-box {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
}
.mp-info-box a {
  font-weight: 600;
}

.mp-repere {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.mp-repere p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.mp-prose {
  max-width: 52rem;
}
.mp-prose p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  font-size: 1.0125rem;
}
.mp-prose p:last-child {
  margin-bottom: 0;
}
.mp-prose strong {
  color: var(--ink);
}

.mp-cta-band {
  width: 100%;
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}
.mp-cta-band__inner {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 540px) {
  .mp-cta-band__inner {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    text-align: left;
  }
}
.mp-cta-band__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: #f8fbff;
}

/* Titres secondaires (admin, compte — classe partagée) */
.modalites-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}
.modalites-h2:first-child { margin-top: 0; }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  padding: 2.5rem 1rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
  background: #f8fafc;
}
.site-footer__wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__meta {
  text-align: center;
}
.site-footer strong { color: var(--ink); font-weight: 600; }
.footer-legal,
.footer-copy {
  margin: 0.5rem 0 0; max-width: 36rem;
  margin-inline: auto; line-height: 1.5;
}
.footer-legal a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--teal-deep); }

/* =============================================
   UTILITAIRES
   ============================================= */

.section--transition { padding: 1.25rem 0 !important; background: transparent !important; }
.section--transition .h2--soft { margin-bottom: 0; border-bottom: none; font-style: italic; opacity: 0.8; }
.page-home-after-hero { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3rem); }
.home-teaser { margin: 0; font-size: 1.05rem; color: var(--ink-muted); text-align: center; }

/* Flash messages */
.flash { padding: 0.75rem 0; font-size: 0.95rem; font-weight: 600; }
.flash--success { background: var(--teal-bg); color: var(--teal-deep); border-bottom: 1px solid rgba(94, 168, 240, 0.3); }
.flash--error { background: var(--rose-bg); color: #b45309; border-bottom: 1px solid rgba(245, 158, 11, 0.25); }
.flash__inner { padding-inline: 1rem; }

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: 1rem; max-width: 28rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 0.6rem 0.75rem; font-size: 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; background: var(--bg-card);
}
.form-field textarea { min-height: 6rem; resize: vertical; }
.form-actions { margin-top: 0.5rem; }
.form-hint { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table th,
.data-table td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { font-weight: 600; color: var(--ink); background: var(--bg-alt); }
.data-table tr:hover td { background: rgba(94, 168, 240, 0.07); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; }
.account-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Booking calendar */
.booking-week { margin: 1.5rem 0; }
.booking-week__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.booking-slots { display: grid; gap: 0.5rem; }
@media (min-width: 640px) {
  .booking-slots { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.slot-btn {
  display: block; padding: 0.65rem; text-align: center;
  border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); cursor: pointer; font-weight: 600;
  color: var(--teal); text-decoration: none !important; transition: border-color 0.15s, background 0.15s;
}
.slot-btn:hover { border-color: var(--teal); background: var(--teal-bg); }
.slot-btn.is-selected { border-color: var(--teal); background: var(--teal-bg); color: var(--teal-deep); }

/* Links row */
.link-row { margin-top: 1rem; font-size: 0.95rem; }
