/* Anahata Yoga: tokens repris du site (X Integrity Light + child.css)
   Typo: Quicksand 300/400/500/700
   Accent: #45409c / hover #645ec9
   Fond: blanc, wash #f3f3f3
   Boutons: 5px, uppercase
   Light only. Pas de dark-mode. */

@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/quicksand-300-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/quicksand-300.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/quicksand-400-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/quicksand-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/quicksand-500-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/quicksand-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/quicksand-700-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Quicksand;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/quicksand-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF;
}

:root {
  color-scheme: light;
  --ink: #1d1d1b;
  --muted: #5a5a58;
  --paper: #ffffff;
  --wash: #f3f3f3;
  --line: #e6e6e6;
  --accent: #45409c;
  --accent-hover: #645ec9;
  --footer: #4f4f4f;
  --footer-bottom: #191919;
  --r: 5px;
  --nav: 72px;
  --ease: 300ms ease;
}
#fondements,
#pedagogie,
#programme,
#amelie,
#carnet,
#infos {
  scroll-margin-top: calc(var(--nav) + 12px);
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Quicksand, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero,
.hero-copy,
.hero-copy-in,
.split,
.hours,
.teacher-grid,
.carnet-layout,
.facts-stage,
.qgrid,
.story,
.theme-list,
.why-layout,
.close-stage,
.wrap,
.nav-in,
.fact,
.teacher-photo {
  min-width: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: Quicksand, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p { margin: 0 0 1.15em; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Icons: FA Light via <img>. Buttons stay 14px; body marks 18-22px. */
.icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  flex: 0 0 14px;
}
.icon-lg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  vertical-align: 0;
}
.icon-accent {
  filter: invert(24%) sepia(42%) saturate(1800%) hue-rotate(226deg) brightness(80%) contrast(95%);
}

/* NAV: barre blanche, comme Anahata, pas une pill dark */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img {
  height: 48px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 1.25rem;
}
.nav-links a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.085em;
  text-transform: none;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-menu { display: none; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger i,
.burger i::before,
.burger i::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
}
.burger i { top: 19px; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }
.burger i,
.burger i::before,
.burger i::after {
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease, background 0.2s ease;
}
.nav.is-open .burger i { background: transparent; }
.nav.is-open .burger i::before { top: 0; transform: rotate(45deg); }
.nav.is-open .burger i::after { top: 0; transform: rotate(-45deg); }

/* Bouton Anahata (.anabtn) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent-hover);
  border-radius: var(--r);
  padding: 14px 28px;
  font-family: Quicksand, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}
.btn .icon { filter: invert(1); }
.btn:hover .icon { filter: none; }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 13px 22px;
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-ghost .icon { filter: invert(24%) sepia(42%) saturate(1800%) hue-rotate(226deg) brightness(80%) contrast(95%); }
.btn-ghost:hover .icon { filter: invert(1); }

.btn-on-purple {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-on-purple:hover {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.btn-on-purple .icon { filter: invert(1); }
.btn-on-purple:hover .icon { filter: invert(24%) sepia(42%) saturate(1800%) hue-rotate(226deg) brightness(80%) contrast(95%); }

.btn-light {
  background: #fff;
  color: var(--accent);
  border: 1px solid #fff;
}
.btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-light .icon {
  filter: invert(24%) sepia(42%) saturate(1800%) hue-rotate(226deg) brightness(80%) contrast(95%);
}
.btn-light:hover .icon { filter: invert(1); }

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "copy photo";
  min-height: calc(100dvh - var(--nav));
  background: var(--paper);
}
.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4.5rem 3.5rem 0;
  min-width: 0;
}
.hero-photo { grid-area: photo; }
.hero .wrap { display: contents; }
.hero-copy-in {
  width: min(580px, 100%);
  margin-left: auto;
  padding: 2.5rem 3.2rem 2.5rem 1.25rem;
}
.kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin: 0 0 0.85rem;
  padding-bottom: 6px;
  text-wrap: balance;
}
.hero .lead {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}
.hero .lead em {
  font-style: italic;
  color: var(--ink);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.hero-photo {
  min-height: 420px;
  overflow: hidden;
  background: var(--wash);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - var(--nav));
  object-fit: cover;
  object-position: center 18%;
}

/* MANIFESTO */
.manifesto {
  background: var(--wash);
  padding: 4.5rem 0;
}
.manifesto-in {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.1rem 1.35rem;
  align-items: start;
}
.manifesto-in .icon-lg { margin-top: 0.35rem; }
.manifesto blockquote {
  margin: 0;
  max-width: none;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.22;
  color: var(--ink);
  text-wrap: pretty;
}
.manifesto em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem 0;
}
.split-flip {
  grid-template-columns: 0.95fr 1.05fr;
  padding-top: 0;
}
.split img {
  width: 100%;
  height: min(520px, 68vw);
  object-fit: cover;
}
.split h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); margin-bottom: 0.75rem; }
.split p { color: var(--muted); max-width: 54ch; }
.story .note {
  margin-top: 0.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}

.closing-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 0 0 4.8rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}
.closing-note .icon {
  width: 28px;
  height: 28px;
}
.closing-note p {
  margin: 0;
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  max-width: 42rem;
}

.why {
  background: var(--wash);
  padding: 4.5rem 0 4.5rem;
}
.why-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem 2.8rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.why-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-visual {
  position: relative;
  min-height: 420px;
}
.why-visual > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center 28%;
}
.why-inset {
  position: absolute;
  right: -18px;
  bottom: 28px;
  width: min(46%, 220px);
  height: 150px;
  object-fit: cover;
  box-shadow: 0 14px 36px rgb(29 29 27 / 0.18);
  border: 4px solid var(--paper);
}
.why h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  max-width: none;
}
.why-copy p {
  color: var(--muted);
  max-width: none;
}
.why-copy p:last-child { margin-bottom: 0.2rem; }
.why-label {
  margin: 0.2rem 0 0.85rem;
  font-weight: 700;
}
.why-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  max-width: none;
}
.why-points li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--paper);
}
.why-points .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-bottom: 0.25rem;
}
.why-points strong {
  display: block;
  margin-bottom: 0.15rem;
}
.why-points span {
  color: var(--muted);
  font-size: 0.98rem;
}
.pennac {
  margin: 0.4rem 0 0.85rem;
  padding: 1.7rem 1.8rem 1.6rem;
  background: var(--paper);
  max-width: none;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.6rem 1.1rem;
  align-items: end;
}
.pennac .icon-quote {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-self: start;
  margin-top: 0.35rem;
}
.pennac blockquote {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--accent);
  text-wrap: pretty;
}
.pennac figcaption {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 0.2rem;
}
.pennac-echo {
  max-width: none;
  color: var(--ink);
  font-weight: 500;
  margin: 0.15rem 0 0;
}
.pennac-sec {
  background: var(--wash);
  padding: 0 0 4.5rem;
}

.carnet-sec {
  background: var(--paper);
  padding: 4.8rem 0 4.5rem;
}
.carnet-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.4rem 3rem;
  align-items: center;
}
.carnet-copy h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  margin-bottom: 0.85rem;
}
.carnet-copy p { color: var(--muted); max-width: 48ch; }
.carnet-copy p:last-child {
  color: var(--ink);
  font-weight: 700;
}
.carnet-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 2.4rem 1.8rem 2.8rem;
}
.carnet-deco {
  position: absolute;
  pointer-events: none;
}
.carnet-deco-back {
  inset: 14% 16% 10% 8%;
  background: var(--accent);
  opacity: 0.09;
  transform: rotate(-6deg);
}
.carnet-deco-frame {
  inset: 8% 10% 16% 14%;
  border: 1px solid var(--accent);
  opacity: 0.38;
  transform: rotate(5deg);
}
.carnet-deco-dot {
  width: 72px;
  height: 72px;
  right: 6%;
  top: 4%;
  border: 1px dashed rgb(69 64 156 / 0.45);
  border-radius: 50%;
}
.carnet-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(100%, 340px);
  background: var(--paper);
  padding: 10px 10px 14px;
  box-shadow: 0 22px 48px rgb(29 29 27 / 0.16);
}
.carnet-frame::before,
.carnet-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  z-index: 2;
}
.carnet-frame::before {
  top: -8px;
  left: -8px;
  border-right: 0;
  border-bottom: 0;
}
.carnet-frame::after {
  right: -8px;
  bottom: -8px;
  border-left: 0;
  border-top: 0;
}
.carnet-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.carnet-frame figcaption {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

/* PROGRAMME */
.prog {
  background: var(--wash);
  padding: 4.5rem 0 5rem;
}
.prog h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
.prog-head {
  margin-bottom: 1.7rem;
}
.prog-head .icon-quote {
  width: 22px;
  height: 22px;
  margin-bottom: 0.55rem;
}
.prog-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--accent);
}
.prog-head p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.hours {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hours article {
  background: var(--paper);
  padding: 1.4rem 1.35rem 1.5rem;
}
.hours .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-bottom: 0.7rem;
}
.hours .num {
  display: block;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}
.hours .num span {
  font-size: 0.95rem;
  margin-left: 2px;
  color: var(--muted);
  font-weight: 500;
}
.hours h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 700;
}
.hours p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.prog-story {
  margin-top: 2.4rem;
  display: grid;
  gap: 2.4rem;
}
.story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}
.story-flip {
  grid-template-columns: 1.15fr 0.85fr;
}
.story-flip > img { order: 2; }
.story > img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}
.story-hours {
  margin: 0 0 0.25rem;
  font-size: clamp(3.1rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: var(--accent);
}
.story-hours span {
  font-size: 1.05rem;
  margin-left: 4px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: 0.55em;
}
.story-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.story-kicker .icon {
  width: 14px;
  height: 14px;
}
.story h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-bottom: 0.65rem;
}
.story p { color: var(--muted); max-width: 58ch; }
.theme-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}
.theme-list li { min-width: 0; }
.theme-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}
.theme-list span {
  color: var(--muted);
  font-size: 0.92rem;
}
.exam {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.7rem;
}
.exam h3 { margin-bottom: 0.5rem; }
.exam p { color: var(--muted); margin: 0; }

/* AMELIE */
.teacher { padding: 2.4rem 0 5rem; }
.teacher-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.teacher-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.teacher h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
.teacher p { color: var(--muted); }
.books {
  display: flex;
  gap: 10px;
  margin: 1.2rem 0 1.3rem;
  align-items: flex-end;
}
.books img {
  width: 88px;
  height: auto;
  box-shadow: 0 8px 22px rgb(29 29 27 / 0.12);
}
.books img.new-book {
  width: 108px;
}
.meta-line {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* QUOTES: light, pas d'encart noir */
.quotes {
  background: var(--wash);
  padding: 4.5rem 0 5rem;
}
.quotes h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
.qgrid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}
.qgrid figure {
  margin: 0;
  background: var(--paper);
  padding: 1.4rem 1.35rem 1.25rem;
}
.qgrid blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}
.qgrid figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}

/* INFOS */
.facts { padding: 5rem 0; }
.facts h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  margin-bottom: 1.6rem;
}
.facts-stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.2rem;
  align-items: stretch;
}
.facts-stage > img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.fact-list { display: grid; gap: 0; }
.fact {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.fact .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.15rem;
}
.fact:first-child { padding-top: 0; }
.fact:last-child { border-bottom: 0; }
.fact strong { display: block; font-size: 1.02rem; font-weight: 700; }
.fact span { color: var(--muted); font-size: 0.92rem; }
.price {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  grid-column: 1 / -1;
}
.price-card {
  margin-top: 1.15rem;
  padding: 1.45rem 1.5rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r);
}
.price-card .price {
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  margin-bottom: 0.45rem;
}
.price-card strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.price-card span {
  color: rgb(255 255 255 / 0.82);
  font-size: 0.92rem;
}
.yacep {
  width: 72px;
  height: auto;
  margin-top: 0.4rem;
}

/* FAQ */
.faq {
  background: var(--wash);
  padding: 4.5rem 0 5rem;
}
.faq h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
.faq-in { max-width: 720px; }
details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1;
}
details[open] summary::after { content: "x"; }
details p {
  margin: 0.65rem 0 0.2rem;
  color: var(--muted);
}

/* CLOSE: photo + panneau indigo, pas un bandeau plat */
.close { padding: 0; }
.close-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: min(72dvh, 640px);
  background: var(--accent);
}
.close-photo {
  min-height: 320px;
  overflow: hidden;
  background: #3a3680;
}
.close-photo img {
  width: 100%;
  height: 100%;
  min-height: min(72dvh, 640px);
  object-fit: cover;
  object-position: center 62%;
}
.close-box {
  background: var(--accent);
  color: #fff;
  padding: 3.4rem 3.6rem 3.6rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.close-box h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1.15rem;
}
.close-box p {
  color: rgb(255 255 255 / 0.88);
  max-width: 42ch;
  margin-bottom: 1.2rem;
}
.kicker-light {
  color: rgb(255 255 255 / 0.78);
}
.close-meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
}
.close-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}
.close-meta .icon { filter: invert(1); }
.close-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* FOOTER Anahata */
.colophon {
  background: var(--footer);
  color: #fff;
  padding: 2.4rem 0;
  font-size: 15px;
}
.colophon a { color: #fff; }
.colophon a:hover { color: #ddd; }
.colophon-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.legal {
  background: var(--footer-bottom);
  color: #9a9a9a;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  font-family: Quicksand, Arial, sans-serif;
}
.legal a { color: #9a9a9a; }
.legal-in {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 1100px) {
  .hero-copy { padding: 2.2rem 2rem 2.4rem 0; }
  .hero-copy-in { padding: 1.6rem 1.4rem 1.6rem 0.4rem; }
  .hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
}

@media (max-width: 900px) {
  :root { --nav: 60px; }
  .wrap {
    width: calc(100% - 1.75rem);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .nav { position: sticky; }
  .nav-in { gap: 0.4rem; }
  .brand img { height: 36px; width: auto; }
  .btn-nav { display: none; }
  .burger {
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--nav);
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 0.85rem 1.1rem 1.15rem;
    gap: 0.35rem;
    border-bottom: 1px solid var(--line);
    margin: 0;
    box-shadow: 0 12px 24px rgb(29 29 27 / 0.08);
  }
  .nav.is-open .nav-links a {
    padding: 0.7rem 0.2rem;
    font-size: 17px;
    letter-spacing: 0.04em;
  }
  .nav.is-open .nav-links .btn-menu {
    display: inline-flex;
    width: 100%;
    margin-top: 0.4rem;
    box-sizing: border-box;
  }

  .hero,
  .split,
  .teacher-grid,
  .facts-stage,
  .qgrid,
  .story,
  .story-flip,
  .theme-list,
  .why-layout,
  .carnet-layout,
  .close-stage,
  .pennac {
    grid-template-columns: 1fr;
  }
  .hours { grid-template-columns: 1fr 1fr; }
  .story-flip > img { order: 0; }

  .hero {
    min-height: 0;
    grid-template-areas: "photo" "copy";
  }
  .hero-copy { padding: 0; }
  .hero-copy-in {
    width: auto;
    margin: 0;
    padding: 1.35rem 0.9rem 1.6rem;
    padding-left: max(0.9rem, env(safe-area-inset-left));
    padding-right: max(0.9rem, env(safe-area-inset-right));
  }
  .hero-photo {
    min-height: 0;
  }
  .hero-photo img {
    min-height: 0;
    height: min(42vh, 280px);
    object-position: center 22%;
  }
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    padding-bottom: 8px;
  }
  .reveal,
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
  .hero .lead {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 1.15rem;
  }
  .kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn,
  .close-box .btn {
    width: 100%;
  }

  .manifesto { padding: 2.4rem 0; }
  .manifesto blockquote { font-size: 1.45rem; max-width: none; }

  .split {
    gap: 1.25rem;
    padding: 2.4rem 0;
  }
  .split-flip { padding-top: 0; }
  .split img { height: 210px; }

  .closing-note { padding: 0 0 2.4rem; }
  .closing-note p { font-size: 1.08rem; }

  .why { padding: 2.4rem 0 2.4rem; }
  .why-layout { gap: 1.4rem; margin-bottom: 1.1rem; }
  .why-visual { min-height: 0; }
  .why-visual > img:first-child {
    min-height: 0;
    height: 220px;
  }
  .why-inset {
    position: static;
    width: 100%;
    height: 130px;
    right: auto;
    bottom: auto;
    border-width: 0;
    box-shadow: none;
    margin-top: 8px;
  }
  .why-points {
    flex-direction: column;
  }
  .why-points li {
    padding: 0.95rem 1rem;
  }
  .carnet-sec { padding: 2.4rem 0 2.2rem; }
  .carnet-layout { gap: 1.4rem; }
  .carnet-stage {
    min-height: 0;
    padding: 1.6rem 1rem 1.8rem;
  }
  .carnet-frame { width: min(100%, 280px); }
  .pennac-sec { padding: 0 0 2.4rem; }
  .pennac {
    margin-top: 0.4rem;
    padding: 1.2rem 1.1rem 1.15rem;
    gap: 0.5rem;
  }
  .pennac figcaption { white-space: normal; }

  .prog { padding: 2.4rem 0 2.8rem; }
  .hours { margin-top: 1.1rem; }
  .hours article { padding: 1.1rem 1.05rem 1.2rem; }
  .hours .num { font-size: 2rem; }
  .prog-story { margin-top: 1.6rem; gap: 1.6rem; }
  .story { gap: 1rem; }
  .story > img { max-height: 220px; height: 220px; }
  .exam { padding: 1.2rem 1.05rem 1.3rem; }

  .teacher { padding: 2.4rem 0; }
  .teacher-grid { gap: 1.4rem; }
  .teacher-photo img { max-height: 320px; }
  .books { flex-wrap: wrap; }
  .books img { width: 74px; }

  .quotes { padding: 2.4rem 0 2.8rem; }
  .qgrid { gap: 8px; margin-top: 1.1rem; }
  .qgrid figure { padding: 1.15rem 1.05rem 1.1rem; }

  .facts { padding: 2.4rem 0; }
  .facts-stage { gap: 1.2rem; }
  .facts-stage > img {
    min-height: 0;
    height: 200px;
  }
  .fact { padding: 0.9rem 0; }

  .faq { padding: 2.4rem 0 2.8rem; }
  summary { font-size: 0.98rem; gap: 0.6rem; align-items: flex-start; }

  .close-stage { min-height: 0; }
  .close-photo img {
    min-height: 0;
    height: 240px;
    object-position: center 55%;
  }
  .close-box { padding: 1.8rem 1.15rem 2.2rem; }
  .close-box h2 { font-size: 1.55rem; }
  .close-cta { flex-direction: column; align-items: stretch; }

  .colophon { padding: 1.6rem 0; font-size: 14px; }
  .colophon-in,
  .legal-in { flex-direction: column; align-items: flex-start; gap: 0.55rem; }

  .btn {
    padding: 13px 18px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .btn-nav {
    display: inline-flex;
    padding: 10px 16px;
    font-size: 13px;
  }
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-cta .btn,
  .close-box .btn { width: auto; }
  .close-cta { flex-direction: row; }
  .hero-photo img { height: min(46vh, 360px); }
}

@media (max-width: 360px) {
  .hours { grid-template-columns: 1fr; }
  :root { --nav: 56px; }
  .wrap { width: calc(100% - 1.2rem); }
  .nav-in { gap: 0.25rem; }
  .brand img { height: 28px; }
  .burger {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .kicker {
    font-size: 10px;
    letter-spacing: 0.05em;
    line-height: 1.35;
  }
  .hero-copy-in {
    padding: 1.05rem 0.7rem 1.25rem;
    padding-left: max(0.7rem, env(safe-area-inset-left));
    padding-right: max(0.7rem, env(safe-area-inset-right));
  }
  .hero h1 {
    font-size: 1.35rem;
    line-height: 1.22;
    padding-bottom: 6px;
  }
  .hero .lead { font-size: 0.95rem; }
  .hero-photo img { height: min(38vh, 220px); }

  .btn {
    white-space: normal;
    letter-spacing: 0.04em;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.2;
    text-align: center;
  }

  .manifesto { padding: 1.8rem 0; }
  .manifesto blockquote { font-size: 1.22rem; }

  .split { padding: 1.8rem 0; gap: 1rem; }
  .split img { height: 170px; }
  .split h2,
  .prog h2,
  .teacher h2,
  .quotes h2,
  .faq h2,
  .why h2,
  .facts h2,
  .carnet-copy h2,
  .close-box h2 { font-size: 1.28rem; }

  .prog, .teacher, .quotes, .facts, .faq, .why, .carnet-sec { padding: 1.8rem 0 2.1rem; }
  .hours article { padding: 0.9rem 0.8rem 1rem; }
  .hours .num { font-size: 1.7rem; }
  .story > img { height: 170px; max-height: 170px; }
  .books img.new-book { width: 72px; }

  .teacher-photo img { max-height: 240px; }
  .books img { width: 58px; }

  .qgrid figure { padding: 1rem 0.85rem; }
  .facts-stage > img { height: 160px; }
  .price { font-size: 1.65rem; }
  .yacep { width: 56px; }

  summary { font-size: 0.9rem; }
  .close-box { padding: 1.5rem 0.9rem 1.9rem; }
  .close-photo img { height: 180px; }
  .colophon { font-size: 13px; padding: 1.3rem 0; }
  .legal { letter-spacing: 0.04em; }
}
