/* ===== Marina Russo — Plateforme de chant — Charte "Élégant & musical" ===== */

:root {
  --bordeaux: #6b1f2a;
  --bordeaux-dark: #4a1319;
  --or: #b8892b;
  --or-light: #dcb668;
  --anthracite: #221f1e;
  --creme: #faf7f1;
  --creme-2: #f1ebdf;
  --text: #2a2724;
  --text-light: #75705f;
  --border: #e4dccb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 31, 30, 0.08);
  --shadow-strong: 0 18px 45px rgba(34, 31, 30, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--anthracite);
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--text); text-align: justify; text-justify: inter-word; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- Banner prototype ---- */
.proto-banner {
  background: var(--anthracite);
  color: #f1ece0;
  text-align: center;
  font-size: 13.5px;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}
.proto-banner strong { color: var(--or-light); font-weight: 600; }

/* ---- Header ---- */
header.site-header {
  background: var(--creme);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1220px;
  margin: 0 auto;
  gap: 18px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none; /* empêche le logo de se faire écraser par la nav quand la place manque */
}
.logo .mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bordeaux), var(--or));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px;
  flex: none;
  box-shadow: 0 4px 12px rgba(107,31,42,0.25);
}
.logo > span:not(.mark) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.3;
  white-space: nowrap;
}
.logo .sub {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
  white-space: nowrap;
}

nav.main-nav {
  display: flex; align-items: center; gap: 2px; flex: none;
  background: var(--creme-2); border-radius: 999px; padding: 5px;
}
nav.main-nav a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  padding: 9px 15px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
nav.main-nav a:hover { color: var(--bordeaux); background: rgba(255,255,255,0.65); }
nav.main-nav a.active {
  color: var(--bordeaux); background: var(--white);
  box-shadow: 0 3px 10px rgba(34,31,30,0.10);
}

.header-actions { display: flex; gap: 10px; align-items: center; flex: none; }

/* ---- Panier flottant ---- */
.cart-count {
  display: none; position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--or); color: #fff; font-size: 11px; font-weight: 700;
  align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.cart-fab {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--or);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-strong); cursor: pointer; z-index: 200;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cart-fab:hover { transform: translateY(-50%) scale(1.05); box-shadow: 0 26px 60px rgba(34,31,30,0.3); }
.cart-fab img { width: 280px; height: 280px; object-fit: contain; }
.cart-fab .cart-count {
  top: 14px; right: 14px; min-width: 42px; height: 42px; font-size: 19px;
  border: 3px solid #fff;
}

/* ---- Notification panier (toast) ---- */
.mr-toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(16px);
  background: var(--anthracite); color: #f4efe4; padding: 15px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-strong); z-index: 300;
  max-width: min(90vw, 480px); text-align: center; opacity: 0;
  transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.mr-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Pop-up flottant de progression vers le tarif dégressif ---- */
.nudge-banner {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%);
  background: var(--white); border: 2px solid var(--bordeaux);
  border-radius: 14px; padding: 16px 26px; margin: 0;
  font-size: 13.5px; font-weight: 600; color: var(--anthracite); line-height: 1.5;
  z-index: 250;
  max-width: min(92vw, 560px); text-align: center;
  animation: nudgePulse 2.2s ease-in-out infinite;
}
@keyframes nudgePulse {
  0%, 100% {
    border-color: var(--bordeaux);
    box-shadow: 0 14px 38px rgba(107,31,42,0.30), 0 0 0 3px rgba(107,31,42,0.10);
  }
  50% {
    border-color: var(--or);
    box-shadow: 0 14px 38px rgba(184,137,43,0.35), 0 0 0 3px rgba(184,137,43,0.16);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bordeaux); color: #fff; box-shadow: 0 8px 20px rgba(107,31,42,0.28); }
.btn-primary:hover { background: var(--bordeaux-dark); }
.btn-gold { background: var(--or); color: #fff; box-shadow: 0 8px 20px rgba(184,137,43,0.3); }
.btn-gold:hover { background: #a3781f; }
.btn-ghost { background: transparent; color: var(--anthracite); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--anthracite); }
.btn-outline { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-outline:hover { background: var(--bordeaux); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Hero ---- */
.hero {
  padding: 84px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(184,137,43,0.14), transparent 60%),
    radial-gradient(500px 260px at -5% 110%, rgba(107,31,42,0.10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bordeaux);
  background: rgba(107,31,42,0.08);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: 40px; margin-bottom: 22px; }
.hero h1 em { color: var(--bordeaux); font-style: normal; }
.hero .lead { font-size: 16.5px; line-height: 1.65; color: var(--text-light); max-width: 530px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { font-size: 13.5px; color: var(--text-light); }

.hero-visual {
  position: relative;
  height: 420px;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--bordeaux) 0%, #7d2733 55%, var(--anthracite) 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 24px 20px;
  background: linear-gradient(0deg, rgba(20,15,12,0.82) 0%, rgba(20,15,12,0.35) 60%, transparent 100%);
  color: #fff;
}
.hero-caption .hc-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
}
.hero-caption .hc-role {
  display: block;
  font-size: 12.5px;
  color: var(--or-light);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.hero-caption .hc-exp {
  display: block;
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  width: 230px;
}
.hero-card.c1 { top: 30px; left: 26px; }
.hero-card.c2 { bottom: 34px; right: 22px; width: 200px; }
.hero-card .tag { font-size: 11px; color: var(--or); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hero-card h4 { font-size: 15px; margin: 4px 0 6px; }
.hero-card p { font-size: 12.5px; color: var(--text-light); margin: 0; }

/* ---- Sections ---- */
section { padding: 78px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow { display: inline-flex; }
.section-head h2 { font-size: 32px; }
.section-head p { color: var(--text-light); font-size: 16px; text-align: center; }

.section-alt { background: var(--creme-2); }

/* ---- Steps ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--creme-2); color: var(--bordeaux);
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.step-card p { color: var(--text-light); font-size: 14.5px; margin: 0; }

/* ---- Features list ---- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: rgba(184,137,43,0.14); color: var(--or);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.feature-item h4 { font-size: 15.5px; margin: 0 0 4px; }
.feature-item p { font-size: 13.8px; color: var(--text-light); margin: 0; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--or);
  box-shadow: var(--shadow-strong);
  transform: translateY(-10px);
  background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--or); color: #fff; font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px; letter-spacing: .03em;
  box-shadow: 0 6px 14px rgba(184,137,43,0.35);
  white-space: nowrap;
}
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price-sub { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--bordeaux); font-weight: 700; }
.price-amount span { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text-light); font-weight: 500; }
.price-per { font-size: 13px; color: var(--or); font-weight: 600; margin: 4px 0 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.price-list li {
  font-size: 14px; padding: 8px 0; color: var(--text);
  border-bottom: 1px dashed var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: "✓"; color: var(--or); font-weight: 700; flex: none; }

.unit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 10px; }
.unit-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
.unit-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 18px; text-align: center;
}
.unit-card .u-title { font-size: 13.5px; color: var(--text-light); margin-bottom: 8px; }
.unit-card .u-price { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--bordeaux); font-weight: 700; }
.unit-card .u-save { font-size: 11.5px; color: var(--or); font-weight: 700; margin-top: 7px; }
.unit-card.best { border-color: var(--or); box-shadow: var(--shadow); }

/* ---- Panier ---- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: flex; align-items: center; gap: 22px;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px;
}
.cart-item-icon {
  width: 130px; height: 130px; border-radius: 16px; flex: none;
  background: var(--creme-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.cart-item-icon img { width: 110px; height: 110px; object-fit: contain; }
.icon-inline { width: 56px; height: 56px; object-fit: contain; display: inline-block; vertical-align: middle; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 14.5px; margin: 0 0 3px; }
.cart-item-info p { font-size: 12.5px; color: var(--text-light); margin: 0; }
.cart-item-price { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--bordeaux); font-size: 15px; flex: none; }
.cart-item-remove {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--creme); color: var(--text-light); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.cart-item-remove:hover { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }

.cart-empty { text-align: center; padding: 70px 20px; background: var(--white); border: 1px dashed var(--border); border-radius: 18px; }
.cart-empty .ce-icon { margin-bottom: 18px; display: flex; justify-content: center; }
.cart-empty .ce-icon img { width: 270px; height: 270px; object-fit: contain; opacity: .85; margin: 0 auto; }
.cart-empty p { color: var(--text-light); margin-bottom: 22px; }

.cart-summary {
  background: var(--anthracite); color: #f1ece0; border-radius: 20px; padding: 32px 30px;
  position: sticky; top: 100px;
}
.cart-summary h3 { color: #fff; font-size: 19px; margin-bottom: 20px; }
.cart-summary .cs-row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.15); }
.cart-summary .cs-row.strike span:last-child { text-decoration: line-through; color: #a89f8a; }
.cart-summary .cs-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.2); }
.cart-summary .cs-total .cs-total-label { font-size: 14px; color: #cfc6b3; }
.cart-summary .cs-total .cs-total-price { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff; }
.cart-save-banner {
  background: rgba(184,137,43,0.16); border: 1px solid rgba(184,137,43,0.4);
  border-radius: 12px; padding: 14px 16px; margin: 18px 0; text-align: center;
}
.cart-save-banner strong { display: block; color: var(--or-light); font-size: 16px; font-family: 'Playfair Display', serif; }
.cart-save-banner span { font-size: 12px; color: #cfc6b3; }

/* ---- Testimonial ---- */
.testimonials-stack { display: grid; gap: 20px; }
.testimonial {
  background: var(--anthracite);
  color: #f4efe4;
  border-radius: 22px;
  padding: 56px 60px;
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
}
.testimonial .quote-mark { font-family: 'Playfair Display', serif; font-size: 80px; color: var(--or); line-height: 1; }
.testimonial blockquote { margin: 0 0 18px; font-family: 'Playfair Display', serif; font-size: 22px; font-style: italic; line-height: 1.5; text-align: justify; text-justify: inter-word; }
.testimonial cite { font-size: 13.5px; color: #cfc6b3; font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.testimonial-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--or), var(--bordeaux));
  color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  overflow: hidden;
}
.testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.testimonial-author .ta-name { display: block; font-size: 19px; font-weight: 700; color: #fff; font-family: 'Playfair Display', serif; }
.testimonial-author .ta-role { display: block; font-size: 12.5px; color: #cfc6b3; }

/* ---- Final CTA ---- */
.cta-band {
  background: linear-gradient(120deg, var(--bordeaux), #8a2a37);
  border-radius: 22px;
  padding: 54px 56px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 27px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 0; }

/* ---- Footer ---- */
footer.site-footer {
  background: var(--anthracite);
  color: #cfc9ba;
  padding: 56px 0 26px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-family: 'Inter', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14px; }
.footer-grid a:hover { color: var(--or-light); }
.footer-logo { font-family: 'Playfair Display', serif; color: #fff; font-size: 20px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 12.5px; color: #8b856f;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---- Page header (interior pages) ---- */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--creme-2), var(--creme));
}
.page-hero h1 { font-size: 38px; margin-bottom: 12px; }
.page-hero p { color: var(--text-light); max-width: 560px; margin: 0 auto; text-align: center; }

/* ---- Page "Qui suis-je ?" ---- */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; padding: 60px 0 10px; }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-strong); height: 480px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-intro h1 { font-size: 40px; margin-bottom: 18px; }
.about-intro p { margin-bottom: 16px; }

.credential-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 46px 0 0; }
.credential-box {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.credential-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.credential-box .cred-icon { font-size: 22px; margin-bottom: 10px; }
.credential-box .cred-num { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--bordeaux); font-weight: 700; margin-bottom: 4px; }
.credential-box .cred-label { font-size: 12.5px; color: var(--text-light); line-height: 1.4; }

.about-section { max-width: 800px; margin: 0 auto; }
.about-section h2 { font-size: 28px; margin-bottom: 20px; }
.about-section p { margin-bottom: 16px; }

.quote-block {
  background: var(--creme-2); border-left: 4px solid var(--or); border-radius: 0 16px 16px 0;
  padding: 26px 30px; margin: 26px 0; font-style: italic; font-family: 'Playfair Display', serif;
  font-size: 17.5px; color: var(--anthracite); line-height: 1.6; text-align: left;
}

.artist-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.artist-badge {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 20px; font-size: 13.5px; font-weight: 600; color: var(--bordeaux); box-shadow: var(--shadow);
}

.video-wrap { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-strong); margin: 28px 0; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { font-size: 13px; color: var(--text-light); text-align: center; margin-top: -14px; margin-bottom: 26px; }

.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 30px; }
.check-list li { font-size: 14.5px; padding: 9px 0; border-bottom: 1px dashed var(--border); display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.check-list li::before { content: "✓"; color: var(--or); font-weight: 700; flex: none; }

.about-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.closing-quote {
  background: linear-gradient(120deg, var(--bordeaux), #8a2a37);
  border-radius: 24px; padding: 60px 56px; color: #fff; text-align: center;
}
.closing-quote p { color: #fff; font-family: 'Playfair Display', serif; font-size: 23px; font-style: italic;
  max-width: 720px; margin: 0 auto; text-align: center; line-height: 1.5; }
.closing-quote .signature { display: block; margin-top: 18px; font-size: 14px; font-style: normal; color: var(--or-light); font-family: 'Inter', sans-serif; }

/* ---- Boutique / cards ---- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.course-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--bordeaux), var(--anthracite));
  position: relative; display: flex; align-items: center; justify-content: center;
}
.course-thumb span { color: rgba(255,255,255,0.85); font-size: 34px; }
.course-thumb .duration-tag {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5); color: #fff; font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
}
.course-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.course-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--or); font-weight: 700; margin-bottom: 6px; }
.course-body h3 { font-size: 17px; margin-bottom: 8px; }
.course-body p { font-size: 13.8px; color: var(--text-light); margin-bottom: 16px; flex: 1; }
.course-foot { display: flex; align-items: center; justify-content: space-between; }
.course-price { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--bordeaux); font-size: 19px; }

.pack-banner {
  background: var(--creme-2); border: 1px dashed var(--or);
  border-radius: 16px; padding: 26px 30px; margin-top: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.pack-banner h3 { margin-bottom: 6px; font-size: 19px; }
.pack-banner p { margin: 0; color: var(--text-light); font-size: 14px; }

/* ---- Filters ---- */
.filter-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 500; color: var(--text-light); background: var(--white);
}
.filter-chip.active { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }

/* ---- App layout (espace élève) ---- */
.app-shell { display: grid; grid-template-columns: 250px 1fr; gap: 0; min-height: 640px; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.app-sidebar { background: var(--anthracite); color: #ded7c6; padding: 26px 18px; }
.app-user { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.app-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--or), var(--bordeaux)); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-family: 'Playfair Display', serif; }
.app-user .name { color: #fff; font-size: 14.5px; font-weight: 600; }
.app-user .plan { font-size: 12px; color: var(--or-light); }
.app-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px; font-size: 14px; margin-bottom: 4px;
  color: #cfc8b6;
}
.app-nav a.active, .app-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.app-main { padding: 32px 34px; }
.app-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.app-header-row h2 { font-size: 24px; margin: 0; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-box { background: var(--creme-2); border-radius: 14px; padding: 18px 20px; }
.stat-box .num { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--bordeaux); font-weight: 700; }
.stat-box .lbl { font-size: 12.5px; color: var(--text-light); }

/* Mur de notifications de l'élève : chaque envoi + les réponses de Marina forment un "post" */
.wall-post {
  border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px 18px;
  margin-bottom: 16px; background: var(--white); box-shadow: var(--shadow);
}
.wall-post .video-row { border: none; padding: 0; margin-bottom: 0; }
.wall-post .reply-thread { margin-top: 14px; margin-bottom: 0; }

.video-row {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}
.video-thumb { width: 70px; height: 50px; border-radius: 8px; background: linear-gradient(135deg, var(--bordeaux), var(--anthracite)); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.video-info { flex: 1; }
.video-info h4 { font-size: 14.5px; margin: 0 0 3px; }
.video-info p { font-size: 12.5px; color: var(--text-light); margin: 0; }
.video-status { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.status-new { background: rgba(184,137,43,0.16); color: var(--or); }
.status-done { background: rgba(107,31,42,0.10); color: var(--bordeaux); }

.comment-box { background: var(--creme-2); border-radius: 12px; padding: 14px 16px; margin-top: 10px; font-size: 13.5px; }
.comment-box .who { font-weight: 700; color: var(--bordeaux); font-size: 12.5px; margin-bottom: 4px; }

.event-card { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.event-card .ev-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.event-card h4 { font-size: 16px; margin: 0; }
.event-date { font-size: 12.5px; color: var(--or); font-weight: 700; }
.setlist-item { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13.8px; }
.setlist-item:last-child { border-bottom: none; }
.setlist-num { width: 22px; height: 22px; border-radius: 50%; background: var(--creme-2); color: var(--bordeaux); font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

.note-callout {
  background: rgba(184,137,43,0.08); border: 1px solid rgba(184,137,43,0.3);
  border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #7a5c17; margin-bottom: 24px;
}

/* ---- Événements & setlists (espace élève) ---- */
.event-empty { text-align: center; padding: 30px 20px; color: var(--text-light); font-size: 13.5px; border: 1px dashed var(--border); border-radius: 14px; }
.event-meta { font-size: 12.5px; color: var(--text-light); margin-bottom: 12px; }
.setlist-item .sl-title { flex: 1; }
.setlist-actions { display: flex; gap: 4px; flex: none; }
.sl-btn {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: var(--white);
  color: var(--text-light); font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.sl-btn:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.setlist-empty { font-size: 13px; color: var(--text-light); padding: 8px 0; }
.add-song-row { display: flex; gap: 8px; margin-top: 12px; }
.add-song-row input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 13.5px; background: var(--creme); color: var(--text);
}
.add-song-row input:focus { outline: none; border-color: var(--or); background: #fff; }
.event-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---- Comparatif table ---- */
.compare-wrap { overflow-x: auto; margin-top: 60px; }
table.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--border); }
table.compare th { background: var(--anthracite); color: #fff; font-weight: 600; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.center, table.compare th.center { text-align: center; }
table.compare .yes { color: var(--or); font-weight: 700; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h4 { font-size: 16px; margin: 0 0 8px; display: flex; gap: 10px; align-items: center; }
.faq-item h4::before { content: "?"; color: var(--or); font-family: 'Playfair Display', serif; }
.faq-item p { color: var(--text-light); font-size: 14.5px; margin: 0; }

/* ---- Inscription élève (compte.html) ---- */
.auth-shell { max-width: 780px; margin: 0 auto; }
.auth-intro { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.auth-intro p { color: var(--text-light); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-strong);
  padding: 46px 50px;
}

.progress-track { position: relative; display: flex; justify-content: space-between; margin-bottom: 46px; padding: 0 4px; }
.progress-line { position: absolute; top: 17px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 0; }
.progress-line-fill { position: absolute; top: 17px; left: 12.5%; height: 2px; background: var(--or); z-index: 1; width: 0%; transition: width .35s ease; }
.progress-step { position: relative; z-index: 2; text-align: center; flex: 1; }
.progress-step .ps-dot {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 8px;
  background: var(--white); color: var(--text-light); border: 2px solid var(--border);
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.progress-step .ps-label { font-size: 11.5px; font-weight: 600; color: var(--text-light); letter-spacing: .02em; }
.progress-step.active .ps-dot { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.progress-step.active .ps-label { color: var(--bordeaux); }
.progress-step.done .ps-dot { background: var(--or); border-color: var(--or); color: #fff; }
.progress-step.done .ps-label { color: var(--or); }

.form-step { display: none; }
.form-step.active { display: block; animation: fstepIn .35s ease; }
@keyframes fstepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.form-step h3 { font-size: 22px; margin-bottom: 6px; }
.form-step .step-desc { color: var(--text-light); font-size: 14px; margin-bottom: 30px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--anthracite); }
.field label .hint { font-size: 12px; color: var(--text-light); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="password"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--text); background: var(--creme);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(184,137,43,0.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-card label {
  display: block; border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px;
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); background: var(--creme);
  transition: all .18s;
}
.choice-card label .cc-sub { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-light); margin-top: 3px; }
.choice-card input:checked + label { border-color: var(--bordeaux); background: rgba(107,31,42,0.06); color: var(--bordeaux); box-shadow: 0 4px 14px rgba(107,31,42,0.10); }
.choice-card input:focus-visible + label { outline: 2px solid var(--or); outline-offset: 2px; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.checkbox-item { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--bordeaux); }

.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.plan-option { position: relative; }
.plan-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-option label {
  display: block; border: 1.5px solid var(--border); border-radius: 14px; padding: 18px 20px;
  cursor: pointer; background: var(--creme); transition: all .18s; position: relative;
}
.plan-option .po-name { font-weight: 700; font-size: 14.5px; color: var(--anthracite); }
.plan-option .po-badge {
  position: absolute; top: -10px; right: 14px; background: var(--or); color: #fff;
  font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em;
}
.plan-option .po-price { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--bordeaux); font-weight: 700; margin: 6px 0 2px; }
.plan-option .po-desc { font-size: 12.5px; color: var(--text-light); }
.plan-option input:checked + label { border-color: var(--bordeaux); background: rgba(107,31,42,0.06); box-shadow: 0 6px 18px rgba(107,31,42,0.12); }

.consent-box {
  background: var(--creme-2); border-radius: 12px; padding: 16px 18px; font-size: 13px;
  color: var(--text-light); margin: 22px 0 6px; display: flex; gap: 10px; align-items: flex-start;
}
.consent-box input { margin-top: 3px; accent-color: var(--bordeaux); flex: none; }
.consent-box label { line-height: 1.5; }

.info-callout {
  background: rgba(184,137,43,0.08); border: 1px solid rgba(184,137,43,0.28);
  border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #7a5c17; margin-bottom: 28px;
}

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border); }
.required-note { font-size: 12px; color: var(--text-light); margin: -8px 0 22px; }
.plan-note { text-align: center; font-size: 13px; color: var(--or); font-weight: 600; margin-bottom: 26px; padding: 10px; background: rgba(184,137,43,0.08); border-radius: 10px; }

.honey { position: absolute; left: -9999px; opacity: 0; }

/* ---- Merci / confirmation ---- */
.confirm-shell { max-width: 560px; margin: 90px auto; text-align: center; }
.confirm-icon { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, var(--bordeaux), var(--or)); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }

/* ---- Menu mobile (hamburger) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: none; background: transparent; cursor: pointer;
  flex: none; padding: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--anthracite);
  border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 400;
  background: var(--creme);
  padding: 100px 30px 40px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 34px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute; top: 22px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--white);
  font-size: 16px; color: var(--anthracite); cursor: pointer;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600;
  color: var(--anthracite); padding: 12px 4px; border-bottom: 1px solid var(--border);
}
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-user-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px 16px; }
.mobile-user-row [data-user-name] { font-weight: 700; font-size: 16px; color: var(--anthracite); }

/* ---- Chip élève connecté (avatar + déconnexion) ---- */
.user-chip { display: flex; align-items: center; gap: 16px; padding: 6px 0; }
.user-chip-avatar {
  position: relative; width: 108px; height: 108px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--or), var(--bordeaux));
  color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-strong); border: 3px solid var(--white);
  /* pas de overflow:hidden ici : le badge crayon doit pouvoir déborder sur le bord
     sans être coupé (voir .user-chip-avatar img ci-dessous pour le cadrage circulaire) */
}
.user-chip-avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  transform: scale(1.18); /* léger zoom pour bien cadrer le visage */
}
.user-chip-avatar [data-avatar-initial] { border-radius: 50%; }
#headerAvatarBox .user-chip-edit {
  position: absolute; bottom: -3px; right: -3px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--or); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--creme); box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.mobile-user-row .user-chip-avatar { width: 64px; height: 64px; font-size: 24px; cursor: default; }
.user-chip-name {
  font-size: 16px; font-weight: 700; color: var(--anthracite);
  max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---- Espace administrateur ---- */
.admin-denied { max-width: 560px; margin: 90px auto; text-align: center; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.admin-stat-box {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow);
}
.admin-stat-box .num { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--bordeaux); font-weight: 700; }
.admin-stat-box .lbl { font-size: 12.5px; color: var(--text-light); margin-top: 4px; }

.admin-section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 46px 0 20px;
}
.admin-section-title h2 { font-size: 22px; margin: 0; }
.admin-section-title p { font-size: 13px; color: var(--text-light); margin: 4px 0 0; }

.activity-feed { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); }
.activity-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  border-bottom: 1px dashed var(--border); font-size: 13.8px;
}
.activity-row:last-child { border-bottom: none; }
.activity-icon {
  flex: none; width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  background: rgba(184,137,43,0.14); color: var(--or);
}
.activity-icon.signup { background: rgba(107,31,42,0.10); color: var(--bordeaux); }
.activity-icon.feedback { background: rgba(184,137,43,0.18); color: var(--or); }
.activity-text { flex: 1; color: var(--text); }
.activity-text strong { color: var(--anthracite); }
.activity-date { flex: none; font-size: 12px; color: var(--text-light); white-space: nowrap; }
.activity-empty { padding: 30px 20px; text-align: center; color: var(--text-light); font-size: 13.5px; }

.admin-search {
  width: 100%; max-width: 380px; padding: 11px 16px; border: 1px solid var(--border); border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 14px; background: var(--white);
}

.student-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow);
}
.student-head {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer;
  transition: background .15s ease;
}
.student-head:hover { background: var(--creme-2); }
.student-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(135deg, var(--or), var(--bordeaux));
  color: #fff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.student-avatar img { width: 100%; height: 100%; object-fit: cover; }
.student-info { flex: 1; min-width: 0; }
.student-info h4 { font-size: 15.5px; margin: 0 0 2px; }
.student-info p { font-size: 12.5px; color: var(--text-light); margin: 0; text-align: left; }
.student-plan-tag {
  flex: none; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: rgba(184,137,43,0.14); color: var(--or);
}
.student-plan-tag.no-plan { background: rgba(107,31,42,0.06); color: var(--text-light); }
.student-video-count {
  flex: none; font-size: 12px; color: var(--text-light);
}
.student-chevron { flex: none; font-size: 13px; color: var(--text-light); transition: transform .2s ease; }
.student-card.open .student-chevron { transform: rotate(180deg); }

.student-body { display: none; padding: 0 22px 22px; border-top: 1px solid var(--border); }
.student-card.open .student-body { display: block; }
.student-no-video { padding: 20px 0; color: var(--text-light); font-size: 13.5px; text-align: center; }

.admin-video-row {
  border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-top: 16px;
}
.admin-video-row .avr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.admin-video-row h5 { font-size: 14.5px; margin: 0; }
.admin-video-row .avr-date { font-size: 11.5px; color: var(--text-light); }
.admin-comment-box {
  width: 100%; min-height: 70px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 13.5px; color: var(--text); background: var(--creme);
  resize: vertical; margin-bottom: 10px;
}
.admin-video-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-response-note { font-size: 12px; color: var(--or); font-weight: 600; }

/* ---- Mur de réponses (fil de discussion élève <-> Marina) ---- */
.reply-thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.reply-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--creme-2); border-radius: 12px; padding: 12px 14px;
  border-left: 3px solid var(--or);
}
.reply-item .reply-icon {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bordeaux); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.reply-item .reply-body { flex: 1; min-width: 0; }
.reply-item .reply-label { font-size: 11.5px; font-weight: 700; color: var(--bordeaux); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.reply-item .reply-text { font-size: 13.5px; color: var(--text); }
.reply-item video { width: 100%; max-width: 360px; border-radius: 10px; margin-top: 4px; display: block; }
.reply-item audio { width: 100%; max-width: 360px; margin-top: 4px; display: block; }
.compose-label { font-size: 11.5px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; margin: 14px 0 8px; }

.voice-btn.recording {
  background: var(--bordeaux); color: #fff; border-color: var(--bordeaux);
}
.recording-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; margin-right: 6px; animation: mr-pulse 1s ease-in-out infinite;
}
@keyframes mr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.admin-tab-note {
  background: rgba(184,137,43,0.08); border: 1px solid rgba(184,137,43,0.28);
  border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #7a5c17; margin-bottom: 30px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid, .steps-grid, .pricing-grid, .features-grid, .course-grid, .footer-grid, .unit-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .app-shell { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .testimonial { grid-template-columns: 1fr; padding: 36px 30px; }
  .form-card { padding: 32px 24px; }
  .field-row, .choice-grid, .checkbox-grid, .plan-grid { grid-template-columns: 1fr; }
  .progress-step .ps-label { display: none; }
  .about-hero, .credential-strip, .check-list { grid-template-columns: 1fr; }
  .about-photo { height: 340px; }
  .closing-quote { padding: 40px 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-fab { width: 110px; height: 110px; right: 14px; }
  .cart-fab img { width: 58px; height: 58px; }
  .cart-fab .cart-count { min-width: 26px; height: 26px; font-size: 13px; }
  .icon-inline { width: 40px; height: 40px; }
  .cart-item-icon { width: 90px; height: 90px; }
  .cart-item-icon img { width: 70px; height: 70px; }
}

@media (max-width: 600px) {
  .header-actions { display: none; }
  .container { padding: 0 18px; }
  .header-inner { padding: 12px 18px; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 15px; }
  .hero-visual { height: 260px; }
  section { padding: 50px 0; }
  .section-head h2 { font-size: 24px; }
  .page-hero { padding: 40px 0 28px; }
  .page-hero h1 { font-size: 27px; }
  .price-amount { font-size: 32px; }
  .form-card { padding: 24px 18px; }
  .testimonial { padding: 26px 20px; }
  .testimonial blockquote { font-size: 17px; }
  .testimonial .quote-mark { font-size: 52px; }
  .cart-fab { width: 84px; height: 84px; top: auto; bottom: 20px; right: 16px; transform: none; }
  .cart-fab:hover { transform: scale(1.05); }
  .cart-fab img { width: 44px; height: 44px; }
  .nudge-banner { left: 12px; right: 12px; transform: none; bottom: 92px; padding: 12px 16px; font-size: 12.5px; max-width: none; }
  .mr-toast { left: 12px; right: 12px; transform: translateY(16px); max-width: none; }
  .mr-toast.show { transform: translateY(0); }
  .about-photo { height: 220px; }
  .closing-quote { padding: 32px 20px; }
  .closing-quote p { font-size: 17px; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-icon { width: 70px; height: 70px; }
  .cart-item-icon img { width: 50px; height: 50px; }
  .app-main { padding: 22px 18px; }
  .stat-row { grid-template-columns: 1fr; }
  .credential-strip { gap: 12px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .admin-stat-box { padding: 16px 18px; }
  .student-head { padding: 14px 16px; flex-wrap: wrap; }
  .student-body { padding: 0 16px 18px; }
  .admin-search { max-width: none; }
}
