:root{
  --bg:#f4efe6;
  --ink:#1b1b1b;
  --muted:#6b6b6b;
  --green:#173a2f;
  --green2:#0f2b23;
  --card:#ffffff;
  --shadow: 0 14px 30px rgba(0,0,0,.12);
  --shadow2: 0 10px 24px rgba(0,0,0,.18);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.wrap{ width:min(1120px, 92vw); margin:0 auto; }

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(0deg, var(--green2), var(--green));
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.3px;
}
.brand .mark{
  width:22px;height:22px;border-radius:6px;
  background: rgba(255,255,255,.14);
}
.navlinks{ display:flex; gap: 22px; }
.navlinks a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-weight:600;
}
.navlinks a:hover{ text-decoration: underline; }

.right{ display:flex; align-items:center; gap:10px; }
.lang{
  display:flex;
  gap:8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.lang button{
  border:0;
  cursor:pointer;
  border-radius: 999px;
  padding: 8px 10px;
  background: transparent;
  color: rgba(255,255,255,.86);
  font-weight:700;
}
.lang button.active{
  background: rgba(255,255,255,.18);
  color:#fff;
}
.flag{ margin-right:6px; }

/* =========================
   HERO (FIXED)
   ========================= */

/* container */
.hero{ margin-top: 16px; }

/* image */
.hero-media{
  position: relative;
  border-radius: 26px;

  /* hauteur propre */
  height: 75vh;
  min-height: 600px;

  /* ✅ Option A: afficher l’image entière (pas de rognage) */
  background-image: url("hero-msk.jpg"); /* sera remplacé si tu mets un style inline */
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #e9e6df;

  box-shadow: var(--shadow);
  overflow: hidden; /* garde l'arrondi propre */
}

/* overlay (si tu l'utilises) */
.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.16), rgba(0,0,0,.06));
}

/* boutons SOUS l'image */
.hero-controls{
  z-index: 50;
  background: #ffffff;
  border-radius: 22px;
  margin-top: -30px; /* léger chevauchement */
  padding: 30px;
  box-shadow: var(--shadow);

  position: relative;

  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-btn{
  border:0;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color:#0e0e0e;
  box-shadow: var(--shadow2);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.hero-btn:hover{ transform: translateY(-1px); }
.caret{ opacity:.8; }

/* Dropdown */
.dropdown{ position: relative; display:inline-block; }
.dropdown-panel{
  z-index: 60;
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  width: min(520px, 78vw);
  border-radius: 16px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.dropdown.open .dropdown-panel{ display:block; }
.panel-title{ font-weight:900; margin-bottom: 10px; }
.tree-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.node{
  border-radius: 12px;
  background: rgba(23,58,47,.06);
  padding: 10px;
}
.node .title{ font-weight:900; margin-bottom: 6px; }
.links{ display:flex; gap:10px; flex-wrap:wrap; }
.tree-link{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,58,47,.10);
  color:#0f2b23;
  text-decoration:none;
  font-weight:800;
}
.tree-link:hover{ background: rgba(23,58,47,.18); }
.tree-link.disabled{
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
}

/* Callout (moved near packages) */
.kenya-callout{ margin: 18px 0 18px; }
.kenya-callout__inner{
  background: linear-gradient(180deg, rgba(23,58,47,.08), rgba(255,255,255,.70));
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.kenya-callout__inner:before{
  content:"";
  position:absolute;
  inset:-60px -80px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(23,58,47,.10);
  filter: blur(2px);
}
.kenya-callout h1{
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 950;
}
/* Paragraphe SEO (sous le H1) */
.seo-lead{
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0,0,0,.78);
  margin: 0 0 12px;
  max-width: 900px;
}

.kenya-callout p{
  margin: 0 0 10px;
  color: rgba(0,0,0,.72);
  line-height: 1.5;
}
.kenya-callout__box{
  margin-top: 12px;
  background: rgba(255,255,255,.90);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,.08);
}
.kenya-callout__boxTitle{ font-weight: 950; margin-bottom: 6px; }
.kenya-callout__boxText{ color: rgba(0,0,0,.72); margin-bottom: 10px; }

/* ✅ NEW: bullets left + WhatsApp right */
.kenya-callout__row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.kenya-callout__bullets{
  display:grid;
  gap: 6px;
  font-weight: 800;
  flex: 1 1 auto;
}
.kenya-callout__wa{
  flex: 0 0 auto;
  display:flex;
  align-items:flex-start;
}
.btn-wa{
  display:inline-flex;
  text-decoration:none;
  background: linear-gradient(0deg, var(--green2), var(--green));
  color:#fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow2);
  white-space: nowrap;
}

/* Section title */
.section-title{
  text-align:center;
  font-size: 34px;
  letter-spacing: 1px;
  margin: 22px 0 10px;
}
.hr{
  border:0;
  height: 1px;
  background: rgba(0,0,0,.20);
  margin: 0 0 18px;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.card{
  background: var(--card);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card-top{
  background: linear-gradient(0deg, var(--green2), var(--green));
  color:#fff;
  padding: 14px 16px;
  font-weight:900;
}
.card-title{ font-size: 20px; }
.card-media{
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
}
.card-media.tall{
  height: 500px;
  background-position: center;
}
.card-body{ padding: 14px 16px 16px; }
.pkg-under-title{ font-weight:900; margin-bottom: 6px; }
.pkg-under-text{ color: var(--muted); line-height: 1.35; }
.pkg-hint{ margin-top: 10px; font-size: 13px; color: rgba(0,0,0,.55); font-weight:700; }
.package{ cursor:pointer; }
.package:hover{ transform: translateY(-2px); }

/* Contact */
.contact-band{
  margin: 18px 0 20px;
  background: rgba(23,58,47,.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-band p{
  margin: 0 0 12px;
  text-align:center;
  font-weight:900;
}
.contact-links{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 10px;
}
.badge{
  display:inline-flex;
  text-decoration:none;
  background: rgba(255,255,255,.95);
  color:#0f2b23;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow2);
}
.badge:hover{ transform: translateY(-1px); }

/* Footer */
.footer{
  padding: 16px 0 26px;
  text-align:center;
  color: rgba(0,0,0,.55);
  font-weight: 700;
}

/* Modal */
.no-scroll{ overflow:hidden; }
.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:none;
  background: rgba(0,0,0,.42);
  padding: 28px;
}
.modal.open{ display:flex; align-items:center; justify-content:center; }
.modal__panel{
  width: min(980px, calc(100vw - 40px));
  max-height: calc(100vh - 80px);
  background: rgba(20,20,20,.92);
  color:#fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding: 18px 18px 16px;
  overflow:auto;
  position: relative;
}
.modal__close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border:0;
  cursor:pointer;
  background: rgba(255,255,255,.14);
  color:#fff;
  font-size: 22px;
  font-weight: 900;
}
.modal__close:hover{ background: rgba(255,255,255,.22); }
.modal__title{
  margin: 0 0 10px;
  padding-right: 52px;
  font-size: 22px;
  font-weight: 950;
}
.modal__content{
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  font-size: 16px;
}
.modal__content h4{ margin: 14px 0 8px; }
.modal__content hr{
  border:0;
  height: 1px;
  background: rgba(255,255,255,.14);
  margin: 14px 0;
}
.modal__content ul{ margin: 8px 0 0 18px; }
.modal__content li{ margin: 6px 0; }

/* Responsive */
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr 1fr; }
  .kenya-callout__row{ flex-direction: column; }
  .btn-wa{ width: 100%; justify-content:center; }
}

/* ✅ Hero + nav mobile */
@media (max-width: 768px){
  .hero-media{
    height: 55vh;
    min-height: 380px;
    background-position: center center;
    background-size: contain;
    border-radius: 22px;
  }
  .hero-controls{
    margin-top: -18px;
    padding: 18px;
    gap: 12px;
  }
}

@media (max-width: 640px){
  .navlinks{ display:none; }
  .cards{ grid-template-columns: 1fr; }
  .tree-grid{ grid-template-columns: 1fr; }
}