/*
UPDATED FILE: /var/www/themis-external/09JU765Gjjh6hF-G554/assets/styles.css
MODIFICATIONS:
- Forçage "light" (fond blanc): color-scheme: light + body background blanc.
- Icônes: suppression fonds/contours sur les conteneurs d’icônes (hero, location, form).
- Ajout styles génériques pour SVG locaux (MDI) via <img class="icon"> et <svg class="icon-svg">.
*/

:root{
  color-scheme: light;

  --bg:#ffffff;
  --bg-alt:#f7f8fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#363c45;
  --border:#e7ebf2;

  --primary:#e11d2e;      /* rouge logo */
  --primary-2:#f59e0b;    /* accent secondaire */
  --shadow: 0 12px 28px rgba(18, 38, 63, .08);

  --radius:16px;
  --radius-sm:12px;
  --wrap: 88vW; /*88vw*/
  --topbar-h: 76px;
}


html{
  scroll-padding-top: 110px; /* adjust if your stacked header is taller */
  scroll-behavior: smooth;
}

.icon--logo {
  display: block;
  width: 3rem;
  height: 3rem;
  background-color: #e11e2f;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--icon-url);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
/* =====================
   Local SVG icons (MDI)
   ===================== */

/* SVG externe recoloré via mask */
.icon.icon--mdi{
  display:block;
  width:32px;
  height:32px;

  background-color: #e11e2f;         /* <-- couleur */
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-image: var(--icon-url);
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
}

.icon.icon--mdi.icon--lg{
  width:34px;
  height:34px;
}

img.icon, svg.icon-svg{
  display:block;
  width:28px;
  height:28px;
  color:#64748b;
}
img.icon.icon--lg, svg.icon-svg.icon--lg{
  width:34px;
  height:34px;
  color:#64748b;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:#fff;
}


.map-embed{
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 18px rgba(18,38,63,.05);
  margin-bottom: 14px;
}
.map-embed iframe{
  width:100%;
  height: 320px;
  border:0;
  display:block;
}

/* =====================
   Google rating pill (navbar)
   ===================== */
.gmb-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 18px rgba(18,38,63,.04);
  white-space:nowrap;
  font-weight:800;
  line-height: 1;
}
.gmb-pill.is-loading{ opacity:.65; }

.gmb-pill__meta{
  display:flex;
  align-items:baseline;
  gap:8px;
  font-variant-numeric: tabular-nums;
}
.gmb-pill__count{
  color: var(--muted);
  font-weight:700;
  font-size:.92rem;
}

.gmb-stars{
  position:relative;
  display:inline-block;
  line-height:1;
  letter-spacing:1px;
  font-size: 1rem;
}
.gmb-stars__bg{ color:#e5e7eb; user-select:none; }
.gmb-stars__fg{
  position:absolute;
  left:0; top:0;
  overflow:hidden;
  white-space:nowrap;
  color:#f7b500;
  user-select:none;
  width:0%;
}

@media (max-width: 820px){
  .gmb-pill__count{ display:none; }
}
.gmb-pill__count{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.gmb-google{
  width:16px;
  height:16px;
  display:block;
}

.icon-calc {
display: block;
  width: 2.6rem;
  height: 2.6rem;
  background-color:#1d85e1;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--icon-url);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}


a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button,input,select,textarea{ font:inherit; }

.wrap{
  width:min(var(--wrap), calc(100% - 40px));
  margin:0 auto;
}

.center{ text-align:center; }
.muted{ color:var(--muted); font-size:1.1rem;}
.tiny{ font-size:1rem; }

.section{ padding: 2.5rem 0; }
.section--alt{ background:var(--bg-alt); }
.section__head{ margin-bottom:28px; }
.h1{
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height:1.05;
   
  margin:14px 0 14px;
}
.h2{
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
   
  margin: 1rem 0 2rem 0;
}
.lead{
  font-size:1.05rem;
  color:var(--muted);
  line-height:1.55;
  max-width: 560px;
  margin: 1rem 0 2rem;
}

.scroll-progress{
  position:fixed;
  top:0;left:0;right:0;
  height:3px;
  z-index:9999;
  background:transparent;
}
.scroll-progress__bar{
  height:100%;
  width:100%;
  transform-origin:0 50%;
  transform:scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}
/* =====================================================================================================
   TOPBAR (UPDATED LAYOUT)
   ======================= */
.topbar{
  position:fixed;
  top:0;left:0;right:0;
  height: var(--topbar-h);
  z-index:1000;
  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
}

/* from your file :contentReference[oaicite:1]{index=1}, now we rely on left/right groups */
.topbar__inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* New groups */
.topbar__left,
.topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 0;
}
.topbar__left{
  justify-content:flex-start;
  flex: 1 1 auto;
}
.topbar__right{
  justify-content:flex-end;
  flex: 0 0 auto;
}

/* <=1140px : left et right s'empilent en hauteur */
@media (max-width: 1140px){
 

.loc-ico {

  width: 24px!important;
  height: 24px!important;
  flex: 0 0 24px!important;
}
.gmb-pill {
  padding: 6px 10px;
}

.brand__name {
  font-weight: 700;
  font-size: 1.2rem;
}
.gmb-stars, .gmb-pill, .gmb-pill__count {
  font-size: 0.8rem;
}
.gmb-google {
  width: 14px;
  height: 14px;
  display: block;
}
  .icon--logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #e11e2f;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: var(--icon-url);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
  .topbar{
    height:auto;                 /* header devient "auto" */
    padding:1rem 0;              /* ajoute un peu d'air */
  }

  .topbar__inner{
    height:auto;
    flex-direction:column;       /* empile left puis right */
    align-items:center;         /* full width */
    gap:10px;
  }

  .topbar__left,
  .topbar__right{
    width:100%;
  }

  .topbar__left{
    justify-content:center;
  }

  .topbar__right{
    justify-content:flex-end;    /* right align sur sa ligne */
  }
  .hero {padding-top:02rem!important;
  }
  .topbar__right .icon-calc{
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }
  .topbar__right .topbar__cta{
    margin: 0;
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

}


@media (max-width: 768px) and (min-width: 577px){

  .topbar__left{
    display:flex;
    flex-wrap:wrap;          /* autorise 2 lignes */
    align-items:center;
    gap:12px;
  }

  /* Brand + GMB restent sur la 1ère ligne */
  .topbar__left .brand,
  .topbar__left .gmb-pill{
    flex: 0 0 auto;
  }

  /* Tel-nav passe sur une 2ème ligne */
  .topbar__left .tel-nav{
    flex: 0 0 100%;          /* force la 2e ligne */
    justify-content:center;  /* centré sur la ligne */
    margin-top: -10px;
  }

  
}

/* <=768px : chaque élément du LEFT en colonne, RIGHT reste ensemble en bas */
@media (max-width: 576px){
  .topbar__left{
    flex-direction:column;       /* empile brand / tel / gmb */
    align-items:flex-start;
    gap:10px;
  }

  /* Optionnel: éviter que le badge Google prenne toute la largeur */
  .gmb-pill{
    width:auto;
  }

  /* RIGHT = dernière ligne avec calculator + CTA ensemble */
  .topbar__right{
    display:flex;
    flex-direction:row;          /* reste en ligne */
    align-items:center;
    justify-content:flex-end;    /* ou center si tu préfères */
    gap:12px;
  }

  /* Si ton CTA est trop large sur mobile, tu peux réduire légèrement */
  .topbar__cta{
    padding:10px 14px;
  }
}


/* =========================================
   <=576px : topbar compact en haut + bottom bar en bas
   FIX: on désactive backdrop/filter/transform sur la topbar,
        sinon "position:fixed" peut rester contraint au header.
   ========================================= */
@media (max-width: 576px){

  /* 1) TOP BAR (en haut) */
  .topbar{
    position: sticky;
    top: 0;
    height: auto;
    padding: 10px 0;

    /* ✅ CRUCIAL: éviter que .topbar devienne un containing-block pour fixed */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
  }

  .topbar__inner{
    /* idem: aucune transform/filter côté wrapper */
    transform: none !important;
    filter: none !important;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* en haut on garde seulement le left (compact) */
  .topbar__left{
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .topbar__left .tel-nav{ display: none; }

  .brand__name{ font-size: 1.15rem; }
  .icon--logo{ width: 2.3rem; height: 2.3rem; }

  /* 2) BOTTOM BAR (en bas) : calc + CTA */
  .topbar__right{
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;

    z-index: 3000;
    width: 100%;
    padding: 1.3rem;

    background: rgba(255,255,255,.92);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 24px rgba(18,38,63,.10);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .topbar__right .icon-calc{
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
  }
  .topbar__right .topbar__cta{
    margin: 0;
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* 3) Évite que la bottom bar cache le contenu */
  body{
    padding-bottom: 84px;
  }
}




/* <=1440px : calc + CTA centrés */
@media (max-width: 1440px){
  .topbar__right{
    justify-content:center;
  }
}

/* <=1140px : quand left/right s'empilent, on garde le centrage du bloc droit */
@media (max-width: 1140px){
  .topbar__right{
    justify-content:center;
  }
}

/* <=768px : calc + CTA restent ensemble sur la dernière ligne, centrés */
@media (max-width: 768px){
  .topbar__right{
    justify-content:center;
  }
}
/* <=820px : tout est centré */
@media (max-width: 820px){
  

  .topbar__left,
  .topbar__right{
    width:100%;
    justify-content:center; /* centre chaque ligne */
  }

  /* si .topbar__left est en colonne (<=768px), on centre aussi la colonne */
  .topbar__left{
    align-items:center;
  }

  /* Centre le texte du tel */
  .tel-nav .loc-text{
    text-align:center;
  }

  /* Optionnel: le badge Google se centre mieux */
  .gmb-pill{
    justify-content:center;
  }
}

/* FIX: <=1140px sticky must keep working while scrolling + anchors */
@media (max-width: 1140px){
  .topbar{
    position: sticky !important;
    top: 0;
    z-index: 2000;
    height: auto;
    padding: 1rem 0;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
  }

  .topbar__inner{
    transform: none !important;
    filter: none !important;
  }

  html, body{
    overflow-x: hidden;
  }

  .wrap{
    overflow: visible !important;
    transform: none !important;
  }

  body{
    padding-top: 0;
  }

  html{
    scroll-padding-top: 170px; /* offset anchors under stacked header */
  }
}


/*------------------------------------------------------------------- fin responsive barre nav -----------------------------*/
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 240px;
}
.brand__mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;height:34px;
  color:var(--primary);
}
.brand__name{
  font-weight: 700;
  
  font-size: 1.45rem;
   
}
.brand__sub{
  display:none;
  font-size:.86rem;
  color:var(--muted);
}
@media (min-width:900px){
  .brand__sub{ display:inline; margin-left:6px; }
}
.h2location {

margin: 3rem;
  font-size: 1.2rem;

}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 8px 14px;
  border-radius: 12px;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--full{ width:100%; }
/*
.btn--primary{
  background-color: #1d85e1;
  color:#fff;
  transition: all .52s ease;
  
}
.btn--primary:hover{  box-shadow: 0 0 0 5px rgba(29, 101, 225, 0.28);
transition: all .32s ease;}*/

.btn--primary{
  background-color: #e11e2f;
  color:#fff;
  transition: all .52s ease;
  
}
.btn--primary:hover{  box-shadow: 0 0 0 5px rgba(225, 29, 29, 0.212);
transition: all .32s ease;}

.btn--second{
  background-color: #fcf6f6;
  color:#e11e2f;
  transition: all .52s ease;
  border:solid 3px #e11e2f;
  padding: 6px 12px !important;
  
}
.btn--second:hover{  box-shadow: 0 0 0 5px rgba(225, 29, 29, 0.212);
transition: all .32s ease;}


.btn--ghost {
  background: #1d85e1;
  /*border-color: var(--border);*/
  color: #fff;
  transition: all .52s ease;
}
.btn--ghost:hover{
  box-shadow: 0 0 0 5px rgba(29, 85, 225, 0.28);
transition: all .32s ease;
}

.hero{
  padding-top: calc(var(--topbar-h) + 36px);
  background: radial-gradient(1200px 600px at 20% 0%, rgba(225,29,46,.07), transparent 60%),
              radial-gradient(900px 520px at 80% 20%, rgba(245,158,11,.08), transparent 55%);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:44px;
  align-items:center;
}
@media (max-width: 980px){
  .hero__grid{ grid-template-columns:1fr; gap:26px; }
}


.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.75);
  color: var(--muted);
  font-weight:600;
}
.dot{
  width:8px;height:8px;border-radius:99px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(225,29,46,.12);
}

.hero__actions{ display:flex; gap:12px; margin:18px 0 12px; flex-wrap:wrap; }

.hero__features{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top: 2rem;
}
.hero__feature{
  display:flex;
  align-items:center;
  gap:3px;
  color: var(--muted);
  font-weight:600;
}

.form__features{
  display: block;
padding:0.5rem 1.8rem;
}

.form__feature{
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0.4rem 0;
}

/* MODIF: plus de fond/contour autour des icônes */
.hero__featureIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;height:32px;
  flex:0 0 24px;
}

.hero__imageCard{
  border-radius: 18px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  background:#fff;
}
.hero__image{ width:100%; height:auto; }

.section--alt .size-card,
.section--alt .location-card{
  background:#fff;
}

.sizes-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:18px;
}
@media (max-width: 1040px){
  .sizes-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .sizes-grid{ grid-template-columns: 1fr; }

.form__grid{
    display: grid;
    grid-template-columns: 1fr !important; /* force 1 colonne */
    gap: 12px;
  }

  /* annule les spans sur mobile */
  .form__grid .span2{
    grid-column: 1 / -1 !important;
  }

/* La colonne "droite" (vm-eqRow) redevient une pile simple */
  .vm-eqRow{
    display:flex;
    flex-direction: column;   /* dropzone puis bloc résultat */
    align-items: stretch;
    gap: 12px;
  }

  .vm-panel{
  margin: 5vw!important;
}
  /* Dropzone = rangée horizontale scrollable (au lieu de colonne) */
  .vm-dropZone{
    display:flex;
    flex-direction: row;      /* ✅ repasse en ligne */
    align-items: flex-start;
    flex-wrap: nowrap;        /* items en ligne, pas en colonne */
    gap: 10px;

    min-height: 96px;         /* hauteur confortable */
    max-height: none;

    overflow-x: auto;         /* ✅ scroll horizontal */
    overflow-y: hidden;
    white-space: nowrap;
    min-width: 88vw;
  }

  /* Les "chips" gardent leur largeur */
  .vm-chipWrap{
    flex: 0 0 auto;
  }

  /* Bloc résultat sous la dropzone */
  .vm-result{
    display:flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Ligne Total plus lisible */
  .vm-resultLine{
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Bouton full width */
  .vm-recoBtn{
    width: 100%;
  }




}

.size-card{
  position:relative;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  /*box-shadow: 0 10px 20px rgba(18,38,63,.05);*/
}
.size-card.is-popular{
  border-color: rgba(225,29,46,.45);
  /*box-shadow: 0 16px 26px rgba(225,29,46,.10);*/
}
.size-card__badge{
  position:absolute;
  top:-15px;
  left:50%;
  transform: translateX(-50%);
  background: var(--primary);
  color:#fff;
  font-size:.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  /*box-shadow: 0 10px 20px rgba(225,29,46,.20);*/
}

/* MODIF: cube inline -> pas de fond */
.size-card__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  height:44px;
  color:var(--primary);
}

.size-card__area{
  text-align:center;
  font-weight:900;
  font-size: 1.35rem;
  margin-top: 4px;
}
.size-card__volume{
  text-align:center;
  font-size:.86rem;
  color: var(--muted);
  margin-top: 2px;
}
.size-card__desc{
  text-align:center;
  font-size:.92rem;
  color: var(--muted);
  margin: 10px 0 14px;
  height:3rem;
}
.size-card__list{
  margin:0 0 16px;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
  color: var(--muted);
  font-weight:600;
  height: 7rem;
}
.size-card__list li::before{
  content:"✓";
  color: var(--primary);
  font-weight:900;
  margin-right:8px;
}

.reviews-rating{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin: 10px 0 6px;
}
.stars{ color:#f7b500; letter-spacing:1px; }
.reviews-score{ color:var(--text); font-weight:800; }

.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
@media (max-width: 980px){
  .reviews-grid{ grid-template-columns: 1fr; }
}
.review-card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background:#fff;
  box-shadow: 0 10px 18px rgba(18,38,63,.05);
}
.review-card__top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.review-card__quote{
  font-size:2rem;
  color: rgba(225,29,46,.20);
  line-height:1;
}
.review-card__stars{ color:#f7b500; font-weight:900; }
.review-card__time{ margin-left:auto; color:var(--muted); font-size:.9rem; }
.review-card__text{ color:var(--muted); line-height:1.6; margin: 0 0 12px; }
.review-card__name{ font-weight:800; }

.location-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width: 980px){
  .location-grid{ grid-template-columns:1fr; }
}

.location-left{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-top:2rem;
}
.loc-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

/* MODIF: plus de fond/contour autour des icônes */
.loc-ico{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;height:28px;
  flex:0 0 28px;
}

.loc-label{ font-weight:800; }
.loc-text{ color:var(--muted); line-height:1.5; }

.location-card{
  background: #f7f8fb !important;
}

/* MODIF: plus de fond/contour autour des icônes */
.location-card__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:34px;height:34px;
  margin:0 auto 10px;
}

.location-card__title{ font-weight:900; font-size:1.05rem; margin-bottom:6px; }
.location-card__text{ color:var(--muted); margin-bottom: 12px; }
.location-card__listTitle{ font-weight:800; margin: 12px 0 8px; }
.location-card__list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
  color: var(--muted);
  justify-content:center;
}
.location-card__list li::before{
  content:"•";
  color: var(--primary);
  font-weight:900;
  margin-right:8px;
}

.quote{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
  margin-top: 2rem;
}
@media (max-width: 980px){
  .quote{ grid-template-columns:1fr; }
}

.form{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--shadow);
  padding: 18px;
}
.form.is-flash{ outline: 3px solid rgba(225,29,46,.25); }

.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form__titleRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 12px;
}
.form__title{
  font-weight:900;
  font-size:1.2rem;
}

/* MODIF: plus de fond/contour autour des icônes */
.form__titleIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:22px;height:22px;
  flex:0 0 22px;
}

.form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px 14px;
  margin: 2rem 0;
}

.form__grid .span2{ grid-column: 1 / -1; }

label{ display:block; font-weight:700; font-size:1rem; margin: 0.9rem 0 0.6rem 0; }
input,select,textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
  outline:none;
  transition: all .32s ease;
}
textarea{ min-height: 110px; resize: vertical; }
input:focus,select:focus,textarea:focus{
  border-color: rgba(225,29,46,.45);
  box-shadow: 0 0 0 4px rgba(225,29,46,.10);
  transition: all .52s ease;
}

.hero-slider{
  position: relative;
  max-height: 26vw;
}

.hero-slider__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity .65s ease;
}

.hero-slider__img.is-active{
  position: relative;
  opacity: 1;
}

.hero__imageCard{
  position: relative;
}

.hero-slider__dots{
  position:absolute;
  left: 12px;
  bottom: 12px;
  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
}

.hero-slider__dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: #cbd5e1;
  opacity: .9;
}

.hero-slider__dot.is-active{
  background: var(--primary);
}



.aside{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.aside__card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: 0 10px 18px rgba(18,38,63,.05);
  padding: 16px;
}
.aside__title{ font-weight:900; margin-bottom:8px; }
.aside__text{ color:var(--muted); margin-bottom:12px; }

.why-list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  display:grid;
  gap:8px;
}

/* MODIFICATIONS: wrapper responsive + overlay bouton */
.gmap-click {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
}

.gmap-click__img,
.gmap-click iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.gmap-click__btn {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  background-color: #fff;
    color: #1f2937;
}


/* =======================
   FOOTER 4 COLONNES LEGAL
   ======================= */
.footer--legal{
  border-top: 1px solid rgba(2,6,23,.08);
  background: #fff;
}

.footer__grid4{
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr .7fr; /* 4 colonnes */
  gap: 22px;
  align-items: start;
  padding: 18px 0;
}

.footer__baseline{
  margin-top: 8px;
  font-size: 1rem;
  color: #64748b;
}

.footer__meta{
  margin-top: 10px;
  font-size: 1rem;
  color: #475569;
  line-height: 1.55;
}

.footer__company{
  font-size: 1rem;
  color: #475569;
  line-height: 1.55;
}

.footer__line{
  margin: 2px 0;
}

.footer__colTitle{
  font-weight: 900;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.footer__links{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
    font-size: 1rem;
    color: #1d85e1;
    text-decoration: underline;
}

.footer__link:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px){
  .footer__grid4{
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
  }
}

@media (max-width: 620px){
  .footer__grid4{
    grid-template-columns: 1fr; /* 1 colonne */
  }
}


/* Responsive */
@media (max-width: 920px){
  .footer__grid3{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer__links{
    align-items: flex-start;
  }
}

@media (max-width: 980px){

.hero-slider {
max-height: 50vw!important;
}

  .footer__grid{ grid-template-columns:1fr; }
}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}
.footer__title{ font-weight:900; margin-bottom:8px; }
.brand--footer .brand__mark{ width:30px; height:30px; }

.reveal{
  opacity:0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}
/* ============================
   CALCULATEUR DE VOLUME (MODAL)
   ============================ */

.vm-modal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}
.vm-modal.is-open{ display:block; }

.vm-overlay{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.55);
}

.vm-dialog{
  position: relative;
  z-index: 100001;
  max-width: 1100px;
  margin: 5vh auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;

  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.vm-header{
  padding: 14px 16px 12px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.vm-headerTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.vm-title{
  margin: 0;
  font-weight: 900;
  font-size: 18px;
}

.vm-close{
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* Ligne "équation" (mobile: en haut) */
.vm-eqRow{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ✅ Dropzone (MODIF: plus haute, sans scroll, wrap en hauteur) */
.vm-dropZone{
  flex: 1;
  min-height: 210px;                 /* MODIF: plus haut */
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed rgba(2,6,23,.18);
  padding: 10px;

  display:flex;
  flex-wrap: wrap;                   /* MODIF: wrap */
  align-items:flex-start;
  align-content:flex-start;          /* MODIF: empile en haut */
  gap: 10px;                         /* MODIF: un peu plus serré */

  overflow: hidden;                  /* MODIF: supprime scroll */
  white-space: normal;               /* MODIF: autorise retours */
}

.vm-dropZone.is-over{
  border-color: rgba(29,133,225,.7);
  box-shadow: 0 0 0 4px rgba(29,133,225,.12);
}

/* scrollbar inutile si pas de scroll (on peut laisser, mais inutile) */
/* .vm-dropZone::-webkit-scrollbar{ height: 10px; }
.vm-dropZone::-webkit-scrollbar-thumb{ background: rgba(2,6,23,.15); border-radius: 999px; }
.vm-dropZone::-webkit-scrollbar-track{ background: transparent; } */

.vm-dropHint{
  color:#64748b;
  font-size: 13px;
  padding: 8px 6px;
}

.vm-eqSign{
  font-weight: 900;
  font-size: 18px;
  color:#0f172a;
  flex: 0 0 auto;
}

.vm-totalTop{
  font-weight: 950;
  font-size: 22px;
  color: #1d85e1;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

/* ===== Desktop >=768px : vm-eqRow dans colonne droite ===== */
.vm-calc{
  /* mobile default: 1 colonne (on ne force rien ici) */
}

@media (min-width: 768px){
  .vm-calc{
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 16px;
    align-items: start;
  }

  .vm-eqRow{
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    padding: 12px 16px;
    border-left: 1px solid rgba(2,6,23,.06);
    height: 100%;
  }

  .vm-eqSign{ display:none; }

  /* ✅ Dropzone encore plus haute en desktop */
  .vm-dropZone{
    flex: 0 0 auto;
    min-height: 320px;              /* MODIF: plus haut desktop */
  }

  .vm-totalTop{
    font-size: 24px;
    margin-top: 2px;
  }
}

/* ===== Bloc résultat/reco/bouton sous dropzone ===== */
.vm-result{
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.vm-resultLine{
  display:flex;
  align-items: baseline;
  gap: 10px;
}

.vm-resultLabel{
  font-weight: 900;
  color:#0f172a;
}

.vm-recoText{
  font-size: 16px;
  color:#0f172a;
  font-weight: 800;
}

.vm-recoBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
}

/* Body scrollable */
.vm-body{
  overflow: auto;
}

/* Panel */
.vm-panel{
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  margin: 1vw;
}
.vm-panelHead{
  padding: 12px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.vm-panelTitle{ font-weight: 800; margin:0; }
.vm-panelBody{ padding: 12px; }

/* ✅ Grille objets (MODIF: plus de colonnes) */
.vm-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); /* MODIF: 92 -> 72 */
  gap: 8px;                                                   /* MODIF: 10 -> 8 */
}

/* Carte objet */
.vm-item{
  border: 0;
  background: transparent;
  cursor:pointer;
  padding: 0;
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;                                                   /* MODIF: 6 -> 5 */
}
.vm-item:active{ cursor: grabbing; }

.vm-item:hover .vm-iconBox{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
}

/* Carré icône */
.vm-iconBox{
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #1d85e1;
  display: grid;
  place-items: center;
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
}

/* SVG inline en blanc */
.vm-icon{
  width: 36px;
  height: 36px;
  display:block;
}
.vm-icon svg{
  width: 36px;
  height: 36px;
  display:block;
}
.vm-icon,
.vm-icon svg{ color:#fff; }
.vm-icon svg *{
  fill: currentColor !important;
}

/* Nom sous l’icône (MODIF: largeur max réduite) */
.vm-name{
  font-size: 11.5px;                 /* MODIF: léger gain */
  font-weight: 750;
  text-align: center;
  line-height: 1.1;                  /* MODIF: 1.15 -> 1.1 */
  color:#0f172a;
  max-width: 72px;                   /* MODIF: 92 -> 72 */
  white-space: normal;
  word-break: break-word;
}

/* Badge quantité */
.vm-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(15,23,42,.18);
}

/* ==========================================================
   ✅ Zone de calcul : icône + NOM sous icône
   ========================================================== */

/* MODIF: plus étroit pour mieux se tasser dans la dropzone */
.vm-chipWrap{
  flex: 0 0 auto;
  width: 72px;                      /* MODIF: 84 -> 72 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  border: none;
  background-color: transparent;
}
}

.vm-chipIcon{
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #1d85e1;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease;
}

.vm-chipWrap:hover .vm-chipIcon{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,.12);
}

.vm-chipIcon .vm-badge{
  position: absolute;
  top: -6px;
  right: -6px;
}

.vm-chipName{
  font-size: 11.5px;                /* MODIF */
  font-weight: 750;
  text-align: center;
  line-height: 1.1;
  color: #0f172a;
  width: 72px;                      /* MODIF: 84 -> 72 */
  white-space: normal;
  word-break: break-word;
}

/* Neutralise ancien style */
.vm-chip{ display:none !important; }

/* Objet personnalisé */
.vm-customGrid{
  display: grid;
  grid-template-columns: 1.4fr repeat(3,1fr) auto;
  gap: 8px;
}
.vm-spanAll{ grid-column: 1 / -1; }

.vm-btnSquare{
  background: #1d85e1;
  color: #fff;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
/* ============================
   ASIDE : CTA + Calculateur côte à côte
   ============================ */

/* Le conteneur qui contient le lien + le bouton calculateur */
.aside__text{
  display: flex;
  align-items: center;
  gap: 10px;            /* espace horizontal */
  flex-wrap: wrap;      /* passe à la ligne si écran trop étroit */
}

/* Bouton principal (CTA devis) */
.aside__text .btn.btn--ghost.btn--full{
  flex: 1 1 220px;      /* prend la largeur dispo */
  width: auto;          /* neutralise le "full" */
}
.js-openCalcBtn {
cursor:pointer;
}
/* Bouton calculateur (icône) */
.aside__text .js-openCalcBtn{
  flex: 1 1 220px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hover / focus */
.aside__text .js-openCalcBtn:hover{
  box-shadow: 0 0 0 5px rgba(225, 29, 29, 0.212);
}
.aside__text .js-openCalcBtn:focus-visible{
  outline: 2px solid rgba(29,133,225,.6);
  outline-offset: 2px;
}
