/* ============================================================
   CAP H'INNO — Styles principaux
   ============================================================ */

/* --- Tokens ------------------------------------------------- */
:root {
  --mauve:        #6A4C8C;
  --mauve-dark:   #633189;
  --orange:       #EA6E2D;
  --yellow:       #F4C03F;
  --salmon:       #f59968;
  --lilac:        #cf93ff;
  --lilac-pale:   #cdbce0;
  --ink:          #241B2E;
  --cream:        #F9F7F3;
  --text-muted:   #4a4550;
  --text-subtle:  #8a8079;
  --border:       #ddd5ca;
  --border-light: rgba(249,247,243,0.22);
  --font:         'Satoshi', sans-serif;
  --max-w:        1200px;
  --px:           44px;
}

/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; background: var(--cream); }
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; }
h1, h2, h3 { margin: 0; }
p     { margin: 0; }

/* --- Protection du contenu ---------------------------------- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}
img, svg {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
}
input::selection, textarea::selection { background: var(--yellow); color: var(--ink); }

/* --- Conteneur ---------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

/* --- Étiquette de section ----------------------------------- */
.section-label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 8px;
}
.section-label--yellow {
  color: var(--yellow);
  border-color: var(--border-light);
  margin-bottom: 18px;
}
.section-label--no-border {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 22px;
}
.section-label--lg {
  font-size: 22px;
  letter-spacing: 0.06em;
}

/* --- Page --------------------------------------------------- */
.page {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  margin-top: 16px;
  padding-left: var(--px);
  padding-right: var(--px);
}
.nav__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background: rgba(249,247,243,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(36, 27, 46, 0.10);
  border-radius: 100px;
  box-shadow: 0 10px 34px -14px rgba(36, 27, 46, 0.3);
}
.nav__logo img { height: 54px; width: auto; }

.nav__links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.nav__link:hover { color: var(--mauve); }
.nav__link--cta {
  font-weight: 600;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}

/* Burger (masqué sur desktop) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 3px;
  transition: opacity 0.15s;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--yellow  { background: var(--yellow); color: var(--ink); }
.btn--ghost {
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(249,247,243,0.5);
  padding: 0 0 3px;
  border-radius: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  color: var(--cream);
  border-bottom: 1px solid var(--ink);
  background: var(--mauve-dark);
}
.hero__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}
.hero__content {
  padding: 90px 56px 90px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--orange);
}
.hero__subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #e3d6f0;
  margin-bottom: 38px;
  max-width: 430px;
}
.hero__actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.hero__image-col {
  padding: 40px 0 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__image-col picture {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(15, 8, 24, 0.7);
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { border-bottom: 1px solid var(--ink); }
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #5a5360;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}
.trust__sep { color: var(--lilac-pale); }

/* ============================================================
   À PROPOS
   ============================================================ */
.about { padding: 100px 0; }
.about__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.about__photo {
  width: 80%;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin: 0 auto;
}
.about .section-label { margin-bottom: 26px; }
.about__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.about__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
}
.about__text + .about__text { margin-top: 18px; }
.about__signature {
  margin-top: 28px;
  font-family: var(--font);
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--mauve-dark);
  max-width: 580px;
}

/* ============================================================
   FORMATIONS
   ============================================================ */
.formations {
  color: var(--cream);
  border-top: 1px solid var(--ink);
  background: var(--mauve-dark);
}
.formations__inner { padding-top: 96px; padding-bottom: 96px; }
.formations__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}
.formations__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.formation-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}
.formation-row__number {
  font-family: var(--font);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.formation-row__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}
.formation-row__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.formation-row__audience {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.formation-row__pricing { text-align: right; flex-shrink: 0; }
.formation-row__price-tag {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.formation-row__mode {
  font-size: 13px;
  color: #ededed;
  margin-top: 10px;
}
.formation-row__desc {
  font-size: 19px;
  line-height: 1.65;
  color: #fff;
  margin-bottom: 14px;
}
.formation-row__skills {
  font-size: 16px;
  color: #fff;
  border-top: 1px solid rgba(249,247,243,0.2);
  padding-top: 10px;
  display: block;
  line-height: 1.6;
}

.formations__note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #cdbce0;
}
.formations__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 34px;
}
.formations__cta-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  max-width: 520px;
  line-height: 1.2;
}
.formations__cta-sub {
  font-size: 17px;
  color: #ececec;
  margin-top: 8px;
}

/* ============================================================
   MÉTHODE
   ============================================================ */
.methode { padding: 100px 0; }
.methode__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding-top: 30px;
}
.methode__left { display: flex; flex-direction: column; gap: 28px; }
.methode__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.methode__photo {
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.methode__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.methode__steps {
  position: relative;
  padding-left: 52px;
  align-self: start;
}
.methode__line { display: none; }
.step {
  position: relative;
  padding-bottom: 48px;
  min-height: 120px;
}
.step:last-child { padding-bottom: 0; min-height: auto; }
/* Connecteur entre les points */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -33px;
  top: 40px;
  bottom: -2px;
  width: 2px;
}
.step:nth-child(2)::after { background: linear-gradient(to bottom, var(--mauve), var(--orange)); }
.step:nth-child(3)::after { background: linear-gradient(to bottom, var(--orange), var(--yellow)); }
.step:nth-child(4)::after { background: linear-gradient(to bottom, var(--yellow), var(--lilac-pale)); }
.step__dot {
  position: absolute;
  left: -52px;
  top: 2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__dot span {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.step__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.step__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================================
   MODALITÉS / FINANCEMENT
   ============================================================ */
.modalites {
  color: var(--cream);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--mauve-dark);
}
.modalites__inner {
  padding-top: 90px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.modalites__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.modalites__subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: #e3d6f0;
  max-width: 380px;
}
.modalites__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modalite { padding: 24px; }
.modalite--tl { padding-top: 0; padding-left: 0; border-bottom: 1px solid rgba(249,247,243,0.2); border-right: 1px solid rgba(249,247,243,0.2); }
.modalite--tr { padding-top: 0; padding-right: 0; border-bottom: 1px solid rgba(249,247,243,0.2); }
.modalite--bl { padding-bottom: 0; padding-left: 0; border-right: 1px solid rgba(249,247,243,0.2); }
.modalite--br { padding-bottom: 0; padding-right: 0; }
.modalite__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.modalite__text {
  font-size: 17px;
  line-height: 1.55;
  color: #d3c4e6;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.temoignages { padding: 100px 0; }
.temoignages__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 34px 0 48px;
}
/* --- Témoignages ------------------------------------------- */
.temoignages__collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 54px 76px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 8px;
}
.temoignage {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.temoignage__quote {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 20px;
}
.temoignage__author {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.temoignage__date {
  font-weight: 400;
  white-space: nowrap;
}
.temoignage__date::before {
  content: "·";
  margin: 0 0.55em 0 0.25em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); border-top: 1px solid var(--ink); }
.faq__inner { padding-top: 100px; padding-bottom: 100px; }
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding-top: 32px;
}
.faq__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__summary {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  gap: 16px;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.faq__icon--open {
  background: var(--ink);
  color: var(--cream);
}
.faq__answer {
  display: grid !important; /* override le display:none natif de <details> */
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}
.faq__answer--open { grid-template-rows: 1fr; }
.faq__answer__inner { min-height: 0; overflow: hidden; padding-bottom: 22px; }
.faq__answer p { margin-bottom: 12px; }
.faq__answer p:last-child { margin-bottom: 0; }
.faq__bullet { display: flex; flex-direction: column; gap: 7px; }
.faq__bullet-item { display: flex; align-items: baseline; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  color: var(--cream);
  border-top: 1px solid var(--ink);
  background: var(--mauve-dark);
}
.contact__inner {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.contact__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 50px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.contact__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #e3d6f0;
  max-width: 460px;
}
.contact__right {
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 56px;
}
.contact__email {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 21px;
  color: var(--yellow);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.contact__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.2s, border-color 0.2s;
}
.social-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream); }
.footer__inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer__logo img { height: 66px; width: auto; }
.footer__copy { font-size: 17px; color: #a99f93; }
.footer__links {
  display: block;
  margin-top: 8px;
  font-size: 14px;
}
.footer__links a {
  color: var(--text-subtle);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__links a:hover { color: var(--mauve); }
.footer__links a + a { margin-left: 18px; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal { background: var(--cream); }
.legal__inner {
  max-width: 820px;
  padding-top: 72px;
  padding-bottom: 90px;
}
.legal__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 26px 0 10px;
}
.legal__meta {
  font-size: 14px;
  color: var(--text-subtle);
  margin-bottom: 34px;
}
.legal__chapo {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  padding-bottom: 8px;
}
.legal h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 42px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal p + p { margin-top: 14px; }
.legal ul {
  margin: 14px 0 0;
  padding-left: 20px;
}
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a {
  color: var(--mauve-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal a:hover { color: var(--orange); }
.legal__note {
  font-size: 14px;
  font-style: italic;
  color: var(--text-subtle);
  margin-top: 12px;
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 15px;
}
.legal__table th,
.legal__table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border: 1px solid var(--border);
  line-height: 1.6;
}
.legal__table th {
  background: #f1ece5;
  color: var(--ink);
  font-weight: 600;
}
.legal__table td { color: var(--text-muted); }


/* Nav des pages légales */
.nav--simple .nav__links { display: flex; }

/* ============================================================
   ANIMATIONS — Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: none;
}

/* Délais en cascade pour les grilles */
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }

/* Respect des préférences système */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE — Tablette (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --px: 40px; }

  .nav__links { gap: 24px; }
  .nav__link  { font-size: 15px; }

  /* Hero */
  .hero__inner              { grid-template-columns: 1fr; }
  .hero__content            { padding: 72px 0 32px; border-right: none; max-width: 680px; }
  .hero__title              { font-size: 52px; }
  .hero__image-col          { padding: 0 0 64px; }
  .hero__photo              { aspect-ratio: 16/9; }

  .about__inner             { gap: 40px; }
  .about__title             { font-size: 34px; }

  .formations__title        { font-size: 34px; }

  .methode__inner           { gap: 32px; }
  .methode__title           { font-size: 36px; }
  .methode__photo img       { height: 220px; }

  .modalites__inner         { gap: 40px; }
  .modalites__title         { font-size: 30px; }

  .temoignages__title       { font-size: 36px; }
  .temoignages__collage     { gap: 44px 48px; }

  .faq__title               { font-size: 36px; }

  .contact__title           { font-size: 40px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --px: 24px; }

  /* Nav */
  .nav {
    top: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    background: rgba(249,247,243,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ink);
  }
  .nav__inner {
    padding: 16px var(--px);
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--ink);
    padding: 20px var(--px) 28px;
  }
  .nav--open .nav__links { display: flex; }
  .nav__link { font-size: 18px; }

  /* Pages légales */
  .nav--simple .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav--simple .nav__link { font-size: 15px; }
  .nav--simple .nav__logo img { height: 42px; }


  .legal__inner { padding-top: 48px; padding-bottom: 64px; }
  .legal__title  { font-size: 30px; }
  .legal h2      { font-size: 19px; margin-top: 34px; }
  .legal__chapo  { font-size: 17px; }
  .legal__table  { display: block; overflow-x: auto; }

  /* Hero */
  .hero__inner      { grid-template-columns: 1fr; }
  .hero__content    { padding: 56px 0 28px; border-right: none; max-width: none; }
  .hero__title      { font-size: 38px; }
  .hero__subtitle   { font-size: 17px; }
  .hero__image-col  { padding: 0 0 48px; }
  .hero__photo      { aspect-ratio: 3/2; }
  .hero__image-col picture { border-radius: 12px; }

  /* About */
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { width: 55%; }
  .about__title { font-size: 28px; }
  .about__text  { font-size: 17px; }

  /* Formations */
  .formations__title      { font-size: 26px; }
  .formation-row          { grid-template-columns: 44px 1fr; gap: 16px; }
  .formation-row__number  { font-size: 30px; }
  .formation-row__desc    { font-size: 17px; }

  /* Méthode */
  .methode__inner { grid-template-columns: 1fr; gap: 32px; }
  .methode__title { font-size: 28px; }
  .methode__photo img { height: 200px; }

  /* Modalités */
  .modalites__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; padding-bottom: 60px; }
  .modalites__title { font-size: 26px; }
  .modalites__grid  { grid-template-columns: 1fr; }
  .modalite { padding: 18px 0; border-right: none !important; border-bottom: 1px solid rgba(249,247,243,0.2) !important; }
  .modalite--br { border-bottom: none !important; }

  /* Témoignages */
  .temoignages__title   { font-size: 28px; margin-bottom: 32px; }
  .temoignages__collage {
    display: flex;
    grid-template-columns: none;
    gap: 28px;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--px));
    padding: 0 var(--px) 6px;
  }
  .temoignages__collage::-webkit-scrollbar { display: none; }
  .temoignage {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .temoignage__quote    { font-size: 16px; }

  /* FAQ */
  .faq__grid    { grid-template-columns: 1fr; gap: 24px; }
  .faq__title   { font-size: 26px; }
  .faq__summary { font-size: 16px; }

  /* Contact */
  .contact__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 60px; padding-bottom: 60px; }
  .contact__title { font-size: 34px; }
  .contact__right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 36px;
  }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* Formations CTA */
  .formations__cta { flex-direction: column; align-items: flex-start; }
}

/* ─── Photo ambiance parallax ─── */
.ambiance-photo {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
}
.ambiance-photo img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  top: -20%;
  left: 0;
  will-change: transform;
}

@media (max-width: 767px) {
  .ambiance-photo { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambiance-photo img { position: static; height: 100%; top: auto; }
}

/* ─── Modal devis ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}
.modal--open {
  visibility: visible;
  pointer-events: all;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 27, 46, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal--open .modal__overlay { opacity: 1; }

.modal__panel {
  position: relative;
  background: var(--cream);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 52px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.modal--open .modal__panel { opacity: 1; transform: none; }

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.modal__close:hover { background: var(--ink); color: var(--cream); }

.modal__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.modal__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 8px;
}
.modal__subtitle {
  font-size: 15px;
  color: var(--text-subtle);
  margin: 0 0 36px;
}

/* Form */
.modal__form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-optional { font-weight: 400; color: var(--text-subtle); }
.form-input {
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d4cfc9;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 2px;
}
.form-input:focus { border-color: var(--mauve); }
.form-input::placeholder { color: #b5aea6; }
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23241B2E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fff;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 16px; font-size: 17px; margin-top: 4px; border: none; cursor: pointer; }
.form-submit:disabled { cursor: default; }
.form-status { margin: -8px 0 0; font-size: 14px; line-height: 1.5; min-height: 1px; }
.form-status--ok    { color: #2ca36b; }
.form-status--error { color: #d4593a; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.form-consent input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--mauve); cursor: pointer; }

/* ============================================================
   BANNIÈRE COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 12px 40px rgba(36,27,46,0.35);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(calc(100% + 30px));
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner--visible { transform: translateY(0); opacity: 1; }
.cookie-banner__text { font-size: 14px; line-height: 1.55; }
.cookie-banner__text a { color: var(--yellow); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner__actions .btn { font-size: 15px; padding: 11px 20px; }
.cookie-btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--border-light);
}

@media (max-width: 767px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { padding: 36px 24px 40px; max-height: 95vh; }
  .form-row { grid-template-columns: 1fr; }
  .modal__title { font-size: 28px; }
}
