:root{
  --bg:#f6f9ff;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#4b5563;

  --primary:#1d4ed8;
  --primary2:#60a5fa;
  --success:#16a34a;

  --border:rgba(15,23,42,.10);
  --shadow:0 18px 48px rgba(2,8,23,.10);
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Helvetica,Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}

.container{
  width:min(var(--max),100%);
  margin:0 auto;
  padding:22px;
}
.muted{color:var(--muted)}
.small{font-size:13px}
.accent{color:var(--primary)}

/* Topbar */
.topbar{
  background:rgba(29,78,216,.07);
  border-bottom:1px solid rgba(29,78,216,.16);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-top:12px;
  padding-bottom:12px;
}
.topbar__left{display:flex;align-items:center;gap:10px}
.topbar__right{font-size:13.5px}
@media (max-width:860px){
  .topbar__inner{flex-direction:column;align-items:flex-start}
}

/* Badge */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 12px 28px rgba(2,8,23,.06);
  font-weight:900;
  font-size:12.5px;
}
.badge--ok::before{
  content:"✓";
  display:inline-flex;
  width:18px;height:18px;
  align-items:center;justify-content:center;
  border-radius:999px;
  background:rgba(34,197,94,.14);
  color:var(--success);
  font-size:12px;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(246,249,255,.75);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:230px;
}
.brand__img{
  width:148px;
  height:auto;
}
.brand__text{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.1;
}
.brand__text strong{letter-spacing:.2px}
.brand__text .muted{font-size:13px}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  font-weight:800;
  color:rgba(15,23,42,.78);
}
.nav a{padding:10px 8px;border-radius:10px}
.nav a:hover{background:rgba(15,23,42,.04);text-decoration:none}

.header__cta{display:flex;gap:10px;align-items:center}

.burger{
  display:none;
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 10px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:20px;
  height:2px;
  background:rgba(15,23,42,.70);
  margin:4px 0;
}

.mobileNav{display:grid;gap:10px;padding-bottom:18px}
.mobileNav a{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  font-weight:900;
}
.mobileNav .btn{width:fit-content}

@media (max-width:980px){
  .nav{display:none}
  .header__cta{display:none}
  .burger{display:block}
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:900;
  cursor:pointer;
  background:#fff;
}
.btn:hover{text-decoration:none;filter:brightness(.99)}
.btn--primary{
  background:var(--primary);
  color:#fff;
  border-color:transparent;
  box-shadow:0 16px 40px rgba(29,78,216,.22);
}
.btn--ghost{background:#fff}
.btn--lg{padding:14px 18px;border-radius:16px}

/* Hero */
.hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
  align-items:stretch;
  padding-top:18px;
}
@media (max-width:980px){ .hero{grid-template-columns:1fr} }

.hero__left{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px;
}
.hero h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.4px;
}
@media (max-width:540px){ .hero h1{font-size:36px} }

.lead{margin:0 0 16px;color:var(--muted);font-size:16.8px}
.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}

.checks{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:10px}
.checks li{display:flex;align-items:flex-start;gap:10px;color:rgba(15,23,42,.82);font-weight:800}
.checkIconImg{width:22px;height:22px;flex:0 0 auto;margin-top:1px}

.noteBox{
  margin-top:16px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(29,78,216,.18);
  background:rgba(29,78,216,.06);
  color:rgba(15,23,42,.84);
}

.heroCard{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  min-height:360px;
  background:#e5eefc;
}
.heroCard img{width:100%;height:100%;object-fit:cover}
.heroCard__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(2,8,23,0) 0%,rgba(2,8,23,.18) 55%,rgba(2,8,23,.55) 100%);
}
.heroCard__label{
  position:absolute;
  left:16px;right:16px;bottom:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#fff;
}
.pill{
  display:inline-flex;
  width:fit-content;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  font-weight:900;
}

/* Sections */
.section{margin-top:22px}
.section__head{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.section__head h2{margin:0;font-size:30px;letter-spacing:-.2px}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media (max-width:980px){ .grid3{grid-template-columns:1fr} }

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.card h3{margin:8px 0 6px;font-size:18px}
.card p{margin:0}

.serviceIcon{
  width:46px;height:46px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(29,78,216,.08);
  border:1px solid rgba(29,78,216,.16);
}
.serviceIcon img{width:28px;height:28px;object-fit:contain}

/* Banner */
.banner{margin-top:18px}
.banner__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:stretch;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
@media (max-width:980px){ .banner__inner{grid-template-columns:1fr} }
.banner__text{padding:22px}
.banner__text h2{margin:0 0 6px;font-size:26px;letter-spacing:-.2px}
.banner__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.banner__img{background:#eef5ff;min-height:260px}
.banner__img img{width:100%;height:100%;object-fit:cover}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media (max-width:980px){ .steps{grid-template-columns:1fr} }
.step{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.step__n{
  width:30px;height:30px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:var(--primary);color:#fff;font-weight:900;
  box-shadow:0 16px 40px rgba(29,78,216,.20);
  margin-bottom:10px;
}
.step h3{margin:0 0 6px;font-size:18px}
.step p{margin:0}

.ctaStrip{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:var(--radius);
  background:rgba(29,78,216,.06);
  border:1px solid rgba(29,78,216,.16);
}
@media (max-width:720px){ .ctaStrip{flex-direction:column;align-items:flex-start} }

/* FAQ */
.faq{display:grid;gap:10px}
.faq__item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:12px 14px;
}
.faq__item summary{cursor:pointer;font-weight:900;list-style:none}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item p{margin:10px 0 0}

/* Contact */
.contact{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px;
  align-items:stretch;
}
@media (max-width:980px){ .contact{grid-template-columns:1fr} }
.contact__left{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
}
.contact__left h2{margin:0 0 6px}
.contact__cta{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.contact__right{display:grid;gap:12px}
.miniCard{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:18px;
}
.miniCard p{margin:6px 0 0}

/* Footer */
.footer{
  margin-top:24px;
  border-top:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.55);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding-top:16px;
  padding-bottom:16px;
}
.footer__links{display:flex;gap:14px;font-weight:900;color:rgba(15,23,42,.72)}
@media (max-width:720px){ .footer__inner{flex-direction:column;align-items:flex-start} }

/* Modal consent */
.modalOverlay{
  position:fixed;
  inset:0;
  background:rgba(2,8,23,.68);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.modalOverlay.open{display:flex}

.modal{
  width:min(720px, 100%);
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  box-shadow:0 28px 90px rgba(2,8,23,.55);
}
.modalHeader{
  padding:16px 20px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.modalHeader strong{font-size:16px}
.iconBtn{
  background:rgba(2,8,23,.04);
  border:1px solid var(--border);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:900;
}
.iconBtn:hover{background:rgba(2,8,23,.06)}

.modalBody{padding:16px 20px}
.legal{color:var(--muted);font-size:13px;line-height:1.55}
.hr{height:1px;background:var(--border);border:0;margin:0}
.pillRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(2,8,23,.02);
}
.mobileNav[hidden] {
  display: none !important;
}
/* ===== Mobile polish ===== */
@media (max-width: 640px){

  .container{ padding: 16px; }

  /* Header */
  .brand__img{ width: 132px; }
  .header__inner{ gap: 10px; }

  /* Hero */
  .hero{ padding-top: 12px; gap: 14px; }
  .hero__left{ padding: 18px; }
  .hero h1{
    font-size: 32px;
    line-height: 1.08;
  }
  .lead{
    font-size: 15.5px;
    line-height: 1.55;
  }

  /* CTA full width */
  .hero__cta{
    display: grid;
    gap: 10px;
  }
  .hero__cta .btn{
    width: 100%;
  }

  /* Checks + note box */
  .checks{ margin-top: 14px; }
  .noteBox{ font-size: 14px; }

  /* Hero image shorter */
  .heroCard{ min-height: 220px; }

  /* Banner */
  .banner__text{ padding: 18px; }
  .banner__img{ min-height: 200px; }

  /* Titles */
  .section__head h2{ font-size: 24px; }

  /* CTA strip */
  .ctaStrip{
    padding: 14px;
  }
  .ctaStrip .btn{ width: 100%; }

  /* Footer */
  .footer__links{ flex-wrap: wrap; gap: 10px; }
}
/* Inverser l'ordre dans le hero sur mobile (image avant texte) */
@media (max-width: 640px){
  .hero{
    display: flex;
    flex-direction: column;
  }

  .hero__right{ order: 1; }
  .hero__left{ order: 2; }

  /* Image hero moins haute pour garder le CTA visible */
  .heroCard{ min-height: 220px; }

  /* CTA full width + compact */
  .hero__cta{
    display: grid;
    gap: 10px;
  }
  .hero__cta .btn{
    width: 100%;
  }
}
