/* ============================================================
   L'ÉDUCATEUR — CSS Global
   Palette : Navy #1B2E5E | Teal #2AA5B5 | Gris froid #F0F4F8
   Typo : Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --navy:      #1B2E5E;
  --navy-deep: #0F1E42;
  --teal:      #2AA5B5;
  --teal-light:#EAF4F7;
  --gold:      #2AA5B5;
  --gold-light:#F0F4F8;
  --white:     #FFFFFF;
  --gray-soft: #F4F6F8;
  --gray-mid:  #DDE3EA;
  --gray-text: #5A6478;
  --body-text: #1E2533;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-card: 0 4px 24px rgba(27,46,94,.08);
  --shadow-hover: 0 10px 40px rgba(27,46,94,.14);

  --max-w: 1100px;
  --section-py: 90px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Utility ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: var(--section-py) 0; }
.section--alt { background: #F0F4F8; }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--teal { background: var(--teal-light); }

.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }

/* ── Typography ─────────────────────────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--navy);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 560px;
  line-height: 1.7;
}
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--white); }
.section--dark .section-sub   { color: rgba(255,255,255,.7); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: #239AAA; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn-gold {
  background: var(--navy);
  color: var(--white);
}
.btn-gold:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ── Header ─────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  padding: 0;
  transition: box-shadow .3s ease;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(27,46,94,.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.logo-sub {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-text);
  font-family: var(--font-body);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--teal-light);
  color: var(--teal);
}

.nav-cta { margin-left: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  padding: 16px 24px 24px;
  gap: 6px;
}
.mobile-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: block;
  transition: background .2s;
}
.mobile-nav a:hover { background: var(--teal-light); color: var(--teal); }
.mobile-nav .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* ── Footer ─────────────────────────────────────────────── */
#site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-sub  { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.footer-contact p .icon { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bar span { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bar a    { color: rgba(255,255,255,.4); font-size: .78rem; }
.footer-bar a:hover { color: var(--white); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background: #F0F4F8;
}
.hero-content {
  padding: 80px 60px 80px 40px;
}
.hero-content .display-title { margin-bottom: 20px; }
.hero-content .display-title em {
  font-style: italic;
  color: var(--teal);
}
.hero-content p {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  min-height: 600px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-badge {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.hero-badge .badge-text strong { display: block; font-size: .85rem; color: var(--navy); font-weight: 600; }
.hero-badge .badge-text span   { font-size: .72rem; color: var(--gray-text); }

/* ── Services Cards ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy));
  transform: scaleX(0);
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-bottom: 20px;
  position: relative;
}
.service-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: block;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: .88rem;
  color: var(--gray-text);
  line-height: 1.65;
}
.service-card .tag {
  display: inline-block;
  margin-top: 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ── About / Bio ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--teal);
  border-radius: 50%;
  opacity: .12;
}
.about-accent-2 {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .2;
}
.about-content .eyebrow { display: block; }
.about-content .section-title { margin-bottom: 18px; }
.about-content p {
  font-size: .95rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 36px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}
.stat-item span {
  font-size: .78rem;
  color: var(--gray-text);
  letter-spacing: .04em;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: background .3s;
}
.testimonial-card:hover { background: rgba(255,255,255,.1); }
.testimonial-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.testimonial-author strong { display: block; font-size: .82rem; color: var(--white); font-weight: 600; }
.testimonial-author span   { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ── Books ──────────────────────────────────────────────── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .3s;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.book-cover {
  width: 70px;
  flex-shrink: 0;
  background: var(--navy);
  height: 90px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.book-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}
.book-info p { font-size: .8rem; color: var(--gray-text); line-height: 1.5; }
.book-info a { font-size: .78rem; color: var(--teal); font-weight: 600; margin-top: 10px; display: inline-block; }
.book-info a:hover { text-decoration: underline; }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RDV Page ────────────────────────────────────────────── */
.rdv-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: var(--white);
}
.rdv-hero .display-title { color: var(--white); }
.rdv-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-top: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }

.rdv-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}
.rdv-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.rdv-info p { font-size: .9rem; color: var(--gray-text); line-height: 1.75; margin-bottom: 20px; }

.rdv-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.rdv-item  {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: #EAF4F7;
  border-radius: var(--radius-sm);
}
.rdv-item .icon { font-size: 1.3rem; flex-shrink: 0; }
.rdv-item-text strong { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); }
.rdv-item-text span   { font-size: .8rem; color: var(--gray-text); }

.calendly-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  min-height: 700px;
  background: var(--white);
}
.calendly-embed iframe { display: block; }

/* ── Espace Client ──────────────────────────────────────── */
.login-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F4F8;
  padding: 60px 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 56px 52px;
  box-shadow: var(--shadow-hover);
  max-width: 440px;
  width: 100%;
}
.login-card .logo { justify-content: center; margin-bottom: 32px; }
.login-card h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 6px;
}
.login-card .login-sub {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-text);
  margin-bottom: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--teal);
}
.login-btn { width: 100%; padding: 14px; font-size: .9rem; }
.login-forgot { text-align: right; margin-top: -12px; margin-bottom: 20px; }
.login-forgot a { font-size: .78rem; color: var(--teal); }

/* Dashboard */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 80px);
}
.dashboard-sidebar {
  background: var(--navy-deep);
  padding: 32px 0;
}
.sidebar-user {
  padding: 0 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.sidebar-user .avatar {
  width: 50px;
  height: 50px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}
.sidebar-user strong { display: block; font-size: .9rem; color: var(--white); }
.sidebar-user span   { font-size: .75rem; color: rgba(255,255,255,.5); }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: all .2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-left: 3px solid var(--teal);
}
.sidebar-nav a .nav-icon { font-size: 1rem; }

.dashboard-main {
  background: var(--gray-soft);
  padding: 40px 48px;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.dash-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.dash-card .card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.dash-card .card-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.dash-card .card-label { font-size: .78rem; color: var(--gray-text); }

/* Video Player */
.video-section { margin-top: 10px; }
.video-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .3s;
}
.video-card:hover { box-shadow: var(--shadow-hover); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-circle {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy);
  transition: transform .2s;
}
.video-thumb:hover .play-circle { transform: scale(1.1); }
.video-meta { padding: 16px 18px; }
.video-meta h4 { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.video-meta span { font-size: .75rem; color: var(--gray-text); }
.video-lock {
  position: absolute;
  inset: 0;
  background: rgba(27,46,94,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
  font-size: .8rem;
}
.video-lock .lock-icon { font-size: 2rem; }

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.modal-inner {
  background: var(--navy-deep);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 860px;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: rgba(255,255,255,.05);
}
.modal-header h3 { font-size: .95rem; color: var(--white); }
.modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}
.modal-close:hover { color: var(--white); }
.modal-video { position: relative; aspect-ratio: 16/9; }
.modal-video iframe, .modal-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: .9rem;
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 28px;
}
.contact-items { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #EAF4F7;
  border-radius: var(--radius-sm);
}
.contact-item .c-icon { font-size: 1.2rem; color: var(--teal); }
.contact-item span { font-size: .87rem; color: var(--navy); font-weight: 500; }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-mid);
}
.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--body-text);
  resize: vertical;
  min-height: 120px;
  background: var(--white);
  transition: border-color .2s;
  font-family: var(--font-body);
}
.form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  background: var(--white);
  color: var(--body-text);
  transition: border-color .2s;
  cursor: pointer;
}
.form-group select:focus { outline: none; border-color: var(--teal); }
.submit-btn { width: 100%; padding: 15px; font-size: .9rem; margin-top: 8px; }

/* ── Flash/Alert Messages ───────────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 20px;
}
.alert-success { background: #E6F4EA; color: #1E7E34; border-left: 4px solid #28A745; }
.alert-error   { background: #FDE8E8; color: #C0392B; border-left: 4px solid #E74C3C; }
.alert-info    { background: var(--teal-light); color: var(--navy); border-left: 4px solid var(--teal); }

/* ── Stripe Payment ─────────────────────────────────────── */
.payment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 560px;
}
.payment-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.payment-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--teal);
  font-weight: 300;
  margin: 16px 0;
}
.payment-price span { font-size: 1rem; color: var(--gray-text); }
#card-element {
  padding: 14px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 20px;
}
#card-element.focused { border-color: var(--teal); }
#card-errors { font-size: .82rem; color: #E74C3C; margin-top: -12px; margin-bottom: 16px; }

/* ── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0 70px;
  text-align: center;
  color: var(--white);
}
.page-hero .display-title { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero p {
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 16px auto 0;
  font-size: 1rem;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid, .testimonials-grid, .books-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rdv-grid, .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 420px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 380px; }
  .hero-content { padding: 60px 40px; }
  .dashboard-layout { grid-template-columns: 220px 1fr; }
  .dashboard-main { padding: 28px 32px; }
  .dash-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .nav-links, .nav-cta, .nav-cta { display: none; }
  .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .services-grid, .testimonials-grid, .books-grid,
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bar { flex-direction: column; text-align: center; gap: 8px; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .hero-badge { left: 20px; bottom: 20px; }
  .hero-content { padding: 40px 24px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-main { padding: 24px; }
  .dash-cards { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .login-card { padding: 36px 28px; }
  .contact-form-wrap { padding: 28px 20px; }
  .payment-card { padding: 28px 20px; }
  .calendly-embed { min-height: 520px; }
}

/* ── Scroll animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}




/* ── RDV ──────────────────────────────────── */

.rdv-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rdv-header {
    text-align: center;
    margin-bottom: 30px;
}

.rdv-header h1 {
    margin-bottom: 10px;
}

.rdv-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.rdv-tab {
    padding: 12px 22px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s ease, color 0.2s ease;
}

.rdv-tab:hover {
    background: #e8e8e8;
}

.rdv-tab--active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.rdv-panel {
    display: none;
}

.rdv-panel--active {
    display: block;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
}

@media (max-width: 600px) {
    .calendly-inline-widget {
        height: 900px;
    }
}
