/* Feuille du site (externe : la CSP interdit le style inline). */
  :root {
    --ink: #141414;
    --text: #3d3d3d;
    --muted: #6f6f6f;
    --line: #e7e7e5;
    --soft: #f6f6f4;
    --radius: 10px; /* images, cartes, vidéo, boutons : 10 px maximum */
    --wrap: 1120px;
    --gutter: var(--site-padding, 12px);
    /* largeur utile : marges latérales ÷ 2 par rapport à avant (avant : min(1120px, 100% − 2 × 24px)) */
    --content-w: min(calc((100% + var(--wrap)) / 2), 100% - 2 * var(--gutter));
    --header: 72px;
    --hero-w: clamp(300px, 46vw, 640px); /* le titre du hero et le paragraphe partagent la même largeur */
    --hero-bottom: clamp(48px, 7vh, 72px); /* espace sous les boutons du hero ; les points du diaporama sont centrés sur ces boutons */
    --section-top-mobile: 1.5; /* mobile : espace en haut des sections = valeur d'origine × ce facteur */
    --section-bottom-mobile: 1.5; /* mobile : espace en bas des sections = valeur d'origine × ce facteur */
    --nudge: 5px;
    --nudge-t: .22s cubic-bezier(.22, 1, .36, 1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
  body {
    background: #fff; color: var(--text);
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

  .wrap { width: var(--content-w); margin: 0 auto; }
  h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
  .lead { margin-top: 14px; max-width: 56ch; }
  .section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
  .section-soft { background: var(--soft); } /* même gris que les cartes d'avis */
  .sub-title { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; color: var(--ink); line-height: 1.25; }
  .contact .sub-title { margin-top: 20px; }
  .points { list-style: none; margin-top: 12px; }
  .points li { position: relative; padding-left: 20px; margin-top: 6px; }
  .points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1.5px; background: var(--ink); }
  .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
  .cta-row .btn, .cta-row .link-cta { margin-top: 0; }
  .cta-row .link-cta { font-size: 13px; font-weight: 400; } /* « Demander un essai » : plus discret (−2 px, deux graisses en moins) */
  .acc-title { font-size: inherit; font-weight: inherit; color: inherit; line-height: inherit; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
  .rounded { border-radius: var(--radius); overflow: hidden; }

  /* ── En-tête fixe ── */
  .header {
    position: sticky; top: 0; z-index: 20;
    margin-bottom: calc(-1 * var(--header) - 1px); /* superposé au hero : la photo passe sous l'en-tête flouté */
    /* en-tête sombre (inversé), fond légèrement flouté */
    background: rgba(14, 14, 14, .72); color: #fff;
    -webkit-backdrop-filter: saturate(1.3) blur(10px); backdrop-filter: saturate(1.3) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .header :focus-visible { outline-color: #fff; }
  .header .wrap { height: var(--header); display: flex; align-items: center; gap: 32px; }
  /* logo recadré sur « WACAR » seul (sans « WAVRE »), ≈ 135 % de la taille visible d'avant */
  .logo img { height: 24.5px; width: auto; filter: brightness(0) invert(1); }
  .nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: #fff; }
  .nav a { position: relative; padding: 6px 0; }
  .nav-legal { display: none; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s; }
  .nav a:hover::after { transform: scaleX(1); }
  .call {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius);
    background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: opacity .2s, transform var(--nudge-t);
  }
  .call:hover { opacity: .85; transform: translateX(var(--nudge)); }
  .call svg { width: 16px; height: 16px; }
  .menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: #fff; position: relative; transition: transform .2s; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }

  /* ── Hero : diaporama plein écran (80 % de la hauteur), voile sombre, titre et boutons centrés ── */
  .hero { position: relative; height: 90vh; min-height: 560px; background: #1c1c1c; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
  .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
  .hero > img.on { opacity: 1; }
  /* dégradé sombre en bas à gauche : garde le texte lisible sur n'importe quelle photo */
  .faq h2 { margin-bottom: 28px; }
  .faq details { border-top: 1px solid var(--line); padding: 18px 0; }
  .faq details:last-of-type { border-bottom: 1px solid var(--line); }
  .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 17px; line-height: 1.4; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 22px; line-height: 1; flex-shrink: 0; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin-top: 12px; color: var(--text); line-height: 1.6; max-width: 70ch; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity .8s;
    background: linear-gradient(to top right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, 0) 85%); }
  .hero.off-first::before { opacity: 0; }
  .hero-content { position: relative; z-index: 2; width: var(--content-w); display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding-bottom: var(--hero-bottom); color: #fff; }
  .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
  .hero-content h1 { margin-top: 14px; max-width: min(100%, var(--hero-w)); font-size: clamp(24px, 3.64vw, 50px); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
  .hero-text { margin-top: 18px; max-width: min(100%, var(--hero-w)); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; color: rgba(255, 255, 255, .9); }
  .hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px; margin-top: 26px; }
  .hero-arrows { position: absolute; z-index: 3; right: max(var(--gutter), calc((100% - var(--content-w)) / 2)); bottom: calc(var(--hero-bottom) - 2px); display: flex; gap: 10px; }
  .hero .slider-btn { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .hero .slider-btn:hover { border-color: #fff; }

  /* ── Boutons des marques (dans le hero) ── */
  /* ── Occasions + services ── */
  .title-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .autoscout { font-family: Arial, sans-serif; font-size: 16px; color: #333; white-space: nowrap; }
  .autoscout mark { background: #f5f200; color: #333; padding: 0 2px; }
  /* Boutons : UN composant pastille (.btn : marques, occasions) et UN lien-flèche (.link-cta : avis, contact).
     Même mouvement au survol partout (--nudge, --nudge-t), aussi sur le bouton du header. */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 10px; border: 1px solid rgba(20, 20, 20, .16); border-radius: var(--radius); background: rgba(255, 255, 255, .96);
    color: var(--ink); font-weight: 600; font-size: 13.5px; line-height: 1.3;
    transition: transform var(--nudge-t), box-shadow .25s, border-color .25s;
  }
  .btn img { width: auto; height: 22px; max-width: 30px; object-fit: contain; flex-shrink: 0; }
  /* sur la photo du hero : verre clair (light) avec flou d'arrière-plan */
  .hero .btn { background: rgba(255, 255, 255, .88); border-color: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px) brightness(1.15); backdrop-filter: blur(10px) brightness(1.15); }
  .btn:hover { transform: translateX(var(--nudge)); box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
  .link-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
    color: var(--ink); font-weight: 600; font-size: 15px;
    transition: transform var(--nudge-t);
  }
  .link-cta:hover { transform: translateX(var(--nudge)); }
  /* bouton « occasions » : sous le paragraphe, espace maîtrisé (pas de ligne fantôme au-dessus) */
  .occasions-btn { display: flex; width: fit-content; margin-top: 18px; }
  .btn:focus-visible, .link-cta:focus-visible, .call:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
  .hero .btn:focus-visible { outline-color: #fff; }
  .accordion { margin-top: 18px; border-top: 1px solid var(--line); }
  .accordion details { border-bottom: 1px solid var(--line); }
  .accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; color: var(--ink); font-weight: 500; }
  .accordion summary::-webkit-details-marker { display: none; }
  .plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
  .plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .25s; }
  .plus::after { transform: rotate(90deg); }
  .accordion details[open] .plus::after { transform: rotate(0); }
  .accordion details p { padding: 0 32px 20px 0; color: var(--muted); }

  /* ── Nouveautés ── */
  .arrow-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
  .arrow-link svg { transition: transform .2s; }
  .arrow-link:hover svg { transform: translateX(3px); }
  .video { position: relative; margin-top: 28px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
  .video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
  .video button { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .play { width: 76px; height: 52px; border-radius: var(--radius); background: rgba(20, 20, 20, .8); display: flex; align-items: center; justify-content: center; transition: background .2s; }
  .video button:hover .play { background: #ff0033; }

  /* ── Histoire ── */
  .story-img { aspect-ratio: 4 / 3; }
  .story-img img { width: 100%; height: 100%; object-fit: cover; }
  .story-text p { margin-top: 16px; }

  /* ── Avis ── */
  .reviews-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
  .reviews-head .link-cta { margin-top: 0; }
  .slider { margin-top: 32px; }
  .reviews {
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 2px;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    /* la première carte démarre sur les marges du site ; les cartes s'effacent doucement sur les côtés (le masque ne bloque aucun clic) */
    --fade: 96px; --edge: max(var(--gutter), calc((100% - var(--content-w)) / 2));
    padding-inline: var(--edge); scroll-padding-inline: var(--edge);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(440px, 86%); scroll-snap-align: start; background: var(--soft); border-radius: var(--radius); padding: 26px 28px; display: flex; flex-direction: column; }
  .slider-nav { display: flex; gap: 10px; margin-top: 20px; }
  .slider-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: border-color .2s, opacity .2s; }
  .slider-btn:hover { border-color: var(--ink); }
  .slider-btn[disabled] { opacity: .35; cursor: default; border-color: var(--line); }
  .occasions, .services-cols, .split-center, .annonces { align-items: center; }
  /* slider des annonces AutoScout24 : pleine largeur, première carte sur les marges du site, fondu sur les côtés (comme les avis) */
  .annonces-section { border-top: 0; padding-top: 0; }
  .cars-slider { margin-top: 0; min-width: 0; }
  .cars {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    --fade: 96px; --edge: max(var(--gutter), calc((100% - var(--content-w)) / 2));
    padding-inline: var(--edge); scroll-padding-inline: var(--edge);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
  }
  .cars::-webkit-scrollbar { display: none; }
  .car { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
  .car-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
  .car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
  .car-img:hover img { transform: scale(1.03); }
  .car-info { padding-top: 14px; }
  .car-name { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; }
  .car-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }
  .car-price { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
  .car-info .btn { margin-top: 14px; }
  .occasions .occ-photo { order: 2; } /* ordinateur : photo à droite ; mobile : photo en haut (voir @media 960) */
  .occ-photo { aspect-ratio: 4 / 3; background: var(--soft); }
  .occ-photo img { width: 100%; height: 100%; object-fit: cover; }
  .review p { color: var(--text); font-size: 14px; } /* 2 px de moins que le texte courant (16 px) */
  .review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
  .avatar { overflow: hidden; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .review strong { display: block; color: var(--ink); font-weight: 700; }
  .review small { font-size: 13px; color: var(--muted); }

  /* ── Contact + horaires ── */
  .contact-img { aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 6vw, 72px); }
  .contact-img img { width: 100%; height: 100%; object-fit: cover; }
  .contact address { font-style: normal; margin-top: 20px; color: var(--ink); line-height: 1.8; }
  .contact address a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
  .contact address a:hover { text-decoration-color: currentColor; }
  .socials { display: flex; gap: 22px; margin-top: 28px; color: var(--ink); }
  .socials a { display: flex; transition: opacity .2s; }
  .socials a:hover { opacity: .55; }
  .socials svg { width: 22px; height: 22px; }
  .hours { margin-top: 18px; border-top: 1px solid var(--line); }
  .hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hours dt { font-weight: 600; color: var(--ink); }
  .hours div.today { color: var(--ink); }
  .hours div.today dt::after { content: " · aujourd’hui"; font-weight: 500; color: var(--muted); }

  /* ── Pied de page : sombre, sobre, aéré ── */
  .footer { background: #0b0b0b; color: #cfcfcf; padding: clamp(56px, 8vw, 96px) 0 32px; margin-top: clamp(64px, 9vw, 112px); }
  .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
  /* le logo prend exactement la largeur de la rangée d'icônes placée dessous */
  .foot-brand { display: grid; width: max-content; max-width: 100%; }
  .footer-logo { display: block; width: 0; min-width: 100%; }
  .footer-logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
  .foot-title { margin-bottom: 16px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8d8d8d; }
  .foot-col p, .foot-col a { font-size: 15px; line-height: 1.8; color: #e6e6e6; }
  .foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .credit { color: #8d8d8d; transition: color .2s; }
  .credit:hover { color: #cfcfcf; }
  .credit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .foot-list { list-style: none; }
  .foot-list li { font-size: 15px; line-height: 1.8; color: #e6e6e6; }
  .foot-col nav { display: flex; flex-direction: column; gap: 4px; }
  .footer .socials { margin: 24px 0 0; color: #fff; }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #8d8d8d; }

  /* ── Tablette ── */
  @media (max-width: 960px) {
    .nav, .header .call { display: none; }
    .menu-btn { display: inline-flex; }
    /* menu mobile : plein écran (toute la hauteur), liens centrés, sans filets */
    .header.open { -webkit-backdrop-filter: none; backdrop-filter: none; }   /* sinon « fixed » serait relatif à l'en-tête */
    .header.open .nav {
      display: flex; flex-direction: column; align-items: center; justify-content: center; justify-content: safe center; gap: 3px;
      position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; margin: 0; z-index: 1;
      background: rgba(14, 14, 14, .97);
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
      padding: calc(var(--header) + 8px) var(--gutter) 72px;
      overflow-y: auto; overscroll-behavior: contain;
      text-align: center;
    }
    .header.open .nav a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; border: 0; }
    /* ligne légale en bas du menu : même style que le pied de page (13 px, gris #8d8d8d) */
    .header.open .nav .nav-legal { display: block; position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; padding: 0 var(--gutter); text-align: center; font-size: 13px; line-height: 1.4; font-weight: 400; color: #8d8d8d; }
    .header.open .nav a::after { display: none; }
    .header .logo, .header .menu-btn { position: relative; z-index: 2; }
    html.menu-open { overflow: hidden; }
    /* retouches mobile : flèches masquées (le glissement au doigt et le défilement auto restent actifs), adresse du hero −2 px, espace bas des sections ×1,5 */
    .hero-arrows, .slider-nav { display: none; }
    .eyebrow { font-size: 10px; }
    .section { padding-top: calc(clamp(64px, 9vw, 112px) * var(--section-top-mobile)); padding-bottom: calc(clamp(64px, 9vw, 112px) * var(--section-bottom-mobile)); }
    .annonces-section { padding-top: 0; } /* le slider reste collé au bloc « Voitures d'occasion » */
    .header.open .menu-btn span { background: transparent; }
    .header.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
    .header.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
    .split { grid-template-columns: 1fr; }
    .contact .split { row-gap: 64px; } /* plus d'air entre le bloc Contact et « Horaires d'ouverture » (≈ 32 px avant) */
    .occasions .occ-photo { order: 0; }
    .story-img { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 56px; } /* plus d'air entre le bloc logo + icônes, Contact et Services (≈ 32 px avant) */
    .foot-brand { grid-column: 1 / -1; }
  }
  /* ── Mobile ── */
  @media (max-width: 640px) {
    .hero-actions { flex-wrap: nowrap; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; }
    :root { --gutter: var(--site-padding, 18px); --header: 64px; }
    .logo img { height: 19.5px; }
    .review { flex-basis: 86%; }
    .reviews, .cars { --fade: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-img { aspect-ratio: 4 / 3; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero img { transition: none; }
    .reviews, .cars { scroll-behavior: auto; }
    .car-img img { transition: none; }
    .btn, .link-cta, .call { transition: none; }
    .btn:hover, .link-cta:hover, .call:hover { transform: none; }
  }
  .legal-page { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); }
  .legal-page h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
  .legal-updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
  .legal-page h2 { font-size: clamp(19px, 2vw, 22px); margin: 36px 0 12px; }
  .legal-page p { color: var(--text); line-height: 1.7; max-width: 70ch; margin-bottom: 14px; }
  @media (max-width: 640px) { .legal-page { padding-top: calc(var(--header) + 40px); } } /* sous l'en-tête fixe */
  .legal-back { display: inline-block; margin-top: 40px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
  /* bannière cookies : fine, en bas, fond flouté comme l'en-tête */
  .cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 10px var(--gutter); background: rgba(14, 14, 14, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #d6d6d6; font-size: 12.5px; line-height: 1.4; }
  .cookie-bar[hidden] { display: none; }
  .cookie-bar p { margin: 0; }
  .cookie-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
  .cookie-actions { display: flex; align-items: center; gap: 8px; }
  .cookie-btn { font: inherit; font-size: 12px; font-weight: 600; line-height: 1; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; cursor: pointer; }
  .cookie-btn.primary { background: #fff; color: #141414; border-color: #fff; }
  @media (max-width: 640px) { .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }

/* Polices hébergées (Montserrat : SIL OFL) */
/* cyrillic-ext 400 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic 400 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese 400 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext 400 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin 400 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/montserrat-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;
}

/* cyrillic-ext 500 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic 500 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese 500 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext 500 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin 500 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/montserrat-500-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;
}

/* cyrillic-ext 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin 600 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/montserrat-600-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;
}

/* cyrillic-ext 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-700-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin 700 */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/montserrat-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;
}
