:root{
  --nuuk:#59695C;
  --nuuk-dark:#33413a;
  --nuuk-soft: rgba(89,105,92,.12);

  --cocon:#CC7A65;
  --cirrus:#A03942;
  --arcus:#BB9578;

  --bg:#ffffff;
  --ink:#0f1412;
  --muted:#5f6d66;

  --card: rgba(255,255,255,.92);
  --line: rgba(89,105,92,.16);

  --radius: 22px;
  --shadow: 0 18px 55px rgba(14,20,16,.10);
  --shadow-soft: 0 12px 28px rgba(14,20,16,.08);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

html,body{height:100%}
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(980px 520px at 16% 0%, rgba(89,105,92,.10), transparent 60%),
    radial-gradient(920px 560px at 92% 12%, rgba(187,149,120,.10), transparent 62%),
    linear-gradient(#fff,#fff);
  overflow-x:hidden;
}

/* Sillons bois (identique) */
body::before{
  content:"";
  position:fixed;
  inset:-120px;
  pointer-events:none;
  opacity:.08;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1100' viewBox='0 0 1600 1100'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2359695C' stop-opacity='.42'/%3E%3Cstop offset='1' stop-color='%2359695C' stop-opacity='.10'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%23BB9578' stop-opacity='.18'/%3E%3Cstop offset='1' stop-color='%23BB9578' stop-opacity='.05'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M70 -120 C 115 40, 20 180, 82 340 C 135 485, 62 675, 118 860 C 155 985, 150 1080, 190 1220' stroke='url(%23g1)' stroke-width='2.8'/%3E%3Cpath d='M145 -120 C 220 70, 108 250, 170 420 C 220 560, 160 760, 230 940 C 275 1055, 258 1130, 305 1220' stroke='url(%23g1)' stroke-width='1.8'/%3E%3Cpath d='M255 -120 C 320 30, 235 170, 290 330 C 350 500, 275 650, 342 835 C 392 980, 372 1085, 432 1220' stroke='url(%23g1)' stroke-width='3.1'/%3E%3Cpath d='M390 -120 C 450 95, 360 225, 430 402 C 498 575, 420 720, 505 900 C 565 1028, 540 1120, 610 1220' stroke='url(%23g1)' stroke-width='1.9'/%3E%3Cpath d='M540 -120 C 620 45, 520 250, 608 432 C 685 592, 600 770, 705 955 C 770 1068, 735 1142, 810 1220' stroke='url(%23g1)' stroke-width='3.6'/%3E%3Cpath d='M735 -120 C 805 70, 710 210, 790 392 C 860 552, 792 720, 882 915 C 945 1050, 915 1138, 998 1220' stroke='url(%23g1)' stroke-width='2.1'/%3E%3Cpath d='M965 -120 C 1045 40, 948 260, 1038 445 C 1118 610, 1035 790, 1145 970 C 1218 1088, 1185 1152, 1280 1220' stroke='url(%23g1)' stroke-width='3.4'/%3E%3Cpath d='M1215 -120 C 1298 72, 1195 255, 1292 462 C 1365 620, 1310 805, 1415 986 C 1488 1102, 1458 1160, 1542 1220' stroke='url(%23g1)' stroke-width='2.2'/%3E%3Cpath d='M102 -120 C 130 58, 78 210, 120 360 C 158 505, 120 680, 168 865 C 205 1010, 188 1100, 232 1220' stroke='url(%23g2)' stroke-width='1.1'/%3E%3Cpath d='M310 -120 C 348 48, 292 205, 338 375 C 382 538, 340 700, 395 888 C 432 1018, 420 1105, 470 1220' stroke='url(%23g2)' stroke-width='1.1'/%3E%3Cpath d='M620 -120 C 660 60, 610 235, 662 420 C 708 588, 675 760, 740 945 C 782 1060, 770 1140, 830 1220' stroke='url(%23g2)' stroke-width='1.1'/%3E%3Cpath d='M1088 -120 C 1130 65, 1070 250, 1125 455 C 1170 620, 1140 800, 1212 980 C 1260 1095, 1245 1158, 1312 1220' stroke='url(%23g2)' stroke-width='1.1'/%3E%3C/g%3E%3C/svg%3E");
background-size: 1750px 1200px;
  background-position: center top;
  background-repeat: repeat;
  mix-blend-mode:multiply;
  filter: blur(.25px);
}

.wrap{
  width:100%;
  max-width:1680px;
  margin:0 auto;
  padding:18px 14px 70px;
  position:relative;
}

@media (min-width:768px){
  .wrap{
    padding:22px 20px 80px;
  }
}

@media (min-width:1200px){
  .wrap{
    padding:28px 32px 90px;
  }
}

@media (min-width:1600px){
  .wrap{
    max-width:1800px;
    padding:32px 40px 100px;
  }
}

@media (min-width:1200px){
  .wrap{
    padding:28px 22px 90px;
  }
}
.pages{ position:relative; }
.page{ display:none; animation: fadeIn .18s ease; }
.page.on{ display:block; }
@keyframes fadeIn{ from{ opacity:0; transform: translateY(6px); } to{ opacity:1; transform: translateY(0); } }

.card{
  border:1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(10px);
}
.cardSoft{
  border:1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  backdrop-filter: blur(10px);
}

.btn{
  border:1px solid rgba(89,105,92,.20);
  background:#fff;
  color:var(--ink);
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 950;
  cursor:pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(0,0,0,.10); border-color: rgba(89,105,92,.32); }
.btn.primary{
  background: linear-gradient(180deg, rgba(89,105,92,.14), rgba(89,105,92,.05));
  border-color: rgba(89,105,92,.32);
  color: var(--nuuk-dark);
}
.btn.big{ width:100%; justify-content:center; padding:16px 16px; border-radius:18px; font-size:15px; }
.btn.ghost{ background: rgba(255,255,255,.65); }
.ico{ width:18px; height:18px; display:inline-block; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(89,105,92,.20);
  background: rgba(89,105,92,.06);
  color: var(--nuuk-dark);
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}

.newsBar{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin: 10px 0 0; }
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  border:1px solid rgba(89,105,92,.20);
  background: rgba(255,255,255,.72);
  color: var(--nuuk-dark);
  box-shadow: var(--shadow-soft);
}
.badge.new{ background: rgba(89,105,92,.10); border-color: rgba(89,105,92,.28); }

.hero{ padding:34px 18px 18px; text-align:center; }
.heroLogo{
  width: 280px;
  height:auto;
  display:block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.12));
}
.heroTitle{ margin:0; font-weight:1000; letter-spacing:-.7px; font-size:28px; color: var(--nuuk-dark); }
.heroSub{ margin: 10px auto 0; max-width: 900px; color: var(--muted); font-size:14px; line-height:1.45; }

.homeGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:18px;
  padding: 0 16px 12px;
}
@media (max-width:760px){
  .homeGrid{ grid-template-columns:1fr; }
  .heroLogo{ width: 240px; }
  .heroTitle{ font-size: 24px; }
}
.homeCard{
  padding:16px;
  border-radius: 20px;
  border:1px solid rgba(89,105,92,.18);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.homeCard h3{
  margin:0 0 8px;
  font-size: 16px;
  letter-spacing:-.2px;
  color: var(--nuuk-dark);
  font-weight: 1000;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.homeCard p{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.45;
  text-align:center;
}

.topbar{
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid rgba(89,105,92,.14);
  background: linear-gradient(180deg, rgba(89,105,92,.06), rgba(255,255,255,0));
}
.topbar .left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.topbar .right{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  padding:16px;
  width:100%;
}

@media (min-width:1024px){
  .grid{
    grid-template-columns: 1fr; /* on garde UNE seule colonne */
    gap:20px;
    padding:20px 24px;
  }
}

@media (min-width:1400px){
  .grid{
    padding:24px 28px;
  }
}

.sectionHead{
  padding: 14px 16px;
  border-bottom:1px solid rgba(89,105,92,.14);
  background: linear-gradient(180deg, rgba(89,105,92,.06), rgba(255,255,255,0));
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.sectionHead b{ font-weight:1000; color: var(--nuuk-dark); }
.sectionHead span{ color: var(--muted); font-size: 13px; line-height:1.4; }

.qWrap{ padding: 0 16px 16px; }
.qBlock{
  margin-top:12px;
  padding:14px;
  border:1px solid rgba(89,105,92,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}

.qLabel{
  display:flex; align-items:center; gap:10px;
  font-weight:1000; letter-spacing:-.2px;
  margin:0 0 10px;
  font-size:14px;
  color: var(--nuuk-dark);
}
.qLabel .n{
  width:26px; height:26px; border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(89,105,92,.26);
  background: rgba(89,105,92,.07);
  color: var(--nuuk);
  font-weight:1000;
  font-size:13px;
}

.choices{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
@media (max-width: 640px){ .choices{ grid-template-columns:1fr; } }

.choice{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid rgba(89,105,92,.18);
  border-radius: 16px;
  padding:12px 12px;
  background: rgba(255,255,255,.98);
  cursor:pointer;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
.choice:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
  border-color: rgba(89,105,92,.30);
}
.choice input{ margin-top:2px; transform: scale(1.12); accent-color: var(--nuuk); }

.cico{
  width:28px; height:28px;
  border-radius: 10px;
  border:1px solid rgba(89,105,92,.18);
  background: rgba(89,105,92,.06);
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.cico svg{ width:18px; height:18px; color: var(--nuuk-dark); opacity:.9; }

.choice .ct{ flex:1; }
.choice .ct .t{ font-weight:1000; margin:0; font-size:13.5px; color: var(--nuuk-dark); }

.product{
  border:1px solid rgba(89,105,92,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  padding:14px;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}
.prodName{ margin:0; font-weight:1000; letter-spacing:-.2px; font-size:16px; color: var(--nuuk-dark); }

.tag{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  white-space:nowrap;
}
.tag.cocon{ background: rgba(204,122,101,.12); border-color: rgba(204,122,101,.25); }
.tag.cirrus{ background: rgba(160,57,66,.10); border-color: rgba(160,57,66,.22); }
.tag.arcus{ background: rgba(187,149,120,.14); border-color: rgba(187,149,120,.26); }

.bul{ margin:10px 0 0; padding-left:18px; font-size:13px; line-height:1.55; }
.note{
  margin-top:12px;
  border-left:4px solid rgba(89,105,92,.35);
  background: rgba(89,105,92,.06);
  padding:10px 12px;
  border-radius: 12px;
  font-size:12.5px;
  color:var(--muted);
  line-height:1.45;
}
.note.warn{ border-left-color: rgba(180,106,26,.55); background: rgba(180,106,26,.08); color:#6b4a1f; }

.diagramBox{
  margin-top:12px;
  border:1px solid rgba(89,105,92,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  overflow:hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}
.diagramMeta{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 12px;
  border-bottom:1px solid rgba(89,105,92,.14);
  background: linear-gradient(180deg, rgba(89,105,92,.08), rgba(255,255,255,0));
}
.diagramMeta .left{ display:flex; flex-direction:column; gap:4px; }
.diagramMeta .left b{ font-size:13px; color: var(--nuuk-dark); }
.diagramMeta .left span{ font-size:12px; color:var(--muted); }
.svg{ width:100%; height:auto; display:block; background:#fff; }

.summary{ padding: 16px; }
.sumGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width:1024px){
  .sumGrid{
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  }
}
.list{
  border:1px solid rgba(89,105,92,.16);
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.list h3{ margin:0 0 10px; font-weight:1000; color: var(--nuuk-dark); }
.list ul{ margin:0; padding-left:18px; color: var(--muted); line-height:1.5; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono"; }

.legalFooter{
  margin:20px auto 10px auto;
  max-width:900px;
  font-size:12px;
  line-height:1.6;
  color:#5e6b63;
  text-align:center;
  opacity:.85;
}

/* ✅ Ajout : champs formulaire (compte/newsletter) */
.in{
  width:100%;
  box-sizing:border-box;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(89,105,92,.20);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
  font-weight:850;
  color: var(--ink);
  outline:none;
}
.in:focus{
  border-color: rgba(89,105,92,.35);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}

/* image product box */
.prodImgBox{
  width:140px; height:110px;
  border-radius:16px;
  border:1px solid rgba(89,105,92,.18);
  background: rgba(89,105,92,.06);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.prodImg{ width:100%; height:100%; object-fit:cover; display:block; }
.prodImgPh{
  font-size:12px;
  color:#5f6d66;
  font-weight:900;
  padding:10px;
  text-align:center;
}
/* Carte départements */
#mapHost svg .dept { cursor: pointer; }
#mapHost svg .dept:hover { opacity: .85; }
#mapHost svg .dept.selected { stroke: #00c97a; stroke-width: 2; }
.dept.selected { opacity: 1; filter: brightness(1.15); stroke: #0b5; stroke-width: 2px; }
.dept { transition: .12s; }
.dept{
cursor:pointer;
transition:.15s;
}

.dept:hover{
filter:brightness(1.1);
}

.dept.selected{
stroke:#006644;
stroke-width:2px;
}
#mapHost { position: relative; z-index: 2; }
#mapHost svg { position: relative; z-index: 3; }
#mapLegend { position: relative; z-index: 1; }
#mapHost {
  position: relative;
  z-index: 5;
}

#mapHost svg {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

#mapLegend {
  position: relative;
  z-index: 1;
}

/* ===== FIX CLIC CARTE (NUUK) ===== */

/* 1) La zone carte doit être au-dessus et cliquable */
#mapHost{
  position: relative !important;
  z-index: 50 !important;
  pointer-events: auto !important;
}

/* 2) Force le SVG et ses éléments à accepter les events */
#mapHost svg,
#mapHost svg *{
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

/* 3) Si tu as des overlays “glass” en ::before/::after sur tes cards */
.cardSoft::before,
.cardSoft::after,
.card::before,
.card::after,
.homeCard::before,
.homeCard::after,
.page::before,
.page::after{
  pointer-events: none !important;
}
/* ===== CROP BAS DE LA CARTE (cache la légende/points intégrés au SVG) ===== */
#mapHost{
  width:100%;
  min-height:260px;
  overflow: visible;
  position: relative;
  z-index: 5;
}

#mapHost svg{
  width:100%;
  max-width:980px;
  height:auto;
  display:block;
  margin:0 auto;
  position: relative;
  z-index: 10;
  pointer-events:auto !important;
  touch-action: manipulation !important;
  transform:none;
}

@media (max-width:1024px){
  #mapHost{
    min-height:220px;
  }

  #mapHost svg{
    max-width:760px;
  }
}

@media (max-width:768px){
  #mapHost{
    min-height:180px;
  }

  #mapHost svg{
    max-width:100%;
  }
}


@media (max-width: 480px) {
  #mapHost {
    min-height: 150px;
  }
}
.topbarCentered{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  align-items:center;
  padding-top:6px;
}

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

.leftSide{
  justify-content:flex-start;
}

.rightSide{
  justify-content:flex-end;
}

.topbarCenter{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  text-align:center;
}

.topLogoCenter{
  height:72px;
  max-width:100%;
  width:auto;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 6px 14px rgba(30,45,36,.08));
}

.modePillCenter{
  font-weight:900;
}

.topbarSubline{
  display:flex;
  justify-content:center;
  margin-top:12px;
  padding:0 8px;
}

.topbarSublineSummary{
  gap:10px;
  flex-wrap:wrap;
}

.hintPill{
  max-width:min(100%, 760px);
  text-align:center;
  line-height:1.35;
  padding:12px 16px;
  white-space:normal;
}

@media (min-width:900px){
  .topbarCentered{
    grid-template-columns: 1fr auto 1fr;
    align-items:start;
    gap:14px;
  }

  .leftSide{
    justify-content:flex-start;
  }

  .rightSide{
    justify-content:flex-end;
  }
}

@media (max-width:899px){
  .topbarSide{
    justify-content:center;
  }

  .leftSide .btn,
  .rightSide .btn{
    width:100%;
    justify-content:center;
  }

  .topLogoCenter{
    height:82px;
  }
}
*,
*::before,
*::after{
  box-sizing:border-box;
}

img,
svg,
video,
canvas{
  max-width:100%;
  height:auto;
}

input,
button,
textarea,
select{
  font:inherit;
}
.btn{
  max-width:100%;
  white-space:normal;
  text-align:center;
  justify-content:center;
}

.homeCard,
.qBlock,
.product,
.list,
.card,
.cardSoft{
  min-width:0;
}
@media (max-width:767px){
  .summary,
  .qWrap{
    padding:12px;
  }

  .sectionHead{
    flex-direction:column;
    align-items:flex-start;
  }

  .prodImgBox{
    width:100%;
    max-width:220px;
    height:auto;
    aspect-ratio: 4 / 3;
    margin:0 auto;
  }

  .hero{
    padding:24px 14px 16px;
  }

  .heroLogo{
    width:220px;
  }

  .heroTitle{
    font-size:24px;
    line-height:1.15;
  }

  .heroSub{
    font-size:14px;
  }

  .homeCard{
    padding:14px;
  }

  .qBlock{
    padding:12px;
  }

  .list{
    padding:12px;
  }
}
@media (min-width:768px){
  .twoCols{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
}

@media (max-width:767px){
  .twoCols{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
}
#mapHost{
  width:100%;
  min-height:260px;
  overflow:hidden;
}

#mapHost svg{
  width:100%;
  max-width:860px;
  height:auto;
  display:block;
  margin:0 auto;
}

@media (max-width:1024px){
  #mapHost svg{
    max-width:720px;
  }
}

@media (max-width:768px){
  #mapHost{
    min-height:200px;
  }

  #mapHost svg{
    max-width:100%;
  }
}
/* SPLASH SCREEN NUUK */

.appSplash{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:
    radial-gradient(900px 500px at 20% 0%, rgba(89,105,92,.10), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(187,149,120,.10), transparent 60%),
    #ffffff;
  opacity:1;
  visibility:visible;
  transition:opacity .35s ease, visibility .35s ease;
}

.appSplashInner{
  text-align:center;
  padding:24px;
}

.appSplashLogo{
  width:160px;
  max-width:60vw;
  height:auto;
  display:block;
  margin:0 auto 14px;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.10));
}

.appSplashTitle{
  font-size:26px;
  font-weight:1000;
  color:var(--nuuk-dark);
}

.appSplashSub{
  margin-top:8px;
  font-size:14px;
  color:var(--muted);
}
.installModal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(15,20,18,.38);
  backdrop-filter:blur(6px);
}

.installModalBox{
  width:min(100%, 460px);
  background:rgba(255,255,255,.97);
  border:1px solid rgba(89,105,92,.16);
  border-radius:24px;
  box-shadow:0 24px 60px rgba(0,0,0,.18);
  padding:24px 20px 20px;
  position:relative;
  text-align:center;
}

.installClose{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:none;
  border-radius:999px;
  background:rgba(89,105,92,.08);
  color:var(--nuuk-dark);
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}

.installModalLogoWrap{
  margin-bottom:10px;
}

.installModalLogo{
  width:120px;
  max-width:50vw;
  height:auto;
  display:block;
  margin:0 auto;
}

.installModalTitle{
  margin:0 0 10px;
  font-size:24px;
  font-weight:1000;
  color:var(--nuuk-dark);
}

.installModalText{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.5;
}

.installSteps{
  display:grid;
  gap:10px;
  text-align:left;
  margin:0 0 14px;
}

.installStep{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(89,105,92,.14);
  background:rgba(89,105,92,.05);
}

.installNum{
  width:28px;
  height:28px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  font-weight:1000;
  background:rgba(89,105,92,.12);
  color:var(--nuuk-dark);
}

.installModalNote{
  margin-top:6px;
  border-left:4px solid rgba(89,105,92,.35);
  background:rgba(89,105,92,.06);
  padding:10px 12px;
  border-radius:12px;
  font-size:12.5px;
  color:var(--muted);
  line-height:1.45;
  text-align:left;
}

.installModalActions{
  margin-top:16px;
  display:flex;
  justify-content:center;
}

@media (max-width:640px){
  .installModalBox{
    padding:20px 16px 16px;
    border-radius:20px;
  }

  .installModalTitle{
    font-size:21px;
  }

  .installModalLogo{
    width:100px;
  }
}
.dept-map-wrap{
width:100%;
overflow:hidden;
display:flex;
justify-content:center;
}

.dept-map-container{
width:100%;
max-width:900px;
overflow:visible;
}

.dept-map-container svg{
display:block;
width:100%;
height:auto;
overflow:visible;
}
.dept-map-wrap{
width:100%;
display:flex;
justify-content:center;
}

.dept-map-container{
width:100%;
max-width:100%;
}

.dept-map-container svg{
width:100%;
height:auto;
display:block;
}
.dept-map-container{
aspect-ratio: 1 / 1;
}
.dept-map-container{
touch-action: manipulation;
}
.nuukPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.nuukPopupBox {
  background: white;
  border-radius: 16px;
  padding: 24px;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
#secondarySystemProof {
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#sarkingWrapper{
  margin-top:16px;
  border:0;
  border-radius:18px;
  padding:0;
  background:transparent;
  transition:.25s ease;
}

#sarkingWrapper.sarkingValidated{
  border:2px solid #0a8f3c;
  border-radius:18px;
  padding:14px;
  background:linear-gradient(180deg,#f6fbf8,#edf7f1);
}
#sarkingWrapper {
  border: none;
  background: transparent;
  padding: 0;
  margin-top: 0;
}

#sarkingWrapper.sarkingValidated {
  border: 2px solid #0a8f3c;
  border-radius: 18px;
  padding: 14px;
  margin-top: 16px;
  background: linear-gradient(180deg, #f6fbf8, #edf7f1);
}
.comboSeparator{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:20px 0;
  position:relative;
}

.comboSeparator::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:linear-gradient(
    90deg,
    rgba(89,105,92,.10),
    rgba(89,105,92,.28),
    rgba(89,105,92,.10)
  );
  transform:translateY(-50%);
}

.comboSeparator span{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:linear-gradient(180deg, #eef8f1, #dff1e6);
  border:1px solid rgba(10,143,60,.16);
  color:#0a8f3c;
  font-size:14px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(10,143,60,.10);
}
.comboSeparator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  width: 100%;
}

.comboSeparator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef8f1, #dff1e6);
  border: 1px solid rgba(10,143,60,.16);
  color: #0a8f3c;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(10,143,60,.10);
}
.secondaryProductRow{
  display:flex;
  gap:18px;
  align-items:flex-start;
  flex-wrap:nowrap;
}

.secondaryMediaCol{
  flex:0 0 170px;
  min-width:170px;
}

.secondaryContentCol{
  flex:1 1 auto;
  min-width:0;
}

.secondaryTagsRow{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.secondaryBtnsRow{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.secondaryContentCol .prodName{
  margin:0 0 8px 0;
  line-height:1.15;
}

.secondaryContentCol .bul{
  margin-top:12px;
}

.secondaryContentCol .note{
  margin-top:12px;
}

@media (max-width: 760px){
  .secondaryProductRow{
    flex-wrap:wrap;
  }

  .secondaryMediaCol{
    flex:0 0 100%;
    min-width:100%;
  }

  .secondaryContentCol{
    flex:0 0 100%;
  }
}
.secondaryPlus{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:700;
  color:#006644;
  margin:12px 0;
}
.product:empty,
.note:empty,
.secondaryPlus:empty {
  display: none !important;
}
.product:empty::before,
.note:empty::before {
  display: none;
  content: none;
}
.note:empty {
  display: none !important;
}
#ruleNote:empty,
#secondaryRuleNote:empty,
#secondarySystemProof:empty {
  display: none !important;
}
#productBox:empty,
#secondaryProductBox:empty,
#ruleNote:empty,
#secondaryRuleNote:empty {
  display: none !important;
}
#sensitiveCaseModal {
  -webkit-overflow-scrolling: touch;
}

#sensitiveCaseModal .installModalBox {
  scrollbar-width: thin;
}

@media (max-width: 768px) {
  #sensitiveCaseModal .installModalBox {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    padding: 14px;
    border-radius: 18px;
  }

  #sensitiveCaseModal .installModalTitle {
    font-size: 1.9rem;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  #sensitiveCaseModal .installModalText {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  #sensitiveCaseModal input.in,
  #sensitiveCaseModal textarea.in {
    font-size: 16px;
  }

  #sensitiveCaseModal .installModalActions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 10px;
    margin-top: 12px;
  }

  #sensitiveCaseModal .btn {
    min-height: 48px;
  }
}
#sensitiveCaseModal .installModalActions {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 12px 0 4px;
  margin-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
#sensitiveCaseModal .installModalBox {
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

#sensitiveCaseModal input.in,
#sensitiveCaseModal textarea.in {
  padding: 12px 14px;
  border-radius: 14px;
}

#sensitiveCaseModal textarea.in {
  min-height: 90px;
}
/* Boutons principaux Nuuk */
#goInterior,
#goExterior,
#btnSave,
#btnSynthese {
  background: #59695C !important;
  color: #fff !important;
  border: 1px solid #59695C !important;
}

#goInterior:hover,
#goExterior:hover,
#btnSave:hover,
#btnSynthese:hover {
  background: #4e5d51 !important;
}
.signature-nuuk {
  text-align: center;
  margin: 30px 0 15px;
  font-size: 16px;
  color: #59695C;
  font-weight: 700; /* 🔥 GRAS comme le titre */
  letter-spacing: 0.8px;
  position: relative;
}

.signature-nuuk::before {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #59695C;
  margin: 0 auto 10px;
  opacity: 0.4;
}
.signature-nuuk {
  display: none;
}

.page[data-page="home"] .signature-nuuk {
  display: block;
}
.btn-primary {
  background-color: #59695C;
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #4a5a4f;
}
.fieldHelp{
  font-size: 13px;
  color: #6b746d;
  margin-top: 6px;
  padding-left: 4px;
}
.metaPillQty{
  background:#59695C;
  color:#fff;
  border-color:#59695C;
}
.modeBadge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
}

/* NUUK Quantités */
.mode-quantites {
  background: linear-gradient(135deg, #59695C, #7a8b7c);
  color: #fff;
}

/* Intérieur */
.mode-interieur {
  background: linear-gradient(135deg, #dbe7e1, #eef4f1);
  color: #33413a;
}

/* Extérieur */
.mode-exterieur {
  background: linear-gradient(135deg, #e8dcc8, #f3eadc);
  color: #5a4631;
}
.mode-quantites-card {
  border-left: 4px solid #59695C;
}

.mode-interieur-card {
  border-left: 4px solid #b8cfc2;
}

.mode-exterieur-card {
  border-left: 4px solid #d6bfa3;
}
.qtyResultBox{
  display:flex;
  align-items:center;
  gap:14px;

  background:linear-gradient(135deg,#eef6f1,#f8fbf9);
  border:2px solid #006644;
  border-radius:18px;

  padding:16px 18px;
  margin-top:12px;

  box-shadow:0 8px 22px rgba(0,102,68,0.12);
}

.qtyResultIcon{
  width:44px;
  height:44px;
  background:rgba(0,102,68,0.08);
  border:2px solid #006644;
  border-radius:12px;

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

.qtyResultIcon svg{
  width:22px;
  height:22px;
  stroke:#006644;
}

.qtyResultText{
  font-size:18px;
  font-weight:800;
  color:#33413a;
}

.qtyResultText b{
  color:#006644;
  font-weight:900;
}
.nuukSignature{
  margin-top: 20px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #f4f8f6, #eef4f1);
  border-radius: 14px;
  border: 1px solid rgba(0,102,68,0.15);
}

.nuukSignatureContent{
  display: flex;
  align-items: center;
  gap: 12px;
}

.nuukIcon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #59695C;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0,102,68,0.2);
}

.nuukText{
  font-size: 13.5px;
  color: #59695C;
  font-weight: 500;
  line-height: 1.4;
}
.nuukSignature{
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nuukSignature:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.btn-secondary {
  width: auto;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  background: #f5f5f5;
  color: #333;
  font-family: inherit;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #eaeaea;
}
#btnQtyPdf {
  width: 100%;
  padding: 14px;
  border-radius: 14px;

  background: #59695C;
  color: #fff;
  border: 1px solid #59695C;

  font-family: inherit;
  font-weight: bold;
  font-size: 15px;

  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

#btnQtyPdf:hover {
  background: #59695C;
}
#btnCalcQty {
  width: 100%;
  padding: 14px;
  border-radius: 14px;

  background: #59695C;
  color: #fff;
  border: 1px solid #59695C;

  font-family: inherit;
  font-weight: 600;
  font-size: 15px;

  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

#btnCalcQty:hover {
  background: #4e5d51;
}
.btn-nuuk {
  width: 100%;
  padding: 14px;
  border-radius: 14px;

  background: #59695C;
  color: #fff;
  border: 1px solid #59695C;

  font-family: inherit;
  font-weight: 600;
  font-size: 15px;

  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nuuk:hover {
  background: #4e5d51;
}
.historyHead {
  display: block;
  margin-bottom: 10px;
}

.historyTitle {
  font-weight: 1000;
  color: #33413a;
  line-height: 1.25;
}

.historyActions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.historyActions .pill {
  flex: 0 0 auto;
}

.historyActions .btn-history {
  flex: 0 0 auto;
  min-width: 88px;
  width: auto;
  padding: 10px 14px;
}

.historyMeta {
  color: #5f6d66;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}.historyCard {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.historyCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.historyCard.quantites {
  border-left: 4px solid #59695C;
}

.historyCard.exterieur {
  border-left: 4px solid #d9c7a3;
}

.historyCard.interieur {
  border-left: 4px solid #a8cbb7;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
canvas {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: 16px;
}

button {
  min-height: 44px;
}

.page,
.historyCard,
.card,
.panel,
.summaryCard {
  width: 100%;
  max-width: 100%;
}

.historyActions,
.history-actions,
.btn-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.historyActions .pill,
.history-actions .pill {
  flex: 0 0 auto;
}

.historyActions .btn-history,
.history-actions .btn-history,
.btn-row button {
  flex: 0 0 auto;
  min-width: 88px;
}

@media (max-width: 768px) {
  .historyActions,
  .history-actions,
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .historyActions .pill,
  .history-actions .pill {
    align-self: flex-start;
  }

  .historyActions .btn-history,
  .history-actions .btn-history,
  .btn-row button {
    width: 100%;
  }

  .historyCard {
    padding: 12px;
    border-radius: 14px;
  }

  .historyTitle {
    font-size: 15px;
    line-height: 1.3;
  }

  .historyMeta {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .historyCard {
    padding: 14px;
  }
}

@media (min-width: 1025px) {
  .historyCard {
    padding: 16px;
  }
}/* Desktop (Windows / Mac) */

@media (min-width:1024px){
  .qWrap,
  .summary,
  .sectionHead,
  .topbar,
  .hero,
  .homeGrid,
  .sumGrid{
    width:100%;
    max-width:none;
  }

  .qBlock,
  .product,
  .list,
  .card,
  .cardSoft,
  .homeCard{
    width:100%;
    max-width:none;
  }
}