: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;
  align-items: center;
  margin-bottom: 14px;
}
.section-head h2{
  margin:0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing:-0.02em;
  align-items: center;
  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);
}
.logo-img{
  width: 36px;
  height: 36px;
  object-fit: contain;
  display:block;
}

/* Optionnel: si ton logo a un fond transparent et tu veux un petit “badge” */
.brand .logo-img{
  background: rgba(255,209,0,.12);
  border: 1px solid rgba(255,209,0,.25);
  border-radius: 12px;
  padding: 6px;
}

/* Bouton "ESPACE-CLIENT" dans la navbar */
.menu .nav-client{
  background: var(--accent);
  color: #151515 !important;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 14px 30px rgba(255,209,0,.22);
  font-weight: 1000;
  letter-spacing: .02em;
}

.menu .nav-client:hover{
  background: rgba(255,209,0,.92);
  box-shadow: 0 18px 40px rgba(255,209,0,.30);
  transform: translateY(-1px);
}

/* ESPACE-CLIENT : visible mais premium */
.menu .nav-client{
  background: rgba(255,209,0,.85);       /* moins flashy */
  color: #151515 !important;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  font-weight: 700;
  letter-spacing: .01em;
}

/* un petit outline discret, style "bouton important" */
.menu .nav-client:hover{
  background: rgba(255,209,0,.95);
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  transform: translateY(-1px);
}

/* Option : un peu plus petit que les autres */
.menu .nav-client{
  padding: 9px 11px;  /* au lieu de 10/12 */
  border-radius: 14px;
}

.stock{
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

/* Toggle facturation */
.billing-switch{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:8px;
  margin:0 auto 12px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow2);
  width:fit-content;
}

.billing-btn{
  appearance:none;
  border:1px solid transparent;
  background: transparent;
  color: rgba(0,61,64,.95);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor:pointer;
  transition:.15s ease;
}

.billing-btn:hover{
  background: rgba(0,61,64,.06);
  transform: translateY(-1px);
}

.billing-btn.active{
  background: var(--accent);
  color:#151515;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 10px 24px rgba(255,209,0,.24);
}

.billing-note{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price-detail{
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

/* Tableau domaines */
.domain-table-wrap{
  padding: 0;
  overflow: hidden;
}

.domain-table-scroll{
  overflow-x: auto;
}

.domain-table{
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.domain-table thead tr{
  background: rgba(0,61,64,.04);
}

.domain-table th{
  text-align: left;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.domain-table td{
  padding: 18px;
  border-top: 1px solid rgba(15,26,27,.08);
  vertical-align: middle;
  color: var(--text);
  line-height: 1.5;
}

.domain-table td strong{
  font-size: 18px;
  font-weight: 900;
}

.domain-table td span{
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.domain-table-action{
  text-align: right;
  white-space: nowrap;
}

.domain-table .is-featured{
  background: rgba(255,209,0,.08);
}

.domain-table .is-featured td:first-child strong{
  color: var(--brand);
}

@media (max-width: 768px){
  .domain-table{
    min-width: 680px;
  }

  .domain-table th,
  .domain-table td{
    padding: 14px 16px;
  }
}

.price-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin: 2px 0 14px;
}

.price-old{
  font-size:14px;
  color:#9aa3a7;
  text-decoration: line-through;
  font-weight:700;
}

.price-month{
  font-size:14px;
  color: var(--muted);
  font-weight:700;
}

.price-save{
  font-size:13px;
  color: #0b6b52;
  font-weight:800;
}

.vps-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  padding:24px;
}

.vps-top h2{
  margin:0 0 8px;
  color: rgba(0,61,64,.98);
}

.vps-top p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  max-width:760px;
}

.vps-top-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.vps-switch-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
  flex-shrink:0;
}

.vps-switch-labels{
  display:flex;
  align-items:center;
  gap:12px;
}

.vps-switch-text{
  font-size:14px;
  font-weight:900;
  color:var(--muted);
  transition:.15s ease;
}

.vps-switch-text.is-active{
  color:rgba(0,61,64,.98);
}

.vps-toggle{
  appearance:none;
  -webkit-appearance:none;
  border:none;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.vps-toggle-track{
  width:68px;
  height:38px;
  border-radius:999px;
  background:rgba(15,26,27,.16);
  display:block;
  position:relative;
  transition:.18s ease;
  box-shadow: inset 0 0 0 1px rgba(15,26,27,.08);
}

.vps-toggle-thumb{
  position:absolute;
  top:3px;
  left:3px;
  width:32px;
  height:32px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.18);
  transition:.18s ease;
}

.vps-toggle.is-ryzen .vps-toggle-track{
  background: #19c15c;
}

.vps-toggle.is-ryzen .vps-toggle-thumb{
  transform: translateX(30px);
}

.vps-pane{
  display:none;
}

.vps-pane.active{
  display:block;
}

.vps-grid{
  align-items:stretch;
}

.vps-card{
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.88);
  border:1px solid var(--border);
  box-shadow:var(--shadow2);
}

.vps-card .head{
  margin-bottom:10px;
}

.vps-card .head h3{
  margin:0 0 8px;
}

.vps-card .money{
  margin:14px 0 8px;
}

.vps-card .features{
  margin:0 0 18px;
}

.vps-note{
  margin:14px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.vps-card-featured{
  border-color: rgba(255,209,0,.45);
  box-shadow: 0 16px 40px rgba(255,209,0,.12);
}

.vps-tag-featured{
  background: rgba(255,209,0,.18);
  border-color: rgba(255,209,0,.36);
}

.vps-compare-clean{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

@media (max-width: 980px){
  .vps-top{
    padding:20px;
  }

  .vps-compare-clean{
    grid-template-columns:1fr;
  }
}

.vps-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.vps-section-head h2{
  margin:0 0 10px;
}

.vps-section-head .billing-switch{
  margin-top:6px;
}

.billing-switch{
  margin:0 auto 12px;
}

.vps-section-head,
.section-head{
  display:block;
}

.vps-section-head{
  display:block;
  margin-bottom:18px;
}

.vps-title-row{
  display:flex;
  align-items:center;
  width:100%;
  gap:16px;
  margin-bottom:8px;
}

.vps-title-row h2{
  margin:0;
}

.vps-switch-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.vps-family-desc{
  margin:0;
  color:var(--muted);
}

.pdf-card{
  padding:18px;
}

.pdf-viewer{
  display:block;
  width:100%;
  height:900px;
  border:none;
  border-radius:16px;
  background:#fff;
}

.pdf-actions{
  margin-top:16px;
  display:flex;
  justify-content:flex-end;
}

@media (max-width: 768px){
  .pdf-viewer{
    height:70vh;
  }

  .pdf-actions{
    justify-content:center;
  }
}