/* ===== Zone Blanche — boutique blindage CEM ===== */
:root {
  --navy: #0b1c2c;
  --navy-2: #122c44;
  --ink: #1d2b38;
  --paper: #f7f8f9;
  --white: #ffffff;
  --copper: #c4763a;
  --copper-d: #a45c27;
  --teal: #1f8a8c;
  --teal-d: #15686a;
  --line: #e3e8ed;
  --muted: #5d6b78;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(11, 28, 44, .10);
  --shadow-lg: 0 24px 70px rgba(11, 28, 44, .18);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.22; color: var(--navy); padding-bottom: .04em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.18rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
section { padding: 76px 0; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--copper); margin-bottom: 14px;
}
.lead { font-size: 1.13rem; color: var(--muted); max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #0b1c2c;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo-img { height: 52px; width: auto; display: block; }
.logo { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo > span { font-family: var(--font-display); font-weight: 600; line-height: 1; }
.logo small { font-family: var(--font); display: block; font-weight: 600; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: #9fc4c5; margin-top: 2px; }
nav.main { margin-left: auto; display: flex; gap: 4px; align-items: center; }
nav.main a {
  color: #d5dee6; font-weight: 600; font-size: .92rem; padding: 8px 13px; border-radius: 9px;
  white-space: nowrap;
}
nav.main a:hover { background: rgba(255,255,255,.09); color: #fff; text-decoration: none; }
nav.main a.active { color: #fff; background: rgba(255,255,255,.12); }
nav.main a.cta {
  background: var(--copper); color: #fff; margin-left: 8px;
}
nav.main a.cta:hover { background: var(--copper-d); }
.burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ----- hero ----- */
.hero {
  position: relative; color: #fff; padding: 0; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #16384f 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 92px 0 110px; }
.hero h1 { color: #fff; margin: 0 0 20px; }
.hero h1 em { font-style: italic; color: #e8b288; }
.hero p.lead { color: #b8c7d3; }
.hero-art { position: relative; }
.hero-art .photo {
  border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: rotate(1.5deg);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-art .photo img { width: 100%; height: 360px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: rgba(255,255,255,.96); color: var(--navy); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .85rem; font-weight: 700;
  display: flex; gap: 12px; align-items: center;
}
.hero-badge .num { font-family: var(--font-display); font-size: 1.7rem; color: var(--teal-d); line-height: 1; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 12px; font-weight: 800; font-size: .98rem;
  border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: var(--font);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-copper { background: var(--copper); color: #fff; box-shadow: 0 8px 24px rgba(196,118,58,.35); }
.btn-copper:hover { background: var(--copper-d); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-d); }
.btn-line { background: transparent; border: 2px solid var(--line); color: var(--navy); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-d); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* animated waves under hero */
.waves { position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none; }
.waves circle { fill: none; stroke: rgba(141, 195, 197, .25); stroke-width: 1.4; transform-origin: center; animation: ripple 7s linear infinite; }
.waves circle:nth-child(2) { animation-delay: 1.75s; }
.waves circle:nth-child(3) { animation-delay: 3.5s; }
.waves circle:nth-child(4) { animation-delay: 5.25s; }
@keyframes ripple {
  0% { transform: scale(.12); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* stats bar */
.stats { background: var(--navy); color: #fff; padding: 0; position: relative; z-index: 3; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.1); }
.stat { padding: 26px 18px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.1rem; color: #e8b288; font-weight: 600; }
.stat .lbl { font-size: .82rem; color: #9db0bf; font-weight: 600; }

/* ----- cards & grids ----- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .pad { padding: 24px 26px 28px; }
.card img.cover { width: 100%; height: 190px; object-fit: cover; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8f3f3, #d3e9e9); color: var(--teal-d); margin-bottom: 16px;
}
.icon-tile svg { width: 26px; height: 26px; }

/* ----- catalogue ----- */
.filters { margin: 30px 0 8px; }
.filter-all { margin-bottom: 14px; }
.filter-group { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.filter-group:last-child { border-bottom: 1px solid var(--line); }
.fg-title { flex: 0 0 150px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fg-pills { display: flex; gap: 9px; flex-wrap: wrap; flex: 1; }
.filters button {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: .86rem; cursor: pointer;
  font-family: var(--font); transition: all .15s ease; display: inline-flex; align-items: center; gap: 7px;
}
.filters button .n { font-size: .72rem; font-weight: 700; background: var(--paper); color: var(--muted); border-radius: 999px; padding: 1px 7px; min-width: 20px; text-align: center; }
.filters button:hover { border-color: var(--teal); color: var(--teal-d); }
.filters button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters button.on .n { background: rgba(255,255,255,.2); color: #fff; }
.filter-all button { font-size: .92rem; padding: 10px 20px; }
@media (max-width: 640px) { .fg-title { flex-basis: 100%; margin-bottom: 4px; } }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 4px 18px rgba(11,28,44,.06);
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod .ph { position: relative; height: 168px; overflow: hidden; }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prod:hover .ph img { transform: scale(1.06); }
.prod .db-chip {
  position: absolute; top: 12px; right: 12px; background: var(--navy); color: #fff;
  border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: .8rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.prod .db-chip b { color: #e8b288; }
.prod .badge {
  position: absolute; top: 12px; left: 12px; background: var(--copper); color: #fff;
  border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: .72rem; letter-spacing: .03em;
}
.prod .pad { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prod .brand { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.prod h3 { margin: 6px 0 6px; font-size: 1.12rem; line-height: 1.25; }
.prod .sub { color: var(--muted); font-size: .88rem; flex: 1; }
.prod .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.prod .price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--navy); }
.prod .unit { font-size: .76rem; color: var(--muted); }
.prod .actions { display: flex; gap: 9px; margin-top: 14px; }
.prod .actions .btn { padding: 9px 16px; font-size: .85rem; flex: 1; justify-content: center; }

/* ----- modal ----- */
.modal-back {
  position: fixed; inset: 0; background: rgba(8, 18, 28, .68); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 5vh 18px;
  backdrop-filter: blur(4px); overflow-y: auto;
}
.modal-back.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; max-width: 720px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .25s ease;
  display: grid; grid-template-columns: 1fr;
}
@keyframes pop { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
/* vue produit : UNE seule image, format bannière allongé en tête de fiche */
.modal .m-img { position: relative; height: 230px; background: #eef2f5; }
.modal .m-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.modal .m-car img { opacity: 0; transition: opacity .25s ease; }
.modal .m-car img.on { opacity: 1; }
.modal .m-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(255,255,255,.88); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); display: flex; align-items: center; justify-content: center; }
.modal .m-nav:hover { background: #fff; }
.modal .m-nav.prev { left: 12px; } .modal .m-nav.next { right: 12px; }
.modal .m-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; gap: 7px; justify-content: center; }
.modal .m-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.modal .m-dots span.on { background: #fff; }
.modal .m-body { padding: 32px 34px; }
.modal .m-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; cursor: pointer; font-size: 1.25rem; font-weight: 700;
  color: var(--navy); box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.card-spec { color: var(--teal-d); font-size: .78rem; font-weight: 600; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notva { font-size: .66rem; font-weight: 700; color: #9aa7b2; text-transform: uppercase; letter-spacing: .05em; margin-left: 7px; white-space: nowrap; }
.modal .m-ref { font-size: .76rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.modal .m-h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-d); margin: 20px 0 4px; }
.modal table.m-tech { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .9rem; }
.modal table.m-tech th { text-align: left; color: var(--muted); font-weight: 600; padding: 7px 12px 7px 0; vertical-align: top; white-space: nowrap; border-bottom: 1px solid var(--line); width: 42%; }
.modal table.m-tech td { padding: 7px 0; color: var(--navy); border-bottom: 1px solid var(--line); }
.modal ul.specs { margin: 8px 0 0 0; padding: 0; list-style: none; }
.modal ul.specs li { padding: 7px 0 7px 28px; position: relative; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.modal ul.specs li::before { content: '✓'; position: absolute; left: 4px; color: var(--teal); font-weight: 800; }
.modal .price { font-family: var(--font-display); font-size: 1.9rem; color: var(--navy); margin-top: 18px; }
.modal .unit { color: var(--muted); font-size: .85rem; }
.modal .m-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.price-note { font-size: .76rem; color: var(--muted); margin-top: 10px; }

/* ----- calculator ----- */
.calc {
  background: linear-gradient(150deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: 22px; padding: 40px 44px; box-shadow: var(--shadow-lg);
}
.calc h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.calc p { color: #aebfcc; font-size: .95rem; }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 28px; }
.calc label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 10px; color: #d8e2ea; }
.calc input[type=range] { width: 100%; accent-color: var(--copper); }
.calc select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; font-family: var(--font); font-weight: 600; font-size: .95rem;
}
.calc select option { color: var(--ink); }
.calc .result {
  margin-top: 30px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 24px 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center;
}
.calc .result .num { font-family: var(--font-display); font-size: 1.9rem; color: #e8b288; }
.calc .result .lbl { font-size: .78rem; color: #9db0bf; font-weight: 600; }
.calc-explain { margin-top: 22px; padding: 16px 20px; background: rgba(255,255,255,.07); border-left: 3px solid var(--teal); border-radius: 12px; font-size: .92rem; line-height: 1.62; color: #dbe6ee; }
.calc-explain b { color: #fff; }
.calc-note { display: block; margin-top: 9px; font-size: .76rem; color: #8ea1b0; }
.calc .bar-wrap { margin-top: 24px; }
.calc .bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.calc .bar > div { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal), #7fd6d8); width: 50%; transition: width .3s ease; }
.calc .bar-lbl { display: flex; justify-content: space-between; font-size: .75rem; color: #9db0bf; margin-top: 6px; }

/* ----- dB table ----- */
table.db {
  width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-top: 30px; border: 1px solid var(--line);
}
table.db th { background: var(--navy); color: #fff; text-align: left; padding: 14px 20px; font-size: .85rem; letter-spacing: .04em; }
table.db td { padding: 13px 20px; border-top: 1px solid var(--line); font-size: .95rem; }
table.db tr:nth-child(even) td { background: #fbfcfd; }
table.db td b { color: var(--teal-d); }

/* ----- steps / services ----- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: #edf2f5;
  position: absolute; top: 10px; right: 22px; line-height: 1;
}
.step h3 { margin-bottom: 10px; position: relative; }
.step p { font-size: .93rem; color: var(--muted); position: relative; }
.tag { display: inline-block; background: #e8f3f3; color: var(--teal-d); border-radius: 8px; padding: 3px 10px; font-size: .76rem; font-weight: 800; margin-bottom: 12px; }

/* ----- split sections ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.photo, .split iframe.photo { border-radius: 20px; box-shadow: var(--shadow-lg); height: 400px; width: 100%; object-fit: cover; border: 0; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; }
.checklist li { padding: 9px 0 9px 36px; position: relative; font-size: 1rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 7px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
  box-shadow: 0 3px 14px rgba(11,28,44,.05); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 19px 24px; font-weight: 800; font-size: 1rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--copper); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }

/* ----- notice / legal ----- */
.notice {
  background: #fdf6ef; border: 1px solid #efd9c3; border-left: 5px solid var(--copper);
  border-radius: 12px; padding: 20px 24px; font-size: .9rem; color: #6b5138; margin-top: 40px;
}
.notice b { color: var(--copper-d); }

/* ----- contact / footer ----- */
.contact-band { background: linear-gradient(150deg, var(--navy), #16384f); color: #fff; }
.contact-band h2 { color: #fff; }
.contact-band .lead { color: #b8c7d3; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 26px; text-align: center;
}
.contact-card .icon-tile { margin: 0 auto 14px; background: rgba(255,255,255,.1); color: #8fd0d2; }
.contact-card h3 { color: #fff; font-size: 1.05rem; }
.contact-card p { color: #aebfcc; font-size: .9rem; margin-top: 6px; }
.contact-card a { color: #8fd0d2; font-weight: 700; }
footer.site {
  background: #08141f; color: #8295a5; font-size: .85rem; padding: 44px 0 30px;
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
footer.site h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
footer.site a { color: #9db0bf; display: block; padding: 3px 0; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: .78rem; line-height: 1.7; color: #5f7282; }

/* ----- reveal animations (uniquement si JS actif : <html class="js">) ----- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ----- page hero (sous-pages) ----- */
.page-hero {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff;
  padding: 64px 0 70px; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero .lead { color: #b8c7d3; margin-top: 14px; }

/* ----- responsive ----- */
@media (max-width: 980px) {
  .hero-inner, .split, .grid-2 { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0 80px; gap: 36px; }
  .grid-3, .steps, .prod-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .modal .m-img { height: 180px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .calc .row { grid-template-columns: 1fr; }
  nav.main { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 12px 20px 18px; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 14px; }
  .burger { display: block; }
}
@media (max-width: 600px) {
  .grid-3, .steps, .prod-grid, .contact-cards, footer.site .cols { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
  .calc { padding: 30px 24px; }
}

/* ============ Panier, PayPal & extras (Gewebe) ============ */
.cart-btn { position: relative; margin-left: 6px; background: var(--paper); border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.cart-btn:hover { background: #fff; box-shadow: var(--shadow); color: var(--teal-d); }
.cart-badge { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--copper); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(196,118,58,.5); }

#cartWrap { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
#cartWrap.open { visibility: visible; }
.cart-back { position: absolute; inset: 0; background: rgba(11,28,44,.45); opacity: 0; transition: opacity .25s; }
#cartWrap.open .cart-back { opacity: 1; }
#cartDrawer { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
#cartWrap.open #cartDrawer { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0; }
.cart-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
#cartBody { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-empty { color: var(--muted); padding: 40px 0; text-align: center; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.cl-info b { display: block; font-size: .9rem; line-height: 1.25; }
.cl-info span { font-size: .78rem; color: var(--muted); }
.cl-tot { text-align: right; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.cl-rm { display: block; margin-top: 6px; margin-left: auto; background: none; border: 0; color: #b14; cursor: pointer; font-size: .8rem; }
.qty { display: inline-flex; align-items: center; gap: 0; margin-top: 6px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 26px; height: 26px; border: 0; background: var(--paper); cursor: pointer; font-size: 1rem; color: var(--ink); }
.qty button:hover { background: #eef2f4; }
.qty input { width: 38px; height: 26px; border: 0; text-align: center; font-size: .85rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#cartFoot { border-top: 1px solid var(--line); padding: 16px 20px; }
.cart-sums div { display: flex; justify-content: space-between; font-size: .9rem; margin: 4px 0; color: var(--muted); }
.cart-sums .grand { font-size: 1.1rem; color: var(--ink); font-weight: 800; margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; }
.cart-vat { font-size: .72rem; color: var(--muted); margin: 6px 0 0; }
#paypalArea { margin: 14px 0 8px; }
.cart-mail { width: 100%; margin-top: 6px; }
.cart-clear { display: block; width: 100%; margin-top: 8px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }

.pp-demo { width: 100%; border: 0; border-radius: 999px; padding: 13px; font-weight: 800; font-size: .98rem;
  background: linear-gradient(180deg,#ffc439,#f0b90b); color: #142c8e; cursor: pointer; box-shadow: 0 6px 18px rgba(240,185,11,.4); }
.pp-demo:hover { filter: brightness(1.04); }
.pp-logo b { color: #142c8e; } .pp-logo i { color: #179bd7; font-style: normal; }
.pp-demo em { font-style: normal; opacity: .7; font-size: .8em; }
.pp-card-lbl { font-weight: 800; font-size: .9rem; color: var(--navy); margin: 2px 0 8px; }
.pp-card-lbl span { font-weight: 600; color: var(--muted); }
.pp-or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pp-or::before, .pp-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cart-or { display: flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-or::before, .cart-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-twint { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1px; background: #111; color: #fff; border: 0; border-radius: 999px; padding: 11px; cursor: pointer; }
.btn-twint:hover { background: #000; }
.btn-twint b { font-size: 1.05rem; letter-spacing: .04em; }
.btn-twint small { font-size: .68rem; font-weight: 600; opacity: .7; text-transform: none; letter-spacing: 0; }
.pp-note { font-size: .72rem; color: var(--muted); margin: 8px 2px 0; line-height: 1.4; }
.pp-note code { background: var(--paper); padding: 1px 5px; border-radius: 5px; }

.modal.pp-ok { max-width: 460px; text-align: center; padding: 30px; }
.pp-check { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 50%; background: #e7f6ec; color: #1c9d4f;
  font-size: 2rem; display: grid; place-items: center; font-weight: 800; }
.pp-recap { list-style: none; padding: 0; margin: 16px 0; text-align: left; border-top: 1px solid var(--line); }
.pp-recap li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.pp-recap li.tot { font-weight: 800; color: var(--ink); }

.m-qty-row { display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; }
.m-qty-row label { font-weight: 700; font-size: .9rem; }

#zbToast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 1400;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#zbToast.on { opacity: 1; transform: translate(-50%, 0); }

/* bandeau PDF + sections didactiques */
.pdf-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
  background: linear-gradient(110deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--radius);
  padding: 20px 26px; margin: 26px 0; box-shadow: var(--shadow); }
.pdf-bar p { margin: 0; font-size: .95rem; opacity: .9; }
.pdf-bar h3 { margin: 0 0 4px; font-family: var(--font-display); }
.pdf-bar .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin: 28px 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--teal); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 8px; font-size: 1.08rem; }
.step p, .step li { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.step ul { margin: 8px 0 0; padding-left: 18px; }
.studies-frame { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.frame-note { font-size: .85rem; color: var(--muted); margin: 10px 2px; }
