:root{
  --hero-blue:#0587B8;
  --section-blue:#0587B8;
  --pack-bg:rgba(5,135,184,.20);
  --title-blue:#08478F;
  --subtitle-gray:#667795;
  --brand-red:#932727;
  --cream:#FFF8F0;
  --white:#fff;
  --light:#F7FAFE;
  --radius:24px;
  --shadow:0 16px 38px rgba(8,71,143,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Cairo",Tahoma,Arial,sans-serif;color:var(--title-blue);background:#fff;line-height:1.65}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(8,71,143,.08)}
.header-inner{height:76px;display:flex;align-items:center;gap:26px;direction:rtl}
.brand{margin-left:auto}
.brand img{width:142px;height:auto}
.main-nav{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:700;color:var(--title-blue)}
.main-nav a{position:relative}
.main-nav a::after{content:"";position:absolute;right:0;left:100%;bottom:-6px;height:2px;background:var(--brand-red);transition:.25s}
.main-nav a:hover::after{left:0}
.header-actions{display:flex;align-items:center;gap:10px}
.lang-btn{border:1px solid #D5E2F3;background:#fff;color:var(--title-blue);border-radius:8px;padding:7px 10px;cursor:pointer;font-weight:800;min-width:42px}
.menu-toggle{display:none;border:0;background:transparent;font-size:28px;color:var(--title-blue)}

.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:13px 28px;font-weight:800;transition:.25s;border:none;cursor:pointer}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--section-blue);color:#fff;box-shadow:0 8px 18px rgba(5,135,184,.22)}
.btn-secondary{background:var(--brand-red);color:#fff;box-shadow:0 9px 22px rgba(147,39,39,.18)}
.btn-small{padding:9px 18px;font-size:14px}

.hero{overflow:hidden;background:#fff}
.hero-slider{position:relative;min-height:650px}
.hero-slide{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;opacity:0;visibility:hidden;transition:opacity .55s ease,transform .55s ease;transform:translateX(-10px);direction:ltr}
.hero-slide.is-active{opacity:1;visibility:visible;transform:none;position:relative}
.hero-visual{min-height:650px;background-size:cover;background-repeat:no-repeat;position:relative}
.parent-visual{
  background-position:0% center;
}

.teacher-visual{
  background-position:0% 15%;
 
}
.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:right;padding:48px 7vw 50px 5vw;background:linear-gradient(135deg,#fffaf4 0%,#fff 100%);direction:rtl}
.hero-copy h1{font-size:clamp(42px,4.2vw,72px);line-height:1.24;margin:0 0 24px;color:var(--title-blue);font-weight:900}
.hero-copy h1 span{color:var(--brand-red)}
.hero-copy p{max-width:640px;font-size:clamp(18px,1.6vw,26px);color:var(--subtitle-gray);margin:0 0 34px}
.hero-slide[data-slide="1"] .hero-copy p{max-width:560px}
.hero-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:5}
.slider-dot{width:11px;height:11px;border-radius:50%;border:0;background:#c9d7eb;cursor:pointer}
.slider-dot.is-active{width:30px;border-radius:99px;background:var(--brand-red)}
/* hide floating cards visually without moving the approved hero composition */

.section{padding:92px 0}
.section-heading{margin-bottom:48px}
.section-heading.centered{text-align:center}
.section-heading h2{font-size:clamp(30px,3vw,48px);margin:0 0 12px;color:var(--title-blue);font-weight:900}
.section-heading p{margin:0 auto;max-width:780px;color:var(--subtitle-gray);font-size:18px}
.light-heading h2,.light-heading p{color:#fff}
.compact-heading{margin-bottom:28px}
.lead{font-size:19px;color:var(--subtitle-gray);margin-top:0}

.why-section{background:var(--section-blue);position:relative;overflow:hidden;margin-top: 40px}
.why-section::before,.why-section::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.16)}
.why-section::before{width:180px;height:180px;left:-60px;top:40px}
.why-section::after{width:140px;height:140px;right:-40px;bottom:40px;background:rgba(255,255,255,.14)}
.why-section .section-heading h2,.why-section .section-heading p,.why-section .section-heading h2 span{color:#fff}
.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;direction:ltr}
.pillar-card{border:1px solid rgba(13,43,104,.08);border-radius:20px;padding:28px 30px 32px;text-align:center;box-shadow:0 8px 24px rgba(13,43,104,.08);min-height:390px;direction:rtl}
.tone-cream{background:#FFF8ED}
.tone-pink{background:#FFF2F3}
.tone-blue{background:#F1F7FF}
.pillar-card img{width:135px;height:135px;object-fit:cover;margin:0 auto 20px;border-radius:18px}
.pillar-card h3{font-size:22px;margin:0 0 14px}
.pillar-card p{font-size:15px;color:#53647F;margin:0}

.levels-section{background:#fff;position:relative;overflow:hidden}
.levels-section::before{content:"";position:absolute;left:-80px;top:-60px;width:220px;height:220px;border-radius:50%;background:#E7F1FF}
.levels-section::after{content:"";position:absolute;right:-60px;bottom:-70px;width:210px;height:210px;border-radius:50%;background:#FFE4E6}
.levels-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;direction:ltr;align-items:stretch}
.level-card{background:#fff;border-radius:24px;border:1px solid rgba(8,71,143,.10);box-shadow:0 10px 26px rgba(8,71,143,.08);padding:28px 22px 18px;display:grid;grid-template-columns:1fr 185px;grid-template-rows:auto auto;gap:12px 18px;align-items:end;overflow:hidden}
.level-seven{background:#F2F8F4}
.level-eight{background:#FFF3F4}
.level-nine{background:#F3F7FF}
.level-card-copy{grid-column:1;grid-row:1;direction:rtl;text-align:right;align-self:start;padding-top:12px}
.level-card-copy h3{margin:0 0 14px;line-height:.95;font-weight:900}
.level-word{display:block;font-size:32px;color:var(--title-blue)}
.level-year{display:block;font-size:58px;color:var(--title-blue)}
.level-eight .level-word,.level-eight .level-year{color:#E14F69}
.level-seven .level-word,.level-seven .level-year{color:#3E9C52}
.level-card-copy p{margin:0;color:var(--subtitle-gray);font-size:18px;line-height:1.75;max-width:260px}
.level-card-visual{grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:flex-end}
.level-card-visual img{width:100%;max-width:190px;max-height:300px;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(8,71,143,.10))}
.subjects-icons{grid-column:1 / -1;grid-row:2;border-top:1px solid rgba(8,71,143,.10);padding-top:12px;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;align-items:start}
.subject-item{text-align:center;direction:rtl}
.subject-item img{width:29px;height:29px;object-fit:contain;margin:0 auto 6px}
.subject-item span{display:block;font-size:13px;color:var(--subtitle-gray);line-height:1.25}

.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;direction:ltr}
.platform-section{background:#EEF4FF}
.platform-image img{width:100%;max-width:710px;filter:drop-shadow(0 20px 40px rgba(13,43,104,.12));margin-inline:auto}
.platform-copy,.diagnostic-copy,.soft-copy,.faq-content{direction:rtl;text-align:right}
.platform-copy h2,.diagnostic-copy h2,.soft-copy h2,.faq-content h2{font-size:clamp(32px,3vw,50px);color:var(--title-blue);margin:0 0 12px}
.feature-list{list-style:none;padding:0;margin:30px 0 0;display:grid;gap:18px}
.feature-item{display:grid;grid-template-columns:1fr 58px;gap:18px;align-items:center;padding:8px 0;border-bottom:1px solid #E1EAF7}
.feature-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:28px;font-weight:900;color:#fff}
.feature-item.videos .feature-icon{background:#3566E6}
.feature-item.quiz .feature-icon{background:#46B56F}
.feature-item.live .feature-icon{background:#F05757}
.feature-item.report .feature-icon{background:#8B69E9}
.feature-text strong{display:block;font-size:18px;color:#1D315D}
.feature-text span{display:block;font-size:15px;color:#75829A}

.diagnostic-section{background:#FBFCFF}
.diagnostic-layout{grid-template-columns:1.04fr .96fr}
.diagnostic-image img{max-width:520px;margin:auto}
.check-list{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}
.check-list li{position:relative;padding:10px 34px 10px 10px;color:#294064;font-size:17px}
.check-list li::before{content:"✓";position:absolute;right:0;color:#1470D8;font-weight:900}

.soft-section{
  background:#fff;
  padding:58px 0 !important;
  overflow:hidden;
}
.soft-layout{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  align-items:center;
  gap:18px;
  direction:ltr;
}
.soft-copy{
  direction:rtl;
  text-align:right;
  width:100%;
  max-width:620px;
  justify-self:end;
  padding:0 !important;
}
.soft-kicker{
  display:inline-block;
  color:var(--brand-red);
  font-weight:800;
  font-size:16px;
  margin-bottom:8px;
}
.soft-copy h2{
  font-size:clamp(34px,3vw,48px);
  line-height:1.3;
  margin:0 0 14px;
  color:var(--title-blue);
}
.soft-copy p{
  font-size:18px;
  color:var(--subtitle-gray);
  margin:0 0 24px;
  max-width:610px;
  line-height:1.9;
}
.soft-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 24px;
  font-weight:800;
  color:#17233B;
  font-size:17px;
}
.soft-image{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
}
.soft-image img{
  width:108%;
  max-width:700px;
  height:auto;
  object-fit:contain;
  margin-left:-20px;
}

/* Ancien CSS des packs supprimé — PACKS V2 utilisé plus bas */

.register-section{background:#fff}
.register-layout{display:grid;grid-template-columns:260px 1fr 260px;gap:32px;align-items:center;direction:ltr}
.register-art{width:100%;max-height:500px;object-fit:contain}
.register-center{max-width:700px;margin:auto;width:100%;direction:rtl}
.register-form{background:#fff;border:1px solid #E7EDF5;box-shadow:0 15px 35px rgba(13,43,104,.12);border-radius:18px;padding:28px 34px}
.form-row{display:grid;grid-template-columns:140px 1fr;gap:16px;align-items:center;margin-bottom:14px}
.form-row label{font-weight:700;color:#243A62}
.form-row input,.form-row select{width:100%;height:48px;border:1px solid #C9D1DB;border-radius:8px;background:#fff;padding:0 14px;color:#25364F;outline:none}
.form-row input:focus,.form-row select:focus{border-color:#1D90C0;box-shadow:0 0 0 3px rgba(29,144,192,.12)}
.form-submit{width:100%;margin-top:10px}
.form-status{text-align:center;margin:12px 0 0;color:#167A4C;min-height:24px}

.faq-section{background:#F8FAFC}
.faq-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:center;direction:ltr}
.faq-image img{max-width:420px;margin:auto}
.accordion details{background:#fff;border:1px solid #E5EBF3;border-radius:12px;margin-bottom:12px;overflow:hidden}
.accordion summary{cursor:pointer;list-style:none;padding:15px 18px;font-weight:700;position:relative}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary::after{content:"+";position:absolute;left:18px;font-size:22px;color:#233B69}
.accordion details[open] summary::after{content:"−"}
.accordion p{margin:0;padding:0 18px 16px;color:#66758E}

.final-cta{background:#fff;padding:70px 0 78px;color:var(--title-blue)}
.final-cta-inner{background:linear-gradient(135deg,#F4F9FF 0%,#FFF8F2 100%);border:1px solid rgba(8,71,143,.10);border-radius:28px;padding:42px 52px;box-shadow:0 14px 34px rgba(8,71,143,.08);display:flex;align-items:center;justify-content:space-between;gap:36px;position:relative;overflow:hidden}
.final-cta-inner::before{content:"";position:absolute;width:150px;height:150px;border-radius:50%;background:rgba(5,135,184,.12);right:-50px;top:-55px}
.final-cta-inner::after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;background:rgba(147,39,39,.08);left:-35px;bottom:-45px}
.final-cta-copy{position:relative;z-index:1}
.final-cta-kicker{display:inline-block;color:var(--brand-red);font-weight:800;margin-bottom:5px}
.final-cta h2{color:var(--title-blue);font-size:38px;margin:0 0 8px}
.final-cta p{color:var(--subtitle-gray);margin:0;font-size:17px}
.final-cta .btn{position:relative;z-index:1;min-width:160px}

.site-footer{background:var(--title-blue);color:#fff;padding-top:48px;border-top:6px solid #fff}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:40px;padding-bottom:40px}
.footer-brand img{width:160px;margin-bottom:14px}
.footer-brand p{color:#C8D3E8;max-width:330px}
.footer-grid h3{margin-top:0;font-size:18px}
.footer-grid a{display:block;color:#CCD6E9;margin:8px 0;font-size:14px;transition:.2s}
.footer-grid a:hover{color:#fff;transform:translateX(-3px)}
.footer-bottom{text-align:center;border-top:1px solid rgba(255,255,255,.12);padding:18px;color:#B7C4DD;font-size:13px}

html[dir="ltr"] body{text-align:left}
html[dir="ltr"] .header-inner{direction:ltr}
html[dir="ltr"] .brand{margin-left:0;margin-right:auto}
html[dir="ltr"] .main-nav{direction:ltr}
html[dir="ltr"] .hero-copy,
html[dir="ltr"] .pillar-card,
html[dir="ltr"] .level-card-copy,
html[dir="ltr"] .platform-copy,
html[dir="ltr"] .diagnostic-copy,
html[dir="ltr"] .soft-copy,
html[dir="ltr"] .register-center,
html[dir="ltr"] .faq-content{direction:ltr;text-align:left}
html[dir="ltr"] .feature-item{grid-template-columns:58px 1fr}
html[dir="ltr"] .check-list li{padding:10px 10px 10px 34px}
html[dir="ltr"] .check-list li::before{left:0;right:auto}
html[dir="ltr"] .accordion summary::after{right:18px;left:auto}
html[dir="ltr"] .form-row{direction:ltr}
html[dir="ltr"] .footer-grid a:hover{transform:translateX(3px)}

@media(max-width:1100px){
  .main-nav{gap:14px;font-size:13px}
  .hero-copy{padding-inline:38px}
  .pillar-grid{gap:18px}
  .level-card{grid-template-columns:1fr 155px}
  .level-year{font-size:46px}
  .subjects-icons{grid-template-columns:repeat(3,1fr)}
  .register-layout{grid-template-columns:180px 1fr 180px}
}
@media(max-width:820px){
  .container{width:min(100% - 28px,720px)}
  .main-nav{display:none;position:absolute;top:76px;right:14px;left:14px;background:#fff;box-shadow:0 14px 30px rgba(13,43,104,.13);padding:18px;border-radius:14px;flex-direction:column;align-items:stretch}
  .main-nav.is-open{display:flex}
  .menu-toggle{display:block}
  .header-actions .lang-btn{display:none}
  .hero-slider{min-height:auto}
  .hero-slide{grid-template-columns:1fr;direction:rtl}
  .hero-visual{min-height:420px;background-position:center top}
  .hero-copy{padding:36px 24px 60px;align-items:center;text-align:center}
  .hero-copy h1{font-size:42px}
  .section{padding:68px 0}
  .pillar-grid,.levels-grid,.split-layout,.soft-layout,.faq-layout{grid-template-columns:1fr}
  .pillar-card{min-height:auto}
  .split-layout,.soft-layout,.faq-layout{gap:36px}
  .platform-copy{order:1}.platform-image{order:2}
  .diagnostic-copy{order:1}.diagnostic-image{order:2}
  .soft-copy{order:1;text-align:center;padding-left:0}.soft-image{order:2}
  .soft-list{max-width:520px;margin:auto}
  .register-layout{grid-template-columns:1fr}
  .register-art{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .final-cta-inner{flex-direction:column;text-align:center;padding:34px 26px}
  .faq-content{order:1}.faq-image{order:2}
}
@media(max-width:560px){
  .site-header .brand img{width:120px}
  .header-actions .btn{display:none}
  .hero-visual{min-height:330px}
  .hero-copy h1{font-size:34px}
  .hero-copy p{font-size:16px}
  .pillar-grid{grid-template-columns:1fr}
  .level-card{grid-template-columns:1fr;grid-template-rows:auto auto auto;text-align:center;padding:22px}
  .level-card-copy{text-align:center}
  .level-card-copy p{max-width:none;font-size:16px}
  .level-card-visual{grid-column:1;grid-row:2}.level-card-visual img{max-height:220px;margin-top:8px}
  .subjects-icons{grid-column:1;grid-template-columns:repeat(3,1fr)}
  .form-row{grid-template-columns:1fr;gap:6px}
  .register-form{padding:22px 18px}
  .soft-list{grid-template-columns:1fr;text-align:right}
  .check-list{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .final-cta h2{font-size:30px}
  .main-nav{top:68px}
}

/* ===== v6 — PLATFORM ONLY: keep the approved section position, fix feature row width/wrapping ===== */
.platform-section .feature-list{
  width:100%;
  max-width:none;
}
.platform-section .feature-item{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:18px;
  width:100%;
  padding:14px 0;
  border-bottom:1px solid #E1EAF7;
}
.platform-section .feature-item:last-child{border-bottom:0}
.platform-section .feature-icon{
  flex:0 0 58px;
  width:58px;
  height:58px;
  order:0;
}
.platform-section .feature-text{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  text-align:right;
}
.platform-section .feature-text strong{
  display:block;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  font-size:21px;
  line-height:1.45;
}
.platform-section .feature-text span{
  display:block;
  white-space:normal;
  word-break:normal;
  overflow-wrap:normal;
  margin-top:3px;
  font-size:16px;
  line-height:1.6;
}
/* Arabic: icon stays on the right, text uses the remaining width beside it. */
html[dir="rtl"] .platform-section .feature-item{direction:rtl}
html[dir="rtl"] .platform-section .feature-icon{order:0}
html[dir="rtl"] .platform-section .feature-text{order:1;text-align:right}
/* French: mirror naturally. */
html[dir="ltr"] .platform-section .feature-item{direction:ltr}
html[dir="ltr"] .platform-section .feature-icon{order:0}
html[dir="ltr"] .platform-section .feature-text{order:1;text-align:left}


/* ===== LEVELS REFINEMENT ===== */
.levels-grid{justify-content:center}
.level-card{padding:30px 26px 18px;grid-template-columns:minmax(0,1fr) 168px;gap:16px 18px;align-items:center}
.level-card-copy{padding-top:0;padding-inline:8px 0;display:flex;flex-direction:column;justify-content:center;align-self:center;justify-self:stretch}
.level-card-copy p{max-width:none}
.level-card-visual{justify-content:flex-end;align-self:end}
.level-card-visual img{max-width:172px;max-height:292px}
.subjects-icons{padding-top:14px;padding-inline:8px}

@media(max-width:1100px){
  .level-card{grid-template-columns:minmax(0,1fr) 150px}
  .level-card-visual img{max-width:150px}
}

@media(max-width:767px){
  .level-card{grid-template-columns:1fr;grid-template-rows:auto auto auto;padding:24px 22px}
  .level-card-copy{padding-inline:0;text-align:center}
  .level-card-visual{grid-column:1;grid-row:2;justify-content:center}
  .level-card-visual img{max-width:180px;max-height:240px}
  .subjects-icons{padding-inline:0}
}


/* ===== CORRECTION FINALE NIVEAUX ===== */
.level-card{
  grid-template-columns: minmax(0, 1.25fr) 145px !important;
  padding: 28px 24px 18px !important;
  column-gap: 12px !important;
  overflow: hidden !important;
}
.level-card-copy{
  grid-column: 1 !important;
  grid-row: 1 !important;
  direction: rtl !important;
  text-align: right !important;
  align-self: center !important;
  justify-self: stretch !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}
.level-card-copy h3{margin:0 0 15px !important;padding:0 !important;width:100% !important}
.level-word{display:block !important;font-size:28px !important;line-height:1.1 !important}
.level-year{display:block !important;font-size:46px !important;line-height:1.05 !important;white-space:nowrap !important}
.level-card-copy p{width:100% !important;max-width:220px !important;margin:0 !important;font-size:17px !important;line-height:1.7 !important}
.level-card-visual{grid-column:2 !important;grid-row:1 !important;display:flex !important;justify-content:flex-end !important;align-items:flex-end !important}
.level-card-visual img{width:100% !important;max-width:145px !important;max-height:285px !important;object-fit:contain !important}
.subjects-icons{grid-column:1 / -1 !important;grid-row:2 !important;width:100% !important;padding-inline:0 !important}

/* ===== SOFT SKILLS RESPONSIVE FIX ===== */
@media(max-width:820px){
  .soft-layout{grid-template-columns:1fr !important;gap:30px !important}
  .soft-copy{justify-self:center !important;max-width:650px !important;text-align:center !important}
  .soft-list{max-width:560px;margin:auto;text-align:right}
  .soft-image{justify-content:center !important}
  .soft-image img{width:100% !important;max-width:650px !important;margin:0 !important}
}
@media(max-width:560px){
  .soft-section{padding:48px 0 !important}
  .soft-copy h2{font-size:34px !important}
  .soft-copy p{font-size:17px !important}
  .soft-list{grid-template-columns:1fr !important}
}

/* ===== FULL RESPONSIVE PASS — DESKTOP UNCHANGED ===== */
@media (max-width: 1180px){
  .container{width:min(100% - 32px,1100px)}
  .hero-copy{padding-inline:40px}
  .hero-copy h1{font-size:clamp(38px,4vw,58px)}
  .pillar-grid{gap:22px}
  .levels-grid{gap:22px}
  .split-layout{gap:42px}
  .faq-layout{gap:42px}
  .register-layout{grid-template-columns:150px 1fr 150px}
}

@media (max-width: 960px){
  .site-header{position:sticky}
  .header-inner{height:70px;gap:14px}
  .brand img{width:122px}
  .menu-toggle{display:block;order:3}
  .main-nav{
    display:none;
    position:absolute;
    top:70px;
    right:16px;
    left:16px;
    background:#fff;
    border:1px solid rgba(8,71,143,.08);
    box-shadow:0 18px 40px rgba(8,71,143,.14);
    border-radius:16px;
    padding:18px;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    z-index:120;
  }
  .main-nav.is-open{display:flex}
  .main-nav a{padding:10px 12px;border-radius:10px}
  .main-nav a:hover{background:#F4F8FF}
  .header-actions{margin-inline-start:auto}

  .hero-slider{min-height:auto}
  .hero-slide,
  .hero-slide.is-active{grid-template-columns:1fr;position:relative;inset:auto}
  .hero-visual{min-height:460px;background-size:cover}
  .parent-visual,.teacher-visual{background-position:center top !important}
  .hero-copy{
    min-height:auto;
    padding:42px 28px 64px;
    align-items:center;
    text-align:center;
  }
  .hero-copy h1{font-size:clamp(34px,7vw,50px);max-width:760px}
  .hero-copy p{font-size:18px;max-width:700px}
  .hero-controls{bottom:20px}

  .section{padding:72px 0}
  .pillar-grid{grid-template-columns:1fr 1fr}
  .pillar-card{min-height:auto}

  .levels-grid{grid-template-columns:1fr !important;max-width:720px;margin-inline:auto}
  .level-card{
    grid-template-columns:minmax(0,1fr) 180px !important;
    min-height:360px;
  }
  .level-card-copy p{max-width:420px !important}
  .level-card-visual img{max-width:180px !important}
  .subjects-icons{grid-template-columns:repeat(6,1fr) !important}

  .split-layout,
  .soft-layout,
  .faq-layout{grid-template-columns:1fr !important;gap:36px !important}
  .platform-copy,.diagnostic-copy,.soft-copy,.faq-content{max-width:760px;margin-inline:auto;width:100%}
  .platform-image,.diagnostic-image,.soft-image,.faq-image{display:flex;justify-content:center}
  .platform-image img{max-width:760px}
  .diagnostic-image img{max-width:520px}
  .soft-copy{justify-self:center !important;text-align:center !important}
  .soft-copy p{margin-inline:auto}
  .soft-list{max-width:620px;margin-inline:auto;text-align:right}
  .soft-image img{width:100% !important;max-width:720px !important;margin:0 !important}
  .faq-content{order:1}.faq-image{order:2}


  .register-layout{grid-template-columns:1fr !important}
  .register-art{display:none}
  .register-center{max-width:760px}

  .footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:28px}
  .footer-grid > div:last-child{grid-column:2 / 4}
}

@media (max-width: 680px){
  .container{width:min(100% - 24px,620px)}
  .header-inner{height:66px}
  .brand img{width:112px}
  .header-actions .btn{display:none}
  .lang-btn{padding:6px 9px}
  .main-nav{top:66px}

  .hero-visual{min-height:340px}
  .hero-copy{padding:32px 18px 56px}
  .hero-copy h1{font-size:34px;line-height:1.3;margin-bottom:16px}
  .hero-copy p{font-size:16px;line-height:1.8;margin-bottom:24px}
  .hero-copy .btn{width:100%;max-width:260px}

  .section{padding:54px 0}
  .section-heading{margin-bottom:32px}
  .section-heading h2{font-size:34px}
  .section-heading p{font-size:16px}

  .why-section{margin-top:20px}
  .pillar-grid{grid-template-columns:1fr}
  .pillar-card{padding:24px 20px}

  .level-card{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto auto !important;
    text-align:center;
    padding:24px 18px 16px !important;
    min-height:auto;
  }
  .level-card-copy{
    grid-column:1 !important;
    grid-row:1 !important;
    text-align:center !important;
    direction:rtl !important;
    align-items:center;
  }
  .level-word{font-size:25px !important}
  .level-year{font-size:42px !important}
  .level-card-copy p{max-width:100% !important;font-size:16px !important}
  .level-card-visual{
    grid-column:1 !important;
    grid-row:2 !important;
    justify-content:center !important;
  }
  .level-card-visual img{max-width:180px !important;max-height:240px !important}
  .subjects-icons{
    grid-column:1 !important;
    grid-row:3 !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:12px 8px;
  }
  .subject-item span{font-size:12px}

  .platform-copy h2,.diagnostic-copy h2,.soft-copy h2,.faq-content h2{font-size:34px}
  .feature-item{gap:12px !important;padding:12px 0 !important}
  .feature-icon{flex-basis:50px !important;width:50px !important;height:50px !important;font-size:23px}
  .platform-section .feature-text strong{font-size:18px}
  .platform-section .feature-text span{font-size:14px}

  .check-list{grid-template-columns:1fr}
  .soft-copy{text-align:right !important}
  .soft-kicker{font-size:14px}
  .soft-copy p{font-size:17px}
  .soft-list{grid-template-columns:1fr !important;font-size:16px}


  .register-form{padding:22px 18px}
  .form-row{grid-template-columns:1fr;gap:6px}
  .form-row label{text-align:right}

  .faq-image img{max-width:320px}
  .final-cta{padding:46px 0}
  .final-cta-inner{padding:30px 20px;flex-direction:column;text-align:center}
  .final-cta h2{font-size:30px}
  .final-cta .btn{width:100%;max-width:260px}

  .footer-grid{grid-template-columns:1fr !important;text-align:center}
  .footer-grid > div:last-child{grid-column:auto}
  .footer-brand img{margin-inline:auto}
  .footer-brand p{margin-inline:auto}
}

@media (max-width: 420px){
  .container{width:min(100% - 18px,400px)}
  .hero-visual{min-height:300px}
  .hero-copy h1{font-size:30px}
  .section-heading h2{font-size:30px}
  .platform-copy h2,.diagnostic-copy h2,.soft-copy h2,.faq-content h2{font-size:30px}
  .subjects-icons{grid-template-columns:repeat(2,1fr) !important}
  .btn{padding:12px 18px}
}

/* ===== RESPONSIVE V2 — fixes based on mobile screenshots ===== */
html,body{max-width:100%;overflow-x:hidden}

@media (max-width:960px){
  /* Only the active hero slide must take space on mobile/tablet. */
  .hero-slide{display:none !important;position:absolute !important;inset:0 !important}
  .hero-slide.is-active{display:grid !important;position:relative !important;inset:auto !important}
  .hero-slider{min-height:0 !important}

  /* Prevent any section content from creating horizontal scroll. */
  .section,.hero,.site-header,.site-footer,.final-cta{max-width:100%;overflow-x:hidden}
  .container{max-width:100%}
  .split-layout,.soft-layout,.faq-layout,.levels-grid,.pillar-grid,.register-layout{min-width:0}
  .split-layout > *, .soft-layout > *, .faq-layout > *, .levels-grid > *, .pillar-grid > *{min-width:0;max-width:100%}

  /* Arabic headings/text must stay fully inside viewport. */
  .section-heading,
  .platform-copy,
  .diagnostic-copy,
  .soft-copy,
  .faq-content,
  .level-card-copy{
    width:100% !important;
    max-width:100% !important;
    padding-inline:0 !important;
    margin-inline:auto !important;
  }
  .section-heading h2,
  .platform-copy h2,
  .diagnostic-copy h2,
  .soft-copy h2,
  .faq-content h2,
  .level-card-copy h3,
  .level-year,
  .level-word{
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  /* Diagnostic: keep text comfortably inside screen. */
  .diagnostic-layout{width:100% !important}
  .diagnostic-copy{padding-inline:8px !important}
  .diagnostic-copy .lead{max-width:100% !important}
  .check-list{width:100% !important;max-width:100% !important}
  .check-list li{width:100% !important;max-width:100% !important;padding:10px 34px 10px 4px !important}

  /* Soft skills: no oversized image and no side overflow. */
  .soft-image{width:100% !important;max-width:100% !important;overflow:hidden !important}
  .soft-image img{width:100% !important;max-width:640px !important;height:auto !important;margin:0 auto !important;transform:none !important}

  /* Platform image also stays inside viewport. */
  .platform-image,.diagnostic-image,.faq-image{width:100% !important;max-width:100% !important;overflow:hidden}
  .platform-image img,.diagnostic-image img,.faq-image img{width:auto;max-width:100% !important;height:auto}
}

@media (max-width:680px){
  .container{width:calc(100% - 28px) !important;margin-inline:auto !important}

  /* Header */
  .header-inner{padding-inline:4px}
  .menu-toggle{flex:0 0 auto}
  .brand{flex:0 0 auto}

  /* Hero */
  .hero-slide.is-active{grid-template-columns:1fr !important}
  .hero-visual{width:100% !important;min-height:320px !important;background-size:cover !important}
  .parent-visual,.teacher-visual{background-position:0% top !important}
  .hero-copy{width:100% !important;padding:30px 20px 58px !important}
  .hero-copy h1{font-size:32px !important;line-height:1.35 !important;width:100% !important}
  .hero-copy p{width:100% !important;max-width:100% !important}

  /* Levels */
  .levels-section .section-heading{padding-inline:8px !important}
  .levels-section .section-heading h2{font-size:31px !important;line-height:1.3 !important}
  .levels-grid{width:100% !important;max-width:100% !important}
  .level-card{width:100% !important;max-width:100% !important;margin:0 !important}
  .level-card-copy{padding-inline:8px !important}
  .level-year{font-size:40px !important;line-height:1.1 !important}
  .level-word{font-size:24px !important}

  /* Diagnostic */
  .diagnostic-copy h2{font-size:29px !important;line-height:1.45 !important}
  .diagnostic-copy .lead{font-size:16px !important;line-height:1.85 !important}
  .check-list li{font-size:16px !important;line-height:1.65 !important}

  /* Soft Skills */
  .soft-copy{padding-inline:6px !important;text-align:right !important}
  .soft-copy h2{font-size:30px !important;line-height:1.35 !important}
  .soft-copy p{font-size:16px !important;line-height:1.9 !important}
  .soft-list{width:100% !important;max-width:100% !important;gap:14px !important}
  .soft-image img{max-width:100% !important}
}

@media (max-width:420px){
  .container{width:calc(100% - 20px) !important}
  .hero-visual{min-height:285px !important}
  .hero-copy h1{font-size:29px !important}
  .levels-section .section-heading h2{font-size:29px !important}
  .diagnostic-copy h2,.soft-copy h2{font-size:28px !important}
}

/* ===== RESPONSIVE V3 — requested mobile ordering only ===== */
@media (max-width: 960px){
  /* Levels: keep decorative ellipse behind the heading/content. */
  .levels-section::before,
  .levels-section::after{
    z-index:0 !important;
    pointer-events:none !important;
  }
  .levels-section > .container{
    position:relative !important;
    z-index:1 !important;
  }
  .levels-section .section-heading{
    position:relative !important;
    z-index:2 !important;
    width:100% !important;
    max-width:100% !important;
    margin-inline:auto !important;
    text-align:center !important;
  }
  .levels-section .section-heading h2,
  .levels-section .section-heading p{
    position:relative !important;
    z-index:2 !important;
    width:100% !important;
    max-width:100% !important;
    margin-inline:auto !important;
  }

  /* Requested mobile order: image first, text second. */
  .platform-section .split-layout,
  .diagnostic-section .diagnostic-layout,
  .soft-section .soft-layout{
    display:flex !important;
    flex-direction:column !important;
  }

  .platform-section .platform-image{order:1 !important;}
  .platform-section .platform-copy{order:2 !important;}

  .diagnostic-section .diagnostic-image{order:1 !important;}
  .diagnostic-section .diagnostic-copy{order:2 !important;}

  .soft-section .soft-image{order:1 !important;}
  .soft-section .soft-copy{order:2 !important;}
}

@media (max-width: 680px){
  .levels-section .section-heading{
    padding-inline:16px !important;
    overflow:visible !important;
  }
  .levels-section .section-heading h2{
    white-space:normal !important;
    overflow:visible !important;
  }

  .platform-section .split-layout,
  .diagnostic-section .diagnostic-layout,
  .soft-section .soft-layout{
    gap:24px !important;
  }
}

/* ===== RESPONSIVE V4 — mobile header + section ordering ===== */
@media (max-width: 960px){
  /* Header: keep hamburger + language + registration visible and practical */
  .site-header{overflow:visible !important}
  .header-inner{
    height:72px !important;
    padding-inline:12px !important;
    gap:10px !important;
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    align-items:center !important;
    direction:ltr !important;
  }
  .menu-toggle{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;
    height:42px !important;
    padding:0 !important;
    border-radius:10px !important;
    grid-column:1 !important;
    grid-row:1 !important;
  }
  .brand{
    margin:0 !important;
    justify-self:center !important;
    grid-column:2 !important;
    grid-row:1 !important;
  }
  .brand img{width:118px !important;max-height:48px !important;object-fit:contain !important}
  .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:6px !important;
    grid-column:3 !important;
    grid-row:1 !important;
    direction:ltr !important;
  }
  .header-actions .lang-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:38px !important;
    height:38px !important;
    padding:0 8px !important;
    border-radius:9px !important;
    font-size:13px !important;
  }
  .header-actions .btn-small{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:auto !important;
    height:38px !important;
    padding:0 11px !important;
    border-radius:9px !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }
  .main-nav{
    top:72px !important;
    right:12px !important;
    left:12px !important;
    z-index:120 !important;
  }

  /* Levels ellipse stays behind, text stays fully visible above it */
  .levels-section{isolation:isolate !important}
  .levels-section::before{
    z-index:-1 !important;
    left:-115px !important;
    top:-35px !important;
    opacity:.8 !important;
  }
  .levels-section::after{z-index:-1 !important}
  .levels-section > .container{position:relative !important;z-index:2 !important}
  .levels-section .section-heading{
    position:relative !important;
    z-index:3 !important;
    padding-inline:28px !important;
    overflow:visible !important;
  }
  .levels-section .section-heading h2,
  .levels-section .section-heading p{
    width:100% !important;
    max-width:100% !important;
    text-align:center !important;
    overflow:visible !important;
  }

  /* PLATFORM: title + subtitle -> image -> information */
  .platform-section .split-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:20px !important;
  }
  .platform-section .platform-copy{display:contents !important}
  .platform-section .platform-copy h2{
    grid-row:1 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .platform-section .platform-copy > .lead{
    grid-row:2 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .platform-section .platform-image{
    grid-row:3 !important;
    margin:8px auto 4px !important;
  }
  .platform-section .feature-list{
    grid-row:4 !important;
    margin-top:4px !important;
  }

  /* DIAGNOSTIC: title + subtitle -> image -> checklist */
  .diagnostic-section .diagnostic-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:20px !important;
  }
  .diagnostic-section .diagnostic-copy{display:contents !important}
  .diagnostic-section .diagnostic-copy h2{
    grid-row:1 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .diagnostic-section .diagnostic-copy > .lead{
    grid-row:2 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .diagnostic-section .diagnostic-image{
    grid-row:3 !important;
    margin:6px auto !important;
  }
  .diagnostic-section .check-list{
    grid-row:4 !important;
    margin-top:4px !important;
  }

  /* SOFT SKILLS: kicker + title + subtitle -> image -> benefits */
  .soft-section .soft-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .soft-section .soft-copy{display:contents !important}
  .soft-section .soft-kicker{
    grid-row:1 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .soft-section .soft-copy h2{
    grid-row:2 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .soft-section .soft-copy > p{
    grid-row:3 !important;
    text-align:center !important;
    margin:0 !important;
    max-width:100% !important;
  }
  .soft-section .soft-image{
    grid-row:4 !important;
    margin:8px auto 0 !important;
  }
  .soft-section .soft-list{
    grid-row:5 !important;
    margin-top:6px !important;
  }

  /* FAQ: title -> image -> accordion */
  .faq-section .faq-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:20px !important;
  }
  .faq-section .faq-content{display:contents !important}
  .faq-section .faq-content h2{
    grid-row:1 !important;
    text-align:center !important;
    margin:0 !important;
  }
  .faq-section .faq-image{
    grid-row:2 !important;
    margin:6px auto 4px !important;
  }
  .faq-section .accordion{
    grid-row:3 !important;
    width:100% !important;
  }
}

@media (max-width: 560px){
  .header-inner{grid-template-columns:42px 1fr auto !important;padding-inline:8px !important;gap:6px !important}
  .brand img{width:104px !important}
  .header-actions{gap:4px !important}
  .header-actions .lang-btn{min-width:34px !important;height:34px !important;font-size:12px !important;padding:0 6px !important}
  .header-actions .btn-small{height:34px !important;padding:0 8px !important;font-size:11px !important}
  .menu-toggle{width:38px !important;height:38px !important;font-size:25px !important}
  .main-nav{top:72px !important}

  .platform-section .platform-copy h2,
  .diagnostic-section .diagnostic-copy h2,
  .soft-section .soft-copy h2,
  .faq-section .faq-content h2{font-size:29px !important;line-height:1.4 !important}

  .platform-section .platform-copy > .lead,
  .diagnostic-section .diagnostic-copy > .lead,
  .soft-section .soft-copy > p{font-size:16px !important;line-height:1.8 !important}

  .faq-image img{max-width:285px !important}
}

@media (max-width: 400px){
  .header-actions .btn-small{padding:0 7px !important;font-size:10.5px !important}
  .brand img{width:96px !important}
  .levels-section .section-heading{padding-inline:20px !important}
}

.footer-contact-ltr {
  direction: ltr;
  unicode-bidi: embed;
  display: block;
}

.footer-address {
  direction: ltr;
  unicode-bidi: embed;
  line-height: 1.8;
}

/* Arabe */
html[dir="rtl"] .footer-help-block {
  text-align: right;
}

html[dir="rtl"] .footer-contact-ltr,
html[dir="rtl"] .footer-address {
  text-align: right;
}

/* Français */
html[dir="ltr"] .footer-help-block {
  text-align: left;
}

html[dir="ltr"] .footer-contact-ltr,
html[dir="ltr"] .footer-address {
  text-align: left;
}

/* =========================================================
   PACKS V2 — FINAL CLEAN
========================================================= */

.packs-v2 {
  direction: rtl;
  padding: 58px 0 72px;
  background:
    radial-gradient(circle at 15% 20%, rgba(5,135,184,.06), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(147,39,39,.035), transparent 28%),
    #fff;
}

.packs-v2 * {
  box-sizing: border-box;
}

.packs-v2 .container {
  width: min(1650px, calc(100% - 56px));
  margin: 0 auto;
}


/* =========================================================
   TITRE
========================================================= */

.packs-v2-head {
  text-align: center;
  margin-bottom: 44px;
}

.packs-v2-head h2 {
  margin: 0;
  color: #08478F;
  font-size: clamp(38px, 3.4vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

.packs-v2-head p {
  margin: 12px 0 0;
  color: #343b46;
  font-size: 21px;
  line-height: 1.5;
}

.packs-v2-head p strong {
  margin: 0 7px;
  color: #08478F;
}


/* =========================================================
   GRID — TOUTES LES CARTES MÊME HAUTEUR
========================================================= */

.packs-v2-grid {
  display: grid;

  grid-template-columns:
    minmax(250px, .92fr)
    minmax(270px, .98fr)
    minmax(500px, 1.7fr)
    minmax(250px, .92fr);

  gap: 28px;

  /* IMPORTANT : même hauteur que la plus grande carte */
  align-items: stretch;
}


/* =========================================================
   CARTES
========================================================= */

.packs-v2-card {
  position: relative;
  min-width: 0;

  background: #fff;

  border: 1px solid #e1eaf5;
  border-radius: 22px;

  box-shadow: 0 15px 35px rgba(8,71,143,.11);

  overflow: visible;

  display: flex;
  flex-direction: column;

  height: 100%;
}


/* =========================================================
   BADGES
========================================================= */

.packs-v2-badge {
  position: absolute;
  z-index: 10;

  top: -22px;
  left: 50%;
  transform: translateX(-50%);

  height: 42px;
  min-width: 124px;
  padding: 0 17px;

  border-radius: 28px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #fff;

  font-size: 19px;
  font-weight: 900;

  white-space: nowrap;

  box-shadow: 0 7px 16px rgba(0,0,0,.12);
}

.packs-v2-badge.blue {
  background: linear-gradient(135deg,#08478F,#0561bb);
}

.packs-v2-badge.red {
  background: linear-gradient(135deg,#932727,#d21515);
}

.packs-v2-badge span {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;

  border-radius: 50%;

  background: #fff;

  display: grid;
  place-items: center;

  font-size: 13px;
}


/* =========================================================
   IMAGES
========================================================= */

.packs-v2-image {
  width: 100%;
  overflow: hidden;
}

.packs-v2-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}


/* =========================================================
   MENSUEL
========================================================= */

.monthly-card {
  padding: 48px 15px 18px;
}

.monthly-levels {
  display: none;
}

.monthly-image {
  height: 245px;
  flex: 0 0 245px;

  border-radius: 15px 15px 0 0;
}

.monthly-offers {
  display: flex;
  flex-direction: column;

  flex: 1;

  background: #fff;
}


/* chaque sous-pack prend la moitié de l'espace disponible */
.monthly-offer {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 15px 16px 14px;

  border-radius: 16px;

  background: linear-gradient(135deg,#fff,#fff8f5);
}

/* TITRE + ICONE */
/* ===== MENSUEL : titre + description bien empilés ===== */

.offer-title-line {
  width: 100%;

  display: grid !important;
  grid-template-columns: minmax(0,1fr) 43px !important;
  grid-template-areas:
    "title icon"
    "note note" !important;

  align-items: center;
  column-gap: 10px;
  row-gap: 5px;

  direction: ltr;
}

.offer-title-line h3 {
  grid-area: title;

  margin: 0 !important;
  min-width: 0;

  direction: rtl;
  text-align: right;

  color: #08478F;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 900;

  white-space: normal !important;
}

.offer-icon {
  grid-area: icon;

  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  border: 1px solid #b8d5f5;

  background: #fff;
  color: #0758b3;

  font-size: 19px;
}

.monthly-note {
  grid-area: note;

  width: 100%;
  margin: 2px 0 4px !important;

  direction: rtl;
  text-align: center !important;

  color: #667795;
  font-size: 13.5px;
  line-height: 1.6;

  white-space: normal !important;
}

/* PRIX */

.offer-price {
  margin: 8px 0 10px;

  display: flex;
  align-items: baseline;
  justify-content: center;

  gap: 7px;
}

.offer-price strong {
  color: #a51f1f;

  font-size: 37px;
  line-height: 1;

  font-weight: 900;
}

.offer-price span {
  color: #161b25;

  font-size: 14px;
  font-weight: 800;

  white-space: nowrap;
}


/* séparateur */

.monthly-divider {
  height: 1px;

  flex: 0 0 1px;

  margin: 6px 13px;

  background: #d8e4f3;
}


/* =========================================================
   TRIMESTRIEL
========================================================= */

.quarterly-card {
  padding: 48px 14px 18px;
}

.quarterly-image {
  height: 215px;
  flex: 0 0 215px;

  border-radius: 14px;
}

.quarterly-content {
  padding: 19px 18px 0;

  display: flex;
  flex-direction: column;

  flex: 1;
}

.quarterly-content h3 {
  margin: 0 0 16px;

  text-align: center;

  color: #08478F;

  font-size: 25px;
  line-height: 1.4;

  font-weight: 900;
}

.pack-features {
  list-style: none;

  padding: 0;
  margin: 0 0 14px;
}

.pack-features li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;

  gap: 8px;

  margin: 8px 0;

  color: #242b36;

  font-size: 14px;
  line-height: 1.55;
}

.pack-features .check {
  width: 19px;
  height: 19px;

  flex: 0 0 19px;

  display: grid;
  place-items: center;

  border: 2px solid #df2424;
  border-radius: 50%;

  color: #df2424;

  font-size: 11px;
  font-weight: 900;
}

.quarterly-price {
  min-height: 64px;

  margin: auto 0 14px;

  border-radius: 13px;

  background: #fff4f2;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;
}

.quarterly-price strong {
  color: #aa2020;

  font-size: 39px;
  line-height: 1;

  font-weight: 900;
}

.quarterly-price span {
  color: #151922;

  font-size: 15px;
  font-weight: 800;
}


/* =========================================================
   ANNUEL — OFFRE STAR
========================================================= */

.annual-card {
  padding: 42px 13px 14px;

  border: 2px solid #0759d2;

  box-shadow:
    0 16px 40px rgba(5,89,210,.16);
}

.annual-badge {
  min-width: 132px;
}


/* meilleur rapport */

.annual-best {
  position: absolute;
  z-index: 11;

  top: -25px;
  right: 20px;

  min-width: 130px;
  min-height: 44px;

  padding: 0 15px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  color: #17233a;

  font-size: 16px;
  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      #ffdc62,
      #ffb71c
    );

  border-radius: 11px;

  box-shadow:
    0 8px 20px rgba(162,111,0,.21);
}

.annual-best strong {
  color: #fff;
  font-size: 18px;
}


/* image */

.annual-image {
  height: 275px;
  flex: 0 0 275px;

  border-radius: 14px 14px 0 0;
}


/* avantages */

.annual-benefits {
  padding: 15px 20px 8px;
}

.annual-benefit {
  display: flex;
  flex-direction: row;
  align-items: center;

  gap: 10px;

  margin: 7px 0;

  color: #1f2530;

  font-size: 15px;
  line-height: 1.5;
}

.annual-benefit-icon {
  width: 26px;

  flex: 0 0 26px;

  text-align: center;

  color: #0759d2;

  font-size: 21px;
  font-weight: 900;
}


/* mini cartes 7 / 8 / 9 */

.annual-plans {
  direction: ltr;

  display: grid;
  grid-template-columns: repeat(3,1fr);

  gap: 7px;

  padding: 4px 0 0;

  margin-top: auto;
}

.annual-plan {
  direction: rtl;

  padding: 14px 9px 11px;

  border: 1px solid #d9e4f3;
  border-radius: 12px;

  background: #fff;

  text-align: center;
}

.annual-plan.featured {
  background: linear-gradient(180deg,#fff7f7,#fff);

  border-color: #f0caca;
}

.annual-plan h4 {
  margin: 0 0 5px;

  color: #08478F;

  font-size: 16px;
  line-height: 1.35;

  font-weight: 900;
}

.annual-plan.featured h4 {
  color: #bf2222;
}


/* icone */

.graduation-icon {
  margin: 2px 0 5px;

  color: #0759d2;

  font-size: 22px;
}

.annual-plan.featured .graduation-icon {
  color: #d31515;
}


/* prix */

.annual-price {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 8px;
}

.annual-price strong {
  color: #b01e1e;

  font-size: 38px;
  line-height: 1;

  font-weight: 900;
}

.annual-price span {
  margin-top: 4px;

  color: #20242b;

  font-size: 12px;
}


/* =========================================================
   SOFT SKILLS
========================================================= */

.soft-card {
  padding: 48px 15px 18px;
}

.soft-badge {
  min-width: 185px;
  font-size: 17px;
}

.soft-image {
  height: 260px;
  flex: 0 0 260px;

  border-radius: 14px 14px 0 0;
}

.soft-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  flex: 1;

  padding: 25px 15px 14px;

  text-align: center;
}

.soft-icon {
  color: #0759d2;

  font-size: 32px;
  line-height: 1;
}

.soft-content h3 {
  direction: ltr;

  margin: 8px 0 14px;

  color: #08478F;

  font-size: 27px;
  line-height: 1.1;
}

.soft-desc {
  width: 100%;
  max-width: 285px;

  margin: 0 auto 18px;

  color: #667795;

  font-size: 14px;
  line-height: 1.85;

  text-align: center;
}

.soft-price {
  width: 100%;
  min-height: 64px;

  margin: auto 0 12px;

  border-radius: 13px;

  background: #fff4f2;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;
}

.soft-price strong {
  color: #ad2020;

  font-size: 39px;
  line-height: 1;

  font-weight: 900;
}

.soft-price span {
  color: #ad2020;

  font-size: 15px;
  font-weight: 900;
}


/* =========================================================
   BOUTONS
========================================================= */

.pack-reserve {
  width: 100%;

  min-height: 43px;

  border-radius: 9px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  color: #fff !important;

  font-size: 15px;
  font-weight: 900;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.pack-reserve:hover {
  transform: translateY(-2px);
}

.red-btn {
  background:
    linear-gradient(
      135deg,
      #c91b1b,
      #a92323
    );

  box-shadow:
    0 6px 14px rgba(169,35,35,.14);
}

.blue-btn {
  background:
    linear-gradient(
      135deg,
      #075ec2,
      #08478F
    );

  box-shadow:
    0 6px 14px rgba(8,71,143,.16);
}

.pack-reserve.large {
  width: 100%;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1350px) {

  .packs-v2 .container {
    width: min(1150px,calc(100% - 40px));
  }

  .packs-v2-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap: 46px 24px;
  }

  .annual-card {
    grid-column: span 2;
  }

  .annual-image {
    height: 325px;
    flex-basis: 325px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:780px) {

  .packs-v2 {
    padding: 52px 0 60px;
  }

  .packs-v2 .container {
    width: min(calc(100% - 26px),600px);
  }

  .packs-v2-head {
    margin-bottom: 46px;
  }

  .packs-v2-head h2 {
    font-size: 36px;
  }

  .packs-v2-head p {
    font-size: 18px;
  }


  .packs-v2-grid {
    display: flex;
    flex-direction: column;

    gap: 50px;
  }


  /* Sur mobile, chaque carte reprend sa hauteur naturelle */

  .packs-v2-card {
    height: auto;
  }


  .packs-v2-badge {
    height: 44px;

    font-size: 18px;
  }


  .monthly-image,
  .quarterly-image,
  .soft-image {
    height: auto;
    flex-basis: auto;

    aspect-ratio: 16 / 10;
  }

  .annual-image {
    height: auto;
    flex-basis: auto;

    aspect-ratio: 16 / 9;
  }


  /* ANNUEL */

  .annual-best {
    top: 18px;
    right: 9px;

    min-height: 40px;

    font-size: 14px;
  }

  .annual-benefits {
    padding: 15px 10px 10px;
  }

  .annual-benefit {
    font-size: 14px;
  }

  .annual-plans {
    grid-template-columns: repeat(3,1fr);

    gap: 6px;
  }

  .annual-plan {
    padding: 10px 4px 8px;
  }

  .annual-plan h4 {
    font-size: 13px;
  }

  .annual-price strong {
    font-size: 29px;
  }

  .annual-price span {
    font-size: 10px;
  }

  .annual-plan .pack-reserve {
    min-height: 38px;

    font-size: 12px;
  }


  /* SOFT */

  .soft-content {
    padding: 20px 14px 14px;
  }

  .soft-price {
    margin-top: 24px;
  }

}


/* =========================================================
   PETITS MOBILES
========================================================= */

@media (max-width:460px) {

  .packs-v2-head h2 {
    font-size: 31px;
  }

  .packs-v2-head p {
    font-size: 16px;
  }

  .annual-plans {
    gap: 4px;
  }

  .annual-plan h4 {
    font-size: 11px;
  }

  .annual-price strong {
    font-size: 25px;
  }

  .annual-plan .pack-reserve {
    font-size: 10.5px;

    padding: 0 3px;
  }

}}
/* ===== PACKS FR : icônes à gauche du texte ===== */

html[dir="ltr"] .pack-features li {
  flex-direction: row-reverse;
  text-align: left;
  justify-content: flex-end;
}

html[dir="ltr"] .annual-benefit {
  flex-direction: row-reverse;
  text-align: left;
  justify-content: flex-end;
}
html[dir="ltr"] .pack-features li,
html[dir="ltr"] .annual-benefit {
  direction: ltr;
}

html[dir="ltr"] .pack-features li > *:not(.check),
html[dir="ltr"] .annual-benefit > *:not(.annual-benefit-icon) {
  text-align: left;
}

/* =========================================================
   PACKS FR — ICONES TOUJOURS A GAUCHE
========================================================= */

/* ===== MENSUEL ===== */

html[dir="ltr"] .offer-title-line {
  direction: ltr !important;

  grid-template-columns: 43px minmax(0, 1fr) !important;

  grid-template-areas:
    "icon title"
    "note note" !important;
}

html[dir="ltr"] .offer-title-line .offer-icon {
  grid-area: icon !important;
}

html[dir="ltr"] .offer-title-line h3 {
  grid-area: title !important;

  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .monthly-note {
  grid-area: note !important;

  direction: ltr !important;
  text-align: left !important;
}


/* ===== TRIMESTRIEL ===== */

html[dir="ltr"] .quarterly-card .pack-features li {
  direction: ltr !important;

  display: flex !important;
  flex-direction: row !important;

  align-items: flex-start !important;
  justify-content: flex-start !important;

  text-align: left !important;

  gap: 9px !important;
}

html[dir="ltr"] .quarterly-card .pack-features .check {
  order: 0 !important;
  flex: 0 0 19px !important;
}

html[dir="ltr"] .quarterly-card .pack-features li > span:not(.check) {
  order: 1 !important;
  flex: 1 !important;

  direction: ltr !important;
  text-align: left !important;
}


/* ===== ANNUEL ===== */

html[dir="ltr"] .annual-benefit {
  direction: ltr !important;

  display: flex !important;
  flex-direction: row !important;

  align-items: center !important;
  justify-content: flex-start !important;

  text-align: left !important;

  gap: 10px !important;
}

html[dir="ltr"] .annual-benefit-icon {
  order: 0 !important;
  flex: 0 0 26px !important;
}

html[dir="ltr"] .annual-benefit > span:not(.annual-benefit-icon) {
  order: 1 !important;
  flex: 1 !important;

  direction: ltr !important;
  text-align: left !important;
} 
/* =========================================================
   PRIX FR — unité à droite du prix
========================================================= */

html[dir="ltr"] .offer-price {
  direction: ltr !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: baseline !important;
}

html[dir="ltr"] .offer-price strong {
  order: 0 !important;
}

html[dir="ltr"] .offer-price span {
  order: 1 !important;
  margin-left: 6px !important;
}


/* Soft Skills */

html[dir="ltr"] .soft-price {
  direction: ltr !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: baseline !important;
}

html[dir="ltr"] .soft-price strong {
  order: 0 !important;
}

html[dir="ltr"] .soft-price span {
  order: 1 !important;
  margin-left: 6px !important;
}
/* Trimestriel FR : prix + unité dans le bon ordre */

html[dir="ltr"] .quarterly-price {
  direction: ltr !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: baseline !important;
}

html[dir="ltr"] .quarterly-price strong {
  order: 0 !important;
}

html[dir="ltr"] .quarterly-price span {
  order: 1 !important;
  margin-left: 6px !important;
}
/* =========================================================
   MOBILE — ORDRE DES NIVEAUX 7 → 8 → 9
========================================================= */

@media (max-width: 960px) {

  .levels-grid {
    direction: rtl !important;
  }

  .levels-grid .level-seven {
    order: 1 !important;
  }

  .levels-grid .level-eight {
    order: 2 !important;
  }

  .levels-grid .level-nine {
    order: 3 !important;
  }

}
/* =========================================================
   FOOTER — DESKTOP PLUS HOMOGENE
========================================================= */

.site-footer {
  overflow: hidden;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.25fr
    .8fr
    .8fr
    1.35fr;

  gap: 34px;

  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid h3 {
  margin: 0 0 14px;
  line-height: 1.4;
}

.footer-grid a {
  margin: 6px 0;
  line-height: 1.55;
}


/* colonne contact */

.footer-help-block {
  max-width: 100%;
}

.footer-contact-ltr,
.footer-address {
  display: block;

  margin: 4px 0;

  font-size: 13px;
  line-height: 1.65;

  color: #CCD6E9;
}


/* espace entre plusieurs adresses */

.footer-address + .footer-address {
  margin-top: 10px;
}


/* =========================================================
   FOOTER — TABLET
========================================================= */

@media (max-width: 960px) {

  .footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 30px 36px !important;

    text-align: inherit;
  }

  .footer-grid > div {
    grid-column: auto !important;
  }

}


/* =========================================================
   FOOTER — MOBILE
========================================================= */

@media (max-width: 680px) {

  .footer-grid {
    grid-template-columns: 1fr !important;

    gap: 26px !important;

    padding-bottom: 30px;
  }

  .footer-grid > div {
    width: 100%;

    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-brand p {
    max-width: 330px;
    margin-inline: auto;
  }

  .footer-help-block {
    max-width: 420px;
    margin-inline: auto;
  }

  .footer-contact-ltr,
  .footer-address {
    text-align: center !important;

    font-size: 13px;

    line-height: 1.7;
  }

  .footer-grid a {
    margin: 5px 0;

    line-height: 1.5;
  }

}
/* =========================================================
   FOOTER MOBILE — ALIGNEMENT PROPRE ET HOMOGÈNE
========================================================= */

@media (max-width: 680px) {

  .site-footer,
  .footer-grid,
  .footer-grid > div,
  .footer-help-block,
  .footer-brand,
  .footer-bottom {
    text-align: center !important;
  }

  .footer-grid {
    justify-items: center !important;
  }

  .footer-grid > div {
    width: 100% !important;
    max-width: 420px !important;
    margin-inline: auto !important;
  }

  .footer-grid h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-grid a {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-contact-ltr,
  .footer-address {
    width: 100% !important;
    max-width: 420px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;

    direction: ltr !important;
  }

  html[dir="rtl"] .footer-help-block,
  html[dir="rtl"] .footer-contact-ltr,
  html[dir="rtl"] .footer-address {
    text-align: center !important;
  }

  html[dir="ltr"] .footer-help-block,
  html[dir="ltr"] .footer-contact-ltr,
  html[dir="ltr"] .footer-address {
    text-align: center !important;
  }

  .footer-brand img {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-bottom {
    width: 100% !important;
    margin-inline: auto !important;
  }

}
/* =========================================================
   SOFT SKILLS MOBILE — ALIGNEMENT FINAL
========================================================= */

@media (max-width: 680px) {

  .soft-section .soft-copy {
    text-align: center !important;
  }

  .soft-section .soft-kicker,
  .soft-section .soft-copy h2,
  .soft-section .soft-copy > p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .soft-section .soft-list {
    width: 100% !important;
    max-width: 360px !important;

    margin: 18px auto 0 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;

    gap: 12px !important;

    text-align: right !important;
    direction: rtl !important;
  }

  .soft-section .soft-list > * {
    width: 100% !important;
    margin: 0 !important;

    text-align: right !important;
  }

}

/* =========================================================
   SOFT SKILLS — garder 2 colonnes même sur mobile
========================================================= */

@media (max-width: 680px) {

  .soft-section .soft-list {
    width: 100% !important;
    max-width: 520px !important;

    margin: 20px auto 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    column-gap: 18px !important;
    row-gap: 14px !important;

    direction: rtl !important;
    text-align: right !important;

    padding-inline: 6px !important;
  }

  .soft-section .soft-list > * {
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    font-size: 14px !important;
    line-height: 1.55 !important;

    text-align: right !important;
  }

}

@media (max-width: 420px) {

  .soft-section .soft-list {
    column-gap: 10px !important;
    row-gap: 12px !important;
  }

  .soft-section .soft-list > * {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

}

/* =========================================================
   V7 — ACCES PLATEFORME + PAIEMENT
========================================================= */

.platform-access-btn{
  background:#fff;
  color:var(--title-blue);
  border:1px solid #C9D9EA;
  box-shadow:0 6px 16px rgba(8,71,143,.08);
}

.platform-access-btn:hover{
  background:#F4F9FF;
  border-color:#9FC4E1;
}

.payment-section{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid #E7EDF5;
}

.payment-section-head{
  margin-bottom:18px;
}

.payment-section-head h3{
  margin:0 0 4px;
  color:var(--title-blue);
  font-size:20px;
  font-weight:900;
}

.payment-section-head p{
  margin:0;
  color:var(--subtitle-gray);
  font-size:14px;
}

.payment-detail[hidden]{
  display:none !important;
}

.rib-card{
  margin:4px 0 18px;
  padding:17px 18px;
  border:1px solid #D7E5F2;
  border-radius:14px;
  background:linear-gradient(135deg,#F5FAFF,#FFF);
  box-shadow:0 8px 22px rgba(8,71,143,.06);
}

.rib-kicker{
  display:block;
  margin-bottom:5px;
  color:#667795;
  font-size:12px;
  font-weight:800;
}

.rib-card > strong{
  display:block;
  margin-bottom:8px;
  color:#08478F;
  font-size:17px;
}

.rib-line{
  direction:ltr;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.rib-line span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#08478F;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

.rib-line b{
  color:#17233B;
  font-size:16px;
  letter-spacing:.04em;
  word-break:break-all;
}

.file-field-wrap{
  min-width:0;
}

.form-row input[type="file"]{
  height:auto;
  min-height:48px;
  padding:9px 10px;
  line-height:1.4;
}

.file-field-wrap small{
  display:block;
  margin-top:6px;
  color:#78879B;
  font-size:12px;
  line-height:1.5;
}

.form-row textarea{
  width:100%;
  min-height:108px;
  resize:vertical;
  border:1px solid #C9D1DB;
  border-radius:8px;
  background:#fff;
  padding:12px 14px;
  color:#25364F;
  outline:none;
  font:inherit;
  line-height:1.6;
}

.form-row textarea:focus{
  border-color:#1D90C0;
  box-shadow:0 0 0 3px rgba(29,144,192,.12);
}

.form-row-textarea{
  align-items:start;
}

@media(max-width:960px){
  .header-actions .platform-access-btn{
    display:inline-flex !important;
  }
}

@media(max-width:680px){
  .header-inner{
    grid-template-columns:42px 1fr auto !important;
  }

  .header-actions{
    gap:4px !important;
  }

  .header-actions .platform-access-btn{
    height:34px !important;
    padding:0 8px !important;
    font-size:10.5px !important;
  }

  .payment-section{
    margin-top:20px;
    padding-top:18px;
  }

  .payment-section-head{
    text-align:center;
  }

  .rib-card{
    padding:15px;
  }

  .rib-line{
    justify-content:center;
  }
}

@media(max-width:480px){
  .header-actions .platform-access-btn{
    max-width:104px;
    white-space:normal !important;
    line-height:1.15;
    text-align:center;
  }
}

/* =========================================================
   V25 — INSCRIPTION ET PAIEMENT SÉPARÉS
========================================================= */
.payment-page-section{
  background:#F8FAFC;
  padding-top:72px;
}

.payment-page-layout{
  display:flex;
  justify-content:center;
}

.payment-page-center{
  width:100%;
  max-width:760px;
  direction:rtl;
}

.payment-form{
  background:#fff;
  border:1px solid #E7EDF5;
  box-shadow:0 15px 35px rgba(13,43,104,.10);
  border-radius:18px;
  padding:28px 34px;
}

.standalone-payment-box{
  margin-top:22px;
}

html[dir="ltr"] .payment-page-center{
  direction:ltr;
  text-align:left;
}

html[dir="ltr"] .payment-page-center .form-row{
  direction:ltr;
}

@media(max-width:680px){
  .payment-form{
    padding:22px 18px;
  }

  .payment-page-section{
    padding-top:54px;
  }
}


/* =========================================================
   PLANNING DES COURS 2026–2027
========================================================= */

.planning-section{
  background:#F7FAFE;
  padding:78px 0 82px;
}

.planning-container{
  width:min(1380px,calc(100% - 40px));
}

.planning-heading{
  margin-bottom:28px;
}

.planning-heading h2{
  margin-bottom:10px;
}

.planning-tabs{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin:0 auto 24px;
  direction:ltr;
}

.planning-tab{
  min-width:170px;
  min-height:48px;
  padding:10px 24px;
  border:1px solid #D7E3F2;
  border-radius:999px;
  background:#fff;
  color:#08478F;
  font-family:inherit;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}

.planning-tab:hover{
  transform:translateY(-1px);
  border-color:#9FC0E6;
}

.planning-tab.is-active{
  background:#08478F;
  color:#fff;
  border-color:#08478F;
  box-shadow:0 8px 20px rgba(8,71,143,.18);
}

.planning-panels{
  width:100%;
}

.planning-panel{
  width:100%;
}

.planning-panel[hidden]{
  display:none !important;
}

.planning-image{
  width:100%;
  height:auto;
  display:block;
  margin:0 auto;
  border-radius:18px;
  box-shadow:0 18px 42px rgba(8,71,143,.13);
  border:1px solid rgba(8,71,143,.08);
}

@media(max-width:680px){
  .planning-section{
    padding:54px 0 58px;
  }

  .planning-container{
    width:calc(100% - 22px) !important;
  }

  .planning-heading{
    margin-bottom:22px;
  }

  .planning-tabs{
    gap:8px;
    margin-bottom:18px;
  }

  .planning-tab{
    min-width:0;
    flex:1 1 0;
    min-height:44px;
    padding:9px 10px;
    font-size:13px;
  }

  .planning-image{
    border-radius:12px;
  }
}



/* =========================================================
   V26 — PRIX + CODE PROMO
========================================================= */

.promo-box{
  margin:20px 0 8px;
  padding:20px;
  border:1px solid #DDE8F4;
  border-radius:16px;
  background:linear-gradient(135deg,#F7FBFF 0%,#FFFFFF 100%);
}

.promo-code-row{
  margin-bottom:8px;
}

#promoCode{
  direction:ltr;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
}

.promo-message{
  min-height:22px;
  margin:4px 0 12px;
  padding-inline:156px 0;
  color:#667795;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
}

.promo-message.is-valid{
  color:#137A4B;
}

.promo-message.is-invalid{
  color:#B42318;
}

.promo-message.is-loading{
  color:#667795;
}

.price-summary{
  margin-top:10px;
  overflow:hidden;
  border:1px solid #D9E5F1;
  border-radius:14px;
  background:#fff;
}

.price-summary[hidden],
.price-summary-row[hidden]{
  display:none !important;
}

.price-summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:12px 16px;
  border-bottom:1px solid #E8EEF5;
  color:#334A6D;
  font-size:14px;
}

.price-summary-row:last-child{
  border-bottom:0;
}

.price-summary-row > span{
  font-weight:700;
}

.price-summary-row strong{
  direction:ltr;
  unicode-bidi:embed;
  color:#17233B;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
}

.price-summary-row.discount-row strong{
  color:#137A4B;
}

.price-summary-row.total-row{
  padding:15px 16px;
  background:#EEF7FF;
  color:#08478F;
}

.price-summary-row.total-row > span{
  font-size:15px;
  font-weight:900;
}

.price-summary-row.total-row strong{
  color:#08478F;
  font-size:22px;
}

html[dir="ltr"] .promo-message{
  padding-left:156px;
  padding-right:0;
}

html[dir="rtl"] .promo-message{
  padding-right:156px;
  padding-left:0;
}

@media(max-width:680px){
  .promo-box{
    padding:16px 14px;
  }

  .promo-message,
  html[dir="ltr"] .promo-message,
  html[dir="rtl"] .promo-message{
    padding-inline:0;
  }

  .price-summary-row{
    padding:11px 12px;
  }

  .price-summary-row.total-row strong{
    font-size:20px;
  }
}
