/* =========================================================================
   camera-canalisation.com
   Design system : orange AGM TEC + anthracite
   Desktop : en-tête horizontal. Mobile : menu latéral coulissant.
   ====================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
    --orange:        #ec6c2b;
    --orange-600:    #d75d1e;
    --orange-700:    #b94c15;
    --orange-soft:   #fff2ea;
    --orange-glow:   rgba(236, 108, 43, .35);

    --ink:           #101216;
    --ink-2:         #171a20;
    --ink-3:         #21252d;
    --ink-4:         #2e333d;
    --ink-line:      rgba(255, 255, 255, .09);

    --paper:         #f5f6f8;
    --white:         #ffffff;
    --line:          #e3e6eb;
    --line-soft:     #eef0f4;

    --text:          #12151a;
    --text-2:        #4b535f;
    --muted:         #79828f;

    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --header-h:  80px;
    --utility-h: 40px;

    --shadow-s: 0 1px 2px rgba(16, 18, 22, .05), 0 4px 14px rgba(16, 18, 22, .045);
    --shadow-m: 0 6px 24px rgba(16, 18, 22, .09), 0 2px 6px rgba(16, 18, 22, .045);
    --shadow-l: 0 24px 60px rgba(16, 18, 22, .17);
    --shadow-orange: 0 8px 22px rgba(236, 108, 43, .3);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Barlow Condensed", "Manrope", sans-serif;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* L'attribut hidden prime sur toute règle display de composant. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.16; font-weight: 800; letter-spacing: -.022em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.3vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.35vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 1rem + .45vw, 1.38rem); }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }

button { font: inherit; color: inherit; }

::selection { background: var(--orange); color: #fff; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; top: -60px; left: 12px; z-index: 999;
    background: var(--orange); color: #fff; padding: .6rem 1rem;
    border-radius: 0 0 var(--r-sm) var(--r-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; }

/* --- 3. Barre utilitaire ------------------------------------------------ */
.utility {
    height: var(--utility-h);
    background: var(--ink);
    color: rgba(255, 255, 255, .6);
    font-size: .795rem;
}
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--utility-h); }
.utility__baseline { display: flex; align-items: center; gap: .5rem; margin: 0; white-space: nowrap; }
.utility__baseline svg { color: var(--orange); }
.utility__baseline span { color: rgba(255, 255, 255, .26); }

.utility__right { display: flex; align-items: center; gap: 1.4rem; }
.utility__right > a { display: inline-flex; align-items: center; gap: .4rem; transition: color .18s var(--ease); }
.utility__right > a:hover { color: var(--orange); }
.utility__right svg { color: var(--orange); }

.utility__social { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.utility__social li { margin: 0; }
.utility__social a {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px;
    color: rgba(255, 255, 255, .48); transition: .18s var(--ease);
}
.utility__social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* --- 4. En-tête principal ----------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 22px rgba(16, 18, 22, .09); border-color: transparent; }

.site-header__inner { position: relative; display: flex; align-items: center; gap: 1.6rem; height: var(--header-h); }

.brand { flex: none; }
.brand img { width: 176px; height: auto; transition: width .25s var(--ease); }
.site-header.is-stuck .brand img { width: 158px; }

/* Navigation horizontale */
.mainnav { flex: 1; display: flex; justify-content: center; }
.mainnav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.mainnav__item { margin: 0; position: relative; }
.mainnav__item--mega { position: static; }

.mainnav__link {
    position: relative; display: inline-flex; align-items: center; gap: .35rem;
    padding: .62rem .82rem; border: 0; background: none; cursor: pointer;
    font-size: .925rem; font-weight: 700; letter-spacing: -.005em; color: var(--text-2);
    border-radius: 9px; white-space: nowrap;
    transition: color .18s var(--ease), background .18s var(--ease);
}
.mainnav__link::after {
    content: ""; position: absolute; left: .82rem; right: .82rem; bottom: .16rem; height: 2px;
    background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
}
.mainnav__link:hover { color: var(--text); }
.mainnav__link:hover::after { transform: scaleX(1); }
.mainnav__link.is-active { color: var(--orange-700); }
.mainnav__link.is-active::after { transform: scaleX(1); }
.mainnav__chev { transition: transform .22s var(--ease); color: var(--muted); }
[aria-expanded="true"] > .mainnav__chev, .mainnav__link[aria-expanded="true"] .mainnav__chev { transform: rotate(90deg); }

/* Méga-menu */
.mega {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-top: 10px; padding: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-l); overflow: hidden;
    animation: megaIn .22s var(--ease);
}
@keyframes megaIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}
.mega__inner {
    width: auto !important;
    display: grid; grid-template-columns: 280px 1fr; gap: 0;
}
.mega__aside {
    padding: 1.7rem; background: linear-gradient(165deg, var(--ink-2), var(--ink));
    color: rgba(255, 255, 255, .66);
}
.mega__eyebrow {
    margin: 0 0 .6rem; font-size: .7rem; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase; color: var(--orange);
}
.mega__text { font-size: .86rem; line-height: 1.55; margin-bottom: 1.2rem; }
.mega__link {
    display: inline-block; margin-top: .9rem; font-size: .84rem; font-weight: 700;
    color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 4px;
}
.mega__link:hover { color: var(--orange); }

.mega__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem;
    list-style: none; margin: 0; padding: .9rem;
}
.mega__grid li { margin: 0; }
.mega__grid a {
    display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 11px;
    transition: background .18s var(--ease);
}
.mega__grid a:hover { background: var(--orange-soft); }
.mega__grid img {
    width: 52px; height: 52px; flex: none; object-fit: contain;
    background: var(--paper); border-radius: 9px; padding: 3px;
}
.mega__grid strong { display: block; font-size: .875rem; line-height: 1.3; }
.mega__grid small { display: block; font-size: .73rem; color: var(--muted); }

/* Actions de l'en-tête */
.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: .55rem; transition: color .18s var(--ease); }
.header-phone svg { color: var(--orange); }
.header-phone small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); line-height: 1.2; }
.header-phone strong { display: block; font-size: 1rem; letter-spacing: -.01em; }
.header-phone:hover strong { color: var(--orange-700); }

/* Burger, masqué en desktop */
.burger { display: none; }

/* --- 5. Menu latéral mobile --------------------------------------------- */
.drawer {
    position: fixed; inset: 0 auto 0 0; z-index: 90;
    width: min(330px, 88vw); padding: 1.4rem 1.15rem 2rem;
    display: flex; flex-direction: column; gap: 1.15rem;
    background: linear-gradient(178deg, #14171d, var(--ink) 48%, #0c0e12);
    transform: translateX(-100%); transition: transform .32s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 22px 0 50px rgba(0, 0, 0, .35);
}
body.nav-open .drawer { transform: none; }

.drawer::after {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; pointer-events: none;
    background: radial-gradient(120% 90% at 12% 0%, rgba(236, 108, 43, .22), transparent 62%);
}
.drawer > * { position: relative; z-index: 1; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.drawer__logo img { width: 158px; height: auto; }
.drawer__close {
    display: grid; place-items: center; width: 38px; height: 38px; flex: none;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
}

.drawer__title {
    margin: 0 0 .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: rgba(255, 255, 255, .34);
}

.drawer__nav ul, .drawer__products ul, .drawer__social { list-style: none; margin: 0; padding: 0; }
.drawer__nav li { margin: 0 0 2px; }

.drawer__link {
    display: flex; align-items: center; gap: .72rem; padding: .68rem .8rem; border-radius: 11px;
    font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .76);
    transition: background .18s var(--ease), color .18s var(--ease);
}
.drawer__icon { display: grid; place-items: center; color: rgba(255, 255, 255, .4); }
.drawer__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.drawer__link.is-active {
    background: linear-gradient(95deg, rgba(236, 108, 43, .2), rgba(236, 108, 43, .05));
    color: #fff; box-shadow: inset 0 0 0 1px rgba(236, 108, 43, .3);
}
.drawer__link.is-active .drawer__icon { color: var(--orange); }

.drawer__products { border-top: 1px solid var(--ink-line); padding-top: 1.1rem; }
.drawer__product {
    display: flex; flex-direction: column; padding: .45rem .8rem; border-radius: 9px;
    border-left: 2px solid transparent; transition: .18s var(--ease);
}
.drawer__product span { font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .84); }
.drawer__product small { font-size: .72rem; color: rgba(255, 255, 255, .38); }
.drawer__product:hover { background: rgba(255, 255, 255, .05); border-left-color: var(--orange); }
.drawer__product.is-active { background: rgba(236, 108, 43, .12); border-left-color: var(--orange); }
.drawer__product.is-active span { color: var(--orange); }

.drawer__contact { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--ink-line); }
.drawer__phone { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; color: rgba(255, 255, 255, .8); }
.drawer__phone svg { color: var(--orange); }
.drawer__phone strong { display: block; font-size: 1.02rem; color: #fff; }
.drawer__phone small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .42); line-height: 1.3; }

.drawer__social { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.drawer__social li { margin: 0; }
.drawer__social a {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
    background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .6); transition: .18s var(--ease);
}
.drawer__social a:hover { background: var(--orange); color: #fff; }

.nav-overlay {
    position: fixed; inset: 0; z-index: 80; background: rgba(9, 11, 14, .55);
    backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s var(--ease);
}
.nav-overlay.is-visible { opacity: 1; }

/* --- 6. Boutons --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .82rem 1.5rem; border: 0; border-radius: 100px; cursor: pointer;
    font-size: .93rem; font-weight: 700; letter-spacing: -.005em; text-align: center;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(236, 108, 43, .4); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.6px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.6px var(--orange); color: var(--orange-700); }
.btn--ghost { background: rgba(255, 255, 255, .09); color: inherit; box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .17); }
.btn--link { background: none; padding-inline: .6rem; text-decoration: underline; text-underline-offset: 3px; }
.btn--block { width: 100%; }
.btn--sm { padding: .62rem 1.15rem; font-size: .86rem; }

.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* --- 7. Structure de page ---------------------------------------------- */
.wrap { width: min(1240px, 100% - 4rem); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 4rem); }

.section { padding: clamp(3rem, 5.2vw, 5.6rem) 0; }
.section--tight { padding: clamp(2.2rem, 3.6vw, 3.6rem) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .76); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
    padding: .36rem .85rem .36rem .6rem; border-radius: 100px;
    background: var(--orange-soft); color: var(--orange-700);
    font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.section--dark .eyebrow { background: rgba(236, 108, 43, .16); color: #ffb083; }

.section-head { max-width: 740px; margin-bottom: 2.6rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .64); }

.lead { font-size: 1.12rem; color: var(--text-2); }

/* --- 8. Fil d'Ariane ---------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: .8rem; }
.crumbs li { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; color: var(--line); }
.crumbs a { color: var(--muted); transition: color .18s var(--ease); }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.crumbs--light li, .crumbs--light a { color: rgba(255, 255, 255, .55); }
.crumbs--light [aria-current] { color: #fff; }
.crumbs--light li:not(:last-child)::after { color: rgba(255, 255, 255, .25); }

/* --- 9. Hero accueil ---------------------------------------------------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(88% 120% at 86% -12%, #2b313b 0%, var(--ink-2) 44%, var(--ink) 100%);
    padding: clamp(3rem, 5.6vw, 5.4rem) 0 clamp(3.4rem, 5.6vw, 5.2rem);
}
.hero::before {
    content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -230px;
    background: radial-gradient(circle, var(--orange-glow), transparent 62%); filter: blur(28px); pointer-events: none;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(70% 70% at 28% 42%, #000, transparent 78%);
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(2rem, 4vw, 3.6rem); grid-template-columns: 1.04fr .96fr; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .72); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.7rem 0 2.2rem; }

.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; border-top: 1px solid var(--ink-line); padding-top: 1.5rem; }
.hero__stat strong {
    display: block; font-family: var(--font-display); font-size: 1.78rem; line-height: 1;
    color: var(--orange); letter-spacing: .01em;
}
.hero__stat span { font-size: .74rem; color: rgba(255, 255, 255, .5); line-height: 1.35; display: block; margin-top: .3rem; }

.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--r-xl); box-shadow: 0 32px 80px rgba(0, 0, 0, .5); background: #fff; }
.hero__tag {
    position: absolute; left: -14px; bottom: 24px; display: flex; align-items: center; gap: .65rem;
    padding: .72rem 1.15rem; border-radius: 100px; background: #fff; color: var(--ink);
    font-size: .82rem; font-weight: 700; box-shadow: var(--shadow-l);
}
.hero__tag svg { color: var(--orange); }

/* --- 10. Bandeau de réassurance ---------------------------------------- */
.assurance { background: var(--white); border-bottom: 1px solid var(--line); }
/* margin-inline reste sur auto : le raccourci « margin: 0 » écraserait le
   centrage hérité de .wrap et collerait la barre à gauche du conteneur. */
.assurance ul {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    list-style: none; margin-block: 0; margin-inline: auto; padding: 0;
    background: var(--line-soft);
}
.assurance li {
    margin: 0; background: var(--white); padding: 1.3rem 1.25rem;
    display: flex; align-items: center; justify-content: center; gap: .85rem;
}
.assurance svg { color: var(--orange); width: 26px; height: 26px; }
.assurance strong { display: block; font-size: .92rem; }
.assurance span { font-size: .78rem; color: var(--muted); }

/* --- 11. Cartes produits ------------------------------------------------ */
.grid-products { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.pcard {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: #d6dae1; }

.pcard__media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #fcfcfd, #eef0f4); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; transition: transform .45s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }

.pcard__badge {
    position: absolute; top: .85rem; left: .85rem; z-index: 2;
    padding: .3rem .72rem; border-radius: 100px; background: var(--ink); color: #fff;
    font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pcard__badge--accent { background: var(--orange); }

.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.45rem; }
.pcard__family { font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); margin-bottom: .35rem; }
.pcard__title { font-size: 1.22rem; margin-bottom: .45rem; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__desc { font-size: .875rem; color: var(--text-2); margin-bottom: 1rem; }

.pcard__specs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.15rem; }
.chip {
    display: inline-flex; align-items: center; gap: .32rem; padding: .28rem .68rem;
    border-radius: 8px; background: var(--paper); border: 1px solid var(--line-soft);
    font-size: .74rem; font-weight: 600; color: var(--text-2);
}
.chip svg { width: 13px; height: 13px; color: var(--orange); }

.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); }
.pcard__price small { display: block; font-size: .67rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pcard__price strong { font-family: var(--font-display); font-size: 1.62rem; line-height: 1.1; color: var(--ink); }
.pcard__price em { font-style: normal; font-size: .72rem; color: var(--muted); display: block; }
.pcard__go {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: var(--orange-soft); color: var(--orange-700); transition: .22s var(--ease);
}
.pcard:hover .pcard__go { background: var(--orange); color: #fff; transform: translateX(3px); }

/* --- 12. Blocs génériques ---------------------------------------------- */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.grid-4 { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.7rem; }
.card--flat { border-color: var(--line-soft); }
.card__icon {
    display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem;
    border-radius: 13px; background: var(--orange-soft); color: var(--orange-700);
}
.card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.card p { font-size: .91rem; color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }

.section--paper .card { box-shadow: var(--shadow-s); }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-line); }
.section--dark .card p { color: rgba(255, 255, 255, .6); }
.section--dark .card__icon { background: rgba(236, 108, 43, .16); color: #ff9c5c; }

.numbered { counter-reset: step; }
.numbered .card { position: relative; padding-top: 2.7rem; }
.numbered .card::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 1.25rem; left: 1.7rem;
    font-family: var(--font-display); font-size: 1.5rem; color: var(--orange); letter-spacing: .04em;
}

/* --- 13. Preuves et partenaires ---------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.15rem; }
.trust__item { padding: 1.6rem; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--ink-line); }
.trust__value { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--orange); }
.trust__label { display: block; margin: .35rem 0 .5rem; font-weight: 700; color: #fff; font-size: .96rem; }
.trust__detail { font-size: .82rem; color: rgba(255, 255, 255, .55); line-height: 1.5; margin: 0; }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.6rem 2.8rem; }
.partners img { height: 34px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .25s var(--ease), filter .25s var(--ease); }
.partners img:hover { opacity: 1; filter: none; }

/* --- 14. Fiche produit -------------------------------------------------- */
.phero { background: var(--ink); color: #fff; padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(2.6rem, 4vw, 4rem); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: start; }
.phero__grid > * { min-width: 0; }
.phero h1 { color: #fff; font-size: clamp(1.72rem, 1.15rem + 1.9vw, 2.55rem); }
.phero__tagline { font-size: 1.05rem; color: rgba(255, 255, 255, .7); }
.phero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.tag {
    display: inline-flex; align-items: center; gap: .38rem; padding: .34rem .8rem; border-radius: 100px;
    font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .82);
}
.tag--accent { background: var(--orange); color: #fff; }

.phero__keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.5rem 0; }
.keyspec {
    display: flex; align-items: center; gap: .7rem; padding: .8rem .95rem;
    border-radius: 13px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ink-line);
}
.keyspec svg { color: var(--orange); }
.keyspec small { display: block; font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .4); }
.keyspec strong { font-size: .92rem; color: #fff; }

.pricebox {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
    padding: 1.15rem 1.35rem; margin-bottom: 1.3rem;
    border-radius: var(--r); background: rgba(236, 108, 43, .12); border: 1px solid rgba(236, 108, 43, .28);
}
.pricebox__amount { line-height: 1.1; }
.pricebox__amount strong { font-family: var(--font-display); font-size: 2.2rem; color: #fff; }
.pricebox__amount small { display: block; font-size: .76rem; color: rgba(255, 255, 255, .55); }
.pricebox__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-left: auto; }

/* Galerie */
.gallery__main {
    position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(0, 0, 0, .42);
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 1.4rem; }
.gallery__thumbs { display: flex; gap: .55rem; margin-top: .8rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.gallery__thumb {
    flex: none; width: 74px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 12px;
    background: #fff; cursor: pointer; overflow: hidden; transition: .2s var(--ease); opacity: .6;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: .35rem; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--orange); opacity: 1; }

/* Onglets */
.tabs { display: flex; gap: .4rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
    flex: none; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
    padding: .85rem 1.15rem; font-size: .93rem; font-weight: 700; color: var(--muted);
    transition: .18s var(--ease);
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--orange-700); border-bottom-color: var(--orange); }

/* Tableau de specs */
.spec-group { margin-bottom: 1.9rem; }
.spec-group h3 {
    display: flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .13em;
    text-transform: uppercase; color: var(--orange-700); margin-bottom: .8rem;
}
.spec-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: fixed; }
.spec-table th, .spec-table td { padding: .72rem .9rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; overflow-wrap: anywhere; }
.spec-table th { width: 46%; font-weight: 600; color: var(--text-2); }
.spec-table td { font-weight: 700; }
.spec-table tr:nth-child(odd) { background: #fafbfc; }

/* Listes cochées */
.checklist { list-style: none; padding: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin: 0; font-size: .93rem; }
.checklist svg { flex: none; width: 19px; height: 19px; margin-top: .18rem; color: var(--orange); }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Prose */
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose a { color: var(--orange-700); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--orange); }

/* Questions / réponses */
.qa { display: grid; gap: .75rem; }
.qa__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qa__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
    padding: 1.05rem 1.3rem; font-weight: 700; font-size: 1rem; list-style: none;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after {
    content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--orange); line-height: 1; flex: none;
    transition: transform .22s var(--ease);
}
.qa__item[open] summary::after { transform: rotate(45deg); }
.qa__item .qa__body { padding: 0 1.3rem 1.15rem; color: var(--text-2); font-size: .94rem; }
.qa__item .qa__body p:last-child { margin-bottom: 0; }

/* Bandeau d'appel à l'action */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.2rem);
    background: linear-gradient(120deg, var(--ink-2), var(--ink) 60%); color: #fff;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem;
}
.cta-band::before {
    content: ""; position: absolute; width: 420px; height: 420px; right: -110px; bottom: -200px;
    background: radial-gradient(circle, var(--orange-glow), transparent 62%); filter: blur(20px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .68); margin-bottom: 0; max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* --- 15. Tableau comparatif -------------------------------------------- */
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .89rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.compare thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-size: .8rem; z-index: 2; }
.compare tbody th { font-weight: 600; color: var(--text-2); background: #fafbfc; white-space: nowrap; }
.compare td { font-weight: 600; }
.compare tr:hover td { background: var(--orange-soft); }
.compare .yes { color: #12864f; font-weight: 800; }
.compare .no { color: var(--muted); }

/* --- 16. Formulaire ---------------------------------------------------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: var(--text-2); }
.form-grid > *, .field { min-width: 0; }
.field input, .field select, .field textarea {
    width: 100%; min-width: 0; max-width: 100%;
    font: inherit; font-size: .93rem; padding: .78rem .95rem; border-radius: 11px;
    border: 1.5px solid var(--line); background: var(--white); color: var(--text);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(236, 108, 43, .13);
}
.field small { font-size: .74rem; color: var(--muted); }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--text-2); }
.consent input { margin-top: .25rem; accent-color: var(--orange); }

.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); font-size: .92rem; margin-bottom: 1.4rem; }
.alert--ok { background: #e8f7ef; color: #12643c; border: 1px solid #b9e5cd; }
.alert--ko { background: #fdecec; color: #9b2222; border: 1px solid #f6c6c6; }

/* --- 17. Bouton flottant Catalogue ------------------------------------- */
.fab-zone { position: fixed; right: clamp(14px, 2.2vw, 26px); bottom: clamp(14px, 2.2vw, 26px); z-index: 70; }

.fab {
    position: relative; display: flex; align-items: center; gap: .6rem; margin-left: auto;
    padding: .85rem 1.35rem .85rem 1rem; border: 0; border-radius: 100px; cursor: pointer;
    background: linear-gradient(135deg, var(--orange), #f5893f); color: #fff;
    font-weight: 800; font-size: .95rem;
    box-shadow: 0 12px 34px rgba(236, 108, 43, .45), 0 2px 6px rgba(0, 0, 0, .18);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.fab::before {
    content: ""; position: absolute; inset: -6px; border-radius: 100px; z-index: -1;
    background: var(--orange); opacity: .3; animation: fabPulse 2.8s var(--ease) infinite;
}
.fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(236, 108, 43, .55); }
.fab__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.fab__icon svg { width: 18px; height: 18px; }
.fab[aria-expanded="true"] .fab__icon { transform: rotate(90deg); transition: transform .3s var(--ease); }

@keyframes fabPulse {
    0%   { transform: scale(1);    opacity: .32; }
    70%  { transform: scale(1.16); opacity: 0; }
    100% { transform: scale(1.16); opacity: 0; }
}

.fab-panel {
    width: min(360px, calc(100vw - 32px)); margin-bottom: .8rem; overflow: hidden;
    background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
    box-shadow: var(--shadow-l); transform-origin: bottom right; animation: fabIn .28s var(--ease);
}
@keyframes fabIn {
    from { opacity: 0; transform: translateY(12px) scale(.96); }
    to   { opacity: 1; transform: none; }
}
.fab-panel__head { display: flex; align-items: center; justify-content: space-between; padding: .95rem 1.1rem; background: var(--ink); color: #fff; }
.fab-panel__head p { margin: 0; font-weight: 800; font-size: .95rem; }
.fab-panel__close { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.fab-panel__list { list-style: none; margin: 0; padding: .4rem; max-height: min(52vh, 400px); overflow-y: auto; }
.fab-panel__list li { margin: 0; }
.fab-panel__list a { display: flex; align-items: center; gap: .75rem; padding: .55rem .6rem; border-radius: 12px; transition: background .18s var(--ease); }
.fab-panel__list a:hover { background: var(--orange-soft); }
.fab-panel__list img { width: 52px; height: 52px; object-fit: contain; border-radius: 9px; background: var(--paper); padding: 3px; flex: none; }
.fab-panel__list strong { display: block; font-size: .88rem; }
.fab-panel__list small { display: block; font-size: .73rem; color: var(--muted); }
.fab-panel__list svg { margin-left: auto; color: var(--muted); }
.fab-panel__all {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem; font-size: .87rem; font-weight: 800; color: var(--orange-700);
    border-top: 1px solid var(--line-soft); background: #fcfcfd;
}
.fab-panel__all:hover { background: var(--orange-soft); }

/* --- 18. Bandeau cookies ------------------------------------------------ */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: clamp(.8rem, 2vw, 1.2rem); animation: cookieIn .45s var(--ease) .25s both; }
@keyframes cookieIn {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: none; }
}
.cookie__inner {
    width: min(1160px, 100%); margin-inline: auto;
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center;
    padding: 1.15rem 1.4rem; border-radius: var(--r-lg);
    background: rgba(16, 18, 22, .97); color: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-l);
    backdrop-filter: blur(10px);
}
.cookie__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(236, 108, 43, .16); color: var(--orange); }
.cookie__title { margin: 0 0 .18rem; font-weight: 800; color: #fff; font-size: 1rem; }
.cookie__text p { margin: 0; font-size: .855rem; line-height: 1.55; }
.cookie__text a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.cookie__actions .btn { padding: .68rem 1.15rem; font-size: .85rem; }
.cookie__actions .btn--link { color: rgba(255, 255, 255, .66); }
.cookie__actions .btn--dark { background: #fff; color: var(--ink); }

.cookie__prefs { display: grid; gap: .55rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.cookie__opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; }
.cookie__opt input { margin-top: .2rem; accent-color: var(--orange); width: 17px; height: 17px; }
.cookie__opt strong { color: #fff; font-size: .85rem; }
.cookie__opt small { color: rgba(255, 255, 255, .5); font-size: .76rem; }

/* --- 19. Pied de page --------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: clamp(2.8rem, 4.5vw, 4.2rem) 0 0; }
.footer__inner {
    width: min(1240px, 100% - 4rem); margin-inline: auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.4rem;
    padding-bottom: 2.8rem;
}
.footer__logo { width: 172px; margin-bottom: 1rem; }
.footer__pitch { font-size: .875rem; line-height: 1.62; }
.footer__social { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.footer__social li { margin: 0; }
.footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .62); transition: .2s var(--ease); }
.footer__social a:hover { background: var(--orange); color: #fff; }

.footer__title { font-size: .73rem; letter-spacing: .15em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; font-weight: 800; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: .5rem; }
.footer__links a { font-size: .875rem; transition: color .18s var(--ease); }
.footer__links a:hover { color: var(--orange); }

.footer__address { font-style: normal; font-size: .875rem; }
.footer__address p { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; line-height: 1.55; }
.footer__address svg { color: var(--orange); margin-top: .18rem; flex: none; }
.footer__address a:hover { color: var(--orange); }

.footer__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
    width: min(1240px, 100% - 4rem); margin-inline: auto; padding: 1.35rem 0;
    border-top: 1px solid var(--ink-line);
    font-size: .78rem; color: rgba(255, 255, 255, .42);
}
.footer__bar p { margin: 0; }
.footer__bar ul { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.footer__bar li { margin: 0; }
.footer__bar a:hover, .footer__bar button:hover { color: var(--orange); }
.footer__bar button { font-size: .78rem; color: inherit; }

/* --- 20. Apparition au défilement --------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
}

/* --- 21. Responsive ----------------------------------------------------- */
@media (max-width: 1300px) {
    .wrap, .wrap--narrow, .footer__inner, .footer__bar { width: calc(100% - 3rem); }
    .wrap { max-width: 1240px; }
    .wrap--narrow { max-width: 820px; }
}

@media (max-width: 1150px) {
    .mainnav > ul { gap: 0; }
    .mainnav__link { padding-inline: .62rem; font-size: .885rem; }
    .header-phone small { display: none; }
    .brand img { width: 156px; }
}

@media (max-width: 1010px) {
    /* Bascule en navigation mobile : en-tête compact + tiroir latéral. */
    :root { --header-h: 68px; }

    .utility { display: none; }
    .mainnav, .header-actions { display: none; }

    .site-header__inner { gap: .8rem; justify-content: space-between; }
    .brand { order: 2; margin-inline: auto; }
    .brand img { width: 148px; }

    .burger {
        order: 1; display: grid; place-items: center; width: 42px; height: 42px; flex: none;
        border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer;
    }
    .burger__lines { display: grid; gap: 4px; width: 18px; }
    .burger__lines i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s var(--ease); }
    body.nav-open .burger__lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    body.nav-open .burger__lines i:nth-child(2) { opacity: 0; }
    body.nav-open .burger__lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .site-header__inner::after {
        content: ""; order: 3; width: 42px; height: 42px; flex: none;
    }

    .hero__inner, .phero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__media { order: -1; max-width: 540px; }
    .assurance ul { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .wrap, .wrap--narrow, .footer__inner, .footer__bar { width: calc(100% - 2rem); }
    .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1rem .6rem; }
    .phero__keys { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .cookie__inner { grid-template-columns: 1fr; gap: .9rem; padding: 1.1rem; }
    .cookie__icon { display: none; }
    .cookie__actions { justify-content: stretch; }
    .cookie__actions .btn { flex: 1 1 auto; }
    .pricebox__actions { margin-left: 0; width: 100%; }
    .pricebox__actions .btn { flex: 1 1 auto; }
    .fab__label { display: none; }
    .fab { padding: .9rem; }
    .fab__icon { background: none; width: 26px; height: 26px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .assurance ul { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; }
    .grid-products { grid-template-columns: 1fr; }
    .partners img { height: 26px; }
    .brand img { width: 132px; }
}

/* --- 22. Impression ----------------------------------------------------- */
@media print {
    .utility, .site-header, .drawer, .nav-overlay, .fab-zone, .cookie, .footer__social { display: none !important; }
    body { background: #fff; }
}
