/* LOGICAL 2F — feuille de style principale
   Encre #14213D · Papier #F4F7FB · Signal #F2B705 · Fil #1F6FB2 */

:root {
	--ink: #14213D;
	--ink-2: #22325A;
	--paper: #F4F7FB;
	--white: #FFFFFF;
	--signal: #F2B705;
	--signal-dark: #D9A300;
	--wire: #1F6FB2;
	--mute: #5B6577;
	--line: #D8DFEA;
	--ok: #1E7A52;
	--danger: #B3261E;
	--grid: rgba(31, 111, 178, .09);
	--f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
	--wrap: 1180px;
	--r-s: 6px;
	--r-m: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wire); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 520px; }
.hint, small { color: var(--mute); font-size: .86rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .03em; transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover { color: var(--ink); transform: translateY(-1px) scale(1.02); }
.brand__name { font-weight: 800; letter-spacing: .04em; background: linear-gradient(135deg, var(--ink) 30%, var(--ink-2) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand__mark { display: inline-grid; place-items: center; min-width: 2.3rem; height: 2.3rem; padding: 0 .45rem; background: linear-gradient(135deg, #14213D 0%, #1F6FB2 100%); color: var(--signal); border-radius: var(--r-s); font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; position: relative; box-shadow: 0 4px 12px rgba(20, 33, 61, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.3); transition: box-shadow .25s ease, transform .25s ease; }
.brand__mark::before { content: ""; position: absolute; left: -6px; top: 50%; transform: translateY(-50%); width: 6px; height: 3px; background: var(--signal); border-radius: 2px; }
.brand__domain { font-family: var(--f-body); font-size: .8rem; font-weight: 600; color: var(--wire); background: rgba(31, 111, 178, 0.08); padding: .15rem .45rem; border-radius: 999px; border: 1px solid rgba(31, 111, 178, 0.2); letter-spacing: .02em; transition: background-color .2s, color .2s, border-color .2s; }
.brand:hover .brand__mark { box-shadow: 0 6px 16px rgba(242, 183, 5, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5); }
.brand:hover .brand__domain { background: var(--wire); color: #fff; border-color: var(--wire); }

.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .brand__name { background: linear-gradient(135deg, #FFFFFF 40%, #D8DFEA 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand--light .brand__mark { background: linear-gradient(135deg, var(--signal) 0%, var(--signal-dark) 100%); color: var(--ink); box-shadow: 0 4px 14px rgba(242, 183, 5, 0.3); }
.brand--light .brand__mark::before { background: var(--signal); }
.brand--light .brand__domain { color: var(--signal); background: rgba(242, 183, 5, 0.15); border-color: rgba(242, 183, 5, 0.3); }
.brand--light:hover .brand__domain { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.custom-logo { max-height: 52px; width: auto; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__list a { display: block; padding: .55rem .8rem; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: var(--r-s); }
.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--paper); color: var(--ink); }
.nav__list .menu-cta a { background: var(--signal); margin-left: .5rem; font-weight: 600; }
.nav__list .menu-cta a:hover { background: var(--signal-dark); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: var(--r-s); font: 600 1rem/1.2 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--signal-dark); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { padding: .5rem .9rem; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Papier quadrillé (accueil et en-têtes de pages) ---------- */
.hero, .page-head {
	background-color: var(--paper);
	background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px;
	border-bottom: 1px solid var(--line);
}
.hero { padding: clamp(3rem, 7vw, 6rem) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.4rem); max-width: 13ch; letter-spacing: -.025em; line-height: 1.02; }
.hero__lead { font-size: 1.15rem; color: var(--mute); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-art { width: 100%; height: auto; overflow: visible; }

/* Le seul moment animé : le croquis se dessine, puis l'écran fini apparaît. */
.hero-art [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lff-draw .7s ease-out forwards; }
.hero-art .sketch path:nth-child(2) { animation-delay: .15s; }
.hero-art .sketch path:nth-child(3) { animation-delay: .3s; }
.hero-art .sketch path:nth-child(4) { animation-delay: .5s; }
.hero-art .sketch path:nth-child(5) { animation-delay: .65s; }
.hero-art .sketch path:nth-child(6) { animation-delay: .75s; }
.hero-art .sketch path:nth-child(7) { animation-delay: .9s; }
.hero-art .sketch path:nth-child(8) { animation-delay: 1.15s; }
.hero-art .arrow { animation-delay: 1.35s !important; }
.hero-art .screen { opacity: 0; transform: translateY(14px); transform-box: fill-box; animation: lff-rise .6s 1.9s ease-out forwards; }
@keyframes lff-draw { to { stroke-dashoffset: 0; } }
@keyframes lff-rise { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-head > div { max-width: 60ch; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { color: var(--mute); margin: 0; }
.section--ink .section-head p { color: #C3CCDD; }

.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.page-head h1 { max-width: 22ch; margin-bottom: .35em; }
.page-head p { color: var(--mute); max-width: 62ch; font-size: 1.1rem; margin: 0; }
.crumbs { font-size: .9rem; color: var(--mute); padding: 1.25rem 0 0; }
.crumbs a { color: var(--mute); }

/* ---------- Services ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-row a { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: 1.25rem; align-items: center; padding: 1.4rem .75rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.service-row a:hover { background: var(--paper); color: var(--ink); }
.service-row h3 { margin: 0 0 .15rem; }
.service-row p { margin: 0; color: var(--mute); }
.service-row__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: var(--r-s); flex: none; }
.service-row__icon .icon { width: 1.6rem; height: 1.6rem; }
.service-row__go { font-weight: 600; color: var(--wire); white-space: nowrap; }

.service-blocks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-block { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-block h2 { font-size: 1.6rem; }
.service-block h2 a { color: var(--ink); text-decoration: none; }
.service-block h2 a:hover { text-decoration: underline; }
.service-block p { color: var(--mute); max-width: 65ch; }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.solution-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.5rem; display: flex; flex-direction: column; }
.solution-card__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--ink); color: var(--signal); border-radius: var(--r-s); margin-bottom: 1rem; }
.solution-card__icon .icon { width: 1.45rem; height: 1.45rem; }
.solution-card__icon--lg { width: 3.5rem; height: 3.5rem; }
.solution-card__icon--lg .icon { width: 1.9rem; height: 1.9rem; }
.solution-card h3 a { color: var(--ink); text-decoration: none; }
.solution-card h3 a:hover { text-decoration: underline; }
.solution-card > p { color: var(--mute); font-size: .98rem; }
.solution-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); flex-wrap: wrap; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .4rem; font-size: .95rem; }
.ticks li { display: flex; gap: .5rem; align-items: flex-start; }
.ticks .icon { flex: none; width: 1.1rem; height: 1.1rem; color: var(--ok); margin-top: .22rem; stroke-width: 2.2; }
.ticks--inline { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 0; }

.price { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.price small { font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--mute); }
.price--lg { font-size: 2rem; white-space: normal; line-height: 1.15; margin-bottom: 1.25rem; }

/* ---------- Du papier aux boutons ---------- */
.steps { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { padding: 0 1.75rem 0 0; border-top: 2px solid rgba(255,255,255,.2); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--signal); color: var(--ink); font: 700 1.1rem var(--f-display); margin: -1.2rem 0 1.1rem; }
.step h3 { color: #fff; }
.step p { color: #C3CCDD; margin: 0; }
.steps__cta { margin: 2.75rem 0 0; }

/* ---------- Boutique ---------- */
.shop-bar { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.shop-bar .chips { margin: 0; }
.shop-search { display: flex; gap: .5rem; max-width: 520px; }
.shop-search input { flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; background: #fff; }
.chip span { color: var(--mute); font-size: .8rem; }
.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip:hover span, .chip.is-active span { color: #C3CCDD; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.product-card__media { display: block; aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ink); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
.placeholder .icon { width: 34%; max-width: 110px; height: auto; stroke-width: 1.1; }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product-card__brand { margin: 0; font-size: .85rem; color: var(--mute); }
.product-card__title { font: 600 1.02rem/1.35 var(--f-body); margin: 0; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { text-decoration: underline; }
.product-card__meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .25rem; }

.badge { display: inline-block; font-size: .78rem; font-weight: 600; line-height: 1.4; padding: .18rem .55rem; border-radius: 999px; background: var(--paper); color: var(--mute); border: 1px solid var(--line); white-space: nowrap; }
.badge--ok { background: #E6F4EC; color: var(--ok); border-color: #BFE3CE; }
.badge--new { background: #FFF4CC; color: #6E5200; border-color: #F2D675; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product__media { border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.product__price { font: 700 2rem/1.2 var(--f-display); margin: .25rem 0 .6rem; }
.product__lead { margin-top: 1.25rem; color: var(--mute); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.specs dt { color: var(--mute); }
.specs dd { margin: 0; font-weight: 500; }
.product__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Bandeau devis ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; padding: clamp(1.75rem, 4vw, 2.75rem); border: 2px solid var(--ink); border-radius: var(--r-m); background: #fff; }
.cta-band h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.cta-band p { color: var(--mute); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Pages de contenu ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--wire); }
.figure { margin: 0 0 1.5rem; border-radius: var(--r-m); overflow: hidden; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.5rem; background: #fff; }
.panel--sticky { position: sticky; top: 96px; }
.panel h2 { font-size: 1.2rem; margin-top: 0; }
.panel h2 + .contact-list, .panel .mini-steps { margin-bottom: 1.5rem; }
.panel .btn--block { margin-top: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: .6rem; align-items: flex-start; }
.contact-list .icon { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .25rem; color: var(--wire); }
.mini-steps { padding-left: 1.2rem; margin: 0; display: grid; gap: .5rem; }
.mini-steps li::marker { font-weight: 700; color: var(--wire); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.trio__item { display: block; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; text-decoration: none; color: var(--ink); }
.trio__item:hover { border-color: var(--ink); color: var(--ink); }
.trio__item .icon { width: 2rem; height: 2rem; margin-bottom: .75rem; }
.trio__item p { color: var(--mute); margin: 0; }

.post-list { display: grid; gap: 1.5rem; max-width: 70ch; }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item__date { color: var(--mute); font-size: .9rem; }

.empty { padding: 2.5rem; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r-m); color: var(--mute); }
.empty .btn { margin-top: .5rem; }

.nav-links { display: flex; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.page-numbers { padding: .5rem .85rem; border: 1px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 2.25rem; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font: 700 1.35rem/1.2 var(--f-display); margin-bottom: 1rem; padding: 0; }
.form--panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-m); gap: 1.5rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.req { color: var(--danger); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=number], input[type=search], input[type=password], select, textarea {
	width: 100%; font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--wire); outline: none; box-shadow: 0 0 0 3px rgba(31,111,178,.2); }
textarea { min-height: 140px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 1.05rem; height: 1.05rem; }
.checks { display: grid; gap: .55rem; margin-top: 1.25rem; }
.checks label { display: flex; gap: .55rem; align-items: center; font-weight: 400; cursor: pointer; }
.checks--row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tiles--sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-bottom: 1.5rem; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile label { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.15rem 1.25rem; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; background: #fff; transition: border-color .15s, background-color .15s; }
.tile label:hover { border-color: var(--mute); }
.tile .icon { width: 1.7rem; height: 1.7rem; margin-bottom: .25rem; }
.tile strong { font: 700 1.08rem/1.25 var(--f-display); }
.tile span { color: var(--mute); font-size: .9rem; }
.tile input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.tile input:checked + label .icon { color: var(--wire); }
.tile input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }

.upload__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border: 1.5px dashed var(--wire); border-radius: var(--r-m); background: var(--paper); cursor: pointer; font-weight: 400; }
.upload .icon { width: 1.8rem; height: 1.8rem; color: var(--wire); flex: none; }
.upload:hover { background: #EAF1F9; }
.upload__input:focus-visible + .upload { outline: 3px solid var(--signal); outline-offset: 2px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.table-wrap--scroll { max-height: 520px; overflow-y: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table thead th { background: var(--paper); font-weight: 600; font-size: .86rem; color: var(--mute); position: sticky; top: 0; z-index: 1; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .group th { background: #fff; color: var(--ink); font: 700 1rem var(--f-display); padding-top: 1.1rem; }
.table td label { font-weight: 400; }
.table input[type=number], .input-sm { width: 6rem; padding: .45rem .55rem; }
.table tr.is-picked td { background: #FFF8DD; }
.table tr.is-low td:nth-child(4) input { border-color: #E9B3AE; }
.table tr.is-new td:first-child { box-shadow: inset 4px 0 0 var(--signal); }
.num { text-align: right !important; white-space: nowrap; }
.total-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem 1.25rem; background: var(--ink); color: #fff; border-radius: var(--r-m); flex-wrap: wrap; }
.total-bar strong { font: 700 1.35rem var(--f-display); color: var(--signal); margin-left: .4rem; }

.notice { padding: 1rem 1.25rem; border-radius: var(--r-m); border: 1px solid; margin-bottom: 1.5rem; }
.notice--ok { background: #E6F4EC; border-color: #BFE3CE; color: #145C3D; }
.notice--err { background: #FCEBEA; border-color: #F2C2BE; color: var(--danger); }

/* ---------- Espace gestion ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { border: 1px solid var(--line); border-radius: var(--r-m); padding: 1rem 1.25rem; background: #fff; }
.stat b { display: block; font: 700 1.9rem/1.1 var(--f-display); }
.stat span { color: var(--mute); font-size: .92rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; overflow-x: auto; }
.tabs button { font: 600 1rem var(--f-body); padding: .85rem 1.1rem; border: 0; background: none; color: var(--mute); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected=true] { color: var(--ink); border-bottom-color: var(--signal); }
.toolbar { display: flex; justify-content: space-between; gap: .75rem 1rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 340px; }
.actions { display: flex; gap: .75rem; white-space: nowrap; }
.link-danger { color: var(--danger); }
.devis-details { margin-top: .35rem; }
.devis-details summary { cursor: pointer; color: var(--wire); font-weight: 600; font-size: .9rem; }
.lff-dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: .75rem 0; font-size: .92rem; }
.lff-dl dt { color: var(--mute); }
.lff-dl dd { margin: 0; }
.lff-items { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lff-items th, .lff-items td { padding: .4rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
#loginform p { display: grid; gap: .35rem; margin-bottom: 1rem; }
#loginform .login-remember label { display: flex; gap: .5rem; align-items: center; }
#loginform .button-primary { background: var(--signal); color: var(--ink); border: 0; padding: .8rem 1.3rem; border-radius: var(--r-s); font: 600 1rem var(--f-body); cursor: pointer; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C3CCDD; padding: 4rem 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer__about { margin-top: 1rem; max-width: 34ch; }
.site-footer__title { font: 600 1rem var(--f-body); color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer .contact-list .icon { color: var(--signal); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; gap: 2.75rem 0; }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: absolute; left: -1.25rem; right: -1.25rem; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; display: none; }
	.nav-open .nav { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; }
	.nav__list .menu-cta a { margin: .5rem 0 0; text-align: center; }
	.hero__grid, .split, .product { grid-template-columns: 1fr; }
	.hero__art { max-width: 520px; }
	.panel--sticky { position: static; }
	.tiles, .trio, .stats { grid-template-columns: 1fr; }
	.cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.fields { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.service-row a { grid-template-columns: 2.75rem 1fr; gap: 1rem; }
	.service-row__icon { width: 2.75rem; height: 2.75rem; }
	.service-row__go { display: none; }
	.service-block { grid-template-columns: 1fr; gap: .75rem; }
	.product-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
	.product-card__body { padding: .8rem; }
	.product-card__meta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-art [pathLength] { animation: none; stroke-dashoffset: 0; }
	.hero-art .screen { animation: none; opacity: 1; transform: none; }
	* { transition: none !important; }
}
