/* ==========================================================================
   SUNU DIINE — Page d'accueil
   Palette : vert profond (identité) + or sable (accent) + crème
   Polices : Playfair Display (titres), DM Sans (texte), Amiri (arabe)
   ========================================================================== */

:root {
  --green: #00674f;
  --green-dark: #004d3a;
  --green-deep: #00392b;
  --green-soft: #e6f2ee;
  --gold: #c9a24a;
  --gold-soft: #f5ecd6;
  --cream: #faf7f0;
  --ink: #14211d;
  --muted: #5d6b66;
  --line: #e4e0d5;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 29, 0.06), 0 6px 18px rgba(20, 33, 29, 0.06);
  --shadow: 0 1px 2px rgba(20, 33, 29, 0.05), 0 14px 38px rgba(20, 33, 29, 0.1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", serif;
  /* Motif géométrique (étoile à 8 branches) */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Cpath d='M0 40h8M72 40h8M40 0v8M40 72v8'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 6rem 0; }

/* --- Titres --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); }
.section-head { max-width: 660px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: var(--gold); }
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600; line-height: 1.14; letter-spacing: -0.01em;
  margin: 0.75rem 0 1rem;
}
.h2 em { font-style: italic; color: var(--green); }
.lead { color: var(--muted); font-size: 1.05rem; }

/* --- Boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 10px 24px rgba(0, 103, 79, 0.28); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: #d8b35c; box-shadow: 0 10px 24px rgba(201, 162, 74, 0.38); }
.btn-ghost { color: var(--green); border-color: rgba(0, 103, 79, 0.3); background: transparent; }
.btn-ghost:hover { border-color: var(--green); background: var(--green-soft); }
.btn-ghost-light { color: var(--white); border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* --- Étiquettes --- */
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap;
}
.tag-free { background: var(--green-soft); color: var(--green); }
.tag-paid { background: var(--gold-soft); color: #8a6a1f; }
.tag-soon { background: #efede7; color: var(--muted); }
.tag-live { background: #fdeee8; color: #b5431c; }
.tag-live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d4572a;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.8); } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  background: rgba(0, 57, 43, 0.9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { background: rgba(0, 57, 43, 0.98); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--white); }
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201, 162, 74, 0.6); }
.brand span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.04em; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; font-weight: 500;
  position: relative; padding: 0.25rem 0; transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 0;
  background: var(--gold); transition: width 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-auth { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--green-deep); padding: 1.5rem 1.25rem 2rem;
    transform: translateY(-115%); visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-auth { flex-direction: column; align-items: stretch; }
  .nav-auth .btn { width: 100%; }
}

/* ==========================================================================
   Bannière d'accueil
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(76px + 5rem) 0 6rem;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(201, 162, 74, 0.22), transparent 62%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(0, 160, 120, 0.22), transparent 60%),
    linear-gradient(160deg, var(--green-deep) 0%, var(--green) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern); background-size: 80px 80px;
  opacity: 0.055; pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 4rem; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.05rem);
  font-weight: 600; line-height: 1.07; letter-spacing: -0.015em; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.14rem; color: rgba(255, 255, 255, 0.8); max-width: 545px; margin-bottom: 2rem; }
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); display: flex; align-items: center; gap: 0.45rem; }
.hero-note svg { width: 15px; height: 15px; color: var(--gold); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; }
.hero-stats span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.62); }

/* Mosaïque de cartes flottantes */
.hero-visual { position: relative; min-height: 430px; }
.float-card {
  position: absolute; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px;
  padding: 1.1rem 1.25rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% { transform: translateY(-14px); }
}
.fc-1 { top: 0; left: 0; width: 65%; animation-delay: -1s; }
.fc-2 { top: 33%; right: 0; width: 63%; animation-delay: -3.5s; }
.fc-3 { bottom: 0; left: 6%; width: 72%; animation-delay: -5.5s; }
.fc-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.fc-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(201, 162, 74, 0.2); color: var(--gold);
}
.fc-icon svg { width: 19px; height: 19px; }
.fc-title { font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.fc-meta { font-size: 0.78rem; color: rgba(255, 255, 255, 0.62); }
.fc-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; margin-top: 0.85rem; }
.fc-bar i {
  display: block; height: 100%; border-radius: 999px; background: var(--gold);
  width: 62%; transform-origin: left; animation: grow 1.6s ease 0.4s backwards;
}
@keyframes grow { from { transform: scaleX(0); } }

@media (max-width: 960px) {
  .hero { padding: calc(76px + 3rem) 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { min-height: 380px; max-width: 460px; }
  .hero-stats { gap: 1.75rem; }
}
@media (max-width: 480px) {
  .hero-visual { min-height: 340px; }
  .float-card { padding: 0.9rem 1rem; }
  .fc-1, .fc-2, .fc-3 { width: 78%; }
  .fc-2 { top: 34%; }
}

/* ==========================================================================
   Gratuit / Payant
   ========================================================================== */
.formules { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.formules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.formule {
  position: relative; overflow: hidden; border-radius: 24px; padding: 2.25rem;
  border: 1px solid var(--line); background: var(--cream);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.formule:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.formule-dark {
  background: linear-gradient(155deg, var(--green-deep), var(--green));
  border-color: transparent; color: var(--white);
}
.formule-dark::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern);
  background-size: 80px; opacity: 0.06; pointer-events: none;
}
.formule > * { position: relative; }
.formule h3 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; margin: 0.9rem 0 0.5rem; }
.formule-price { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }
.formule-dark .formule-price { color: rgba(255, 255, 255, 0.7); }
.formule-price b { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); font-weight: 600; }
.formule-list { margin-bottom: 1.75rem; flex: 1; display: grid; gap: 0.7rem; }
.formule-list li { display: flex; gap: 0.65rem; font-size: 0.94rem; align-items: flex-start; }
.formule-list svg { width: 20px; height: 20px; color: var(--green); margin-top: 1px; }
.formule-dark .formule-list svg { color: var(--gold); }

@media (max-width: 860px) { .formules-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trois portes d'entrée
   ========================================================================== */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.door {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 2rem 1.75rem; border-radius: 22px;
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.door:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.door-dark {
  background: linear-gradient(155deg, var(--green-deep), var(--green));
  border-color: transparent; color: var(--white);
}
.door-dark::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern);
  background-size: 80px; opacity: 0.07; pointer-events: none;
}
.door > * { position: relative; }
.door .tag + .tag { margin-left: 0.35rem; }
.door-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin: 1.25rem 0 1.1rem;
  transition: transform 0.3s;
}
.door:hover .door-icon { transform: scale(1.06) rotate(-3deg); }
.door-dark .door-icon { background: rgba(201, 162, 74, 0.18); color: var(--gold); }
.door-icon svg { width: 27px; height: 27px; }
.door h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 0.55rem; }
.door p { color: var(--muted); font-size: 0.94rem; flex: 1; margin-bottom: 1.4rem; }
.door-dark p { color: rgba(255, 255, 255, 0.74); }
.door-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.92rem; color: var(--green); }
.door-dark .door-link { color: var(--gold); }
.door-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.door:hover .door-link svg { transform: translateX(4px); }

@media (max-width: 960px) { .doors { grid-template-columns: 1fr; } }

/* ==========================================================================
   Parcours Coran
   ========================================================================== */
.quran {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, var(--green-deep), #013b2d 60%, var(--green));
}
.quran::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; opacity: 0.05; }
.quran .container { position: relative; }
.quran .eyebrow { color: var(--gold); }
.quran .eyebrow::before, .quran .eyebrow::after { background: var(--gold); }
.quran .h2 em { color: var(--gold); }
.quran .lead { color: rgba(255, 255, 255, 0.72); }
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.path::before {
  content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1.5px;
  background: repeating-linear-gradient(90deg, rgba(201, 162, 74, 0.6) 0 8px, transparent 8px 15px);
}
.step { position: relative; text-align: center; padding: 0 0.5rem; }
.step-num {
  counter-increment: step; position: relative; z-index: 1;
  width: 58px; height: 58px; margin: 0 auto 1.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(201, 162, 74, 0.55);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--gold);
  transition: transform 0.3s;
}
.step:hover .step-num { transform: translateY(-4px); }
.step-num::before { content: counter(step); }
.step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--green-deep); box-shadow: 0 0 0 8px rgba(201, 162, 74, 0.15); }
.step h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 0.4rem; }
.step p { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; margin-bottom: 0.8rem; }
.quran .tag-soon { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.72); }

@media (max-width: 900px) {
  .path { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .path::before { display: none; }
}
@media (max-width: 460px) { .path { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cours en direct (vidéo + offre)
   ========================================================================== */
.academy-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; align-items: center; }
.academy-video-container {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: var(--green-deep); box-shadow: var(--shadow);
}
.academy-video-container.academy-skeleton {
  background: linear-gradient(90deg, #d8e4df 25%, #eef4f1 37%, #d8e4df 63%);
  background-size: 400% 100%; animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.academy-video-placeholder, .academy-placeholder-img { width: 100%; height: 100%; }
.academy-placeholder-img { object-fit: cover; }
.academy-play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 57, 43, 0.1), rgba(0, 57, 43, 0.58));
  transition: background 0.25s;
}
.academy-play-overlay:hover { background: linear-gradient(180deg, rgba(0, 57, 43, 0.2), rgba(0, 57, 43, 0.72)); }
.academy-play-icon {
  width: 78px; height: 78px; padding: 22px 20px 22px 25px; border-radius: 50%;
  background: var(--gold); color: var(--green-deep);
  box-shadow: 0 0 0 0 rgba(201, 162, 74, 0.45); transition: transform 0.2s;
  animation: halo 2.6s ease-out infinite;
}
@keyframes halo {
  70%, 100% { box-shadow: 0 0 0 26px rgba(201, 162, 74, 0); }
}
.academy-play-overlay:hover .academy-play-icon { transform: scale(1.08); }
.academy-video-container .video-js,
.academy-video-container .vjs-tech { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.academy-video-container .video-js { font-family: var(--font-body); background: #000; }
.academy-video-container .video-js .vjs-big-play-button { display: none; }
.academy-video-container .video-js .vjs-play-progress,
.academy-video-container .video-js .vjs-volume-level { background-color: var(--gold); }
.academy-video-container .video-js .vjs-control-bar { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75)); }

.offer {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.offer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.offer h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; }
.offer > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.25rem; }
.offer-features { margin-bottom: 1.5rem; display: grid; gap: 0.55rem; }
.offer-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.93rem; }
.offer-features svg { width: 18px; height: 18px; color: var(--green); }
.offer-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.price { background: var(--cream); border-radius: 14px; padding: 1rem; }
.price span { display: block; font-size: 0.76rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.price strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--green); }
.price small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }

@media (max-width: 960px) { .academy-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ==========================================================================
   Comment ça marche
   ========================================================================== */
.how { background: var(--white); border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.how-card {
  padding: 2rem 1.75rem; border-radius: 20px; background: var(--cream);
  border: 1px solid var(--line); transition: transform 0.3s, box-shadow 0.3s;
}
.how-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.how-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  color: var(--gold); line-height: 1; margin-bottom: 0.9rem;
}
.how-card h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; margin-bottom: 0.5rem; }
.how-card p { color: var(--muted); font-size: 0.93rem; }

@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Verset
   ========================================================================== */
.verse {
  position: relative; overflow: hidden; text-align: center; color: var(--white);
  background: var(--green-deep); padding: 6rem 0;
}
.verse::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px; opacity: 0.05; }
.verse .container { position: relative; max-width: 880px; }
.verse-arabic { font-family: var(--font-arabic); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 2; direction: rtl; margin-bottom: 1.5rem; }
.verse-translation { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); }
.verse-ref { margin-top: 1.25rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* ==========================================================================
   Appel final
   ========================================================================== */
.cta-final { padding: 5rem 0; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px; text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--gold-soft), #efe3c4);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--pattern); background-size: 80px; opacity: 0.07;
  filter: invert(1);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 600; margin-bottom: 0.75rem; }
.cta-box p { color: #5b5340; max-width: 520px; margin: 0 auto 1.75rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.footer { background: #0c1d18; color: rgba(255, 255, 255, 0.7); padding: 4.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .brand { margin-bottom: 1rem; }
.footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { padding: 0.3rem 0; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-social { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding: 0.5rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; transition: border-color 0.2s; }
.footer-social:hover { border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.82rem; }
.footer-bottom em { font-family: var(--font-display); color: var(--gold); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}

/* --- Apparition au défilement --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.09s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .academy-play-icon, .tag-live::before, .hero-badge .dot,
  .academy-video-container.academy-skeleton { animation: none; }
  .btn:hover, .course:hover, .formule:hover, .how-card:hover { transform: none; }
}


/* ==========================================================================
   Appel au don (accueil)
   ========================================================================== */
.don-appel { padding-top: 0; }
.don-appel-inner {
  position: relative; overflow: hidden; border-radius: 28px;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.5rem; align-items: center;
  padding: 3rem 3rem 3rem 3.25rem;
  background: linear-gradient(150deg, var(--green-deep), var(--green));
  color: var(--white);
}
.don-appel-inner::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern);
  background-size: 80px; opacity: 0.07; pointer-events: none;
}
.don-appel-inner > * { position: relative; }
.don-appel .eyebrow { color: var(--gold); }
.don-appel .eyebrow::before { background: var(--gold); }
.don-appel .h2 em { color: var(--gold); }
.don-appel .lead { color: rgba(255, 255, 255, 0.76); margin-bottom: 1.75rem; }
.don-appel-visuel { display: grid; place-items: center; }
.don-appel-visuel svg { width: 150px; height: 150px; color: rgba(201, 162, 74, 0.55); }

@media (max-width: 860px) {
  .don-appel-inner { grid-template-columns: 1fr; padding: 2.25rem 1.5rem; gap: 1.5rem; }
  .don-appel-visuel { display: none; }
}
