/* ==========================================================================
   LA FORTERESSE DU FOYER MUSULMAN — Landing Page (refonte brief 2026-10)
   Guides Islamiques — sobre, confiance, conversion mobile
   ========================================================================== */

:root {
  --vert-profond: #0F3D2E;
  --creme: #FBF7EF;
  --creme-dark: #F1EAD9;
  --or: #C9A227;
  --or-dark: #9C7D1E;
  --encre: #1C1C1C;
  --cta: #E0A526;
  --cta-text: #1B1B1B;
  --nuit: #13261F;
  --grey: #6B6259;
  --white: #FFFFFF;
  --line: rgba(15, 61, 46, 0.14);

  --font-title: 'Lora', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", sans-serif;
  --font-arabic: 'Amiri', 'Lora', Georgia, serif;

  --radius: 14px;
  --container: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--encre);
  line-height: 1.6;
  font-size: 18.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* barre collante mobile */
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }

.section { position: relative; padding: 36px 0; }
.section-alt { background: var(--white); }
.section-nuit { background: var(--nuit); color: var(--creme); }
.section-nuit-photo {
  background:
    linear-gradient(180deg, rgba(19,38,31,.62), rgba(19,38,31,.74)),
    url('assets/photo-nuit.webp') center/cover no-repeat;
}

.eyebrow {
  display: block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--or-dark);
  margin-bottom: 10px;
  text-align: center;
}
.section-nuit .eyebrow { color: var(--or); }

h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.24; color: var(--vert-profond); }
.section-nuit h2, .section-nuit h3 { color: var(--creme); }

.section-title { font-size: 27px; text-align: center; margin-bottom: 14px; }
.section-subtitle { font-size: 17.5px; color: var(--grey); text-align: center; margin-bottom: 18px; }
.section-nuit .section-subtitle { color: var(--creme-dark); }

.accent { color: var(--or-dark); }
.section-nuit .accent { color: var(--or); }

/* ---------------- Boutons ---------------- */
.btn {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 16.5px;
  padding: 16px 20px;
  border-radius: 10px;
  min-height: 48px;
  line-height: 1.25;
}
.btn-primary {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 4px 0 var(--or-dark);
}
.btn-primary:active { box-shadow: 0 0 0 var(--or-dark); transform: translateY(4px); }
.btn-sub { display: block; text-align: center; font-size: 13.5px; color: var(--grey); margin-top: 10px; }
.section-nuit .btn-sub { color: var(--creme-dark); }

/* ---------------- 1. Bandeau offre ---------------- */
.topbar {
  background: var(--vert-profond);
  color: var(--creme);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
}
.topbar strong { color: var(--or); }

/* ---------------- Nav desktop ---------------- */
.site-nav { display: none; background: var(--creme); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; }
.site-nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--vert-profond); font-size: 14px; letter-spacing: .5px; }
.site-nav-logo img { width: 30px; height: 30px; border-radius: 6px; }
.site-nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--vert-profond); }
.btn-nav { background: var(--cta); color: var(--cta-text); font-weight: 700; padding: 9px 18px; border-radius: 8px; font-size: 14px; }

@media (min-width: 720px) {
  .site-nav { display: block; }
}

/* ---------------- 2. Hero ---------------- */
.hero { background: var(--creme); padding: 26px 0 8px; }
.hero-visual { margin-bottom: 18px; }
.hero-visual img { border-radius: 12px; margin: 0 auto; max-width: 280px; }

.bismillah { text-align: center; font-family: var(--font-arabic); font-size: 19px; color: var(--or-dark); margin-bottom: 6px; }
.hero-eyebrow { display: block; text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .5px; color: var(--grey); margin-bottom: 10px; }

.hero-title { font-size: 27px; text-align: center; margin-bottom: 12px; }
.hero-sub { font-size: 17px; color: var(--grey); text-align: center; margin-bottom: 16px; }

.price-block { text-align: center; margin-bottom: 14px; }
.price-old { color: var(--grey); text-decoration: line-through; font-size: 16px; margin-right: 8px; }
.price-new { font-family: var(--font-title); font-weight: 700; font-size: 28px; color: var(--vert-profond); }
.price-note { display: block; font-size: 13.5px; color: var(--grey); margin-top: 2px; }

.reassurance-line { text-align: center; font-size: 14px; color: var(--grey); margin-top: 10px; line-height: 1.6; }

.proof-countries { text-align: center; margin-top: 16px; }
.proof-label { display: block; font-size: 14.5px; font-weight: 700; color: var(--vert-profond); margin-bottom: 9px; }
.proof-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vert-profond);
  line-height: 1.1;
}
.proof-diaspora { display: block; font-size: 13.5px; color: var(--grey); margin-top: 9px; }

.currency-note { text-align: center; font-size: 13.5px; color: var(--grey); margin-top: 14px; }
.currency-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; vertical-align: middle; margin-left: 4px; }
.currency-opt { display: inline-block; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--grey); text-decoration: none; background: var(--white); }
.currency-opt:first-child { border-right: 1px solid var(--line); }
.currency-opt.active { background: var(--vert-profond); color: var(--creme); }
#outsideAfricaNote[hidden] { display: none; }

/* ---------------- 3. Histoire ---------------- */
.story-text { font-size: 18px; line-height: 1.75; }
.story-text p { margin-bottom: 14px; text-align: justify; }
.story-text strong { color: var(--or); }
.section-nuit .story-text { color: var(--creme-dark); }

/* ---------------- 4. Le déclic ---------------- */
.declic-text { font-size: 18px; text-align: justify; line-height: 1.75; color: var(--encre); }
.declic-text strong { color: var(--vert-profond); }

/* ---------------- 5. Méthode / 3 remparts ---------------- */
.remparts { display: grid; gap: 14px; margin: 20px 0; }
.rempart-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--or);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.rempart-num { font-family: var(--font-title); font-weight: 700; color: var(--or-dark); font-size: 14px; letter-spacing: .5px; margin-bottom: 4px; }
.rempart-card h3 { font-size: 18.5px; margin-bottom: 5px; }
.rempart-card p { font-size: 16px; color: var(--grey); text-align: justify; }

.checklist { list-style: none; margin: 18px 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16.5px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--or-dark); font-weight: 700; }

/* ---------------- 6. Aperçu carrousel ---------------- */
.apercu-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.apercu-item { flex: 0 0 72%; scroll-snap-align: start; }
.apercu-item img { border-radius: 10px; border: 1px solid var(--line); }
.apercu-item figcaption { text-align: center; font-size: 14px; color: var(--grey); margin-top: 6px; }
@media (min-width: 600px) { .apercu-item { flex: 0 0 32%; } }

/* ---------------- 7. Le pack ---------------- */
.bundle-main { max-width: 240px; margin: 0 auto 18px; }
.bundle-main img { border-radius: 10px; }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.bundle-item img { border-radius: 10px; margin-bottom: 6px; }
.bundle-item figcaption .bundle-title { font-size: 14.5px; font-weight: 700; color: var(--vert-profond); display: block; }
.bundle-item figcaption .bundle-desc { font-size: 13.5px; color: var(--grey); display: block; margin: 2px 0 4px; }
.bundle-item .old { font-size: 13.5px; color: var(--grey); text-decoration: line-through; margin-right: 6px; }
.bundle-item .free { font-size: 13.5px; font-weight: 700; color: var(--or-dark); }

.value-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
.value-row { display: flex; justify-content: space-between; font-size: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.value-row:last-child { border-bottom: none; }
.value-row.total { font-weight: 700; font-size: 17.5px; color: var(--vert-profond); }

/* ---------------- 8. Avis ---------------- */
.avis-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.avis-item { flex: 0 0 58%; scroll-snap-align: start; }
.avis-item img { border-radius: 10px; border: 1px solid var(--line); }
@media (min-width: 600px) { .avis-item { flex: 0 0 26%; } }

.testi-card { background: var(--creme-dark); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.testi-text { font-size: 17px; margin-bottom: 10px; text-align: justify; }
.testi-arabic-box { background: var(--white); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.testi-arabic-box .ar { font-family: var(--font-arabic); font-size: 21px; text-align: right; direction: rtl; color: var(--vert-profond); margin-bottom: 6px; }
.testi-arabic-box .tr { font-size: 15px; color: var(--grey); margin-bottom: 4px; }
.testi-arabic-box .src { font-size: 13.5px; color: var(--or-dark); font-weight: 600; }

.avis-disclaimer { text-align: center; font-size: 13.5px; color: var(--grey); margin-top: 10px; }

/* ---------------- 9. Marque (Guides Islamiques) ---------------- */
.marque-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.marque-block img { width: 56px; height: 56px; border-radius: 10px; }
.marque-block p { font-size: 17px; color: var(--grey); max-width: 540px; text-align: justify; }

/* ---------------- 10. Comment je reçois mon guide ---------------- */
.steps { list-style: none; counter-reset: step; margin: 18px 0; }
.steps li { position: relative; padding-left: 40px; margin-bottom: 16px; font-size: 16.5px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--vert-profond); color: var(--creme);
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

.access-success-line { text-align: center; font-size: 16px; font-weight: 600; color: var(--vert-profond); margin: 18px 0; }

.pay-methods { font-size: 15px; color: var(--grey); text-align: justify; margin-bottom: 18px; line-height: 1.7; }
.pay-flags { display: block; text-align: center; font-size: 16px; margin-top: 4px; }

/* ---------------- 11. FAQ ---------------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 4px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--vert-profond);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--or-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { font-size: 16px; color: var(--grey); padding: 0 4px 16px; text-align: justify; }

/* ---------------- 12. Appel final ---------------- */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 8px; }
.final-cta .price-block { margin: 14px 0; }
.cloture-verse { font-family: var(--font-arabic); text-align: center; font-size: 17.5px; color: var(--creme); margin-top: 22px; font-style: normal; }
.cloture-ref { text-align: center; font-size: 14px; color: var(--or); margin-top: 6px; }

/* ---------------- 13. Footer ---------------- */
footer { background: var(--nuit); color: var(--creme-dark); padding: 30px 0; }
.about-block { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 16px; }
.about-block img { width: 44px; height: 44px; border-radius: 8px; }
.about-block h3 { color: var(--or); font-size: 16px; letter-spacing: 1px; }
footer p { font-size: 14.5px; line-height: 1.65; text-align: justify; color: var(--creme-dark); opacity: .85; margin-bottom: 10px; }
footer .copyright { font-size: 13px; opacity: .6; margin-bottom: 0; text-align: center; }

/* ---------------- Barre d'achat collante ---------------- */
.mobile-sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 10px 14px 12px;
  z-index: 60;
  box-shadow: 0 -4px 14px rgba(0,0,0,.08);
}
.mobile-sticky.visible { display: flex; }
.msticky-old { display: block; text-align: center; font-size: 14px; color: var(--grey); text-decoration: line-through; }
.msticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--cta);
  color: var(--cta-text);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 4px 0 var(--or-dark);
  text-align: center;
  line-height: 1.3;
}
.msticky-btn:active { box-shadow: 0 0 0 var(--or-dark); transform: translateY(4px); }
.msticky-line1 { display: block; font-weight: 700; font-size: 15px; }
.msticky-line2 { display: block; font-weight: 600; font-size: 13px; opacity: .92; }

@media (min-width: 720px) {
  .mobile-sticky { display: none !important; }
  body { padding-bottom: 0; }
  .hero { padding-top: 10px; }
  .hero-visual img { max-width: 320px; }
}
