:root{
  --bg:#ffffff;
  --soft:#F3FAF6;
  --soft2:#F7FBF8;
  --text:#0f172a;
  --muted:#475569;
  --line:#dbe7df;

  --green:#1E8E55;
  --green2:#136C3F;

  --blue:#1f5eff;
  --shadow: 0 16px 40px rgba(15, 23, 42, .08);
  --r: 18px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--text); background:var(--bg); }
a{ color: var(--green); text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{ max-width: 1120px; margin: 0 auto; padding: 0 18px; }

.header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 0;
  gap: 14px;
}

/* ===== LOGO + TITRE AGRANDIS ===== */
.brand{
  display:flex;
  align-items:center;
  gap:18px;
}
.brand__logo{
  width:200px;
  height:auto;
  object-fit:contain;
}
.brand__name{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
}
.brand__tag{
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

.nav{ display:flex; align-items:center; gap: 16px; flex-wrap: wrap; }
.nav a{ color: var(--muted); font-weight: 800; }
.nav a:hover{ color: var(--text); text-decoration:none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px; border-radius: 999px;
  border:1px solid var(--line);
  font-weight: 900;
  background:#fff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  cursor: pointer;
}
.btn:hover{ text-decoration:none; border-color:#cfe0d7; }
.btn--primary{
  background: linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  color: #fff;
  border-color: transparent;
}
.btn--primary:hover{ filter: brightness(.98); }
.btn--ghost{ background:#fff; }

/* Fix : bouton Contact du menu doit rester blanc */
.nav a.btn--primary{ color:#fff !important; }
.nav a.btn--primary:hover{ color:#fff !important; }

.hero{
  padding: 56px 0 26px;
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(30,142,85,.14) 0%, rgba(30,142,85,0) 60%),
    radial-gradient(900px 380px at 90% 10%, rgba(31,94,255,.10) 0%, rgba(31,94,255,0) 55%),
    linear-gradient(180deg, #fff 0%, var(--soft2) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items:center; }

.pill{
  display:inline-flex; gap:8px; align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding: 8px 12px;
  font-weight: 900;
  color: var(--muted);
  width: fit-content;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

h1{ font-size: 46px; line-height: 1.05; margin: 14px 0 10px; letter-spacing: -.6px; }
.lead{ font-size: 18px; color: var(--muted); line-height: 1.55; margin: 0; }

.hero__badges{ display:flex; flex-wrap:wrap; gap: 10px; margin: 18px 0 0; }
.badge{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding: 8px 10px;
  font-weight: 900;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  font-size: 13px;
}

.hero__actions{ display:flex; gap: 10px; flex-wrap:wrap; margin-top: 18px; }
.mini{ margin-top: 14px; color: var(--muted); font-size: 13px; }

/* Zone géographique plus visible */
.mini--zone{
  font-size: 15px;
  font-weight: 900;
}
.mini--zone strong{
  font-weight: 900;
  color: var(--text);
}

.section{ padding: 54px 0; }
.section--alt{ background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head h2{ margin:0; font-size: 32px; letter-spacing: -.4px; }
.sub{ color: var(--muted); margin: 8px 0 0; }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  box-shadow: var(--shadow);
}

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }

.visual{ padding: 18px; }
.visual__top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 10px; }
.visual__title{ font-weight: 900; }
.visual__sub{ color: var(--muted); font-size: 13px; margin-top: 4px; }
.chip{
  background: rgba(30,142,85,.12);
  color: var(--green2);
  border: 1px solid rgba(30,142,85,.18);
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.visual__rows{ margin-top: 14px; display:grid; gap: 10px; }
.visual__row{ display:flex; gap: 10px; align-items:flex-start; padding: 12px; border: 1px dashed #cfe0d7; border-radius: 14px; background: #fff; }
.dot{ width: 12px; height: 12px; border-radius: 99px; margin-top: 4px; }
.dot--green{ background: var(--green); }
.dot--blue{ background: var(--blue); }
.row__title{ font-weight: 900; }
.row__text{ color: var(--muted); font-size: 13px; margin-top: 3px; }

.visual__cta{ margin-top: 14px; display:flex; gap: 10px; align-items:center; justify-content:space-between; flex-wrap: wrap; }
.visual__note{ color: var(--muted); font-size: 13px; }

.tag{
  display:inline-flex;
  font-weight: 900;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  border: 1px solid var(--line);
  width: fit-content;
}
.tag--green{ background: rgba(30,142,85,.12); color: var(--green2); border-color: rgba(30,142,85,.20); }
.tag--blue{ background: rgba(31,94,255,.10); color: #1b3fbf; border-color: rgba(31,94,255,.18); }

.price h3{ margin: 10px 0 0; }
.price--featured{ border-color: rgba(30,142,85,.28); box-shadow: 0 18px 50px rgba(30,142,85,.12); }
.list{ margin: 12px 0 0 18px; color: var(--muted); line-height: 1.55; }
.price__bottom{ display:flex; align-items:center; justify-content:space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.from{ font-size: 15px; color: var(--text); }
.note{ margin-top: 12px; color: var(--muted); font-size: 13px; }

.faq{ display:grid; gap: 10px; margin-top: 18px; }
details summary{ cursor:pointer; font-weight: 900; }
details p{ color: var(--muted); margin: 10px 0 0; line-height: 1.55; }

.form{ display:grid; gap: 10px; }
label{ font-size: 13px; color: var(--muted); font-weight: 900; }
input, textarea, select{
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 14px;
}
.contact{ color: var(--muted); line-height: 1.6; }
.hint{
  margin-top: 12px;
  border: 1px dashed #cfe0d7;
  background: #f7fffb;
  padding: 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}

.hr{ border:0; border-top:1px solid var(--line); margin:14px 0; }
.checks{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
.check{ display:flex; gap:8px; align-items:center; color:var(--muted); font-weight:900; }

.simout{ display:grid; gap:10px; margin-top: 6px; }
.simblock{ border:1px dashed #cfe0d7; background:#fff; border-radius:14px; padding:12px; }
.simk{ color:var(--muted); font-size:13px; font-weight:900; }
.simv{ font-size:16px; }

.footer{
  background: #0b1220;
  color: #e7f1eb;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner{ display:flex; justify-content:space-between; gap: 14px; align-items:center; flex-wrap: wrap; }
.footer__left{ display:flex; align-items:center; gap: 12px; }
.footer__logo{ width: 54px; height: 54px; object-fit: contain; }
.footer__name{ font-weight: 900; letter-spacing: .5px; }
.footer__tag{ font-size: 12px; opacity: .8; }
.footer__right{ text-align: right; }
.footer__right .mini{ color: rgba(231,241,235,.75); }

/* ===== Tabs ===== */
.tabs{ margin-top: 18px; }

.tabs__bar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  width: fit-content;
}

/* 8 onglets : barre scrollable sur petits écrans */
.tabs__bar--scroll{
  width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}
.tabs__bar--scroll::-webkit-scrollbar{ height: 8px; }
.tabs__bar--scroll::-webkit-scrollbar-thumb{ background: #dbe7df; border-radius: 999px; }

.tabbtn{
  appearance:none;
  border:1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  white-space: nowrap;
}
.tabbtn:hover{
  color: var(--text);
  background: var(--soft2);
  border-color: var(--line);
}
.tabbtn.is-active{
  background: linear-gradient(180deg, var(--green) 0%, var(--green2) 100%);
  color:#fff;
  border-color: transparent;
}
.tabpanes{ margin-top: 14px; }
.tabpane{ display:none; }
.tabpane.is-active{ display:block; }

/* ===== Schéma ===== */
.schema{
  width: 100%;
  border: 1px dashed #cfe0d7;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}
.schema img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 12px;
}

/* ===== Tables ===== */
.tablewrap{
  border:1px solid var(--line);
  border-radius: 14px;
  overflow:auto;
  background:#fff;
}
.table{
  width:100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th{
  font-weight: 900;
  background: var(--soft2);
}
.table tr:last-child td{ border-bottom:0; }

@media (max-width: 920px){
  .hero__grid{ grid-template-columns: 1fr; }
  h1{ font-size: 36px; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .nav{ gap: 10px; }
}

@media (max-width: 520px){
  .brand__logo{ width:65px; height:65px; }
  .brand__name{ font-size:20px; }
  .brand__tag{ font-size:13px; }

  .nav a{ display:none; }
  .nav a.btn{ display:inline-flex; }
}
/* ===== Fix liens/footer + boutons chapitres ===== */

/* 1) Footer : rendre les liens visibles et clairement cliquables */
.footer a{
  color: #e7f1eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer a:hover{
  opacity: .9;
}

/* 2) Boutons "Voir le chapitre..." dans les 3 cartes (benefits) */
.jumpdoc.btn{
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
}

/* 3) Sur mobile : éviter que le bouton fasse trop "gros pavé" */
@media (max-width: 520px){
  .jumpdoc.btn{
    width: 100%;
  }
}
.schema img{
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
}