/* =====================================================
   style.css — Mylène Atelier Musical v2
   Design commun à toutes les pages
===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:       #0F0E17;
  --dark2:      #1A1A2E;
  --gold:       #C9922A;
  --gold-light: #E8B84B;
  --cream:      #FDFCF8;
  --text:       #2C2C3E;
  --text-light: #6B6B8A;
  --section-bg: #F7F5F0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* --- Navbar --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(15,14,23,0.96);
  backdrop-filter: blur(12px);
  padding: 0.9rem 5%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
/* Nav sur pages internes (pas de hero) */
.nav.nav-solid {
  background: rgba(15,14,23,0.97);
  backdrop-filter: blur(12px);
  padding: 0.9rem 5%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-light); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold) !important;
  color: white !important;
  padding: 0.5rem 1.3rem;
  border-radius: 25px;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark);
  z-index: 1100;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }

/* Wrapper centré — flex sur un bloc unique évite le bug overflow+justify-content */
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2rem);
  min-height: 100%;
  padding: clamp(4.5rem, 12vw, 6rem) 2rem clamp(2rem, 6vw, 3rem);
  justify-content: center;
  box-sizing: border-box;
}
.mobile-menu-inner a {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 5.5vw, 1.8rem);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s;
  text-align: center;
}
.mobile-menu-inner a:hover,
.mobile-menu-inner a.active { color: var(--gold-light); }

.mobile-close {
  position: fixed;
  top: 1rem; right: 1.5rem;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  line-height: 1;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1101;
  padding: 0.4rem;
  transition: color 0.3s;
}
.mobile-close:hover { color: var(--gold-light); }

/* --- Buttons --- */
.btn {
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: white; box-shadow: 0 4px 22px rgba(201,146,42,0.38); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,146,42,0.5); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.45); }
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn-dark:hover { background: var(--dark2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: white; transform: translateY(-2px); }

/* --- Section commune --- */
section { padding: 6rem 6%; }

.section-label {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 580px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* --- Page header (pages internes) --- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 8rem 6% 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/piano/hero.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s; }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .breadcrumb span { color: var(--gold); }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--gold-light); font-style: italic; }
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 500px;
}

/* Floating notes */
.notes-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.note {
  position: absolute;
  color: rgba(201,146,42,0.35);
  animation: floatNote linear infinite;
  user-select: none;
}
@keyframes floatNote {
  0%  { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  8%  { opacity: 1; }
  92% { opacity: 0.3; }
  100%{ transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

/* --- Stats bar --- */
.stats-bar {
  background: var(--dark2);
  padding: 2.5rem 6%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(201,146,42,0.2);
}
.stat { text-align: center; color: white; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 0.4rem; }

/* --- Hero (page d'accueil) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/piano/hero.jpg') center/cover no-repeat;
  transform: scale(1.06);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,14,23,0.90) 0%, rgba(26,26,46,0.75) 55%, rgba(201,146,42,0.12) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6%;
  max-width: 720px;
}
.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero h1 span { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-perso {
  position: absolute;
  right: 6%; bottom: 0;
  height: 78vh; max-height: 620px;
  object-fit: contain;
  z-index: 2;
  opacity: 0;
  animation: fadeSlideLeft 1.2s 1s ease forwards;
  filter: drop-shadow(0 0 50px rgba(201,146,42,0.25));
}
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-indicator::after {
  content: '';
  display: block;
  width: 1px; height: 45px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* --- Piano section --- */
#piano { background: var(--cream); }
.piano-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.piano-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.14);
}
.piano-image-wrap img {
  width: 100%; height: 460px;
  object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.piano-image-wrap:hover img { transform: scale(1.04); }
.piano-badge {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--gold); color: white;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
}
.piano-text { color: var(--text-light); line-height: 1.8; margin: 1.3rem 0; font-size: 0.97rem; }
.piano-features { display: flex; flex-direction: column; gap: 0.65rem; margin: 1.5rem 0; }
.piano-feature {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text); line-height: 1.5;
}
.piano-feature::before { content: '♪'; color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.piano-keys {
  display: flex; height: 80px;
  margin: 1.8rem 0;
  border-radius: 0 0 8px 8px;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  background: #f0ece4;
  padding: 0 4px;
  border: 1px solid #ddd; border-top: none;
}
.key-white {
  flex: 1; background: white;
  border: 1px solid #ddd; border-top: none;
  border-radius: 0 0 5px 5px;
  transition: background 0.15s; cursor: pointer;
}
.key-black-wrap { flex: 0 0 0px; position: relative; overflow: visible; z-index: 2; }
.key-black {
  position: absolute; top: 0; left: -14px;
  width: 28px; height: 52px;
  background: var(--dark);
  border-radius: 0 0 4px 4px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.4);
}
.key-black.pressed, .key-white.pressed { filter: brightness(1.3); }

.duration-pill {
  background: var(--section-bg);
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--text);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem; font-weight: 500;
}
.piano-durations { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* --- Chant section --- */
#chant { background: linear-gradient(140deg, #0F0E17 0%, #1A1A2E 60%, #16213E 100%); }
.chant-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1200px; margin: 0 auto;
}
.chant-content .section-label { color: var(--gold-light); }
.chant-content .section-title { color: white; }
.chant-text { color: rgba(255,255,255,0.68); line-height: 1.8; margin: 1.3rem 0; font-size: 0.97rem; }
.chant-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.chant-features li { color: rgba(255,255,255,0.78); display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.chant-features li::before { content: '♫'; color: var(--gold); }
.chant-perso {
  width: 100%; max-width: 420px;
  margin: 0 auto; display: block;
  filter: drop-shadow(0 15px 40px rgba(0,0,0,0.6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-18px); }
}

/* --- Cours grid --- */
#cours { background: var(--section-bg); }
.cours-header { text-align: center; margin-bottom: 3.5rem; }
.cours-header .section-sub { margin: 0 auto; }
.cours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.cours-card {
  background: white;
  border-radius: 16px; padding: 2rem;
  box-shadow: 0 4px 22px rgba(0,0,0,0.055);
  transition: transform 0.35s, box-shadow 0.35s;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative; overflow: hidden;
}
.cours-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.cours-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
.card-icon { font-size: 2.4rem; margin-bottom: 0.9rem; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--dark); margin-bottom: 0.5rem; }
.card-text { font-size: 0.87rem; color: var(--text-light); line-height: 1.65; }
.card-tag {
  display: inline-block; margin-top: 1rem;
  font-size: 0.73rem; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(201,146,42,0.3); border-radius: 10px;
}

/* --- A propos (accueil snippet) --- */
#apropos { background: var(--cream); }
.apropos-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem; align-items: center;
  max-width: 1050px; margin: 0 auto;
}
.apropos-img-wrap { position: relative; }
.apropos-img { width: 100%; border-radius: 20px; display: block; box-shadow: 0 20px 55px rgba(0,0,0,0.1); }
.apropos-deco {
  position: absolute; bottom: -15px; right: -15px;
  width: 75px; height: 75px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 22px rgba(201,146,42,0.45);
}
.apropos-diplomes { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; }
.diplome { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); line-height: 1.5; }
.diplome::before { content: '✦'; color: var(--gold); font-size: 0.65rem; flex-shrink: 0; margin-top: 4px; }

/* --- FAQ --- */
#faq { background: var(--dark); padding: 6rem 6%; }
.faq-header { text-align: center; margin-bottom: 3.5rem; }
.faq-header .section-title { color: white; }
.faq-header .section-sub { color: rgba(255,255,255,0.55); margin: 0 auto; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(201,146,42,0.3); }
.faq-question {
  width: 100%; text-align: left;
  padding: 1.2rem 1.5rem;
  background: none; border: none;
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem; font-weight: 500;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold-light); }
.faq-question .arrow { color: var(--gold); font-size: 1rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 250px; }
.faq-answer p { padding: 0 1.5rem 1.3rem; color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.72; }

/* --- Contact --- */
#contact { background: var(--cream); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; max-width: 1050px; margin: 0 auto;
}
.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-method {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--section-bg);
  border-radius: 12px;
  text-decoration: none; color: var(--text);
  transition: all 0.3s;
  border: 1px solid transparent;
}
.contact-method:hover {
  border-color: var(--gold); background: white;
  transform: translateX(6px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}
.contact-method-icon {
  width: 44px; height: 44px;
  background: var(--gold); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: white; flex-shrink: 0;
}
.contact-method-label { font-size: 0.72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-method-value { font-weight: 500; font-size: 0.93rem; color: var(--text); }
.contact-persos { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.contact-persos img { height: 110px; object-fit: contain; opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.contact-persos img:hover { opacity: 1; transform: translateY(-5px); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--dark); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid #E0DDD5; border-radius: 10px;
  font-size: 0.9rem; font-family: 'Inter', sans-serif;
  background: var(--section-bg); color: var(--text);
  margin-bottom: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none; appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.1);
  background: white;
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

/* --- Tarifs --- */
#tarifs { background: var(--section-bg); }
.tarifs-header { text-align: center; margin-bottom: 3.5rem; }
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem; max-width: 1050px; margin: 0 auto 2rem;
}
.tarif-card { background: white; border-radius: 18px; padding: 2rem; box-shadow: 0 4px 22px rgba(0,0,0,0.06); }
.tarif-card.featured { background: linear-gradient(145deg, #0F0E17, #1A1A2E); color: white; }
.tarif-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.4rem; color: var(--dark); }
.tarif-card.featured .tarif-title { color: var(--gold-light); }
.tarif-subtitle { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid #eee; }
.tarif-card.featured .tarif-subtitle { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.08); }
.tarif-row { display: flex; justify-content: space-between; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid #f0ece4; font-size: 0.9rem; }
.tarif-card.featured .tarif-row { border-color: rgba(255,255,255,0.07); color: rgba(255,255,255,0.75); }
.tarif-price { font-weight: 600; color: var(--gold); font-size: 0.95rem; }
.tarif-note { font-size: 0.77rem; color: var(--text-light); margin-top: 1rem; font-style: italic; }
.tarif-card.featured .tarif-note { color: rgba(255,255,255,0.35); }

/* --- Page Vos Cours détaillée --- */
.cours-detail-section { background: var(--cream); }
.cours-detail-section:nth-child(even) { background: var(--section-bg); }
.cours-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.cours-detail-layout.reverse { direction: rtl; }
.cours-detail-layout.reverse > * { direction: ltr; }
.cours-detail-img {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}
.cours-detail-img img { width: 100%; height: 350px; object-fit: cover; display: block; transition: transform 0.6s; }
.cours-detail-img:hover img { transform: scale(1.04); }
.cours-detail-content .section-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.cours-detail-content p { color: var(--text-light); line-height: 1.8; font-size: 0.96rem; margin-bottom: 1rem; }
.cours-detail-list { list-style: none; margin: 1rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cours-detail-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text); }
.cours-detail-list li::before { content: '♪'; color: var(--gold); flex-shrink: 0; }
.cours-infos { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.cours-info-pill {
  background: var(--section-bg); border: 1px solid rgba(201,146,42,0.25);
  color: var(--text-light); padding: 0.35rem 0.9rem;
  border-radius: 20px; font-size: 0.8rem;
  display: flex; align-items: center; gap: 0.4rem;
}

/* --- Page A Propos détaillée --- */
.apropos-full { background: var(--cream); }
.apropos-intro-layout {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 5rem; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.apropos-photo-wrap { position: relative; }
.apropos-photo-wrap img { width: 100%; border-radius: 20px; box-shadow: 0 25px 60px rgba(0,0,0,0.13); display: block; }
.apropos-photo-deco {
  position: absolute; bottom: -18px; right: -18px;
  width: 80px; height: 80px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 5px 25px rgba(201,146,42,0.45);
}
.apropos-diplomes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: 2rem 0;
}
.diplome-card {
  background: var(--section-bg); border-radius: 12px;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
}
.diplome-card .diplome-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.diplome-card .diplome-label { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.diplome-card .diplome-text { font-size: 0.88rem; color: var(--text); line-height: 1.5; }
.philosophie-section { background: var(--dark2); padding: 5rem 6%; }
.philosophie-section .section-title { color: white; }
.philosophie-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem; max-width: 1000px; margin: 2rem auto 0;
}
.philo-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 2rem;
  transition: border-color 0.3s;
}
.philo-card:hover { border-color: rgba(201,146,42,0.4); }
.philo-card .philo-icon { font-size: 2rem; margin-bottom: 1rem; }
.philo-card h3 { font-family: 'Playfair Display', serif; color: white; font-size: 1.1rem; margin-bottom: 0.5rem; }
.philo-card p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* --- Floating contact --- */
.float-contact {
  position: fixed; bottom: 6rem; right: 2rem;
  z-index: 900;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem;
}
.float-btn-wrap { position: relative; display: flex; align-items: center; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  transition: transform 0.3s, box-shadow 0.3s; flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.float-phone { background: #C9922A; color: white; }
.float-email { background: var(--gold); color: white; }
.float-label {
  position: absolute; right: 62px;
  background: var(--dark); color: white;
  padding: 0.3rem 0.8rem; border-radius: 20px;
  font-size: 0.75rem; white-space: nowrap;
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.float-btn-wrap:hover .float-label { opacity: 1; }

/* --- Footer --- */
footer { background: var(--dark); color: rgba(255,255,255,0.45); padding: 3.5rem 6% 2rem; text-align: center; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--gold); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin: 1.8rem 0; list-style: none; }
.footer-nav a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.84rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 0.79rem; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; margin-top: 1.5rem; }

/* --- Keyframes --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .piano-layout, .chant-layout, .contact-layout, .apropos-layout,
  .apropos-intro-layout, .cours-detail-layout { grid-template-columns: 1fr; gap: 3rem; }
  .cours-detail-layout.reverse { direction: ltr; }
  .hero-perso { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .chant-layout .chant-image-wrap { order: -1; }
  .apropos-diplomes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 4rem 5%; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; align-items: center; gap: 1.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .philosophie-grid { grid-template-columns: 1fr; }
}
