/* =========================================================
   Galerie du Pradeau — Styles partagés
   ========================================================= */

:root {
  --forest: #1e3d2b;
  --forest2: #264d36;
  --forest3: #2f5e40;
  --gold: #a07828;
  --gold2: #c49a3c;
  --gold3: #e8c068;
  --beige: #f7f2ea;
  --beige2: #f0e9dc;
  --beige3: #e6dccb;
  --beige4: #d9ccb8;
  --text: #22301a;
  --muted: #7a8c6e;
  --border: #cfc4ae;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Raleway', sans-serif;
  --error: #b85848;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--beige);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main, .page-wrap { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  background: var(--forest);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  border-bottom: 4px solid var(--gold);
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; }
.logo-name {
  font-family: var(--serif); color: #fff;
  font-size: 28px; font-weight: 700;
  letter-spacing: 0.03em; line-height: 1.15;
}
.logo-sub {
  font-family: var(--sans); color: var(--gold2);
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; margin-top: 6px;
}
.nav-menu { display: flex; align-items: center; flex-shrink: 0; }
.nav-menu a {
  font-family: var(--sans); font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #92b89a; text-decoration: none;
  padding: 14px 18px; font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-menu a:hover { color: #fff; border-bottom-color: var(--gold3); }
.nav-menu a.act { color: #fff; border-bottom-color: var(--gold2); font-weight: 600; }

/* Sous-menu (mega-menu hover) */
.nav-menu .nav-drop {
  position: relative;
  display: flex; align-items: center;
}
.nav-menu .nav-drop > a::after {
  content: ' \25BE'; /* chevron bas */
  font-size: 10px; margin-left: 4px; opacity: 0.6;
}
.nav-submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--forest2);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  min-width: 220px;
  padding: 0.4rem 0;
  z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
}
.nav-drop:hover .nav-submenu,
.nav-drop:focus-within .nav-submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.15s, transform 0.15s, visibility 0s;
}
.nav-menu .nav-submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #c8d8c8;
  text-transform: none;
  border-bottom: none;
  white-space: nowrap;
}
.nav-menu .nav-submenu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--gold3);
}
.nav-menu a.contact-btn {
  background: var(--gold); color: #fff; font-weight: 600;
  margin-left: 1.6rem; padding: 10px 18px; border-bottom: none;
}
.nav-menu a.contact-btn:hover { background: var(--gold2); }

/* Icone panier dans la nav : remplace l ancien libelle texte "Panier (N)".
   Le badge compteur .cart-count se positionne en bulle or en haut a droite
   de l icone, visible uniquement si le panier contient au moins 1 piece. */
.nav-menu a.nav-cart {
  position: relative;
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center;
}
.nav-menu a.nav-cart:hover { border-bottom-color: var(--gold3); }
.nav-menu a.nav-cart.act   { border-bottom-color: var(--gold2); }
.nav-cart-ico {
  width: 20px; height: 20px;
  color: inherit;
  display: block;
}
.nav-menu a.nav-cart .cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: 9px;
  font-weight: 700; letter-spacing: 0;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
/* Badge masque si vide (updateCartCount met textContent = '' quand 0) */
.nav-menu a.nav-cart .cart-count:empty { display: none; }

.nav-search {
  display: flex; align-items: center;
  background: #ffffff0d; border: 1px solid #ffffff18;
  height: 36px; flex-shrink: 0;
}
.nav-search input {
  background: none; border: none; outline: none;
  font-family: var(--sans); font-size: 12px;
  color: #c8d8c8; padding: 0 12px; width: 180px; font-weight: 300;
  letter-spacing: 0.06em;
}
.nav-search input::placeholder { color: #4a6a50; }
.nav-search button {
  background: none; border: none; border-left: 1px solid #ffffff10;
  height: 36px; width: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.nav-search button svg {
  width: 14px; height: 14px; stroke: #a0c0a8;
  fill: none; stroke-width: 2; stroke-linecap: round;
}
.nav-search button:hover svg { stroke: var(--gold3); }

/* Burger (mobile) */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; padding: 6px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 100%; height: 2px;
  background: var(--gold2); margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   PAGE HEADER
   ========================================================= */
.page-head {
  background: var(--forest2);
  padding: 1.8rem 2.5rem;
  border-bottom: 1px solid #ffffff0a;
}
.breadcrumb {
  font-family: var(--sans); font-size: 10px;
  color: #6a9870; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 0.4rem;
}
.breadcrumb a { color: #6a9870; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold3); }
.breadcrumb span { color: #3a5840; }
.page-title {
  font-family: var(--serif); font-size: 30px;
  font-weight: 700; color: #f0e8d5;
}
.page-subtitle {
  font-family: var(--sans); font-size: 11px;
  color: #6a9870; font-weight: 300;
  margin-top: 0.3rem; letter-spacing: 0.05em;
  line-height: 1.6;
}

/* =========================================================
   BOUTONS PARTAGÉS
   ========================================================= */
.btn-w {
  background: #f5ede0; color: var(--forest);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 9px 20px; border: none; cursor: pointer;
  font-weight: 600; white-space: nowrap;
  transition: background 0.15s;
}
.btn-w:hover { background: #fff; }
.btn-o {
  background: none; color: #8aaa90;
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid #ffffff20; padding: 9px 16px;
  cursor: pointer; font-weight: 300;
}
.btn-g {
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 14px; border: none; cursor: pointer;
  font-weight: 600; white-space: nowrap;
  transition: background 0.15s;
}
.btn-g:hover { background: var(--gold2); }

.sec-tag { display: flex; align-items: center; gap: 10px; margin-bottom: 0.6rem; }
.sec-tag-line { width: 22px; height: 1px; background: var(--gold); }
.sec-tag-text {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.sec-h2 {
  font-family: var(--serif); font-size: 26px;
  font-weight: 700; color: var(--forest);
  margin-bottom: 1.8rem; line-height: 1.25;
}

/* =========================================================
   CONTACT BAR
   ========================================================= */
.contact {
  background: var(--forest);
  padding: 1.1rem 2.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 2rem; border-top: 1px solid var(--forest2);
  flex-wrap: wrap;
}
.ct-title {
  font-family: var(--serif); font-size: 16px;
  font-weight: 700; color: #f5ede0; white-space: nowrap;
}
.ct-title em { font-style: italic; font-weight: 400; color: var(--gold3); }
.ct-info {
  font-family: var(--sans); font-size: 13px;
  color: #80a890; font-weight: 300;
  display: flex; align-items: center; gap: 0.9rem;
  flex-wrap: wrap;
}
.ct-info a { color: #80a890; text-decoration: none; }
.ct-info a:hover { color: var(--gold3); }
.ct-sep { color: #2e6040; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--forest);
  padding: 1rem 2.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff0d;
  flex-wrap: wrap; gap: 1rem;
}
.f-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.f-logo-name { font-family: var(--serif); color: var(--gold2); font-size: 15px; font-weight: 700; }
.f-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.f-links a {
  font-family: var(--sans); font-size: 12px;
  color: #4a7050; text-decoration: none; font-weight: 400;
}
.f-links a:hover { color: var(--gold3); }
.f-copy { font-family: var(--sans); font-size: 12px; color: #5a7860; font-weight: 300; }

/* =========================================================
   ITEMS GRID (autographes, œuvres)
   ========================================================= */
.toolbar {
  background: var(--beige2);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 2.5rem;
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.toolbar-label {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; flex-shrink: 0;
}
.search-bar {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--border);
  height: 32px; flex: 1; max-width: 280px; min-width: 160px;
}
.search-bar input {
  background: none; border: none; outline: none;
  font-family: var(--sans); font-size: 11px;
  color: var(--text); padding: 0 10px; width: 100%; font-weight: 300;
}
.search-bar input::placeholder { color: #b0a898; }
.search-bar button {
  background: none; border: none; border-left: 1px solid var(--border);
  height: 32px; width: 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.search-bar button svg {
  width: 12px; height: 12px; stroke: var(--muted);
  fill: none; stroke-width: 2; stroke-linecap: round;
}
.toolbar-sep { width: 1px; height: 20px; background: var(--border); }
.sort-group { display: flex; align-items: center; gap: 4px; }
.sort-btn {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: #fff;
  border: 1px solid var(--border); padding: 5px 10px;
  cursor: pointer; font-weight: 400;
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.sort-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.sort-btn:hover:not(.active) { background: var(--beige3); }
.results-count {
  font-family: var(--sans); font-size: 10px;
  color: var(--muted); font-weight: 300; margin-left: auto;
}

.grid-wrap { padding: 1.8rem 2.5rem; }
.items-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.item {
  background: #fff; border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  transition: border-color 0.15s;
  display: block; text-decoration: none; color: inherit;
}
.item:hover { border-color: var(--gold); }
.item-img {
  height: 190px; background: var(--beige3);
  display: flex; align-items: center; justify-content: center;
  position: relative; border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.item-img > img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.item-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; font-weight: 600;
}
.b-rare { background: var(--forest); color: #f5ede0; }
.b-new { background: var(--gold); color: #fff; }
.b-sold { background: #8a1f1f; color: #fff; }
.b-reserved { background: #6a5a2a; color: #f5ede0; }
.item-cat-badge {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; font-weight: 400;
  background: var(--beige2); color: var(--muted);
  border: 1px solid var(--border);
}
.item-body { padding: 1rem 1.1rem 1.1rem; }
.item-period {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.25rem;
}
.item-name {
  font-family: var(--serif); font-size: 16px;
  font-weight: 700; color: var(--forest);
  margin-bottom: 0.3rem; line-height: 1.2;
}
.item-artist {
  font-family: var(--serif); font-size: 13px;
  font-style: italic; color: var(--muted); margin-bottom: 0.3rem;
}
.item-desc {
  font-family: var(--sans); font-size: 12px;
  color: var(--muted); line-height: 1.6;
  font-weight: 300; margin-bottom: 0.9rem;
}
.item-foot {
  display: flex; align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 0.75rem;
}
.item-price {
  font-family: var(--serif); font-size: 21px;
  font-weight: 700; color: var(--forest);
}
.item-btn {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: none;
  border: 1px solid var(--gold); padding: 5px 12px;
  cursor: pointer; font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.item-btn:hover { background: var(--gold); color: #fff; }

/* Mockup document (CSS-drawn) */
.doc {
  background: #faf4e8; border: 1px solid #d4c4a0;
  padding: 0.8rem;
}
.dl { height: 6px; background: #c4b49020; border-radius: 1px; margin-bottom: 7px; }
.dl.m { width: 72%; }
.dl.s { width: 46%; }
.dsig {
  font-family: var(--serif); font-size: 14px;
  color: #4a3820; font-style: italic; margin-top: 7px;
}
.item-doc { background: #faf4e8; border: 1px solid #d4c4a0; padding: 1rem; }

.no-results { text-align: center; padding: 3rem 2rem; color: var(--muted); }
.no-results p {
  font-family: var(--serif); font-size: 20px;
  font-style: italic; margin-bottom: 0.4rem; color: var(--forest);
}
.no-results span {
  font-family: var(--sans); font-size: 13px; font-weight: 300;
}

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
}
.pg-btn {
  font-family: var(--sans); font-size: 11px;
  color: var(--muted); background: #fff;
  border: 1px solid var(--border);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.pg-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.pg-btn:hover:not(.active):not([disabled]) { background: var(--beige2); }
.pg-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.pagination[hidden] { display: none; }

/* Barre de catégories (autographes + œuvres) */
.cat-bar {
  background: var(--beige);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 2.5rem;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.cat-label {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-right: 0.5rem;
}
.cat-btn {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: #fff;
  border: 1px solid var(--border); padding: 5px 12px;
  cursor: pointer; font-weight: 400; white-space: nowrap;
}
.cat-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.cat-btn:hover:not(.active) { background: var(--beige2); }
@media (max-width: 1024px) { .cat-bar { padding: 0.6rem 1.5rem; } }
@media (max-width: 768px)  { .cat-bar { padding: 0.6rem 1rem; } }

/* =========================================================
   SUCCESS / FORM FEEDBACK
   ========================================================= */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--forest2); color: #a0d0a8;
  border: 1px solid #4a8060; padding: 0.9rem 1.4rem;
  font-family: var(--sans); font-size: 13px;
  font-weight: 300; z-index: 200; max-width: 90vw;
  transition: transform 0.3s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Laptop large : compacte le menu, cache la recherche (overflow fréquent ici) */
@media (max-width: 1500px) {
  .nav { padding: 0 2.5rem; }
  .logo-name { font-size: 24px; }
  .logo-sub { font-size: 12px; letter-spacing: 0.2em; }
  .nav-menu a { font-size: 12px; padding: 12px 14px; letter-spacing: 0.14em; }
  .nav-menu a.contact-btn { padding: 10px 15px; }
  .nav-search { display: none; }
}

/* Laptop étroit : on descend encore la nav */
@media (max-width: 1200px) {
  .nav { padding: 0 2rem; height: 100px; }
  .logo-svg { width: 56px !important; height: 56px !important; }
  .logo-name { font-size: 22px; }
  .logo-sub { font-size: 11px; letter-spacing: 0.2em; }
  .nav-menu a { font-size: 12px; padding: 11px 12px; letter-spacing: 0.12em; }
  .nav-menu a.contact-btn { padding: 9px 14px; }
}

/* Tablet / mobile : bascule en burger */
@media (max-width: 1024px) {
  .nav { padding: 0 1.2rem; height: 72px; border-bottom-width: 2px; }
  .logo-svg { width: 42px !important; height: 42px !important; }
  .logo-name { font-size: 17px; }
  .logo-sub { font-size: 9px; letter-spacing: 0.2em; }
  .nav-burger { display: block; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--forest); flex-direction: column;
    align-items: stretch; padding: 1rem 0;
    border-bottom: 2px solid var(--gold);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    z-index: 99;
  }
  .nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.25s ease, visibility 0s linear 0s;
  }
  .nav-menu a {
    padding: 14px 1.5rem; border-bottom: 1px solid #ffffff08;
    font-size: 13px;
  }
  .nav-menu a.contact-btn { margin: 0.8rem 1.5rem 0; padding: 12px 1.5rem; }
  /* Panier dans le drawer mobile : l icone s aligne avec les autres items
     (padding identique) et le badge compteur se colle a l icone au lieu
     d etre positionne en absolute a l extreme droite du lien plein-largeur. */
  .nav-menu a.nav-cart {
    padding: 14px 1.5rem;
    justify-content: flex-start;
    gap: 0.6rem;
  }
  .nav-menu a.nav-cart .cart-count {
    position: static;
    margin: 0;
  }
  /* En mobile, on masque les sous-menus : navigation via la cat-bar des pages. */
  .nav-menu .nav-drop { display: block; width: 100%; }
  .nav-menu .nav-drop > a {
    display: block; width: 100%;
    padding: 14px 1.5rem;
    border-bottom: 1px solid #ffffff08;
    font-size: 13px;
  }
  .nav-menu .nav-drop > a::after { display: none; }
  .nav-submenu { display: none; }
  .page-head { padding: 1.4rem 1.5rem; }
  .page-title { font-size: 24px; }
  .toolbar, .grid-wrap, .pagination, .contact, .foot { padding-left: 1.5rem; padding-right: 1.5rem; }
  .items-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1rem; height: 64px; }
  .nav-menu { top: 64px; }
  .logo-svg { width: 38px !important; height: 38px !important; }
  .logo-sub { display: none; }
  .logo-name { font-size: 16px; }

  .page-head { padding: 1.2rem 1rem; }
  .page-title { font-size: 20px; }
  .page-subtitle { font-size: 10px; }

  .toolbar { padding: 0.6rem 1rem; gap: 0.6rem; }
  .toolbar-sep { display: none; }
  .results-count { margin-left: 0; width: 100%; order: 99; }

  .grid-wrap { padding: 1rem; }
  .items-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pagination { padding: 1rem; }

  .contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem; padding: 1rem;
  }
  .ct-info {
    font-size: 12px; gap: 0.5rem;
    justify-content: center;
  }
  .ct-title { font-size: 14px; white-space: normal; }
  .f-logo-name { font-size: 14px; }
  .f-links a, .f-copy { font-size: 11px; }
  .foot {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem; gap: 0.8rem;
  }
  .foot .f-logo  { justify-content: center; }
  .foot .f-links { justify-content: center; }
}

@media (max-width: 480px) {
  .page-title { font-size: 18px; }
  .sort-group { width: 100%; }
  .sort-btn { flex: 1; justify-content: center; }
}

/* =========================================================
   Pages legales (mentions-legales, cgv, confidentialite)
   P2-C QW1 : factorise depuis les 3 <style> identiques.
   ========================================================= */
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.75;
  font-size: 14px;
  font-weight: 300;
}
.legal-wrap h2 {
  font-family: var(--serif);
  color: var(--forest);
  font-size: 20px;
  margin: 2.2rem 0 0.8rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}
.legal-wrap h3 {
  font-family: var(--serif);
  color: var(--forest2);
  font-size: 16px;
  margin: 1.4rem 0 0.5rem;
  font-weight: 700;
}
.legal-wrap p  { margin-bottom: 0.9rem; }
.legal-wrap ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-wrap li { margin-bottom: 0.4rem; }
.legal-wrap a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
}
.legal-wrap a:hover {
  color: var(--forest);
  border-bottom-color: var(--forest);
}
.legal-meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .legal-wrap    { padding: 1.5rem 1rem 3rem; font-size: 13px; }
  .legal-wrap h2 { font-size: 18px; }
}

/* --- Accessibilité : lien d'évitement (skip-link) --- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--forest); color: #fff;
  padding: 8px 16px; z-index: 1000;
  font-family: var(--sans); font-size: 12px;
  text-decoration: none; font-weight: 600;
  letter-spacing: 0.1em;
}
.skip-link:focus { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }
main:focus { outline: none; }
