: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 */
.top-header{background:#1523ff;border-bottom:1px solid var(--border);padding:14px 16px;}
.brand{max-width:1100px;margin:auto;display:flex;align-items:center;gap:12px;}
.brand img{width:52px;height:52px;border-radius:50%;object-fit:cover;}
.brand-title{font-weight:900;color:var(--blue);font-size:14px;}
.brand-email{font-size:12px;color:#333;}

/* 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:15px;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;}
  .menu a,.menu-btn{padding:10px 0;}
  .dropdown{position:relative;border-top:none;}
  .submenu{
    position:absolute;top:40px;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:fixed;
  top:86px;
  left:14px;
  z-index:2000;
  padding:10px 14px;
  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{
  background:linear-gradient(135deg,#021f4f,#032b73,#021433);
  padding:80px 20px;
  text-align:center;
  color:gold;
}
.hero-mtta-content{max-width:820px;margin:auto;}
.hero-mtta h1{font-size:34px;font-weight:900;line-height:1.2;margin-bottom:18px;}
.hero-mtta h2{font-size:20px;margin-bottom:22px;color:#e5e7eb;}
.hero-mtta p{font-size:16px;color:#dbeafe;}

/* PARTNER + TESTIMONIALS VIDEO */
.partner-section{padding:24px 14px;}
.partner-ad{position:relative;max-width:1100px;margin:0 auto;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#08152f,#020817);box-shadow:0 24px 50px rgba(0,0,0,.28);}
.partner-badge{
  position:absolute;
  top:14px;left:14px;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  color:#fff;
  background:rgba(0,0,0,.45);
  backdrop-filter:blur(6px);
  z-index:3;
}
#partnerVideo,#testimonialsVideo{width:100%;display:block;background:#000;object-fit:cover;}

/* 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:10px;}
.why-intro{font-size:15px;color:#111;margin-bottom:10px;}
.more p{margin:6px 0;color:#222;}

/* HOW */
.how-section{
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  max-width:900px;
  margin:30px auto;
}
.how-image img{width:100%;height:auto;object-fit:contain;}
.how-content{padding:20px
;}
.how-content h2{color:var(--blue);font-weight:900;margin-bottom:10px;}
.how-intro{color:var(--muted);}

/* PROGRAMMES */
#programmes{max-width:1100px;margin:30px auto;padding:0 14px;}
.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: #1f2a33; /* dark */
  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: 16px;
  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;
  background: transparent;
}

.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);
}

/* ===================== AI VOICE COACH ===================== */
.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-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;}
  .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;}
}


.partner-ad--video-card{max-width:420px;padding:0;}
.partner-video-shell{position:relative;width:100%;aspect-ratio:4/5;background:#000;}
#partnerVideo{width:100%;height:100%;object-fit:cover;}
.partner-video-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;padding:14px;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.05) 35%,rgba(0,0,0,.55));pointer-events:none;}
.partner-video-top,.partner-video-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;}
.partner-video-top{align-items:flex-start;}
.partner-video-tag,.partner-video-views{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(8px);color:#fff;font-size:12px;font-weight:800;}
.partner-video-bottom{flex-direction:column;align-items:stretch;}
.partner-video-meta{color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35);}
.partner-video-meta strong{display:block;font-size:18px;line-height:1.2;margin-bottom:4px;}
.partner-video-meta small{display:block;font-size:12px;opacity:.9;}
.partner-video-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;pointer-events:auto;}
.partner-video-controls button{border:none;border-radius:14px;padding:11px 10px;background:rgba(255,255,255,.92);font-weight:900;color:#021F4F;cursor:pointer;box-shadow:0 10px 22px rgba(0,0,0,.18);}
.partner-video-controls button:hover{transform:translateY(-1px);}
.partner-section .partner-badge{z-index:3;}
@media (max-width: 640px){
  .partner-ad--video-card{max-width:min(100%,390px);}
  .partner-video-shell{aspect-ratio:4/5;}
  .partner-video-controls{grid-template-columns:repeat(2,minmax(0,1fr));}
  .partner-video-meta strong{font-size:16px;}
}
