/* =======================================================================
   Landing "VSchool" — feuille de style scoppée .lp-
   Design 2026-08 : reproduction fidèle de la maquette « El Messaad ».
   ======================================================================= */

.lp-root {
  --lp-blue:      #2e86f0;   /* bleu vif maquette */
  --lp-blue-dark: #1d64c4;
  --lp-sky:       #eaf4fd;   /* fond bleu ciel des sections */
  --lp-sky-2:     #dcecfb;
  --lp-navy:      #12335f;   /* titres */
  --lp-ink:       #1b3a63;
  --lp-muted:     #5f7492;
  --lp-line:      #dfe9f5;
  --lp-card-1:    #2e86f0;   /* icônes cycles : bleu */
  --lp-card-2:    #f2a413;   /* orange/jaune */
  --lp-card-3:    #2f9e5f;   /* vert */
  --lp-card-4:    #8a5cd9;   /* violet */
  --lp-radius:    20px;
  --lp-shadow:    0 12px 34px rgba(18, 51, 95, .09);
  --lp-shadow-sm: 0 5px 16px rgba(18, 51, 95, .07);

  font-family: 'Poppins', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--lp-ink);
  background: #fff;
  line-height: 1.65;
}
.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: 76px 0; }

/* boutons — pilules (maquette) */
.lp-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; 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-root .lp-btn-primary { background: var(--lp-blue); color: #fff; box-shadow: 0 8px 20px rgba(46, 134, 240, .28); }
.lp-root .lp-btn-primary:hover { background: var(--lp-blue-dark); color: #fff; transform: translateY(-1px); }
.lp-root .lp-btn-ghost { background: #fff; color: var(--lp-blue); border-color: var(--lp-blue); }
.lp-root .lp-btn-ghost:hover { background: var(--lp-sky); }
.lp-root .lp-btn-light { background: #fff; color: var(--lp-blue); }
.lp-root .lp-btn-light:hover { background: var(--lp-sky); }

/* surtitre + titre de section */
.lp-eyebrow {
  text-align: center; color: var(--lp-blue); font-weight: 700;
  letter-spacing: 2px; font-size: 12.5px; text-transform: uppercase; margin: 0 0 8px;
}
.lp-h2 {
  text-align: center; font-size: 34px; font-weight: 800; margin: 0 0 16px; color: var(--lp-navy);
}
.lp-hl { color: var(--lp-blue); }
.lp-lead { color: var(--lp-muted); font-size: 16.5px; }

/* doodles décoratifs (crayon, avion en papier) */
.lp-doodle {
  position: absolute; right: 40px; bottom: 40px; font-size: 54px;
  color: var(--lp-blue); opacity: .18; transform: rotate(-20deg); pointer-events: none;
}
.lp-doodle-plane { right: 30px; top: 30px; bottom: auto; transform: rotate(15deg); }

/* =================== Navbar =================== */
.lp-nav { background: #fff; box-shadow: 0 2px 14px rgba(18, 51, 95, .06); position: sticky; top: 0; z-index: 100; }
.lp-nav .lp-container { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand img { height: 58px; width: 58px; object-fit: contain; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-brand-top { font-weight: 600; color: var(--lp-navy); font-size: 13.5px; }
.lp-brand-main {
  font-family: 'Dancing Script', 'Poppins', cursive; font-weight: 700;
  color: var(--lp-blue); font-size: 24px;
}
.lp-menu { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; align-items: center; }
.lp-menu a {
  display: block; padding: 9px 13px; font-weight: 500; font-size: 14.5px;
  color: var(--lp-ink); border-radius: 999px; transition: .15s; position: relative;
}
.lp-menu a:hover { color: var(--lp-blue); }
.lp-menu .is-active a { color: var(--lp-blue); font-weight: 600; }
.lp-menu .is-active a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--lp-blue);
}
/* « Se connecter » : bouton dans nav-cta (desktop) ; l'entrée de menu ne sert que sur mobile. */
.lp-menu-login { display: none; }
.lp-menu-login a { color: var(--lp-muted); font-size: 13.5px; }
.lp-menu-login a i { font-size: 12px; margin-right: 4px; }
.lp-nav-cta { margin-left: 4px; display: flex; align-items: center; gap: 10px; }
.lp-nav-cta .lp-btn { padding: 12px 22px; font-size: 14px; white-space: nowrap; }
/* Bouton connexion : même forme pilule que l'inscription, couleur bleu marine distincte. */
.lp-root .lp-btn-login { background: var(--lp-navy); color: #fff; box-shadow: 0 8px 20px rgba(18, 51, 95, .22); }
.lp-root .lp-btn-login:hover { background: #0d274a; color: #fff; transform: translateY(-1px); }
.lp-btn-login i { font-size: 13px; }
.lp-burger {
  display: none; margin-left: auto; background: none; border: 0; font-size: 22px;
  color: var(--lp-navy); cursor: pointer; padding: 6px 10px;
}

/* =================== Hero =================== */
.lp-hero {
  position: relative;
  background: linear-gradient(180deg, #f6fbff 0%, var(--lp-sky) 100%);
  overflow: hidden;
}
.lp-hero .lp-container {
  display: grid; grid-template-columns: 1.02fr 1fr; gap: 46px;
  align-items: center; padding-top: 64px; padding-bottom: 100px;
}
.lp-hero-text h1 { font-size: 46px; line-height: 1.16; font-weight: 800; color: var(--lp-navy); margin: 0 0 18px; }
.lp-hero-text .lp-lead { margin: 0 0 26px; max-width: 460px; }
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.lp-hero-points { display: flex; gap: 0; flex-wrap: wrap; }
.lp-hero-point {
  display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600;
  color: var(--lp-ink); padding: 0 18px; border-left: 1px solid #c9ddf2;
}
.lp-hero-point:first-child { padding-left: 0; border-left: 0; }
.lp-hero-point i { color: var(--lp-blue); font-size: 16px; }
.lp-hero-media {
  min-height: 420px; border-radius: 36px 36px 36px 150px;
  background-size: cover; background-position: center;
  box-shadow: var(--lp-shadow);
}
.lp-hero-curve {
  position: absolute; left: -10%; right: -10%; bottom: -60px; height: 120px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* =================== À propos =================== */
.lp-about { background: #fff; }
.lp-about .lp-container {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center;
  position: relative;
}
.lp-about-media { position: relative; }
.lp-about-dots {
  position: absolute; top: -22px; left: -22px; width: 110px; height: 110px; z-index: 0;
  background-image: radial-gradient(var(--lp-sky-2) 3px, transparent 3px);
  background-size: 16px 16px;
}
.lp-about-photo {
  position: relative; z-index: 1;
  min-height: 340px; border-radius: 36px 36px 130px 36px;
  background-size: cover; background-position: center;
  box-shadow: var(--lp-shadow);
}
.lp-about-text h2 { font-size: 32px; font-weight: 800; color: var(--lp-navy); margin: 0 0 14px; }
.lp-about-text .lp-lead { margin-bottom: 20px; font-size: 15.5px; }
.lp-check { list-style: none; margin: 0 0 26px; padding: 0; }
.lp-check li { display: flex; align-items: flex-start; gap: 11px; padding: 6px 0; font-weight: 500; font-size: 15px; }
.lp-check i { color: var(--lp-blue); margin-top: 4px; }

/* =================== Cycles =================== */
.lp-cycles { background: var(--lp-sky); border-radius: 60px 60px 0 0; }
.lp-cycles .lp-h2 { margin-bottom: 40px; }
.lp-cycles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.lp-cycle {
  background: #fff; border-radius: var(--lp-radius); padding: 30px 26px;
  box-shadow: var(--lp-shadow-sm); display: flex; flex-direction: column;
  transition: .18s ease;
}
.lp-cycle:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-cycle-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.lp-cycle-icon.i0 { background: rgba(46, 134, 240, .12); color: var(--lp-card-1); }
.lp-cycle-icon.i1 { background: rgba(242, 164, 19, .14); color: var(--lp-card-2); }
.lp-cycle-icon.i2 { background: rgba(47, 158, 95, .13); color: var(--lp-card-3); }
.lp-cycle-icon.i3 { background: rgba(138, 92, 217, .13); color: var(--lp-card-4); }
.lp-cycle h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--lp-navy); }
.lp-cycle-age { color: var(--lp-muted); font-size: 13px; font-weight: 600; margin: 2px 0 8px; }
.lp-cycle p { margin: 0 0 18px; color: var(--lp-muted); font-size: 14.5px; flex: 1; }
.lp-cycle-link { color: var(--lp-blue); font-weight: 600; font-size: 14px; }
.lp-cycle-link i { font-size: 12px; margin-left: 4px; transition: .15s; }
.lp-cycle-link:hover i { transform: translateX(3px); }

/* =================== Stats =================== */
.lp-stats-wrap { padding: 10px 0 70px; background: var(--lp-sky); }
.lp-stats {
  background: var(--lp-blue); border-radius: var(--lp-radius); color: #fff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 34px 20px; gap: 20px; box-shadow: 0 14px 34px rgba(46, 134, 240, .3);
}
.lp-stat { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 10px; }
.lp-stat + .lp-stat { border-left: 1px solid rgba(255,255,255,.25); }
.lp-stat > i { font-size: 26px; opacity: .9; }
.lp-stat b { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
.lp-stat span { font-size: 13.5px; opacity: .9; }

/* =================== Actualités =================== */
.lp-news { background: #fff; }
.lp-news .lp-h2 { margin-bottom: 36px; }
.lp-news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.lp-news-card {
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  overflow: hidden; box-shadow: var(--lp-shadow-sm); transition: .18s;
}
.lp-news-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); }
.lp-news-thumb { height: 170px; background-size: cover; background-position: center; }
.lp-news-thumb.empty {
  display: flex; align-items: center; justify-content: center;
  background: var(--lp-sky); color: var(--lp-blue); font-size: 34px;
}
.lp-news-body { padding: 20px 22px 24px; }
.lp-tag {
  display: inline-block; background: rgba(46, 134, 240, .1); color: var(--lp-blue);
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.lp-news-body h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--lp-navy); }
.lp-news-body p { margin: 0 0 12px; color: var(--lp-muted); font-size: 14px; }
.lp-news-date { color: var(--lp-muted); font-size: 13px; }
.lp-news-date i { margin-right: 6px; }

/* =================== Bandeau CTA (clair, photo à gauche — maquette) ======= */
.lp-cta { background: linear-gradient(180deg, var(--lp-sky) 0%, #f4faff 100%); padding: 64px 0; }
.lp-cta .lp-container { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; position: relative; }
.lp-cta-photo {
  flex: 0 1 380px; min-width: 280px; min-height: 200px;
  border-radius: 26px; background-size: cover; background-position: center;
  box-shadow: var(--lp-shadow);
}
.lp-cta-text { flex: 1; min-width: 280px; }
.lp-cta-text h2 { margin: 0 0 10px; font-size: 31px; font-weight: 800; line-height: 1.25; color: var(--lp-navy); }
.lp-cta-text p { margin: 0 0 22px; color: var(--lp-muted); font-size: 15.5px; }

/* =================== Contact =================== */
.lp-contact { background: #fff; }
.lp-contact .lp-h2 { margin-bottom: 30px; }
.lp-contact-form { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-contact-form input, .lp-contact-form textarea {
  width: 100%; border: 1px solid var(--lp-line); border-radius: 14px; padding: 13px 18px;
  font-family: inherit; font-size: 14.5px; color: var(--lp-ink); background: #fff;
  outline: none; transition: border-color .15s;
}
.lp-contact-form input:focus, .lp-contact-form textarea:focus { border-color: var(--lp-blue); }
.lp-contact-form button { align-self: center; margin-top: 6px; }
.lp-contact-success {
  max-width: 720px; margin: 0 auto 22px; background: #e8f7ee; color: #1e7a43;
  border: 1px solid #bfe7cf; border-radius: 14px; padding: 14px 18px; font-weight: 500;
}
.lp-contact-success i { margin-right: 8px; }

/* =================== Footer =================== */
.lp-footer { background: #fff; border-top: 1px solid var(--lp-line); padding: 54px 0 0; }
.lp-footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 34px; padding-bottom: 40px;
}
.lp-foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-foot-logo { height: 64px; width: 64px; object-fit: contain; }
.lp-footer h4 { margin: 6px 0 14px; font-size: 15px; font-weight: 700; color: var(--lp-navy); }
.lp-footer ul { list-style: none; margin: 0; padding: 0; }
.lp-footer ul li { padding: 4px 0; }
.lp-footer ul a { color: var(--lp-muted); font-size: 14px; transition: .12s; }
.lp-footer ul a:hover { color: var(--lp-blue); }
.lp-foot-nav { columns: 2; }
.lp-foot-contact li { display: flex; align-items: center; gap: 10px; color: var(--lp-muted); font-size: 14px; }
.lp-foot-contact i { color: var(--lp-blue); width: 16px; }
.lp-footer-social { display: flex; gap: 8px; margin-top: 4px; }
.lp-footer-social a, .lp-footer-social .lp-social-off {
  width: 36px; height: 36px; border-radius: 50%; background: var(--lp-sky); color: var(--lp-blue);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; transition: .15s;
}
.lp-footer-social a:hover { background: var(--lp-blue); color: #fff; }
.lp-social-off { opacity: .45; cursor: default; }
.lp-footer-bottom {
  border-top: 1px solid var(--lp-line); padding: 18px 0; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--lp-muted); font-size: 13.5px;
}
.lp-footer-bottom a { color: var(--lp-muted); }
.lp-footer-bottom a:hover { color: var(--lp-blue); }

/* =================== Responsive =================== */
@media (max-width: 1080px) {
  .lp-menu a { padding: 9px 9px; font-size: 13.5px; }
  .lp-nav-cta .lp-btn { padding: 11px 16px; font-size: 13px; }
}
@media (max-width: 991px) {
  .lp-hero .lp-container { grid-template-columns: 1fr; padding-bottom: 70px; }
  .lp-hero-media { min-height: 300px; border-radius: 26px; order: -1; }
  .lp-hero-text h1 { font-size: 36px; }
  .lp-about .lp-container { grid-template-columns: 1fr; gap: 30px; }
  .lp-about-photo { min-height: 260px; border-radius: 26px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
  .lp-menu {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 18px;
    box-shadow: 0 14px 24px rgba(18, 51, 95, .12); align-items: stretch;
  }
  .lp-menu.open { display: flex; }
  .lp-menu-login { display: block; } /* mobile : « Se connecter » revient dans le menu burger */
  .lp-menu .is-active a::after { display: none; }
  .lp-burger { display: block; }
  .lp-nav-cta { display: none; }
  .lp-doodle { display: none; }
}
@media (max-width: 640px) {
  .lp-hide-sm { display: none !important; }
  .lp-section { padding: 54px 0; }
  .lp-hero-text h1 { font-size: 30px; }
  .lp-h2 { font-size: 27px; }
  .lp-form-row { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-hero-point { padding: 6px 0; border-left: 0; width: 100%; }
  .lp-stat + .lp-stat { border-left: 0; }
  .lp-stats { grid-template-columns: 1fr 1fr; }
  .lp-cycles { border-radius: 30px 30px 0 0; }
  .lp-cta-photo { flex-basis: 100%; }
}
