/* Layout: site B2B 2 pages (accueil + certificats), bandeau sombre "soleil", sections claires, bouton WhatsApp flottant */
:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --ink: #0f1a17;
  --muted: #55625d;
  --line: #d8dfdb;
  --accent: #0d7558;
  --sun: #f7b733;
  --sun-soft: rgba(247, 183, 51, .32);
  --hot: #d9472b;
  --night: #0d1613;
  --night-fg: #eef3f0;
  --night-muted: #a7b6b0;
  --wa: #25d366;
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a100e; --surface: #111a17; --ink: #e8eeeb; --muted: #9aa8a2; --line: #23302b;
    --accent: #3cbf92; --sun: #ffc54d; --sun-soft: rgba(255, 197, 77, .2); --hot: #ff6a4d;
    --night: #060b09; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a100e; --surface: #111a17; --ink: #e8eeeb; --muted: #9aa8a2; --line: #23302b;
  --accent: #3cbf92; --sun: #ffc54d; --sun-soft: rgba(255, 197, 77, .2); --hot: #ff6a4d;
  --night: #060b09; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
.wrap { max-width: 1100px; margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--sun); }
.nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav ul a { color: var(--muted); text-decoration: none; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }
.nav ul a.nav-cta { color: var(--ink); border: 1px solid var(--line); padding: 7px 14px; border-radius: 4px; }
@media (max-width: 720px) { .nav ul li.hide-sm { display: none; } .nav ul { gap: 14px; } }

/* Boutons */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--sun); color: #1d1505; }
.btn-ghost { border-color: rgba(238,243,240,.3); color: var(--night-fg); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn:hover { filter: brightness(1.06); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--night-fg); }
.hero .wrap { position: relative; padding-block: 80px 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; }
.hero h1 span { color: var(--sun); }
.hero .lead { max-width: 54ch; font-size: 18px; color: var(--night-muted); }
.hero .eyebrow { color: var(--sun); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--f-mono); font-size: 13px; color: #8fa199; border-top: 1px solid rgba(238,243,240,.12); padding-top: 20px; }
.hero-meta b { color: var(--night-fg); font-weight: 500; }
.hero.small .wrap { grid-template-columns: 1fr; padding-block: 64px 52px; }
.hero.small h1 { font-size: clamp(36px, 5.5vw, 60px); }

.collector-art { position: relative; aspect-ratio: 1; max-width: 100%; }
.collector-art .sun { position: absolute; top: 4%; right: 6%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: 0 0 60px 20px var(--sun-soft); animation: rise 1.6s ease-out both; }
@keyframes rise { from { transform: translateY(18px); opacity: .5; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .collector-art .sun { animation: none; } html { scroll-behavior: auto; } }
.collector-art .panel { position: absolute; left: 6%; bottom: 14%; width: 78%; aspect-ratio: 1988 / 1218; transform: skewY(-14deg); border: 6px solid #c9d2ce; border-radius: 3px;
  background: repeating-linear-gradient(90deg, #12302a 0 8.2%, #1d4a40 8.2% 10%), #12302a; box-shadow: 0 30px 50px rgba(0,0,0,.45); }
.collector-art .panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 45%); }
.collector-art .label { position: absolute; left: 6%; bottom: 0; font-family: var(--f-mono); font-size: 12px; color: #8fa199; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .collector-art { max-width: 340px; } }

/* Sections */
section.block { padding-block: 84px; border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 680px; }
.head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.head p { color: var(--muted); font-size: 17px; }

/* Grille d'offres */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cell { background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.cell .tag { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.cell h3 { font-size: 20px; }
.cell p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }

/* Groupe */
.group { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.group-text { display: grid; gap: 18px; font-size: 17px; max-width: 60ch; min-width: 0; }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.figure { background: var(--surface); padding: 24px; display: grid; gap: 6px; }
.figure b { font-family: var(--f-display); font-size: 26px; line-height: 1.1; }
.figure span { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .group { grid-template-columns: 1fr; gap: 36px; } }

/* Marque blanche */
.white-label { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.wl-copy { padding: 40px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.wl-copy h2 { font-size: clamp(28px, 3.6vw, 38px); }
.wl-copy p { color: var(--muted); }
.wl-steps { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: s; }
.wl-steps li { counter-increment: s; padding: 22px 32px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.wl-steps li:last-child { border-bottom: 0; }
.wl-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: 13px; color: var(--accent); padding-top: 3px; }
.wl-steps b { display: block; font-family: var(--f-display); font-size: 17px; }
.wl-steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .white-label { grid-template-columns: 1fr; } .wl-steps { border-left: 0; border-top: 1px solid var(--line); } .wl-copy { padding: 28px; } }

/* Produit + PDF */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product > div { background: var(--surface); padding: 32px; min-width: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; margin: 0; font-size: 15px; }
.kv dt, .kv dd { padding-block: 10px; border-bottom: 1px solid var(--line); margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { font-family: var(--f-mono); font-variant-numeric: tabular-nums; text-align: right; }
.pdf-card { display: grid; gap: 18px; align-content: start; }
.pdf-doc { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; }
.pdf-icon { width: 56px; height: 70px; border: 1px solid var(--line); background: var(--bg); position: relative; display: grid; place-items: end center; padding-bottom: 8px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--hot); clip-path: polygon(0 0, 72% 0, 100% 20%, 100% 100%, 0 100%); }
.pdf-doc b { display: block; font-family: var(--f-display); font-size: 18px; }
.pdf-doc span { color: var(--muted); font-size: 14px; }
.pdf-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; } .product > div { padding: 24px; } }

/* Certificats */
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert { background: var(--surface); padding: 24px; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; min-width: 0; }
.cert h3 { font-size: 18px; margin-bottom: 4px; }
.cert p { color: var(--muted); font-size: 15px; }
.badge { width: 64px; height: 64px; display: grid; place-items: center; text-align: center; font-family: var(--f-mono); font-weight: 500; font-size: 11px; line-height: 1.15; letter-spacing: .02em; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); }
.badge.diamond { border-radius: 4px; transform: rotate(45deg) scale(.78); }
.badge.diamond span { transform: rotate(-45deg) scale(1.2); }
.badge.square { border-radius: 6px; }
.badge.hot { border-color: var(--hot); color: var(--hot); }
.badge.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
@media (max-width: 760px) { .cert-list { grid-template-columns: 1fr; } }
.cert-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-strip span { font-family: var(--f-mono); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }

.tests { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.panel-card { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 18px; min-width: 0; }
.panel-card h3 { font-size: 19px; }
.panel-card .sub { font-size: 13px; color: var(--muted); }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 52px 1fr 72px; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.bar .track { height: 22px; background: var(--bg); border: 1px solid var(--line); }
.bar .fill { height: 100%; background: linear-gradient(90deg, var(--sun), var(--hot)); }
.bar .val { text-align: right; }
.bar .k { color: var(--muted); }
@media (max-width: 860px) { .tests { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--night); color: var(--night-fg); }
.contact .wrap { padding-block: 80px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(32px, 5vw, 50px); }
.contact h2 span { color: var(--sun); }
.contact p { color: var(--night-muted); margin-top: 14px; max-width: 48ch; }
.contact-card { border: 1px solid rgba(238,243,240,.14); padding: 26px; display: grid; gap: 18px; }
.contact-card .who b { font-family: var(--f-display); font-size: 22px; display: block; }
.contact-card .who span { font-size: 14px; color: var(--night-muted); }
.contact-card dl { margin: 0; display: grid; gap: 12px; font-family: var(--f-mono); font-size: 15px; }
.contact-card dt { color: #8a9a94; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.contact-card dd { margin: 2px 0 0; }
.contact-card dd a { color: var(--night-fg); text-decoration: none; border-bottom: 1px solid rgba(238,243,240,.25); }
@media (max-width: 760px) { .contact .wrap { grid-template-columns: 1fr; } }
footer { background: var(--night); color: #8a9a94; font-size: 13px; border-top: 1px solid rgba(238,243,240,.1); }
footer .wrap { padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer a { color: #8a9a94; }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #06210f; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { filter: brightness(1.05); }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ===== UX / UI v2 ===== */
:root { --paper: #ffffff; --radius: 6px; --shadow: 0 1px 2px rgba(15,26,23,.06), 0 8px 24px rgba(15,26,23,.06); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 12px; }

/* Header au scroll */
.nav { transition: box-shadow .2s, background .2s; }
.nav.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.nav ul a { position: relative; transition: color .15s; }
.nav ul a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav ul a:not(.nav-cta):hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a.nav-cta { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.drawer { display: none; }
@media (max-width: 720px) {
  .nav ul { display: none; }
  .menu-btn { display: grid; }
  .drawer { display: grid; gap: 4px; padding: 8px 20px 18px; border-top: 1px solid var(--line); }
  .drawer[hidden] { display: none !important; }
  .drawer a { padding: 12px 4px; color: var(--ink); text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
  .drawer a.btn { justify-content: center; border-bottom: 0; margin-top: 10px; }
}

/* Boutons */
.btn { transition: transform .15s, filter .15s, box-shadow .15s; border-radius: var(--radius); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary:hover { box-shadow: 0 8px 24px var(--sun-soft); }

/* Hero v2 */
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(247,183,51,.12), transparent 60%); pointer-events: none; }
.hero-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; border-top: 1px solid rgba(238,243,240,.12); padding-top: 22px; }
.hero-stats div { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(238,243,240,.12); }
.hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats b { display: block; font-family: var(--f-display); font-size: 26px; line-height: 1.1; color: var(--night-fg); }
.hero-stats span { font-size: 13px; color: #8fa199; }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; } .hero-stats div { border: 0; margin: 0; padding: 0; } }

/* Bande certificats défilante */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.trust .wrap { display: flex; align-items: center; gap: 24px; padding-block: 16px; }
.trust-label { flex: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 640px) { .trust-label { display: none; } }

/* Cartes offre avec icône */
.cell { transition: background .2s; position: relative; }
.cell:hover { background: color-mix(in srgb, var(--surface) 92%, var(--sun)); }
.ico { width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 6px; }
.ico svg { width: 24px; height: 24px; }
.cell .more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.cell .more:hover { text-decoration: underline; }

/* Atouts */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.perk { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.perk .ico { width: 36px; height: 36px; margin: 0; }
.perk .ico svg { width: 18px; height: 18px; }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* Onglets produit */
.tabs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tablist { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.tab { flex: none; border: 0; background: transparent; color: var(--muted); font: 600 15px var(--f-body); padding: 10px 16px; border-radius: var(--radius); cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.tabpanel { display: grid; grid-template-columns: 1.2fr .8fr; min-height: 360px; }
.tabpanel > div { padding: 30px; min-width: 0; }
.tabpanel > div + div { border-left: 1px solid var(--line); }
.tabpanel.full { grid-template-columns: 1fr; }
.figure-paper { background: var(--paper); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.figure-paper img { display: block; width: 100%; height: auto; }
.tank-visual { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--sun-soft), transparent 65%), var(--bg); border-radius: var(--radius); min-height: 240px; }
.tank-visual img { height: 220px; width: auto; image-rendering: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.panel-visual { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, var(--sun-soft), transparent 60%), var(--night); border-radius: var(--radius); min-height: 240px; }
.panel-visual .collector-art { width: 80%; max-width: 280px; }
.side-actions { display: grid; gap: 14px; align-content: start; }
.side-actions p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .tabpanel { grid-template-columns: 1fr; } .tabpanel > div + div { border-left: 0; border-top: 1px solid var(--line); } .tabpanel > div { padding: 22px; } }

/* Processus de commande */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; }
.step { counter-increment: st; padding: 0 22px 0 0; display: grid; gap: 8px; position: relative; }
.step::before { content: counter(st); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; background: var(--ink); color: var(--bg); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 19px; left: 38px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step b { font-family: var(--f-display); font-size: 18px; }
.step span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } .step::after { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Formulaire devis */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.quote-side { background: var(--night); color: var(--night-fg); padding: 36px; display: grid; gap: 18px; align-content: start; }
.quote-side h2 { font-size: clamp(28px, 3.6vw, 38px); }
.quote-side p { color: var(--night-muted); }
.quote-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.quote-side li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.quote-side li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1505' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
form.qf { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { font: 15px var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--hot); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--bg); transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { grid-column: 1 / -1; color: var(--hot); font-size: 14px; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 520px) { form.qf { grid-template-columns: 1fr; padding: 22px; } .quote-side { padding: 26px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Certificats v2 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--f-body); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter small { font-family: var(--f-mono); font-weight: 400; opacity: .7; margin-left: 4px; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cert-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cert-card .cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cert-card h3 { font-size: 19px; }
.cert-card p { color: var(--muted); font-size: 15px; }
.cert-card a { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; margin-top: auto; }
.cert-card a:hover { text-decoration: underline; }
.badge { width: 56px; height: 56px; font-size: 10px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }

/* Apparition au scroll (contenu visible au repos) */
.reveal { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.js .reveal.pre { transform: translateY(14px); opacity: .001; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; } .js .reveal.pre { transform: none; opacity: 1; } }

/* WhatsApp flottant v2 */
.wa-float { transition: transform .2s, box-shadow .2s; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.wa-float::before { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid var(--wa); opacity: 0; animation: ping 2.8s ease-out 2s 3; }
@keyframes ping { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-size: 14px; z-index: 30; box-shadow: var(--shadow); }

/* Garde-fous */
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
button.btn { font-family: var(--f-body); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(238,243,240,.08); }

/* Gammes */
.cell-link { color: inherit; text-decoration: none; }
.cell-link:hover h3 { color: var(--accent); }
.panel-title { font-size: 22px; margin-bottom: 16px; }
.spec-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 22px; }
.spec-chips span { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; display: grid; gap: 2px; font-size: 12px; color: var(--muted); background: var(--bg); text-transform: uppercase; letter-spacing: .05em; }
.spec-chips b { font-family: var(--f-display); font-size: 18px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.tabpanel .figure-paper img { max-height: 280px; object-fit: contain; }
