/* ============================================================
   Couche V3 — habillage commun aux pages satellites du site.
   ------------------------------------------------------------
   Chargée APRÈS site.css, uniquement quand une page déclare
   $page['v3'] = true. Elle ne réécrit pas le balisage : elle
   réhabille les composants existants (.section, .carte, .btn,
   .t-h*, l'en-tête et le pied) avec la typographie et le rythme
   de la landing /v3/, pour que la navigation reste cohérente.

   La palette ne change pas : la V3 reprend déjà celle du site
   (bleu #0096f7, parchemin, sable, encre). Seules la typographie,
   les arrondis et les proportions sont reprises.
   ============================================================ */

/* ── Polices auto-hébergées (aucun appel à Google, conforme RGPD) ──
   Manrope est déclarée dans site.css. Bricolage Grotesque est un
   fichier variable (axes opsz 12–96 et wght) : un seul fichier sert
   toutes les graisses. Sous-ensemble latin, suffisant pour le français. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/space-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-mono-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --serif: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --corps: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:  'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --craie: #fdfdf7;
}

body {
  font-family: var(--corps);
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ── Typographie ─────────────────────────────────────────────── */
.t-display, .t-h1, .t-h2, .t-h3, .t-h4,
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1;
  text-wrap: balance;
}
.t-display { font-size: clamp(2.9rem, 8vw, 6.2rem); line-height: .98; }
.t-h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: .99; }
.t-h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.02; }
.t-h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.08; letter-spacing: -.022em; }
.t-h4 { font-size: 1.28rem; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.t-lead { font-size: clamp(1.05rem, 1.6vw, 1.32rem); line-height: 1.45; letter-spacing: -.015em; }
.t-petit { font-size: .9rem; line-height: 1.5; }

/* Le surtitre devient l'étiquette mono de la V3. */
.surtitre {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bleu);
}

/* ── Boutons : pilules, comme sur la landing ─────────────────── */
.btn {
  font-family: var(--corps);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  padding: .85em 1.5em;
  transition: transform .25s cubic-bezier(.2, .8, .3, 1), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }

/* ── Cartes et sections ──────────────────────────────────────── */
.carte { border-radius: 20px; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.entete-section { margin-bottom: clamp(36px, 5vw, 64px); }

/* ── En-tête ─────────────────────────────────────────────────── */
/* Les pages satellites n'ont pas d'image de héros : l'en-tête est
   donc posée d'emblée, contrairement à la landing. */
.v3-page .entete {
  background: rgba(253, 253, 247, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--trait);
}
.v3-page .marque__nom { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
.v3-page .marque__lieu {
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
}
.v3-page .nav a { font-size: .9rem; font-weight: 500; }
.v3-page .dispo-pastille {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ── Pied de page, à l'encre comme sur la landing ────────────── */
.v3-page .pied { background: var(--encre); color: var(--craie); }
.v3-page .pied a { color: #c9c6ba; }
.v3-page .pied a:hover { color: var(--craie); }
.v3-page .pied__nom, .v3-page .pied__marque .marque__nom {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--craie);
}
.v3-page .pied__col h2, .v3-page .pied__col h4 {
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5cb8f7;
}
.v3-page .pied__bl, .v3-page .pied__adr, .v3-page .pied__vendeur { color: #9a9a9a; }
.v3-page .pied__bas, .v3-page .pied__avert { color: #787878; }
.v3-page .pied__bas { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; }
.v3-page .pied__tel { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }

/* ── Bandeau d'appel à l'action du pied ──────────────────────── */
.v3-page .bandeau-cta__titre { font-family: var(--serif); font-weight: 700; letter-spacing: -.028em; }
.v3-page .bandeau-cta__sur {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ── Questions fréquentes ────────────────────────────────────── */
.v3-page .faq { border-radius: 18px; }
.v3-page .faq summary, .v3-page .faq__q { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
