/* ==========================================================================
   Copie La Chapelle — design system
   Eye-comfortable: professional blue + warm orange CTA, soft backgrounds,
   CMYK brand accents (magenta/cyan/yellow/black) used sparingly. WCAG AA.
   ========================================================================== */

:root {
    /* Brand */
    --blue:        #1f6feb;
    --blue-600:    #1a5fd0;
    --blue-050:    #eaf2ff;
    --orange:      #f97316;
    --orange-600:  #e2660c;

    /* CMYK accents (from the logo) */
    --c: #00aeef;
    --m: #ec008c;
    --y: #ffd400;
    --k: #1d1d1b;

    /* Neutrals */
    --ink:      #111827;
    --ink-70:   #384152;
    --muted:    #5b6472;
    --line:     #e6e9ef;
    --paper:    #ffffff;
    --paper-2:  #f5f7fb;

    /* Feedback */
    --ok:   #1b8a3f;
    --err:  #c62828;

    /* Shape & motion */
    --radius:   14px;
    --radius-lg:20px;
    --shadow:   0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.06);
    --shadow-lg:0 12px 40px rgba(17,24,39,.12);
    --container: 1140px;
    --ease: cubic-bezier(.2,.7,.3,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-70); }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.16em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
    padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--blue); --btn-fg: #fff;
    display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1.5px solid transparent; border-radius: 999px;
    padding: .62rem 1.2rem; font-weight: 650; font-size: .96rem;
    cursor: pointer; transition: transform .12s var(--ease), background .15s, box-shadow .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--orange); box-shadow: 0 6px 16px rgba(249,115,22,.28); }
.btn--primary:hover { background: var(--orange-600); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-050); }
.btn--outline { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline:hover { background: rgba(255,255,255,.14); }
.btn--lg { padding: .82rem 1.5rem; font-size: 1.02rem; }

/* Tables inside the legal pages (data retention, cookies) */
.page table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.page th, .page td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { background: var(--paper-2); font-weight: 650; }
.page h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.page .lead { font-size: 1.08rem; color: var(--ink-70); }
.page mark { background: #fff4e5; }

/* Legal notice shown at the point of ordering — informative, not alarming */
.notice-legal { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0;
                padding: .85rem 1rem; border-radius: 10px; background: #fff8ec;
                border: 1px solid #f3d9a6; color: #6b4b12; font-size: .88rem; line-height: 1.5; }
.notice-legal .icon { flex: none; margin-top: .15rem; color: #b26a00; }
.notice-legal a { color: #8a5a00; text-decoration: underline; }

/* Card visual: the shop's photo when there is one, the icon otherwise */
.thumb { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px;
         background: var(--paper-2); margin-bottom: .8rem; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block;
             transition: transform .3s var(--ease); }
.card:hover .thumb img, .quick:hover .thumb img { transform: scale(1.03); }

/* ---------- Badge / chips ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--blue-050); color: var(--blue-600);
    padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 650;
    margin-bottom: 1rem;
}

/* ---------- CMYK bar ---------- */
.cmyk-bar { display: flex; height: 3px; }
.cmyk-bar span { flex: 1; }
.cmyk-bar span:nth-child(1) { background: var(--m); }
.cmyk-bar span:nth-child(2) { background: var(--c); }
.cmyk-bar span:nth-child(3) { background: var(--y); }
.cmyk-bar span:nth-child(4) { background: var(--k); }
.cmyk-gradient { background: linear-gradient(120deg, var(--m), var(--c) 55%, var(--y)); }

/* ---------- Top bar ---------- */
.topbar { background: var(--k); color: #eaeaea; font-size: .84rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; color: #eaeaea; }
.topbar__right { display: flex; align-items: center; gap: 1.1rem; }
.langswitch { display: inline-flex; gap: .25rem; }
.langswitch__link { color: #b9bcc4; padding: .1rem .4rem; border-radius: 6px; font-weight: 650; font-size: .8rem; }
.langswitch__link.is-active { color: #fff; background: rgba(255,255,255,.14); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex: 0 0 auto; }
.brand__logo { border-radius: 10px; }
.brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav > a { color: var(--ink-70); font-weight: 600; padding: .5rem .8rem; border-radius: 8px; }
.nav > a:hover { color: var(--ink); background: var(--paper-2); }
/* The CTA is a .btn inside .nav — `.nav > a` is more specific than `.btn`, so restore
   the button look explicitly (same specificity trick used in the mobile block). */
.nav > a.nav__cta {
    margin-left: .5rem; padding: .62rem 1.2rem; border-radius: 999px;
    color: #fff; background: var(--orange);
}
.nav > a.nav__cta:hover { background: var(--orange-600); color: #fff; }
.nav-close, .nav-backdrop, .nav-burger { display: none; }

/* Account / cart icons — always visible, on every screen size */
.header__actions { display: flex; align-items: center; gap: .15rem; flex: 0 0 auto; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--ink-70); }
.iconbtn:hover { background: var(--paper-2); color: var(--blue); }
.iconbtn .icon { width: 1.3rem; height: 1.3rem; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 500px at 78% -10%, var(--blue-050), transparent 60%), var(--paper); padding: clamp(2.2rem, 6vw, 4.5rem) 0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero__title { margin-bottom: .6rem; }
.hero__subtitle { font-size: 1.12rem; color: var(--ink-70); max-width: 34ch; }
.hero__bullets { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.hero__bullets li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ink-70); }
.hero__bullets .icon { color: var(--ok); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__visual { display: flex; justify-content: center; }
.hero__card {
    width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 2rem; display: grid; justify-items: center; gap: 1.4rem;
    position: relative; overflow: hidden;
}
.hero__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--m), var(--c), var(--y), var(--k)); }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chip { font-size: .82rem; font-weight: 650; padding: .3rem .7rem; border-radius: 999px; color: #fff; }
.chip--m { background: var(--m); } .chip--c { background: var(--c); }
.chip--y { background: var(--y); color: var(--k); } .chip--k { background: var(--k); }

/* ---------- Sections ---------- */
.section { padding: clamp(2.4rem, 6vw, 4.2rem) 0; }
.section--alt { background: var(--paper-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.section__head p { color: var(--muted); margin: 0; }
.section__more { text-align: center; margin: 1.8rem 0 0; }

/* Reassurance strip under the hero */
.trustbar { background: var(--blue-050); border-bottom: 1px solid var(--line); }
.trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding: .8rem 0; }
.trustbar__item { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-70);
                  font-size: .9rem; font-weight: 600; white-space: nowrap; }
.trustbar__item .icon { color: var(--blue); }

/* Quick-order tiles: the shortest path from the home page to a price */
.quickgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.quick { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
         padding: 1.15rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
         color: inherit; text-decoration: none; transition: border-color .14s var(--ease), transform .14s var(--ease), box-shadow .14s var(--ease); }
.quick:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.quick__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
               background: var(--blue-050); color: var(--blue); }
.quick__icon .icon { width: 22px; height: 22px; }
.quick__name { font-weight: 650; font-size: .95rem; line-height: 1.25; }
.quick__price { color: var(--muted); font-size: .82rem; }

/* FAQ — native <details>, so it works with no JavaScript at all */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: .6rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer;
          padding: 1rem 1.2rem; font-weight: 650; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; color: var(--blue); font-size: 1.3rem; line-height: 1; font-weight: 400; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__item[open] .faq__q { color: var(--blue); }
.faq__q:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.faq__a { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--ink-70); }

/* Shop details — address, hours, phone */
.localgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.localcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.localcard h3 { font-size: 1.02rem; margin: .7rem 0 .4rem; }
.localcard p { margin: 0 0 .3rem; }
.localcard__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
                   background: var(--blue-050); color: var(--blue); }
.localcard__hint { color: var(--muted); font-size: .86rem; }
.localcard__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 600; }

@media (max-width: 860px) {
    .quickgrid { grid-template-columns: repeat(3, 1fr); }
    .localgrid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .quickgrid { grid-template-columns: repeat(2, 1fr); }
    .trustbar__row { gap: .5rem 1.2rem; }
    .trustbar__item { font-size: .82rem; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.step__num { position: absolute; top: -14px; left: 1.4rem; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step__icon { color: var(--blue); font-size: 1.5rem; margin: .3rem 0 .7rem; }
.step__icon .icon { width: 1.6rem; height: 1.6rem; }
.step p { margin: 0; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.card {
    display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; box-shadow: var(--shadow); color: var(--ink);
    transition: transform .15s var(--ease), box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d3dbe8; color: var(--ink); }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue); }
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__title { margin: 0; }
.card__price { color: var(--muted); font-size: .92rem; }
.card__price strong { color: var(--ink); }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; color: var(--blue); font-weight: 650; font-size: .9rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature { text-align: center; }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; margin-bottom: .7rem; background: linear-gradient(135deg, var(--blue-050), #fff); color: var(--blue); border: 1px solid var(--line); }
.feature__icon .icon { width: 1.7rem; height: 1.7rem; }
.feature p { color: var(--muted); margin: 0; }

/* Blog posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post__thumb { height: 140px; }
.post__body { padding: 1.2rem; }
.post__body h3 { margin-bottom: .4rem; }
.post__body h3 a { color: var(--ink); }
.post__body h3 a:hover { color: var(--blue); }
.post__body p { color: var(--muted); font-size: .95rem; }
.post__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; font-size: .9rem; }
.post__title { font-size: 1.1rem; margin: 0 0 .4rem; }
.post__title a { color: var(--ink); }
.post__title a:hover { color: var(--blue); }
.post__cat { display: inline-block; margin-bottom: .5rem; padding: .12rem .6rem; border-radius: 999px;
             background: var(--blue-050); color: var(--blue); font-size: .76rem; font-weight: 700;
             letter-spacing: .02em; text-decoration: none; }
.post__cat:hover { background: var(--blue); color: #fff; }

/* Category filter chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 0 0 2rem; }
.chiplink { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px;
            border: 1.5px solid var(--line); background: #fff; color: var(--ink-70);
            font-size: .9rem; font-weight: 600; text-decoration: none; transition: all .14s var(--ease); }
.chiplink:hover { border-color: var(--blue); color: var(--blue); }
.chiplink.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }
.chiplink__n { font-size: .76rem; opacity: .7; }

/* End-of-article call to action, and "read next" */
.postcta { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
           margin: 2.4rem 0 0; padding: 1.6rem; border-radius: var(--radius-lg);
           background: var(--blue-050); border: 1px solid var(--line); }
.postcta h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.postcta p { margin: 0; color: var(--ink-70); }
.related { margin-top: 2.8rem; }
.related__title { font-size: 1.2rem; margin-bottom: 1.1rem; }

/* Contact strip */
.contactstrip { background: linear-gradient(120deg, var(--blue), #2b57c9); color: #fff; padding: clamp(2rem, 5vw, 3rem) 0; }
.contactstrip__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.contactstrip h2 { color: #fff; margin-bottom: .3rem; }
.contactstrip p { color: rgba(255,255,255,.9); margin: 0; }
.contactstrip__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* CMS page (legal, about, faq…) */
.page { max-width: 820px; margin-inline: auto; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.prose { color: var(--ink-70); font-size: 1.02rem; }
.prose h2 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin: .3rem 0; }
.prose a { text-decoration: underline; }

/* Catalog: services index */
.catalog .section__head { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
.catgroup { margin-bottom: 2.6rem; }
.catgroup__title { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.catgroup__title .icon { color: var(--blue); width: 1.4rem; height: 1.4rem; }
.card__desc { color: var(--muted); font-size: .9rem; margin: 0; flex: 1; }

/* Catalog: product detail */
.product__grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.2rem; align-items: start; }
.product__lead { font-size: 1.12rem; color: var(--ink-70); }
.product__h2 { font-size: 1.25rem; margin: 1.8rem 0 .7rem; }
.optlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.optlist li { background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem; color: var(--ink-70); }
.tiers, .pricetable { width: 100%; border-collapse: collapse; }
.tiers th, .tiers td, .pricetable th, .pricetable td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.tiers th, .pricetable th { background: var(--paper-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.pricetable__price { font-weight: 700; color: var(--ink); white-space: nowrap; }

.pricebox { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.6rem; }
.pricebox::before { content: ""; display: block; height: 4px; border-radius: 4px; margin: -.4rem 0 1rem; background: linear-gradient(90deg, var(--m), var(--c), var(--y), var(--k)); }
.pricebox__label { font-size: 1.35rem; font-weight: 800; color: var(--ink); display: block; }
.pricebox__meta { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; margin: .6rem 0 1rem; }
.pricebox .btn { width: 100%; }
.pricebox__note { color: var(--muted); font-size: .82rem; margin: .9rem 0 0; }

/* Tarifs */
.tarif-cat { display: flex; align-items: center; gap: .55rem; font-size: 1.2rem; margin: 1.8rem 0 .8rem; }
.tarif-cat .icon { color: var(--blue); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

@media (max-width: 860px) {
    .product__grid { grid-template-columns: 1fr; }
    .pricebox { position: static; }
}

/* ==========================================================================
   Step-by-step configurator
   Big tap targets, one decision per step, price always in view. Radios and
   checkboxes stay real form controls — only their box is styled.
   ========================================================================== */
.section--cfg { padding-bottom: 5.5rem; }          /* room for the sticky bar on mobile */
.cfg__head { margin-bottom: 1.8rem; }
.cfg__head h1 { margin-bottom: .4rem; }
.cfg__lead { color: var(--ink-70); font-size: 1.05rem; margin: 0 0 .6rem; max-width: 60ch; }
.cfg__meta { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .92rem; margin: 0; }
.cfg__meta .icon { color: var(--blue); }
.cfg__grid { display: grid; grid-template-columns: 1fr 330px; gap: 2.2rem; align-items: start; }
.cfg__steps { display: grid; gap: 1rem; min-width: 0; }

.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; }
.step__title { display: flex; align-items: center; gap: .7rem; font-size: 1.08rem; margin: 0 0 .3rem; }
.step__n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%;
           background: var(--blue); color: #fff; font-size: .88rem; font-weight: 800; }
.step__help { color: var(--muted); font-size: .9rem; margin: .2rem 0 1rem; display: flex; align-items: center; gap: .45rem; }
.step__help .icon { color: var(--blue); flex: none; }
.step[hidden] { display: none; }

/* Option cards */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.opt-grid--list { grid-template-columns: 1fr; }
.opt { display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt__box { display: flex; align-items: center; gap: .7rem; height: 100%; padding: .85rem .9rem;
            border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
            transition: border-color .14s var(--ease), background .14s var(--ease), transform .14s var(--ease); }
.opt:hover .opt__box { border-color: var(--blue); }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt input:checked + .opt__box { border-color: var(--blue); border-width: 2px; background: var(--blue-050); padding: calc(.85rem - .5px) calc(.9rem - .5px); }
.opt__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 9px;
             background: var(--paper-2); color: var(--blue); }
.opt input:checked + .opt__box .opt__icon { background: #fff; }
.opt__icon .icon { width: 20px; height: 20px; }
.opt__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; flex: 1; }
.opt__label { font-weight: 650; font-size: .95rem; line-height: 1.3; }
.opt__price { color: var(--muted); font-size: .82rem; }
.opt__mode { font-style: normal; opacity: .75; margin-left: .25rem; font-size: .93em; }
.pricebox__calc { display: block; font-style: normal; color: var(--muted); font-size: .8rem; }
.opt input:checked + .opt__box .opt__price { color: var(--blue); font-weight: 650; }
.opt__tick { flex: none; opacity: 0; color: var(--blue); transition: opacity .14s var(--ease); }
.opt input:checked + .opt__box .opt__tick { opacity: 1; }

/* Quantity: tier cards + free-entry stepper */
.qty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: .6rem; }
.qtycard { display: block; cursor: pointer; }
.qtycard input { position: absolute; opacity: 0; width: 0; height: 0; }
.qtycard__box { position: relative; display: flex; flex-direction: column; align-items: center; gap: .12rem;
                padding: 1.15rem .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
                transition: border-color .14s var(--ease), background .14s var(--ease); }
.qtycard:hover .qtycard__box { border-color: var(--blue); }
.qtycard input:focus-visible + .qtycard__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.qtycard input:checked + .qtycard__box { border-color: var(--blue); border-width: 2px; background: var(--blue-050); }
.qtycard__qty { font-size: 1.3rem; font-weight: 800; line-height: 1.1; }
.qtycard__unit { color: var(--muted); font-size: .78rem; }
.qtycard__total { font-weight: 700; color: var(--blue); margin-top: .25rem; }
.qtycard__save { display: inline-block; margin-top: .3rem; padding: .05rem .45rem; border-radius: 999px;
                 background: #e8f6ee; color: var(--ok); font-size: .74rem; font-weight: 700; }
.qtycard__badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap;
                  padding: .1rem .55rem; border-radius: 999px; background: var(--orange); color: #fff;
                  font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.qty-other { margin-top: 1rem; }
.qty-other summary { cursor: pointer; color: var(--blue); font-size: .9rem; font-weight: 600; }
.qty-other summary::marker { color: var(--blue); }
.qty-other .stepper { margin-top: .8rem; }

.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper__btn { width: 48px; border: none; background: var(--paper-2); color: var(--ink); font-size: 1.3rem;
                line-height: 1; cursor: pointer; font-family: inherit; }
.stepper__btn:hover { background: var(--blue-050); color: var(--blue); }
.stepper input { width: 96px; border: none; text-align: center; font: inherit; font-weight: 700; padding: .7rem .4rem; }
.stepper input:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

/* Price panel */
.cfg__aside .pricebox { position: sticky; top: 90px; }
.pricebox__title { font-weight: 700; font-size: .92rem; margin: 0 0 .7rem; }
.pricebox__unit { color: var(--muted); font-size: .84rem; margin: .3rem 0 0; }
.pricebox__toggle { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--muted); font-size: .84rem; cursor: pointer; }
.pricebox__toggle input { accent-color: var(--blue); width: 16px; height: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* Consent / opt-in checkbox that reads as a sentence */
label.check { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; font-size: .93rem;
              color: var(--ink-70); margin: .6rem 0 1rem; line-height: 1.5; }
label.check input[type=checkbox] { width: 18px; height: 18px; flex: none; margin-top: .12rem; accent-color: var(--blue); }

/* "Why a quote?" list in the quote form sidebar */
.whylist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.whylist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-70); font-size: .92rem; line-height: 1.5; }
.whylist .icon { flex: none; margin-top: .18rem; color: var(--blue); }

/* Sticky price bar — mobile only */
.cfg-bar { display: none; }
@media (max-width: 860px) {
    .cfg__grid { grid-template-columns: 1fr; }
    .cfg__aside .pricebox { position: static; }
    .cfg-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
               display: flex; align-items: center; justify-content: space-between; gap: 1rem;
               padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
               background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
               box-shadow: 0 -6px 20px rgba(17,24,39,.10); }
    .cfg-bar__price { display: flex; flex-direction: column; line-height: 1.15; }
    .cfg-bar__label { color: var(--muted); font-size: .74rem; }
    .cfg-bar__price strong { font-size: 1.25rem; }
    .cfg-bar .btn { flex: 0 0 auto; }
}
@media (max-width: 380px) {
    .opt-grid, .qty-grid { grid-template-columns: 1fr 1fr; }
}

/* Configurator (legacy simple layout, still used by other views) */
.cfg-row { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin: 1.2rem 0; }
.cfg-label { font-weight: 700; display: block; margin-bottom: .5rem; }
.cfg-qty { width: 110px; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.cfg-select { width: 100%; max-width: 340px; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.cfg-group { margin: 1.1rem 0; }
.cfg-choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.cfg-choice { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; background: #fff; font-size: .93rem; }
.cfg-choice:hover { border-color: var(--blue); }
.cfg-choice input { accent-color: var(--blue); }
.cfg-choice em { color: var(--muted); font-style: normal; font-size: .82rem; }
.cfg-choice:has(input:checked) { border-color: var(--blue); background: var(--blue-050); }
.cfg-files { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; }
.cfg-files .icon { color: var(--blue); }
.cfg-qty:focus-visible, .cfg-select:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }

.pricebox__lines { display: grid; gap: .35rem; margin-bottom: .8rem; }
.pricebox__line { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-70); font-size: .92rem; }
.pricebox__total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); margin-top: .3rem; }
.pricebox__total strong { font-size: 1.5rem; color: var(--ink); }
.pricebox__vat { color: var(--muted); font-size: .84rem; margin: .35rem 0 1rem; }

/* Cart */
.cart-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }
.cart-items { display: grid; gap: 1rem; }
.cart-item { display: flex; justify-content: space-between; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.cart-item__body h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.cart-item__body h3 a { color: var(--ink); }
.cart-item__meta { color: var(--muted); margin: 0 0 .4rem; font-size: .92rem; }
.cart-item__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.cart-item__opts li { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .86rem; }
.cart-item__side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; white-space: nowrap; }
.cart-item__price { font-weight: 800; font-size: 1.1rem; }
.cart-summary .pricebox { position: sticky; top: 90px; }
.cart-empty { text-align: center; padding: 2rem 0; display: grid; gap: 1rem; justify-items: center; }
.btn-link-danger { background: none; border: none; color: var(--error); cursor: pointer; font: inherit; font-size: .88rem; text-decoration: underline; padding: 0; }
.nav__cart { display: inline-flex; align-items: center; gap: .35rem; }

@media (max-width: 860px) {
    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary .pricebox { position: static; }
}

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.6rem; align-items: start; }
.checkout-main { display: grid; gap: 1.2rem; }
.checkout-main .card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.checkout-main .card-box h3 { margin: 0 0 1rem; }
.checkout-aside .pricebox { position: sticky; top: 90px; }
.form-row { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-row:last-child { margin-bottom: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lbl { font-weight: 600; font-size: .92rem; }
.form-row input, .form-row textarea, .checkout-main input[type=file] { width: 100%; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.err-text { color: var(--error); font-size: .82rem; margin: 0; }
.gdpr-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1rem; font-size: .9rem; color: var(--ink-70); }
.gdpr-row input { margin-top: .2rem; }
.cfg-choice--disabled { opacity: .6; cursor: not-allowed; }

/* Confirmation */
.conf-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success); color: #fff; margin-bottom: .6rem; }
.conf-check .icon { width: 2rem; height: 2rem; }
.conf-ref { font-size: 1.5rem; font-weight: 800; color: var(--blue); letter-spacing: .02em; }

/* Tracking */
.track-form { max-width: 480px; margin: 0 auto 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.track-form .btn { width: 100%; margin-top: .4rem; }
.track-result { max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.track-result__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.track-ref { font-size: 1.2rem; font-weight: 800; }
.pill-status { padding: .25rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--blue-050); color: var(--blue-600); }
.pill-status--ready, .pill-status--completed, .pill-status--collected { background: #e8f6ee; color: var(--success); }
.pill-status--cancelled, .pill-status--refunded { background: #fdecec; color: var(--error); }
.pill-status--in_production, .pill-status--paid { background: #fff4e5; color: #b26a00; }

@media (max-width: 860px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-aside .pricebox { position: static; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: relative; }
.contact-info .card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.contact-info h3 { margin-top: 0; }
.map-link { display: inline-block; margin-top: 1rem; font-weight: 650; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Account: auth forms */
.authbox { max-width: 440px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2rem; }
.authbox h1 { text-align: center; font-size: 1.5rem; margin-bottom: 1.4rem; }
.authbox__alt { text-align: center; margin: 1.2rem 0 0; color: var(--muted); font-size: .92rem; }

/* "Continue with Google" + separator */
.google-btn { width: 100%; gap: .6rem; color: var(--ink); border-color: var(--line); }
.google-btn:hover { background: var(--paper-2); color: var(--ink); border-color: #d3dbe8; }
.google-btn .icon { width: 1.15rem; height: 1.15rem; fill: currentColor; stroke: none; }
.auth-sep { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: var(--muted); font-size: .85rem; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Account: dashboard layout */
.account { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem; box-shadow: var(--shadow); position: sticky; top: 90px; }
.account-nav a { padding: .6rem .8rem; border-radius: 8px; color: var(--ink-70); font-weight: 600; }
.account-nav a:hover { background: var(--paper-2); color: var(--ink); }
.account-nav a.is-active { background: var(--blue); color: #fff; }
.account-nav__logout { margin-top: .3rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.account-nav__logout button { width: 100%; text-align: left; background: none; border: none; color: var(--error); font: inherit; font-weight: 600; padding: .6rem .8rem; cursor: pointer; border-radius: 8px; }
.account-nav__logout button:hover { background: #fdecec; }
.account-body { min-width: 0; }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 1.6rem; }
.account-card { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1rem; box-shadow: var(--shadow); color: var(--ink); }
.account-card:hover { border-color: var(--blue); color: var(--blue); }
.account-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-050); color: var(--blue); }

/* Account: messages */
.msg-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1.6rem; }
.msg-list { display: grid; gap: 1rem; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.msg__head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.msg p { margin: 0; color: var(--ink-70); }
.msg__reply { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.msg__reply strong { color: var(--blue); }

@media (max-width: 780px) {
    .account { grid-template-columns: 1fr; }
    .account-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .account-nav__logout { border-top: none; padding-top: 0; margin-top: 0; margin-left: auto; }
    .account-nav__logout button { width: auto; }
    .account-cards { grid-template-columns: 1fr; }
}

/* Cookie banner */
/* `display:flex` would override the [hidden] attribute, so hidden must win explicitly. */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin-inline: auto;
    background: #0f1420; color: #e7eaf0; border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner p { margin: 0; font-size: .9rem; color: #cfd4de; flex: 1; min-width: 220px; }
.cookie-banner a { color: #8fb8ff; }
.cookie-banner .btn { white-space: nowrap; }

/* Blog article */
.post__meta { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; margin: -.3rem 0 1.2rem; }
.post__cover { height: 220px; border-radius: var(--radius); margin-bottom: 1.6rem; }
.post__thumb { display: block; }

/* State pages (404 / soon) */
.state__box { max-width: 560px; margin-inline: auto; text-align: center; padding: 2rem 0; }
.state__code { font-size: 3.4rem; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }

/* ---------- Footer ---------- */
.footer { background: #0f1420; color: #c7cdd8; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; padding: 3rem 20px 2.2rem; }
.footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.footer__col a { display: block; color: #aab2c0; padding: .28rem 0; }
.footer__col a:hover { color: #fff; }
.brand--footer .brand__name { color: #fff; }
.footer__tagline { color: #98a0af; margin-top: 1rem; font-size: .93rem; }
.footer__line { display: flex; align-items: center; gap: .5rem; color: #aab2c0; margin: .3rem 0; }
.footer__line a { color: #aab2c0; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 20px 1.6rem; font-size: .82rem; color: #8b93a2; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
    .cards, .features { grid-template-columns: repeat(2, 1fr); }
    .steps, .posts { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }

    /* ---- Mobile drawer ---- */
    .nav-burger {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px;
    }
    .nav-burger:hover { background: var(--paper-2); }
    .nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

    .nav {
        position: fixed; top: 0; right: 0; bottom: 0; left: auto;
        width: min(86vw, 340px); max-height: 100dvh; overflow-y: auto;
        background: #fff; border-left: 1px solid var(--line);
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        margin: 0; padding: 4.5rem 0 2rem;
        box-shadow: -12px 0 40px rgba(17, 24, 39, .18);
        transform: translateX(100%); transition: transform .25s var(--ease);
        z-index: 70; visibility: hidden;
    }
    .nav > a {
        padding: 1rem 1.4rem; border-radius: 0; border-bottom: 1px solid var(--line);
        font-size: 1.02rem; color: var(--ink);
    }
    .nav > a:hover { background: var(--blue-050); }
    .nav > a.nav__cta {
        margin: 1.4rem 1.4rem 0; padding: .9rem 1.2rem; border-radius: 999px;
        border-bottom: none; justify-content: center; text-align: center;
        color: #fff; background: var(--orange);
    }

    .nav-close {
        display: block; position: absolute; top: .8rem; right: 1rem;
        width: 42px; height: 42px; line-height: 42px; text-align: center;
        font-size: 2rem; color: var(--muted); cursor: pointer; border-radius: 10px;
    }
    .nav-close:hover { background: var(--paper-2); color: var(--ink); }

    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 65;
        background: rgba(15, 20, 32, .5); opacity: 0; visibility: hidden;
        transition: opacity .25s var(--ease); cursor: pointer;
    }

    .nav-toggle:checked ~ .nav { transform: translateX(0); visibility: visible; }
    .nav-toggle:checked ~ .nav-backdrop { opacity: 1; visibility: visible; }
    /* Keyboard focus ring for the burger/close labels */
    .nav-burger:focus-visible, .nav-close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
}
@media (max-width: 560px) {
    .cards, .features, .footer__grid { grid-template-columns: 1fr; }
    .topbar__item.topbar__item--hours { display: none; }
    .contactstrip__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
