@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

/* Thème "IDF" — direction artistique différente (propre, lumineux, CTA orange) */
:root{
  --bg:#f5f7fb;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#5b6476;
  --brand:#0b5ed7;
  --brand2:#083c93;
  --accent:#ff6a2b;
  --accent2:#ff8a2a;
  --danger:#b4233a;
  --ok:#16a34a;
  --border:#e6e9f1;
  --shadow:0 18px 40px rgba(15, 23, 42, .10);
  --shadow2:0 10px 24px rgba(15, 23, 42, .08);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
[hidden]{display:none !important;}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
body{
  margin:0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color:var(--text);
  background: var(--bg);
  line-height:1.55;
}
a{color:inherit}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto;}

.topstrip{
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.topstrip-inner{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:flex-start;
  padding:10px 0;
  color: rgba(15,23,42,.78);
  font-size:.92rem;
}
.topstrip-item{display:flex; align-items:center; gap:10px;}
.topstrip-ico{
  width:10px;height:10px;border-radius:999px;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(11, 94, 215, .10);
  flex:0 0 auto;
}
.topstrip-ico-clock{
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(255, 106, 43, .12);
}
@media (max-width: 720px){
  /* Keep both items on a single row (2 columns) */
  .topstrip-inner{
    flex-wrap:nowrap;
    gap:12px;
    font-size:.82rem;
  }
  .topstrip-item{
    flex:1 1 0;
    min-width:0;
  }
  /* Mobile: keep header lighter */
  .topstrip{display:none;}
}

.topbar{
  position:sticky; top:0; z-index:20;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
  backdrop-filter: blur(10px);
}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; padding:12px 0;}
.topbar-v2{gap:16px;}
.brand{display:flex; gap:0; align-items:center; text-decoration:none;}
.brand-v2{flex:0 0 auto;}
.logo{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 25px rgba(30,99,255,.18);
}
.logo-img{
  width:52px;height:52px;
  display:block;
  border-radius: 12px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: 0 10px 18px rgba(15, 23, 42, .10);
}
.brand-name{font-weight:900; letter-spacing:.2px;}
.nav-main{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex:1;
  min-width:0;
}
.nav-item{
  color: rgba(15,23,42,.86);
  text-decoration:none;
  font-weight:700;
  font-size:.98rem;
  padding:10px 8px;
  border-radius: 12px;
}
.nav-item:hover{background: rgba(11,94,215,.06); color: var(--brand);}
.nav-dd{position:relative;}
.nav-dd-btn{
  border:0;
  background: transparent;
  font: inherit;
  color: rgba(15,23,42,.86);
  font-weight:700;
  font-size:.98rem;
  padding:10px 10px;
  border-radius: 12px;
  cursor:pointer;
}
.nav-dd-btn:hover{background: rgba(11,94,215,.06); color: var(--brand);}
.nav-dd-panel{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, 90vw);
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px rgba(15,23,42,.18);
  z-index: 60;
}
.nav-dd::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:100%;
  height: 12px;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel,
.nav-dd.is-open .nav-dd-panel{display:block;}
.dd-link{
  display:block;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  border:1px solid var(--border);
  background: #fff;
  font-weight:700;
  color: rgba(15,23,42,.88);
  margin-bottom:8px;
}
.dd-link:hover{border-color: rgba(11,94,215,.28); box-shadow: 0 0 0 3px rgba(11,94,215,.10);}
.dd-more{
  display:block;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  font-weight:800;
  color: var(--brand);
  border:1px dashed rgba(11,94,215,.28);
  background: rgba(11,94,215,.06);
  text-align:center;
}
.header-actions{display:flex; align-items:center; justify-content:flex-end; gap:12px; flex:0 0 auto;}
.cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration:none;
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-weight:800;
  box-shadow: 0 18px 35px rgba(255, 106, 43, .26);
  white-space:nowrap;
}
.cta-btn:hover{transform: translateY(-1px); box-shadow: 0 22px 44px rgba(255, 106, 43, .30);}

.hamburger{display:none;}
@media (max-width: 980px){
  .nav-main{display:none;}
  .hamburger{display:inline-flex;}
  .cta-btn{display:none;}
}
.hamburger{
  width:44px;height:44px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .06);
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  cursor:pointer;
}
.hamburger span{
  width:18px;
  height:2px;
  background: rgba(15, 23, 42, .80);
  border-radius:999px;
}

.mnav-backdrop{
  position:fixed;
  inset:0;
  background: rgba(13,19,38,.42);
  z-index: 80;
}
.mnav{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:min(420px, 92vw);
  background:#fff;
  border-left:1px solid var(--border);
  box-shadow: 0 30px 60px rgba(18,31,53,.22);
  z-index: 90;
  display:flex;
  flex-direction:column;
}
.menu-open, .menu-open body{overflow:hidden;}
.mnav-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px;
  border-bottom:1px solid var(--border);
}
.mnav-title{font-weight:900;}
.mnav-close{
  width:42px;height:42px;
  border-radius: 14px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.mnav-body{padding:12px 14px; overflow:auto;}
.mnav-links{display:grid; grid-template-columns: 1fr; gap:8px; margin-bottom:10px;}
.mnav-sep{height:1px; background: var(--border); margin: 10px 0;}
.mnav-region{
  border:1px solid var(--border);
  border-radius: 14px;
  background: rgba(245,247,252,.7);
  margin-bottom:10px;
  overflow:hidden;
}
.mnav-region summary{
  list-style:none;
  cursor:pointer;
  padding:12px 12px;
  font-weight:900;
}
.mnav-region summary::-webkit-details-marker{display:none;}
.mnav-cities{
  padding: 0 12px 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
}
.mnav-city{
  display:block;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  border:1px solid var(--border);
  background:#fff;
}
.mnav-more{
  display:block;
  text-align:center;
  padding:10px 10px;
  border-radius: 12px;
  text-decoration:none;
  font-weight:900;
  color: var(--brand);
  border:1px dashed rgba(30,99,255,.28);
  background: rgba(30,99,255,.05);
}

.sticky-cta{
  position:fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a2a, #ff5a1f);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow: 0 18px 35px rgba(255, 138, 42, .28);
}
@media (max-width: 720px){
  /* Mobile: floating "form" icon (less intrusive than a full-width bar) */
  .sticky-cta{
    left:auto;
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    padding: 0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 0; /* hide text visually, keep aria-label */
    border-radius: 999px;
    box-shadow: 0 22px 44px rgba(255, 138, 42, .32);
  }
  .sticky-cta::before{
    content:"✎";
    font-size: 22px;
    line-height: 1;
  }
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  text-decoration:none;
  padding:9px 12px; border-radius:999px;
  border:1px solid rgba(11,94,215,.18);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
}
.pill:hover{transform: translateY(-1px); box-shadow: 0 14px 26px rgba(15,23,42,.10);}
.pill strong{font-weight:800}
.pill-ghost{
  border-color: rgba(18,31,53,.16);
  background: rgba(255,255,255,.88);
  color: var(--text);
}
.pill-xs{padding:6px 10px; font-size:.92rem;}
.pill-cta{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#ffffff;
  box-shadow: 0 18px 35px rgba(255, 106, 43, .22);
}
.pill-cta:hover{
  box-shadow: 0 22px 44px rgba(255, 106, 43, .28);
}

/* Legacy header CTA (kept for compatibility) */
.pill-cta-devis{padding: 14px 30px; font-size: 1.06rem; white-space: nowrap;}

.topbar a{color:var(--text);}
.topbar .brand-name{color:var(--text);}

/* Dropdown panels have a white background: override the topbar link color */
.topbar .nav-region-panel .nav-link{color: var(--text);}

.topbar .nav-region-panel .nav-more{color: var(--brand);}
.topbar .nav-region-panel .nav-region-title{color: var(--text);}

.nav-region-panel{
  display:none;
  position:absolute;
  top: 100%;
  margin-top: 10px;
  right: 0;
  left: auto;
  width: min(360px, 92vw);
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border:1px solid var(--border);
  box-shadow: 0 20px 45px rgba(18,31,53,.16);
  z-index: 40;
}
.nav-region-item::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height: 12px;
}
.nav-region-item:hover .nav-region-panel,
.nav-region-item:focus-within .nav-region-panel{display:block;}
.nav-region-panel[data-align="left"]{left:0; right:auto;}
.nav-region-panel[data-align="right"]{right:0; left:auto;}
@media (max-width: 720px){
  .nav-region-panel{position:fixed; left: 20px; right: 20px; width:auto;}
}
.nav-region-title{font-weight:900; margin:2px 0 10px;}
.nav-cities{padding: 0 12px 12px; display:flex; flex-wrap:wrap; gap:8px;}
.nav-region-panel .nav-cities{
  padding: 0;
  display:grid;
  grid-template-columns: 1fr;
  gap:6px;
  max-height: min(56vh, 520px);
  overflow:auto;
}
@media (min-width: 820px){
  .nav-region-panel .nav-cities{grid-template-columns: 1fr 1fr;}
}
.nav-link{
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  text-decoration:none;
  border:1px solid var(--border);
  background: #ffffff;
  font-size:.92rem;
}
.nav-region-panel .nav-link{
  display:block;
  border-radius: 12px;
  padding:10px 10px;
}
.nav-link[aria-current="page"]{border-color: rgba(30,99,255,.35); box-shadow: 0 0 0 3px rgba(30,99,255,.10);}
.nav-more{
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:900;
  color: var(--brand);
}
.nav-region-panel .nav-more{
  justify-content:center;
  border:1px dashed rgba(30,99,255,.28);
  border-radius: 12px;
  background: rgba(30,99,255,.05);
}

.faq{
  width:min(880px, 100%);
  margin: 0 auto;
}
.faq-list{display:flex; flex-direction:column; gap:14px;}
.faq-item{
  border:1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(18,31,53,.06);
  overflow:hidden;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  padding:16px 16px;
  display:flex;
  align-items:center;
  gap:12px;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-ico{
  width:22px;height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: var(--brand);
  border:1px solid rgba(30,99,255,.25);
  background: rgba(30,99,255,.06);
  flex:0 0 auto;
}
.faq-q{font-weight:800;}
.faq-chev{
  margin-left:auto;
  width:10px;height:10px;
  border-right:2px solid rgba(16,33,55,.55);
  border-bottom:2px solid rgba(16,33,55,.55);
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.faq-item[open] .faq-chev{transform: rotate(-135deg);}
.faq-item .answer{
  padding: 0 16px 16px;
  color: var(--muted);
  line-height:1.6;
}

.partners-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){.partners-grid{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 640px){.partners-grid{grid-template-columns: 1fr;}}
.partner-card{
  border:1px solid var(--border);
  border-radius: 16px;
  background:#fff;
  padding:14px 14px;
  box-shadow: 0 10px 22px rgba(18,31,53,.06);
}
.partner-name{font-weight:900;}
.partner-cat{color: var(--muted); font-size:.92rem; margin-top:2px;}
.partner-meta{color: rgba(16,33,55,.72); font-size:.92rem; margin-top:8px;}
.partner-link{display:inline-block; margin-top:10px; font-weight:900; color: var(--brand); text-decoration:none;}
.partner-link:hover{text-decoration:underline;}

.themes-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:12px;
}
@media (max-width: 980px){.themes-grid{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 720px){.themes-grid{grid-template-columns: 1fr;}}
.theme-card{
  display:block;
  text-decoration:none;
  border:1px solid var(--border);
  border-radius: 18px;
  background:#fff;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(18,31,53,.06);
}
.theme-card:hover{transform: translateY(-1px); box-shadow: 0 16px 28px rgba(18,31,53,.10);}
.theme-media{height:120px; background: linear-gradient(135deg, rgba(30,99,255,.18), rgba(255,106,43,.18)); position:relative;}
.theme-media img{width:100%; height:100%; object-fit:cover; display:block;}
.theme-ph{
  position:absolute; inset:0;
  background:
    radial-gradient(700px 240px at 20% 20%, rgba(255,255,255,.65), transparent 55%),
    linear-gradient(135deg, rgba(30,99,255,.25), rgba(255,106,43,.22));
}
.theme-body{padding:12px 12px;}
.theme-title{font-weight:1000;}
.theme-sub{margin-top:6px; color: var(--muted); font-size:.92rem; line-height:1.35;}

.zones-wrap{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:start;
  margin-top:12px;
}
@media (max-width: 980px){.zones-wrap{grid-template-columns:1fr;}}
.zones-map{
  height: 360px;
  border-radius: 16px;
  border:1px solid var(--border);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 22px rgba(18,31,53,.06);
}
.zones-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  margin-top:10px;
}
@media (max-width: 720px){.zones-grid{grid-template-columns:1fr;}}
.zone-title a{color:var(--text); text-decoration:none; font-weight:900;}
.zone-title a:hover{text-decoration:underline;}
.zone-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px;}

.ms{margin-top:14px;}
.ms-top{margin-bottom:10px;}
.ms-stepline{display:flex; gap:10px; flex-wrap:wrap; font-size:.9rem; color: var(--muted);}
.ms-step{padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#fff;}
.ms-step.is-active{color: var(--text); border-color: rgba(30,99,255,.35); box-shadow: 0 0 0 3px rgba(30,99,255,.10);}
.ms-step.is-done{color: rgba(16,33,55,.75);}
.ms-progress{height:8px; background: rgba(18,31,53,.06); border-radius:999px; overflow:hidden; margin-top:10px;}
.ms-bar{height:100%; width:33%; background: linear-gradient(135deg, var(--brand), var(--brand2));}
.ms-step-panel{margin-top:12px;}
.ms-title{font-size:1.05rem; font-weight:900; margin:6px 0 4px;}
.ms-help{color: var(--muted); font-size:.92rem;}
.ms-actions{display:flex; gap:10px; margin-top:12px;}
.ms-actions .pill{flex:1; justify-content:center;}

.row-between{display:flex; align-items:center; justify-content:space-between; gap:10px;}
.msg-toggle{display:none;}
.optional-msg{margin-top:8px;}

.choice-grid{display:grid; grid-template-columns: 1fr; gap:10px; margin-top:12px;}
@media (min-width: 980px){
  .choice-grid{grid-template-columns: 1fr 1fr;}
}
.choice{
  width:100%;
  text-align:left;
  border:1px solid var(--border);
  background:#ffffff;
  border-radius: 16px;
  padding:12px 12px;
  cursor:pointer;
  display:flex;
  gap:12px;
  align-items:flex-start;
  box-shadow: 0 10px 22px rgba(18,31,53,.06);
}
.choice:hover{transform: translateY(-1px); box-shadow: 0 16px 28px rgba(18,31,53,.09);}
.choice.is-selected{border-color: rgba(30,99,255,.35); box-shadow: 0 0 0 4px rgba(30,99,255,.10), 0 16px 28px rgba(18,31,53,.09);}
.choice-ico{
  width:46px; height:46px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.70);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.70), rgba(255,255,255,.05) 45%, rgba(255,255,255,0) 70%),
    linear-gradient(135deg, rgba(11,94,215,.20), rgba(255,106,43,.22));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  color: rgba(15,23,42,.86);
  box-shadow: 0 12px 26px rgba(15,23,42,.12);
}
.choice-ico svg{width:22px; height:22px;}
.choice-body{display:block; min-width:0;}
.choice-title{font-weight:900; display:block;}
.choice-sub{display:block; color: var(--muted); font-size:.92rem; margin-top:2px;}
.choice.is-selected .choice-ico{
  border-color: rgba(11,94,215,.28);
  box-shadow: 0 0 0 4px rgba(11,94,215,.10), 0 18px 32px rgba(15,23,42,.12);
}

/* (Step 2) uses the same .choice card style as step 1 for consistency */

.hero{padding:34px 0 10px;}

/* Hero split (inspiration "abri piscine"): background image + texte à gauche + formulaire à droite */
.hero.hero-v2{
  position:relative;
  padding: 44px 0 30px;
  color:#fff;
  overflow:hidden;
}
.hero.hero-v2 .container{position:relative; z-index:2;}
.hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(10,18,36,.88) 0%, rgba(10,18,36,.72) 45%, rgba(10,18,36,.18) 100%),
    radial-gradient(900px 520px at 20% 10%, rgba(255, 106, 43, .26), transparent 60%),
    radial-gradient(900px 520px at 70% 30%, rgba(11, 94, 215, .22), transparent 65%);
}
.hero-split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items:start;
}
@media (max-width: 980px){
  .hero-split{grid-template-columns: 1fr; gap:18px;}
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  font-weight:800;
  color: rgba(255,255,255,.92);
  margin-bottom:14px;
}
.hero-copy h1{
  font-family: "Space Grotesk", "Manrope", ui-sans-serif, system-ui;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  margin: 0 0 14px;
  letter-spacing: -0.6px;
}
.hero-copy h1::after{
  content:"";
  display:block;
  width: 74px;
  height: 4px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  margin-top: 14px;
}
.hero-sub{
  margin:0 0 16px;
  font-size: 1.06rem;
  color: rgba(255,255,255,.86);
}
.hero-points{
  list-style:none;
  padding:0;
  margin: 0 0 16px;
  display:grid;
  gap:10px;
}
.hero-point{display:flex; gap:10px; align-items:flex-start; color: rgba(255,255,255,.90); font-weight:600;}
.hero-check{
  width:18px;height:18px;border-radius:6px;
  background: rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.26);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, .10);
  flex:0 0 auto;
  margin-top:2px;
  position:relative;
}
.hero-check::after{
  content:"";
  position:absolute;
  left:5px; top:3px;
  width:5px; height:9px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform: rotate(40deg);
}
.hero-badges .badges{margin-top:10px;}
.hero-v2 .badge{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
}
.hero-v2 .badge-dot{background: var(--accent);}
.hero-note{
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
.hero-form{
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  color: var(--text);
}
.hero-form #devis{max-width:none; margin:0;}
.hero-form .card{border:0; box-shadow:none; background:transparent;}
.hero-form .card-pad{padding:18px;}
.hero-form a{color: var(--brand);}
.hero-form a:hover{text-decoration:underline;}

.hero-v2 .crumbs{color: rgba(255,255,255,.82);}
.hero-v2 .crumbs a{color: rgba(255,255,255,.82);}
.hero-v2 .crumbs a:hover{color:#fff;}
.hero-media{
  margin-top:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(30,99,255,.18), rgba(0,183,255,.08)),
    radial-gradient(900px 500px at 70% 40%, rgba(255,255,255,.75), transparent 55%),
    #0b1020;
  height: 240px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.hero-media:after{
  content:"";
  position:absolute; inset:-40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.20), transparent 45%);
  transform: rotate(10deg);
  pointer-events:none;
}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 0;}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:999px;
  background: rgba(255,255,255,.75);
  border:1px solid var(--border);
  box-shadow: 0 8px 18px rgba(18,31,53,.06);
}
.badge-dot{width:10px;height:10px;border-radius:999px;background:var(--ok);}

/* Mobile-only: keep desktop layout as-is, reduce scroll to reach the form */
@media (max-width: 720px){
  .hero.hero-v2{padding: 24px 0 18px;}
  .hero-split{gap: 14px;}
  /* Mobile: show title first, then the form */
  .hero-split > .hero-copy{order: 1;}
  .hero-split > .hero-form{order: 2;}
  .hero-kicker{padding:8px 10px; margin-bottom:10px;}
  .hero-copy h1{font-size: clamp(26px, 8.2vw, 34px); margin-bottom:10px;}
  .hero-copy h1::after{margin-top: 10px; width: 58px;}
  .hero-sub{font-size: .98rem; margin-bottom:12px;}
  .hero-points,.hero-badges,.hero-note{display:none;}
  .hero-form{border-radius: 18px;}
  .hero-form .card-pad{padding:14px;}

  .ms-stepline{gap:6px; font-size:.82rem;}
  .ms-step{padding:5px 8px;}
  .ms-title{font-size:1rem;}
  .ms-help{font-size:.9rem;}

  /* Make choices more compact to reduce vertical scroll */
  .choice-grid{grid-template-columns: 1fr 1fr; gap:8px;}
  .choice{padding:10px 10px; border-radius:14px; gap:10px;}
  .choice-ico{width:38px; height:38px; box-shadow: 0 10px 20px rgba(15,23,42,.10);}
  .choice-ico svg{width:20px; height:20px;}
  .choice-sub{display:none;}

  /* Hide optional message by default on mobile; keep available behind a toggle */
  .msg-toggle{display:inline-flex;}
  .optional-msg{display:none;}
  .optional-msg.is-open{display:block;}
}

.card{
  border-radius: var(--radius);
  background: var(--card);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
}
#devis{max-width: 1120px; margin: 0 auto;}
.card-pad{padding:18px;}
.card h2{margin:0 0 10px; font-size:1.1rem;}
.grid-2{display:grid; grid-template-columns: 1fr 1fr; gap:14px;}
@media (max-width: 720px){.grid-2{grid-template-columns:1fr;}}
.contact-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 980px){.contact-grid{grid-template-columns: 1fr;}}
.contact-k{color: var(--muted); font-size:.88rem; font-weight:700;}
.contact-v{margin-top:6px; font-weight:800;}
.cta-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 12px;
  text-decoration:none;
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 28px rgba(255, 106, 43, .22);
}
.cta-inline:hover{transform: translateY(-1px);}
.input{
  display:flex; flex-direction:column; gap:6px;
}
.input label{font-size:.92rem; color: var(--muted);}
.input input,.input select,.input textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(245,247,252,.8);
  color: var(--text);
  outline:none;
}
.input input:focus,.input select:focus,.input textarea:focus{
  border-color: rgba(30,99,255,.35);
  box-shadow: 0 0 0 4px rgba(30,99,255,.10);
}
.help{font-size:.85rem; color: var(--muted);}
.checkbox{display:flex; gap:10px; align-items:flex-start; margin-top:10px;}
.checkbox input{margin-top:4px;}
.btn{
  width:100%;
  display:inline-flex; justify-content:center; align-items:center; gap:10px;
  border:0;
  padding:13px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#ffffff;
  font-weight:900;
  cursor:pointer;
  box-shadow: 0 16px 34px rgba(255, 138, 42, .22);
}
.btn:hover{transform: translateY(-1px);}
.btn:disabled{opacity:.6; cursor:not-allowed;}
.form-status{margin-top:10px; font-size:.92rem; color: var(--muted);}
.form-status[data-type="error"]{color: var(--danger);}
.form-status[data-type="ok"]{color: var(--ok);}
.section{padding:22px 0;}
.section h2{margin:0 0 12px; font-size:1.45rem;}
.section h3{margin:16px 0 8px; font-size:1.1rem;}
.section p{color: var(--muted); margin: 0 0 10px;}
.section ul{margin: 0 0 10px; color: var(--muted); padding-left: 20px;}
.kpi{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 860px){.kpi{grid-template-columns:1fr;}}
.kpi .item{padding:16px;}
.kpi .num{font-size:1.35rem; font-weight:900;}
.kpi .txt{color: var(--muted); margin-top:6px;}
.list{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px;}
@media (max-width: 980px){.list{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 640px){.list{grid-template-columns: 1fr;}}
.list a{
  display:flex; flex-direction:column; gap:4px;
  padding:16px; text-decoration:none;
}
.list a:hover{transform: translateY(-2px); box-shadow: 0 16px 30px rgba(18,31,53,.10);}
.list .title{font-weight:900;}
.list .meta{color: var(--muted); font-size:.95rem;}

.links-cols{
  column-count: var(--cols, 4);
  column-gap: 18px;
}
@media (max-width: 980px){.links-cols{column-count: 2;}}
@media (max-width: 640px){.links-cols{column-count: 1;}}
.col-link,.col-text{
  display:block;
  padding:7px 4px;
  break-inside:avoid;
  text-decoration:none;
  color: var(--muted);
}
.col-link:hover{color: var(--text); text-decoration:underline;}
.col-text{opacity:.85;}
.footer.footer-v2{
  margin-top: 26px;
  padding: 44px 0 26px;
  background: radial-gradient(1200px 420px at 20% 0%, rgba(255,106,43,.20), transparent 60%),
    radial-gradient(1200px 420px at 70% 10%, rgba(11,94,215,.22), transparent 62%),
    #0b1020;
  color: rgba(255,255,255,.86);
}
.footer.footer-v2 a{color: rgba(255,255,255,.88);}
.footer-top{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 980px){.footer-top{grid-template-columns: 1fr;}}
.footer-brand{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 16px 16px;
}
.footer-brand-title{
  font-family: "Space Grotesk", "Manrope", ui-sans-serif, system-ui;
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: 1.05rem;
}
.footer-brand-sub{margin-top:8px; color: rgba(255,255,255,.76); line-height:1.55;}
.footer-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;}
.footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  box-shadow: 0 18px 35px rgba(255,106,43,.20);
}
.footer-btn:hover{transform: translateY(-1px);}
.footer-btn-ghost{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: none;
}
.footer-col{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 16px 16px;
}
.footer-title{font-weight:900; margin:0 0 10px; color: rgba(255,255,255,.92);}
.footer-links{display:flex; flex-wrap:wrap; gap:10px;}
.footer-link{
  text-decoration:none;
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size:.92rem;
}
.footer-link:hover{transform: translateY(-1px); background: rgba(255,255,255,.10);}
.footer-contact{display:grid; gap:10px;}
.footer-contact-item{display:flex; flex-direction:column; gap:4px;}
.footer-contact-k{color: rgba(255,255,255,.70); font-size:.88rem; font-weight:700;}
.footer-bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display:flex;
  gap:12px;
  justify-content:space-between;
  flex-wrap:wrap;
  color: rgba(255,255,255,.72);
}
.footer-small{font-size:.88rem; color: rgba(255,255,255,.66);}

.providers-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){.providers-grid{grid-template-columns: 1fr;}}
.provider-card{
  border:1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  padding: 14px 14px 12px;
}
.provider-name{font-weight:900;}
.provider-meta{color: var(--muted); margin-top:4px; font-size:.95rem;}
.provider-actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px;}
.provider-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius: 999px;
  text-decoration:none;
  border:1px solid rgba(122,58,42,.22);
  background:#fff;
  color: var(--text);
  font-weight:700;
}
.provider-action:hover{transform: translateY(-1px);}
.providers-map-wrap{margin-top:14px;}
.providers-map{
  width:100%;
  height: 320px;
  border-radius: 18px;
  border:1px solid var(--border);
  overflow:hidden;
  background: rgba(255,255,255,.85);
}

.table-wrap{overflow:auto; border:1px solid var(--border); border-radius:16px; background:#fff;}
.price-table,.table{width:100%; border-collapse:separate; border-spacing:0; min-width:720px;}
.price-table th,.price-table td,.table th,.table td{
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  text-align:left;
  vertical-align:top;
  font-size:1rem;
  line-height:1.45;
  white-space:normal;
}
.price-table th,.table th{font-weight:900; color:var(--text); background:rgba(30,99,255,.05);}
.price-table td.muted{color:var(--muted);}
.price-table tr:last-child td,.table tr:last-child td{border-bottom:none;}
.table tr:nth-child(even) td{background:rgba(0,0,0,.012);}
.table caption{
  caption-side:top;
  padding:12px 16px;
  font-weight:900;
  color:var(--text);
  text-align:center;
}

.section-crumbs-bottom{padding-top:0;}
.crumbs{margin:12px 0 0; color: var(--muted); font-size:.95rem;}
.crumbs a{color: var(--muted); text-decoration:none;}
.crumbs a:hover{text-decoration:underline;}
.note{color: var(--muted); font-size:.96rem;}
.mini{font-size:.9rem; color: var(--muted);}
.callout{
  padding:14px 16px;
  border-radius: 16px;
  background: rgba(30,99,255,.06);
  border:1px solid rgba(30,99,255,.14);
}

.conv-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.conv-card{
  border:1px solid var(--border);
  border-radius: 18px;
  background:#fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
  padding:16px 16px;
}
.conv-k{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.86rem;
  font-weight:900;
  letter-spacing:.02em;
  color: rgba(255,94,0,.95);
  background: rgba(255,94,0,.10);
  border:1px solid rgba(255,94,0,.20);
  padding:6px 10px;
  border-radius: 999px;
}
.conv-title{
  margin-top:10px;
  font-size:1.1rem;
  font-weight:1000;
  color: var(--text);
}
.conv-txt{
  margin-top:8px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.5;
}
@media (max-width: 980px){
  .conv-grid{grid-template-columns: 1fr; }
}

.vud-spinner-wrap{margin-top:14px;}
.vud-loading{color:var(--muted); font-size:.95rem; margin-bottom:10px;}
.vud-spinner{min-height:48px;}
