/* ════════════════════════════════════════════
   Landing Mobile — L'Atelier de l'ongle
   ════════════════════════════════════════════ */

:root {
  --gold: #C5A55A;
  --gold-light: #D4BA7A;
  --rose: #F5E6E0;
  --rose-deep: #E8C4B8;
  --noir: #1a1a1a;
  --noir-soft: #2d2d2d;
  --cream: #FFF9F5;
  --cream-dark: #F5EDE6;
  --white: #ffffff;
  /* --site-bg: overall page background. Default matches --cream; JS overrides
     this with the user's background_color from admin (Mon Site > Apparence)
     so the whole body + main content sections follow the chosen tone, while
     inputs/cards keep their own neutral (--cream/--white) for readability. */
  --site-bg: #FFF9F5;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.2);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--site-bg);
  color: var(--noir);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ BLOC 1 — HERO ═══════════════════════ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.1) 0%,
    rgba(26,26,26,0.3) 40%,
    rgba(26,26,26,0.85) 75%,
    rgba(26,26,26,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px 48px;
  color: var(--white);
  max-width: 480px;
}

.hero-badge {
  display: inline-block;
  background: rgba(197,165,90,0.25);
  border: 1px solid rgba(197,165,90,0.5);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.5;
}

.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(197,165,90,.4);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.cta-main:active {
  transform: scale(0.96);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(197,165,90,.4); }
  50% { box-shadow: 0 4px 30px rgba(197,165,90,.7); }
}

.cta-main svg {
  animation: bounce-down 1.5s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ═══ BLOC 2 — PREUVE SOCIALE ═════════════ */

.social-proof {
  padding: 56px 24px;
  background: var(--site-bg);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.stat {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s ease-out;
}

.stat.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.stat-icon {
  font-size: 14px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* Testimonials section (standalone) */
.testimonials-section {
  padding: 48px 24px 32px;
  background: var(--site-bg);
  text-align: center;
}

.testimonials-carousel {
  position: relative;
  margin-bottom: 12px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .5s, transform .5s;
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
  color: #f5a623;
  font-size: 16px;
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #aaa;
  margin-bottom: 10px;
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 50px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--noir-soft);
  line-height: 1.6;
  max-width: 320px;
}

.testimonial-name {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: background .3s, transform .3s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.social-tagline {
  text-align: center;
  font-size: 18px;
  color: var(--noir-soft);
  margin-bottom: 36px;
  line-height: 1.5;
}

.marlene-quote {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: none;
  margin: 0;
}

.quote-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 12px;
  border: 2px solid var(--gold);
}

.marlene-quote p {
  font-size: 15px;
  font-style: italic;
  color: var(--noir-soft);
  line-height: 1.6;
}

.marlene-quote p em {
  color: var(--gold);
  font-style: italic;
}

.marlene-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}

/* ═══ BLOC 3 — FORMATIONS ════════════════ */

.formations {
  padding: 56px 0 56px 0;
  background: var(--site-bg);
}

.formations h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 0 24px;
}

.formations h2 em {
  font-style: normal;
  color: var(--gold);
}

.formations-hint {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 24px;
}

.formations-track {
  display: flex;
  gap: 16px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.formations-track::-webkit-scrollbar { display: none; }

.formation-card {
  flex: 0 0 calc(100vw - 64px);
  max-width: 340px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
  display: flex;
  flex-direction: column;
}

.formation-card:active {
  transform: scale(0.98);
}

.formation-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.formation-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formation-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,26,26,0.8);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.formation-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.formation-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--noir);
}

.formation-card-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.formation-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  margin-top: auto;
}

.formation-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
}

.formation-spots {
  font-size: 13px;
  color: #e74c3c;
  font-weight: 600;
}

.formation-cta {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s;
}

.formation-cta:active {
  background: var(--gold-light);
}

/* ═══ BLOC 4 — BOTTOM SHEET ══════════════ */

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 0;
  z-index: 101;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  padding: 12px 24px 32px;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.bottom-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 0 auto 16px;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sheet-formation-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.sheet-close {
  background: var(--cream);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--noir);
}

/* Detail step */
.sheet-detail {
  display: none;
  overflow-y: auto;
  max-height: calc(100dvh - 100px);
  -webkit-overflow-scrolling: touch;
}

.detail-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.detail-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.detail-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--noir);
  background: #f8f6f3;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(201, 168, 85, 0.15);
}

.detail-description {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 16px;
}

.detail-description p {
  margin: 0 0 10px;
}

.detail-features {
  margin-bottom: 20px;
}

.detail-features h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--noir);
  margin: 0 0 10px;
}

.detail-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-features li {
  font-size: 0.88rem;
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #f0ede8;
}

.detail-features li:last-child {
  border-bottom: none;
}

/* Session picker */
.session-picker {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0ede8;
}

.session-picker h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--noir);
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.session-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  transition: all .2s;
}

.session-item input[type="radio"] {
  display: none;
}

.session-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all .2s;
  position: relative;
}

.session-item.selected .session-radio {
  border-color: var(--gold);
}

.session-item.selected .session-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
  border-radius: 50%;
}

.session-item.selected {
  border-color: var(--gold);
  background: rgba(197,165,90,0.08);
}

.session-item:not(.session-full):hover {
  border-color: var(--gold);
}

.session-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.session-date-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--noir);
  text-transform: capitalize;
}

.session-venue {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.session-spots {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
}

.session-spots.full {
  color: #e74c3c;
  font-weight: 600;
}

.session-full {
  opacity: 0.5;
  cursor: not-allowed;
}

.no-sessions {
  font-size: 14px;
  color: #888;
  text-align: center;
  padding: 16px 0;
}

.no-sessions a {
  color: var(--gold);
}

/* Price bar */
.detail-price-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 4px;
  border-top: 1px solid #f0ede8;
  position: sticky;
  bottom: 0;
  background: #fff;
}

.detail-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.payment-methods-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-badge-stripe {
  font-size: 12px;
  color: #555;
}

.detail-cta.cta-main {
  width: 100%;
  padding: 12px 24px;
  font-size: 1rem;
  text-align: center;
}

.detail-cta:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.cgv-mention {
  font-size: 11px;
  color: #999;
  text-align: center;
  line-height: 1.4;
}

.cgv-mention a {
  color: #888;
  text-decoration: underline;
}

/* === Cash payment registration (mode alternatif au paiement Stripe) === */
.cash-separator-mobile {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0 6px;
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cash-separator-mobile::before,
.cash-separator-mobile::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e2e2;
}
.cash-separator-mobile span {
  padding: 0 12px;
}

.cta-cash-secondary {
  width: 100%;
  padding: 10px 16px;
  background: white;
  color: #1a1a1a;
  border: 2px solid #EAB308;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, transform .1s;
}
.cta-cash-secondary:active {
  transform: scale(0.98);
}
.cta-cash-secondary:not(:disabled):hover {
  background: #EAB308;
  color: white;
}
.cta-cash-secondary:disabled {
  border-color: #ddd;
  color: #aaa;
  cursor: not-allowed;
}

.cash-help-mobile {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6b6b6b;
  text-align: center;
  line-height: 1.4;
}

.sheet-cash-form {
  margin-top: 20px;
  padding: 18px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
}
.sheet-cash-form[hidden] {
  display: none;
}
.sheet-cash-form .cash-form-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #1a1a1a;
}
.sheet-cash-form .cash-form-intro {
  margin: 0 0 14px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.cash-error-mobile {
  padding: 10px 12px;
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.cash-form-actions-mobile {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.cta-cash-cancel {
  flex: 0 0 auto;
  padding: 14px 18px;
  background: transparent;
  color: #6b6b6b;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.cta-cash-cancel:active {
  transform: scale(0.98);
}
.cta-cash-submit {
  flex: 1;
}
@media (max-width: 380px) {
  .cash-form-actions-mobile {
    flex-direction: column-reverse;
  }
  .cta-cash-cancel {
    width: 100%;
  }
}

/* Form */
.sheet-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--noir-soft);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color .2s;
  -webkit-appearance: none;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

/* Level buttons */
.level-buttons {
  display: flex;
  gap: 8px;
}

.level-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
  color: var(--noir-soft);
  cursor: pointer;
  transition: all .2s;
}

.level-btn.selected {
  border-color: var(--gold);
  background: rgba(197,165,90,0.1);
  color: var(--gold);
}

.level-emoji {
  font-size: 24px;
}

/* GDPR */
.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  cursor: pointer;
}

.gdpr-label input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

/* Submit */
.cta-submit {
  width: 100%;
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .1s;
}

.cta-submit:active {
  transform: scale(0.98);
}

.cta-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.cta-submit.loading {
  position: relative;
  color: transparent;
}

.cta-submit.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

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

/* ═══ CONFIRMATION ═══════════════════════ */

.sheet-confirm {
  text-align: center;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.confirm-check {
  width: 64px;
  height: 64px;
  background: #27ae60;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: pop-in .5s cubic-bezier(.17,.67,.21,1.27);
}

@keyframes pop-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.sheet-confirm h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.sheet-confirm p {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

.confirm-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.confirm-socials span {
  font-size: 13px;
  color: #888;
}

.social-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--cream);
  border-radius: 50px;
  text-decoration: none;
  color: var(--noir);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}

.social-link:active {
  background: var(--cream-dark);
}

/* Confetti */
.confetti-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  top: -10px;
  animation: confetti-fall 2.5s ease-in forwards;
}

@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(350px) rotate(720deg); opacity: 0; }
}

/* ═══ HERO TAGS ═════════════════════════ */

.hero-tags {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ═══ À PROPOS ══════════════════════════ */

.about {
  padding: 48px 24px;
  background: var(--site-bg);
}

.about-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.about-avatar {
  flex-shrink: 0;
}

.about-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--noir);
}

.about-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--noir-soft);
  margin-bottom: 12px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ═══ CE QUE TU VAS APPRENDRE ══════════ */

.learn {
  padding: 48px 24px;
  background: var(--site-bg);
}

.learn h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 28px;
  color: var(--noir);
}

.learn h2 em {
  color: var(--gold);
  font-style: normal;
}

.learn-list {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--noir-soft);
}

.learn-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

/* ═══ POUR QUI ══════════════════════════ */

.for-who {
  padding: 48px 24px;
  background: var(--site-bg);
}

.for-who h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  text-align: center;
  margin-bottom: 28px;
  color: var(--noir);
}

.for-who-list {
  list-style: none;
  padding: 0;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.for-who-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--noir-soft);
  padding: 14px 18px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.for-who-list li::before {
  content: '⚡';
  font-size: 18px;
  flex-shrink: 0;
}

/* ═══ CTA FINAL ═════════════════════════ */

.final-cta {
  padding: 56px 24px;
  background: var(--noir);
  text-align: center;
}

.final-cta-inner {
  max-width: 500px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--white);
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-final {
  font-size: 18px;
  padding: 18px 36px;
  width: 100%;
}

/* ═══ FOOTER ═════════════════════════════ */

.mini-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: #aaa;
  background: var(--site-bg);
}

.mini-footer a {
  color: #888;
  text-decoration: none;
}

/* ═══ ANIMATIONS ═════════════════════════ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ DESKTOP (optionnel) ════════════════ */

@media (min-width: 768px) {
  .hero-content h1 { font-size: 36px; }
  .about-inner { flex-direction: row; text-align: left; }
  .about-avatar img { width: 160px; height: 160px; }
  .formations-hint { display: none; }
  .formations-track { justify-content: center; padding: 0 48px; }
  .formation-card { flex: 0 0 300px; }
  .bottom-sheet { max-width: 480px; left: 50%; transform: translateX(-50%) translateY(100%); border-radius: 20px 20px 0 0; height: auto; max-height: 90vh; }
  .bottom-sheet.open { transform: translateX(-50%) translateY(0); }
  .sheet-detail { max-height: 65vh; }
  .cta-final { width: auto; }
}
