@charset "UTF-8";
/* =========================================================================
   Académie de Musique Didier Lockwood — design system
   Brand guide: Nunito Sans · beige #efded8 base · coral/dark-red primaries ·
   yellow/olive accents. Rule: text is always BLACK on light backgrounds —
   colour lives in fills, borders, chips and bands, never in running text.
   Letter-spacing 0 · line-height 1.4 · minimum text size 16px.
   ========================================================================= */
/* line 9, app/assets/stylesheets/application.scss */
:root {
  --bg:        #efded8;
  /* beige */
  --bg-alt:    #e7d3c9;
  /* deeper beige band */
  --surface:   #ffffff;
  --border:    #dcc7bc;
  --coral:     #fd6060;
  --red:       #b82b2b;
  --yellow:    #ffef7e;
  --olive:     #8a7f32;
  --ink:       #211d1a;
  --ink-soft:  #3a332e;
  --muted:     #6f645a;
  --cream:     #f6e9e2;
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1160px;
  --shadow:    0 20px 45px -26px rgba(90, 40, 30, 0.45);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* line 29, app/assets/stylesheets/application.scss */
* {
  box-sizing: border-box;
}

/* line 31, app/assets/stylesheets/application.scss */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* line 33, app/assets/stylesheets/application.scss */
body {
  margin: 0;
  overflow-x: clip;
  /* contain the off-canvas mobile menu (see .nav__links) */
  background: var(--bg);
  color: var(--ink-soft);
  font-family: "Nunito Sans", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

/* line 45, app/assets/stylesheets/application.scss */
h1, h2, h3, h4 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

/* Titles per brand: uppercase + bold for the display levels */
/* line 54, app/assets/stylesheets/application.scss */
h1, h2 {
  text-transform: uppercase;
  font-weight: 800;
}

/* line 55, app/assets/stylesheets/application.scss */
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
}

/* line 56, app/assets/stylesheets/application.scss */
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}

/* line 57, app/assets/stylesheets/application.scss */
h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

/* line 59, app/assets/stylesheets/application.scss */
p {
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* line 60, app/assets/stylesheets/application.scss */
a {
  color: inherit;
  text-decoration: none;
}

/* line 61, app/assets/stylesheets/application.scss */
img {
  max-width: 100%;
  display: block;
}

/* line 63, app/assets/stylesheets/application.scss */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* line 64, app/assets/stylesheets/application.scss */
.muted {
  color: var(--muted);
}

/* line 65, app/assets/stylesheets/application.scss */
.small {
  font-size: 0.95rem;
}

/* line 66, app/assets/stylesheets/application.scss */
.center {
  text-align: center;
}

/* line 68, app/assets/stylesheets/application.scss */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--olive);
  margin: 0 0 0.9rem;
}

/* ---- Buttons (interactive → olive / yellow) --------------------------- */
/* line 78, app/assets/stylesheets/application.scss */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
}

/* line 88, app/assets/stylesheets/application.scss */
.btn--primary {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(138, 127, 50, 0.9);
}

/* line 93, app/assets/stylesheets/application.scss */
.btn--primary:hover {
  background: #746b28;
  transform: translateY(-2px);
}

/* line 94, app/assets/stylesheets/application.scss */
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

/* line 99, app/assets/stylesheets/application.scss */
.btn--ghost:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

/* line 101, app/assets/stylesheets/application.scss */
.textlink {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

/* line 108, app/assets/stylesheets/application.scss */
.textlink:hover {
  border-color: var(--olive);
}

/* ---- Navigation ------------------------------------------------------- */
/* line 111, app/assets/stylesheets/application.scss */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 222, 216, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* line 119, app/assets/stylesheets/application.scss */
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* line 128, app/assets/stylesheets/application.scss */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* line 129, app/assets/stylesheets/application.scss */
.nav__brand-mark {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--red);
  padding: 9px 11px;
  border-radius: 10px;
  line-height: 1;
}

/* line 139, app/assets/stylesheets/application.scss */
.nav__brand-text {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--ink);
}

/* line 140, app/assets/stylesheets/application.scss */
.nav__brand-text strong {
  color: var(--ink);
  font-weight: 700;
}

/* line 142, app/assets/stylesheets/application.scss */
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* line 143, app/assets/stylesheets/application.scss */
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.2s, color 0.2s;
}

/* line 151, app/assets/stylesheets/application.scss */
.nav__link:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* line 152, app/assets/stylesheets/application.scss */
.nav__link.is-active {
  background: var(--yellow);
  color: var(--ink);
}

/* line 153, app/assets/stylesheets/application.scss */
.nav__cta {
  margin-left: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
  transition: background 0.2s, transform 0.2s;
}

/* line 163, app/assets/stylesheets/application.scss */
.nav__cta:hover {
  background: #746b28;
  transform: translateY(-1px);
}

/* line 165, app/assets/stylesheets/application.scss */
.nav__checkbox, .nav__burger {
  display: none;
}

/* ---- Flash ------------------------------------------------------------ */
/* line 168, app/assets/stylesheets/application.scss */
.flash {
  background: var(--yellow);
  border-bottom: 1px solid var(--border);
}

/* line 169, app/assets/stylesheets/application.scss */
.flash__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  color: var(--ink);
  font-weight: 700;
}

/* ---- Hero ------------------------------------------------------------- */
/* line 172, app/assets/stylesheets/application.scss */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 11vw, 130px) 0 clamp(56px, 9vw, 110px);
  background: var(--bg);
}

/* line 178, app/assets/stylesheets/application.scss */
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(460px 460px at 88% -8%, rgba(253, 96, 96, 0.32), transparent 62%), radial-gradient(360px 360px at 6% 96%, rgba(255, 239, 126, 0.5), transparent 65%), radial-gradient(300px 300px at 78% 108%, rgba(184, 43, 43, 0.16), transparent 66%);
  pointer-events: none;
}

/* line 186, app/assets/stylesheets/application.scss */
.hero__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

/* line 187, app/assets/stylesheets/application.scss */
.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}

/* line 199, app/assets/stylesheets/application.scss */
.hero__title {
  margin-bottom: 22px;
}

/* line 200, app/assets/stylesheets/application.scss */
.hero__title .accent {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 0.06em;
}

/* line 204, app/assets/stylesheets/application.scss */
.hero__lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* line 205, app/assets/stylesheets/application.scss */
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* line 206, app/assets/stylesheets/application.scss */
.hero__note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

/* ---- Sections --------------------------------------------------------- */
/* line 209, app/assets/stylesheets/application.scss */
.section {
  padding: clamp(54px, 8vw, 104px) 0;
}

/* line 210, app/assets/stylesheets/application.scss */
.section--alt {
  background: var(--bg-alt);
}

/* line 211, app/assets/stylesheets/application.scss */
.section__head {
  max-width: 660px;
  margin: 0 auto clamp(32px, 5vw, 54px);
  text-align: center;
}

/* line 212, app/assets/stylesheets/application.scss */
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--maxw);
  text-align: left;
  gap: 20px;
  flex-wrap: wrap;
}

/* line 216, app/assets/stylesheets/application.scss */
.section__head--row .eyebrow {
  margin-bottom: 0.4rem;
}

/* ---- Stats ------------------------------------------------------------ */
/* line 219, app/assets/stylesheets/application.scss */
.stats {
  padding: clamp(40px, 6vw, 66px) 0;
}

/* line 220, app/assets/stylesheets/application.scss */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* line 221, app/assets/stylesheets/application.scss */
.stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px 24px 26px;
  box-shadow: var(--shadow);
}

/* line 227, app/assets/stylesheets/application.scss */
.stat .eq {
  margin-bottom: 14px;
  --accent: var(--coral);
}

/* line 228, app/assets/stylesheets/application.scss */
.stat:nth-child(2) .eq {
  --accent: var(--red);
}

/* line 229, app/assets/stylesheets/application.scss */
.stat:nth-child(3) .eq {
  --accent: var(--olive);
}

/* line 230, app/assets/stylesheets/application.scss */
.stat:nth-child(4) .eq {
  --accent: var(--coral);
}

/* line 231, app/assets/stylesheets/application.scss */
.stat__value {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

/* line 232, app/assets/stylesheets/application.scss */
.stat__label {
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 8px;
}

/* line 233, app/assets/stylesheets/application.scss */
.stat__note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
}

/* ---- Split ------------------------------------------------------------ */
/* line 236, app/assets/stylesheets/application.scss */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

/* line 237, app/assets/stylesheets/application.scss */
.split--reverse .split__text {
  order: 2;
}

/* line 238, app/assets/stylesheets/application.scss */
.split--form {
  align-items: flex-start;
}

/* line 239, app/assets/stylesheets/application.scss */
.split__text h2 {
  margin-bottom: 0.55em;
}

/* line 240, app/assets/stylesheets/application.scss */
.split__text p {
  color: var(--ink-soft);
}

/* line 241, app/assets/stylesheets/application.scss */
.split__text strong {
  color: var(--ink);
}

/* line 243, app/assets/stylesheets/application.scss */
.quote {
  position: relative;
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 44px 32px 32px;
  box-shadow: var(--shadow);
}

/* line 251, app/assets/stylesheets/application.scss */
.quote::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--coral);
  font-weight: 800;
}

/* line 256, app/assets/stylesheets/application.scss */
.quote p {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 16px;
}

/* line 257, app/assets/stylesheets/application.scss */
.quote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

/* ---- Cards grid ------------------------------------------------------- */
/* line 260, app/assets/stylesheets/application.scss */
.cards {
  display: grid;
  gap: 22px;
}

/* line 261, app/assets/stylesheets/application.scss */
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* line 262, app/assets/stylesheets/application.scss */
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* line 263, app/assets/stylesheets/application.scss */
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---- Program cards ---------------------------------------------------- */
/* line 266, app/assets/stylesheets/application.scss */
.program {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

/* line 273, app/assets/stylesheets/application.scss */
.program:hover {
  transform: translateY(-4px);
}

/* line 274, app/assets/stylesheets/application.scss */
.program__tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* line 286, app/assets/stylesheets/application.scss */
.program p {
  color: var(--ink-soft);
}

/* line 287, app/assets/stylesheets/application.scss */
.ticks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

/* line 288, app/assets/stylesheets/application.scss */
.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--ink);
}

/* line 289, app/assets/stylesheets/application.scss */
.ticks li::before {
  content: "♪";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
}

/* ---- Teacher cards ---------------------------------------------------- */
/* line 292, app/assets/stylesheets/application.scss */
.teacher {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

/* line 299, app/assets/stylesheets/application.scss */
.teacher:hover {
  transform: translateY(-4px);
}

/* line 300, app/assets/stylesheets/application.scss */
.teacher__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

/* line 301, app/assets/stylesheets/application.scss */
.teacher__placeholder {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: repeating-linear-gradient(to bottom, transparent 0 17px, rgba(255, 255, 255, 0.16) 17px 19px), var(--accent);
}

/* line 309, app/assets/stylesheets/application.scss */
.teacher__initial {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

/* line 310, app/assets/stylesheets/application.scss */
.teacher__badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: 999px;
}

/* line 315, app/assets/stylesheets/application.scss */
.teacher__photo {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* line 316, app/assets/stylesheets/application.scss */
.teacher__video {
  position: absolute;
  inset: 0;
}

/* line 317, app/assets/stylesheets/application.scss */
.teacher__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* line 318, app/assets/stylesheets/application.scss */
.teacher__body {
  padding: 22px 22px 24px;
}

/* line 319, app/assets/stylesheets/application.scss */
.teacher__instrument {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 4px;
}

/* line 320, app/assets/stylesheets/application.scss */
.teacher__name {
  margin: 0 0 2px;
  font-size: 1.2rem;
}

/* line 321, app/assets/stylesheets/application.scss */
.teacher__role {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 12px;
  font-weight: 600;
}

/* line 322, app/assets/stylesheets/application.scss */
.teacher__bio {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.5;
}

/* line 324, app/assets/stylesheets/application.scss */
.capsule-note {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}

/* line 332, app/assets/stylesheets/application.scss */
.capsule-note__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
}

/* line 339, app/assets/stylesheets/application.scss */
.capsule-note strong {
  color: var(--ink);
}

/* line 340, app/assets/stylesheets/application.scss */
.capsule-note p {
  margin: 4px 0 0;
}

/* ---- Instrument cards ------------------------------------------------- */
/* line 343, app/assets/stylesheets/application.scss */
.instrument {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

/* line 352, app/assets/stylesheets/application.scss */
.instrument:hover {
  transform: translateY(-4px);
}

/* line 353, app/assets/stylesheets/application.scss */
.instrument--lg {
  padding: 36px 30px 32px;
}

/* five faint staff lines the note-head sits on */
/* line 355, app/assets/stylesheets/application.scss */
.instrument::before, .value::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 60px;
  background: repeating-linear-gradient(to bottom, transparent 0 13px, rgba(33, 29, 26, 0.13) 13px 15px);
  pointer-events: none;
}

/* line 361, app/assets/stylesheets/application.scss */
.instrument__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 1.9rem;
  margin-bottom: 18px;
  box-shadow: 0 9px 18px -8px rgba(0, 0, 0, 0.35);
}

/* note stem */
/* line 370, app/assets/stylesheets/application.scss */
.instrument__icon::after, .value__icon::after {
  content: "";
  position: absolute;
  top: -22px;
  right: 1px;
  width: 4px;
  height: 30px;
  border-radius: 2px;
  background: var(--ink);
}

/* line 374, app/assets/stylesheets/application.scss */
.instrument__family {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin: 0 0 10px;
}

/* line 375, app/assets/stylesheets/application.scss */
.instrument h3 {
  margin-bottom: 6px;
}

/* line 376, app/assets/stylesheets/application.scss */
.instrument p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Value cards ------------------------------------------------------ */
/* line 379, app/assets/stylesheets/application.scss */
.value {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  box-shadow: var(--shadow);
}

/* line 387, app/assets/stylesheets/application.scss */
.value__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--coral);
  font-size: 1.9rem;
  margin-bottom: 18px;
  box-shadow: 0 9px 18px -8px rgba(0, 0, 0, 0.35);
}

/* line 395, app/assets/stylesheets/application.scss */
.value:nth-child(2) .value__icon {
  background: var(--red);
}

/* line 396, app/assets/stylesheets/application.scss */
.value:nth-child(3) .value__icon {
  background: var(--olive);
}

/* line 397, app/assets/stylesheets/application.scss */
.value p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Steps (how to join) --------------------------------------------- */
/* line 400, app/assets/stylesheets/application.scss */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

/* line 401, app/assets/stylesheets/application.scss */
.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

/* line 407, app/assets/stylesheets/application.scss */
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* line 413, app/assets/stylesheets/application.scss */
.step p {
  color: var(--ink-soft);
  margin: 0;
}

/* ---- Photo placeholder ------------------------------------------------ */
/* line 416, app/assets/stylesheets/application.scss */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

/* line 425, app/assets/stylesheets/application.scss */
.photo-placeholder span {
  font-size: 2.4rem;
}

/* line 426, app/assets/stylesheets/application.scss */
.photo-placeholder em {
  color: var(--muted);
}

/* ---- Page head -------------------------------------------------------- */
/* line 429, app/assets/stylesheets/application.scss */
.pagehead {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(28px, 5vw, 48px);
  background: var(--bg);
}

/* line 435, app/assets/stylesheets/application.scss */
.pagehead::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 96, 96, 0.28), transparent 68%);
  pointer-events: none;
}

/* line 442, app/assets/stylesheets/application.scss */
.pagehead .wrap {
  position: relative;
}

/* line 443, app/assets/stylesheets/application.scss */
.pagehead h1 {
  max-width: 16ch;
}

/* line 444, app/assets/stylesheets/application.scss */
.pagehead__lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.5;
}

/* ---- Forms ------------------------------------------------------------ */
/* line 447, app/assets/stylesheets/application.scss */
.form .field {
  margin-bottom: 18px;
}

/* line 448, app/assets/stylesheets/application.scss */
.form label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  font-size: 0.98rem;
}

/* line 449, app/assets/stylesheets/application.scss */
.form input, .form select, .form textarea {
  width: 100%;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* line 460, app/assets/stylesheets/application.scss */
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(138, 127, 50, 0.18);
}

/* line 465, app/assets/stylesheets/application.scss */
.form textarea {
  resize: vertical;
}

/* line 466, app/assets/stylesheets/application.scss */
.form .btn {
  margin-top: 6px;
}

/* line 468, app/assets/stylesheets/application.scss */
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

/* line 474, app/assets/stylesheets/application.scss */
.contact-card h3 {
  margin-top: 0;
  text-transform: none;
}

/* line 475, app/assets/stylesheets/application.scss */
.contact-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

/* line 476, app/assets/stylesheets/application.scss */
.contact-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* line 477, app/assets/stylesheets/application.scss */
.contact-card strong {
  color: var(--ink);
}

/* ---- CTA (dark-red band, white text) --------------------------------- */
/* line 480, app/assets/stylesheets/application.scss */
.cta {
  padding: clamp(56px, 9vw, 100px) 0;
  background: var(--red);
}

/* line 481, app/assets/stylesheets/application.scss */
.cta__inner {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

/* line 482, app/assets/stylesheets/application.scss */
.cta__inner h2 {
  color: #fff;
}

/* line 483, app/assets/stylesheets/application.scss */
.cta__inner p {
  color: var(--cream);
  font-size: 1.15rem;
  margin-bottom: 28px;
}

/* line 484, app/assets/stylesheets/application.scss */
.cta .btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none;
}

/* line 485, app/assets/stylesheets/application.scss */
.cta .btn--primary:hover {
  background: #ffe74d;
}

/* line 486, app/assets/stylesheets/application.scss */
.cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* line 487, app/assets/stylesheets/application.scss */
.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* ---- Footer (dark-red band) ------------------------------------------ */
/* line 490, app/assets/stylesheets/application.scss */
.footer {
  background: var(--red);
  color: var(--cream);
  padding-top: 58px;
}

/* line 491, app/assets/stylesheets/application.scss */
.footer a {
  color: var(--cream);
}

/* line 492, app/assets/stylesheets/application.scss */
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}

/* line 496, app/assets/stylesheets/application.scss */
.footer__brand .nav__brand-mark {
  background: #fff;
  color: var(--red);
  display: inline-block;
}

/* line 497, app/assets/stylesheets/application.scss */
.footer__brand p {
  color: var(--cream);
  font-size: 0.95rem;
  margin: 14px 0 0;
  line-height: 1.5;
}

/* line 498, app/assets/stylesheets/application.scss */
.footer__muted {
  color: rgba(246, 233, 226, 0.72) !important;
}

/* line 499, app/assets/stylesheets/application.scss */
.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 14px;
}

/* line 500, app/assets/stylesheets/application.scss */
.footer__col a {
  display: block;
  color: var(--cream);
  margin-bottom: 9px;
  font-size: 0.97rem;
  transition: color 0.2s;
}

/* line 501, app/assets/stylesheets/application.scss */
.footer__col a:hover {
  color: var(--yellow);
}

/* line 502, app/assets/stylesheets/application.scss */
.footer__col p {
  font-size: 0.95rem;
  color: var(--cream);
}

/* line 503, app/assets/stylesheets/application.scss */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 0.9rem;
  color: rgba(246, 233, 226, 0.75);
}

/* line 510, app/assets/stylesheets/application.scss */
.footer__credit {
  flex: 1 1 auto;
  text-align: center;
  color: rgba(246, 233, 226, 0.75);
}

/* line 515, app/assets/stylesheets/application.scss */
a.footer__credit {
  font-weight: 700;
}

/* line 516, app/assets/stylesheets/application.scss */
a.footer__credit:hover {
  color: var(--yellow);
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  /* line 520, app/assets/stylesheets/application.scss */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* line 521, app/assets/stylesheets/application.scss */
  .cards--4, .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* line 522, app/assets/stylesheets/application.scss */
  .steps {
    grid-template-columns: 1fr;
  }
  /* line 523, app/assets/stylesheets/application.scss */
  .split {
    grid-template-columns: 1fr;
  }
  /* line 524, app/assets/stylesheets/application.scss */
  .split--reverse .split__text {
    order: 0;
  }
  /* line 525, app/assets/stylesheets/application.scss */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  /* line 527, app/assets/stylesheets/application.scss */
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 60;
  }
  /* line 528, app/assets/stylesheets/application.scss */
  .nav__burger span {
    width: 24px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  /* Full-screen overlay. .nav has backdrop-filter, so it is the containing
     block for this fixed child — size with viewport units (not inset) since
     .nav sits at the viewport's top-left. */
  /* line 532, app/assets/stylesheets/application.scss */
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  /* line 542, app/assets/stylesheets/application.scss */
  .nav__links .nav__link, .nav__links .nav__cta {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
  }
  /* line 543, app/assets/stylesheets/application.scss */
  .nav__checkbox:checked ~ .nav__links {
    opacity: 1;
    visibility: visible;
  }
  /* Lock page scroll while the full-screen menu is open */
  /* line 545, app/assets/stylesheets/application.scss */
  html:has(.nav__checkbox:checked) {
    overflow: hidden;
  }
  /* line 546, app/assets/stylesheets/application.scss */
  .nav__checkbox:checked ~ .nav__burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  /* line 547, app/assets/stylesheets/application.scss */
  .nav__checkbox:checked ~ .nav__burger span:nth-child(2) {
    opacity: 0;
  }
  /* line 548, app/assets/stylesheets/application.scss */
  .nav__checkbox:checked ~ .nav__burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  /* line 552, app/assets/stylesheets/application.scss */
  body {
    font-size: 16px;
  }
  /* line 553, app/assets/stylesheets/application.scss */
  .stats__grid, .cards--2, .cards--3, .cards--4 {
    grid-template-columns: 1fr;
  }
  /* line 554, app/assets/stylesheets/application.scss */
  .footer__inner {
    grid-template-columns: 1fr;
  }
  /* line 555, app/assets/stylesheets/application.scss */
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================================
   Younger vibe — hero banner photo, hand-drawn doodles, animations, marquee
   ========================================================================= */
/* -- Hero as two columns with the building photo ----------------------- */
/* line 563, app/assets/stylesheets/application.scss */
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* line 574, app/assets/stylesheets/application.scss */
.hero__content {
  text-align: left;
}

/* line 575, app/assets/stylesheets/application.scss */
.hero__content .hero__lead {
  margin-left: 0;
  margin-right: 0;
}

/* line 576, app/assets/stylesheets/application.scss */
.hero__content .hero__actions {
  justify-content: flex-start;
}

/* line 578, app/assets/stylesheets/application.scss */
.hero__figure {
  position: relative;
}

/* line 579, app/assets/stylesheets/application.scss */
.hero__photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 34px 66px -26px rgba(90, 40, 30, 0.55);
  transform: rotate(-1.6deg);
  transition: transform 0.45s var(--ease);
}

/* line 588, app/assets/stylesheets/application.scss */
.hero__photo:hover {
  transform: rotate(0deg) scale(1.015);
}

/* line 589, app/assets/stylesheets/application.scss */
.hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

/* line 590, app/assets/stylesheets/application.scss */
.hero__pin {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.5);
}

/* line 596, app/assets/stylesheets/application.scss */
.hero__sticker {
  position: absolute;
  top: -20px;
  right: -12px;
  z-index: 3;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 11px 17px;
  border-radius: 16px;
  transform: rotate(6deg);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.45);
  animation: wobble 4.5s ease-in-out infinite;
}

/* -- Hand-drawn doodles ------------------------------------------------- */
/* line 605, app/assets/stylesheets/application.scss */
.doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* line 606, app/assets/stylesheets/application.scss */
.doodle svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* line 607, app/assets/stylesheets/application.scss */
.doodle--note {
  color: var(--coral);
}

/* line 608, app/assets/stylesheets/application.scss */
.doodle--star {
  color: var(--olive);
}

/* line 609, app/assets/stylesheets/application.scss */
.doodle--squiggle {
  color: var(--red);
}

/* line 610, app/assets/stylesheets/application.scss */
.doodle--yellow {
  color: var(--yellow);
}

/* line 612, app/assets/stylesheets/application.scss */
.hero .doodle--n1 {
  width: 44px;
  height: 44px;
  top: 6%;
  left: 5%;
  animation: float 5s ease-in-out infinite;
}

/* line 613, app/assets/stylesheets/application.scss */
.hero .doodle--n2 {
  width: 28px;
  height: 28px;
  top: 30%;
  left: 40%;
  animation: float 6s ease-in-out infinite 0.6s;
}

/* line 614, app/assets/stylesheets/application.scss */
.hero .doodle--n3 {
  width: 56px;
  height: 56px;
  bottom: 8%;
  left: 2%;
  animation: float 7s ease-in-out infinite 1s;
}

/* line 615, app/assets/stylesheets/application.scss */
.hero .doodle--s1 {
  width: 36px;
  height: 36px;
  top: 3%;
  right: 3%;
  animation: spin 10s linear infinite;
}

/* line 616, app/assets/stylesheets/application.scss */
.hero .doodle--s2 {
  width: 22px;
  height: 22px;
  bottom: 12%;
  right: 2%;
  animation: twinkle 3s ease-in-out infinite;
}

/* line 617, app/assets/stylesheets/application.scss */
.hero .doodle--sq {
  width: 130px;
  height: 26px;
  top: 50%;
  left: -14px;
  opacity: 0.55;
}

/* line 618, app/assets/stylesheets/application.scss */
.hero__figure .doodle--fn1 {
  width: 40px;
  height: 40px;
  top: -26px;
  left: -20px;
  color: var(--olive);
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}

/* line 619, app/assets/stylesheets/application.scss */
.hero__figure .doodle--fn2 {
  width: 32px;
  height: 32px;
  bottom: -18px;
  left: 34%;
  color: var(--coral);
  animation: float 6s ease-in-out infinite 0.8s;
  z-index: 3;
}

/* small doodle decoration for page heads */
/* line 622, app/assets/stylesheets/application.scss */
.pagehead .doodle--ph1 {
  width: 40px;
  height: 40px;
  top: 22%;
  right: 12%;
  color: var(--coral);
  animation: float 6s ease-in-out infinite;
}

/* line 623, app/assets/stylesheets/application.scss */
.pagehead .doodle--ph2 {
  width: 26px;
  height: 26px;
  bottom: 18%;
  right: 26%;
  color: var(--olive);
  animation: twinkle 3.5s ease-in-out infinite;
}

/* -- Keyframes ---------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-14px) rotate(7deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.45;
  }
}

@keyframes wobble {
  0%, 100% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-4deg);
  }
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -14px) scale(1.06);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.82) rotate(-1.6deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-1.6deg);
  }
}

@keyframes iconpop {
  0%, 100% {
    transform: rotate(0) scale(1);
  }
  30% {
    transform: rotate(-8deg) scale(1.12);
  }
  60% {
    transform: rotate(8deg) scale(1.12);
  }
}

/* line 636, app/assets/stylesheets/application.scss */
.hero__glow {
  animation: blob 13s ease-in-out infinite;
}

/* -- Hero entrance (only when JS present) ------------------------------- */
/* line 639, app/assets/stylesheets/application.scss */
.js .hero__content > * {
  animation: fadeUp 0.7s var(--ease) both;
}

/* line 640, app/assets/stylesheets/application.scss */
.js .hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}

/* line 641, app/assets/stylesheets/application.scss */
.js .hero__content > *:nth-child(2) {
  animation-delay: 0.15s;
}

/* line 642, app/assets/stylesheets/application.scss */
.js .hero__content > *:nth-child(3) {
  animation-delay: 0.25s;
}

/* line 643, app/assets/stylesheets/application.scss */
.js .hero__content > *:nth-child(4) {
  animation-delay: 0.35s;
}

/* line 644, app/assets/stylesheets/application.scss */
.js .hero__content > *:nth-child(5) {
  animation-delay: 0.45s;
}

/* line 645, app/assets/stylesheets/application.scss */
.js .hero__figure {
  animation: pop 0.8s var(--ease) both 0.3s;
}

/* -- Scrolling marquee band -------------------------------------------- */
/* line 648, app/assets/stylesheets/application.scss */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 15px 0;
}

/* line 649, app/assets/stylesheets/application.scss */
.marquee__track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* line 650, app/assets/stylesheets/application.scss */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* line 651, app/assets/stylesheets/application.scss */
.marquee__item {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* line 655, app/assets/stylesheets/application.scss */
.marquee__item span {
  font-size: 1.35rem;
}

/* line 656, app/assets/stylesheets/application.scss */
.marquee__item::after {
  content: "•";
  color: var(--yellow);
  margin-left: 42px;
}

/* -- Scroll reveal (JS-driven, degrades gracefully) -------------------- */
/* line 659, app/assets/stylesheets/application.scss */
.js .reveal-init {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* line 660, app/assets/stylesheets/application.scss */
.js .reveal-init.is-in {
  opacity: 1;
  transform: none;
}

/* -- Playful icon wiggle on hover -------------------------------------- */
/* line 663, app/assets/stylesheets/application.scss */
.instrument:hover .instrument__icon,
.value:hover .value__icon,
.step:hover .step__num {
  animation: iconpop 0.5s ease-in-out;
}

/* -- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  /* line 669, app/assets/stylesheets/application.scss */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  /* line 670, app/assets/stylesheets/application.scss */
  .js .reveal-init {
    opacity: 1;
    transform: none;
  }
  /* line 671, app/assets/stylesheets/application.scss */
  .hero__photo, .hero__figure {
    transform: rotate(-1.6deg);
  }
}

/* -- Hero responsive ---------------------------------------------------- */
@media (max-width: 860px) {
  /* line 676, app/assets/stylesheets/application.scss */
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* line 677, app/assets/stylesheets/application.scss */
  .hero__content {
    text-align: center;
  }
  /* line 678, app/assets/stylesheets/application.scss */
  .hero__content .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }
  /* line 679, app/assets/stylesheets/application.scss */
  .hero__content .hero__actions {
    justify-content: center;
  }
  /* line 680, app/assets/stylesheets/application.scss */
  .hero__figure {
    order: -1;
    margin-bottom: 12px;
  }
  /* line 681, app/assets/stylesheets/application.scss */
  .hero .doodle--sq, .hero .doodle--n2 {
    display: none;
  }
}

/* =========================================================================
   Musical vocabulary — equalizer bars & a piano-key divider
   ========================================================================= */
/* Animated equalizer (bouncing sound bars) */
/* line 689, app/assets/stylesheets/application.scss */
.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
}

/* line 690, app/assets/stylesheets/application.scss */
.eq span {
  width: 5px;
  border-radius: 3px;
  background: var(--accent, var(--coral));
  transform-origin: bottom;
  animation: eq 0.95s ease-in-out infinite;
}

/* line 696, app/assets/stylesheets/application.scss */
.eq span:nth-child(1) {
  height: 40%;
  animation-delay: -0.20s;
}

/* line 697, app/assets/stylesheets/application.scss */
.eq span:nth-child(2) {
  height: 80%;
  animation-delay: -0.55s;
}

/* line 698, app/assets/stylesheets/application.scss */
.eq span:nth-child(3) {
  height: 55%;
  animation-delay: -0.10s;
}

/* line 699, app/assets/stylesheets/application.scss */
.eq span:nth-child(4) {
  height: 92%;
  animation-delay: -0.40s;
}

/* line 700, app/assets/stylesheets/application.scss */
.eq span:nth-child(5) {
  height: 62%;
  animation-delay: -0.62s;
}

/* line 701, app/assets/stylesheets/application.scss */
.eq--sm {
  height: 18px;
  gap: 3px;
}

/* line 702, app/assets/stylesheets/application.scss */
.eq--sm span {
  width: 4px;
}

/* line 703, app/assets/stylesheets/application.scss */
.eq--light span {
  background: rgba(255, 255, 255, 0.92);
}

@keyframes eq {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

/* "en train de jouer" badge on teacher media */
/* line 707, app/assets/stylesheets/application.scss */
.teacher__playing {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 26, 23, 0.82);
  color: #fff;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Piano-key divider strip (sits above the footer) */
/* line 716, app/assets/stylesheets/application.scss */
.keys {
  height: 34px;
  border-top: 3px solid var(--ink);
  background-color: #fff;
  background-image: repeating-linear-gradient(to right, var(--ink) 0 15px, transparent 15px 42px), repeating-linear-gradient(to right, transparent 0 41px, rgba(33, 29, 26, 0.28) 41px 42px);
  background-size: 42px 62%, 42px 100%;
  background-position: 13px 0, 0 0;
  background-repeat: repeat-x;
}

@media (prefers-reduced-motion: reduce) {
  /* line 729, app/assets/stylesheets/application.scss */
  .eq span {
    animation: none !important;
    transform: scaleY(0.7);
  }
}

/* =========================================================================
   Home instrument tiles — compact, horizontal, leaf-shaped
   ========================================================================= */
/* line 735, app/assets/stylesheets/application.scss */
.itiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* line 740, app/assets/stylesheets/application.scss */
.itile {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border-radius: 34px 10px 34px 10px;
  /* leaf shape */
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

/* line 752, app/assets/stylesheets/application.scss */
.itile:nth-child(even) {
  border-radius: 10px 34px 10px 34px;
}

/* line 753, app/assets/stylesheets/application.scss */
.itile:hover {
  transform: translateY(-5px) rotate(-1.2deg);
}

/* line 754, app/assets/stylesheets/application.scss */
.itile:nth-child(even):hover {
  transform: translateY(-5px) rotate(1.2deg);
}

/* staff lines behind the note head */
/* line 756, app/assets/stylesheets/application.scss */
.itile::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 66px;
  height: 52px;
  background: repeating-linear-gradient(to bottom, transparent 0 12px, rgba(33, 29, 26, 0.13) 12px 14px);
  pointer-events: none;
}

/* line 763, app/assets/stylesheets/application.scss */
.itile__note {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 1.7rem;
  box-shadow: 0 9px 18px -8px rgba(0, 0, 0, 0.35);
}

/* line 771, app/assets/stylesheets/application.scss */
.itile__note::after {
  content: "";
  position: absolute;
  top: -20px;
  right: 0;
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--ink);
}

/* line 775, app/assets/stylesheets/application.scss */
.itile__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

/* line 776, app/assets/stylesheets/application.scss */
.itile__name {
  margin: 0;
  font-size: 1.3rem;
  text-transform: none;
  line-height: 1.05;
}

/* line 777, app/assets/stylesheets/application.scss */
.itile__family {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--yellow);
  padding: 4px 11px;
  border-radius: 999px;
}

@media (max-width: 860px) {
  /* line 783, app/assets/stylesheets/application.scss */
  .itiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  /* line 784, app/assets/stylesheets/application.scss */
  .itiles {
    grid-template-columns: 1fr;
  }
}

/* Playful asymmetric corners so the home cards read less like plain boxes */
/* line 787, app/assets/stylesheets/application.scss */
.stat {
  border-radius: 26px 8px 26px 8px;
}

/* line 788, app/assets/stylesheets/application.scss */
.stat:nth-child(even) {
  border-radius: 8px 26px 8px 26px;
}

/* line 789, app/assets/stylesheets/application.scss */
.program {
  border-radius: 30px 30px 30px 8px;
}

/* line 790, app/assets/stylesheets/application.scss */
.program:nth-child(even) {
  border-radius: 30px 30px 8px 30px;
}

/* ---- Annonce temporaire (carte dans la bande de chiffres) --------------- */
/* Temporary: added for the saxophone vacancy. Safe to delete this whole block
   together with the .stat--annonce markup on the home page. */
.stat--annonce {
  /* full width by default: the two-sentence text needs room. Only once the
     viewport can carry five columns does it sit beside the rentrée card. */
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--yellow);
}

.stat__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.stat__annonce {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.stat__annonce a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 1100px) {
  .stats__grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .stat--annonce {
    grid-column: auto;
  }
  .stat__annonce {
    font-size: 0.9rem;
  }
}

/* ---- Logo -------------------------------------------------------------- */
/* logo_amdl.png is the mark on a transparent background; a white card behind
   it makes the mark stand out, in the header as in the footer. */
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  box-sizing: content-box;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
}

.footer__brand .brand-logo {
  height: 46px;
  padding: 10px 14px;
}

@media (max-width: 560px) {
  .brand-logo {
    height: 30px;
    padding: 6px 10px;
  }
  .footer__brand .brand-logo {
    height: 38px;
    padding: 8px 12px;
  }
}

/* ---- Capsules profs : la bio s'ouvre dans une fenêtre ------------------- */
/* Opening the bio inside the card stretched every sibling in the grid row and
   squeezed the text into a tall, narrow column — hence a modal instead. */
.teacher--reveal .teacher__media {
  cursor: pointer;
}

/* A video capsule owns its own click (play/pause), so it must not also open
   the modal — the "Voir la bio" button does that. */
.teacher__media--video {
  cursor: default;
  background: #16130f;
}

/* Photo and video capsules have no .teacher__placeholder to centre the badge,
   so pin it over the media instead of letting it flow past the bottom edge. */
.teacher__media > .teacher__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.teacher__clip,
.bio__clip {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #16130f;
}

/* The video capsule gets its own dialog. The panel shrink-wraps the clip so a
   portrait video never sits in a letterbox: the blurred page shows around it
   instead of black bars. */
.clip {
  /* `width: fit-content` is what the UA gives a dialog, and it is what makes
     `inset: 0; margin: auto` centre it. Setting `width: auto` made the panel
     stretch to its inset instead, leaving the player pinned to the left. */
  width: fit-content;
  max-width: calc(100vw - 24px);
  padding: 8px;
  border: none;
  border-radius: 22px;
  background: #16130f;
  line-height: 0;
  box-shadow: 0 40px 90px -35px rgba(40, 15, 10, 0.8);
  opacity: 0;
  transform: translateY(14px) scale(0.975);
  transition: opacity 0.28s var(--ease),
              transform 0.28s var(--ease),
              display 0.28s allow-discrete,
              overlay 0.28s allow-discrete;
}

.clip[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .clip[open] {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clip,
  .clip[open] {
    transform: none;
  }
  .clip {
    transition-duration: 0.01s;
  }
}

.clip::backdrop {
  background: rgba(33, 29, 26, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 0.3s var(--ease),
              -webkit-backdrop-filter 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease),
              display 0.3s allow-discrete,
              overlay 0.3s allow-discrete;
}

.clip[open]::backdrop {
  background: rgba(33, 29, 26, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

@starting-style {
  .clip[open]::backdrop {
    background: rgba(33, 29, 26, 0);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }
}

/* The clip is a YouTube Short: 9/16. Sizing the frame to that ratio, capped by
   the viewport height, makes the dialog hug the player exactly — no letterbox,
   whatever the screen. */
.clip__frame {
  /* 9/16 (a Short), capped by the viewport height, minus the panel's own
     padding and margins — so the frame is always fully on screen. */
  width: min(calc(100vw - 40px), calc(84vh * 0.5625));
  width: min(calc(100vw - 40px), calc(84dvh * 0.5625));
  aspect-ratio: 9 / 16;
  border-radius: 15px;
  overflow: hidden;
  background: #000;
}

.clip__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.clip__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

@media (max-width: 720px) {
  /* Keep the same framed panel, just tighter: an equal gap all the way round
     reads better than a clip bleeding into the left and right edges. */
  .clip {
    padding: 6px;
    border-radius: 18px;
  }
  .clip__frame {
    width: min(calc(100vw - 36px), calc(88vh * 0.5625));
    width: min(calc(100vw - 36px), calc(88dvh * 0.5625));
    border-radius: 12px;
  }
  .clip__close {
    top: 14px;
    right: 14px;
  }
}

html:not(.js) .clip {
  display: none;
}

.teacher__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 10px;
}

/* Both capsule buttons share one shape so they read as a pair at any width:
   the bio outlined, the video solid. */
.teacher__more,
.teacher__watch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.teacher__more {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.teacher__more:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* "Me voir jouer" — only rendered on capsules that actually have a video. */
.teacher__watch {
  padding-left: 12px;
  background: var(--olive);
  color: #fff;
}

.teacher__watch svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.teacher__watch:hover {
  background: #746b28;
  transform: translateY(-1px);
}

/* Narrow cards: stack them full width instead of letting them wrap raggedly */
@media (max-width: 560px) {
  .teacher__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
}

.bio {
  padding: 0;
  border: none;
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink-soft);
  width: min(880px, 92vw);
  max-height: 88vh;
  overflow: hidden;
  box-shadow: 0 40px 90px -35px rgba(40, 15, 10, 0.75);
}

/* Fade + lift the panel in and out. `allow-discrete` is what lets a dialog
   animate at all: without it the jump from display:none is instant. Browsers
   that don't know these rules simply show the dialog with no animation. */
.bio {
  opacity: 0;
  transform: translateY(14px) scale(0.975);
  transition: opacity 0.28s var(--ease),
              transform 0.28s var(--ease),
              display 0.28s allow-discrete,
              overlay 0.28s allow-discrete;
}

.bio[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .bio[open] {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }
}

/* The blurred veil over the page behind the panel. */
.bio::backdrop {
  background: rgba(33, 29, 26, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 0.3s var(--ease),
              -webkit-backdrop-filter 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease),
              display 0.3s allow-discrete,
              overlay 0.3s allow-discrete;
}

.bio[open]::backdrop {
  background: rgba(33, 29, 26, 0.55);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

@starting-style {
  .bio[open]::backdrop {
    background: rgba(33, 29, 26, 0);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
  }
}

/* Respect a system-level request for less motion: keep the veil, drop the move. */
@media (prefers-reduced-motion: reduce) {
  .bio,
  .bio[open] {
    transform: none;
  }
  .bio {
    transition-duration: 0.01s;
  }
}

/* Flex, not grid: a grid row sized `1fr` against an indefinite container
   height falls back to its content size, so the text block never became
   scrollable and long bios were clipped instead. A flex item stretched inside
   a max-height-clamped container gets a definite height, which is what
   `overflow-y: auto` needs in order to do anything. */
.bio__inner {
  display: flex;
  max-height: 88vh;
  max-height: 88dvh;
  /* a one-paragraph bio would otherwise give a squat panel and a letterbox
     sliver of photo */
  min-height: 340px;
}

.bio__media {
  flex: 0 0 300px;
  align-self: stretch;
  overflow: hidden;
  background: var(--bg-alt);
}

.bio__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio__text {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 34px 36px 36px;
  overflow-y: auto;
  /* don't hand the scroll to the page behind once the bio reaches its end */
  overscroll-behavior: contain;
}

.bio__name {
  margin: 0 0 2px;
  font-size: 1.5rem;
  text-transform: none;
}

.bio__text > p:not(.teacher__instrument):not(.teacher__role) {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 12px;
}

.bio__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.bio__close:hover {
  background: var(--yellow);
}

/* An audio extract inside a bio (a teacher who sent a recording rather than a
   video). It plays when the capsule is opened. */
.bio__audio {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 14px;
}

.bio__audio figcaption {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.bio__audio audio {
  display: block;
  width: 100%;
}

/* credentials read better as a list than as one long paragraph */
.bio__text ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.bio__text li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.teacher__maxime {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  font-style: italic;
  color: var(--ink);
}

.teacher__maxime span {
  display: block;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 4px;
}

@media (max-width: 720px) {
  /* Full-height sheet: the dialog itself scrolls, photo above the text. */
  .bio {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .bio__inner {
    flex-direction: column;
    max-height: none;
    min-height: 100%;
  }
  .bio__media {
    flex: 0 0 auto;
    align-self: auto;
    height: 230px;
  }
  .bio__text {
    padding: 0 22px 32px;
    overflow: visible;
  }
  /* sticks to the top of the sheet, so it stays reachable at any scroll depth */
  .bio__text > form {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    padding: 12px 0 6px;
    background: linear-gradient(var(--surface) 70%, rgba(255, 255, 255, 0));
  }
  .bio__close {
    position: static;
  }
}

/* Without JavaScript the dialog never opens, so show the bios as plain blocks. */
html:not(.js) .bio {
  display: block;
  position: static;
  width: auto;
  max-height: none;
  margin: 18px 0 0;
}

html:not(.js) .teacher__more,
html:not(.js) .bio__close {
  display: none;
}

/* ---- Pages légales ------------------------------------------------------ */
.legal {
  max-width: 780px;
}

.legal h2 {
  margin: 40px 0 12px;
  font-size: 1.2rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal p {
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

/* ---- Liens légaux du bas de page --------------------------------------- */
/* The copyright span that used to sit on the left is gone (it now lives
   between the partner logos), so the credit no longer needs to stretch. */
.footer__bottom .footer__credit {
  flex: 0 1 auto;
  text-align: left;
}

.footer__legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal a {
  color: rgba(246, 233, 226, 0.75);
  text-decoration: underline;
}

.footer__legal a:hover {
  color: var(--yellow);
}

/* ---- Formulaire de contact --------------------------------------------- */
/* Honeypot: off-screen rather than display:none, which bots know to skip. */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consent checkbox: label sits inline next to the box, not above it. */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive);
  cursor: pointer;
}

.consent a {
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

.btn:disabled {
  opacity: 0.45;
  box-shadow: none;
  cursor: not-allowed;
}

.btn:disabled:hover {
  transform: none;
  background: var(--olive);
}

.form__status {
  margin: 14px 0 0;
  font-weight: 600;
  line-height: 1.45;
}

.form__status:empty {
  display: none;
}

.form__status.is-pending {
  color: var(--muted);
}

.form__status.is-ok {
  color: #2f6b3a;
}

.form__status.is-error {
  color: var(--red);
}

/* ---- Partenaires (bas de page) ---------------------------------------- */
.footer__partners {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__partner {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 9px 13px;
  line-height: 0;
}

.footer__partner img {
  display: block;
  height: 52px;
  width: auto;
}

.footer__rights {
  color: rgba(246, 233, 226, 0.8);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 560px) {
  .footer__partners {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer__partner img {
    height: 42px;
  }
  .footer__rights {
    order: 3;
    width: 100%;
  }
}

/* ---- Médaillon (photo ronde à côté d'un titre) ------------------------- */
.pagehead__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 52px);
}

.pagehead__row h1 {
  margin: 0;
}

.medallion {
  flex: 0 0 auto;
  margin: 0;
  width: clamp(132px, 17vw, 196px);
  height: clamp(132px, 17vw, 196px);
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow), 0 0 0 2px rgba(184, 43, 43, 0.35);
  transform: rotate(-2deg);
}

.medallion img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .pagehead__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/*# sourceMappingURL=application.css-ce14eaefa2a1895026703ecb38098d831f76e173e4a8491e0b733d369265580a.map */
