:root {
    /* Hauteur de l'en-tête collant : sert d'ancrage à tout ce qui colle en
       dessous, pour ne pas glisser derrière lui. */
    --izi-header-h: 126px;
    --izi-magenta: #e6007e;
    --izi-magenta-dark: #c4006b;
    --izi-cyan: #009fe3;
    --izi-whatsapp: #25d366;
    --izi-whatsapp-dark: #1da851;
    --izi-eco: #2e7d32;
    --izi-yellow: #ffed00;
    --izi-black: #000000;
    --izi-white: #ffffff;
    --izi-ink: #111111;
    --izi-muted: #4a4a4a;
    --izi-line: #e5e5e5;
    --izi-bg: #ffffff;
    --izi-bg-soft: #f5f5f5;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    --radius: 14px;
    --radius-lg: 20px;
    --font-display: "Montserrat", "Futura", sans-serif;
    --font-body: "Plus Jakarta Sans", "Google Sans", sans-serif;
    --font-accent: "Montserrat", "Berlin Sans FB Demi", sans-serif;
    --ink: var(--izi-ink);
    --ink-soft: var(--izi-muted);
    --paper: var(--izi-bg);
    --paper-2: var(--izi-bg-soft);
    --accent: var(--izi-magenta);
    --accent-dark: var(--izi-magenta-dark);
    --line: var(--izi-line);
    --white: var(--izi-white);
    --mega-pink: var(--izi-magenta);
    --mega-pink-dark: var(--izi-magenta-dark);
}

* { box-sizing: border-box; }

:focus-visible {
    outline: 2px solid var(--izi-magenta);
    outline-offset: 2px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--izi-ink);
    background: #fafafa;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.lazy-img { loading: lazy; }

.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #000;
    color: #fff;
}

.site-header a { color: inherit; }

/* ── En-tête : le bord haut de la feuille ──────────────────────────────
   Le pied de page porte la gamme de contrôle et les repères de coupe. Ici,
   la jauge de lecture : un filet qui se remplit des quatre encres à mesure
   qu'on descend. Arrivé en bas, la bande est complète — la feuille est
   imprimée. */

.mega-nav { position: relative; }

.mega-nav__ink {
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.mega-nav__ink span {
    display: block;
    height: 100%;
    /* Les quatre encres dans l'ordre de la presse : noir, cyan, magenta,
       jaune. La bande est peinte en entier, puis révélée par la mise à
       l'échelle — la couleur ne se déforme donc jamais. */
    background: linear-gradient(90deg,
        #1a1a1a 0%, #009fe3 28%, #e6007e 62%, #ffed00 100%);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* ── Condensation au défilement ───────────────────────────────────────
   Cent vingt-six pixels d'en-tête, c'est un sixième d'un écran de portable.
   Une fois la lecture engagée, la barre du haut se resserre et rend la
   place au contenu. La rangée de navigation, elle, ne bouge pas d'un
   pixel : un menu qui se déplace sous le curseur est un menu qu'on rate. */

.site-topbar__inner,
.brand img {
    transition: padding 0.22s ease, height 0.22s ease, width 0.22s ease;
}

.mega-nav.is-condensed .site-topbar__inner { padding: 0.3rem 0; }
.mega-nav.is-condensed .brand img { height: 64px; width: auto; margin-bottom: 0; }
.mega-nav.is-condensed .site-topbar__phone { display: none; }

/* Le mouvement n'apporte rien d'indispensable : on le retire pour qui a
   demandé moins d'animation. La jauge, elle, reste — c'est une information,
   pas une décoration. */
@media (prefers-reduced-motion: reduce) {
    .site-topbar__inner,
    .brand img { transition: none; }
    .mega-nav__ink span { will-change: auto; }
}

/* Sur un écran étroit, la place est déjà comptée : l'en-tête y est monté
   autrement, et le resserrer casserait son empilement. */
@media (max-width: 960px) {
    .mega-nav.is-condensed .site-topbar__inner { padding: 0.7rem 0; }
    .mega-nav.is-condensed .brand img { height: 56px; width: auto; }
}

/* ── Pied de page ──────────────────────────────────────────────────────
   Le pied de page se présente comme une feuille sortie de presse : sa gamme
   de contrôle en haut, ses repères de coupe aux quatre coins. C'est la
   signature d'un imprimeur, et cela dit ce que fait la maison avant même
   qu'on ait lu une ligne. */

.site-footer {
    margin-top: 3rem;
    background: #050505;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

/* La gamme de contrôle : les quatre encres, leurs trames, et les
   superpositions deux à deux — comme sur le bord d'une vraie feuille. */
.footer-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    height: 7px;
}

.footer-inner {
    position: relative;
    padding: 2.75rem 0 1.75rem;
}

/* Les repères de coupe. Purement décoratifs, donc masqués aux lecteurs
   d'écran, et retirés sous 700 px où ils toucheraient le texte. */
.footer-crop {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0 solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.footer-crop--tl { top: 1.1rem; left: -0.6rem; border-top-width: 1px; border-left-width: 1px; }
.footer-crop--tr { top: 1.1rem; right: -0.6rem; border-top-width: 1px; border-right-width: 1px; }
.footer-crop--bl { bottom: 1.1rem; left: -0.6rem; border-bottom-width: 1px; border-left-width: 1px; }
.footer-crop--br { bottom: 1.1rem; right: -0.6rem; border-bottom-width: 1px; border-right-width: 1px; }

/* ── L'appel à l'action ───────────────────────────────────────────────── */

.footer-call {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-call__eyebrow {
    margin: 0 0 0.35rem;
    font: 800 0.68rem/1 var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--izi-yellow);
}

.footer-call__title {
    margin: 0 0 0.4rem;
    font: 800 clamp(1.35rem, 2.6vw, 1.9rem)/1.15 var(--font-display);
    letter-spacing: -0.02em;
    color: #fff;
}

.footer-call__lead {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.55;
}

.footer-call__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ── Les colonnes ─────────────────────────────────────────────────────── */

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.35fr repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    padding-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-baseline {
    margin: 0.85rem 0 0.7rem;
    font: 800 1.05rem/1.3 var(--font-display);
    letter-spacing: -0.01em;
    color: #fff;
}

/* Trois mots, trois pastilles : la promesse tient sur une ligne. */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
}

.footer-tags span {
    padding: 0.22rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.footer-col h3 {
    margin: 0 0 0.85rem;
    font: 800 0.72rem/1 var(--font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li + li { margin-top: 0.45rem; }

.footer-col a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible { color: var(--izi-cyan); }

.footer-all {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-all:hover { color: var(--izi-magenta) !important; }

/* Un contact se lit sur deux lignes : ce que c'est, puis la valeur. La
   ligne entière est cliquable — un numéro qui ne se compose pas d'un geste
   est un numéro qu'on ne compose pas. */
/* L'icône occupe sa propre colonne, sur les deux lignes : le libellé et la
   valeur restent alignés entre eux, et l'œil descend d'un contact à l'autre
   le long d'une même verticale. */
.footer-contact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-contact__icon {
    grid-row: 1 / 3;
    align-self: center;
    color: rgba(255, 255, 255, 0.38);
    transition: color 0.15s ease;
}

.footer-contact:hover .footer-contact__icon,
.footer-contact:focus-visible .footer-contact__icon { color: var(--izi-cyan); }

.footer-contact__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact__value {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    /* Une adresse e-mail n'offre aucune coupure naturelle : sans cela, elle
       déborde de sa colonne et vient toucher le rayon d'à côté. */
    overflow-wrap: anywhere;
}

.footer-contact:hover .footer-contact__value { color: var(--izi-cyan); }

/* ── La ligne du bas ──────────────────────────────────────────────────── */

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__note { font-style: italic; }

@media (max-width: 1080px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .footer-call { grid-template-columns: minmax(0, 1fr); }
    .footer-call__actions .btn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    /* Les repères de coupe déborderaient dans le texte sur un écran étroit. */
    .footer-crop { display: none; }
    .footer-bottom { justify-content: flex-start; }
}

.brand {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    text-transform: uppercase;
    position: relative;
    z-index: 6;
}

.brand span { color: var(--izi-magenta); }
.brand img { height: 60px; width: auto; object-fit: contain; }

/* Desktop : grand logo qui chevauche les deux bandes (topbar + nav) pour le
   rendre bien visible ; la ligne « Voir tous les produits » se décale à droite
   pour lui laisser la place. */
@media (min-width: 961px) {
    .brand img { height: 96px; margin-bottom: -42px; }
    /* Au scroll, l'en-tête se condense mais le logo reste grand et débordant. */
    .mega-nav.is-condensed .brand img { height: 96px; margin-bottom: -42px; }
    .site-nav__inner > .btn-catalog { margin-left: 112px; }
}
.footer-logo { height: 64px; width: auto; margin-bottom: 0.5rem; object-fit: contain; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: transform .15s ease, background .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--izi-magenta); color: var(--izi-white); }
.btn-primary:hover { background: var(--izi-magenta-dark); }
.btn-cyan { background: var(--izi-cyan); color: var(--izi-white); }
.btn-cyan:hover { filter: brightness(0.95); }

/* WhatsApp garde sa couleur de marque : c est à elle qu on reconnaît le bouton
   avant même d avoir lu ce qu il propose. */
.btn-whatsapp { background: var(--izi-whatsapp); color: var(--izi-white); }
.btn-whatsapp:hover { background: var(--izi-whatsapp-dark); }

/* L icône suit la taille et la couleur du texte du bouton. */
.btn-icon { flex: none; }
.btn-ghost { background: transparent; border: 1px solid var(--izi-line); color: var(--izi-ink); border-radius: 10px; }
.btn-yellow { background: var(--izi-yellow); color: var(--izi-black); }
.btn-dark { background: var(--izi-ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 0.95rem 1.6rem; font-size: 1rem; }
.btn-catalog {
    background: var(--izi-magenta);
    color: #fff;
    border-radius: 10px;
    white-space: nowrap;
    font-size: .8rem;
    padding: .55rem .95rem;
    flex-shrink: 0;
}

.hero { padding: 3rem 0 2rem; display: grid; gap: 1.25rem; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.03em;
    max-width: 16ch;
}

.hero p { font-size: 1.1rem; color: var(--izi-muted); max-width: 44ch; margin: 0; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-accent { font-family: var(--font-accent); color: var(--izi-cyan); }

.section { padding: 2rem 0 3rem; }
.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin: 0 0 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* Boutique : 2 → 3 → 4 → 5 colonnes selon la largeur */
.catalog-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1280px) {
    .catalog-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .catalog-grid .product-tile h3 {
        font-size: 0.82rem;
        padding-inline: 0.65rem;
    }

    .catalog-grid .product-tile .badge {
        margin: 0 0.65rem 0.75rem;
        font-size: 0.68rem;
    }
}

.card {
    background: var(--izi-bg-soft);
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img {
    aspect-ratio: 1;
    background: #f7f7f7;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-bottom: 1px dashed #d4d4d8;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.55rem;
}
.card-body { padding: 0.9rem 1rem 1.1rem; background: #fff; }
.card-body h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 0.35rem; }

.muted { color: var(--izi-muted); font-size: 0.92rem; }
.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--izi-yellow);
    color: var(--izi-black);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

.badge-quote { background: #f3f4f6; color: var(--izi-muted); }
.badge-price { background: rgba(0, 159, 227, 0.12); color: var(--izi-cyan); }

.layout-2 { display: grid; gap: 1.5rem; grid-template-columns: 200px 1fr; }
@media (min-width: 1280px) { .layout-2 { grid-template-columns: 220px 1fr; } }
@media (max-width: 800px) { .layout-2 { grid-template-columns: 1fr; } }

.side {
    background: var(--izi-white);
    border: 0;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    height: fit-content;
    box-shadow: var(--shadow);
}

.side a { display: block; padding: 0.45rem 0; border-bottom: 1px solid #f0f0f0; color: var(--izi-muted); font-weight: 500; }
.side a:hover, .side a.active { color: var(--izi-magenta); }

.search { display: flex; gap: 0.5rem; margin-bottom: 1rem; position: relative; }
.search input, .form input, .form textarea, .form select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--izi-line);
    border-radius: 8px;
    background: var(--izi-white);
    font: inherit;
}

/* ── Suggestions de recherche ──────────────────────────────────────────
   Le menu déroulant est un enfant de l'en-tête, qui impose « color: #fff »
   à tous ses liens. Posé sur un fond blanc, son texte était donc blanc sur
   blanc — invisible. Toutes les couleurs sont désormais posées ici, sans
   rien laisser à l'héritage. */

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    color: var(--izi-ink);
    border: 1px solid var(--izi-line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    z-index: 50;
    max-height: 380px;
    overflow: auto;
    display: none;
    overscroll-behavior: contain;
}

.search-dropdown.is-open { display: block; }

/* Le champ de l'en-tête est étroit ; la liste n'a pas à l'être. Elle
   s'ancre à gauche du champ et déborde vers la droite, sans jamais sortir
   de l'écran. Sans cela, « Coffret Cadeaux TNA40 » s'affichait tronqué à
   « Coffret Cadeau… », et deux références voisines devenaient
   indistinguables. */
.site-search .search-dropdown {
    left: 0;
    right: auto;
    width: max(100%, min(24rem, calc(100vw - 2rem)));
    margin-top: 0.4rem;
}

.search-hit {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    /* On reprend la couleur au lieu de l'hériter de l'en-tête noir. */
    color: var(--izi-ink) !important;
}

.search-hit:last-child { border-bottom: 0; }

.search-hit:hover,
.search-hit.is-active {
    background: var(--izi-bg-soft);
}

.search-hit__media {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--izi-bg-soft);
    overflow: hidden;
}

.search-hit__media img {
    width: 100%;
    height: 100%;
    /* Comme partout ailleurs : un visuel de produit se montre entier. */
    object-fit: contain;
    padding: 3px;
}

/* Pas de visuel disponible : un carré neutre plutôt qu'une image cassée. */
.search-hit__void {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--izi-line);
    border-radius: 4px;
}

.search-hit__body {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.search-hit__name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
    color: var(--izi-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Le terme cherché, souligné : on voit pourquoi la suggestion remonte. */
.search-hit__name mark {
    background: rgba(255, 237, 0, 0.55);
    color: inherit;
    border-radius: 3px;
    padding: 0 0.1em;
}

/* « Option » : cette suggestion n'est pas un produit mais un choix à
   l'intérieur d'un produit. Sans cette étiquette, « A4 » et « A4 » se
   ressemblaient trop. */
.search-hit__tag {
    flex: none;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: rgba(0, 159, 227, 0.12);
    color: var(--izi-cyan);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Un rayon n'est pas une option : la couleur magenta le signale comme une
   entrée plus large, qui ouvre tout un pan du catalogue. */
.search-hit__tag--rayon {
    background: rgba(230, 0, 126, 0.12);
    color: var(--izi-magenta);
}

.search-hit__where,
.search-hit__price {
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--izi-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-hit__price {
    font-weight: 600;
    color: var(--izi-cyan);
}

/* Rien trouvé : on le dit, au lieu de refermer la liste sans explication. */
.search-empty {
    margin: 0;
    padding: 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--izi-muted);
}

.search-empty a {
    color: var(--izi-magenta) !important;
    font-weight: 700;
    text-decoration: underline;
}

/* Bandeau volontairement court : le configurateur doit rester visible à
   l'arrivée, sans avoir à faire défiler la page. */
.product-hero {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    align-items: stretch;
    background: var(--izi-white);
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    background: #f7f7f7;
    padding: .75rem;
    border-right: 1px solid var(--izi-line);
}
@media (max-width: 800px) {
    .product-hero img { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--izi-line); }
}
.product-info { padding: 1.4rem 1.6rem; }
.product-info h1 { font-family: var(--font-display); margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }

.flash {
    background: rgba(0, 159, 227, 0.1);
    color: var(--izi-cyan);
    border: 1px solid rgba(0, 159, 227, 0.25);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.form label { display: block; font-weight: 600; margin: 0.8rem 0 0.35rem; }
.form .row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }

.checks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid var(--izi-line);
    border-radius: 8px;
    padding: 0.75rem;
    background: #fff;
}

.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pagination a, .pagination span {
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--izi-line);
    background: #fff;
}

.pagination .active { background: var(--izi-magenta); color: #fff; border-color: var(--izi-magenta); }

.prose { line-height: 1.65; color: var(--izi-muted); }
.prose h2, .prose h3 { color: var(--izi-ink); font-family: var(--font-display); }

.quote-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--izi-line); }
.quote-table th, .quote-table td { padding: 0.75rem; border-bottom: 1px solid var(--izi-line); text-align: left; }
.quote-table th { background: var(--izi-bg-soft); font-size: 0.8rem; text-transform: uppercase; }

/* Ligne de devis : miniature du produit à côté du nom et du détail. */
.quote-prod { display: flex; align-items: center; gap: .85rem; }
.quote-thumb {
    flex: none;
    width: 58px; height: 58px;
    border-radius: 10px;
    border: 1px solid var(--izi-line);
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.quote-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.quote-prod__info { min-width: 0; }
.quote-prod__name { font-weight: 700; }

.quote-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.quote-badge__count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--izi-magenta);
    color: #fff;
    border-radius: 999px;
    min-width: 1.25rem;
    height: 1.25rem;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    padding: 0 0.25rem;
    font-weight: 700;
}

.floating-help {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    background: #25d366;
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.floating-help:hover { background: #1ebe57; color: #fff; }

.floating-help--icon {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.floating-help--icon .floating-help__label { display: none; }

.floating-help--icon::after {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + .6rem);
    top: 50%;
    transform: translateY(-50%);
    background: var(--izi-ink);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .4rem .65rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.floating-help--icon:hover::after,
.floating-help--icon:focus-visible::after { opacity: 1; }

.engagement-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.engagement-card {
    padding: 1.25rem;
    border: 1px solid var(--izi-line);
    border-radius: var(--radius);
    background: #fff;
}

.engagement-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 0 0 0.5rem;
    color: var(--izi-magenta);
}

.realization-grid {
    display: grid;
    gap: 1rem;
    /* Jusqu'à 5 vignettes par ligne, puis on descend par palier pour rester
       grand et lisible sur tablette et mobile. */
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) { .realization-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 920px)  { .realization-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .realization-grid { grid-template-columns: repeat(2, 1fr); } }

/* Rangées par catégorie : une barre de filtres puis un titre par rayon. */
.realization-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1rem 0 1.75rem;
}

.realization-chip {
    border: 1px solid var(--izi-border, #d8dee6);
    background: var(--izi-bg-soft, #f3f5f8);
    color: var(--izi-text, #1f2937);
    border-radius: 999px;
    padding: .4rem .9rem;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.realization-chip:hover { border-color: var(--izi-primary, #e11d74); }

.realization-chip.is-active {
    background: var(--izi-primary, #e11d74);
    border-color: var(--izi-primary, #e11d74);
    color: #fff;
}

.realization-group { margin-bottom: 2.25rem; }

.realization-group__title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 800;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--izi-primary, #e11d74);
    display: inline-block;
}

.mega-nav { position: relative; z-index: 30; }
/* En-tête en pleine largeur : les deux bandes s'étendent bord à bord, avec
   seulement une gouttière latérale, au lieu d'être limitées à 1180px. */
.site-topbar > .wrap,
.site-nav > .wrap {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}
/* Recherche centrée sur la 1re ligne, navigation centrée sur la 2e.
   Uniquement sur grand écran, où il y a la place pour centrer sans que la
   recherche touche les outils ni que la navigation passe sous le logo.
   En dessous, la barre reste calée à gauche, dégagée du logo (règle du
   bloc 961px plus haut : .btn-catalog margin-left). */
@media (min-width: 1360px) {
    .site-topbar .site-search {
        /* Barre élargie et centrée, mais DANS le flux : des marges auto
           absorbent l'espace libre pour la centrer sans jamais recouvrir le
           bloc téléphone/boutons (le centrage absolu le chevauchait). */
        max-width: min(760px, 48vw);
        margin-left: auto;
        margin-right: auto;
    }
    .site-nav .site-nav__inner { justify-content: center; }
    .site-nav__inner > .btn-catalog { margin-left: 0; }
    .site-nav .mega-nav__desktop { flex: 0 1 auto; }
}
.site-topbar { background: #000; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-topbar__inner {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .7rem 0;
    flex-wrap: nowrap;
}
.site-search {
    position: relative;
    /* Au-dessus des liens de nav : sur grand écran la barre est centrée par
       translateX, ce qui crée un contexte d'empilement où le menu de
       résultats (z-index 50) se retrouverait sinon sous la navigation. */
    z-index: 60;
    flex: 1 1 auto;
    max-width: 560px;
    min-width: 0;
    display: flex;
    align-items: stretch;
    margin-left: .75rem;
}
.site-search input {
    width: 100%;
    border: 0;
    border-radius: 999px 0 0 999px;
    padding: .6rem .9rem;
    font: inherit;
    background: #fff;
    border-right: 0;
    font-size: .88rem;
    color: var(--izi-ink);
}
.site-search input::placeholder { color: #888; }
.site-search__btn {
    border: 0;
    background: var(--izi-magenta);
    color: #fff;
    padding: 0 .95rem;
    border-radius: 0 999px 999px 0;
    cursor: pointer;
    flex-shrink: 0;
}
.site-topbar__tools {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}
.site-topbar__phone {
    font-weight: 700;
    font-size: .82rem;
    color: #fff;
    white-space: nowrap;
}
.site-topbar__link,
.site-topbar__devis {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 600;
    font-size: .82rem;
    color: #fff;
    padding: .45rem .85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease;
}
.site-topbar__link:hover,
.site-topbar__devis:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
/* Panier garni : la bordure passe au rose, pour qu'on voie de loin qu'il
   reste quelque chose à envoyer. */
.site-topbar__devis:has(.site-topbar__devis-count) {
    border-color: var(--izi-magenta);
    background: rgba(230, 0, 126, .12);
}
.site-topbar__devis-icon { flex: 0 0 auto; }
.site-topbar__devis-count {
    background: var(--izi-magenta);
    color: #fff;
    border-radius: 999px;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 .3rem;
    font-size: .68rem;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
}
.btn-mega-contact {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--izi-magenta);
    color: #fff;
    padding: .45rem .95rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    border: 1px solid var(--izi-magenta);
}
.btn-mega-contact:hover { background: var(--izi-magenta-dark); color: #fff; border-color: var(--izi-magenta-dark); }

/* La barre des métiers : c'est elle qui dit ce que la maison sait faire.
   En petites majuscules grises sur fond noir, elle passait pour un filet
   décoratif au-dessus du visuel — on lui donne de l'air, une icône par
   métier et un fond qui s'allume sous le pointeur. */
.site-nav {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-bottom: 2px solid var(--izi-magenta);
}
.site-nav__inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    flex-wrap: nowrap;
    min-height: 46px;
}
.mega-nav__desktop {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.mega-nav__desktop::-webkit-scrollbar { display: none; }
.mega-nav__list {
    display: flex;
    align-items: center;
    gap: .1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.mega-nav__item { position: relative; flex-shrink: 0; }
.mega-nav__trigger, .mega-nav__item--link a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem .85rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    /* Plus grand, plus contrasté : à .72rem et 82 % d'opacité, la rangée des
       métiers passait pour une ligne décorative au-dessus du visuel. */
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
}
.mega-nav__item--link a { text-decoration: none; }
.mega-nav__trigger:hover, .mega-nav__item--link a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.mega-nav__icon {
    display: grid;
    place-items: center;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--izi-cyan);
}
.mega-nav__icon svg { width: 100%; height: 100%; }
.mega-nav__item.is-open .mega-nav__icon,
.mega-nav__trigger:hover .mega-nav__icon { color: #fff; }
/* Un trait rose sous le libellé survolé : on voit ce qu'on vise. */
.mega-nav__trigger::after,
.mega-nav__item--link a::after {
    content: '';
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .18rem;
    height: 2px;
    border-radius: 2px;
    background: var(--izi-magenta);
    transform: scaleX(0);
    transition: transform .18s ease;
}
.mega-nav__trigger:hover::after,
.mega-nav__item--link a:hover::after,
.mega-nav__item--link a:focus-visible::after { transform: scaleX(1); }
.mega-nav__item.is-open .mega-nav__trigger::after { transform: scaleX(0); }
/* Entrée éco : verte pour trancher sur la barre noire et signaler l'offre
   durable. Soulignement et icône verts plutôt que roses/cyan. */
.mega-nav__item--eco a { color: #8ce29a; font-weight: 700; }
.mega-nav__item--eco .mega-nav__icon { color: #8ce29a; }
.mega-nav__item--eco a:hover,
.mega-nav__item--eco a:hover .mega-nav__icon { color: #fff; }
.mega-nav__item--eco a::after { background: #8ce29a; }
.mega-nav__item.is-open .mega-nav__trigger { background: var(--izi-magenta); color: #fff; }
.mega-nav__chev { font-size: .65rem; transition: transform .2s; }
.mega-nav__item.is-open .mega-nav__chev { transform: rotate(180deg); }
.mega-panel {
    position: absolute; left: 50%; transform: translateX(-50%); width: 100vw; top: 100%;
    background: #fff; border-top: 1px solid var(--izi-line); box-shadow: var(--shadow);
    max-height: min(70vh, 520px); overflow-y: auto;
}
.mega-panel__inner { padding: 1.5rem 0 2rem; }
.mega-panel__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem 2rem; }
.mega-panel__grid--promo {
    /* Le gabarit exact (N colonnes + promo) est posé en style inline selon le
       nombre réel de colonnes, pour garder le visuel promo sur la même ligne. */
    align-items: stretch;
}
.mega-panel__title { font-family: var(--font-display); font-size: .95rem; margin: 0 0 .75rem; text-transform: uppercase; }
.mega-panel__links { list-style: none; margin: 0; padding: 0; }
.mega-panel__links a { display: block; padding: .28rem 0; color: var(--izi-muted); font-size: .92rem; }
.mega-panel__links a:hover { color: var(--izi-magenta); }
.mega-panel__promo {
    position: relative; border-radius: 14px; overflow: hidden; min-height: 220px;
    background: var(--izi-bg-soft);
}
.mega-panel__promo img {
    width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block;
}
.mega-panel__promo span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: .85rem 1rem; font-weight: 800; font-size: .85rem; color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
}
/* Vignette produit : image puis nom en dessous, sans bandeau ni ombre. */
.mega-panel__promo--product {
    display: flex; flex-direction: column; min-height: 0;
    text-decoration: none; cursor: pointer;
    background: var(--izi-bg-soft); border: 1px solid var(--izi-line); border-radius: 14px;
    overflow: hidden;
}
.mega-panel__promo--product img {
    width: 100%; flex: 1 1 auto; min-height: 150px; max-height: 190px;
    object-fit: contain; padding: .5rem; display: block; transition: transform .4s ease;
}
.mega-panel__promo--product span {
    position: static; background: none;
    padding: .6rem .75rem; text-align: center;
    color: var(--izi-ink); font-weight: 800; font-size: .84rem; line-height: 1.2;
}
.mega-panel__promo--product:hover img { transform: scale(1.04); }
.mega-panel__promo--product:hover span { color: var(--izi-magenta); }
.mega-nav__toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: .5rem .85rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}
.mega-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    color: rgba(255, 255, 255, 0.85);
    padding: .5rem 1rem 1rem;
}
.mega-mobile__family { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: .5rem 0; }
.mega-mobile__family summary { font-weight: 800; cursor: pointer; color: #fff; }
.mega-mobile__column { margin: .5rem 0 .75rem 1rem; }
.mega-mobile__column ul { list-style: none; margin: .35rem 0 0; padding: 0; }
.mega-mobile__column a { display: block; padding: .25rem 0; color: rgba(255, 255, 255, 0.72); }
.mega-mobile__link {
    display: block;
    padding: .65rem 0;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Home sections */
/* Le titre est centré, donc le voile l'est aussi : une ellipse sombre au
   milieu, qui s'éclaircit vers les bords pour laisser respirer la photo.
   Le dégradé oblique d'avant était calé à gauche — il servait un texte
   aligné à gauche, et aurait laissé un titre centré sans contraste. */
.hero-full {
    position: relative; min-height: clamp(380px, 60vh, 580px);
    background:
        radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,.74) 0%, rgba(0,0,0,.58) 55%, rgba(0,0,0,.34) 100%),
        linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(230,0,126,.18) 100%),
        var(--hero-image) center/cover no-repeat;
    display: flex; align-items: center; color: #fff;
}
.hero-full__content {
    padding: 4rem 0;
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}
.hero-full h1 {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.03em;
    /* Le navigateur équilibre les lignes plutôt que de laisser un mot seul
       en bas : sur un titre centré, une ligne orpheline se voit tout de suite. */
    text-wrap: balance;
}
.hero-full p {
    margin: 0 auto 1.75rem; font-size: 1.1rem; opacity: .92;
    max-width: 46ch; text-wrap: balance;
}

/* ---- Hero-carrousel d'accueil ------------------------------------------- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider__viewport {
    display: grid; /* toutes les diapositives empilées sur la même case */
}
.hero-slide {
    grid-area: 1 / 1;
    position: relative; min-height: clamp(380px, 56vh, 540px);
    /* Fond couleur ou dégradé choisi par slide ; le produit, lui, passe au
       premier plan et n'est jamais noyé dans un fond assombri. */
    background: var(--hero-bg, #10233f);
    color: var(--hero-fg, #fff);
    display: flex; align-items: center;
    /* Fondu : la diapositive inactive reste en place mais invisible et inerte. */
    opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s;
    z-index: 0;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.hero-slide h1 {
    font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.03em; text-wrap: balance;
}
.hero-slide p { margin: 0 0 1.75rem; font-size: 1.1rem; opacity: .92; max-width: 46ch; text-wrap: balance; }

/* Disposition « texte seul » : centré. */
.hero-slide__content { padding: 4rem 0; max-width: 46rem; margin-inline: auto; text-align: center; }
.hero-slide__content p { margin-inline: auto; }

/* Disposition « avec image » : texte d'un côté, visuel de l'autre. */
.hero-slide__split {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem); padding: 2.5rem 0;
}
.hero-slide__text { text-align: left; }
.hero-slide__media { display: flex; justify-content: center; align-items: center; }
.hero-slide__media img {
    max-height: clamp(220px, 40vh, 420px); max-width: 100%; width: auto;
    object-fit: contain; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}
/* Image à gauche : on inverse l'ordre des deux colonnes. */
.hero-slide--gauche .hero-slide__text { order: 2; }
.hero-slide--gauche .hero-slide__media { order: 1; }

/* ---- Animation d'entrée des éléments du slide actif --------------------- */
/* Au repos, les éléments sont posés et décalés ; quand le slide devient actif,
   ils entrent en fondu, l'un après l'autre, pour accrocher l'œil. */
.hero-slide__text > *,
.hero-slide__content > *,
.hero-slide__media { opacity: 0; will-change: transform, opacity; }

.hero-slide.is-active .hero-slide__text > *,
.hero-slide.is-active .hero-slide__content > * {
    animation: heroInUp .7s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-slide.is-active .hero-slide__media {
    animation: heroInRight .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-slide--gauche.is-active .hero-slide__media {
    animation-name: heroInLeft;
}

/* Décalage progressif : titre, puis texte, puis bouton. */
.hero-slide.is-active h1 { animation-delay: .06s; }
.hero-slide.is-active p { animation-delay: .20s; }
.hero-slide.is-active .btn { animation-delay: .34s; }
.hero-slide.is-active .hero-slide__media { animation-delay: .12s; }

@keyframes heroInUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes heroInRight {
    from { opacity: 0; transform: translateX(46px) scale(.97); }
    to { opacity: 1; transform: none; }
}
@keyframes heroInLeft {
    from { opacity: 0; transform: translateX(-46px) scale(.97); }
    to { opacity: 1; transform: none; }
}

.hero-slider__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
    display: grid; place-items: center; font-size: 1.8rem; line-height: 1;
    color: #fff; background: rgba(0,0,0,.35); backdrop-filter: blur(2px);
    transition: background .2s ease;
}
.hero-slider__arrow:hover { background: rgba(230,0,126,.85); }
.hero-slider__arrow--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.hero-slider__arrow--next { right: clamp(.5rem, 2vw, 1.5rem); }

.hero-slider__dots {
    position: absolute; left: 0; right: 0; bottom: 1rem; z-index: 3;
    display: flex; justify-content: center; gap: .5rem;
}
.hero-slider__dot {
    width: 10px; height: 10px; border-radius: 999px; border: 0; cursor: pointer; padding: 0;
    background: rgba(255,255,255,.5); transition: background .2s ease, width .2s ease;
}
.hero-slider__dot:hover { background: rgba(255,255,255,.8); }
.hero-slider__dot.is-active { background: var(--izi-magenta); width: 26px; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
    .hero-slide__text > *,
    .hero-slide__content > *,
    .hero-slide__media { opacity: 1; animation: none !important; transform: none !important; }
}

.trust-bar { background: #fff; border-bottom: 1px solid var(--izi-line); }
.trust-bar__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.trust-bar__item {
    display: flex; align-items: center; gap: .85rem; padding: 1.25rem 1rem;
    border-right: 1px solid var(--izi-line); color: var(--izi-ink);
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__item strong { display: block; font-size: .95rem; }
.trust-bar__item span { color: var(--izi-muted); font-size: .85rem; }
.trust-bar__item svg { color: var(--izi-magenta); flex-shrink: 0; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.carousel-nav { display: flex; gap: .4rem; }
.carousel-btn {
    width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--izi-line);
    background: #fff; font-size: 1.25rem; cursor: pointer; line-height: 1;
}
.carousel-btn:hover { border-color: var(--izi-magenta); color: var(--izi-magenta); }
.carousel-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
    gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.product-tile {
    scroll-snap-align: start; background: var(--izi-bg-soft); border-radius: var(--radius-lg);
    overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; display: block;
}
.product-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-tile__img {
    aspect-ratio: 1;
    background: #f7f7f7;
    display: grid;
    place-items: center;
    border-bottom: 1px dashed #d4d4d8;
    overflow: hidden;
}
.product-tile__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.55rem;
}
.product-tile h3 {
    font-family: var(--font-display); font-size: .95rem; margin: .85rem 1rem .35rem;
    min-height: 2.4em;
}
.product-tile .badge { margin: 0 1rem 1rem; }

/* Produits liés. Au téléphone, une carte pleine largeur par écran faisait
 * défiler la page sans fin : ils deviennent un carrousel, deux cartes et
 * demie visibles, la moitié qui dépasse invitant à faire glisser. */
.related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}
.related-head__hint { display: none; }
@media (max-width: 700px) {
    .related-head h2 { margin-bottom: .75rem; }
    .related-head__hint {
        display: inline;
        font-size: .8rem;
        font-weight: 600;
        color: var(--izi-muted);
        white-space: nowrap;
    }
    .related-grid {
        display: flex !important;
        gap: .75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-inline: 0;
        padding: .25rem 0 1rem;
        -webkit-overflow-scrolling: touch;
    }
    .related-grid::-webkit-scrollbar { display: none; }
    .related-grid .product-tile {
        flex: 0 0 42%;
        border: 1px solid var(--izi-line);
        background: #fff;
        box-shadow: 0 2px 8px rgba(17, 17, 17, .06);
    }
    .related-grid .product-tile:hover { transform: none; }
    .related-grid .product-tile__img img { padding: .35rem; }
    .related-grid .product-tile h3 {
        font-size: .8rem;
        line-height: 1.25;
        margin: .55rem .6rem .35rem;
        min-height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .related-grid .product-tile .badge {
        margin: 0 .6rem .65rem;
        font-size: .68rem;
    }
}

.catalog-grid .product-tile h3 {
    font-size: 0.88rem;
    margin: 0.7rem 0.75rem 0.3rem;
    min-height: 2.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.catalog-grid .product-tile .badge {
    margin: 0 0.75rem 0.85rem;
}

/* ── Bloc « Tendances du moment » ──────────────────────────────────────
   Le panneau de gauche était vide aux deux tiers : sa hauteur était dictée
   par quatre vignettes carrées, et le texte flottait au milieu. Les tuiles
   passent en 4/3, le bloc est plafonné, et le texte gagne une liste de
   liens qui occupe la place au lieu de la subir. */

.promo-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.promo-banner__copy {
    padding: clamp(1.75rem, 3vw, 2.75rem);
    display: grid;
    align-content: center;
    gap: 0.85rem;
}

.promo-banner__eyebrow {
    margin: 0;
    font: 800 0.72rem/1 var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--izi-magenta);
}

.promo-banner__copy h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.promo-banner__copy > p:not(.promo-banner__eyebrow) {
    margin: 0;
    color: var(--izi-muted);
    max-width: 40ch;
    line-height: 1.6;
}

/* Les quatre noms, en pastilles : le bloc devient une porte d'entrée vers
   quatre rayons, au lieu d'une image de décoration. */
.promo-banner__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.15rem 0 0.35rem;
    padding: 0;
    list-style: none;
}

.promo-banner__chips a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--izi-line);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--izi-muted);
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.promo-banner__chips a:hover,
.promo-banner__chips a:focus-visible {
    border-color: var(--izi-magenta);
    color: var(--izi-magenta);
    background: rgba(230, 0, 126, 0.05);
}

.promo-banner__copy .btn { justify-self: start; }

/* ── Les tuiles ───────────────────────────────────────────────────────── */

.promo-banner__visual {
    background: linear-gradient(135deg, var(--izi-magenta) 0%, var(--izi-cyan) 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    padding: clamp(1rem, 2vw, 1.6rem);
    align-content: center;
}

.promo-tile {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    /* Les tuiles sont légèrement de travers, comme des tirages posés sur la
       table. Elles se redressent quand on les vise — c'est ce redressement
       qui dit qu'elles sont cliquables. */
    transform: rotate(-2deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-tile:nth-child(even) { transform: rotate(2.5deg); }

.promo-tile:hover,
.promo-tile:focus-visible {
    transform: rotate(0deg) translateY(-5px) scale(1.02);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.promo-tile img {
    display: block;
    width: 100%;
    height: 100%;
    /* 4/3 au lieu du carré : à largeur égale, le bloc perd un bon tiers de
       sa hauteur, et le texte de gauche n'a plus de vide à combler. */
    aspect-ratio: 4 / 3;
    /* « contain » et non « cover » : un visuel de produit se montre entier.
       Rogner un scanner ou une chemise à rabats pour remplir le cadre revient
       à cacher ce qu'on est venu vendre. Le fond clair prend le reste — les
       vignettes sont déjà détourées sur blanc. */
    object-fit: contain;
    padding: 0.5rem;
}

/* Le nom, sur un voile qui part du bas : lisible sur une photo claire
   comme sur une photo sombre. */
.promo-tile__name {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.6rem 0.7rem 0.55rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 60%);
    color: #fff;
    font: 700 0.8rem/1.25 var(--font-display);
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Une animation qui tourne et soulève n'a rien d'indispensable : on la
   retire pour qui a demandé moins de mouvement. */
@media (prefers-reduced-motion: reduce) {
    .promo-tile,
    .promo-tile:nth-child(even),
    .promo-tile:hover,
    .promo-tile:focus-visible {
        transform: none;
        transition: none;
    }
}

@media (max-width: 700px) {
    /* Les tuiles se redressent : de travers et petites, elles deviennent
       illisibles. */
    .promo-tile,
    .promo-tile:nth-child(even) { transform: none; }
    .promo-banner__copy .btn { justify-self: stretch; }
}

@media (max-width: 960px) {
    .mega-nav__desktop { display: none; }
    .mega-nav__toggle { display: inline-flex; }
    .mega-panel { display: none !important; }
    .site-topbar__phone { display: none; }
    .site-topbar__inner { flex-wrap: wrap; }
    .site-topbar__tools { margin-left: 0; flex: 1; justify-content: flex-end; }
    .site-nav__inner { flex-wrap: wrap; }
    .mega-panel__grid--promo { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .trust-bar__grid { grid-template-columns: 1fr; }
    .trust-bar__item { border-right: 0; border-bottom: 1px solid var(--izi-line); }
    .promo-banner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .floating-help,
    .floating-help--icon {
        left: 1rem; right: 1rem;
        bottom: max(1rem, env(safe-area-inset-bottom));
        width: auto; height: auto;
        justify-content: center; border-radius: 12px;
        padding: 0.85rem 1.1rem;
    }
    .floating-help--icon .floating-help__label { display: inline; }
    .floating-help--icon .floating-help__icon { width: 22px; height: 22px; }
    .floating-help--icon::after { display: none; }
    .site-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin-left: 0;
        margin-top: .35rem;
    }
    .site-topbar__inner { padding: .65rem 0 .75rem; gap: .65rem; }
    .site-topbar__link span,
    .site-topbar__devis { font-size: .78rem; padding: .4rem .7rem; }
    .hero-full { min-height: 320px; }
    .hero-slide { min-height: 320px; }
    .hero-slide__content { padding: 3rem 0; }
    .hero-slider__arrow { width: 38px; height: 38px; font-size: 1.5rem; }
    /* Sur mobile, le split passe en pile : visuel d'abord, texte centré ensuite. */
    .hero-slide__split { grid-template-columns: 1fr; gap: 1rem; padding: 2.5rem 0 3rem; text-align: center; }
    .hero-slide__text { text-align: center; order: 2; }
    .hero-slide__media { order: 1; }
    .hero-slide--gauche .hero-slide__text,
    .hero-slide--gauche .hero-slide__media { order: initial; }
    .hero-slide__text p { margin-inline: auto; }
    .hero-slide__media img { max-height: 180px; }
}
@media (min-width: 961px) and (max-width: 1199px) {
    .mega-panel__grid--promo {
        grid-template-columns: 1fr 1fr 1fr minmax(180px, 220px);
    }
}
@media (min-width: 961px) { .mega-mobile { display: none !important; } }

/* ===== Product configurator (izi-contenant) ===== */
.configurator { background: #f5f5f5; border-radius: var(--radius-lg); padding: 1.25rem 1.25rem 1.75rem; margin-top: 1.5rem; }
.configurator h2 { margin-top: 0; }
.izi-tabs { background: #fff; border-radius: 14px; padding: 1rem; border: 1px solid var(--izi-line); overflow: visible; }
/* La barre d'étapes suit le défilement : sur les parcours longs (jusqu'à 14
   formats), on ne perd jamais de vue où l'on en est. */
.izi-tab-links {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: .5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .45rem 0;
    position: sticky;
    top: calc(var(--izi-header-h) + .4rem);
    z-index: 20;
    background: var(--izi-white);
}
@media (max-width: 800px) { .izi-tab-links { position: static; } }

/* Au téléphone, la page glissait à l'horizontale : les bulles d'aide, même
 * masquées, occupaient de la place au-delà du bord droit, et les boutons du
 * haut dépassaient d'une trentaine de pixels. */
@media (max-width: 700px) {
    /* La bulle fermée ne prend plus de place ; ouverte, elle se pose en bas
     * de l'écran, lisible en entier, au lieu de déborder à côté du « ? ». */
    .izi-option-help:not(.is-open) .izi-option-help__tip { display: none; }
    .izi-option-help.is-open .izi-option-help__tip {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: calc(5rem + env(safe-area-inset-bottom));
        width: auto;
        transform: none;
        font-size: .85rem;
        z-index: 80;
    }
    .izi-option-help.is-open .izi-option-help__tip::after { display: none; }
}
/* En-tête du téléphone : logo et boutons sur une ligne, sans chevauchement.
 * « Connexion » passe en icône seule (le libellé reste lu par les lecteurs
 * d'écran) ; sous 400 px, « Contacts » aussi. */
@media (max-width: 640px) {
    .site-topbar__inner { column-gap: .6rem; }
    .brand img { width: 44px; height: 44px; }
    .site-topbar__tools { gap: .35rem; min-width: 0; }
    .site-topbar__link {
        font-size: 0;
        gap: 0;
        padding: .5rem;
    }
    .site-topbar__link svg { width: 18px; height: 18px; }
    /* Le panier garde son mot tant qu'il y a la place ; plus bas, l'icone
       et sa pastille suffisent. */
    .site-topbar__devis { padding: .45rem .7rem; font-size: .8rem; }
}
@media (max-width: 400px) {
    .site-topbar__devis { padding: .5rem .55rem; gap: .2rem; }
    .site-topbar__devis-label { display: none; }
}
@media (max-width: 400px) {
    .btn-mega-contact {
        font-size: 0;
        gap: 0;
        padding: .55rem;
    }
    .btn-mega-contact svg { width: 17px; height: 17px; }
}

/* Barre compacte du téléphone. Onze étapes empilées sur quatre rangées
 * prenaient un écran entier avant le premier choix : elles tiennent
 * maintenant sur une seule ligne qui défile, sous un repère « Étape 5 / 11 ». */
.izi-step-progress { display: none; }
@media (max-width: 700px) {
    .izi-tabs { padding: .75rem; }
    .izi-step-progress {
        display: block;
        margin-bottom: .5rem;
    }
    .izi-step-progress__text {
        margin: 0 0 .35rem;
        font-size: .8rem;
        color: var(--izi-muted);
    }
    .izi-step-progress__text strong { color: var(--izi-ink); }
    .izi-step-progress__bar {
        display: block;
        height: 4px;
        border-radius: 999px;
        background: #f3f4f6;
        overflow: hidden;
    }
    .izi-step-progress__bar i {
        display: block;
        height: 100%;
        width: 0;
        background: var(--izi-magenta);
        transition: width .25s ease;
    }
    .izi-tab-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        margin: 0 -.75rem .9rem;
        padding: .35rem .75rem;
        -webkit-overflow-scrolling: touch;
        /* Un fondu à droite dit qu'il y a d'autres étapes plus loin. */
        mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
    }
    .izi-tab-links::-webkit-scrollbar { display: none; }
    .izi-tab-links li {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
    .izi-tab-links li a {
        min-height: 2.3rem;
        min-width: 0;
        padding: .4rem 1.2rem .4rem 1.15rem;
        font-size: .76rem;
    }
    .izi-tab-links li:first-child a { padding-left: .8rem; }
    .izi-tab-links li a .izi-tab-label { white-space: nowrap; }
    .izi-tab-links li a .izi-tab-choice {
        max-width: 7.5rem;
        font-size: .66rem;
    }
}
.izi-tab-links li {
    position: relative;
    z-index: 1;
    margin-right: -11px;
    flex: 0 1 auto;
}
.izi-tab-links li:has(a.active),
.izi-tab-links li:hover { z-index: 4; }
.izi-tab-links li:last-child { margin-right: 0; }
.izi-tab-links li a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    min-height: 2.7rem;
    min-width: 7.25rem;
    padding: .55rem 1.55rem .55rem 1.4rem;
    background: #f3f4f6;
    color: var(--izi-muted);
    font-weight: 700;
    font-size: .85rem;
    border: 0;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
    transition: background .15s ease, color .15s ease;
}
.izi-tab-links li:first-child a {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    border-radius: 10px 0 0 10px;
    padding-left: 1rem;
}
.izi-tab-links li a .izi-tab-label { line-height: 1.2; }
.izi-tab-links li a .izi-tab-choice {
    font-weight: 500;
    font-size: 0.72rem;
    line-height: 1.25;
    color: var(--izi-muted);
    max-width: 11rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.izi-tab-links li:not(.disabled):not(:has(a.active)) a {
    background: #fce7f3;
    color: var(--izi-magenta);
}
.izi-tab-links li:not(.disabled):not(:has(a.active)) a .izi-tab-choice { color: var(--izi-magenta); }
.izi-tab-links li a.active {
    background: var(--izi-magenta);
    color: #fff;
}
.izi-tab-links li a.active .izi-tab-choice { color: rgba(255, 255, 255, .92); }
.izi-tab-links li.disabled a { opacity: .5; pointer-events: none; }
.izi-tab-links li.is-path-skipped { display: none; }
.izi-tab { display: none; }
.izi-tab.active { display: block; }
.izi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .85rem; overflow: visible; }
.izi-row--schemes { grid-template-columns: repeat(auto-fill, 140px) !important; justify-content: start; }
.izi-image-block {
    position: relative;
    z-index: 0;
    overflow: visible;
    background: #fff; border: 2px solid var(--izi-line); border-radius: 12px; padding: .6rem;
    text-align: center; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .15s;
}
.izi-option-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    z-index: 3;
    max-width: calc(100% - 0.8rem);
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.izi-option-badge.is-recommended {
    background: var(--izi-magenta);
    color: #fff;
}
.izi-option-badge.is-popular {
    background: #374151;
    color: #fff;
}
.izi-image-block.is-filtered-out,
.izi-image-block[hidden] { display: none !important; }

/* Un choix condamné par un autre : on ne vernit pas un support pelliculé.
   La carte reste en place, éteinte. La retirer ferait disparaître une ligne
   sous les yeux du client sans qu'il sache ce qu'il a perdu, ni pourquoi ;
   grisée, elle dit à la fois ce qui existe et ce qui l'en empêche. */
.izi-image-block.is-incompatible {
    opacity: 0.38;
    filter: grayscale(1);
    cursor: not-allowed;
    pointer-events: auto; /* le survol doit encore livrer l'explication */
}
.izi-image-block.is-incompatible:hover { border-color: var(--izi-line); }
.izi-cards-empty {
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    background: #f8f8f8;
    border: 1px dashed #d4d4d8;
    border-radius: 10px;
    color: var(--izi-muted);
    font-size: 0.9rem;
}
.izi-image-block:hover,
.izi-image-block.is-selected,
.izi-image-block:focus-within,
.izi-image-block.is-help-open,
.izi-image-block:has(.izi-option-help.is-open),
.izi-image-block:has(.izi-option-help:hover) {
    border-color: var(--izi-magenta);
    transform: translateY(-2px);
    z-index: 20;
}
.izi-image-block.is-help-open,
.izi-image-block:has(.izi-option-help.is-open) {
    z-index: 40;
}

/* Loupe au survol : la carte visée grandit sur place.
 *
 * Une case de configurateur fait 140 px de côté ; un stylo photographié de
 * loin, une zone de marquage dessinée au trait, s'y voient mal — et c'est
 * pourtant là que le client choisit. La carte survolée double donc de taille —
 * 280 px, par-dessus ses voisines, qui ne bougent pas : la grille reste en
 * place et l'œil ne perd pas la ligne.
 *
 * Le délai de 120 ms est délibéré. Sans lui, balayer une rangée de sept cases
 * les fait toutes sursauter au passage ; avec lui, seule celle où l'on
 * s'arrête s'agrandit. Le retour à la taille normale, lui, est immédiat.
 *
 * Réservé au pointeur fin : au doigt, il n'y a pas de survol, et un :hover
 * resterait collé sur la dernière case touchée.
 */
@media (hover: hover) and (pointer: fine) {
    .izi-image-block {
        transition: border-color .15s, box-shadow .2s ease-out, transform .2s ease-out;
    }
    /* Les :has() reprennent la règle générale, plus spécifique : sans eux,
     * survoler le « ? » ramenait la carte à sa taille, sous le pointeur. */
    .izi-image-block:hover,
    .izi-image-block:focus-visible,
    .izi-image-block:has(.izi-option-help:hover),
    .izi-image-block:hover:has(.izi-option-help.is-open) {
        transform: scale(2);
        box-shadow: 0 20px 48px rgba(17, 17, 17, .22);
        transition-delay: 0s, .12s, .12s;
        z-index: 30;
    }
    .izi-image-block:hover .izi-image-name,
    .izi-image-block:focus-visible .izi-image-name {
        /* Le nom grandit avec la carte : on le ramène à sa taille de lecture
         * pour qu'il ne prenne pas la place gagnée par le visuel. */
        font-size: .44rem;
    }

    /* Dans la carte agrandie, l'explication s'affiche d'elle-même, sous le nom.
     * Le « ? » glissait hors du pointeur pendant l'agrandissement : on devait
     * le poursuivre pour lire l'aide. La loupe la livre maintenant d'emblée. */
    .izi-image-block:hover .izi-option-help,
    .izi-image-block:focus-visible .izi-option-help {
        flex-basis: 100%;
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
        cursor: inherit;
    }
    .izi-image-block:hover .izi-option-help__q,
    .izi-image-block:focus-visible .izi-option-help__q {
        display: none;
    }
    .izi-image-block:hover .izi-option-help__tip,
    .izi-image-block:focus-visible .izi-option-help__tip {
        position: static;
        transform: none;
        width: auto;
        margin-top: .2rem;
        padding: 0;
        background: none;
        box-shadow: none;
        color: var(--izi-muted);
        font-size: .36rem;
        font-weight: 500;
        text-align: center;
        opacity: 1;
        visibility: visible;
        transition: none;
    }
    .izi-image-block:hover .izi-option-help__tip::after,
    .izi-image-block:focus-visible .izi-option-help__tip::after {
        display: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .izi-image-block,
        .izi-image-block:hover,
        .izi-image-block:focus-visible {
            transition: border-color .15s;
            transition-delay: 0s;
        }
    }
}
.izi-image-container {
    aspect-ratio: 1;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .35rem;
}
.izi-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.izi-image-placeholder { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--izi-muted); padding: .5rem; }

/* Schémas SVG (zone de marquage, etc.) — cartes uniformes */
.cfg-scheme-card {
    width: 140px;
    max-width: 140px;
    box-sizing: border-box;
    justify-self: start;
}
.cfg-scheme-card__media {
    aspect-ratio: 5 / 6;
    padding: .4rem;
    background: #f3f4f6;
}
.cfg-scheme-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cfg-custom-scheme {
    width: 100%;
    height: 100%;
    display: block;
}
.cfg-custom-scheme svg {
    width: 100%;
    height: 100%;
    display: block;
}

.izi-image-name {
    margin: 0;
    font-weight: 700;
    font-size: .88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    flex-wrap: wrap;
    line-height: 1.25;
}
.izi-image-name__label { text-align: center; }
.izi-image-dimensions { font-size: .75rem; color: var(--izi-muted); margin-top: .25rem; }

/* Point d’interrogation glossaire (hover / clic) */
.izi-option-help {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: var(--izi-cyan);
    color: #fff;
    cursor: help;
    vertical-align: middle;
}
.izi-option-help__q {
    font: 700 .72rem/1 var(--font-display, Montserrat, sans-serif);
    pointer-events: none;
    user-select: none;
}
.izi-option-help__tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + .5rem);
    transform: translateX(-50%);
    width: min(260px, 72vw);
    padding: .65rem .8rem;
    border-radius: 10px;
    background: var(--izi-ink);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease;
    z-index: 50;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.izi-option-help__tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--izi-ink);
}
.izi-option-help:hover .izi-option-help__tip,
.izi-option-help:focus-visible .izi-option-help__tip,
.izi-option-help.is-open .izi-option-help__tip {
    opacity: 1;
    visibility: visible;
}
.izi-option-help.is-open,
.izi-option-help:hover,
.izi-option-help:focus-visible {
    background: var(--izi-magenta);
}

.cfg-finishes {
    max-width: 40rem;
    padding: .25rem 0 1rem;
}
.cfg-finishes__intro {
    margin: 0 0 1.1rem;
    color: var(--izi-muted);
    font-size: .95rem;
    line-height: 1.45;
}
.cfg-finishes__group + .cfg-finishes__group {
    margin-top: 1.25rem;
}
.cfg-finishes__group-title {
    margin: 0 0 .65rem;
    font: 700 .95rem/1.2 var(--font-display);
    color: var(--izi-ink);
    text-transform: capitalize;
}
.cfg-finishes__checks {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .85rem;
}
.cfg-finish-item {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .75rem;
    border: 1px solid var(--izi-line, #e8e8e8);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
}
.cfg-finish-item:has(input:checked) {
    border-color: var(--izi-magenta);
    background: rgba(230, 0, 126, 0.06);
    color: var(--izi-magenta);
}
.cfg-finish-item input {
    accent-color: var(--izi-magenta);
}

.cfg-finishes {
    max-width: 56rem;
    padding: .25rem 0 1rem;
}
.cfg-finishes__intro {
    margin: 0 0 1.1rem;
    color: var(--izi-muted);
    font-size: .95rem;
    line-height: 1.45;
}
.cfg-finishes__group + .cfg-finishes__group {
    margin-top: 1.5rem;
}
.cfg-finishes__group-title {
    margin: 0 0 .85rem;
    font: 700 .95rem/1.2 var(--font-display);
    color: var(--izi-ink);
    text-transform: capitalize;
}
.cfg-finishes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .85rem;
}
.cfg-finishes__grid--simple {
    margin: .5rem 0 1rem;
}
.cfg-finish-card {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: .55rem;
    border: 2px solid var(--izi-line, #e8e8e8);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cfg-finish-card:hover {
    border-color: rgba(0, 159, 227, .45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}
.cfg-finish-card:has(input:checked) {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 1px var(--izi-magenta), 0 10px 22px rgba(230, 0, 126, .12);
}
.cfg-finish-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cfg-finish-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #f4f4f5;
    border: 1px dashed #d4d4d8;
    overflow: hidden;
    margin-bottom: .55rem;
    padding: .35rem;
}
.cfg-finish-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.cfg-finish-card__placeholder {
    font-size: .72rem;
    font-weight: 700;
    color: var(--izi-muted);
    text-align: center;
    padding: .35rem;
    line-height: 1.25;
}
.cfg-finish-card__body {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    text-align: center;
}
.cfg-finish-card__name {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--izi-ink);
}
.cfg-finish-card__desc {
    font-size: .7rem;
    font-weight: 500;
    color: var(--izi-muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cfg-finish-card--compact {
    padding: .4rem;
}
.cfg-finish-card--compact .cfg-finish-card__media {
    margin-bottom: .4rem;
}

/* Palette couleurs (étape type color) — pastilles uniformes */
.cfg-colors__grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, 112px);
    gap: .85rem;
    justify-content: start;
}
.cfg-colors__grid--simple {
    margin: .5rem 0 1rem;
}
.cfg-color-card {
    width: 112px;
    max-width: 112px;
    box-sizing: border-box;
    padding: .55rem .4rem .65rem;
}
.cfg-color-card .cfg-color-card__swatch {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    aspect-ratio: 1;
    border-radius: 50%;
    margin: 0 auto .45rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .08);
    background-color: #f4f4f5;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    overflow: hidden;
}
.cfg-color-card .izi-image-name {
    font-size: .78rem;
    line-height: 1.2;
    min-height: 2.4em;
}
.cfg-color-card .izi-image-name__label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Au téléphone, deux pastilles de 112 px par rangée laissaient un vide à
 * droite et faisaient défiler des écrans entiers. Les cartes se partagent
 * maintenant la largeur : trois ou quatre par rangée selon l'écran. */
@media (max-width: 600px) {
    .cfg-colors__grid {
        grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
        gap: .5rem;
    }
    .cfg-color-card {
        width: auto;
        max-width: none;
        padding: .45rem .3rem .5rem;
    }
    .cfg-color-card .cfg-color-card__swatch {
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        max-width: 52px;
        max-height: 52px;
        margin-bottom: .35rem;
    }
    .cfg-color-card .izi-image-name {
        font-size: .72rem;
        gap: .2rem;
    }
    .cfg-color-card .izi-option-help {
        width: 1.05rem;
        height: 1.05rem;
    }
    /* « Autre » porte un dessin, pas une pastille : même encombrement. */
    .cfg-color-card .cfg-scheme-card__media {
        width: 52px;
        height: 52px;
        margin: 0 auto .35rem;
        padding: 0;
    }
}
.cfg-color-card__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
.cfg-color-pick {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    margin: 0 .35rem .5rem 0;
    cursor: pointer;
}
.cfg-color-pick input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.cfg-color-pick__swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e4e4e7;
    background: #f4f4f5;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cfg-color-pick:has(input:checked) .cfg-color-pick__swatch {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 2px rgba(230, 0, 126, .25);
}
.cfg-color-pick__name {
    font-size: .8rem;
    color: #3f3f46;
}

.cfg-option-input {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--izi-line, #e8e8e8);
    border-radius: 12px;
    background: #fafafa;
    max-width: 520px;
}
.cfg-option-input__label {
    display: block;
    font-weight: 600;
    margin-bottom: .55rem;
    color: var(--izi-ink, #18181b);
}
.cfg-option-input__for {
    font-weight: 500;
    color: var(--izi-magenta, #e6007e);
}
.cfg-option-input__field {
    width: 100%;
    min-height: 88px;
    padding: .75rem .85rem;
    border: 1px solid #d4d4d8;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    background: #fff;
}
.cfg-option-input__field:focus {
    outline: 2px solid rgba(230, 0, 126, .35);
    border-color: var(--izi-magenta, #e6007e);
}

.format-container-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: .5rem .25rem 1rem;
    align-items: flex-start;
}
.format-container-v2 h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 1.1rem;
    color: var(--izi-ink);
}
.dimension-inputs-v2 {
    flex: 1 1 280px;
    min-width: min(100%, 280px);
}
.dimension-inputs-v2 .input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.dimension-inputs-v2 .input-group > div {
    flex: 1 1 140px;
}
.dimension-inputs-v2 label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
    font-size: .9rem;
    color: var(--izi-muted);
}
.dimension-inputs-v2 input[type="number"] {
    width: 100%;
    padding: .85rem 1rem;
    border: 2px solid var(--izi-line);
    border-radius: 10px;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dimension-inputs-v2 input[type="number"]:focus {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12);
    outline: none;
}
.dimension-preview-v2 {
    flex: 1 1 280px;
    min-width: min(100%, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2.5rem;
}
.preview-box {
    border: 2px dashed #ccc;
    padding: 1.25rem;
    position: relative;
    width: min(100%, 300px);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fafafa;
}
.cfg-preview-shape {
    width: 50%;
    height: 50%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e8e8e8 100%);
    border: 2px solid var(--izi-magenta);
    border-radius: 4px;
    transition: width .3s ease, height .3s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.preview-height, .preview-width {
    position: absolute;
    font-size: .85rem;
    color: var(--izi-magenta);
    font-weight: 700;
    white-space: nowrap;
}
.preview-height {
    left: -4.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
}
.preview-width {
    bottom: -2.25rem;
    left: 50%;
    transform: translateX(-50%);
}
.preview-height span, .preview-width span {
    background: #fff;
    padding: 0 .35rem;
}
.izi-validator-container {
    text-align: center;
    margin-top: .5rem;
}
.dimension-inputs-v2 .izi-validator-container {
    text-align: left;
}
.validate-dimensions-btn {
    display: inline-block;
    padding: .85rem 1.5rem;
    background: var(--izi-magenta);
    color: #fff !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    font: inherit;
    font-size: .95rem;
}
.validate-dimensions-btn:hover {
    background: var(--izi-magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 126, 0.25);
}

/* ── Le bouton dit quand il devient utile ──────────────────────────────
   Tant qu'il n'y a rien à valider, il reste en retrait : il est visible,
   mais il ne réclame pas. Dès qu'un choix est posé, il devient plein et
   gagne sa flèche — c'est ce changement d'état, permanent, qui porte le
   message. Une seule impulsion le souligne au passage, jamais un
   clignotement : ce qui se répète finit par harceler. */

.validate-dimensions-btn[data-ready='false'] {
    background: transparent;
    color: var(--izi-magenta) !important;
    box-shadow: inset 0 0 0 1.5px rgba(230, 0, 126, 0.35);
}

.validate-dimensions-btn[data-ready='false']:hover {
    background: rgba(230, 0, 126, 0.06);
    color: var(--izi-magenta-dark) !important;
    transform: none;
    box-shadow: inset 0 0 0 1.5px var(--izi-magenta);
}

.validate-dimensions-btn[data-ready='true']::after {
    content: ' →';
    /* La flèche apparaît avec l'état : elle dit où mène le clic. */
}

/* L'impulsion : une onde qui part du bouton et s'efface. Elle ne se joue
   qu'une fois, au moment où le bouton devient utile. */
.validate-dimensions-btn.is-awake {
    animation: izi-eveil 0.75s ease-out 1;
}

@keyframes izi-eveil {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 0, 126, 0.55);
        transform: scale(1);
    }

    35% {
        transform: scale(1.045);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(230, 0, 126, 0);
        transform: scale(1);
    }
}

/* Le changement d'état suffit à informer. L'animation, elle, n'est qu'un
   appui : on la retire pour qui a demandé moins de mouvement. */
@media (prefers-reduced-motion: reduce) {
    .validate-dimensions-btn.is-awake { animation: none; }
}
@media (max-width: 700px) {
    .dimension-preview-v2 { padding-top: .5rem; order: -1; }
    .preview-height { left: -.25rem; transform: translateY(-50%) rotate(-90deg) scale(.9); }
    .preview-width { bottom: -1.75rem; font-size: .8rem; }
}
.size-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.25rem;
}
.size-container h4 {
    font-family: var(--font-display);
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    color: var(--izi-ink);
}
.size-column {
    flex: 1 1 200px;
    min-width: min(100%, 200px);
    background: #fafafa;
    border: 1px solid var(--izi-line);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}
.size-column h5 {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1rem;
    color: var(--izi-muted);
    font-family: var(--font-display);
}
.size-input-group {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .65rem;
}
.size-input-group label {
    width: 2.25rem;
    font-weight: 700;
    color: var(--izi-ink);
}
.size-input-group input {
    flex: 1;
    padding: .55rem .75rem;
    border: 2px solid var(--izi-line);
    border-radius: 8px;
    font: inherit;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.size-input-group--free {
    flex-wrap: wrap;
}
.size-input-group--free .size-free-input {
    flex-basis: 100%;
}
.size-input-group input:focus {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
    outline: none;
}
.size-column-total {
    flex-basis: 100%;
    text-align: center;
    margin-top: .5rem;
    padding: 1rem;
    background: #fff;
    border: 2px dashed var(--izi-line);
    border-radius: 12px;
}
.size-column-total h5 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-display);
}
.cfg-size-total { color: var(--izi-magenta); font-weight: 800; }

.special-flyers-container {
    text-align: center;
    padding: .5rem .25rem 1rem;
}
.special-flyers-container h4 {
    font-family: var(--font-display);
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--izi-ink);
}
.special-flyers-container .cfg-free-input {
    padding: .85rem 1rem;
    border: 2px solid var(--izi-line);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    width: min(100%, 240px);
    font: inherit;
    text-align: center;
}
/* Le tableau des joueurs, au récapitulatif */
.cfg-roster {
    margin: 1rem 0;
    padding: .9rem 1rem;
    background: #fff;
    border: 1px solid var(--izi-line);
    border-radius: 12px;
}
.cfg-roster__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .6rem;
}
.cfg-roster__head p { margin: 0; }
.cfg-roster__count {
    font-weight: 700;
    color: var(--izi-magenta);
}
.cfg-roster__scroll {
    max-height: 22rem;
    overflow: auto;
}
.cfg-roster__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.cfg-roster__table th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    color: var(--izi-muted);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: left;
}
.cfg-roster__table th,
.cfg-roster__table td {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--izi-line);
}
.cfg-roster__table td:first-child,
.cfg-roster__table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.cfg-roster__table td:nth-child(3) { font-weight: 700; }
.cfg-roster__table tr.is-duplicate td { background: #fff1f2; color: #be123c; }
.cfg-roster__alerts {
    margin: .75rem 0 0;
    padding: .6rem .9rem .6rem 1.8rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    font-size: .85rem;
}
/* Tailles enfant : « 6 ans » en tête, l'équivalence junior dessous */
.size-input-group label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    flex: 0 0 4.5rem; /* même largeur partout : les champs restent alignés */
    white-space: nowrap;
}
.size-input-group label small {
    font-size: .68rem;
    font-weight: 600;
    color: var(--izi-muted);
}

.cfg-faces__field {
    display: block;
    max-width: 360px;
    margin: 0 auto .85rem;
    text-align: left;
}
.cfg-faces__field span {
    display: block;
    margin-bottom: .3rem;
    font-weight: 700;
    font-size: .85rem;
}
.special-flyers-container .cfg-faces__field .cfg-free-input {
    width: 100%;
    margin-bottom: 0;
    text-align: left;
}
.cfg-faces__same {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.1rem;
    font-size: .9rem;
}
.cfg-list__hint {
    margin: -.5rem 0 1rem;
    color: var(--izi-muted);
    font-size: .9rem;
}
.special-flyers-container .cfg-list-input {
    display: block;
    width: min(100%, 460px);
    margin-inline: auto;
    margin-bottom: 1.25rem;
    text-align: left;
    line-height: 1.5;
    resize: vertical;
}
.special-flyers-container .cfg-free-input:focus {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12);
    outline: none;
}

.cfg-verify {
    padding: .35rem .15rem 1.1rem;
    text-align: left;
    max-width: 720px;
    margin: 0 auto;
}
.cfg-verify__head {
    margin: 0 0 1.15rem;
    padding: 1.1rem 1.2rem 1.15rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(230, 0, 126, 0.1), rgba(0, 159, 227, 0.08) 55%, rgba(255, 237, 0, 0.12)),
        #fff;
    border: 1px solid rgba(230, 0, 126, 0.14);
    position: relative;
    overflow: hidden;
}
.cfg-verify__head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--izi-magenta), var(--izi-cyan));
}
.cfg-verify__eyebrow {
    margin: 0 0 .35rem;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--izi-magenta);
}
.cfg-verify__product {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--izi-ink);
}
.cfg-verify__hint {
    margin: .45rem 0 0;
    color: var(--izi-muted);
    font-size: .9rem;
}
.cfg-summary {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.cfg-verify__grid,
.cfg-selection-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}
.cfg-verify-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--izi-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(17, 17, 17, 0.04);
    animation: cfg-verify-in .38s ease both;
    animation-delay: calc(var(--cfg-i, 0) * 45ms);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cfg-verify-card:hover {
    border-color: rgba(230, 0, 126, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 0, 126, 0.08);
}
.cfg-verify-card__media {
    aspect-ratio: 5 / 4;
    background: #eceff1;
    display: grid;
    place-items: center;
    padding: .55rem;
    border-bottom: 1px solid var(--izi-line);
}
.cfg-verify-card__media.is-empty {
    background:
        radial-gradient(circle at 30% 30%, rgba(230, 0, 126, 0.16), transparent 55%),
        radial-gradient(circle at 80% 70%, rgba(0, 159, 227, 0.14), transparent 50%),
        #f3f4f6;
}
.cfg-verify-card__svg {
    width: 100%;
    height: 100%;
    max-height: 110px;
    display: block;
}
.cfg-verify-card__img {
    width: 100%;
    height: 100%;
    max-height: 110px;
    object-fit: contain;
    display: block;
}
.cfg-verify-card__glyph {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--izi-magenta);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
}
.cfg-verify-card__body {
    padding: .7rem .75rem .85rem;
    display: grid;
    gap: .2rem;
}
.cfg-verify-card__step {
    margin: 0;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--izi-cyan);
}
.cfg-verify-card__value {
    margin: 0;
    font-family: var(--font-display);
    font-size: .92rem;
    font-weight: 700;
    color: var(--izi-ink);
    line-height: 1.25;
}
.cfg-verify__qty {
    display: grid;
    justify-items: center;
    gap: .45rem;
    margin: 0 0 1.15rem;
    padding: 1rem;
    border-radius: 14px;
    background: var(--izi-bg-soft);
    border: 1px dashed rgba(230, 0, 126, 0.25);
}
.cfg-verify__qty-label {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .95rem;
}
.cfg-verify__qty-row {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}
.cfg-verify__qty-btn {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    border: 1px solid var(--izi-line);
    background: #fff;
    color: var(--izi-ink);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}
.cfg-verify__qty-btn:hover {
    border-color: var(--izi-magenta);
    color: var(--izi-magenta);
}
.cfg-verify__qty-input {
    width: 4.5rem;
    height: 2.35rem;
    text-align: center;
    border: 2px solid var(--izi-magenta);
    border-radius: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
}
.cfg-verify__qty-min {
    font-size: .75rem;
    color: var(--izi-muted);
}
@keyframes cfg-verify-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .cfg-verify-card {
        animation: none;
    }
    .cfg-verify-card:hover {
        transform: none;
    }
}
.izi-content-table {
    width: auto;
    margin: 0 auto 1.25rem;
    border-collapse: collapse;
}
.izi-content-table td {
    padding: .5rem .65rem;
    border: none;
    background: transparent;
}
.izi-content-table label {
    font-weight: 700;
    font-size: .95rem;
    white-space: nowrap;
}
.izi-content-table input[type="number"] {
    padding: .65rem .85rem;
    border: 2px solid var(--izi-line);
    border-radius: 8px;
    width: 100px;
    font: inherit;
    font-size: 1rem;
    text-align: center;
}
.izi-content-table input[type="number"]:focus {
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.1);
    outline: none;
}
.cfg-add-quote-btn {
    display: inline-block;
    padding: .9rem 1.75rem;
    background: var(--izi-magenta);
    color: #fff !important;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.cfg-add-quote-btn:hover {
    background: var(--izi-magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 126, 0.25);
}
@media (max-width: 700px) {
    .size-column { flex-basis: 100%; }
}

/* Au téléphone, une taille par ligne faisait défiler trois écrans et le
 * champ débordait à droite. On passe en tuiles : la taille au-dessus, la
 * quantité dessous, trois par rangée. « Autre » garde sa ligne entière pour
 * la case où l'on écrit la taille. */
@media (max-width: 600px) {
    .size-columns { gap: .75rem; }
    .size-column {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .5rem;
        padding: .75rem;
    }
    .size-column h5 {
        grid-column: 1 / -1;
        margin-bottom: .25rem;
    }
    .size-input-group {
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        margin: 0;
    }
    .size-input-group label {
        flex: none;
        width: auto;
        align-items: center;
        text-align: center;
    }
    .size-input-group input {
        min-width: 0;
        width: 100%;
        padding: .45rem .3rem;
        text-align: center;
    }
    .size-input-group--free {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 5rem) minmax(0, 1fr);
        align-items: center;
        gap: .5rem;
    }
    .size-input-group--free .size-free-input {
        text-align: left;
    }
}

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

/* Boutique — présentation atelier */
.shop { padding-bottom: 3.5rem; }
.shop-hero {
    background:
        linear-gradient(115deg, #0a0a0a 0%, #1a1a1a 55%, #2a0818 100%);
    color: #fff;
    padding: 2.25rem 0 2.5rem;
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}
.shop-hero::after {
    content: '';
    position: absolute;
    right: -4rem;
    top: -3rem;
    width: 18rem;
    height: 18rem;
    background: var(--izi-magenta);
    opacity: .28;
    transform: rotate(18deg);
    pointer-events: none;
}
.shop-hero__inner { position: relative; z-index: 1; }
.shop-hero__eyebrow {
    margin: 0 0 .5rem;
    font: 800 .72rem/1 var(--font-display);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--izi-cyan);
}
.shop-hero__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
}
.shop-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    letter-spacing: -.03em;
    line-height: 1.05;
}
.shop-hero__lead {
    margin: .65rem 0 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1.02rem;
    line-height: 1.5;
}
.shop-search {
    display: flex;
    gap: .4rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: .28rem .28rem .28rem .95rem;
    min-width: min(100%, 22rem);
}
.shop-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    min-width: 0;
}
.shop-search input::placeholder { color: rgba(255, 255, 255, .45); }
.shop-search input:focus { outline: none; }
.shop-search__btn {
    border: 0;
    border-radius: 999px;
    background: var(--izi-magenta);
    color: #fff;
    font: 700 .85rem/1 var(--font-display);
    padding: .7rem 1.15rem;
    cursor: pointer;
}
.shop-search__btn:hover { background: var(--izi-magenta-dark); }

.shop-body {
    /* Pleine largeur : on sort du gabarit .wrap (1180px) pour agrandir les cartes. */
    width: min(1760px, calc(100% - clamp(1.5rem, 5vw, 4rem)));
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.shop-nav {
    position: sticky;
    top: calc(var(--izi-header-h) + .8rem);
    background: #fff;
    border: 1px solid var(--izi-line);
    border-radius: 16px;
    padding: .85rem .7rem;
}
.shop-nav__title {
    margin: 0 .45rem .55rem;
    font: 800 .68rem/1 var(--font-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--izi-muted);
}
/* Les rayons viennent de la base avec des casses mêlées — AFFICHE à côté
   d'Agendas, GRAND FORMAT à côté de Gadgets. La liste se lisait comme deux
   listes superposées ; la majuscule les remet sur un pied d'égalité. */
.shop-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem .6rem;
    border-radius: 10px;
    color: var(--izi-ink);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.shop-nav__link:hover { background: #f7f7f7; }
.shop-nav__link.is-active {
    background: #fff0f7;
    color: var(--izi-magenta);
}
.shop-nav__count {
    font-size: .72rem;
    font-weight: 700;
    color: var(--izi-muted);
    background: #f3f4f6;
    border-radius: 999px;
    padding: .12rem .45rem;
    flex: none;
}
.shop-nav__link.is-active .shop-nav__count {
    background: #ffd0e8;
    color: var(--izi-magenta);
}

.shop-count {
    margin: 0 0 1rem;
    font-size: .88rem;
    color: var(--izi-muted);
}
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.shop-grid--chooser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) {
    .shop-grid,
    .shop-grid--chooser {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}
@media (min-width: 1100px) {
    .shop-grid,
    .shop-grid--chooser {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

.shop-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--izi-line);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(230, 0, 126, .12);
}
.shop-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    background: #f3f4f6;
    overflow: hidden;
}
.shop-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: .75rem;
}
.shop-card__fold {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.1rem;
    height: 3.1rem;
    background: linear-gradient(225deg, var(--izi-yellow) 50%, transparent 51%);
}
/* Badge « Éco » : matériaux durables, coin haut-gauche du visuel. */
.shop-card__eco {
    position: absolute;
    top: .55rem;
    left: .55rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .5rem .2rem .4rem;
    border-radius: 999px;
    background: var(--izi-eco, #2e7d32);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
}
.shop-card__eco svg { width: .85rem; height: .85rem; }
.shop-card__body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.05rem 1.15rem 1.2rem;
    flex: 1;
}
.shop-card__kicker {
    font: 800 .65rem/1 var(--font-display);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--izi-cyan);
}
.shop-card__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(0.95rem, 1.4vw, 1.12rem);
    letter-spacing: -.02em;
    line-height: 1.2;
}
.shop-card__lead {
    color: var(--izi-muted);
    font-size: .9rem;
    line-height: 1.45;
    margin-top: .15rem;
}
.shop-card__cta {
    margin-top: auto;
    padding-top: .85rem;
    font: 700 .88rem/1 var(--font-display);
    color: var(--izi-magenta);
}

.shop-empty { color: var(--izi-muted); }
.shop-pages {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.75rem;
}
.shop-pages__btn {
    display: inline-flex;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--izi-line);
    font-weight: 700;
    font-size: .85rem;
    background: #fff;
}
.shop-pages__btn:hover { border-color: var(--izi-magenta); color: var(--izi-magenta); }
.shop-pages__btn.is-disabled { opacity: .4; pointer-events: none; }
.shop-pages__status { font-size: .85rem; color: var(--izi-muted); }

@media (max-width: 860px) {
    .shop-body { grid-template-columns: 1fr; }
    .shop-nav { position: static; display: flex; flex-wrap: wrap; gap: .35rem; }
    .shop-nav__title { width: 100%; }
    .shop-nav__link { border: 1px solid var(--izi-line); }
}

@media (prefers-reduced-motion: reduce) {
    .shop-card { transition: none; }
    .shop-card:hover { transform: none; }
}

/* Configuration choisie, rappelée sous chaque ligne du devis */
.quote-config {
    margin: .35rem 0 0;
    padding-left: 1rem;
    color: var(--izi-muted);
    font-size: .82rem;
    line-height: 1.45;
}
.quote-config li { margin: .1rem 0; }

/* Étape de finitions à deux niveaux : familles puis éléments */
.cfg-group-actions { margin-top: 1rem; }
.cfg-group-hint {
    margin: 0 0 .6rem;
    color: var(--izi-muted);
    font-size: .88rem;
}
.cfg-group-hint--error {
    color: var(--izi-magenta, #e6007e);
    font-weight: 700;
}
.cfg-group-back {
    background: transparent;
    border: 1px solid var(--izi-line);
    border-radius: 999px;
    padding: .5rem 1rem;
    margin-right: .6rem;
    cursor: pointer;
    font: inherit;
    color: var(--izi-muted);
}
.cfg-group-back:hover { color: var(--izi-magenta); border-color: var(--izi-magenta); }

/* Repère des bornes de saisie sous les champs largeur / hauteur */
.cfg-dimension-hint {
    margin: .5rem 0 0;
    color: var(--izi-muted);
    font-size: .88rem;
}

/* La mention de tarification, annoncée une fois en tête de grille plutôt que
   répétée sur chaque carte, où elle ne distinguait plus rien. */
.shop-count {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
}
.shop-count__note {
    font-size: .82rem;
    color: var(--izi-muted);
    opacity: .85;
}
/* Un prix ferme se lit comme un prix, pas comme une étiquette de rayon. */
.shop-card__kicker.is-price {
    color: var(--izi-ink);
    letter-spacing: .04em;
}

/* ── Guide de préparation des fichiers ─────────────────────────────────
   Une page de documentation : on y vient chercher une réponse précise, pas
   se laisser porter. D'où les blocs courts, les numéros, les schémas à côté
   du texte qu'ils illustrent, et une liste de contrôle à la fin. */

.guide-hero {
    max-width: 46rem;
    padding-bottom: 1rem;
}

.guide-hero__eyebrow {
    margin: 0 0 0.5rem;
    font: 800 0.72rem/1 var(--font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--izi-magenta);
}

.guide-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.guide-hero__lead {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--izi-muted);
}

.guide-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ── Les cinq règles ──────────────────────────────────────────────────── */

.guide-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.guide-rule {
    position: relative;
    padding: 1.4rem 1.3rem 1.3rem;
    background: var(--izi-white);
    border: 1px solid var(--izi-line);
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.guide-rule__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: var(--izi-magenta);
    color: var(--izi-white);
    font: 800 0.95rem/1 var(--font-display);
}

.guide-rule--ask { background: #f7fcff; border-color: rgba(0, 159, 227, 0.3); }
.guide-rule--ask .guide-rule__num { background: var(--izi-whatsapp); }

.guide-rule h3 {
    margin: 0 0 0.4rem;
    font: 800 1.02rem/1.25 var(--font-display);
    letter-spacing: -0.01em;
    color: var(--izi-ink);
}

.guide-rule p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--izi-muted);
}

/* ── Texte et schéma côte à côte ──────────────────────────────────────── */

.guide-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.guide-split h2 { margin-top: 0; }

.guide-split p,
.guide-list li {
    line-height: 1.6;
    color: var(--izi-muted);
}

.guide-list {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
}

.guide-list li + li { margin-top: 0.6rem; }

.guide-figure {
    margin: 0;
    padding: 1.25rem;
    background: var(--izi-bg-soft);
    border: 1px solid var(--izi-line);
    border-radius: var(--radius-lg);
}

.guide-figure svg {
    display: block;
    width: 100%;
    height: auto;
}

.guide-figure figcaption {
    margin-top: 0.85rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--izi-muted);
    text-align: center;
}

/* Une précision utile, mise en évidence sans crier. */
.guide-note {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--izi-cyan);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(0, 159, 227, 0.07);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ── Le tableau des résolutions ───────────────────────────────────────── */

.guide-table-wrap { overflow-x: auto; }

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.guide-table th,
.guide-table td {
    padding: 0.75rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--izi-line);
    line-height: 1.45;
}

.guide-table th {
    font: 800 0.74rem/1.3 var(--font-display);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--izi-ink);
    white-space: nowrap;
}

.guide-table td { color: var(--izi-muted); }
.guide-table tbody tr:hover { background: var(--izi-bg-soft); }

/* ── Les cartes de conseils ───────────────────────────────────────────── */

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.guide-card {
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--izi-line);
    border-radius: var(--radius);
    background: var(--izi-white);
}

.guide-card h3 {
    margin: 0 0 0.4rem;
    font: 800 0.98rem/1.25 var(--font-display);
    color: var(--izi-ink);
}

.guide-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--izi-muted);
}

.guide-card code,
.guide-checklist code {
    padding: 0.08em 0.35em;
    border-radius: 4px;
    background: var(--izi-bg-soft);
    font-size: 0.88em;
    color: var(--izi-ink);
}

/* ── La liste de contrôle ─────────────────────────────────────────────── */

.guide-checklist {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: var(--izi-black);
    color: rgba(255, 255, 255, 0.78);
}

.guide-checklist__head h2 {
    margin: 0 0 0.3rem;
    color: var(--izi-white);
}

.guide-checklist__head p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.55);
}

.guide-checklist ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
    gap: 0.6rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Une case à cocher dessinée : la liste se lit comme on la ferait à la main. */
.guide-checklist li {
    position: relative;
    padding-left: 1.9rem;
    font-size: 0.93rem;
    line-height: 1.5;
}

.guide-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 1.15rem;
    height: 1.15rem;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.guide-checklist li::after {
    content: "";
    position: absolute;
    left: 0.34rem;
    top: 0.28rem;
    width: 0.42rem;
    height: 0.7rem;
    border: solid var(--izi-yellow);
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}

.guide-checklist code {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

/* ── L'envoi du fichier ───────────────────────────────────────────────── */

.guide-send {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem 2.5rem;
    padding: 1.75rem;
    border: 1px solid var(--izi-line);
    border-radius: var(--radius-lg);
    background: var(--izi-bg-soft);
}

.guide-send h2 { margin: 0 0 0.5rem; }
.guide-send p { margin: 0; line-height: 1.6; color: var(--izi-muted); }

.guide-send__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

@media (max-width: 900px) {
    .guide-split,
    .guide-send { grid-template-columns: minmax(0, 1fr); }

    /* Le schéma passe sous son texte, jamais au-dessus : on lit d'abord la
       règle, on regarde le dessin ensuite. */
    .guide-split--reverse .guide-figure { order: 2; }
    .guide-send__actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 700px) {
    .guide-hero__actions .btn,
    .guide-send__actions .btn { flex: 1 1 100%; }
    .guide-checklist { padding: 1.25rem; }
}

/* ── Typographie & descriptions riches (.prose) ───────────────────────── */
.prose {
    line-height: 1.6;
    color: var(--izi-ink);
}
.prose p {
    margin: 0 0 1rem;
}
.prose p:last-child {
    margin-bottom: 0;
}
.prose strong, .prose b {
    font-weight: 700;
}
.prose ul, .prose ol {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}
.prose li {
    margin-bottom: 0.35rem;
}
.prose table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--izi-line);
}
.prose th, .prose td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--izi-line);
    text-align: left;
    font-size: 0.9rem;
    vertical-align: top;
}
.prose th {
    background: var(--izi-bg-soft);
    font-weight: 700;
    color: var(--izi-ink);
}
.prose tr:nth-child(even) td {
    background: #fafafa;
}


/* Le pied de page reprend les rayons du méga-menu, écrits en capitales en
   base ; seul « Tout le catalogue » y descendait en bas de casse. Une seule
   casse pour toute la colonne, comme dans la liste latérale de la boutique. */
.footer-col[aria-label="Nos rayons"] a {
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

/* Le bandeau de la famille ouverte.
   Tant qu'une famille est dépliée, la grille ne porte plus que ses éléments :
   ce bandeau tient la place du bloc qui les a ouverts, et range les familles
   voisines dans une barre à part pour qu'on ne les confonde plus avec un choix
   de la famille en cours. */
.cfg-group-open[hidden] { display: none; }
.cfg-group-open {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem .9rem;
    margin-bottom: 1rem;
    padding: .65rem .9rem;
    border: 1px solid var(--izi-line);
    border-left: 4px solid var(--izi-magenta);
    border-radius: 10px;
    background: #fdf2f8;
}
.cfg-group-open__back {
    flex: none;
    border: 1px solid var(--izi-line);
    background: #fff;
    border-radius: 999px;
    padding: .3rem .8rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--izi-ink, #374151);
    cursor: pointer;
}
.cfg-group-open__back:hover { color: var(--izi-magenta); border-color: var(--izi-magenta); }
.cfg-group-open__label { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.cfg-group-open__name {
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--izi-magenta);
}
.cfg-group-open__sub { font-size: .78rem; color: #6b7280; }
.cfg-group-open__sub.is-chosen { color: #15803d; font-weight: 600; }
/* Les autres familles : à portée de clic, mais visiblement hors de la rangée. */
.cfg-group-open__others { display: flex; flex-wrap: wrap; gap: .4rem; margin-left: auto; }
.cfg-group-chip {
    border: 1px dashed var(--izi-line);
    background: #fff;
    border-radius: 999px;
    padding: .28rem .7rem;
    font-size: .76rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
}
.cfg-group-chip:hover { color: var(--izi-magenta); border-color: var(--izi-magenta); }
.cfg-group-chip.is-chosen { border-style: solid; border-color: #86efac; color: #15803d; background: #f0fdf4; }
/* Le choix retenu, rappelé sur la famille refermée. */
.izi-image-block.has-choice { border-color: #86efac; }
.cfg-card-chosen {
    display: block;
    margin-top: .35rem;
    padding: .15rem .4rem;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.3;
}
.cfg-group-chip[disabled] { opacity: .45; cursor: not-allowed; }

/* L'aperçu des dimensions prend la forme retenue : un cercle de 12 cm ne
   se relit pas dans un rectangle. */
.cfg-preview-shape.is-round {
    border-radius: 50%;
}

.cfg-preview-shape.is-triangle {
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    border-radius: 0;
}

/* Une forme à un seul chiffre : le champ de hauteur est retiré, celui qui
   reste s'étend plutôt que de garder la moitié de la rangée pour un vide. */
.izi-tab.is-single-dimension .input-group > [data-dim-field='width'] {
    flex-basis: 100%;
}

/* ---------------------------------------------------------------- Visionneuse
   Les vignettes du site sont petites : trois cents pixels sur la fiche
   produit, une case de grille dans la galerie des réalisations. Au clic,
   l'image s'ouvre en grand — c'est le seul endroit où le client peut juger du
   détail d'une impression. */
.izi-zoom {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}
/* Sur la fiche produit, le bouton remplace le conteneur de l'image et doit
   en épouser la hauteur. Dans la galerie, la case s'ajuste à l'image. */
.product-hero__zoom { height: 100%; }

.izi-zoom:focus-visible {
    outline: 3px solid var(--izi-magenta);
    outline-offset: -3px;
}
/* La loupe ne s'affiche qu'au survol : sans elle, rien ne dit que l'image
   s'ouvre ; toujours visible, elle salit le visuel. */
.izi-zoom__hint {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: rgba(17, 17, 17, .65);
    color: var(--izi-white);
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0;
    transition: opacity .15s ease;
    pointer-events: none;
}
.izi-zoom:hover .izi-zoom__hint,
.izi-zoom:focus-visible .izi-zoom__hint { opacity: 1; }

/* Le doigt n'a pas de survol : sur mobile, la loupe reste affichée. */
@media (hover: none) {
    .izi-zoom__hint { opacity: 1; }
}

/* La galerie des réalisations n'avait aucune mise en forme de carte : les
   visuels s'empilaient à leur taille propre, hauts et inégaux. */
/* Galerie en pleine largeur : on sort du cadre 1180px pour voir les visuels
   en grand, avec un simple filet de marge sur les bords. */
.realizations-page {
    width: 100%;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* Box sans cadre : ni bordure, ni fond, ni ombre — juste le visuel et le
   titre, pour un rendu épuré en pleine largeur. */
.realization-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}
.realization-card:hover { box-shadow: none; }
/* ── Galerie réalisations : rendu pro et animé ───────────────────────────
   Tuile arrondie, fond dégradé doux (plus premium qu'un aplat gris) et une
   ombre discrète qui s'accentue au survol pour faire « ressortir » le visuel
   sans réintroduire de cadre. */
.realization-card .izi-zoom {
    border-radius: 16px;
    background: linear-gradient(160deg, #f7f9fc 0%, #e9edf3 100%);
    box-shadow: 0 4px 14px rgba(17, 24, 39, .06);
    transition: box-shadow .3s ease;
}
.realization-card:hover .izi-zoom {
    box-shadow: 0 16px 34px rgba(17, 24, 39, .16);
}
.realization-card img {
    display: block;
    width: 100%;
    /* Cadre portrait : on voit l'image ENTIÈRE sur toute la hauteur, rien
       n'est rogné (contain). Le fond vient de la tuile (dégradé). */
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: transparent;
}
/* Badge loupe : pastille magenta qui apparaît en grandissant au survol. */
.realization-card .izi-zoom__hint {
    border-radius: 999px;
    background: var(--izi-magenta, #e11d74);
    color: #fff;
    box-shadow: 0 4px 12px rgba(225, 29, 116, .4);
    transform: scale(.6);
    transition: opacity .25s ease, transform .25s cubic-bezier(.2, .7, .3, 1.4);
}
.realization-card .izi-zoom:hover .izi-zoom__hint,
.realization-card .izi-zoom:focus-visible .izi-zoom__hint {
    transform: scale(1);
}
/* Titre : plus lisible, avec un accent magenta qui se déploie au survol. */
.realization-card h3 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    margin: .9rem .15rem .2rem;
    position: relative;
    display: inline-block;
}
.realization-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--izi-magenta, #e11d74);
    transition: width .3s ease;
}
.realization-card:hover h3::after { width: 100%; }
.realization-card p { margin: 0 .15rem 1rem; font-size: .9rem; }

.izi-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    /* En grille, la ligne se dimensionne sur son contenu : le « max-height:
       100% » de l'image n'avait alors rien contre quoi se mesurer et un
       visuel carré de 1200 px débordait sous le bas de l'écran. Le conteneur
       flex, lui, a une hauteur définie. */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(.4rem, 1.5vw, 1.25rem);
    background: rgba(8, 8, 8, .96);
}
/* Le « display: none » que le navigateur attache à [hidden] vient de sa
   feuille à lui, que n'importe quelle règle d'auteur emporte. Sans cette
   ligne, la visionneuse restait affichée après la fermeture : un voile noir
   sur toute la page, qu'aucun clic ne levait plus. */
.izi-lightbox[hidden] { display: none; }
.izi-lightbox__img {
    /* Plein écran : l'image remplit la quasi-totalité de l'écran, sans cadre
       blanc, pour la voir en grand. */
    max-width: 96vw;
    max-height: 92vh;
    min-height: 0;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    background: transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.izi-lightbox__close {
    position: absolute;
    top: clamp(.6rem, 2vw, 1.4rem);
    right: clamp(.6rem, 2vw, 1.4rem);
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: var(--izi-white);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.izi-lightbox__close:hover { background: rgba(255, 255, 255, .26); }
.izi-lightbox__close:focus-visible { outline: 3px solid var(--izi-magenta); outline-offset: 2px; }

/* La page ne défile plus derrière la visionneuse. */
body.izi-lightbox-open { overflow: hidden; }
.izi-lightbox__message {
    margin: 0;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    color: var(--izi-white);
    font-size: .95rem;
}

/* Les flèches de la visionneuse : posées sur les bords, à mi-hauteur, hors du
   visuel pour ne pas le masquer. En dessous de 700 px l'écran est trop étroit
   pour les loger à côté : elles descendent au-dessus du compteur. */
.izi-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    padding: 0 0 .2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: var(--izi-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.izi-lightbox__nav:hover { background: rgba(255, 255, 255, .26); }
.izi-lightbox__nav:focus-visible { outline: 3px solid var(--izi-magenta); outline-offset: 2px; }
.izi-lightbox__nav--prev { left: clamp(.4rem, 2vw, 1.4rem); }
.izi-lightbox__nav--next { right: clamp(.4rem, 2vw, 1.4rem); }

.izi-lightbox__count {
    position: absolute;
    left: 50%;
    bottom: clamp(.5rem, 2vw, 1.2rem);
    transform: translateX(-50%);
    margin: 0;
    padding: .25rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: var(--izi-white);
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 700px) {
    /* Les flèches descendent sur une rangée avec le compteur : l'écran est
       trop étroit pour les loger de part et d'autre du visuel. Elles restent
       à distance du bas, où le pouce rencontre la barre du navigateur. */
    .izi-lightbox__nav {
        top: auto;
        bottom: 2.2rem;
        transform: none;
    }
    .izi-lightbox__nav--prev { left: clamp(1rem, 14vw, 4rem); }
    .izi-lightbox__nav--next { right: clamp(1rem, 14vw, 4rem); }
    .izi-lightbox__count { bottom: 2.9rem; }
    /* Le visuel laisse la place à cette rangée. */
    .izi-lightbox { padding-bottom: 6rem; }
}

/* ------------------------------------------------------- Conditionnement
   Le client commande cinq cents blocs-notes et les veut en paquets de
   cinquante. La question se pose au récapitulatif, sous la quantité, parce
   que c'est la quantité qui lui donne son sens. */
.cfg-verify__packaging {
    margin: 1.2rem auto 0;
    max-width: 34rem;
    text-align: center;
}
.cfg-packaging__choices {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: .5rem;
}
.cfg-packaging__btn {
    padding: .45rem 1rem;
    border: 1px solid var(--izi-line);
    border-radius: 999px;
    background: var(--izi-white);
    color: var(--izi-ink);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
}
.cfg-packaging__btn:hover { border-color: var(--izi-magenta); }
.cfg-packaging__btn.is-selected {
    border-color: var(--izi-magenta);
    background: var(--izi-magenta);
    color: var(--izi-white);
}
.cfg-packaging__btn:focus-visible { outline: 3px solid var(--izi-magenta); outline-offset: 2px; }
.cfg-packaging__plan {
    margin: .6rem 0 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--izi-muted);
}
.cfg-packaging__plan.is-warning { color: var(--izi-magenta-dark); }

/* ── Nos agences ──────────────────────────────────────────────────────────
   Trois adresses, trois cartes. Le bandeau de couleur reprend la carte de
   visite de la maison : cyan, magenta, jaune. */
.agences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}
.agence {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 0 1.1rem 1.1rem;
}
.agence__nom {
    margin: 0 -1.1rem .35rem;
    padding: .6rem 1.1rem;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #fff;
}
.agence--cyan .agence__nom { background: var(--izi-cyan); }
.agence--magenta .agence__nom { background: var(--izi-magenta); }
.agence--jaune .agence__nom { background: var(--izi-yellow); color: #111; }

.agence__ligne {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: #222;
    text-decoration: none;
    font-size: .92rem;
    line-height: 1.35;
}
.agence__ligne:hover { color: var(--izi-magenta); }
.agence__icone { flex: 0 0 auto; margin-top: .15rem; color: var(--izi-cyan); }
.agence__wa { margin-top: auto; align-self: flex-start; }

/* ── Confirmation d'ajout au devis ────────────────────────────────────────
   Un bandeau posé sous l'en-tête, qui dit que c'est pris et où le retrouver.
   Il flotte : la page ne saute pas d'un cran au moment où il paraît. */
.quote-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1200;
    max-width: min(420px, calc(100vw - 2rem));
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .8rem .9rem;
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-left: 4px solid #00a651;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    animation: quote-toast-in .25s ease-out both;
}
.quote-toast.is-leaving { animation: quote-toast-out .25s ease-in both; }
@keyframes quote-toast-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes quote-toast-out { to { opacity: 0; transform: translateY(-12px); } }
.quote-toast__check {
    flex: 0 0 auto;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: #00a651; color: #fff;
}
.quote-toast__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.quote-toast__text strong { font-size: .92rem; }
.quote-toast__detail { font-size: .78rem; color: var(--izi-muted, #666); }
.quote-toast__link { flex: 0 0 auto; padding: .45rem .8rem; font-size: .8rem; }
.quote-toast__close {
    flex: 0 0 auto;
    background: none; border: 0; cursor: pointer;
    font-size: 1.25rem; line-height: 1;
    color: var(--izi-muted, #666);
}
.quote-toast__close:hover { color: #111; }

/* La pastille bat une fois quand le compte change. */
.site-topbar__devis-count.is-bumping { animation: devis-bump .45s ease-out 2; }
@keyframes devis-bump { 50% { transform: scale(1.45); } }

@media (max-width: 600px) {
    .quote-toast {
        top: auto; bottom: 1rem; right: .75rem; left: .75rem;
        max-width: none;
        flex-wrap: wrap;
    }
    .quote-toast__link { width: 100%; justify-content: center; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
    .quote-toast, .quote-toast.is-leaving,
    .site-topbar__devis-count.is-bumping { animation: none; }
}

/* ── Page Contacts ────────────────────────────────────────────────────────
   Le formulaire est la raison d'être de la page : il occupe la grande
   colonne. La colonne de droite propose les voies plus rapides — WhatsApp,
   téléphone — sans détourner du formulaire. */
.contact-head { padding-bottom: 0; }
.contact-head h1 { margin-bottom: .4rem; }
.contact-head__lead { max-width: 52ch; color: var(--izi-muted, #666); margin: 0; }

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem 0 2.5rem;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
}
@media (max-width: 600px) { .contact-form { padding: 1.1rem; } }

/* Deux temps annoncés : on sait d'avance que c'est court. */
.contact-form__step {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 1.6rem 0 .2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--izi-line, #eee);
}
.contact-form__step:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.contact-form__step h2 { margin: 0; font-size: 1.05rem; }
.contact-form__num {
    flex: 0 0 auto;
    width: 26px; height: 26px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--izi-magenta); color: #fff;
    font-size: .8rem; font-weight: 800;
}

.field { display: block; min-width: 0; }
.field__req { color: var(--izi-magenta); font-weight: 700; }
.field__opt {
    font-weight: 500; font-size: .74rem; color: var(--izi-muted, #777);
    text-transform: lowercase; letter-spacing: .01em;
}
.field__hint { display: block; font-size: .76rem; color: var(--izi-muted, #777); margin-top: .25rem; }
.field__error { display: block; font-size: .78rem; color: #c4006b; font-weight: 600; margin-top: .25rem; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--izi-magenta);
    box-shadow: 0 0 0 3px rgba(230, 0, 126, .15);
}

/* L'urgence : quatre pastilles qui se touchent du pouce. */
.choice-set { border: 0; padding: 0; margin: .9rem 0 0; }
.choice-set legend { font-weight: 600; padding: 0; margin-bottom: .45rem; }
.choice-set__options { display: flex; flex-wrap: wrap; gap: .45rem; }
/* .form label impose display:block — il faut le battre en specificite,
   sinon le bouton radio se pose au-dessus de son libelle. */
.form .choice, .choice {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .8rem;
    border: 1px solid var(--izi-line, #ddd);
    border-radius: 999px;
    font-size: .85rem;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, background .15s ease;
}
.form .choice { margin: 0; }
/* Le libelle ne se coupe pas : une pastille tient sur une ligne, ou passe
   entiere a la ligne suivante. */
.choice { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 420px) { .choice { white-space: normal; } }
.choice:hover { border-color: #999; }
/* .form input impose width:100% : sans cette remise a zero, le bouton radio
   fait cinquante pixels de large et pousse le libelle a la ligne. */
.form .choice input, .choice input {
    accent-color: var(--izi-magenta);
    margin: 0;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    min-width: 0;
}
.choice:has(input:checked) {
    border-color: var(--izi-magenta);
    background: rgba(230, 0, 126, .08);
    font-weight: 600;
}

/* La case et sa phrase sur la même ligne : elle flottait au centre, loin du
   texte qu'elle accepte. */
.consent {
    display: flex !important;
    align-items: flex-start;
    gap: .55rem;
    margin: 1.3rem 0 .2rem !important;
    font-weight: 500 !important;
    font-size: .88rem;
    line-height: 1.4;
}
.consent input { width: 18px; height: 18px; margin: .1rem 0 0; accent-color: var(--izi-magenta); flex: 0 0 auto; }

.contact-form__submit { margin-top: 1.1rem; width: 100%; justify-content: center; }
.contact-form__note {
    margin: .6rem 0 0;
    font-size: .78rem;
    color: var(--izi-muted, #777);
    text-align: center;
}

.contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.contact-aside__card {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 14px;
    padding: 1.1rem;
    display: flex; flex-direction: column; gap: .6rem;
}
.contact-aside__card h2 { margin: 0; font-size: 1rem; }
.contact-aside__card p { margin: 0; font-size: .85rem; color: var(--izi-muted, #666); }
.contact-aside__card--muted { background: #f7f7f7; }
.contact-aside__tel {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 700; color: #111; text-decoration: none; font-size: .95rem;
}
.contact-aside__tel:hover { color: var(--izi-magenta); }

/* ── Qui sommes-nous ──────────────────────────────────────────────────────
   La plaquette de l'entreprise, mise en page. */
.about-hero { text-align: center; padding-bottom: 0; }
.about-hero__logo { margin-bottom: .6rem; }
.about-hero h1 { margin: 0 0 .6rem; }
.about-hero__lead { max-width: 62ch; margin: 0 auto .8rem; font-size: 1.08rem; font-weight: 600; }
.about-hero__text { max-width: 68ch; margin: 0 auto; color: var(--izi-muted, #666); }
.about-hero__chips {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem;
    margin: 1.2rem 0 0;
}
.about-hero__chips span {
    padding: .3rem .7rem;
    border: 1px solid var(--izi-line, #e2e2e2);
    border-radius: 999px;
    font-size: .78rem; font-weight: 600;
}

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.pillar {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-top: 5px solid #ccc;
    border-radius: 12px;
    padding: 1.2rem;
}
.pillar h2 { margin: 0 0 .5rem; font-size: 1.05rem; }
.pillar p { margin: 0; color: var(--izi-muted, #555); }
.pillar--cyan { border-top-color: var(--izi-cyan); }
.pillar--magenta { border-top-color: var(--izi-magenta); }
.pillar--jaune { border-top-color: var(--izi-yellow); }
.pillar__values { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.pillar__values li { font-weight: 600; padding-left: 1.1rem; position: relative; }
.pillar__values li::before {
    content: ''; position: absolute; left: 0; top: .5em;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--izi-magenta);
}

.about-parc h2 { margin-bottom: .3rem; }
.parc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; margin-top: 1.1rem; }
.parc-card {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 12px;
    padding: 1rem;
}
.parc-card__icone { display: block; width: 30px; height: 30px; color: var(--izi-cyan); margin-bottom: .5rem; }
.parc-card__icone svg { width: 100%; height: 100%; }
.parc-card h3 { margin: 0 0 .25rem; font-size: .95rem; }
.parc-card p { margin: 0; font-size: .82rem; color: var(--izi-muted, #666); }

.about-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }
.about-panel {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 14px;
    padding: 1.4rem;
}
.about-panel h2 { margin-top: 0; }
.about-panel--dark { background: #111; color: #fff; border-color: #111; }
.about-panel--dark p { color: rgba(255, 255, 255, .75); }

.tick-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.tick-list li { position: relative; padding-left: 1.7rem; font-size: .9rem; line-height: 1.45; }
.tick-list li::before {
    content: '';
    position: absolute; left: 0; top: .28em;
    width: 15px; height: 9px;
    border-left: 2.5px solid var(--izi-magenta);
    border-bottom: 2.5px solid var(--izi-magenta);
    transform: rotate(-45deg);
}
.tick-list--light li::before { border-color: var(--izi-cyan); }

.about-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1.2rem;
    background: linear-gradient(120deg, #111 0%, #2a2a2a 100%);
    color: #fff;
    border-radius: 16px;
    padding: 1.6rem;
}
.about-cta h2 { margin: 0 0 .35rem; font-size: 1.25rem; max-width: 30ch; }
.about-cta p { margin: 0; color: rgba(255, 255, 255, .75); font-size: .9rem; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.about-cta .btn-dark { background: #fff; color: #111; }

/* ── Barre des métiers : tout doit tenir ──────────────────────────────────
   Six entrées plus le bouton catalogue dépassaient la largeur sur un écran
   de portable : la dernière se lisait « QUI SOMM ». On resserre avant de
   couper, et l'icône ne part qu'en dernier — elle sert à repérer le métier,
   le mot sert à le nommer. */
.site-nav__inner { gap: .5rem; }
.mega-nav__trigger, .mega-nav__item--link a { padding: .55rem .6rem; font-size: .78rem; }
.btn-catalog { padding: .5rem .8rem; font-size: .78rem; }
@media (max-width: 1080px) {
    .mega-nav__icon { display: none; }
    .mega-nav__trigger, .mega-nav__item--link a { padding: .55rem .5rem; font-size: .75rem; }
    .mega-nav__trigger::after, .mega-nav__item--link a::after { left: .5rem; right: .5rem; }
}
/* Sept entrées ne tiennent pas en toutes lettres, même sur un grand écran :
   les libellés longs cèdent la place à leur version courte, et le panneau
   qui s'ouvre donne le nom complet. */
.mega-nav__trigger:has(.mega-nav__short) .mega-nav__long,
.mega-nav__item--link a:has(.mega-nav__short) .mega-nav__long { display: none; }
.mega-nav__short { display: inline; }

/* ── Qui sommes-nous : le relief ──────────────────────────────────────────
   La page s'ouvrait sur du blanc et n'alternait jamais : tout se lisait au
   même niveau. Un bandeau photo, une bande de chiffres, une vitrine sombre,
   et l'œil sait où il en est. */
.about-banner {
    position: relative;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .86) 100%),
        var(--about-image) center / cover no-repeat;
    color: #fff;
    padding: 3rem 0 3.4rem;
    text-align: center;
}
.about-banner__inner { display: flex; flex-direction: column; align-items: center; }
.about-banner__logo { background: #fff; border-radius: 12px; padding: .4rem; margin-bottom: .9rem; }
.about-banner h1 { margin: 0 0 .7rem; color: #fff; }
.about-banner__lead { max-width: 60ch; margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
/* Les quatre encres, en filet sous le bandeau : la signature de la maison. */
.about-banner__ink { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 5px; }
.about-banner__ink span { flex: 1; }
.about-banner__ink span:nth-child(1) { background: var(--izi-cyan); }
.about-banner__ink span:nth-child(2) { background: var(--izi-magenta); }
.about-banner__ink span:nth-child(3) { background: var(--izi-yellow); }
.about-banner__ink span:nth-child(4) { background: #1a1a1a; }

.about-figures { background: #111; color: #fff; }
.about-figures__grid {
    display: grid;
    /* Deux chiffres seulement : on les resserre au centre plutot que de les
       laisser deriver aux deux bouts de la bande. */
    grid-template-columns: repeat(auto-fit, minmax(150px, 220px));
    justify-content: center;
    gap: 1rem;
    padding: 1.4rem 0;
    text-align: center;
}
.about-figures__grid strong {
    display: block;
    font-size: 2rem; line-height: 1.1;
    color: var(--izi-yellow);
    font-family: 'Montserrat', sans-serif;
}
.about-figures__grid span { font-size: .8rem; color: rgba(255, 255, 255, .7); }

.about-intro { text-align: center; }
.about-intro__text { max-width: 68ch; margin: 0 auto; color: var(--izi-muted, #666); }

.about-vitrine { background: #111; color: #fff; padding: 2.4rem 0 2.6rem; margin: 2rem 0; }
.about-vitrine h2 { margin: 0 0 .25rem; color: #fff; }
.about-vitrine .muted { color: rgba(255, 255, 255, .6); }
.vitrine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .8rem;
    margin: 1.2rem 0 1.4rem;
}
.vitrine-tile {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #111;
    transition: transform .15s ease;
}
.vitrine-tile:hover { transform: translateY(-4px); }
.vitrine-tile img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vitrine-tile span { display: block; padding: .5rem .6rem; font-size: .8rem; font-weight: 600; }

/* Le parc machines : une pastille de couleur derrière chaque icône, sinon
   huit cartes blanches font un mur. */
.about-parc { background: #f7f7f7; border-radius: 16px; padding: 1.6rem; }
.parc-card__icone {
    width: 42px; height: 42px;
    border-radius: 10px;
    padding: 7px;
    background: rgba(0, 159, 227, .12);
}
.parc-card:nth-child(4n+2) .parc-card__icone { background: rgba(230, 0, 126, .12); color: var(--izi-magenta); }
.parc-card:nth-child(4n+3) .parc-card__icone { background: rgba(255, 237, 0, .25); color: #8a7c00; }
.parc-card:nth-child(4n) .parc-card__icone { background: rgba(0, 0, 0, .07); color: #333; }

/* ── Entrées à l'écran ────────────────────────────────────────────────────
   Le CSS ne masque rien tant que reveal.js n'a pas posé .js-reveal : sans
   JavaScript, la page reste entière. */
.js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1);
    transition-delay: var(--retard, 0ms);
    will-change: opacity, transform;
}
.js-reveal [data-reveal].est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ── Survols de la page Qui sommes-nous ──────────────────────────────────── */
.pillar { transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0, 0, 0, .09); }

.parc-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.parc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
    border-color: #d0d0d0;
}
.parc-card__icone { transition: transform .25s cubic-bezier(.2, .7, .3, 1); }
.parc-card:hover .parc-card__icone { transform: scale(1.12) rotate(-6deg); }

/* La vignette produit : l'image avance, le nom se souligne de rose. */
.vitrine-tile { position: relative; }
.vitrine-tile img { transition: transform .35s ease; }
.vitrine-tile:hover img { transform: scale(1.07); }
.vitrine-tile span { position: relative; }
.vitrine-tile span::after {
    content: '';
    position: absolute; left: .6rem; right: .6rem; bottom: .3rem;
    height: 2px; background: var(--izi-magenta);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.vitrine-tile:hover span::after { transform: scaleX(1); }

.tick-list li { transition: transform .18s ease; }
.tick-list li:hover { transform: translateX(3px); }

.engagement-card { transition: transform .2s ease, box-shadow .2s ease; }
.engagement-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }

.about-hero__chips span, .about-banner__logo { transition: transform .2s ease; }
.about-banner__logo:hover { transform: rotate(-4deg) scale(1.05); }

/* Le bandeau s'ouvre : la photo se rapproche lentement pendant qu'on lit. */
@media (prefers-reduced-motion: no-preference) {
    .about-banner { animation: banniere-entre .7s ease-out both; }
    .about-banner__inner > * { animation: banniere-monte .6s ease-out both; }
    .about-banner__logo { animation-delay: .05s; }
    .about-banner h1 { animation-delay: .15s; }
    .about-banner__lead { animation-delay: .25s; }
}
@keyframes banniere-entre { from { opacity: 0; } }
@keyframes banniere-monte { from { opacity: 0; transform: translateY(14px); } }

/* Qui sommes-nous, au téléphone : le bandeau respire moins, les chiffres
   passent côte à côte plutôt qu'empilés, et le bloc d'appel se met en
   colonne avec des boutons pleine largeur. */
@media (max-width: 700px) {
    .about-banner { padding: 2rem 0 2.2rem; }
    .about-banner h1 { font-size: 1.5rem; }
    .about-banner__lead { font-size: .92rem; }
    .about-figures__grid { grid-template-columns: 1fr 1fr; gap: .5rem; padding: 1.1rem 0; }
    .about-figures__grid strong { font-size: 1.6rem; }
    .about-figures__grid span { font-size: .72rem; }
    .about-parc { padding: 1.1rem; border-radius: 12px; }
    .about-panel { padding: 1.1rem; }
    .about-cta { flex-direction: column; align-items: stretch; text-align: left; padding: 1.2rem; }
    .about-cta h2 { font-size: 1.05rem; max-width: none; }
    .about-cta__actions { flex-direction: column; }
    .about-cta__actions .btn { justify-content: center; }
    .vitrine-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
}

/* ── Survols communs à tout le site ───────────────────────────────────────
   Les mêmes gestes partout : la carte se soulève, l'image se rapproche, le
   libellé se souligne de rose. Une seule grammaire, page après page. */
.product-tile, .shop-card, .realization-card, .agence, .promo-tile, .guide-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-tile:hover, .shop-card:hover, .realization-card:hover,
.agence:hover, .promo-tile:hover, .guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}

.product-tile__img, .shop-card__img, .realization-card .izi-zoom, .promo-tile { overflow: hidden; }
.product-tile__img img, .shop-card__img img,
.realization-card .izi-zoom img, .promo-tile img {
    transition: transform .35s ease;
}
.product-tile:hover .product-tile__img img,
.shop-card:hover .shop-card__img img,
.realization-card:hover .izi-zoom img,
.promo-tile:hover img { transform: scale(1.06); }

.trust-bar__item { transition: transform .2s ease; }
.trust-bar__item:hover { transform: translateY(-3px); }
.trust-bar__item svg { transition: transform .25s cubic-bezier(.2, .7, .3, 1); }
.trust-bar__item:hover svg { transform: scale(1.12) rotate(-6deg); }

.promo-banner__chips a { transition: transform .18s ease, background .18s ease; }
.promo-banner__chips a:hover { transform: translateY(-2px); }

/* Les boutons répondent au doigt comme à la souris. */
.btn { transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .product-tile, .shop-card, .realization-card, .agence, .promo-tile, .guide-card,
    .trust-bar__item, .trust-bar__item svg, .btn,
    .product-tile__img img, .shop-card__img img, .realization-card .izi-zoom img, .promo-tile img {
        transition: none;
    }
    .product-tile:hover, .shop-card:hover, .realization-card:hover, .agence:hover,
    .promo-tile:hover, .guide-card:hover, .trust-bar__item:hover, .btn:hover {
        transform: none;
    }
}

/* ── Avis clients ─────────────────────────────────────────────────────────
   La parole du client, encadrée : elle vaut plus que la nôtre, autant
   qu'elle se voie comme telle. */
.avis-head h1 { margin-bottom: .4rem; }
.avis-head__lead { max-width: 58ch; color: var(--izi-muted, #666); margin: 0; }

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.avis-grid--produit { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1rem; }

.avis-card {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-left: 4px solid var(--izi-magenta);
    border-radius: 12px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.avis-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }

.avis-card__note { margin: 0; letter-spacing: .08em; font-size: 1rem; }
.avis-card__etoile { color: #d7d7d7; }
.avis-card__etoile.est-pleine { color: #f5b301; }

.avis-card__texte {
    margin: 0;
    font-size: .95rem;
    line-height: 1.5;
    color: #222;
    quotes: '«\00a0' '\00a0»';
}
.avis-card__texte::before { content: open-quote; color: var(--izi-magenta); font-weight: 700; }
.avis-card__texte::after { content: close-quote; color: var(--izi-magenta); font-weight: 700; }

.avis-card__capture {
    display: block; padding: 0; border: 0; background: none; cursor: zoom-in;
    border-radius: 8px; overflow: hidden; position: relative;
}
.avis-card__capture img { display: block; width: 100%; max-height: 220px; object-fit: cover; object-position: top; }

.avis-card__pied {
    margin-top: auto;
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem;
    font-size: .82rem;
    padding-top: .5rem;
    border-top: 1px solid var(--izi-line, #eee);
}
.avis-card__nom { font-weight: 700; }
.avis-card__societe { color: var(--izi-muted, #777); }
.avis-card__produit {
    margin-left: auto;
    color: var(--izi-magenta); text-decoration: none; font-weight: 600;
}
.avis-card__produit:hover { text-decoration: underline; }

.avis-pagination { margin-top: 1.2rem; }

.avis-formulaires {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    align-items: start;
}
.avis-form {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 14px;
    padding: 1.4rem;
}
.avis-form--suggestion { background: #f7f7f7; }
.avis-form__titre { margin: 0 0 .3rem; font-size: 1.1rem; }
.avis-form__intro { margin: 0 0 .6rem; font-size: .85rem; color: var(--izi-muted, #666); }

/* Les étoiles cliquables. Elles sont écrites de 5 à 1 dans le HTML : ainsi
   le survol d'une étoile peut allumer celles qui la suivent dans le flux,
   c'est-à-dire celles de gauche à l'écran. */
.avis-note { border: 0; padding: 0; margin: .9rem 0 0; }
.avis-note legend { font-weight: 600; padding: 0; margin-bottom: .3rem; }
.avis-note__etoiles { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.avis-note__etoiles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avis-note__etoiles label {
    margin: 0 !important;
    font-size: 1.7rem;
    line-height: 1;
    color: #d7d7d7;
    cursor: pointer;
    transition: color .12s ease, transform .12s ease;
}
.avis-note__etoiles label:hover,
.avis-note__etoiles label:hover ~ label,
.avis-note__etoiles input:checked ~ label,
.avis-note__etoiles input:checked + label { color: #f5b301; }
.avis-note__etoiles label:hover { transform: scale(1.15); }
.avis-note__etoiles input:focus-visible + label { outline: 2px solid var(--izi-magenta); outline-offset: 2px; }

.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;
}

@media (prefers-reduced-motion: reduce) {
    .avis-card, .avis-note__etoiles label { transition: none; }
    .avis-card:hover, .avis-note__etoiles label:hover { transform: none; }
}

/* La bande d'avis sur l'accueil : fond gris, pour la détacher des rayons
   de produits qui l'encadrent. */
.avis-bande { background: #f5f5f5; padding: 2.2rem 0 2.4rem; margin: 2rem 0; }
.avis-bande__head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: .5rem; margin-bottom: 1rem;
}
.avis-bande__head h2 { margin: 0; }
.avis-bande__tous { font-weight: 700; color: var(--izi-magenta); text-decoration: none; font-size: .88rem; }
.avis-bande__tous:hover { text-decoration: underline; }
.avis-bande .avis-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ── Accueil : comment ça marche ──────────────────────────────────────────
   Quatre temps numérotés. Le numéro est dans un rond de couleur : on suit
   l'ordre des yeux sans lire les titres. */
.demarche .section-head { display: block; }
.demarche .section-head .muted { margin: .2rem 0 0; }
.demarche-grid {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    counter-reset: etape;
}
.demarche-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 12px;
    padding: 1.6rem 1.1rem 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.demarche-step:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, .08); }
.demarche-step__num {
    position: absolute;
    top: -14px; left: 1.1rem;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: var(--izi-magenta); color: #fff;
    font-weight: 800; font-size: .88rem;
    box-shadow: 0 3px 10px rgba(230, 0, 126, .35);
}
.demarche-step:nth-child(2) .demarche-step__num { background: var(--izi-cyan); box-shadow: 0 3px 10px rgba(0, 159, 227, .35); }
.demarche-step:nth-child(3) .demarche-step__num { background: var(--izi-yellow); color: #111; box-shadow: 0 3px 10px rgba(255, 237, 0, .4); }
.demarche-step:nth-child(4) .demarche-step__num { background: #111; }
.demarche-step__icone { display: block; width: 28px; height: 28px; color: var(--izi-cyan); margin-bottom: .5rem; }
.demarche-step__icone svg { width: 100%; height: 100%; }
.demarche-step h3 { margin: 0 0 .3rem; font-size: .98rem; }
.demarche-step p { margin: 0; font-size: .84rem; color: var(--izi-muted, #666); line-height: 1.45; }

/* Le bandeau « votre fichier est-il prêt ? » */
.fichier-bandeau {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem;
    background: #111; color: #fff;
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    border-left: 5px solid var(--izi-yellow);
}
.fichier-bandeau__icone { flex: 0 0 auto; width: 40px; height: 40px; color: var(--izi-yellow); }
.fichier-bandeau__icone svg { width: 100%; height: 100%; }
.fichier-bandeau > div { flex: 1 1 320px; min-width: 0; }
.fichier-bandeau h2 { margin: 0 0 .25rem; font-size: 1.15rem; color: #fff; }
.fichier-bandeau p { margin: 0; font-size: .87rem; color: rgba(255, 255, 255, .75); }

/* Les trois agences, version courte */
.section-head__lien { font-weight: 700; color: var(--izi-magenta); text-decoration: none; font-size: .86rem; }
.section-head__lien:hover { text-decoration: underline; }
.agences-bande {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .9rem;
    margin-top: 1rem;
}
.agence-card {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-top: 4px solid #ccc;
    border-radius: 14px;
    padding: 1.1rem 1.1rem 1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.agence-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .09); }
.agence-card--cyan { border-top-color: var(--izi-cyan); }
.agence-card--magenta { border-top-color: var(--izi-magenta); }
.agence-card--jaune { border-top-color: var(--izi-yellow); }
.agence-card__head { display: flex; align-items: center; gap: .55rem; }
.agence-card__head strong { font-size: .98rem; color: #111; }
.agence-card__pin {
    display: inline-flex; flex: none;
    width: 32px; height: 32px; border-radius: 9px;
    align-items: center; justify-content: center;
    color: #fff;
}
.agence-card__pin svg { width: 18px; height: 18px; }
.agence-card--cyan .agence-card__pin { background: var(--izi-cyan); }
.agence-card--magenta .agence-card__pin { background: var(--izi-magenta); }
.agence-card--jaune .agence-card__pin { background: var(--izi-yellow); color: #1a1030; }
.agence-card__adr { margin: 0; font-size: .85rem; color: var(--izi-muted, #666); line-height: 1.45; }
.agence-card__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .4rem; }
.agence-chip {
    display: inline-flex; align-items: center; gap: .32rem;
    font-size: .8rem; font-weight: 700;
    padding: .42rem .72rem; border-radius: 999px;
    border: 1px solid var(--izi-line, #e5e5e5); color: #222; text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.agence-chip svg { width: 15px; height: 15px; }
.agence-chip:hover { background: #111; border-color: #111; color: #fff; }
.agence-chip--wa { color: #0f8c48; border-color: #bfe6cf; }
.agence-chip--wa:hover { background: #0f8c48; border-color: #0f8c48; color: #fff; }

/* La FAQ : des blocs qui s'ouvrent, lisibles sans JavaScript */
.faq { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--izi-line, #e5e5e5);
    border-radius: 10px;
    padding: .85rem 1rem;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: .95rem;
    list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--izi-magenta);
    font-size: 1.3rem; font-weight: 700; line-height: 1;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { border-color: var(--izi-magenta); }
.faq-item p { margin: .6rem 0 0; font-size: .88rem; color: var(--izi-muted, #555); line-height: 1.5; }
.faq-item a { color: var(--izi-magenta); }

@media (max-width: 700px) {
    .fichier-bandeau { padding: 1.1rem; }
    .fichier-bandeau .btn { width: 100%; justify-content: center; }
    .demarche-grid { gap: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .demarche-step, .agence-card { transition: none; }
    .demarche-step:hover, .agence-mini:hover { transform: none; }
}

/* ── Collection de fin d'année, en tête d'accueil ─────────────────────────
   Un bandeau festif qui ouvre la page pendant la saison. Fond sombre et liseré
   doré pour trancher avec le reste et attirer l'œil d'emblée. */
.fin-annee {
    /* Édition de fin d'année en quasi pleine largeur : les marges blanches
       latérales du .wrap (1180px) rapetissaient les visuels. On élargit le
       panneau jusqu'à 1800px, en gardant une petite gouttière. */
    width: min(1800px, calc(100% - 2rem));
    margin-inline: auto;
    background: linear-gradient(135deg, #1a1030 0%, #2a1550 55%, #3a1020 100%);
    border-radius: 18px;
    padding: 1.6rem 1.4rem 1.8rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 120, .35);
}
.fin-annee::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--izi-cyan), var(--izi-magenta), var(--izi-yellow));
}
.fin-annee__head { align-items: flex-start; }
.fin-annee__eyebrow {
    margin: 0 0 .2rem; font-size: .8rem; font-weight: 800; letter-spacing: .03em;
    color: #ffd978;
}
.fin-annee h2 { margin: 0 0 .3rem; color: #fff; }
.fin-annee__lead { margin: 0; max-width: 60ch; font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* Les vignettes restent claires et lisibles sur le fond sombre. */
.fin-annee .product-tile {
    background: #fff;
    border-radius: 12px;
    padding: .6rem;
    color: #111;
}
.fin-annee .product-tile h3 { color: #111; }
.fin-annee .carousel-btn { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .3); }
.fin-annee .carousel-btn:hover { background: rgba(255, 255, 255, .28); }
.fin-annee__all { margin-top: 1.1rem; background: #ffd978; color: #1a1030; border: 0; }
.fin-annee__all:hover { background: #ffe6a3; transform: translateY(-2px); }

@media (max-width: 700px) {
    .fin-annee { padding: 1.2rem 1rem 1.4rem; }
    .fin-annee__all { width: 100%; justify-content: center; }
}

/* ===== Accueil : titres centrés, mosaïque d'univers, collections ===== */

/* Section quasi pleine largeur : déroge au .wrap (1180px) pour les bandes
   qu'on veut mettre en avant (fin d'année, « Tendances du moment »…). */
.section--wide {
    width: min(1800px, calc(100% - 2rem));
    margin-inline: auto;
}

/* Titre de section centré, encadré de deux filets (façon rangées « Optez pour… »). */
.section-title {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin: 0 0 1.4rem;
    text-align: center;
}
.section-title__rule {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--izi-line) 45%, var(--izi-line));
}
.section-title__rule:last-child {
    background: linear-gradient(270deg, transparent, var(--izi-line) 45%, var(--izi-line));
}
.section-title h2 { margin: 0; }
.section-title__text { display: flex; flex-direction: column; gap: .1rem; }
.section-title__eyebrow {
    margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .03em;
    color: var(--izi-magenta);
}

/* Mosaïque « Explorez nos univers » : des rayons en grande image. */
.univers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
/* Tuiles carrées : nos visuels produit sont carrés (1200×1200), ils remplissent
   donc la tuile sans rognage ni vide. */
.univers-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 1px 4px rgba(0, 0, 0, .1));
}
/* L'image remplit toute la tuile (plein cadre, pas de vide) ; le label se pose
   par-dessus, lisible grâce à un dégradé sombre en pied. */
.univers-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.univers-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .74) 100%);
}
.univers-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: .85rem 1rem;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.univers-card:hover img { transform: scale(1.05); }

/* Collections thématiques : quatre produits en grille. */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.collection__cta { margin-top: 1.4rem; text-align: center; }

@media (max-width: 900px) {
    .univers-grid { grid-template-columns: repeat(2, 1fr); }
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .univers-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { gap: .6rem; }
    .section-title__rule { display: none; }
}

/* Le « ou » entre « Configurer le produit » et « WhatsApp direct » : deux
   voies pour obtenir son devis. */
.hero-actions__ou {
    display: inline-flex;
    align-items: center;
    font-size: .85rem;
    font-weight: 600;
    color: var(--izi-muted, #777);
    padding: 0 .2rem;
}
@media (max-width: 600px) {
    .hero-actions__ou { width: 100%; justify-content: center; padding: .1rem 0; }
}

/* ══ Page « Nos réalisations » — portfolio en grille continue ═══════════════
   Avant : une grille de 5 colonnes par rayon, d'où des rangées à moitié
   vides (1 seule pièce en « Accessoires », 2 en « Trophées ») et des images
   de tailles disparates (contain dans un cadre portrait). Désormais : une
   seule grille carrée, des filtres collants avec compteur, une grande case
   par rayon et un appel à l'action en dernière case. */
.rz {
    width: min(1320px, calc(100% - 2rem));
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 3rem) 0 3.5rem;
}

/* En-tête */
.rz-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.rz-hero__copy { max-width: 640px; }
.rz-hero__eyebrow {
    margin: 0 0 .6rem;
    font: 800 .72rem/1 var(--font-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--izi-magenta);
}
.rz-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.rz-hero__lead {
    margin: .9rem 0 0;
    font-size: clamp(.98rem, 1.4vw, 1.08rem);
    line-height: 1.6;
    color: var(--izi-muted);
}
.rz-hero__stats {
    display: flex;
    gap: 2.25rem;
    margin: 0;
}
.rz-hero__stats div { display: flex; flex-direction: column-reverse; }
.rz-hero__stats dd {
    margin: 0;
    font: 800 clamp(2rem, 3.6vw, 2.6rem)/1 var(--font-display);
    letter-spacing: -.02em;
    color: var(--izi-ink);
}
.rz-hero__stats dt {
    margin-top: .35rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--izi-muted);
}
.rz-hero__stats div + div { padding-left: 2.25rem; border-left: 1px solid var(--izi-line); }

/* Filtres collants */
.rz-filters {
    position: sticky;
    top: var(--rz-top, 0px);
    z-index: 20;
    margin: 0 -1rem 1.5rem;
    padding: .7rem 1rem;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--izi-line);
}
.rz-filters__track {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.rz-filters__track::-webkit-scrollbar { display: none; }
.rz-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .95rem;
    border: 1px solid var(--izi-line);
    border-radius: 999px;
    background: var(--izi-white);
    color: var(--izi-ink);
    font: 600 .88rem/1 var(--font-body);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s, background .15s, color .15s;
}
.rz-chip:hover { border-color: var(--izi-magenta); }
.rz-chip:focus-visible { outline: 3px solid var(--izi-magenta); outline-offset: 2px; }
.rz-chip__count {
    min-width: 1.5rem;
    padding: .2rem .4rem;
    border-radius: 999px;
    background: var(--izi-bg-soft);
    color: var(--izi-muted);
    font-size: .74rem;
    font-weight: 700;
    text-align: center;
}
.rz-chip.is-active { background: var(--izi-ink); border-color: var(--izi-ink); color: var(--izi-white); }
.rz-chip.is-active .rz-chip__count { background: var(--izi-magenta); color: var(--izi-white); }

/* Grille : cases carrées, remplissage dense pour que les grandes cases ne
   laissent pas de trou. */
.rz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: clamp(.75rem, 1.4vw, 1.1rem);
}
@media (min-width: 1500px) { .rz-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 960px)  { .rz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .rz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.rz-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    /* Fond clair animé tant que la photo charge : une case noire passe pour
       une image cassée. */
    background: linear-gradient(110deg, #ececec 30%, #f6f6f6 50%, #ececec 70%) 0 0 / 250% 100%;
    animation: rz-shimmer 1.4s linear infinite;
    isolation: isolate;
    box-shadow: 0 2px 10px rgba(17, 17, 17, .06);
    transition: box-shadow .3s ease, transform .3s ease;
}
.rz-card[hidden] { display: none; }
.rz-card:hover { box-shadow: 0 18px 38px rgba(17, 17, 17, .18); }
/* La case ouvrante de chaque rayon s'agrandit : tailles variées, grille
   dynamique. */
.rz-card--featured { grid-column: span 2; grid-row: span 2; }

.rz-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #111;
}
/* L'image fait toujours toute la hauteur, centrée ; si elle est plus large que
   la case, on rogne sur les côtés — jamais sur la hauteur. */
.rz-card__media img {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* Vignettage : les bords de l'image se fondent dans la carte pour un rendu
   premium, sans cadre marqué. */
.rz-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 44px 12px rgba(0, 0, 0, .32);
}
.rz-card:hover .rz-card__media img { transform: translateX(-50%) scale(1.06); }
.rz-card__media--empty { background: linear-gradient(160deg, #2a2a2a, #111); }

/* Légende posée sur l'image, lisible grâce à un dégradé en pied. Texte à
   gauche, picto WhatsApp à droite, pour l'ergonomie. */
.rz-card__caption {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .6rem;
    padding: 2.6rem 1rem .95rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 55%, transparent 100%);
    color: #fff;
    pointer-events: none;
}
.rz-card__text { min-width: 0; }
.rz-card__cat {
    display: inline-block;
    margin-bottom: .35rem;
    font: 800 .64rem/1 var(--font-display);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ff5fb4;
}
.rz-card__title {
    margin: 0;
    font: 700 .98rem/1.25 var(--font-display);
    color: #fff;
    text-wrap: balance;
}
/* Bouton WhatsApp : demande de devis pré-remplie pour cette réalisation.
   La légende ne capte pas les clics ; ce bouton, si. */
.rz-card__wa {
    pointer-events: auto;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rz-card__wa svg { width: 1.3em; height: 1.3em; }
.rz-card__wa:hover { background: #1ebe5a; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 211, 102, .45); }
.rz-card__wa:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.rz-card--featured .rz-card__caption { padding: 4rem 1.4rem 1.3rem; }
.rz-card--featured .rz-card__title { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.rz-card--featured .rz-card__cat { font-size: .7rem; }

/* La loupe passe en haut à droite, la légende occupe le bas. */
.rz-card .izi-zoom__hint {
    top: .8rem;
    bottom: auto;
    right: .8rem;
    background: var(--izi-magenta);
    box-shadow: 0 4px 12px rgba(230, 0, 126, .4);
    transform: scale(.7);
    transition: opacity .25s ease, transform .25s cubic-bezier(.2, .7, .3, 1.4);
}
.rz-card:hover .izi-zoom__hint,
.rz-card .izi-zoom:focus-visible .izi-zoom__hint { opacity: 1; transform: scale(1); }

/* Case d'appel à l'action */
.rz-card--cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(230, 0, 126, .55) 0%, transparent 60%),
        radial-gradient(90% 80% at 0% 100%, rgba(0, 159, 227, .45) 0%, transparent 60%),
        #0e0e0e;
    color: #fff;
}
.rz-cta__eyebrow {
    margin: 0;
    font: 800 .7rem/1 var(--font-display);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--izi-yellow);
}
.rz-cta__title {
    margin: 0;
    font: 800 clamp(1.05rem, 1.7vw, 1.35rem)/1.2 var(--font-display);
    letter-spacing: -.01em;
}
.rz-cta__eyebrow + .rz-cta__title { margin-top: .6rem; }
.rz-cta__actions { display: flex; flex-direction: column; gap: .5rem; }
.rz-cta__actions .btn { width: 100%; padding: .65rem 1rem; font-size: .86rem; }

/* Étirée pour finir la rangée : elle devient un bandeau, texte à gauche,
   boutons à droite. */
.rz-card--cta.is-wide {
    aspect-ratio: auto;
    min-height: 220px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}
.rz-card--cta.is-wide > div:first-child { flex: 1 1 280px; }
.rz-card--cta.is-wide .rz-cta__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); max-width: 24ch; margin-top: .6rem; }
.rz-card--cta.is-wide .rz-cta__actions { flex: 0 1 260px; }

/* Écrans tactiles : pas de survol, donc pas de loupe collée à l'écran. */
@media (hover: none) {
    .rz-card .izi-zoom__hint, .rz-card:hover .izi-zoom__hint { opacity: 0; }
}

/* Fondu à l'apparition après un filtrage */
@keyframes rz-shimmer { to { background-position: -250% 0; } }
.rz-card--cta, .rz-card:has(img[data-loaded]) { animation: none; }
@keyframes rz-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.rz-grid .rz-card.rz-in { animation: rz-in .35s ease both; }

@media (max-width: 640px) {
    .rz-hero { align-items: flex-start; }
    .rz-hero__stats { gap: 1.5rem; }
    .rz-hero__stats div + div { padding-left: 1.5rem; }
    .rz-card { border-radius: 14px; }
    .rz-card__caption { padding: 2rem .7rem .7rem; }
    .rz-card__title { font-size: .84rem; }
    /* Sur une case de 170 px, l'étiquette de rayon mange la photo : on ne la
       garde que sur les grandes cases. */
    .rz-card__cat { display: none; }
    .rz-card--featured .rz-card__cat { display: inline-block; font-size: .6rem; }
    .rz-card--featured .rz-card__caption { padding: 3rem 1rem 1rem; }
    /* Sur téléphone la case CTA prend toute la largeur : deux boutons côte à côte. */
    .rz-card--cta { grid-column: 1 / -1; aspect-ratio: auto; }
    .rz-cta__actions { flex-direction: row; }
    .rz-cta__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .rz-card, .rz-card__media img, .rz-card .izi-zoom__hint { transition: none; }
    .rz-card:hover .rz-card__media img { transform: none; }
    .rz-card, .rz-grid .rz-card.rz-in { animation: none; }
}
