/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette bleue */
  --cream:       #F0F6FA;
  --cream-deep:  #D6E8F3;
  --rose:        #2E7BB4;
  --rose-light:  #5EA8D4;
  --rose-pale:   #E6F2FA;
  --gold:        #1A6496;
  --gold-light:  #4A9AC4;
  --gold-pale:   #E0F0FA;
  --brown:       #0F2D4A;
  --brown-soft:  #1E4D70;

  --text:        #0F2235;
  --text-mid:    #2A5070;
  --text-light:  #5A84A0;
  --white:       #FFFFFF;

  --radius:      20px;
  --shadow:      0 6px 28px rgba(46, 123, 180, 0.10);
  --shadow-hover:0 14px 44px rgba(46, 123, 180, 0.16);
}

html { scroll-behavior: smooth; }

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

/* ===== NAV ===== */
.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 246, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-deep);
  transition: box-shadow 0.3s;
  overflow: visible;
}

.nav-bar.scrolled {
  box-shadow: 0 4px 20px rgba(46, 123, 180, 0.10);
}

.logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.btn-nav {
  justify-self: end;
  display: inline-block;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(46, 123, 180, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 123, 180, 0.42);
}

.nav-links a {
  color: var(--brown-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rose);
}

/* ===== HEADER / HERO ===== */
header {
  background: var(--cream);
  position: relative;
  border-bottom: 1px solid var(--cream-deep);
  padding-top: 68px;
  overflow: hidden;
}

/* Subtle radial glow behind hero */
header::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: max(820px, 100%);
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(94, 168, 212, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero {
  text-align: center;
  padding: 16px 24px 28px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(46, 123, 180, 0.10);
  color: var(--rose);
  border: 1px solid rgba(46, 123, 180, 0.35);
  border-radius: 999px;
  padding: 6px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-arabic {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  direction: rtl;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--brown);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-coach {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 42px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(46, 123, 180, 0.38);
  transition: transform 0.22s, box-shadow 0.22s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(46, 123, 180, 0.48);
}

/* ===== HERO KPIs ===== */
.hero-kpis {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 8px 0;
}

.kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.kpi-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 5px;
  text-align: center;
  max-width: 120px;
}

.kpi-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-light), transparent);
}

/* ===== À PROPOS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
}

.about-photo {
  width: 100%;
  border-radius: 32px;
  display: block;
  position: relative;
  z-index: 2;
  object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-hover);
}

.about-photo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 40px;
  border: 2px solid var(--gold-light);
  opacity: 0.5;
  z-index: 1;
}

.about-text {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

.about-quote {
  margin-top: 24px;
  padding: 18px 24px;
  border-left: 3px solid var(--rose-light);
  background: var(--rose-pale);
  border-radius: 0 16px 16px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(46, 123, 180, 0.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--brown);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--rose);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] .faq-question {
  color: var(--rose);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* Gold separator under hero */
.hero-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 20px;
}

.hero-sep::before,
.hero-sep::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.hero-sep::after {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.hero-sep span {
  color: var(--gold);
  font-size: 1rem;
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--gold-pale);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown);
  margin-bottom: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.section-intro {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 48px;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 123, 180, 0.10);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-light), var(--gold-light));
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 14px;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.card ul li {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.card ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-light);
  font-size: 0.6rem;
  top: 4px;
}

/* ===== VIDÉOS ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.video-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 123, 180, 0.10);
  transition: transform 0.25s, box-shadow 0.25s;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream-deep);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}

.video-card:hover .video-thumb img {
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 45, 74, 0.22);
  transition: background 0.25s;
}

.video-play span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--rose);
  padding-left: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.video-card:hover .video-play span {
  transform: scale(1.12);
}

.videos-cta {
  text-align: center;
}

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

/* ===== PRICING ===== */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid rgba(26, 100, 150, 0.2);
}

.pricing-top {
  background: linear-gradient(160deg, var(--cream-deep) 0%, #B8D9EF 100%);
  color: var(--brown);
  text-align: center;
  padding: 24px 32px 20px;
}

.pricing-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}

.pricing-tagline-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--rose);
  margin: 8px 0 4px;
}

.pricing-duration {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 300;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.pricing-bottom {
  padding: 22px 28px 28px;
  text-align: center;
}

.pricing-bottom h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--brown);
}

.pricing-bottom p {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.btn-secondary {
  display: inline-block;
  margin-top: 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 38px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(26, 100, 150, 0.38);
  transition: transform 0.22s, box-shadow 0.22s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 100, 150, 0.48);
}

/* ===== CONTACT ===== */
#contact {
  background: var(--rose-pale);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 44px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  text-decoration: none;
  border: 1px solid rgba(46, 123, 180, 0.10);
  transition: transform 0.22s, box-shadow 0.22s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-icon {
  background: #edfaee;
  color: #25D366;
}

.email-icon {
  background: rgba(46, 123, 180, 0.10);
  color: var(--rose);
}

.contact-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--white);
  color: var(--rose);
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 123, 180, 0.10);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--brown);
  color: rgba(214, 232, 243, 0.70);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
  line-height: 2;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(46, 123, 180, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ===== HAMBURGER (caché par défaut) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-soft);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
    justify-items: center;
  }

  .about-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }

  .about-content {
    width: 100%;
  }

  .about-quote {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Nav mobile : logo gauche, hamburger droite */
  .nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 3;
    background: rgba(240, 246, 250, 0.98);
    border-top: 1px solid var(--cream-deep);
    padding: 8px 0 16px;
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .btn-nav { display: none; }

  .hamburger { display: flex; }

  .logo { height: 44px; }

  /* Hero centré */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 32px;
    text-align: center;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-arabic,
  .hero h1,
  .hero-coach,
  .hero-tagline {
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-primary {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .hero-kpis {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 0;
    width: 100%;
  }

  .kpi { padding: 0 20px; }
  .kpi-number { font-size: 1.8rem; }

  .section { padding: 56px 20px; }
  .container {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-bottom { padding: 26px 22px 30px; text-align: center; }

  /* Sections centrées sur mobile */
  .section-tag {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title,
  .section-intro { text-align: center; }
  .section-intro { margin-left: auto; margin-right: auto; }

  .cards-grid,
  .contact-grid,
  .faq-list {
    width: 100%;
    justify-items: center;
  }

  .card,
  .contact-card,
  .faq-item {
    width: 100%;
  }

  .about-content,
  .pricing-card,
  .social-links {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-kpis { flex-direction: column; align-items: center; gap: 14px; }
  .kpi-divider { width: 40px; height: 1px; }
}
