/* =============================================================
   AÉROTAG — style-v2.css — « Le Tableau d'Affichage »
   Monde visuel refonte 2026 : l'atelier comme hall des départs.
   Ivoire pierre (hall) · noir tableau mat (régions) · ambre flap
   (chiffres sur noir) · orange haute-visibilité (action unique).
   Type : Overpass (signalétique) + B612 Mono (chiffres, cockpit).
   Pages migrées : index.html, gendarmerie.html.
   Les autres pages restent sur css/style.css (ancien monde).
   ============================================================= */

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Overpass', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--hall);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
a { color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* -------- Tokens -------- */
:root {
  /* Le hall — pierre calcaire claire */
  --hall: #EDE9DE;
  --hall-2: #F4F1E8;
  --hall-line: #D6D0BE;

  /* Le tableau — noir mat chaud */
  --board: #16140F;
  --board-2: #211E17;
  --board-cell: #26231B;
  --board-line: #333026;

  /* Caractères flap */
  --flap-cream: #F1EDDD;
  --flap-amber: #F2A93B;

  /* Action — orange haute-visibilité (gilets de piste) */
  --orange: #FF5A1F;
  --orange-dark: #E04A14;

  /* Encre sur ivoire */
  --ink: #1A1812;
  --ink-2: #4A473D;
  --ink-3: #6E6A5C;

  --space-1: 4px;  --space-2: 8px;  --space-3: 16px;  --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 72px;  --space-8: 112px;

  --radius-sm: 3px; --radius-md: 8px; --radius-lg: 14px;

  --shadow-panel: 0 18px 50px rgba(22,20,15,0.22), 0 4px 12px rgba(22,20,15,0.14);
  --shadow-soft: 0 10px 30px rgba(22,20,15,0.10), 0 2px 6px rgba(22,20,15,0.06);

  --max-w: 1240px;
  --font-mono: 'B612 Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* -------- Type -------- */
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.4vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); letter-spacing: -0.015em; }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-3); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--ink-3); text-transform: uppercase;
}
.on-board .kicker { color: var(--flap-amber); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-5); }
@media (max-width: 768px) { .container { padding: 0 var(--space-4); } }

/* =============================================================
   LE FLAP — cellules split-flap réelles
   ============================================================= */
.flap { display: inline-flex; gap: 3px; row-gap: 5px; flex-wrap: wrap; vertical-align: middle; }
.flap .fc {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.32ch; height: 1.72em;
  font-family: var(--font-mono); font-weight: 700;
  background: linear-gradient(180deg, #2B281F 0%, var(--board-cell) 46%, #1D1A14 54%, #24211A 100%);
  color: var(--flap-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  perspective: 220px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 2px rgba(0,0,0,0.45);
}
.flap .fc::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(0,0,0,0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
  pointer-events: none;
}
.flap .fc .g {
  display: block; line-height: 1;
  transform-origin: center center;
  backface-visibility: hidden;
}
.flap .fc.ticking .g { animation: flapTick 90ms cubic-bezier(0.3, 0, 0.6, 1); }
@keyframes flapTick {
  0%   { transform: rotateX(0deg); }
  50%  { transform: rotateX(-84deg); filter: brightness(0.55); }
  100% { transform: rotateX(0deg); }
}
.flap .fc.sp { background: transparent; box-shadow: none; }
.flap .fc.sp::after { display: none; }
.flap.amber .fc { color: var(--flap-amber); }
.flap.sm .fc { width: 1.28ch; height: 1.62em; font-size: 12px; }
.flap.md .fc { font-size: 15px; }
.flap.lg .fc { font-size: clamp(17px, 2.1vw, 24px); border-radius: 4px; }
.flap.xl .fc { font-size: clamp(22px, 3.4vw, 40px); border-radius: 5px; width: 1.36ch; }
@media (prefers-reduced-motion: reduce) {
  .flap .fc.ticking .g { animation: none; }
}

/* Lignes de tableau (listings) */
.board-rows { display: flex; flex-direction: column; }
.board-row {
  display: grid;
  grid-template-columns: minmax(14ch, 0.7fr) 1fr 1fr max-content;
  gap: var(--space-3);
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--board-line);
  font-family: var(--font-mono); font-size: 13px;
  color: var(--flap-cream);
}
.board-row:last-child { border-bottom: none; }
.board-row .cell-ref { color: var(--flap-cream); }
.board-row .cell-client { color: var(--flap-amber); }
.board-row .cell-produit { color: rgba(241,237,221,0.78); }
.board-row .cell-statut { text-align: right; }
.board-head {
  display: grid;
  grid-template-columns: minmax(14ch, 0.7fr) 1fr 1fr max-content;
  gap: var(--space-3);
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--board-line);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; color: rgba(241,237,221,0.5);
}
.board-head .cell-statut { text-align: right; }
/* Variante compacte (panneau suspendu du hero) : sans colonne produit */
.board-panel.compact .board-row,
.board-panel.compact .board-head {
  grid-template-columns: minmax(10ch, max-content) 1fr max-content;
  font-size: 12px;
}
.board-panel.compact .cell-produit { display: none; }

/* =============================================================
   RUBAN STATUT (haut de page)
   ============================================================= */
.ribbon {
  background: var(--board);
  color: var(--flap-cream);
  overflow: hidden;
  border-bottom: 1px solid var(--board-line);
}
.ribbon-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ribbonScroll 46s linear infinite;
  width: max-content;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}
.ribbon-set { display: inline-flex; align-items: center; padding: 9px 0; }
.ribbon-item {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; padding: 0 26px;
  display: inline-flex; align-items: center; gap: 10px;
}
.ribbon-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--flap-amber); flex: none; }
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--hall) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hall-line);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--space-5);
  height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 23px; letter-spacing: -0.02em;
  text-decoration: none; line-height: 1;
}
.nav-logo .brand-mark {
  width: 22px; height: 22px; flex: none;
  overflow: visible;
}
.nav-links { display: flex; gap: var(--space-4); }
.nav-link {
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  color: var(--ink-2); padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); border-bottom-color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }
.nav-burger { display: none; color: var(--ink); padding: 8px; }

.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--board); color: var(--flap-cream);
  padding: var(--space-4) var(--space-5);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  visibility: hidden;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; }
.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-drawer-head .nav-logo { color: var(--flap-cream); }
.nav-drawer-links { display: flex; flex-direction: column; margin-top: var(--space-5); }
.nav-drawer-links a {
  font-family: var(--font-mono); font-size: 21px; font-weight: 700;
  letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase;
  padding: 17px 0; border-bottom: 1px solid var(--board-line);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-drawer-links a.active { color: var(--flap-amber); }
.nav-drawer-cta { margin-top: auto; padding-bottom: var(--space-5); }
@media (max-width: 1023px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
}

/* =============================================================
   BOUTONS
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: var(--radius-md);
  text-decoration: none; line-height: 1;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--orange); color: #FFF8F2;
  box-shadow: 0 4px 14px rgba(255,90,31,0.32);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-secondary:hover { background: rgba(26,24,18,0.06); }
.btn-secondary.on-board { color: var(--flap-cream); box-shadow: inset 0 0 0 1.5px rgba(241,237,221,0.65); }
.btn-secondary.on-board:hover { background: rgba(241,237,221,0.08); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; padding: var(--space-7) 0 var(--space-8); }
/* Le sol du hall — vraie pierre (asset raster), pas un aplat */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/v2-stone.jpg') center / cover no-repeat;
  opacity: 0.45; pointer-events: none;
}
.hero > .container { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7); align-items: center;
}
.hero h1 { margin: var(--space-4) 0 var(--space-4); max-width: 15ch; }
.hero .lead { margin-bottom: var(--space-5); }
.hero-flapline { margin-bottom: var(--space-5); }
.hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; }
.hero-visual .product-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-board {
  position: absolute; right: 0; bottom: -34px;
  width: min(430px, 96%);
}
@media (max-width: 1023px) {
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-board { position: static; width: 100%; margin-top: calc(-1 * var(--space-4)); }
  .hero-visual { display: flex; flex-direction: column; gap: var(--space-4); }
}

/* Panneau tableau suspendu */
.board-panel {
  background: var(--board);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4) var(--space-3);
  box-shadow: var(--shadow-panel);
  border: 1px solid #2C2920;
}
.board-panel-title {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--space-3);
}
.board-panel-title .t {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; color: var(--flap-cream);
}
.board-panel-title .live {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--flap-amber);
  display: inline-flex; align-items: center; gap: 6px;
}
.board-panel-note {
  margin: 10px 2px 0; font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.08em;
  color: rgba(241,237,221,0.42);
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section { padding: var(--space-8) 0; }
.section.bg-2 { background: var(--hall-2); }
.section-head { max-width: 62ch; margin-bottom: var(--space-6); }
.section-head h2 { margin: var(--space-3) 0 var(--space-3); }
.section-head .lead { margin-bottom: 0; }

/* -------- Formats : vitrines produit -------- */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.format-panel {
  background: var(--hall-2);
  border: 1px solid var(--hall-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.section.bg-2 .format-panel { background: var(--hall); }
.format-panel-visual { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.format-panel-visual img { width: 100%; height: 100%; object-fit: cover; }
.format-panel-tag {
  position: absolute; left: var(--space-3); bottom: var(--space-3);
}
.format-panel-body { padding: var(--space-4) var(--space-4) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.format-panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.format-panel-title .dim { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--ink-3); white-space: nowrap; }
.format-specs { border-top: 1px solid var(--hall-line); }
.format-spec-row {
  display: flex; justify-content: space-between; gap: var(--space-3);
  padding: 10px 0; border-bottom: 1px solid var(--hall-line);
  font-size: 14px;
}
.format-spec-row .k { font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; padding-top: 2px; }
.format-spec-row .v { text-align: right; font-weight: 600; }
.format-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: var(--space-2); }
.format-price .n { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.format-price .d { font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .format-grid { grid-template-columns: 1fr; } }

/* -------- Process : portes d'embarquement -------- */
.gates { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.gate {
  background: var(--hall-2);
  border: 1px solid var(--hall-line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.section.bg-2 .gate { background: var(--hall); }
.gate-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--space-3); border-bottom: 1.5px solid var(--ink);
}
.gate-head .label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em;
}
.gate h4 { font-size: 21px; }
.gate p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.gate-fact {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; color: var(--flap-amber);
  background: var(--board); border-radius: 4px;
  padding: 6px 10px;
}
@media (max-width: 1023px) { .gates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gates { grid-template-columns: 1fr; } }

/* -------- Région tableau (tarifs, livraisons, CTA) -------- */
.board-region {
  background: var(--board);
  color: var(--flap-cream);
  padding: var(--space-8) 0;
}
.board-region .section-head h2 { color: var(--flap-cream); }
.board-region .section-head .lead { color: rgba(241,237,221,0.72); }

.tarif-board { border-top: 1px solid var(--board-line); }
.tarif-head {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3); padding: 14px 2px 12px;
  border-bottom: 1px solid var(--board-line);
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: rgba(241,237,221,0.55);
}
.tarif-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3); align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid var(--board-line);
}
.tarif-row .u { font-family: var(--font-mono); font-size: 12px; color: rgba(241,237,221,0.5); margin-left: 8px; }
.tarif-foot {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-5);
}
.tarif-foot .note { font-size: 14px; color: rgba(241,237,221,0.72); margin: 0; max-width: 52ch; }
@media (max-width: 700px) {
  .tarif-head, .tarif-row { grid-template-columns: 0.62fr 1fr 1fr; gap: var(--space-2); }
  .flap.lg .fc { font-size: 12px; }
  .tarif-row .u { display: none; }
  .tarif-head { font-size: 9.5px; letter-spacing: 0.08em; }
}
@media (max-width: 700px) {
  .board-row, .board-head { grid-template-columns: minmax(10ch, max-content) 1fr max-content; font-size: 12px; }
  .cell-produit { display: none; }
}
@media (max-width: 420px) {
  .board-row, .board-head { grid-template-columns: minmax(9ch, 1fr) max-content; }
  .cell-client { display: none; }
}

/* -------- Univers (4 clientèles) -------- */
.univers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.univers {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--hall-2); border: 1px solid var(--hall-line);
  display: flex; flex-direction: column;
}
.univers-media { aspect-ratio: 4 / 3; overflow: hidden; }
.univers-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.univers:hover .univers-media img { transform: scale(1.04); }
.univers-body { padding: var(--space-3) var(--space-3) var(--space-4); display: flex; flex-direction: column; gap: 8px; }
.univers-body h4 { font-size: 17px; }
.univers-body p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
@media (max-width: 1023px) { .univers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .univers-grid { grid-template-columns: 1fr; } }

/* -------- Livraisons récentes (preuve) -------- */
.arrivals-panel {
  background: var(--board);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
}
.arrivals-note { margin: var(--space-3) 2px 0; font-size: 13px; color: var(--ink-3); }

/* -------- FAQ -------- */
.faq-list { max-width: 76ch; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hall-line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  text-align: left; padding: var(--space-4) 0;
  font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em;
}
.faq-q .chev { flex: none; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); color: var(--ink-3); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--orange); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { color: var(--ink-2); padding-bottom: var(--space-4); margin: 0; max-width: 68ch; }

/* -------- CTA band -------- */
.cta-band { text-align: center; }
.cta-band .flap { justify-content: center; flex-wrap: wrap; row-gap: 6px; }
.cta-band h2 { margin: var(--space-4) auto var(--space-3); color: var(--flap-cream); max-width: 22ch; }
.cta-band .sub { color: rgba(241,237,221,0.72); max-width: 52ch; margin: 0 auto var(--space-5); }
.cta-band-cta { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* -------- Footer -------- */
.footer {
  background: var(--board); color: rgba(241,237,221,0.75);
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid var(--board-line);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-6); }
.footer-brand .nav-logo { color: var(--flap-cream); font-size: 26px; margin-bottom: var(--space-3); }
.footer-brand p { line-height: 1.6; max-width: 40ch; }
.footer h4 {
  color: var(--flap-cream); font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--flap-cream); }
.footer-base {
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid var(--board-line);
  display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: rgba(241,237,221,0.45);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); } }

/* =============================================================
   PAGES INTERNES — hero de page, formulaires, catalogue, listes
   (ajouté lors de la migration système, session refonte 2026)
   ============================================================= */

/* -------- Hero de page interne (plus sobre que le hero accueil) -------- */
.page-hero { position: relative; padding: var(--space-6) 0 var(--space-5); border-bottom: 1px solid var(--hall-line); }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('../img/v2-stone.jpg') center / cover no-repeat;
  opacity: 0.3; pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 { max-width: 24ch; margin: var(--space-3) 0 0; }
.page-hero .lead { max-width: 62ch; margin-top: var(--space-3); }

/* -------- Formulaires -------- */
.form-card {
  background: var(--hall-2);
  border: 1px solid var(--hall-line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-3); }
.field label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.field input, .field textarea, .field select {
  padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--hall-line); background: var(--hall);
  font-size: 15px; font-family: inherit; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--orange);
}
.field .hint { font-size: 12px; color: var(--ink-3); }

/* -------- Toggle pill (tarifs) -------- */
.tarif-toggle { display: inline-flex; background: var(--hall); border: 1px solid var(--hall-line); border-radius: var(--radius-pill, 999px); padding: 4px; gap: 4px; }
.tarif-toggle button { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.tarif-toggle button.active { background: var(--board); color: var(--flap-cream); }

/* -------- Catalogue (grille de modèles) -------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-4); }
.cat-card {
  display: block; background: var(--hall-2); border: 1px solid var(--hall-line);
  border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.15s ease;
}
.cat-card:hover { border-color: var(--ink); }
.cat-card-visual { position: relative; aspect-ratio: 16/10; }
.cat-card-visual img { width: 100%; height: 100%; object-fit: cover; }
.cat-card-stamp {
  position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 2;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  background: var(--board); color: var(--flap-amber); padding: 5px 10px; border-radius: 4px;
}
.cat-card-body { padding: var(--space-4); }
.cat-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: 8px; }
.cat-card-head h3 { font-size: 22px; }
.cat-card-head .price { font-family: var(--font-mono); font-size: 15px; font-weight: 700; white-space: nowrap; }
.cat-card-meta { display: flex; gap: var(--space-3); margin-bottom: var(--space-3); flex-wrap: wrap; }
.cat-card-meta span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }

/* -------- Petites listes à icône (frais annexes, etc.) -------- */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.usecase {
  background: var(--hall-2); border: 1px solid var(--hall-line);
  border-radius: var(--radius-lg); padding: var(--space-4);
  display: flex; flex-direction: column; gap: 10px;
}
.usecase-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--board); color: var(--flap-amber); flex: none;
}
.usecase h4 { font-size: 16.5px; }
.usecase p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .usecase-grid { grid-template-columns: 1fr; } }

/* -------- Utilitaires -------- */
.text-center { text-align: center; }
.text-muted { color: var(--ink-3); }
.text-mono { font-family: var(--font-mono); }

/* -------- Focus visible -------- */
a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}
