:root{
  --primary:#003D40;
  --accent:#FFD100;
  --bg:#F6F8F8;
  --card:#ffffff;
  --text:#0f1a1b;
  --muted:#5b6b6c;
  --border: rgba(15,26,27,.10);
  --shadow: 0 16px 50px rgba(0,0,0,.10);
  --shadow2: 0 10px 24px rgba(0,0,0,.08);
  --radius:18px;
  --radius2:24px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(255,209,0,.16), transparent 60%),
    radial-gradient(1100px 650px at 85% 5%, rgba(0,61,64,.14), transparent 60%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{
  width:min(1120px,100%);
  margin:0 auto;
  padding: 0 18px;
}

/* Header */
.topbar{
  position:sticky;top:0;z-index:20;
  background: rgba(0,61,64,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
  flex-wrap:wrap;
}

.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:950;
  letter-spacing:.2px;
  color:#fff;
}
.logo-hex{
  width:36px;height:36px;border-radius:12px;
  background: linear-gradient(135deg, var(--accent), rgba(255,209,0,.55));
  position:relative;
  box-shadow: 0 18px 40px rgba(255,209,0,.18);
}
.logo-hex:after{
  content:""; position:absolute; inset:7px;
  border-radius:10px;
  background: rgba(0,61,64,.98);
}

.menu{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.menu a{
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 14px;
  transition: .15s ease;
  border: 1px solid transparent;
  font-weight:750;
}
.menu a:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}
.menu a.active{
  background: rgba(255,209,0,.14);
  border-color: rgba(255,209,0,.30);
  color:#fff;
}

.nav-cta{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px solid transparent;
  font-weight:900;
  transition: .15s ease;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px)}
.btn-primary{
  background: var(--accent);
  color:#151515;
  box-shadow: 0 18px 40px rgba(255,209,0,.22);
  border-color: rgba(0,0,0,.06);
}
.btn-primary:hover{box-shadow: 0 24px 55px rgba(255,209,0,.28)}
.btn-soft{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}
.btn-soft:hover{background: rgba(255,255,255,.14)}

/* Hero */
.hero{
  padding: 56px 0 18px;
}
.hero-wrap{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:stretch;
}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,61,64,.10);
  border: 1px solid rgba(0,61,64,.14);
  color: var(--primary);
  font-weight:900;
}

.h1{
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.03;
  margin: 14px 0 10px;
  letter-spacing:-0.03em;
}
.sub{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: clamp(15px, 1.2vw, 18px);
}

.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin-top: 14px}

.trust{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 16px;
}
.trust .chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  font-weight:800;
  color: rgba(0,61,64,.95);
}

/* Card base */
.card{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card-glow{
  position:relative;
  overflow:hidden;
}
.card-glow:before{
  content:"";
  position:absolute; inset:-120px;
  background:
    radial-gradient(700px 300px at 30% 10%, rgba(255,209,0,.22), transparent 55%),
    radial-gradient(700px 340px at 90% 30%, rgba(0,61,64,.18), transparent 60%);
  z-index:0;
}
.card-glow > *{position:relative; z-index:1}

.kpi{
  display:grid;
  gap:10px;
}
.kpi h3{margin:0 0 4px; color: rgba(0,61,64,.98); letter-spacing:-0.02em}
.kpi .line{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(0,61,64,.06);
  border: 1px solid rgba(0,61,64,.10);
}
.kpi .line strong{color: var(--primary)}
.kpi small{color: var(--muted)}

/* Sections */
.section{padding: 22px 0 56px}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  margin-bottom: 14px;
}
.section-head h2{
  margin:0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing:-0.02em;
  color: rgba(0,61,64,.98);
}
.section-head p{margin:0;color:var(--muted);line-height:1.6}

/* Pricing */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price{
  position:relative;
  overflow:hidden;
  transition: .16s ease;
}
.price:hover{transform: translateY(-3px); box-shadow: var(--shadow)}
.price:after{
  content:"";
  position:absolute; left:0; right:0; top:0; height:5px;
  background: linear-gradient(90deg, var(--accent), rgba(255,209,0,.35));
  opacity:.95;
}
.price .head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom: 8px;
}
.tag{
  font-weight:950;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,61,64,.08);
  border: 1px solid rgba(0,61,64,.14);
  color: var(--primary);
}
.money{
  margin: 10px 0 10px;
  font-size: 36px;
  letter-spacing:-0.03em;
  font-weight: 1000;
  color: rgba(0,61,64,.98);
}
.money span{font-size:14px;color:var(--muted);font-weight:700}
.features{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}
.price .btn{
  width:100%;
  margin-top: 14px;
}

/* Feature cards */
.feature{
  transition:.16s ease;
}
.feature:hover{transform: translateY(-2px)}
.feature .icon{
  width:44px; height:44px;
  border-radius: 16px;
  background: rgba(255,209,0,.22);
  border: 1px solid rgba(255,209,0,.42);
  display:flex; align-items:center; justify-content:center;
  font-weight:1000;
  color: rgba(0,61,64,.98);
  margin-bottom: 10px;
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
.faq details{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.faq summary{
  cursor:pointer;
  font-weight:950;
  color: rgba(0,61,64,.98);
}
.faq p{margin:10px 0 0; color: var(--muted); line-height:1.65}

/* Pages */
.page-title{padding: 28px 0 10px}
.page-title h1{margin:0;color: rgba(0,61,64,.98); letter-spacing:-0.03em}
.page-title p{margin:8px 0 0;color:var(--muted); line-height:1.6}

/* Footer */
.footer{
  background: #001f21;
  color: rgba(255,255,255,.92);
  padding: 34px 0;
  margin-top: 34px;
}
.footer .cols{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
.footer a{color:#fff;opacity:.92}
.footer a:hover{opacity:1}
.small{font-size:14px;color:rgba(255,255,255,.72);line-height:1.6}
hr.sep{border:0;border-top:1px solid rgba(255,255,255,.12);margin:16px 0}

/* Responsive */
@media (max-width: 980px){
  .hero-wrap{grid-template-columns: 1fr}
  .grid{grid-template-columns: 1fr}
  .footer .cols{grid-template-columns: 1fr}
  .nav-cta{width:100%; justify-content:flex-start}
}

/* Dropdown menu */
.dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropbtn{
  appearance:none;
  border:1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: .15s ease;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.dropbtn:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.dropdown.active .dropbtn{
  background: rgba(255,209,0,.14);
  border-color: rgba(255,209,0,.30);
  color:#fff;
}

.dropdown-menu{
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,26,27,.12);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
  padding: 8px;
  display:none;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.dropdown-menu a{
  display:block;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(0,61,64,.98);
  font-weight: 800;
  border: 1px solid transparent;
}

.dropdown-menu a:hover{
  background: rgba(0,61,64,.06);
  border-color: rgba(0,61,64,.10);
}

.dropdown-menu a.active{
  background: rgba(255,209,0,.22);
  border-color: rgba(255,209,0,.45);
}

/* Open on hover OR keyboard focus */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display:block;
}

.caret{opacity:.9}

/* --- Harmoniser "Offres" (button) avec les liens du menu --- */
.menu a,
.menu .dropbtn{
  color: rgba(255,255,255,.92);
  padding: 10px 12px;
  border-radius: 14px;
  transition: .15s ease;
  border: 1px solid transparent;
  font-weight: 750;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;          /* important pour la hauteur */
  font: inherit;           /* important: même police que les liens */
}

.menu .dropbtn{
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Hover identique */
.menu a:hover,
.menu .dropbtn:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
  color: #fff;
}

/* Actif identique */
.menu a.active,
.dropdown.active .dropbtn{
  background: rgba(255,209,0,.14);
  border-color: rgba(255,209,0,.30);
  color:#fff;
}

/* Retire le contour bleu moche au clic (on garde l’accessibilité) */
.menu .dropbtn:focus{
  outline: none;
}
.menu .dropbtn:focus-visible{
  outline: 2px solid rgba(255,209,0,.55);
  outline-offset: 2px;
}

/* Caret un peu plus discret */
.caret{opacity:.85}

/* --- FIX: texte invisible dans le dropdown --- */
.dropdown-menu a{
  color: rgba(0,61,64,.98) !important; /* texte sombre */
}

.dropdown-menu a:hover{
  color: rgba(0,61,64,1) !important;
}

/* Si un style global impose aussi un background sombre, on sécurise */
.dropdown-menu{
  background: rgba(255,255,255,.95) !important;
}

.btn-secondary{
  background: rgba(255,255,255,.82);
  border-color: rgba(0,61,64,.18);
  color: rgba(0,61,64,.98);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.btn-secondary:hover{
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 38px rgba(0,0,0,.10);
}