/* =========================================================================
   Ets Hassan Informatique : feuille de styles principale
   Charte : voir docs/charte-graphique.md
   Organisation : 1. Polices  2. Variables  3. Base  4. Mise en page
                  5. En-tête  6. Boutons  7. Accueil  8. Produits
                  9. Catalogue  10. Fiche produit  11. Formulaires
                  12. Carte  13. Pages  14. Pied de page  15. Contact rapide
                  16. Mouvements  17. Responsive
   ========================================================================= */

/* 1. Polices (Archivo, licence SIL OFL, servie localement) */
@font-face {
  font-family: 'Archivo';
  src: url('/vendor/fonts/archivo-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/vendor/fonts/archivo-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* 2. Variables : mode clair par défaut, mode sombre via [data-theme="dark"] */
:root {
  /* Couleurs relevées sur le logo (voir docs/charte-graphique.md) */
  --ink: #061847;          /* bleu nuit, dérivé du bleu profond du logo : texte et fonds sombres */
  --ink-2: #03113a;        /* bandeau du haut et pied de page */
  --blue: #0060f0;         /* bleu électrique du logo : couleur principale (5,3:1 sur blanc) */
  --blue-strong: #0040c0;  /* bleu profond du logo */
  --blue-sky: #00a0f0;     /* bleu clair du logo (dégradés uniquement, pas de texte) */
  --blue-soft: #e8f1ff;
  --orange: #f08000;       /* orange du logo : accents, signalétique (texte foncé dessus) */
  --gold: #f0a000;         /* orange doré du logo */
  --orange-ink: #a85400;   /* orange lisible sur fond clair (5,3:1) */
  --orange-soft: #fff2e0;
  --grad-brand: linear-gradient(120deg, #0030a0 0%, #0060f0 55%, #0090f0 100%);
  --grad-deep: linear-gradient(125deg, #020d33 0%, #06205f 45%, #0040c0 100%);
  --grad-warm: linear-gradient(90deg, #f07000, #f0a000);
  --wa: #168a45;           /* vert WhatsApp contrasté (4.6:1 sur blanc) */
  --wa-strong: #11733a;
  --paper: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --stage: #f1f4f9;        /* fond des photos produit */
  --text: #061847;
  --muted: #4d5e78;
  --line: #d9e1ec;
  --focus: #f08000;
  --ok: #1a9e50;
  --closed: #d93b3b;
  --shadow: 0 1px 2px rgb(6 24 71 / 6%), 0 8px 24px -12px rgb(6 24 71 / 22%);
  --shadow-lift: 0 2px 4px rgb(6 24 71 / 6%), 0 18px 40px -18px rgb(0 64 192 / 38%);

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.125rem);
  --step-4: clamp(2rem, 1.3rem + 2.8vw, 3.125rem);
  --step-5: clamp(2.4rem, 1.4rem + 4.4vw, 4.5rem);

  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --wrap: 1240px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

[data-theme='dark'] {
  --text: #eaf1ff;
  --muted: #a9bbdb;
  --paper: #040e2c;
  --surface: #0a1a47;
  --surface-2: #0e2259;
  --stage: #e9eef6;        /* les photos restent sur un fond clair neutre */
  --line: #1f3a7a;
  --blue: #4d9bff;
  --blue-strong: #80b8ff;
  --blue-soft: #10295f;
  --orange-ink: #ffb040;
  --orange-soft: #33230a;
  --ink-2: #020a24;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 28px -14px rgb(0 0 0 / 60%);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / 30%), 0 20px 44px -18px rgb(0 0 0 / 70%);
  color-scheme: dark;
}

/* Transitions entre pages (navigateurs compatibles ; sinon navigation normale) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-strong); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; color: var(--text); font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
h1, h2 { font-style: italic; }       /* l'italique gras reprend l'inclinaison du logo */
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.muted { color: var(--muted); }
.i { width: 1.25em; height: 1.25em; flex: none; }
main:focus { outline: none; }

/* 4. Mise en page */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-flush { padding-top: 0; }
.section-alt { background: var(--surface-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0; }
.split { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.h-sub { font-size: var(--step-2); margin: 2rem 0 1.25rem; }
.link-more { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more .i { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-more:hover .i { transform: translateX(3px); }
.note, .disclaimer, .photo-note { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: var(--step--1); margin: 1.25rem 0; }
.note .i, .disclaimer .i, .photo-note .i { color: var(--blue); margin-top: .1em; }
.disclaimer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--r-sm); padding: .75rem 1rem; }
.fhint { font-size: var(--step--1); color: var(--muted); margin: .4rem 0 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* 5. En-tête */
.topbar { background: var(--ink-2); color: #d6e0f2; font-size: var(--step--1); }
.topbar-row { display: flex; align-items: center; gap: 1.5rem; min-height: 36px; }
.topbar-row > :first-child { margin-right: auto; }
.topbar-meta { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; }
a.topbar-meta:hover { color: #fff; }
.topbar .i { width: 1em; height: 1em; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-row { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.logo { height: 62px; width: auto; }
.logo-dark, [data-theme='dark'] .logo-light { display: none; }
[data-theme='dark'] .logo-dark { display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .75rem; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-weight: 600; font-size: .9375rem; position: relative; }
.main-nav a:hover { background: var(--blue-soft); color: var(--text); }
.main-nav a[aria-current='page']::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 3px; border-radius: 3px; background: var(--orange); }
.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text); position: relative; text-decoration: none; transition: background .15s; }
.icon-btn:hover { background: var(--blue-soft); color: var(--text); }
.icon-btn .i { width: 22px; height: 22px; }
.count-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: var(--ink); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.btn .count-badge, .filters-open .count-badge { position: static; display: inline-block; }
.only-dark, [data-theme='dark'] .only-light { display: none; }
[data-theme='dark'] .only-dark { display: block; }
.header-wa { margin-left: .5rem; }
.menu-toggle { display: none; }

.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(380px, 92vw); padding: 0; border: 0; background: var(--surface); color: var(--text); overflow-y: auto; box-shadow: var(--shadow-lift); }
.drawer::backdrop { background: rgb(5 12 30 / 55%); }
.drawer[open] { animation: drawer-in .28s var(--ease); }
@keyframes drawer-in { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem .75rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); }
.drawer-title { font-weight: 800; font-style: italic; font-size: var(--step-1); }
.drawer-main a, .drawer-sub a { display: block; padding: .8rem 1.25rem; text-decoration: none; color: var(--text); font-weight: 700; font-size: var(--step-1); }
.drawer-main a[aria-current='page'] { color: var(--blue); box-shadow: inset 4px 0 0 var(--orange); }
.drawer-sub { border-top: 1px solid var(--line); padding-block: .5rem; }
.drawer-sub a { font-weight: 500; font-size: var(--step-0); padding-block: .6rem; color: var(--muted); }
.drawer-contact { display: grid; gap: .75rem; padding: 1.25rem; border-top: 1px solid var(--line); }

/* Indicateur d'ouverture */
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: var(--step--1); line-height: 1.3; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; position: relative; }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 0 rgb(26 158 80 / 55%); animation: pulse 2.4s infinite; }
.status.is-closed .status-dot { background: var(--closed); }
.status.is-open .status-text strong { color: var(--ok); }
.status.is-closed .status-text strong { color: var(--closed); }
.status-on-dark { color: #e8eefa; }
.status-on-dark.is-open .status-text strong { color: #5fe39a; }
.status-on-dark.is-closed .status-text strong { color: #ff8a8a; }
.status-pill { background: var(--surface); border: 1px solid var(--line); padding: .4rem .85rem .4rem .7rem; border-radius: 999px; box-shadow: var(--shadow); }
.status-lg { font-size: var(--step-0); }
.status-plain { font-weight: 500; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(26 158 80 / 55%); } 70% { box-shadow: 0 0 0 8px rgb(26 158 80 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(26 158 80 / 0%); } }

/* 6. Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: var(--step-0); line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .i { width: 1.25em; height: 1.25em; }
.btn-sm { min-height: 40px; padding: .5rem .9rem; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.5rem; font-size: var(--step-1); width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary { box-shadow: 0 8px 18px -10px rgb(0 96 240 / 70%); }
[data-theme='dark'] .btn-primary { background: #0060f0; }
.btn-primary:hover { background: var(--blue-strong); color: #fff; }
[data-theme='dark'] .btn-primary:hover { background: #0050d8; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--text); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange); color: var(--ink); }

/* 7. Accueil */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%; background: radial-gradient(55% 55% at 72% 38%, var(--blue-soft), transparent 70%), radial-gradient(30% 30% at 92% 88%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%); pointer-events: none; }
/* arc décoratif : reprend la courbe du logo */
.hero::after { content: ''; position: absolute; width: 720px; aspect-ratio: 1; right: -260px; top: -300px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--blue) 18%, transparent); box-shadow: inset 0 0 0 26px color-mix(in srgb, var(--blue-sky) 5%, transparent); pointer-events: none; }
.hero-title .accent { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
[data-theme='dark'] .hero-title .accent { background: linear-gradient(120deg, #4d9bff, #00b0f0); -webkit-background-clip: text; background-clip: text; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; position: relative; }
.hero-title { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.03em; margin: 1.25rem 0 1rem; max-width: 16ch; }
.hero-lead { font-size: var(--step-1); color: var(--muted); max-width: 54ch; }
.hero-lead strong { color: var(--text); }
.hero-search { display: flex; align-items: center; gap: .5rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: .4rem .4rem .4rem 1rem; max-width: 560px; box-shadow: var(--shadow); transition: border-color .15s; }
.hero-search:focus-within { border-color: var(--blue); }
.hero-search > .i { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 0; font-size: 1rem; outline: none; }
.hero-media { margin: 0; position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--stage); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; }
.hero-media figcaption a { display: flex; flex-direction: column; gap: .1rem; padding: .85rem 1rem; border-radius: var(--r); background: rgb(3 17 58 / 84%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; text-decoration: none; border-left: 4px solid var(--orange); }
.hero-tag-name { font-weight: 800; font-style: italic; font-size: var(--step-1); }
.hero-tag-meta { font-size: var(--step--1); color: #d6e0f2; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; padding: 0; position: relative; }
.hero-facts li { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.1rem; background: var(--surface); font-size: .9375rem; line-height: 1.35; color: var(--muted); }
.hero-facts strong { color: var(--text); display: block; }
.hero-facts .i { color: var(--blue); width: 26px; height: 26px; }

/* Enseigne 7j/7 : l'élément signature du site */
.sign { background: var(--grad-deep); color: #fff; margin-top: clamp(3rem, 2rem + 4vw, 5rem); position: relative; overflow: hidden; }
[data-theme='dark'] .sign { border-block: 1px solid var(--line); }
.sign::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad-warm); }
.sign::before { content: ''; position: absolute; width: 900px; aspect-ratio: 1; left: -420px; top: -520px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 9%); box-shadow: 0 0 0 60px rgb(0 160 240 / 5%), 0 0 0 120px rgb(0 160 240 / 3%); pointer-events: none; }
.sign-grid { position: relative; }
.sign-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.sign-title { color: #fff; margin: 0 0 1rem; display: flex; flex-direction: column; line-height: .9; }
.sign-big { font-size: clamp(4rem, 2rem + 9vw, 9rem); font-weight: 900; letter-spacing: -0.05em; color: var(--orange); background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.sign-hours { font-size: clamp(1.8rem, 1rem + 3.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: .25em; }
.sign-copy p { color: #c8d4ea; font-size: var(--step-1); max-width: 40ch; }
.sign-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(.35rem, .2rem + .6vw, .75rem); }
.sign-days li { aspect-ratio: 1 / 1.35; display: grid; place-items: center; border-radius: 10px; background: rgb(255 255 255 / 7%); border: 1px solid rgb(255 255 255 / 16%); font-weight: 800; font-size: clamp(1.1rem, .8rem + 1.2vw, 1.8rem); font-style: italic; color: #fff; position: relative; transition: background .3s; }
.sign-days li::after { content: ''; position: absolute; bottom: 12%; width: 22%; height: 4px; border-radius: 2px; background: var(--ok); opacity: .9; }
.sign-days li.is-today { background: var(--grad-warm); color: var(--ink); border-color: var(--gold); box-shadow: 0 0 28px -4px rgb(240 128 0 / 70%); }
.sign-days li.is-today::after { background: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: .25rem; padding: 1.5rem 1.25rem 1.25rem; min-height: 168px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.tile .i { width: 36px; height: 36px; color: var(--blue); margin-bottom: auto; }
.tile-name { font-weight: 800; font-style: italic; font-size: var(--step-1); line-height: 1.2; margin-top: 1.5rem; }
.tile-meta { color: var(--muted); font-size: var(--step--1); }
.tile:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--text); }
.tile-accent { background: var(--orange-soft); border-color: color-mix(in srgb, var(--orange) 45%, transparent); }
.tile-accent .i { color: var(--orange-ink); }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(268px, calc((100% - 3rem) / 4)); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding-bottom: 1rem; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.carousel > * { scroll-snap-align: start; }
.carousel:focus-visible { outline-offset: 4px; }
.carousel-nav { display: flex; gap: .25rem; }
.carousel-nav .icon-btn { border: 1px solid var(--line); background: var(--surface); }
.carousel-nav .icon-btn:disabled { opacity: .35; cursor: default; }

.bulk { background: var(--surface); border-block: 1px solid var(--line); }
.bulk-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.bulk-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.2; background: var(--stage); }
.bulk-media img { width: 100%; height: 100%; object-fit: cover; }
.bulk-list { border-top: 2px solid var(--text); margin: 1.5rem 0 .25rem; }
.bulk-list a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name price' 'meta price'; column-gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background .15s; }
.bulk-list a:hover { background: var(--surface-2); }
.bulk-name { grid-area: name; font-weight: 700; }
.bulk-meta { grid-area: meta; color: var(--muted); font-size: var(--step--1); }
.bulk-price { grid-area: price; align-self: center; font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; color: var(--orange-ink); white-space: nowrap; }
.bulk-price small { font-size: var(--step--1); font-weight: 600; color: var(--muted); }

.rowlist { border-top: 1px solid var(--line); }
.rowlist a { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.rowlist a:hover .rowlist-name { color: var(--blue); }
.rowlist-img { width: 72px; aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; background: var(--stage); }
.rowlist-img img { width: 100%; height: 100%; object-fit: cover; }
.rowlist-text { display: flex; flex-direction: column; min-width: 0; }
.rowlist-name { font-weight: 700; line-height: 1.3; }
.rowlist-meta { color: var(--muted); font-size: var(--step--1); }
.rowlist-price { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; font-size: .9375rem; }

.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.brands-title { font-size: var(--step-1); font-style: normal; color: var(--muted); font-weight: 600; margin: 0; }
.brands ul { display: flex; flex-wrap: wrap; gap: .75rem; }
.brands a { display: flex; align-items: baseline; gap: .6rem; padding: .8rem 1.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .15s; }
.brands a:hover { border-color: var(--blue); }
.brand-word { font-weight: 900; font-style: italic; font-size: var(--step-2); letter-spacing: -0.02em; }
.brand-count { color: var(--muted); font-size: var(--step--1); }

.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.svc-list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.45; }
.svc-list strong { color: var(--text); }
.svc-list .i { color: var(--blue); width: 26px; height: 26px; margin-top: .05em; }

.pro-band { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.pro-band::after { content: ''; position: absolute; width: 640px; aspect-ratio: 1; right: -220px; bottom: -380px; border-radius: 50%; border: 18px solid rgb(240 160 0 / 22%); pointer-events: none; }
.pro-band > * { position: relative; z-index: 1; }
[data-theme='dark'] .pro-band { background: linear-gradient(120deg, #031a5c, #0048c8); }
.pro-band h2 { color: #fff; }
.pro-band p { color: #dce8ff; font-size: var(--step-1); }
.pro-audience { display: flex; flex-wrap: wrap; gap: .6rem; }
.pro-audience li { padding: .6rem 1.1rem; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 45%); font-weight: 700; color: #fff; }
.pro-audience-light li { border-color: var(--line); color: var(--text); background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1rem; border-top: 2px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 900; font-style: italic; font-size: var(--step-1); margin-bottom: .9rem; }
[data-theme='dark'] .step-n { background: var(--orange); color: var(--ink); }
.steps h3 { margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }

.visit { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start; }
.visit-info > p { display: flex; gap: .75rem; align-items: flex-start; }
.visit-info > p .i { color: var(--blue); margin-top: .15em; }
.visit-addr { font-size: var(--step-1); font-weight: 700; }
.visit-delivery { margin-top: 1.5rem; color: var(--muted); }

/* Bloc « À la une » de l'accueil */
.spot-section { padding-bottom: 0; }
.spot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(1.25rem, 1rem + 3vw, 3.5rem); padding: clamp(1rem, .6rem + 1.5vw, 1.75rem); border-radius: calc(var(--r-lg) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift); position: relative; overflow: hidden; }
.spot::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.spot-media { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.spot-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.spot:hover .spot-media img { transform: scale(1.03); }
.spot-kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: var(--grad-warm); color: var(--ink); font-weight: 800; font-style: italic; font-size: var(--step--1); }
.spot-kicker .i { width: 1.1em; height: 1.1em; }
.spot-title { font-size: var(--step-3); margin-bottom: .6rem; }
.spot-title a { color: var(--text); text-decoration: none; }
.spot-title a:hover { color: var(--blue); }
.spot-lead { color: var(--muted); font-size: var(--step-1); }
.spot-facts { display: grid; gap: .45rem; margin: 0 0 1.25rem; }
.spot-facts li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.spot-facts .i { color: var(--blue); width: 22px; height: 22px; }
.spot .price { margin-top: 0; }
.spot .fhint { display: flex; gap: .4rem; align-items: center; }
.spot .fhint .i { width: 1em; height: 1em; color: var(--blue); }

/* 8. Cartes produit */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.pgrid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
.pcard-media { display: block; aspect-ratio: 4 / 3; background: var(--stage); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.045); }
/* Bandeau « Contactez-nous pour le prix » en bas de la photo (articles sans prix) */
.pcard-media, .gallery-main { position: relative; }
.price-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .75rem; background: var(--grad-warm); color: var(--ink); font-weight: 800; font-style: italic; font-size: .9375rem; letter-spacing: -0.005em; line-height: 1.2; box-shadow: 0 -6px 18px -8px rgb(6 24 71 / 35%); pointer-events: none; }
.price-band .i { width: 1.15em; height: 1.15em; }
.gallery-main .price-band { font-size: var(--step-1); padding: .8rem 1rem; }
.gallery-main:has(.price-band) .gallery-zoom { bottom: 3.9rem; }
.pcard-noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.pcard-noimg .i { width: 48px; height: 48px; }
.pcard-flags { position: absolute; top: .75rem; left: .75rem; right: 3.75rem; display: flex; flex-wrap: wrap; gap: .35rem; pointer-events: none; }
.pcard-flags-inline { position: static; margin: .25rem 0 1rem; }
.flag { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .55rem; border-radius: var(--r-sm); font-size: .75rem; font-weight: 700; line-height: 1.3; background: rgb(255 255 255 / 92%); color: var(--ink); border: 1px solid rgb(6 24 71 / 12%); }
.flag .i { width: 14px; height: 14px; }
.flag-bulk { background: var(--grad-warm); border-color: var(--orange); color: var(--ink); }
.flag-promo { background: var(--closed); color: #fff; border-color: var(--closed); }
.flag-muted { color: #3d4d66; }
.pcard-fav { position: absolute; top: .55rem; right: .55rem; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(255 255 255 / 94%); color: var(--ink); box-shadow: 0 2px 8px rgb(6 24 71 / 15%); transition: transform .2s var(--ease); }
.pcard-fav:hover { transform: scale(1.08); }
.pcard-fav .i { width: 22px; height: 22px; }
[data-fav] .on, [data-fav][aria-pressed='true'] .off { display: none; }
[data-fav][aria-pressed='true'] .on { display: block; color: #e0245e; }
[data-fav][aria-pressed='true'].pop .on { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.3); } }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.1rem; }
.pcard-brand { font-size: var(--step--1); font-weight: 700; color: var(--blue); margin: 0 0 .2rem; }
.pcard-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; margin: 0 0 .75rem; font-style: normal; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a::before { content: ''; position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 3; }  /* toute la photo est cliquable */
.pcard-title a:hover { color: var(--blue); }
.pcard-specs { display: grid; gap: .3rem; margin-bottom: 1rem; font-size: .9rem; color: var(--muted); }
.pcard-specs li { display: flex; gap: .5rem; align-items: center; }
.pcard-specs .i { width: 18px; height: 18px; color: var(--blue); opacity: .85; }
.price { display: flex; flex-direction: column; margin-top: auto; }
.price-amount { font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.price-sub { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.price-ask .price-amount { font-size: var(--step-1); color: var(--blue); }
.pcard[data-offer='gros'] .price-amount { color: var(--orange-ink); }
.pcard-stock { font-size: .8125rem; color: var(--muted); margin: .5rem 0 .9rem; line-height: 1.4; }
.pcard-actions { display: flex; align-items: center; gap: .5rem; position: relative; }
.pcard-actions .btn { flex: 1; }
.btn-compare { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 64px; min-height: 44px; padding: .25rem .4rem; border: 0; background: transparent; color: var(--muted); font-size: .72rem; font-weight: 600; border-radius: var(--r-sm); }
.btn-compare .i { width: 20px; height: 20px; }
.btn-compare:hover { color: var(--blue); background: var(--blue-soft); }
.btn-compare[aria-pressed='true'] { color: var(--blue); background: var(--blue-soft); }
.btn-compare[aria-pressed='true'] span::after { content: ' ✓'; }

/* 9. Catalogue */
.page-head { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.page-head h1 { margin: .5rem 0 .75rem; max-width: 24ch; }
.page-head .lead { margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; font-size: var(--step--1); color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: .35rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cat-tabs { margin-bottom: 1rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs ul { display: flex; gap: .25rem; min-width: max-content; }
.cat-tabs a { display: block; padding: .75rem 1rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.cat-tabs a:hover { color: var(--text); }
.cat-tabs a[aria-current='page'] { color: var(--text); border-bottom-color: var(--orange); }

.cat-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.filters-open { display: none; }
.cat-count { margin: 0 auto 0 0; color: var(--muted); font-weight: 600; }
.cat-count span[data-count] { color: var(--text); font-weight: 800; }
.cat-sort { display: flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--muted); }
.cat-sort select, .field input, .field select, .field textarea, .frange input { min-height: 44px; padding: .55rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 1rem; color: var(--text); }
.cat-sort select:focus, .field :is(input, select, textarea):focus, .frange input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.cat-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 2rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100dvh - var(--header-h) - 2rem); overflow-y: auto; scrollbar-width: thin; padding-right: .25rem; }
.filters-head, .filters-foot { display: none; }
.fsearch { position: relative; margin-bottom: 1rem; }
.fsearch .i { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.fsearch input { width: 100%; min-height: 48px; padding: .6rem .8rem .6rem 2.6rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 1rem; }
.fsearch input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.fgroup { border: 0; border-top: 1px solid var(--line); padding: .9rem 0 .75rem; margin: 0; }
.fgroup legend { font-weight: 800; font-size: .9375rem; padding: 0; margin-bottom: .4rem; float: left; width: 100%; }
.fgroup legend + * { clear: both; }
.fcheck { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; cursor: pointer; font-size: .9375rem; min-height: 36px; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.fcount { margin-left: auto; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.fcheck-solo { border-top: 1px solid var(--line); padding-top: .9rem; }
.frange { display: flex; align-items: center; gap: .5rem; }
.frange label { flex: 1; }
.frange input { width: 100%; }
.freset { width: 100%; margin-top: 1rem; }
.cat-results { min-width: 0; }
.pgrid .pcard[hidden] { display: none; }
.empty { text-align: center; padding: 3rem 1.5rem; border: 1.5px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.empty > .i { width: 44px; height: 44px; color: var(--blue); margin: 0 auto 1rem; }
.empty-title { font-weight: 800; font-size: var(--step-1); margin-bottom: .4rem; }
.empty .btn-row { justify-content: center; }
.empty-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.empty-split > :only-child { grid-column: 1 / -1; }
.illu { margin: 0; }
.illu img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--stage); }
.illu figcaption { display: flex; gap: .4rem; align-items: center; margin-top: .5rem; color: var(--muted); font-size: var(--step--1); }
.illu figcaption .i { width: 1em; height: 1em; color: var(--blue); }
.illu-side { margin-top: 2rem; max-width: 520px; }
.head-actions { margin-top: 0; }
.prop-list { display: grid; gap: 2rem; margin-top: 1.5rem; }
.prop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, .5rem + 2vw, 2.5rem); align-items: start; padding: clamp(1rem, .5rem + 1.5vw, 1.75rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.prop-title { font-size: var(--step-2); margin-bottom: .75rem; }
.prop .pro-audience { margin-bottom: 1rem; }
.prop .pro-audience li { padding: .3rem .8rem; font-size: var(--step--1); }
.empty-inline { display: flex; text-align: left; gap: 1rem; align-items: flex-start; padding: 1.5rem; }
.empty-inline > .i { margin: 0; flex: none; }
.empty-inline p:last-child { margin: 0; }

.bulk-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.bulk-points li { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; border-radius: var(--r); background: var(--orange-soft); color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.bulk-points strong { color: var(--text); display: block; }
.bulk-points .i { color: var(--orange-ink); width: 24px; height: 24px; }

/* 10. Fiche produit */
.product { padding-block: 1.5rem clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); margin-top: 1.25rem; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 1rem); }
.gallery-main { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--stage); aspect-ratio: 4 / 3.4; position: relative; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.gallery-zoom { position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .7rem; border-radius: 999px; background: rgb(6 24 71 / 78%); color: #fff; font-size: .8125rem; font-weight: 600; }
.gallery-zoom .i { width: 16px; height: 16px; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; }
.gallery-thumbs button { width: 84px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--stage); opacity: .7; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button[aria-current='true'], .gallery-thumbs button:hover { opacity: 1; border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-empty { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: var(--r-lg); background: var(--stage); color: #6b7a92; }
.gallery-empty .i { width: 56px; height: 56px; }
.product-brand { color: var(--blue); font-weight: 800; margin: 0; }
.product-title { font-size: var(--step-3); margin: .25rem 0 .4rem; }
.product-ref { color: var(--muted); font-size: var(--step--1); margin: 0; font-variant-numeric: tabular-nums; }
.price-big { padding: 1.1rem 1.25rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin: 0 0 1rem; }
.price-big .price-amount { font-size: var(--step-4); }
.price-big.price-ask .price-amount { font-size: var(--step-3); }
.product-stock { display: flex; gap: .5rem; align-items: flex-start; font-weight: 600; font-size: .9375rem; }
.product-stock .i { color: var(--orange-ink); margin-top: .1em; }
.product-short { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.product-ctas { display: grid; gap: .75rem; margin: 1.5rem 0 1rem; }
.btn-row-sm { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.btn-row-sm .btn { min-height: 48px; font-size: .9375rem; padding-inline: .75rem; }
.product-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: .25rem; border-block: 1px solid var(--line); padding-block: .5rem; }
.tool { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .6rem .25rem; border: 0; background: transparent; border-radius: var(--r-sm); color: var(--text); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.tool:hover { background: var(--blue-soft); color: var(--text); }
.tool .i { width: 22px; height: 22px; }
.tool[aria-pressed='true'] { color: var(--blue); }
.product-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.product-desc p { max-width: 64ch; }
.checklist { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .i { color: var(--ok); margin-top: .15em; }
.specs th, .specs td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .9375rem; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs td { font-weight: 600; }
.tbc { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .45rem; border-radius: 4px; background: var(--orange-soft); color: var(--orange-ink); margin-left: .25rem; vertical-align: middle; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(4 10 24 / 94%); }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: 94vw; max-height: 86dvh; display: grid; gap: .75rem; justify-items: center; }
.lightbox img { max-width: 94vw; max-height: 78dvh; object-fit: contain; border-radius: var(--r-sm); background: #fff; touch-action: pinch-zoom; }
.lightbox figcaption { color: #d6e0f2; font-size: var(--step--1); text-align: center; max-width: 60ch; }
.lightbox .icon-btn { position: fixed; color: #fff; background: rgb(255 255 255 / 12%); }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / 25%); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; }
.lb-next { right: 1rem; top: 50%; }
@keyframes fade { from { opacity: 0; } }

/* 11. Formulaires */
.waform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .9375rem; }
.field input, .field select, .field textarea { width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field [aria-invalid='true'] { border-color: var(--closed); }
.field-radio { border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.field-radio legend { width: 100%; margin-bottom: .35rem; float: left; }
.field-radio label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; min-height: 44px; }
.field-radio input { width: 18px; height: 18px; accent-color: var(--blue); }
.waform .btn-wa { width: 100%; }
.form-error { color: var(--closed); font-weight: 600; font-size: .9375rem; }
.form-privacy { display: flex; gap: .5rem; align-items: flex-start; font-size: .8125rem; color: var(--muted); margin: 1rem 0 0; }
.form-privacy .i { width: 18px; height: 18px; color: var(--ok); }

/* 12. Carte */
.mapbox { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-canvas { height: clamp(320px, 45vw, 460px); background: var(--surface-2); position: relative; z-index: 0; }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: .5rem; padding: 1.5rem; color: var(--muted); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; }
.map-placeholder > .i { width: 40px; height: 40px; color: var(--orange-ink); }
.map-placeholder p { margin: 0; }
.map-placeholder strong { color: var(--text); }
.map-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1rem .25rem; }
.map-status { padding: 0 1rem 1rem; }
.mapbox.is-full { position: fixed; inset: 0; z-index: 90; border-radius: 0; display: flex; flex-direction: column; }
.mapbox.is-full .map-canvas { flex: 1; height: auto; }
.leaflet-container { font-family: var(--font); }
.store-pin { background: transparent; border: 0; }
.store-pin-inner { width: 64px; height: 64px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #fff; border: 3px solid var(--blue); box-shadow: 0 6px 16px rgb(6 24 71 / 35%); display: grid; place-items: center; }
.store-pin-inner img { transform: rotate(45deg); width: 46px; height: auto; }
.user-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgb(0 96 240 / 25%); }
[data-theme='dark'] .leaflet-tile-pane { filter: brightness(.82) contrast(1.05) saturate(.85); }

/* 13. Pages intérieures */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.svc-grid li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; column-gap: 1rem; }
.svc-grid .i { width: 28px; height: 28px; color: var(--blue); grid-row: span 2; }
.svc-grid h2 { font-size: var(--step-1); font-style: normal; margin: 0 0 .3rem; }
.svc-grid p { margin: 0; color: var(--muted); font-size: .9375rem; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mode { padding: 1.75rem 1.5rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.mode > .i { width: 36px; height: 36px; color: var(--blue); margin-bottom: 1rem; }
.mode h2 { font-size: var(--step-2); }
.mode p { color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.about-intro { font-size: var(--step-2); line-height: 1.4; font-weight: 500; }
.about h2 { font-size: var(--step-2); margin-top: 2rem; }
.about-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: sticky; top: calc(var(--header-h) + 1rem); }
.values { display: grid; gap: 1rem; margin: 0; }
.values div { padding-left: 1rem; border-left: 3px solid var(--orange); }
.values dt { font-weight: 800; }
.values dd { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.contact-grid .h-sub { margin-top: 0; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ccard { display: flex; flex-direction: column; gap: .2rem; padding: 1.25rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
a.ccard:hover { border-color: var(--blue); color: var(--text); }
.ccard > .i { width: 28px; height: 28px; color: var(--blue); margin-bottom: .5rem; }
.ccard-wa > .i { color: var(--wa); }
.ccard-mail { overflow-wrap: anywhere; }
.ccard-label { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.ccard-value { font-weight: 800; font-size: var(--step-1); line-height: 1.3; }
.ccard-hours { grid-column: 1 / -1; }
.hours-table { margin: .25rem 0 .75rem; }
.hours-table th, .hours-table td { padding: .4rem 0; border-bottom: 1px solid var(--line); text-align: left; font-size: .9375rem; }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--blue); font-weight: 800; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 0; font-weight: 700; font-size: var(--step-1); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { color: var(--muted); max-width: 66ch; padding-bottom: 1rem; }
.faq-aside { padding: 1.5rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 1rem); }
.faq-aside h2 { font-size: var(--step-2); }
.notfound { text-align: center; max-width: 640px; }
.nf-code { font-size: clamp(6rem, 4rem + 10vw, 11rem); font-weight: 900; font-style: italic; color: var(--orange); line-height: 1; margin: 0; letter-spacing: -0.05em; }
.notfound .btn-row { justify-content: center; }

/* Favoris et comparateur */
.fav-list { display: grid; gap: .75rem; }
.fav-item { display: grid; grid-template-columns: 112px 1fr auto; gap: 1rem; align-items: center; padding: .75rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.fav-item img { width: 112px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); background: var(--stage); }
.fav-item a.fav-name { font-weight: 700; color: var(--text); text-decoration: none; }
.fav-item a.fav-name:hover { color: var(--blue); }
.fav-meta { color: var(--muted); font-size: var(--step--1); }
.fav-price { font-weight: 800; font-variant-numeric: tabular-nums; }
.fav-btns { display: flex; gap: .5rem; align-items: center; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare-table { min-width: 640px; }
.compare-table th, .compare-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9375rem; }
.compare-table thead th { vertical-align: bottom; }
.compare-table tbody th { color: var(--muted); font-weight: 600; width: 180px; position: sticky; left: 0; background: var(--surface); }
.compare-table td.is-diff { background: var(--orange-soft); }
.compare-head img { width: 100%; max-width: 220px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); background: var(--stage); margin-bottom: .6rem; }
.compare-head a { color: var(--text); font-weight: 700; text-decoration: none; display: block; margin-bottom: .5rem; }
.compare-head .btn-row { margin-top: .5rem; }
.compare-legend { font-size: var(--step--1); color: var(--muted); margin: .75rem 0 0; }
.compare-legend span { display: inline-block; width: 12px; height: 12px; background: var(--orange-soft); border: 1px solid var(--orange); vertical-align: middle; margin-right: .35rem; }

/* 14. Pied de page */
.site-footer { background: var(--ink-2); background-image: radial-gradient(60% 80% at 100% 0%, rgb(0 96 240 / 22%), transparent 60%); color: #c4d0e6; border-top: 4px solid var(--orange); border-image: var(--grad-warm) 1; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); margin-top: 0; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { display: inline-block; background: #fff; border-radius: var(--r); padding: .6rem .9rem; margin-bottom: 1rem; }
.footer-logo .logo { height: 96px; }
.footer-logo .logo-dark { display: none !important; }
.footer-logo .logo-light { display: block !important; }
.footer-slogan { color: #fff; font-weight: 800; font-style: italic; font-size: var(--step-1); margin-bottom: .35rem; }
.footer-h { color: #fff; font-size: 1rem; font-style: normal; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer a { color: #c4d0e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact p { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact .i { color: var(--orange); margin-top: .15em; }
.footer-contact .status { color: #c4d0e6; margin-top: .25rem; }
.footer-contact .status.is-open .status-text strong { color: #5fe39a; }
.footer-contact .status.is-closed .status-text strong { color: #ff8a8a; }
.socials { display: flex !important; gap: 1rem; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 12%); font-size: var(--step--1); }
.footer-bottom p { margin: 0; }
.credit { opacity: .75; }

/* 15. Contact rapide */
.fab-wa { position: fixed; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: .6rem; height: 60px; padding: 0 1.25rem 0 1rem; border-radius: 30px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 28px -8px rgb(22 138 69 / 60%); transition: transform .2s var(--ease), background .2s; }
.fab-wa:hover { background: var(--wa-strong); color: #fff; transform: translateY(-2px); }
.fab-wa .i { width: 30px; height: 30px; }
.mobile-bar { display: none; }
.compare-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: max(1.25rem, env(safe-area-inset-bottom)); z-index: 55; display: flex; align-items: center; gap: .75rem; padding: .5rem .5rem .5rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lift); font-weight: 600; font-size: .9375rem; animation: rise .3s var(--ease); }
[data-theme='dark'] .compare-tray { background: #0048c8; }
.compare-tray[hidden] { display: none; }
.compare-tray .icon-btn { color: #fff; width: 40px; height: 40px; }
.compare-tray .icon-btn:hover { background: rgb(255 255 255 / 15%); }
@keyframes rise { from { transform: translate(-50%, 20px); opacity: 0; } }
.toast { position: fixed; left: 50%; top: calc(var(--header-h) + 3rem); transform: translate(-50%, -10px); z-index: 95; padding: .7rem 1.1rem; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); max-width: 90vw; }
[data-theme='dark'] .toast { background: #0048c8; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 16. Mouvements : apparition au défilement (uniquement si JS actif et mouvements autorisés) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-copy > *, .hero-media { animation: hero-in .7s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-media { animation-delay: .15s; animation-name: hero-media-in; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes hero-media-in { from { opacity: 0; transform: scale(.97); } }
.sign-days.is-in li { animation: lamp .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes lamp { from { opacity: .2; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* 17. Responsive */
@media (max-width: 1180px) {
  .nav-wide { display: none; }
  .carousel { grid-auto-columns: minmax(260px, calc((100% - 2rem) / 3)); }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .main-nav, .header-wa { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .logo { height: 50px; }
  .hero-grid, .bulk-grid, .split, .split-wide, .visit, .about, .contact-grid, .faq-wrap, .product-details { grid-template-columns: minmax(0, 1fr); }
  .hero-media { aspect-ratio: 16 / 11; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sign-grid { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bulk-media { aspect-ratio: 16 / 10; }
  .about-media, .faq-aside { position: static; }
  .bulk-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* filtres en panneau latéral */
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters-open { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 92vw); max-height: none; height: 100dvh; z-index: 80; background: var(--surface); padding: 0; transform: translateX(105%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lift); display: flex; flex-direction: column; }
  .filters.is-open { transform: none; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem .75rem 1.25rem; border-bottom: 1px solid var(--line); font-weight: 800; font-size: var(--step-1); font-style: italic; }
  .filters-form { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; overscroll-behavior: contain; }
  .filters-foot { display: block; padding: .75rem 1.25rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters-foot .btn { width: 100%; }
  .filters-scrim { position: fixed; inset: 0; z-index: 79; background: rgb(5 12 30 / 55%); }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar-meta:not(a) { display: none; }
  .topbar-row { gap: 1rem; justify-content: space-between; }
  .fab-wa { display: none; }
  .mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px -10px rgb(6 24 71 / 25%); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 60px; font-size: .75rem; font-weight: 700; color: var(--text); text-decoration: none; }
  .mobile-bar .i { width: 24px; height: 24px; }
  .mobile-bar-wa { background: var(--wa); color: #fff !important; }
  .compare-tray { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .hero-search .btn { padding-inline: 1rem; }
  .hero-facts li { padding: .85rem; font-size: .875rem; }
  .carousel { grid-auto-columns: 80%; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .section-head { align-items: center; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .empty-split { grid-template-columns: minmax(0, 1fr); }
  .spot { grid-template-columns: minmax(0, 1fr); }
  .prop { grid-template-columns: minmax(0, 1fr); }
  .fav-item { grid-template-columns: 88px 1fr; }
  .fav-item img { width: 88px; }
  .fav-btns { grid-column: 1 / -1; }
  .fav-btns .btn { flex: 1; }
  .rowlist a { grid-template-columns: 64px 1fr; }
  .rowlist-img { width: 64px; }
  .rowlist-price { grid-column: 2; text-align: left; color: var(--orange-ink); }
  .brands { flex-direction: column; align-items: flex-start; }
  .crumbs [aria-current] { max-width: 20ch; }
}
@media (max-width: 520px) {
  .tiles, .steps, .bulk-points { grid-template-columns: minmax(0, 1fr); }
  .tile { min-height: 0; flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem; }
  .tile .i { margin: 0; }
  .tile-name { margin: 0; }
  .tile-meta { margin-left: auto; text-align: right; }
  .hero-search { flex-wrap: wrap; padding: .4rem; }
  .hero-search > .i { display: none; }
  .hero-search input { padding-inline: .6rem; flex-basis: 100%; }
  .hero-search .btn { width: 100%; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .btn-row > .btn { flex: 1 1 100%; }
  .btn-row-sm { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .header-actions .icon-btn[href^='/catalogue'] { display: none; }
  .bulk-list a { grid-template-columns: 1fr; grid-template-areas: 'name' 'meta' 'price'; }
  .bulk-price { margin-top: .25rem; }
}

@media print {
  .topbar, .site-header, .fab-wa, .mobile-bar, .compare-tray, .site-footer, .product-tools, .map-actions { display: none !important; }
}
@media (min-width: 761px) { .footer-bottom { padding-right: 230px; } }  /* laisse la place au bouton WhatsApp flottant */
@media (max-width: 520px) {
  .topbar a.topbar-meta { display: none; }       /* le téléphone reste accessible par la barre du bas */
  .topbar-row { min-height: 32px; }
}
.spec-tbc { font-size: .72rem; font-weight: 700; color: var(--orange-ink); margin-left: .3rem; }
