:root{
  --blue:#021F4F;
  --blue-dark:#021433;
  --gold:#FFD73A;
  --bg:#f6f7fb;
  --white:#ffffff;
  --text:#101828;
  --muted:#667085;
  --border:#e5e7eb;
  --shadow:0 10px 25px rgba(16,24,40,.08);
  --radius:18px;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:Arial, Helvetica, sans-serif;}
body{background:var(--bg);color:var(--text);line-height:1.6;}
.hidden{display:none !important;}

 /* ===== HEADER FINAL OVERRIDE ===== */

.top-header{
  background:#ffffff !important;
  border-bottom:3px solid #e0c100 !important;
  padding:0 0.0px 0.0px !important;
  border-radius: 4900px 100px;
}

.brand{
  max-width:1900px !important;
  margin:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
}

.brand img{
  width:64px !important;
  height:64px !important;
  border-radius:0px !important;
  object-fit:contain !important;
  background:#ffffff !important;
  flex-shrink:0 !important;
}

.brand-right{
  min-width:0 !important;
}

.brand-title{
  font-weight:900 !important;
  color:#0003ff !important;
  font-size:26px !important;
  line-height:0. !important;
}

.brand-email{
  margin-top:0px !important;
  font-size:14px !important;
  color:#000000 !important;
  font-weight:600 !important;
}

/* Mobile */
@media (max-width:540px){
  .brand-title{
    font-size:24px !important;
  }

  .brand-email{
    font-size:12px !important;
  }

  .brand img{
    width:65px !important;
    height:65px !important;
  }
}


/* MENU */
.nav-wrap{background:#fff;position:sticky;top:0;z-index:999;border-bottom:1px solid var(--border);}
.nav{max-width:1100px;margin:auto;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;}
.nav .left{font-weight:700;font-size:15px;color:var(--blue);}
.hamburger{background:none;border:none;font-size:22px;cursor:pointer;color:var(--blue);}

.menu{list-style:none;display:none;background:#fff;}
.menu a,.menu-btn{
  display:block;padding:14px 16px;font-size:5px;font-weight:700;color:var(--blue);
  border:none;background:none;cursor:pointer;text-decoration:none;
}
.menu a:hover,.menu-btn:hover{background:#f5f7fb;}
.submenu{display:none;padding-left:18px;}
.dropdown{border-top:1px solid rgba(0,0,0,.03);}

@media(min-width:900px){
  .hamburger{display:none;}
  .menu{display:flex !important;justify-content:center;gap:26px;align-items:center 6;}
  .menu a,.menu-btn{padding:10px 0;}
  .dropdown{position:relative;border-top:none;}
  .submenu{
    position:absolute;top:;left:0;background:#fff;min-width:220px;
    box-shadow:0 16px 35px rgba(0,0,0,.12);
    border:1px solid var(--border);
    border-radius:14px;
    padding:8px 0;
  }
  .submenu a{padding:10px 14px;}
}

/* BACK BUTTON */
.back-btn{
  position:left;
  top:86px;
  left:14px;
  z-index:2000;
  padding:5px 7px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(2,31,79,.92);
  color:#fff;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(2,31,79,.25);
}

/* TITLES */
.section-title{
  text-align:center;
  margin:22px 0 14px;
  font-weight:900;
  color:var(--blue);
  letter-spacing:.4px;
}

/* HERO */

.hero-mtta{
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
  color: white;
  background: #001f73;
}

.hero-mtta::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(0,0,0,0.18) 18% 42%, transparent 42% 100%),
    linear-gradient(135deg, transparent 0 50%, rgba(255,255,255,0.08) 50% 70%, transparent 70% 100%),
    linear-gradient(145deg, #00185c 0%, #002b8f 45%, #00124d 100%);
  z-index: 0;
}

.hero-mtta > *{
  position: relative;
  z-index: 1;
}

 /* ===== PARTNER VIDEO BLOCK ===== */

.partner-section{
  padding: 18px 0;
 
}


.partner-section:not([hidden]){
  display: block !important;
  visibility: visible !important;
}

#partnerVideo:not([hidden]){
  display: block !important;
  visibility: visible !important;
}

.partner-ad{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff !important;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(2, 31, 79, .08);
  position: relative;
}

/* Badge partenaire */
.partner-badge{
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;

  background: rgba(255,255,255,0.92);
  color: #111827;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;

  backdrop-filter: blur(6px);
}

/* Bloc vidéo */
#partnerVideo,
#testimonialsVideo,
.partner-slideshow{
  width: 100%;
  aspect-ratio: 16 / 9 !important;

  height: auto !important;
  max-height: none !important;

  display: block;

  object-fit: cover !important;

  background: transparent !important;
}

/* Style vidéo */
.partner-ad video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.partner-controlled-video{
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  display: block;
  object-fit: cover !important;
  background: #0f172a !important;
}

.partner-controlled-video::-webkit-media-controls-panel,
.course-extract-video::-webkit-media-controls-panel{
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .92));
}

.partner-controlled-video::-webkit-media-controls-play-button,
.partner-controlled-video::-webkit-media-controls-mute-button{
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.45));
}

.partner-video-placeholder{
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #e5e7eb;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  padding: 32px 18px;
}

.partner-video-placeholder strong{
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: .02em;
}

.partner-video-placeholder span{
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,.78);
}

.partner-video-placeholder[hidden]{
  display: none !important;
}

.partner-ad img.partner-image,
#partnerSlideImage{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#partnerVideo[hidden],
#partnerSlideImage[hidden],
#headerLogo[hidden],
#footerLogo[hidden],
#partnerLogo[hidden],
#footerPartnerLogo[hidden]{
  display: none !important;
}

/* Mobile */
@media (max-width: 768px){

  .partner-section{
    padding: 10px 0;
  }

  .partner-ad{
    border-radius: 0;
    box-shadow: none;
  }

  #partnerVideo,
  #testimonialsVideo,
  .partner-slideshow{
    aspect-ratio: 16 / 9 !important;
  }

  .partner-badge{
    top: 10px;
    left: 10px;
    font-size: 12px;
    padding: 7px 12px;
  }
}
 
/* WHY */
.why-mtta{max-width:1100px;margin:30px auto;padding:0 14px;}
.why-wrapper{display:flex;gap:24px;flex-wrap:wrap;align-items:center;}
.why-image img{max-width:100%;border-radius:18px;box-shadow:var(--shadow);}
.why-content{flex:1;background:#fff;border-radius:18px;box-shadow:var(--shadow);padding:18px;}
.why-content h2{color:var(--blue);font-weight:900;margin-bottom:15px;}
.why-intro{font-size:15px;color:#111;margin-bottom:10px;}
.more p{margin:6px 0;color:#222;}

/* HOW */
/* Bouton "Lire tout" dans Comment ça marche */
.how-content .btn.primary{
  align-self: flex-start !important;
  width: auto !important;
  min-width: 190px;
  padding: 10px 34px !important;
  border-radius: 16px !important;
  background: #021F4F !important;
  color: #ffffff !important;
  font-size: 50 !important;
  font-weight: 1000 !important;
  text-align: center;
}

/* Mobile */
@media (max-width: 640px){
  .how-content .btn.primary{
    align-self: flex-start !important;
    width: auto !important;
    min-width: 100px;
    padding: 10px 5px !important;
  }
}
/* PROGRAMMES */
#programmes{max-width:1100px;margin:30px auto;padding:0 14px;}
.program-category{margin-top:26px;}
.program-category-title{
  margin:18px 0 14px;
  padding-left:12px;
  border-left:5px solid var(--gold);
  color:var(--blue);
  font-size:1.25rem;
  font-weight:900;
  letter-spacing:.04em;
}
.program-category.hidden{display:none!important;}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;}
.card{
  background:#fff;border-radius:18px;padding:14px;
  box-shadow:var(--shadow);
  text-align:center;
}
.thumb{height:190px;border-radius:16px;overflow:hidden;background:#f1f5f9;}
.thumb img{width:100%;height:100%;object-fit:cover;} /* tsy misy border */
.card h3{margin:10px 0 6px;color:var(--blue);font-weight:900;}
.price{
  display:inline-block;background:var(--gold);padding:6px 14px;border-radius:999px;
  font-weight:900;margin-bottom:10px;
}

/* BUTTONS */
.btn.primary{
  margin-top:10px;
  padding:10px 18px;
  border-radius:14px;
  background:var(--blue);
  color:#fff;
  font-weight:900;
  border:none;
  cursor:pointer;
}
.btn.primary:active{transform:scale(.98);}

/* FORMS */
.form-card{
  max-width:560px;margin:0 auto 20px;background:#fff;border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px;
}
.form-card input{
  width:100%;
  padding:12px;
  margin:10px 0;
  border:1px solid var(--border);
  border-radius:14px;
}
.form-msg{margin-top:10px;color:#111;font-weight:700;}

/* FOOTER */
.footer-simple{background:var(--blue);color:#fff;padding:42px 18px;margin-top:24px;}
.footer-container{max-width:1100px;margin:auto;}
.footer-title-wrap h3{font-size:18px;font-weight:900;}
.footer-text{margin:16px 0;color:#e5e7eb;}
.footer-bottom{
  margin-top:28px;border-top:1px solid rgba(255,255,255,.12);
  padding-top:14px;font-size:12px;text-align:center;color:#e5e7eb;
}

/* CHAT *//* ====== NOS PROGRAMMES ====== */
.section-title.center{ text-align:center; margin-bottom:18px; }

.programmes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.card{
  background:#fff;
  border-radius:18px;
  padding:14px;
  box-shadow:0 8px 22px rgba(16,24,40,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.thumb{ border-radius:14px; overflow:hidden; }
.thumb img{ width:100%; height:auto; object-fit:cover; } /* tsy asiana style manokana/bordure */

.card-head{ margin:10px 0 8px; }
.card-title{ margin:0; }
.card-sub{ margin:4px 0 0; color:#667085; font-size:.95rem; }

.card-foot{
  margin-top:10px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.price{
  display:inline-block; background:#FFD73A; padding:6px 14px; border-radius:999px; font-weight:900;
}
.btn{ padding:10px 16px; border-radius:12px; border:1px solid #e5e7eb; background:#fff; cursor:pointer; }
.btn.primary{ background:#021F4F; color:#fff; border-color:#021F4F; }

/* ====== OVERLAY & MODAL ====== */
.pg-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
  z-index:998;
}
.hidden{ display:none !important; }

.pg-modal{
  position:fixed; inset:0; display:grid; place-items:center; z-index:999;
}
.pg-modal-card{
  width:min(720px,92vw);
  background:#fff; border-radius:18px; box-shadow:0 18px 40px rgba(0,0,0,.25);
  overflow:hidden;
}

.pg-modal-top{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px; border-bottom:1px solid #e5e7eb; background:#f9fafb;
}
.icon-btn{ background:none; border:none; font-size:20px; cursor:pointer; }

.pg-modal-body{ padding:16px; }
.pg-modal-body .small{ color:#667085; font-size:.95rem; }
.pg-modal-body ul{ margin:10px 0 0 1rem; }

.pg-modal-actions{
  display:flex; justify-content:flex-end; gap:10px;
  padding:12px 16px; border-top:1px solid #e5e7eb;
}
 /* ===================== FOOTER (NEW) ===================== */
.mtta-footer {
  background: #00ff96d1;
  color: rgba(255, 255, 255, 0.82);
  padding: 28px 0 18px;
}

.mtta-footer__container {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
}

.mtta-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.mtta-footer__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  border: none;          /* IMPORTANT: tsy misy bordure */
  outline: none;
  background: transparent;
  border-radius: 0;      /* tsy asiana cercle/bordure */
  box-shadow: none;      /* tsy asiana ombre */
}

.mtta-footer__brandTitle {
  font-weight: 800;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
}

.mtta-footer__brandSub {
  margin-top: 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.mtta-footer__desc {
  margin: 12px 0 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.mtta-footer__block {
  margin-top: 16px;
}

.mtta-footer__label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 10px;
}

.mtta-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.mtta-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.mtta-footer__links a:hover {
  text-decoration: underline;
}

/* Partners grid */
.mtta-footer__partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.partner-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
  background: transparent;
}

.partner-item span {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* Payment */
.mtta-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;  
  padding: 10px 12px;
}

.pay-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
  backgroun transparentne;
}

.pay-item span {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

/* Bottom */
.mtta-footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-align: center;
}

/* Mobile improve */
@media (max-width: 480px) {
  .mtta-footer__partners {
    grid-template-columns: 1fr; /* stack on small phones */
  }
}
/* ====== FORM ====== */
.form label{ display:block; margin-bottom:12px; }
.form input, .form select{
  width:100%; padding:10px; border:1px solid #e5e7eb; border-radius:12px;
}
.form .two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .form .two{ grid-template-columns:1fr; } }
.form .hint{ color:#667085; font-size:.9rem; margin:6px 0; }
.form-msg{ margin-top:8px; font-size:.95rem; }
.chat-button{
  position:fixed;bottom:22px;right:22px;
  width:54px;height:54px;border-radius:50%;
  background:var(--blue);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  z-index:1500;border:none;
}
.chat-window{
  position:fixed;bottom:90px;right:22px;
  width:310px;background:#fff;border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  overflow:hidden;z-index:1500;
}
.chat-header{
  background:var(--blue);color:#fff;padding:12px;font-weight:900;
  display:flex;justify-content:space-between;align-items:center;
}
.chat-close{
  background:none;border:none;color:#fff;font-size:22px;cursor:pointer;
}
.chat-body{padding:14px;}
.chat-body input,.chat-body textarea{
  width:100%;margin-bottom:10px;padding:10px;border-radius:12px;border:1px solid var(--border);
}

/* ===================== COACH NANCIA ===================== */
.muted{color:var(--muted);}
.ai-voice-card{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06);margin:14px 0;}
.ai-voice-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:10px;}
.ai-voice-label{font-weight:900;}
.ai-voice-select{padding:10px;border-radius:10px;border:1px solid rgba(0,0,0,.15);background:#fff;}
.ai-voice-quota{flex:1;min-width:220px;}
.ai-voice-quota-title{font-weight:900;}
.ai-voice-quota-value{font-size:22px;font-weight:900;margin-top:4px;}
.ai-voice-quota-sub{opacity:.75;font-size:12px;}
.ai-voice-controls{display:flex;align-items:center;gap:10px;}
.ai-voice-status{font-weight:900;color:var(--muted);}
.ai-voice-results{display:grid;grid-template-columns:1fr;gap:12px;}
.ai-voice-box{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:12px;background:#fff;}
.ai-voice-box-title{font-weight:900;margin-bottom:6px;}
.ai-voice-box-body{white-space:pre-wrap;}
.ai-voice-list{margin:0;padding-left:18px;}
.ai-voice-audio{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px;}
.ai-voice-audio-item audio{width:100%;}
@media (min-width:900px){.ai-voice-results{grid-template-columns:1fr 1fr;}.ai-voice-audio{grid-template-columns:1fr 1fr;}}


/* ===== FINAL CUSTOM UPDATES ===== */
.top-header{background:#fff;padding:18px 16px;}
.brand{justify-content:center;gap:14px;}
.brand img{width:64px;height:64px;border-radius:14px;object-fit:contain;background:#fff;}
.brand-title{color:#111827;font-size:22px;line-height:1.1;}
.brand-email{font-size:14px;color:#374151;}
.nav .left,.hamburger,.menu a,.menu-btn{color:#111827;}
.nav{padding:16px;}
.menu a,.menu-btn{font-size:16px;}
@media(min-width:900px){.menu a,.menu-btn{font-size:15px;}}

.hero-mtta{padding:64px 20px 72px;}
.hero-mtta h1{font-size:clamp(26px,4vw,42px);max-width:900px;margin:0 auto 14px;}
.hero-mtta h2{font-size:clamp(17px,2.4vw,24px);}
.hero-mtta p{font-size:clamp(15px,2vw,18px);max-width:760px;margin:0 auto;}

.partner-ad{max-width:1100px;}
#partnerVideo{aspect-ratio:16/9;max-height:72vh;background:#0f172a;}
.partner-slideshow{position:relative;width:100%;aspect-ratio:16/9;background:#0b1730;}
.partner-slideshow img{width:100%;height:100%;display:block;object-fit:cover;}

.why-wrapper,.how-section{align-items:stretch;}
.why-wrapper{display:grid;grid-template-columns:1.05fr 1fr;}
.why-image img,.how-image img{width:100%;height:100%;object-fit:cover;}
.how-section{display:grid;grid-template-columns:1fr 1fr;max-width:1100px;}
.how-content{display:flex;flex-direction:column;justify-content:center;padding:26px;}

.grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.thumb{height:210px;}
.card h3{font-size:20px;}
.price{font-size:18px;padding:8px 18px;}
.btn.primary{font-size:15px;}

.mtta-footer__brand{align-items:center;}
.mtta-footer__logo{width:78px;height:78px;object-fit:contain;flex:0 0 auto;}
.mtta-footer__brandTitle{font-size:clamp(24px,3vw,34px);}
.mtta-footer__brandSub{font-size:clamp(12px,1.8vw,16px);}
.mtta-footer__desc{font-size:clamp(15px,2vw,18px);max-width:900px;}
.mtta-footer__label{font-size:clamp(18px,2vw,22px);}
.mtta-footer__links a{font-size:clamp(14px,1.8vw,16px);}
.mtta-footer__partners{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px;}
.partner-item img{width:38px;height:38px;}
.partner-item span{font-size:15px;}
.mtta-footer__bottom{font-size:14px;}

@media (max-width: 900px){
  .brand{justify-content:space-between;}
  .brand img{width:56px;height:56px;}
  .brand-title{font-size:18px;}
  .brand-email{font-size:12px;}
  .why-wrapper,.how-section{grid-template-columns:1fr;}
  .how-content{padding:20px;}
}
@media (max-width: 640px){
  .top-header{padding:12px 14px;}
  .brand{justify-content:flex-start;gap:10px;}
  .brand-right{min-width:0;}
  .brand-title{font-size:16px;}
  .brand-email{font-size:11px;word-break:break-word;}
  .hero-mtta{padding:52px 16px 58px;}
  .hero-mtta h1{font-size:24px;}
  .hero-mtta h2{font-size:16px;}
  .partner-badge{font-size:11px;padding:6px 12px;}
  #partnerVideo,.partner-slideshow{aspect-ratio:16/9;max-height:none;}
  .thumb{height:170px;}
  .card h3{font-size:18px;}
  .mtta-footer__logo{width:60px;height:60px;}
  .mtta-footer__brandTitle{font-size:18px;}
  .mtta-footer__brandSub{font-size:11px;}
  .mtta-footer__partners{grid-template-columns:1fr;}
}

 /* ===== EXTRAIT DE NOS COURS ===== */

.course-extract-section{
  padding: 24px 0;
  background: transparent;
}

.course-extract-card{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.course-extract-badge{
  display: block;
  background: transparent !important;
  padding: 70px 20px 14px !important;
  text-align: center;

  color: #021f4f;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.course-extract-intro{
  max-width: 780px;
  margin: 0 auto 24px;
  padding: 0 24px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.course-extract-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 28px 8px;
}

.course-extract-item{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(2, 31, 79, .08);
}

.course-extract-label{
  display: inline-flex;
  margin: 18px 18px 8px;
  color: #021f4f;
  background: #f3f6fb;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-extract-item h3{
  margin: 0 18px 14px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
}

.course-extract-video{
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  display: block;
  object-fit: cover !important;
  background: #0f172a !important;
}

.course-extract-placeholder{
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #f8fafc;
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/* Réactions */
.course-reactions{
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 28px 6px;
}

.emoji-btn{
  border: none;
  background: transparent;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 0;
}

.emoji-btn.active{
  transform: scale(1.08);
}

.emoji-btn:disabled{
  opacity: .45;
  cursor: not-allowed;
}

/* Commentaires affichés */
.comments-list{
  padding: 12px 28px 0;
}

.comment-item{
  background: #f3f4f6;
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
  color: #111827;
  font-size: 15px;
}

.comment-author{
  font-weight: 900;
  color: #021f4f;
  margin-bottom: 4px;
}

.hidden-comment{
  display: none;
}

/* Voir plus */
.see-more-comments{
  display: none;
  margin: 8px 28px;
  background: transparent;
  color: #021f4f;
  border: none;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

/* Champ commentaire */
.course-comment-box{
  padding: 10px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.course-comment-box input,
.course-comment-box textarea{
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  padding: 14px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.course-comment-box textarea{
  min-height: 54px;
  resize: vertical;
}

.course-comment-box button{
  background: #021f4f;
  color: white;
  border: none;
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 760px){
  .course-extract-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .course-extract-section{
    padding: 18px 0;
  }

  .course-extract-badge{
    padding-left: 28px;
    padding-right: 28px;
  }

  .course-extract-intro{
    text-align: left;
    padding-left: 28px;
    padding-right: 28px;
  }

  .course-extract-grid,
  .course-reactions,
  .comments-list,
  .course-comment-box{
    padding-left: 28px;
    padding-right: 28px;
  }

  .course-extract-item h3{
    font-size: 16px;
  }

  .emoji-btn{
    font-size: 18px;
  }
}

/* =========================================================
   I-SPEAK ACADEMY — INSCRIPTION & PAIEMENT FINAL UI
   Scope: uniquement le modal généré par app.js (#pg-register)
========================================================= */
#pg-overlay{
  position:fixed !important;
  inset:0 !important;
  background:rgba(15,23,42,.30) !important;
  backdrop-filter:blur(4px) !important;
  -webkit-backdrop-filter:blur(4px) !important;
  z-index:2000 !important;
}

#pg-register.isa-modal{
  position:fixed !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  width:min(620px,94vw) !important;
  max-height:92vh !important;
  overflow-y:auto !important;
  background:#ffffff !important;
  border-radius:16px !important;
  box-shadow:0 20px 46px rgba(0,0,0,.28) !important;
  z-index:2001 !important;
}

 #pg-register .isa-modal-top{
  background:#021f4f !important;
  color:#ffffff !important;
  min-height:5px !important;
  padding:4px 18px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:5px !important;
  border-radius:16px 16px 0 0 !important;
}

#pg-register .isa-modal-title{
  color:#ffffff !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}

#pg-register .isa-modal-close{
  width:36px !important;
  height:36px !important;
  border:none !important;
  background:transparent !important;
  color:#ffffff !important;
  font-size:22px !important;
  font-weight:500 !important;
  line-height:1 !important;
  cursor:pointer !important;
}

#pg-register .isa-form{
  padding:26px !important;
  display:block !important;
  background:#ffffff !important;
}

#pg-register .isa-step{
  display:grid;
  gap:0 !important;
}

#pg-register .isa-section-title{
  margin:0 0 22px !important;
  color:#239800 !important;
  font-size:50px !important;
  line-height:3.15 !important;
  font-weight:900 !important;
}

#pg-register .isa-field{
  margin:0 0 18px !important;
}

#pg-register .isa-field label{
  display:block !important;
  margin:0 0 7px !important;
  color:#344054 !important;
  font-size:15px !important;
  line-height:1.3 !important;
  font-weight:700 !important;
}

#pg-register input,
#pg-register select{
  width:100% !important;
  height:58px !important;
  border:1.5px solid #d5d9e2 !important;
  border-radius:14px !important;
  background:#ffffff !important;
  color:#101828 !important;
  padding:0 18px !important;
  font-size:19px !important;
  font-weight:500 !important;
  outline:none !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
}

#pg-register input::placeholder{
  color:#7a7d82 !important;
  opacity:1 !important;
}

#pg-register input:focus,
#pg-register select:focus{
  border-color:#06285f !important;
  box-shadow:0 0 0 3px rgba(6,40,95,.10) !important;
}

#pg-register select{
  appearance:auto !important;
  background:#ffffff !important;
}

#pg-register #pg-fees{
  font-weight:900 !important;
  background:#ffffff !important;
}

#pg-register .isa-input-icon{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
}

#pg-register .isa-input-icon > span{
  position:absolute !important;
  left:18px !important;
  color:#667085 !important;
  font-size:20px !important;
  z-index:1 !important;
}

#pg-register .isa-input-icon input{
  padding-left:54px !important;
  background:#eaf2ff !important;
  border-color:#c8defa !important;
}

#pg-register .isa-password-wrap input{
  padding-left:18px !important;
  padding-right:54px !important;
  background:#ffffff !important;
  border-color:#d5d9e2 !important;
}

#pg-register .isa-password-wrap > span{
  left:auto !important;
  right:18px !important;
  font-size:18px !important;
}

#pg-register small{
  display:block !important;
  margin:8px 0 0 !important;
  color:#667085 !important;
  font-size:15px !important;
  line-height:1.6 !important;
}

#pg-register .isa-password-rules{
  margin:4px 0 18px !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:7px !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
}

#pg-register .isa-password-rules div{
  color:#1f7a45 !important;
  font-size:16px !important;
  font-weight:700 !important;
  line-height:1.4 !important;
}

#pg-register .isa-main-btn{
  width:100% !important;
  height:30px !important;
  margin:10px 0 0 !important;
  border:none !important;
  border-radius:10px !important;
  background:#06285f !important;
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:800 !important;
  cursor:pointer !important;
  box-shadow:0 4px 8px rgba(6,20,30,.10) !important;
}

#pg-register .isa-main-btn:active{
  transform:scale(.99) !important;
}
#pg-register .isa-receipt-btn{
  margin-top:12px;
  border:0;
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  color:#06184b;
  background:#ffd21f;
  cursor:pointer;
}
#pg-register .isa-receipt-btn:active{
  transform:scale(.98);
}


#pg-register .isa-terms{
  margin:14px 0 0 !important;
  text-align:center !important;
  color:#667085 !important;
  font-size:13px !important;
  line-height:1.5 !important;
}

#pg-register .isa-note{
  margin:20px 0 0 !important;
  padding:12px 18px !important;
  border:1px solid #bfdbfe !important;
  border-radius:12px !important;
  background:#eef6ff !important;
  color:#0b5cff !important;
  font-size:12px !important;
  line-height:1.65 !important;
  font-weight:700 !important;
}

#pg-register .isa-note span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:20px !important;
  height:20px !important;
  margin-right:8px !important;
  border-radius:50% !important;
  background:#1677ff !important;
  color:#ffffff !important;
  font-size:13px !important;
  font-weight:900 !important;
}

#pg-register .isa-msg{
  margin:0 0 8px !important;
  color:#0b5cff !important;
  font-size:12px !important;
  line-height:1.5 !important;
  font-weight:500 !important;
}

#pg-register .isa-payment-label{
  margin:2px 0 12px !important;
  color:#344054 !important;
  font-size:16px !important;
  font-weight:700 !important;
}

#pg-register .isa-payment-methods{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
  margin:0 0 20px !important;
}

#pg-register .isa-pay-card{
  position:relative !important;
  min-height:142px !important;
  border:1.5px solid #d5d9e2 !important;
  border-radius:16px !important;
  background:#ffffff !important;
  padding:16px 12px 14px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  cursor:pointer !important;
  box-sizing:border-box !important;
}

#pg-register .isa-pay-card input{
  position:absolute !important;
  top:13px !important;
  left:13px !important;
  width:20px !important;
  height:20px !important;
  padding:0 !important;
  accent-color:#1677ff !important;
}

#pg-register .isa-pay-card img{
  width:110px !important;
  height:64px !important;
  object-fit:contain !important;
  display:block !important;
  margin:0 !important;
  border:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

#pg-register .isa-pay-card strong{
  color:#101828 !important;
  font-size:17px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  text-align:center !important;
}

#pg-register .isa-warning{
  margin:2px 0 16px !important;
  padding:14px 16px !important;
  background:#fff8e6 !important;
  border:1px solid #facc15 !important;
  border-radius:12px !important;
  color:#3f2f00 !important;
  font-size:14px !important;
  line-height:1.55 !important;
}

#pg-register .isa-warning ul{
  margin:8px 0 0 18px !important;
  padding:0 !important;
}

#pg-register .isa-info{
  margin:0 0 14px !important;
  padding:14px 16px !important;
  background:#eef6ff !important;
  border:1px solid #bfdbfe !important;
  border-radius:12px !important;
  color:#0b5cff !important;
  font-size:15px !important;
  line-height:1.6 !important;
  font-weight:700 !important;
}

@media(max-width:440px){
  #pg-register.isa-modal{
    width:94vw !important;
    max-height:88vh !important;
    border-radius:5px !important;
  }

  #pg-register .isa-modal-top{
    min-height:58px !important;
    padding:16px 20px !important;
  }

  #pg-register .isa-modal-title{
    font-size:22px !important;
  }

  #pg-register .isa-form{
    padding:24px !important;
  }

  #pg-register .isa-section-title{
    font-size:14px !important;
    margin-bottom:5px !important;
  }

  #pg-register .isa-field{
    margin-bottom:5px !important;
  }

  #pg-register input,
  #pg-register select{
    height:30px !important;
    font-size:15px !important;
    border-radius:10px !important;
  }

  #pg-register .isa-payment-methods{
    grid-template-columns:1fr 1fr !important;
    gap:5px !important;
  }

  #pg-register .isa-pay-card{
    min-height:14px !important;
    padding:5px 3px !important;
  }

  #pg-register .isa-pay-card img{
    width:26px !important;
    height:16px !important;
  }

  #pg-register .isa-pay-card strong{
    font-size:5px !important;
  }
}


#legalModal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.45);
  backdrop-filter:blur(4px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:3000;
}

#legalModal.show{
  display:flex;
}

.legal-popup{
  width:min(680px,94vw);
  max-height:86vh;
  overflow-y:auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 20px 45px rgba(0,0,0,.25);
  padding:24px;
}

.legal-popup-body h2{
  color:#021f4f;
  font-size:24px;
  font-weight:900;
  margin-bottom:16px;
}

.legal-popup-body p{
  color:#1f2937;
  font-size:15px;
  line-height:1.7;
  margin-bottom:12px;
}

.legal-close{
  width:100%;
  margin-top:16px;
  padding:12px;
  border:none;
  border-radius:12px;
  background:#021f4f;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

/* ===== HERO SLIDER - 3 BLOCS / AUTO 5S ===== */
.hero-slider{
  position:relative;
  overflow:hidden;
  padding:0 !important;
  min-height:390px;
  background:#001f73;
}

.hero-track{
  display:flex;
  width:300%;
  min-height:390px;
  transition:transform .85s ease-in-out;
}

.hero-slide{
  position:relative;
  width:33.3333%;
  min-height:390px;
  flex:0 0 33.3333%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:72px 20px 82px;
  text-align:center;
  color:#ffffff;
  overflow:hidden;
}

.hero-slide::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(0,0,0,0.18) 18% 42%, transparent 42% 100%),
    linear-gradient(135deg, transparent 0 50%, rgba(255,255,255,0.08) 50% 70%, transparent 70% 100%),
    linear-gradient(145deg, #00185c 0%, #002b8f 45%, #00124d 100%);
  z-index:0;
}

.hero-slide:nth-child(2)::before{
  background:
    radial-gradient(circle at 20% 20%, rgba(255,215,58,.20), transparent 28%),
    linear-gradient(145deg, #021f4f 0%, #063b9a 52%, #001033 100%);
}

.hero-slide:nth-child(3)::before{
  background:
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.14), transparent 26%),
    linear-gradient(145deg, #00124d 0%, #0046b8 48%, #021f4f 100%);
}

.hero-slide .hero-mtta-content{
  position:relative;
  z-index:1;
  max-width:900px;
  animation:heroTextIn .8s ease both;
}

.hero-badge{
  display:inline-block;
  margin-bottom:14px;
  padding:7px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  color:#ffffff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.8px;
}

.hero-dots{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  gap:9px;
}

.hero-dots button{
  width:10px;
  height:10px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.48);
  cursor:pointer;
}

.hero-dots button.active{
  width:28px;
  border-radius:999px;
  background:#FFD73A;
}

@keyframes heroTextIn{
  from{opacity:0; transform:translateX(35px);}
  to{opacity:1; transform:translateX(0);}
}

@media (max-width:640px){
  .hero-slider,
  .hero-track,
  .hero-slide{
    min-height:430px;
  }

  .hero-slide{
    padding:58px 16px 76px;
  }

  .hero-badge{
    font-size:11px;
  }
}

/* ===== FOOTER PAYMENT SECURE UPDATE ===== */
.mtta-footer__payment-secure{
  margin-top:18px;
}

.mtta-footer__payment-secure .mtta-footer__label{
  color:#ffffff;
  font-weight:900;
}

.mtta-footer__pay{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.pay-item{
  width:92px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}

.pay-item img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:transparent !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
}

@media (max-width:480px){
  .mtta-footer__pay{
    justify-content:center;
  }
  .mtta-footer__payment-secure .mtta-footer__label{
    text-align:center;
  }
  .pay-item{
    width:84px;
    height:46px;
  }
}


/* ===== ACCUEIL PREMIUM UPDATE ===== */
.hero-actions{
  margin-top:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 20px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-btn:active{transform:scale(.98);}
.hero-btn-primary{
  background:#FFD73A;
  color:#021F4F;
  box-shadow:0 14px 30px rgba(255,215,58,.22);
}
.hero-btn-secondary{
  background:rgba(255,255,255,.12);
  color:#ffffff;
  border:1px solid rgba(255,255,255,.42);
  backdrop-filter:blur(8px);
}
.home-stats{
  width:min(1100px,calc(100% - 28px));
  margin:-26px auto 22px;
  position:relative;
  z-index:5;
}
.home-stats-card{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  background:#ffffff;
  border-radius:22px;
  padding:14px;
  box-shadow:0 18px 45px rgba(16,24,40,.14);
}
.stat-item{
  text-align:center;
  padding:14px 8px;
  border-radius:16px;
  background:#f8fafc;
}
.stat-item strong{
  display:block;
  color:#021F4F;
  font-size:clamp(22px,3vw,34px);
  line-height:1;
  font-weight:900;
}
.stat-item span{
  display:block;
  margin-top:7px;
  color:#475467;
  font-size:14px;
  font-weight:700;
}
.trust-section,
.student-reviews{
  width:min(1100px,calc(100% - 28px));
  margin:30px auto;
}
.trust-grid,
.reviews-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.trust-card,
.review-card{
  background:#ffffff;
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow);
  border:1px solid rgba(2,31,79,.06);
}
.trust-card span{
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#f2f6ff;
  font-size:24px;
  margin-bottom:10px;
}
.trust-card h3{
  color:#021F4F;
  font-size:17px;
  margin-bottom:6px;
  font-weight:900;
}
.trust-card p,
.review-card p{
  color:#475467;
  font-size:14px;
  line-height:1.55;
}
.review-card{
  position:relative;
}
.review-card::before{
  content:"“";
  position:absolute;
  right:18px;
  top:4px;
  font-size:60px;
  color:rgba(2,31,79,.08);
  font-weight:900;
}
.review-card strong{
  display:block;
  margin-top:12px;
  color:#021F4F;
  font-size:14px;
}
.reviews-grid{grid-template-columns:repeat(3,1fr);}
.final-cta{
  width:min(1100px,calc(100% - 28px));
  margin:34px auto;
}
.final-cta-card{
  text-align:center;
  color:#ffffff;
  background:linear-gradient(135deg,#021F4F 0%,#023887 100%);
  border-radius:26px;
  padding:34px 18px;
  box-shadow:0 18px 45px rgba(2,31,79,.22);
  overflow:hidden;
  position:relative;
}
.final-cta-card::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  right:-70px;
  top:-90px;
  background:rgba(255,215,58,.18);
}
.final-cta-card h2{
  font-size:clamp(24px,4vw,38px);
  font-weight:900;
  margin-bottom:8px;
  position:relative;
  z-index:1;
}
.final-cta-card p{
  max-width:680px;
  margin:0 auto 20px;
  color:rgba(255,255,255,.82);
  position:relative;
  z-index:1;
}
.final-cta-card .hero-btn{position:relative;z-index:1;}
.reveal-on-scroll{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media (max-width:900px){
  .home-stats-card{grid-template-columns:repeat(2,1fr);}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .hero-actions{gap:9px;}
  .hero-btn{width:100%;max-width:280px;padding:11px 16px;font-size:14px;}
  .home-stats{margin:-18px auto 18px;}
  .home-stats-card{grid-template-columns:1fr 1fr;padding:10px;gap:8px;border-radius:18px;}
  .stat-item{padding:12px 6px;}
  .stat-item span{font-size:12px;}
  .trust-grid{grid-template-columns:1fr;}
  .trust-card,.review-card{padding:16px;}
  .final-cta-card{padding:28px 16px;}
}

/* ===== PREMIUM PREVIEW PACK 2 (sans WhatsApp / partenaires / audio / sécurité visuelle) ===== */
html{scroll-behavior:smooth;}
body{transition:background .35s ease,color .35s ease;}

.site-loader{
  position:fixed;inset:0;z-index:5000;background:#ffffff;display:grid;place-items:center;
  transition:opacity .45s ease,visibility .45s ease;
}
.site-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none;}
.loader-card{display:grid;place-items:center;gap:8px;text-align:center;color:#021F4F;}
.loader-card img{width:78px;height:78px;object-fit:contain;animation:loaderPulse 1.2s ease-in-out infinite;}
.loader-card strong{font-size:20px;font-weight:900;}
.loader-card span{font-size:13px;color:#667085;font-weight:700;}
.loader-bar{width:190px;height:7px;border-radius:999px;background:#edf2f7;overflow:hidden;margin-top:6px;}
.loader-bar i{display:block;width:45%;height:100%;border-radius:inherit;background:#FFD73A;animation:loaderMove 1.1s ease-in-out infinite;}
@keyframes loaderPulse{50%{transform:scale(1.06)}}
@keyframes loaderMove{0%{transform:translateX(-120%)}100%{transform:translateX(260%)}}

.lang-switch{
  position:fixed;right:16px;top:92px;z-index:1200;background:rgba(255,255,255,.92);
  border:1px solid rgba(2,31,79,.12);border-radius:999px;padding:4px;box-shadow:0 10px 25px rgba(16,24,40,.12);
  backdrop-filter:blur(10px);
}
.lang-switch button{border:none;background:transparent;color:#021F4F;font-weight:900;padding:7px 10px;border-radius:999px;cursor:pointer;}
.lang-switch button.active{background:#021F4F;color:#fff;}

.toast-box{position:fixed;left:50%;bottom:88px;transform:translateX(-50%);z-index:2500;display:grid;gap:8px;pointer-events:none;}
.toast-msg{background:#101828;color:#fff;border-radius:14px;padding:11px 14px;font-weight:800;box-shadow:0 14px 35px rgba(0,0,0,.22);animation:toastIn .25s ease both;}
@keyframes toastIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

.hero-mtta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.32),rgba(0,0,0,.08),rgba(0,0,0,.28));z-index:0;pointer-events:none;}
.hero-track{position:relative;z-index:1;}
.hero-dots{z-index:2;}

.dashboard-preview{width:min(1100px,calc(100% - 28px));margin:34px auto;display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;}
.dashboard-preview__text{background:#fff;border-radius:24px;padding:24px;box-shadow:var(--shadow);}
.mini-label{display:inline-flex;background:#fff7d1;color:#021F4F;border-radius:999px;padding:7px 12px;font-weight:900;font-size:12px;margin-bottom:12px;}
.dashboard-preview__text h2{color:#021F4F;font-size:clamp(24px,3.2vw,38px);line-height:1.15;margin-bottom:10px;font-weight:900;}
.dashboard-preview__text p{color:#475467;margin-bottom:18px;}
.student-dashboard-card{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid rgba(2,31,79,.08);border-radius:26px;padding:20px;box-shadow:0 18px 45px rgba(16,24,40,.12);}
.dash-top{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.student-avatar{width:54px;height:54px;border-radius:18px;background:#021F4F;color:#FFD73A;display:grid;place-items:center;font-weight:900;font-size:18px;}
.dash-top strong{display:block;color:#021F4F;font-weight:900;}.dash-top span{color:#667085;font-weight:700;font-size:13px;}
.dash-progress{background:#fff;border-radius:18px;padding:14px;border:1px solid #eef2f7;margin-bottom:14px;}
.dash-progress-head{display:flex;justify-content:space-between;font-weight:900;color:#021F4F;margin-bottom:8px;}
.progress-track{height:10px;background:#edf2f7;border-radius:999px;overflow:hidden;}.progress-track i{display:block;height:100%;background:#FFD73A;border-radius:inherit;}
.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px;}
.dash-grid div{background:#f8fafc;border-radius:16px;padding:12px;text-align:center;}.dash-grid strong{display:block;color:#021F4F;font-size:24px;}.dash-grid span{font-size:12px;color:#667085;font-weight:800;}
.dash-certificate{background:#021F4F;color:#fff;border-radius:16px;padding:12px;text-align:center;font-weight:900;}

.gamification-section,.faq-section{width:min(1100px,calc(100% - 28px));margin:32px auto;}
.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}.game-card{background:#fff;border-radius:22px;padding:20px;box-shadow:var(--shadow);text-align:center;border:1px solid rgba(2,31,79,.06);}
.game-card span{font-size:34px;display:block;margin-bottom:8px;}.game-card strong{display:block;color:#021F4F;font-size:18px;font-weight:900;margin-bottom:6px;}.game-card p{color:#475467;font-size:14px;}

.skeleton-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 16px;}
.skeleton-preview span{height:10px;border-radius:999px;background:linear-gradient(90deg,#eef2f7,#ffffff,#eef2f7);background-size:220% 100%;animation:skeletonMove 1.4s infinite;}
@keyframes skeletonMove{0%{background-position:100% 0}100%{background-position:-100% 0}}

.faq-list{display:grid;gap:10px;}.faq-list details{background:#fff;border-radius:18px;padding:0 16px;box-shadow:var(--shadow);border:1px solid rgba(2,31,79,.06);overflow:hidden;}.faq-list summary{cursor:pointer;padding:16px 0;font-weight:900;color:#021F4F;}.faq-list p{padding:0 0 16px;color:#475467;}

.sticky-mobile-cta{display:none;position:fixed;left:14px;right:14px;bottom:14px;z-index:1600;background:#FFD73A;color:#021F4F;text-align:center;text-decoration:none;font-weight:900;border-radius:999px;padding:13px 16px;box-shadow:0 16px 38px rgba(2,31,79,.24);}

@media (max-width:900px){.dashboard-preview{grid-template-columns:1fr}.game-grid{grid-template-columns:1fr 1fr}.lang-switch{top:auto;right:14px;bottom:78px}}
@media (max-width:640px){.sticky-mobile-cta{display:block}.chat-button{bottom:76px}.toast-box{bottom:136px}.dashboard-preview__text,.student-dashboard-card{padding:16px;border-radius:20px}.game-grid{grid-template-columns:1fr}.dash-grid{grid-template-columns:1fr 1fr 1fr}.skeleton-preview{grid-template-columns:1fr}.lang-switch{transform:scale(.88);transform-origin:right bottom}}


/* ===== CLEAN MOBILE FLOATING BUTTONS - UPDATED ===== */
/* Chat: bouton unique, sans rond/bloc blanc derrière */
.chat-button{
  bottom:22px !important;
  right:18px !important;
  width:56px !important;
  height:56px !important;
  border-radius:50% !important;
  background:#021F4F !important;
  color:#fff !important;
  border:none !important;
  outline:none !important;
  box-shadow:0 10px 24px rgba(2,31,79,.28) !important;
  z-index:2600 !important;
}
.chat-button::before,
.chat-button::after{
  content:none !important;
  display:none !important;
}
.chat-window{
  bottom:92px !important;
  right:18px !important;
  z-index:2601 !important;
}
/* Le bouton fixe “S’inscrire maintenant” est retiré pour ne plus gêner la lecture mobile. */
.sticky-mobile-cta{
  display:none !important;
}
@media (max-width:640px){
  .chat-button{bottom:22px !important; right:18px !important;}
  .chat-window{width:calc(100% - 28px) !important; right:14px !important; bottom:88px !important;}
}


/* ===== CLEANUP REQUEST: remove gamification + language switch ===== */
.lang-switch,
.gamification-section,
.sticky-mobile-cta{
  display:none !important;
}

.chat-button{
  bottom:22px !important;
  right:22px !important;
  left:auto !important;
  width:58px !important;
  height:58px !important;
  border-radius:50% !important;
  background:#021F4F !important;
  box-shadow:0 12px 28px rgba(2,31,79,.28) !important;
}

.chat-button::before,
.chat-button::after{
  display:none !important;
  content:none !important;
}

/* ===== LOADER FIX CLEAN ===== */
.loader-logo-mark{
  width:78px;
  height:78px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:#021F4F;
  color:#FFD73A;
  font-weight:900;
  font-size:28px;
  letter-spacing:.5px;
  box-shadow:0 18px 40px rgba(2,31,79,.18);
  animation:loaderPulse 1.2s ease-in-out infinite;
}
.site-loader{
  transition:opacity .35s ease, visibility .35s ease;
}
.site-loader.is-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}


/* =========================================================
   FOOTER PREMIUM FINAL — I-SPEAK ACADEMY
   Version propre: dark premium, spacing, logos alignés
   ========================================================= */

.mtta-footer{
  background:
    radial-gradient(circle at 15% 0%, rgba(255,215,58,.08), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(2,74,170,.18), transparent 30%),
    linear-gradient(180deg,#050816 0%,#02040b 100%) !important;
  color:rgba(255,255,255,.78) !important;
  padding:64px 0 34px !important;
  overflow:hidden !important;
}

.mtta-footer__container{
  width:min(1040px,calc(100% - 34px)) !important;
  margin:0 auto !important;
}

/* Brand */
.mtta-footer__brand{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:14px !important;
  margin-bottom:22px !important;
}

.mtta-footer__logo{
  width:62px !important;
  height:62px !important;
  object-fit:contain !important;
  border:none !important;
  outline:none !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  flex:0 0 auto !important;
}

.mtta-footer__brandTitle{
  color:#ffffff !important;
  font-size:clamp(24px,4vw,34px) !important;
  font-weight:900 !important;
  line-height:1.15 !important;
  letter-spacing:.3px !important;
}

.mtta-footer__brandSub{
  color:rgba(255,255,255,.55) !important;
}

/* Description */
.mtta-footer__desc{
  max-width:820px !important;
  margin:0 auto 34px !important;
  text-align:center !important;
  color:rgba(255,255,255,.64) !important;
  font-size:15px !important;
  line-height:1.85 !important;
  font-weight:500 !important;
}

/* Blocks */
.mtta-footer__block{
  margin-top:36px !important;
  text-align:center !important;
}

.mtta-footer__label{
  color:#ffffff !important;
  font-size:20px !important;
  font-weight:900 !important;
  margin-bottom:18px !important;
  line-height:1.2 !important;
}

/* Navigation */
.mtta-footer__links{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:left !important;
  align-items:center !important;
  gap:14px 26px !important;
}

.mtta-footer__links a{
  color:rgba(255,255,255,.72) !important;
  text-decoration:none !important;
  font-size:14px !important;
  font-weight:750 !important;
  line-height:1.4 !important;
  transition:color .25s ease, transform .25s ease !important;
}

.mtta-footer__links a:hover{
  color:#FFD73A !important;
  text-decoration:none !important;
  transform:translateY(-2px) !important;
}

/* Partenaires */
.mtta-footer__partners{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  max-width:none !important;
  grid-template-columns:none !important;
  gap:0 !important;
}

.partner-item{
  width:min(430px,100%) !important;
  min-height:72px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:14px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:20px !important;
  padding:14px 20px !important;
  box-shadow:0 18px 50px rgba(0,0,0,.28) !important;
  backdrop-filter:blur(10px) !important;
}

.partner-item img{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block !important;
  border:none !important;
  outline:none !important;
  background:transparent !important;
  border-radius:0px !important;
  box-shadow:none !important;
}

.partner-item span{
  color:rgba(255,255,255,.80) !important;
  font-size:15px !important;
  font-weight:850 !important;
}

/* Paiement sécurisé */
.mtta-footer__payment-secure{
  margin-top:38px !important;
  text-align:center !important;
}

.mtta-footer__payment-secure .mtta-footer__label{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  margin-bottom:18px !important;
  color:#ffffff !important;
  font-size:22px !important;
  font-weight:900 !important;
}

.mtta-footer__pay{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:16px !important;
  margin-top:0 !important;
}

.pay-item{
  width:118px !important;
  height:62px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:18px !important;
  padding:10px 14px !important;
  box-shadow:0 14px 34px rgba(0,0,0,.20) !important;
  overflow:hidden !important;
}

.pay-item img{
  width:100% !important;
  height:100% !important;
  max-width:96px !important;
  max-height:38px !important;
  object-fit:contain !important;
  display:block !important;
  background:transparent !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

.pay-item span{
  display:none !important;
}

/* Bottom copyright */
.mtta-footer__bottom{
  max-width:900px !important;
  margin:38px auto 0 !important;
  padding-top:22px !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  color:rgba(255,255,255,.52) !important;
  font-size:13px !important;
  line-height:1.85 !important;
  text-align:center !important;
  font-weight:500 !important;
}

/* Chat button: tsy manarona be ny footer */
.chat-button{
  width:56px !important;
  height:56px !important;
  right:18px !important;
  bottom:22px !important;
  background:#ffffff !important;
  box-shadow:0 14px 34px rgba(92,31,79,.38) !important;
  border:none !important;
  outline:none !important;
}

.chat-button::before,
.chat-button::after{
  display:none !important;
  content:none !important;
}

/* Mobile footer */
@media(max-width:640px){
  .mtta-footer{
    padding:52px 0 30px !important;
  }

  .mtta-footer__container{
    width:min(100% - 28px, 1040px) !important;
  }

  .mtta-footer__brand{
    flex-direction:column !important;
    gap:10px !important;
    margin-bottom:18px !important;
  }

  .mtta-footer__logo{
    width:58px !important;
    height:58px !important;
  }

  .mtta-footer__brandTitle{
    font-size:24px !important;
  }

  .mtta-footer__desc{
    font-size:14px !important;
    line-height:1.75 !important;
    margin-bottom:30px !important;
  }

  .mtta-footer__block{
    margin-top:32px !important;
  }

  .mtta-footer__label{
    font-size:18px !important;
    margin-bottom:16px !important;
  }

  .mtta-footer__links{
    gap:12px 18px !important;
  }

  .mtta-footer__links a{
    font-size:13px !important;
  }

  .partner-item{
    min-height:66px !important;
    padding:13px 16px !important;
    border-radius:18px !important;
  }

  .partner-item img{
    width:38px !important;
    height:38px !important;
  }

  .partner-item span{
    font-size:14px !important;
  }

  .mtta-footer__payment-secure .mtta-footer__label{
    font-size:20px !important;
  }

  .mtta-footer__pay{
    gap:12px !important;
  }

  .pay-item{
    width:98px !important;
    height:56px !important;
    padding:9px 12px !important;
    border-radius:16px !important;
  }

  .pay-item img{
    max-width:82px !important;
    max-height:34px !important;
  }

  .mtta-footer__bottom{
    margin-top:32px !important;
    font-size:12px !important;
    line-height:1.75 !important;
    padding-bottom:54px !important;
  }
}

/* =========================================================
   FOOTER PREMIUM — PROGRAMMES EN BOUTONS TEXTE
   ========================================================= */
.mtta-footer{
  position:relative !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,215,58,.16), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(42,112,255,.18), transparent 32%),
    linear-gradient(135deg,#020617 0%,#071326 50%,#02040b 100%) !important;
  color:rgba(255,255,255,.82) !important;
  padding:72px 0 34px !important;
  overflow:hidden !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
}

.mtta-footer::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  pointer-events:none !important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.06),transparent) !important;
  opacity:.55 !important;
}

.mtta-footer__container{
  position:relative !important;
  z-index:1 !important;
  width:min(1120px,calc(100% - 34px)) !important;
  margin:0 auto !important;
}

.mtta-footer__top{
  max-width:900px !important;
  margin:0 auto 34px !important;
  text-align:center !important;
}

.mtta-footer__brand{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:16px !important;
  margin-bottom:18px !important;
  text-align:left !important;
}

.mtta-footer__logo{
  width:66px !important;
  height:66px !important;
  object-fit:contain !important;
  flex:0 0 auto !important;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.28)) !important;
}

.mtta-footer__brandTitle{
  color:#fff !important;
  font-size:clamp(25px,4vw,38px) !important;
  font-weight:950 !important;
  line-height:1.05 !important;
  letter-spacing:.4px !important;
}

.mtta-footer__brandSub{
  margin-top:6px !important;
  color:#FFD73A !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.7px !important;
  text-transform:uppercase !important;
}

.mtta-footer__desc{
  max-width:850px !important;
  margin:0 auto !important;
  color:rgba(255,255,255,.68) !important;
  font-size:15.5px !important;
  line-height:1.85 !important;
  font-weight:550 !important;
  text-align:center !important;
}

.mtta-footer__grid{
  display:grid !important;
  grid-template-columns:1fr 1.35fr !important;
  gap:22px !important;
  align-items:stretch !important;
}

.mtta-footer__block{
  margin:0 !important;
  text-align:left !important;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:26px !important;
  padding:24px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.26) !important;
  backdrop-filter:blur(12px) !important;
}

.mtta-footer__block--programmes{
  grid-row:span 2 !important;
}

.mtta-footer__label{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:950 !important;
  margin:0 0 18px !important;
  line-height:1.2 !important;
}

.mtta-footer__label::before{
  content:"" !important;
  width:9px !important;
  height:9px !important;
  border-radius:999px !important;
  background:#FFD73A !important;
  box-shadow:0 0 0 6px rgba(255,215,58,.12) !important;
  flex:0 0 auto !important;
}

.mtta-footer__links{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:11px !important;
}

.mtta-footer__links a{
  display:inline-flex !important;
  align-items:center !important;
  color:rgba(255,255,255,.72) !important;
  text-decoration:none !important;
  font-size:14px !important;
  font-weight:780 !important;
  line-height:1.35 !important;
  transition:color .22s ease, transform .22s ease !important;
}

.mtta-footer__links a:hover{
  color:#FFD73A !important;
  transform:translateX(4px) !important;
}

.mtta-footer__programmes{
  display:flex !important;
  flex-direction:column !important;
  gap:22px !important;
}

.mtta-footer__programGroup{
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:22px !important;
  padding:18px !important;
  background:rgba(0,0,0,.16) !important;
}

.mtta-footer__programTitle{
  color:#FFD73A !important;
  font-size:13px !important;
  font-weight:950 !important;
  letter-spacing:.9px !important;
  text-transform:uppercase !important;
  margin-bottom:13px !important;
}

.mtta-footer__programPills{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}

.mtta-footer__program-pill{
  appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:38px !important;
  padding:9px 14px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.13) !important;
  background:rgba(255,255,255,.075) !important;
  color:rgba(255,255,255,.84) !important;
  text-decoration:none !important;
  font-size:13px !important;
  font-weight:850 !important;
  line-height:1.2 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 24px rgba(0,0,0,.12) !important;
  transition:transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease !important;
}

.mtta-footer__program-pill:hover{
  transform:translateY(-2px) !important;
  border-color:rgba(255,215,58,.65) !important;
  background:rgba(255,215,58,.14) !important;
  color:#fff !important;
  text-decoration:none !important;
}

.mtta-footer__partners{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:0 !important;
  max-width:none !important;
  grid-template-columns:none !important;
}

.partner-item{
  width:100% !important;
  min-height:72px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:20px !important;
  padding:14px 16px !important;
  box-shadow:none !important;
}

.partner-item img{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  border-radius:10px !important;
}

.partner-item span{
  color:rgba(255,255,255,.82) !important;
  font-size:14px !important;
  font-weight:850 !important;
}

.mtta-footer__payment-secure{
  text-align:left !important;
}

.mtta-footer__payment-secure .mtta-footer__label{
  display:flex !important;
  justify-content:flex-start !important;
  margin-bottom:18px !important;
  font-size:18px !important;
}

.mtta-footer__pay{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
}

.pay-item{
  width:96px !important;
  height:56px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:16px !important;
  padding:10px 12px !important;
  box-shadow:0 14px 30px rgba(0,0,0,.18) !important;
  overflow:hidden !important;
}

.pay-item img{
  width:100% !important;
  height:100% !important;
  max-width:76px !important;
  max-height:34px !important;
  object-fit:contain !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
}

.mtta-footer__bottom{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:10px 18px !important;
  max-width:100% !important;
  margin:28px auto 0 !important;
  padding:20px 0 0 !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  color:rgba(255,255,255,.58) !important;
  font-size:13px !important;
  line-height:1.6 !important;
  text-align:center !important;
  font-weight:600 !important;
}

@media(max-width:860px){
  .mtta-footer__grid{
    grid-template-columns:1fr !important;
  }

  .mtta-footer__block--programmes{
    grid-row:auto !important;
  }
}

@media(max-width:640px){
  .mtta-footer{
    padding:56px 0 30px !important;
  }

  .mtta-footer__container{
    width:min(100% - 26px,1120px) !important;
  }

  .mtta-footer__brand{
    flex-direction:column !important;
    text-align:center !important;
    gap:11px !important;
  }

  .mtta-footer__logo{
    width:60px !important;
    height:60px !important;
  }

  .mtta-footer__brandTitle{
    font-size:24px !important;
  }

  .mtta-footer__brandSub{
    font-size:11px !important;
  }

  .mtta-footer__desc{
    font-size:14px !important;
    line-height:1.75 !important;
  }

  .mtta-footer__block{
    padding:20px !important;
    border-radius:22px !important;
  }

  .mtta-footer__programGroup{
    padding:15px !important;
    border-radius:19px !important;
  }

  .mtta-footer__programPills{
    gap:9px !important;
  }

  .mtta-footer__program-pill{
    min-height:36px !important;
    font-size:12.5px !important;
    padding:8px 12px !important;
  }

  .mtta-footer__links a{
    font-size:13px !important;
  }

  .mtta-footer__pay{
    gap:10px !important;
  }

  .pay-item{
    width:86px !important;
    height:52px !important;
    padding:9px 10px !important;
  }

  .mtta-footer__bottom{
    font-size:12px !important;
    padding-bottom:56px !important;
  }
}

/* Footer simple premium sans bordures — demandé le 16/05 */
.mtta-footer{
  background:#1f2937 !important;
  color:rgba(255,255,255,.78) !important;
  padding:64px 0 42px !important;
  border:none !important;
  box-shadow:none !important;
}
.mtta-footer,
.mtta-footer *,
.mtta-footer *::before,
.mtta-footer *::after{
  border:0 !important;
  box-shadow:none !important;
}
.mtta-footer::before{
  display:none !important;
}
.mtta-footer__container{
  width:min(1120px,calc(100% - 40px)) !important;
  margin:0 auto !important;
}
.mtta-footer__top{
  max-width:840px !important;
  margin:0 0 38px !important;
  text-align:left !important;
}
.mtta-footer__brand{
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:14px !important;
  margin-bottom:16px !important;
  text-align:left !important;
}
.mtta-footer__logo{
  width:58px !important;
  height:58px !important;
  object-fit:contain !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  filter:none !important;
}
.mtta-footer__brandTitle{
  color:#f8fafc !important;
  font-size:clamp(23px,3vw,34px) !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
}
.mtta-footer__brandSub{
  margin-top:4px !important;
  color:rgba(255,255,255,.56) !important;
  font-size:14px !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}
.mtta-footer__desc{
  max-width:760px !important;
  margin:0 !important;
  color:rgba(255,255,255,.62) !important;
  font-size:15.5px !important;
  line-height:1.75 !important;
  font-weight:400 !important;
  text-align:left !important;
}
.mtta-footer__grid{
  display:grid !important;
  grid-template-columns:1fr 1.25fr 1fr 1fr !important;
  gap:36px 42px !important;
  align-items:start !important;
}
.mtta-footer__block,
.mtta-footer__programGroup,
.partner-item,
.pay-item{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
  backdrop-filter:none !important;
}
.mtta-footer__block--programmes{
  grid-row:auto !important;
}
.mtta-footer__label{
  display:block !important;
  color:rgba(255,255,255,.50) !important;
  font-size:18px !important;
  font-weight:500 !important;
  margin:0 0 12px !important;
  line-height:1.35 !important;
}
.mtta-footer__label::before{
  display:none !important;
}
.mtta-footer__links,
.mtta-footer__programPills{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:0 !important;
  line-height:1.85 !important;
}
.mtta-footer__links a,
.mtta-footer__program-pill{
  display:inline !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  color:rgba(255,255,255,.78) !important;
  text-decoration:none !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1.85 !important;
  transition:color .18s ease !important;
}
.mtta-footer__links a:hover,
.mtta-footer__program-pill:hover{
  color:#ffffff !important;
  background:transparent !important;
  transform:none !important;
  text-decoration:underline !important;
  text-underline-offset:4px !important;
}
.mtta-footer__links a:not(:last-child)::after,
.mtta-footer__program-pill:not(:last-child)::after{
  content:"|" !important;
  display:inline !important;
  margin:0 .55rem !important;
  color:rgba(255,255,255,.35) !important;
  text-decoration:none !important;
}
.mtta-footer__programmes{
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
}
.mtta-footer__programTitle{
  color:rgba(255,255,255,.50) !important;
  font-size:15px !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  margin:0 0 6px !important;
}
.mtta-footer__partners,
.mtta-footer__pay{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:14px !important;
  max-width:none !important;
}
.partner-item{
  min-height:0 !important;
  width:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
}
.partner-item img,
.pay-item img{
  width:auto !important;
  height:auto !important;
  max-width:58px !important;
  max-height:34px !important;
  object-fit:contain !important;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  padding:0 !important;
}
.partner-item span{
  color:rgba(255,255,255,.78) !important;
  font-size:15px !important;
  font-weight:500 !important;
}
.pay-item{
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:visible !important;
}
.mtta-footer__bottom{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-start !important;
  gap:0 !important;
  margin:36px 0 0 !important;
  padding:0 !important;
  border:none !important;
  color:rgba(255,255,255,.48) !important;
  font-size:13.5px !important;
  line-height:1.85 !important;
  text-align:left !important;
  font-weight:400 !important;
}
.mtta-footer__bottom span:not(:last-child)::after{
  content:"|" !important;
  margin:0 .65rem !important;
  color:rgba(255,255,255,.28) !important;
}
@media(max-width:900px){
  .mtta-footer__grid{
    grid-template-columns:1fr 1fr !important;
  }
}
@media(max-width:640px){
  .mtta-footer{
    padding:52px 0 30px !important;
  }
  .mtta-footer__container{
    width:min(100% - 34px,1120px) !important;
  }
  .mtta-footer__top{
    margin-bottom:34px !important;
  }
  .mtta-footer__brand{
    flex-direction:row !important;
    text-align:left !important;
    gap:12px !important;
  }
  .mtta-footer__logo{
    width:52px !important;
    height:52px !important;
  }
  .mtta-footer__brandTitle{
    font-size:22px !important;
  }
  .mtta-footer__brandSub{
    font-size:13px !important;
  }
  .mtta-footer__desc{
    font-size:14.5px !important;
  }
  .mtta-footer__grid{
    grid-template-columns:1fr !important;
    gap:30px !important;
  }
  .mtta-footer__label{
    font-size:18px !important;
    margin-bottom:8px !important;
  }
  .mtta-footer__links a,
  .mtta-footer__program-pill,
  .partner-item span{
    font-size:16px !important;
    line-height:1.75 !important;
  }
  .mtta-footer__programTitle{
    font-size:16px !important;
  }
  .mtta-footer__pay{
    gap:16px !important;
  }
  .mtta-footer__bottom{
    font-size:13.5px !important;
    padding-bottom:62px !important;
  }
}

/* ===================== TEST DE NIVEAU GRATUIT ===================== */
.level-test-cta{
  width:min(1100px,calc(100% - 28px));
  margin:24px auto 28px;
}
.level-test-cta-card{
  text-align:center;
  color:#ffffff;
  background:linear-gradient(135deg,#021F4F 0%,#023887 100%);
  border-radius:26px;
  padding:28px 18px;
  box-shadow:0 18px 45px rgba(2,31,79,.20);
  overflow:hidden;
  position:relative;
}
.level-test-cta-card::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  right:-60px;
  top:-80px;
  background:rgba(255,215,58,.18);
}
.level-test-cta-card h2,
.level-test-cta-card p,
.level-test-cta-card .hero-btn{position:relative;z-index:1;}
.level-test-cta-card h2{
  font-size:clamp(24px,4vw,36px);
  font-weight:900;
  margin-bottom:8px;
}
.level-test-cta-card p{
  max-width:680px;
  margin:0 auto 18px;
  color:rgba(255,255,255,.84);
}
.level-test-page{max-width:920px;margin-inline:auto;}
.level-test-panel{display:grid;gap:16px;}
.level-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.level-lang-btn{border:2px solid #d6e0f5;background:#fff;color:#021F4F;font-weight:900;}
.level-lang-btn.active{background:#021F4F;color:#fff;border-color:#021F4F;}
.level-test-identity,.level-payment-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.level-payment-fields{grid-template-columns:1fr 1fr;}
.level-test-note{color:#667085;text-align:center;margin:0;}
.level-test-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.level-test-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eef4ff;color:#021F4F;font-weight:900;font-size:13px;margin-bottom:8px;}
.level-test-timer{font-weight:900;color:#021F4F;background:#FFD73A;border-radius:999px;padding:9px 14px;min-width:78px;text-align:center;}
.level-question-text{font-size:18px;font-weight:700;color:#101828;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px;}
#levelTranscript{width:100%;border:1px solid #d0d5dd;border-radius:16px;padding:14px;font:inherit;resize:vertical;}
.level-record-row{display:flex;gap:12px;flex-wrap:wrap;}
.level-test-result{display:grid;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;margin-top:12px;}
.level-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.level-result-grid p{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px;margin:0;}
.attestation-box{background:#fff8d8;border:1px solid rgba(255,215,58,.7);border-radius:18px;padding:16px;display:grid;gap:12px;}
@media(max-width:760px){
  .level-choice,.level-test-identity,.level-payment-fields,.level-result-grid{grid-template-columns:1fr;}
  .level-test-head{flex-direction:column;}
  .level-record-row .btn{width:100%;}
}

/* ===================== AVIS RÉELS ===================== */
.reviews-intro{
  max-width:720px;
  margin:0 auto 18px;
  text-align:center;
  color:#667085;
  font-size:14px;
}
.review-stars{
  color:#F2B705;
  font-size:18px;
  letter-spacing:1px;
  margin-bottom:10px;
  font-weight:900;
}
.review-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.review-chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#f2f6ff;
  color:#021F4F;
  font-size:12px;
  font-weight:800;
}
.review-card-empty{
  grid-column:1/-1;
  text-align:center;
}
.review-form-panel{
  margin:20px auto 0;
  background:#ffffff;
  border:1px solid rgba(2,31,79,.08);
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.review-form-panel summary{
  cursor:pointer;
  list-style:none;
  padding:18px 20px;
  color:#021F4F;
  font-weight:900;
  text-align:center;
}
.review-form-panel summary::-webkit-details-marker{display:none;}
.review-form-panel summary::after{
  content:"+";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin-left:10px;
  border-radius:50%;
  background:#f2f6ff;
  color:#021F4F;
}
.review-form-panel[open] summary::after{content:"–";}
.review-form{
  padding:0 20px 20px;
  display:grid;
  gap:14px;
}
.review-form-row{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.review-form label{
  display:block;
  margin-bottom:6px;
  color:#021F4F;
  font-size:13px;
  font-weight:900;
}
.review-form input,
.review-form select,
.review-form textarea{
  width:100%;
  border:1px solid rgba(2,31,79,.14);
  border-radius:14px;
  padding:12px 13px;
  font:inherit;
  color:#101828;
  background:#fff;
  outline:none;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus{
  border-color:#023887;
  box-shadow:0 0 0 4px rgba(2,56,135,.10);
}
.review-consent{
  display:flex!important;
  gap:10px;
  align-items:flex-start;
  color:#475467!important;
  font-weight:700!important;
  line-height:1.45;
}
.review-consent input{
  width:auto!important;
  margin-top:3px;
}
.review-form-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.review-form-message{
  color:#475467;
  font-size:14px;
  font-weight:800;
}
.review-form-message.ok{color:#027A48;}
.review-form-message.err{color:#B42318;}
@media(max-width:700px){
  .review-form-row{grid-template-columns:1fr;}
  .review-form-actions .hero-btn{width:100%;text-align:center;}
}


/* CSP hardening: former inline styles moved here */
.legal-modal{position:fixed;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:18px;z-index:3000;}
.legal-modal.show{display:flex;}
.legal-popup{width:min(760px,94vw);max-height:86vh;overflow-y:auto;background:#ffffff;border-radius:18px;box-shadow:0 20px 45px rgba(0,0,0,.25);padding:24px;}
.legal-popup-body h2{color:#021f4f;font-size:24px;font-weight:900;margin-bottom:16px;line-height:1.25;}
.legal-popup-body p,.legal-popup-body li{color:#1f2937;font-size:15px;line-height:1.7;}
.legal-popup-body p{margin-bottom:12px;}
.legal-popup-body ul{margin:0 0 14px 22px;padding:0;}
.legal-close{width:100%;margin-top:16px;padding:12px;border:none;border-radius:12px;background:#021f4f;color:#ffffff;font-weight:900;cursor:pointer;}
.auth-simple-card{max-width:520px;margin:40px auto;padding:18px;}
.auth-simple-input{width:100%;padding:12px;margin:10px 0;}
.auth-simple-button{padding:12px 14px;}
.auth-simple-message{margin-top:12px;}
.auth-simple-link{margin-top:14px;}
#pg-modal.pg-details-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,92vw);background:#fff;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.25);z-index:2001;overflow:hidden;}
.pg-details-top{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#021F4F;color:#fff;}
.pg-details-title{font-weight:900;}
.pg-details-close{background:transparent;border:none;color:#fff;font-size:22px;cursor:pointer;}
.pg-details-body{padding:16px;color:#101828;}
.pg-details-footer{padding:14px 16px;border-top:1px solid #e5e7eb;display:flex;gap:10px;justify-content:flex-end;}
.pg-details-close-secondary{padding:10px 14px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;font-weight:800;}
.pg-details-register-btn{padding:10px 14px;border-radius:12px;border:none;background:#021F4F;color:#fff;font-weight:900;cursor:pointer;}
#pg-email-wrap,#pg-slot-wrap,#pg-step-payment{display:none;}
.pg-details-intro{margin-top:0;}
.pg-details-list{padding-left:18px;margin:10px 0 0;}
