:root{
  --navy:#132C46;
  --navy-soft:#1E425F;
  --blue:#0F98B4;
  --blue-deep:#0C7C93;
  --blue-tint:#E7F5F7;
  --gold:#E3A237;
  --gold-tint:#FBF0DC;
  --green:#2E9B6B;
  --green-tint:#E5F5EE;
  --red:#D2564A;
  --red-tint:#FBEAE8;
  --cream:#FBF9F4;
  --white:#FFFFFF;
  --slate:#57626D;
  --slate-light:#8A93A0;
  --border:#E9E4D8;
  --radius-card:18px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Tajawal',sans-serif;
  background:var(--cream);
  color:var(--navy);
  line-height:1.7;
  overflow-x:hidden;
}
html[lang="fr"] body{font-family:'Tajawal',sans-serif;}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px;}
h1,h2,h3{font-family:'Amiri',serif;font-weight:700;color:var(--navy);}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
button{font-family:inherit;cursor:pointer;}

.pattern-bg{position:absolute;inset:0;background-image:radial-gradient(circle, var(--gold) 1.5px, transparent 1.5px);background-size:26px 26px;opacity:.08;pointer-events:none;}

header{position:sticky;top:0;z-index:50;background:rgba(251,249,244,.9);backdrop-filter:blur(10px);border-bottom:1px solid var(--border);}
nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;}
.logo-group{display:flex;align-items:center;gap:12px;}
.logo-mark{width:42px;height:42px;border-radius:50%;background:conic-gradient(from 210deg, var(--gold), #F4C468, var(--gold));display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.logo-mark svg{width:22px;height:22px;}
.logo-text{display:flex;flex-direction:column;line-height:1.25;}
.logo-text .ar{font-family:'Amiri',serif;font-weight:700;font-size:17px;color:var(--navy);}
.logo-text .en{font-size:10px;letter-spacing:.1em;color:var(--slate-light);text-transform:uppercase;}
.nav-actions{display:flex;align-items:center;gap:12px;}
.lang-switch{display:flex;border:1.5px solid var(--border);border-radius:999px;padding:3px;background:var(--white);}
.lang-switch button{border:none;background:none;padding:6px 14px;border-radius:999px;font-size:12.5px;font-weight:700;color:var(--slate);}
.lang-switch button.active{background:var(--navy);color:var(--white);}
.nav-cta{background:var(--navy);color:var(--white);padding:10px 22px;border-radius:999px;font-size:13.5px;font-weight:700;box-shadow:0 6px 16px -6px rgba(19,44,70,.5);border:none;}

.hero{position:relative;padding:64px 0 56px;overflow:hidden;text-align:center;}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--gold-tint);color:#8A5E14;font-size:13px;font-weight:700;padding:8px 16px;border-radius:999px;margin-bottom:20px;}
.eyebrow span.dot{width:6px;height:6px;border-radius:50%;background:var(--gold);}
.hero h1{font-size:38px;line-height:1.4;margin:0 auto 20px;max-width:820px;}
.hero h1 em{font-style:normal;color:var(--blue-deep);}
.hero p.lead{font-size:16.5px;color:var(--slate);max-width:640px;margin:0 auto 30px;}
.hero-ctas{display:flex;gap:16px;justify-content:center;}
.btn-primary{background:var(--blue-deep);color:var(--white);padding:15px 30px;border-radius:12px;font-weight:700;font-size:15px;box-shadow:0 10px 24px -8px rgba(12,124,147,.55);border:none;display:inline-flex;align-items:center;gap:8px;}
.btn-ghost{border:1.5px solid var(--border);color:var(--navy);padding:15px 30px;border-radius:12px;font-weight:700;font-size:15px;background:var(--white);}

.sec-head{max-width:680px;margin:0 auto 44px;text-align:center;}
.sec-head h2{font-size:30px;margin-bottom:12px;}
.sec-head p{color:var(--slate);font-size:15.5px;}
section{padding:76px 0;}
section.alt{background:var(--white);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}

.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.info-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius-card);padding:26px 24px;}
.info-ic{width:46px;height:46px;border-radius:12px;background:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.info-ic svg{width:22px;height:22px;stroke:var(--gold);}
.info-card h4{font-size:16px;margin-bottom:8px;}
.info-card p{font-size:13.8px;color:var(--slate);}
.info-card .price{font-family:'Amiri',serif;font-size:26px;color:var(--blue-deep);font-weight:700;}
.info-note{margin-top:22px;background:var(--gold-tint);border:1px solid #EED9AE;border-radius:14px;padding:16px 20px;font-size:13.8px;color:#7A5510;text-align:center;}

/* form */
.form-wrap{max-width:680px;margin:0 auto;background:var(--white);border:1px solid var(--border);border-radius:24px;padding:40px;box-shadow:0 24px 48px -30px rgba(19,44,70,.25);}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:6px;}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;}
.field.full{grid-column:1/-1;}
.field label{font-size:13.5px;font-weight:700;color:var(--navy);}
.field input, .field select{
  border:1.5px solid var(--border);border-radius:10px;padding:13px 14px;font-size:14.5px;
  font-family:inherit;background:var(--cream);color:var(--navy);outline:none;transition:border-color .2s;
}
.field input:focus, .field select:focus{border-color:var(--blue-deep);background:var(--white);}
.field .hint{font-size:12px;color:var(--slate-light);}
.field .err{font-size:12.5px;color:var(--red);display:none;}
.field.has-error input, .field.has-error select{border-color:var(--red);background:var(--red-tint);}
.field.has-error .err{display:block;}
.gender-toggle{display:flex;gap:10px;}
.gender-toggle label{
  flex:1;border:1.5px solid var(--border);border-radius:10px;padding:12px;text-align:center;
  font-size:14px;font-weight:600;color:var(--slate);background:var(--cream);cursor:pointer;transition:.2s;
}
.gender-toggle input{display:none;}
.gender-toggle input:checked + span{color:var(--white);}
.gender-toggle label:has(input:checked){background:var(--navy);border-color:var(--navy);color:var(--white);}
.submit-row{margin-top:8px;}
.btn-submit{
  width:100%;background:var(--navy);color:var(--white);padding:16px;border-radius:12px;
  font-weight:700;font-size:15.5px;border:none;box-shadow:0 10px 24px -8px rgba(19,44,70,.5);
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.btn-submit:disabled{opacity:.6;cursor:not-allowed;}
.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:none;}
.btn-submit.loading .spinner{display:inline-block;}
@keyframes spin{to{transform:rotate(360deg);}}
.form-msg{margin-top:16px;border-radius:12px;padding:14px 16px;font-size:13.8px;display:none;}
.form-msg.show{display:block;}
.form-msg.error{background:var(--red-tint);color:#A83B31;}
.form-msg.success{background:var(--green-tint);color:#1F7A54;}

.success-view{display:none;text-align:center;padding:20px 0;}
.success-view.show{display:block;}
.success-view .check{width:64px;height:64px;border-radius:50%;background:var(--green-tint);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;}
.success-view .check svg{width:30px;height:30px;stroke:var(--green);}
.success-view h3{font-size:22px;margin-bottom:10px;}
.success-view p{color:var(--slate);font-size:14.5px;margin-bottom:18px;}
.ref-box{display:inline-block;background:var(--cream);border:1.5px dashed var(--gold);border-radius:12px;padding:12px 24px;font-family:'Amiri',serif;font-size:20px;font-weight:700;color:var(--navy);letter-spacing:.03em;}
.ref-hint{margin-top:14px;font-size:12.5px;color:var(--slate-light);}

.feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.feat-card{padding:26px 20px;border-radius:16px;background:var(--cream);border:1px solid var(--border);}
.feat-ic{width:44px;height:44px;border-radius:12px;background:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.feat-ic svg{width:20px;height:20px;stroke:var(--gold);}
.feat-card h4{font-size:15px;margin-bottom:8px;}
.feat-card p{font-size:13.2px;color:var(--slate);}

.faq-list{max-width:720px;margin:0 auto;}
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{display:flex;align-items:center;justify-content:space-between;padding:20px 4px;cursor:pointer;font-weight:700;font-size:15px;color:var(--navy);gap:16px;}
.faq-q .plus{width:24px;height:24px;border-radius:50%;border:1.5px solid var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .3s;}
.faq-item.open .plus{transform:rotate(45deg);background:var(--gold);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a p{padding:0 4px 20px;color:var(--slate);font-size:14px;max-width:640px;}

footer{padding:50px 0 30px;background:var(--navy);color:rgba(255,255,255,.7);}
.foot-inner{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;}
.foot-inner .logo-text .ar{color:var(--white);}
.foot-inner p{max-width:480px;font-size:13px;}
.foot-bottom{font-size:12px;color:rgba(255,255,255,.4);margin-top:10px;}

.status-check{max-width:520px;margin:40px auto 0;text-align:center;}
.status-check a{color:var(--blue-deep);font-weight:700;font-size:13.5px;}

[data-lang]{display:none;}
html:not([lang="fr"]) [data-lang="ar"]{display:inline;}
html[lang="fr"] [data-lang="fr"]{display:inline;}
html[lang="fr"]{direction:ltr;}
html[lang="fr"] body{direction:ltr;}

@media(max-width:900px){
  .hero h1{font-size:28px;}
  .info-grid{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .feat-grid{grid-template-columns:1fr 1fr;}
  .form-wrap{padding:26px 20px;}
}
