/* =======================================================================
   Landing "Taybah" — feuille de style scoppée .lp-
   Design moderne autonome (n'utilise pas le thème ftco/skool_front).
   ======================================================================= */

.lp-root {
  --lp-blue:      #1c5fc4;
  --lp-blue-dark: #16459a;
  --lp-accent:    #1f6fe0;
  --lp-navy:      #0d2747;
  --lp-navy-2:    #0a1f3a;
  --lp-ink:       #16294a;
  --lp-muted:     #6a7a92;
  --lp-line:      #e6ecf4;
  --lp-bg:        #f5f8fc;
  --lp-card-blue:   #2168d4;
  --lp-card-green:  #2f9e44;
  --lp-card-purple: #7b53c9;
  --lp-card-red:    #e8493a;
  --lp-radius: 14px;
  --lp-shadow: 0 10px 30px rgba(16, 42, 80, .08);
  --lp-shadow-sm: 0 4px 14px rgba(16, 42, 80, .07);

  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--lp-ink);
  background: #fff;
  line-height: 1.6;
}
.lp-root *, .lp-root *::before, .lp-root *::after { box-sizing: border-box; }
.lp-root img { max-width: 100%; display: block; }
.lp-root a { text-decoration: none; color: inherit; }
.lp-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lp-section { padding: 70px 0; }

/* boutons */
.lp-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: .18s ease;
  line-height: 1;
}
.lp-btn i { font-size: 14px; }
.lp-btn-primary { background: var(--lp-blue); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-blue-dark); color: #fff; }
.lp-btn-ghost { background: #fff; color: var(--lp-ink); border-color: var(--lp-line); }
.lp-btn-ghost:hover { border-color: var(--lp-blue); color: var(--lp-blue); }
.lp-btn-light { background: #fff; color: var(--lp-blue); }
.lp-btn-light:hover { background: #eef4ff; }

/* surtitre + titre de section */
.lp-eyebrow {
  text-align: center; color: var(--lp-accent); font-weight: 700;
  letter-spacing: 1.5px; font-size: 12.5px; text-transform: uppercase; margin: 0 0 8px;
}
.lp-h2 {
  text-align: center; font-size: 32px; font-weight: 800; margin: 0 0 14px; color: var(--lp-ink);
}

/* =================== Top bar =================== */
.lp-topbar { background: var(--lp-blue); color: #fff; font-size: 13px; }
.lp-topbar .lp-container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 14px; }
.lp-topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.lp-topbar-info span { display: inline-flex; align-items: center; gap: 7px; opacity: .95; }
.lp-topbar-info i { font-size: 13px; opacity: .9; }
.lp-topbar-social { display: flex; gap: 14px; }
.lp-topbar-social a { color: #fff; opacity: .9; transition: .15s; }
.lp-topbar-social a:hover { opacity: 1; transform: translateY(-1px); }

/* =================== Navbar =================== */
.lp-nav { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--lp-line); }
.lp-nav .lp-container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand img { height: 46px; width: auto; }
.lp-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.lp-menu > li > a { font-weight: 500; font-size: 15px; color: #2a3d5c; padding: 6px 0; position: relative; transition: .15s; }
.lp-menu > li > a:hover { color: var(--lp-blue); }
.lp-menu > li.is-active > a { color: var(--lp-blue); }
.lp-menu > li.is-active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--lp-blue); border-radius: 2px;
}
.lp-nav-cta { display: flex; align-items: center; gap: 14px; }
.lp-burger { display: none; background: none; border: 0; font-size: 22px; color: var(--lp-ink); cursor: pointer; }

/* =================== Hero =================== */
.lp-hero { padding: 64px 0; overflow: hidden; }
.lp-hero .lp-container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.lp-hero h1 { font-size: 50px; line-height: 1.08; font-weight: 800; margin: 0 0 20px; color: var(--lp-ink); letter-spacing: -.5px; }
.lp-hero h1 .lp-hl { color: var(--lp-accent); display: block; }
.lp-hero p.lp-lead { font-size: 17px; color: var(--lp-muted); margin: 0 0 28px; max-width: 460px; }
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-trust { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.lp-trust-avatars { display: flex; }
.lp-trust-avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
  background: #cdd9ec center/cover; display: inline-block; box-shadow: var(--lp-shadow-sm);
}
.lp-trust-avatars span:first-child { margin-left: 0; }
.lp-trust-text { font-size: 13.5px; color: var(--lp-muted); }
.lp-trust-text b { color: var(--lp-ink); }
.lp-trust-stars { color: #f5a623; font-size: 12px; letter-spacing: 1px; }

.lp-hero-media {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 380px;
  background: linear-gradient(135deg, #2168d4, #16459a) center/cover no-repeat;
  box-shadow: var(--lp-shadow);
}
.lp-hero-media .lp-media-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .25;
}
.lp-hero-media .lp-media-fallback img { height: 120px; filter: brightness(0) invert(1); }

/* =================== Cartes cycles =================== */
.lp-cycles { padding: 8px 0 4px; }
.lp-cycles .lp-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-cycle {
  position: relative; overflow: hidden; border-radius: var(--lp-radius); padding: 30px 26px 26px;
  color: #fff; min-height: 230px; display: flex; flex-direction: column; box-shadow: var(--lp-shadow);
}
.lp-cycle .lp-cycle-icon { font-size: 30px; margin-bottom: 16px; }
.lp-cycle h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.lp-cycle p { font-size: 14px; opacity: .92; margin: 0 0 18px; flex: 1; }
.lp-cycle .lp-cycle-link { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.lp-cycle .lp-cycle-link i { transition: transform .15s; }
.lp-cycle:hover .lp-cycle-link i { transform: translateX(4px); }
.lp-cycle .lp-cycle-num {
  position: absolute; right: 14px; bottom: -10px; font-size: 88px; font-weight: 800;
  line-height: 1; color: rgba(255,255,255,.14); pointer-events: none;
}
.lp-cycle.c0 { background: var(--lp-card-blue); }
.lp-cycle.c1 { background: var(--lp-card-green); }
.lp-cycle.c2 { background: var(--lp-card-purple); }
.lp-cycle.c3 { background: var(--lp-card-red); }

/* =================== Pourquoi nous choisir =================== */
.lp-why { background: #fff; }
.lp-why-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 44px;
}
.lp-why-item { text-align: center; }
.lp-why-item .lp-why-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  color: var(--lp-blue); background: #eaf1fc;
}
.lp-why-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.lp-why-item p { font-size: 13.5px; color: var(--lp-muted); margin: 0; }

/* =================== Bande de stats =================== */
.lp-stats-wrap { padding: 0 0 10px; }
.lp-stats {
  background: linear-gradient(120deg, var(--lp-blue), var(--lp-blue-dark)); border-radius: 18px;
  padding: 40px 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  box-shadow: var(--lp-shadow);
}
.lp-stat { text-align: center; color: #fff; }
.lp-stat b { display: block; font-size: 38px; font-weight: 800; line-height: 1; }
.lp-stat span { display: block; margin-top: 8px; font-size: 13.5px; opacity: .88; }

/* =================== Environnement / campus =================== */
.lp-campus .lp-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.lp-campus-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lp-campus-gallery .lp-tile {
  border-radius: var(--lp-radius); min-height: 160px; background: #dde7f5 center/cover no-repeat;
  position: relative; box-shadow: var(--lp-shadow-sm); display: flex; align-items: center; justify-content: center;
}
.lp-campus-gallery .lp-tile.empty { background: linear-gradient(135deg, #e8eef7, #d7e2f2); }
.lp-campus-gallery .lp-tile.empty i { font-size: 28px; color: #aebfd6; }
.lp-campus h2 { font-size: 30px; font-weight: 800; margin: 0 0 16px; }
.lp-campus p.lp-lead { color: var(--lp-muted); margin: 0 0 22px; }
.lp-check { list-style: none; margin: 0 0 28px; padding: 0; }
.lp-check li { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 15px; }
.lp-check li i { color: var(--lp-blue); font-size: 16px; }

/* =================== Actualités =================== */
.lp-news { background: var(--lp-bg); }
.lp-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; }
.lp-news-card {
  background: #fff; border-radius: var(--lp-radius); overflow: hidden; box-shadow: var(--lp-shadow-sm);
  display: flex; flex-direction: column; transition: .18s;
}
.lp-news-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-news-thumb {
  height: 180px; background: #cdd9ec center/cover no-repeat; position: relative;
}
.lp-news-thumb.empty { background: linear-gradient(135deg, #2168d4, #16459a); display: flex; align-items: center; justify-content: center; }
.lp-news-thumb.empty i { color: rgba(255,255,255,.5); font-size: 30px; }
.lp-news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.lp-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--lp-blue); background: #eaf1fc; padding: 5px 11px; border-radius: 20px; margin-bottom: 12px;
}
.lp-news-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 9px; }
.lp-news-body p { font-size: 14px; color: var(--lp-muted); margin: 0 0 16px; flex: 1; }
.lp-news-date { font-size: 13px; color: var(--lp-muted); display: flex; align-items: center; gap: 8px; }
.lp-news-date i { color: var(--lp-blue); }
.lp-news-more { text-align: center; margin-top: 40px; }

/* =================== Newsletter =================== */
.lp-newsletter .lp-container {
  background: linear-gradient(120deg, var(--lp-blue), var(--lp-blue-dark)); border-radius: 18px;
  padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--lp-shadow);
}
.lp-newsletter-text { color: #fff; display: flex; align-items: center; gap: 18px; }
.lp-newsletter-text i { font-size: 34px; opacity: .9; }
.lp-newsletter-text h3 { margin: 0 0 4px; font-size: 20px; font-weight: 700; }
.lp-newsletter-text p { margin: 0; font-size: 14px; opacity: .9; }
.lp-newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 280px; }
.lp-newsletter-form input {
  flex: 1; border: 0; border-radius: 10px; padding: 13px 16px; font-size: 14px; outline: none; font-family: inherit;
}

/* =================== Footer =================== */
.lp-footer { background: var(--lp-navy); color: #c4d2e6; padding: 60px 0 0; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.1fr; gap: 30px; }
.lp-footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 18px; }
.lp-footer img.lp-foot-logo { height: 44px; margin-bottom: 16px; }
.lp-footer p { font-size: 14px; color: #9fb1ca; margin: 0 0 16px; }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer ul li { margin-bottom: 10px; }
.lp-footer ul li a, .lp-footer ul li span { font-size: 14px; color: #aebfd6; transition: .15s; }
.lp-footer ul li a:hover { color: #fff; }
.lp-footer .lp-foot-contact li { display: flex; align-items: flex-start; gap: 10px; }
.lp-footer .lp-foot-contact i { color: var(--lp-accent); margin-top: 3px; }
.lp-footer-social { display: flex; gap: 12px; margin-top: 6px; }
.lp-footer-social a {
  width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.lp-footer-social a:hover { background: var(--lp-blue); }
.lp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #8ea2be;
}
.lp-footer-bottom a { color: #aebfd6; }
.lp-footer-bottom a:hover { color: #fff; }

/* =================== Responsive =================== */
@media (max-width: 992px) {
  .lp-hero .lp-container,
  .lp-campus .lp-container { grid-template-columns: 1fr; }
  .lp-hero-media { min-height: 280px; order: -1; }
  .lp-cycles .lp-container { grid-template-columns: repeat(2, 1fr); }
  .lp-why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .lp-stats { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .lp-news-grid { grid-template-columns: 1fr 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}
@media (max-width: 640px) {
  .lp-section { padding: 48px 0; }
  .lp-topbar-info { gap: 14px; font-size: 12px; }
  .lp-topbar-info .lp-hide-sm { display: none; }
  .lp-menu {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 8px 20px 16px; box-shadow: var(--lp-shadow); display: none;
  }
  .lp-menu.open { display: flex; }
  .lp-menu > li { width: 100%; border-bottom: 1px solid var(--lp-line); }
  .lp-menu > li > a { display: block; padding: 13px 0; }
  .lp-burger { display: block; }
  .lp-nav-cta .lp-btn { display: none; }
  .lp-hero h1 { font-size: 36px; }
  .lp-h2, .lp-campus h2 { font-size: 26px; }
  .lp-cycles .lp-container { grid-template-columns: 1fr; }
  .lp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stats { grid-template-columns: repeat(2, 1fr); }
  .lp-news-grid { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-newsletter .lp-container { flex-direction: column; align-items: stretch; text-align: center; }
  .lp-newsletter-text { flex-direction: column; }
  .lp-newsletter-form { max-width: none; }
}
