/* =========================================================
   DAHRA DJOLOF — Design public (boutique)
   Basé sur test2.html. Isolé de style.css / admin.css
   pour ne pas impacter l'admin et l'espace vendeur.
   ========================================================= */

:root {
  --vert: #08783a;
  --vert2: #075c2d;
  --vert3: #004120;
  --or: #c99620;
  --or2: #e4c45b;
  --noir: #111;
  --blanc: #fff;
  --gris: #f6f7f5;
  --texte: #303530;
  --muted: #6d756e;
  --bord: #e6e9e6;
  --radius: 18px;
  --ombre: 0 5px 25px rgba(0, 0, 0, 0.06);
  --ombre-f: 0 14px 40px rgba(0, 0, 0, 0.1);
  --r: 10px;

  /* Image de fond du hero (accueil).
     Photo : "Highway in Dahra" — la route N3 a Dahra, Senegal.
     Auteur Catjacket, CC0 1.0 (domaine public), via Wikimedia Commons. */
  --hero-img: url("../img/hero-dahra.jpg");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

.container { width: min(1180px, 92%); margin: auto; }
.centre { text-align: center; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ================= BOUTONS ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-green { background: var(--vert); color: #fff; }
.btn-green:hover { background: var(--vert2); }
/* btn-primary : alias de la couleur de marque, utilise par les pages UFDOS */
.btn-primary { background: var(--vert); color: #fff; border: 1px solid var(--vert); }
.btn-primary:hover { background: var(--vert2); border-color: var(--vert2); }
.btn-gold { background: var(--or); color: #fff; }
.btn-gold:hover { background: #b4851a; }
.btn-white { background: #fff; color: var(--vert); }
.btn-outline { background: transparent; color: var(--vert); border: 2px solid var(--vert); }
.btn-outline:hover { background: var(--vert); color: #fff; }
.btn-dark { background: var(--noir); color: #fff; }
.btn-sm { padding: 10px 15px; font-size: 13px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-txt strong {
  display: block;
  color: var(--vert);
  font-size: 19px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}
.logo-txt small {
  color: var(--or);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--vert); }
.nav-links a.actif { color: var(--vert); border-bottom-color: var(--or); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

.search {
  display: flex;
  align-items: center;
  background: var(--gris);
  border: 1px solid var(--bord);
  border-radius: 40px;
  padding: 4px 4px 4px 14px;
}
.search input {
  border: 0;
  background: none;
  outline: none;
  font-size: 13px;
  width: 128px;
  font-family: inherit;
  color: var(--texte);
}
.search button {
  border: 0;
  background: var(--vert);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search button:hover { background: var(--vert2); }

.phone-btn {
  background: var(--vert);
  color: #fff;
  padding: 12px 17px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: 0.2s;
}
.phone-btn:hover { background: var(--vert2); }

.burger {
  display: none;
  border: 0;
  background: none;
  font-size: 25px;
  cursor: pointer;
  color: var(--vert);
  padding: 4px 8px;
}

.mobile-menu {
  border-top: 1px solid var(--bord);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1px solid var(--gris);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu a.actif { color: var(--vert); }
.mobile-menu .mm-actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu .mm-actions .btn { flex: 1; }

/* ================= HERO ================= */

/* L'image de fond est portee par les diapos du diaporama (.diapo).
   .hero ne peint qu'un voile vert : sinon la section ajoute une seconde
   image sous la diapo (d'ou deux images visibles sur la page d'accueil). */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 65, 32, 0.94) 0%, rgba(0, 65, 32, 0.82) 42%, rgba(0, 75, 38, 0.45) 100%);
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}
/* svh evite les 100vh qui debordent quand la barre d'adresse mobile
   s'affiche/retrecit. */
@supports (min-height: 100svh) {
  .hero, .hero-diaporama { min-height: 100svh; }
}

/* Repli : aucune banniere en base, on affiche l'image par defaut. */
.hero-sans-banniere {
  background:
    linear-gradient(90deg, rgba(0, 65, 32, 0.94) 0%, rgba(0, 65, 32, 0.82) 42%, rgba(0, 75, 38, 0.45) 100%),
    var(--hero-img, none) center / cover no-repeat;
}

.hero-inner { max-width: 740px; padding: 70px 0; }

.hero-label {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  margin-bottom: 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}
.hero h1 span { color: var(--or2); }

.hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 27px;
  color: var(--or2);
  font-family: "Playfair Display", Georgia, serif;
}
.hero-stats div span { font-size: 12px; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 0.6px; }

/* ================= SECTIONS ================= */

.section { padding: 80px 0; }
.section-alt { background: var(--gris); }
.section-serree { padding: 56px 0; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 45px; }
.section-head .label {
  color: var(--or);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-head h2 {
  color: var(--vert2);
  font-size: 40px;
  margin: 10px 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}
.section-head p { color: var(--muted); line-height: 1.7; }

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--vert); }
.breadcrumb span { color: #b6bdb7; }

.page-titre { padding: 34px 0 8px; }
.page-titre h1 {
  color: var(--vert2);
  font-size: 38px;
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 8px;
}
.page-titre p { color: var(--muted); line-height: 1.6; }

/* ================= INTRO ================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.intro-media {
  height: 440px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--ombre-f);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }

.intro-text .label {
  color: var(--or);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.intro-text h2 {
  color: var(--vert2);
  font-size: 40px;
  margin: 10px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.2;
}
.intro-text p { line-height: 1.8; color: var(--muted); margin-bottom: 16px; }

.check { display: flex; gap: 10px; margin: 10px 0; font-weight: 700; font-size: 15px; }
.check span { color: var(--vert); font-weight: 800; }

/* ================= CATEGORIES ================= */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.cat-card {
  height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  color: #fff;
  display: block;
  background: #ccc;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.cat-card:hover img { transform: scale(1.08); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.82));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.cat-overlay h3 { font-size: 21px; font-family: "Playfair Display", Georgia, serif; }
.cat-overlay span { font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-top: 3px; }

/* ================= PRODUITS ================= */

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bord);
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--bord);
  background: #fff;
  color: var(--texte);
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.chip:hover { border-color: var(--vert); color: var(--vert); }
.chip.actif { background: var(--vert); border-color: var(--vert); color: #fff; }

.toolbar-droite { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.result-count { font-size: 13px; color: var(--muted); }

.select {
  border: 1px solid var(--bord);
  background: #fff;
  border-radius: var(--r);
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--texte);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f2f0;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--ombre-f); }
.product.rupture { opacity: 0.72; }

.product-photo {
  height: 260px;
  overflow: hidden;
  position: relative;
  display: block;
  background: #e9ece9;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.product:hover .product-photo img { transform: scale(1.05); }

.product-type {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--vert);
  color: #fff;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-type.or { background: var(--or); }
.product-type.rouge { background: #b4342c; }
.product-type.gris { background: #6b7280; }

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 {
  color: var(--vert2);
  font-size: 19px;
  margin-bottom: 6px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.3;
}
.product-body h3 a:hover { color: var(--or); }

.product-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.product-meta span { display: inline-flex; align-items: center; gap: 4px; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  font-size: 10.5px;
  font-weight: 700;
  background: #f0f5f1;
  color: var(--vert2);
  padding: 4px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.tag.or { background: #fdf5e3; color: #8a6a12; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--gris);
}
.price { color: var(--vert); font-size: 20px; font-weight: 800; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); }
.price-old {
  display: block;
  font-size: 12px;
  color: #a8b0a9;
  text-decoration: line-through;
  font-weight: 600;
}

.stock { font-size: 12px; font-weight: 700; }
.stock.ok { color: #1a7f45; }
.stock.res { color: var(--or); }
.stock.out { color: #b4342c; }

/* ================= ETAT VIDE ================= */

.empty {
  text-align: center;
  padding: 70px 20px;
  background: var(--gris);
  border-radius: var(--radius);
}
.empty h3 { color: var(--vert2); font-size: 24px; margin-bottom: 10px; font-family: "Playfair Display", Georgia, serif; }
.empty p { color: var(--muted); margin-bottom: 20px; }

/* ================= FICHE PRODUIT ================= */

.detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

.gallery-main {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9ece9;
  box-shadow: var(--ombre);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 84px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #e9ece9;
  padding: 0;
  transition: 0.2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--or2); }
.thumb.actif { border-color: var(--vert); }

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.badge.vert { background: #e8f3ec; color: var(--vert2); }
.badge.or { background: #fdf5e3; color: #8a6a12; }
.badge.rouge { background: #fbeceb; color: #a8332b; }
.badge.gris { background: #eef0ee; color: #5c645d; }

.detail-info h1 {
  color: var(--vert2);
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
}
.detail-ref { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }

.price-block {
  background: var(--gris);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
}
.price-block .price { font-size: 32px; }
.price-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.detail-desc { color: var(--muted); line-height: 1.75; margin-bottom: 22px; font-size: 15px; }

.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.seller {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--bord);
  padding-top: 20px;
}
.seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.seller-info strong { display: block; color: var(--vert2); font-size: 16px; }
.seller-info span { font-size: 12.5px; color: var(--muted); }
.note { color: var(--or); font-weight: 700; }

/* ================= COMMANDE ================= */

.checkout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--ombre);
}
.panel + .panel { margin-top: 20px; }
.panel h2 {
  color: var(--vert2);
  font-size: 21px;
  margin-bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel h2 .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gris);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line-photo {
  width: 88px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: #e9ece9;
}
.cart-line-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info strong { display: block; color: var(--vert2); font-size: 15px; line-height: 1.3; }
.cart-line-info span { font-size: 12.5px; color: var(--muted); }
.cart-line-info .unit { font-size: 12.5px; color: var(--muted); }

.qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--bord); border-radius: 8px; overflow: hidden; }
.qty button {
  border: 0;
  background: var(--gris);
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--vert);
  line-height: 1;
}
.qty button:hover { background: #e4e8e4; }
.qty span { min-width: 34px; text-align: center; font-weight: 700; font-size: 14px; }

.cart-line-droite { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.cart-line-droite strong { color: var(--vert); font-size: 16px; }
.link-suppr {
  background: none;
  border: 0;
  color: #b4342c;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: #3c433d;
}
.field label .req { color: #b4342c; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--bord);
  border-radius: var(--r);
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--texte);
  transition: 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(8, 120, 58, 0.1);
}
.field .aide { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert {
  padding: 13px 16px;
  border-radius: var(--r);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.alert-erreur { background: #fbeceb; color: #a8332b; border: 1px solid #f0c9c6; }
.alert-ok { background: #e8f3ec; color: var(--vert2); border: 1px solid #bcdfc9; }
.alert-info { background: #fdf5e3; color: #8a6a12; border: 1px solid #ecdcb0; }

.summary { position: sticky; top: 96px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--gris);
}
.summary-row strong { color: var(--texte); font-weight: 700; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 2px solid var(--vert2);
}
.summary-total span { font-weight: 700; color: var(--vert2); font-size: 16px; }
.summary-total strong { color: var(--vert); font-size: 27px; font-weight: 800; }
.summary-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 14px; }

/* Confirmation */
.confirm-hero {
  text-align: center;
  padding: 50px 20px;
  background: var(--gris);
  border-radius: var(--radius);
  margin-bottom: 26px;
}
.confirm-icone {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--vert);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 18px;
}
.confirm-hero h1 {
  color: var(--vert2);
  font-size: 32px;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
}
.confirm-hero p { color: var(--muted); }
.confirm-ref {
  display: inline-block;
  margin-top: 16px;
  background: #fff;
  border: 1px dashed var(--vert);
  color: var(--vert2);
  padding: 10px 20px;
  border-radius: var(--r);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
}

/* ================= TABLEAUX ================= */

.table-wrap {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.table-scroll { overflow-x: auto; }

table.data { min-width: 640px; font-size: 14px; }
table.data th {
  background: var(--vert2);
  color: #fff;
  text-align: left;
  padding: 14px 16px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--gris); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fafbfa; }
table.data td.prix { font-weight: 800; color: var(--vert); white-space: nowrap; }
table.data .type-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e8f3ec;
  color: var(--vert2);
  white-space: nowrap;
}
table.data .type-pill.transport { background: #fdf5e3; color: #8a6a12; }
table.data .type-pill.supplement { background: #eef0ee; color: #5c645d; }

.ville-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ville-card {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: 0.2s;
}
.ville-card:hover { border-color: var(--vert); transform: translateY(-3px); }
.ville-card strong { display: block; color: var(--vert2); font-size: 17px; }
.ville-card span { font-size: 12px; color: var(--muted); display: block; }
.ville-card .v-tarif { color: var(--vert); font-weight: 800; font-size: 15px; margin-top: 8px; display: block; }

/* ================= FAQ ================= */

.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--vert2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}
.faq-q:hover { background: #fafbfa; }
.faq-q .plus { color: var(--or); font-size: 22px; font-weight: 400; flex-shrink: 0; }
.faq-a { padding: 0 20px 18px; color: var(--muted); line-height: 1.75; font-size: 14.5px; }

/* ================= CONTACT ================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.contact-card .ci {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f3ec;
  color: var(--vert);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}
.contact-card h3 { color: var(--vert2); font-size: 18px; margin-bottom: 8px; font-family: "Playfair Display", Georgia, serif; }
.contact-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; word-break: break-word; }
.contact-card a { color: var(--vert); font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }

.contact-box {
  background: var(--vert2);
  color: #fff;
  border-radius: 22px;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-box h2 { font-size: 36px; margin-bottom: 10px; font-family: "Playfair Display", Georgia, serif; }
.contact-box p { color: #d7e6db; line-height: 1.6; }
.contact-number { font-size: 27px; color: var(--or2); font-weight: 800; margin-top: 10px; }

/* ================= BANDEAUX ================= */

.bandeau {
  background: linear-gradient(90deg, rgba(0, 63, 31, 0.95), rgba(0, 85, 43, 0.72)),
    var(--bg-img, none) center / cover;
  color: #fff;
  text-align: center;
}
.bandeau-inner { max-width: 720px; margin: 0 auto; padding: 80px 0; }
.bandeau h2 { font-size: 42px; margin: 12px 0 16px; font-family: "Playfair Display", Georgia, serif; line-height: 1.2; }
.bandeau p { line-height: 1.8; margin-bottom: 24px; color: rgba(255, 255, 255, 0.9); }
.bandeau-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 26px;
  text-align: left;
}
.bandeau-list div { padding: 13px; background: rgba(255, 255, 255, 0.12); border-radius: 8px; font-size: 14.5px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 35px; }
footer h3 { margin-bottom: 14px; font-size: 17px; font-family: "Playfair Display", Georgia, serif; }
footer h4 { margin-bottom: 10px; font-size: 13px; color: var(--or2); text-transform: uppercase; letter-spacing: 0.5px; }
footer p, footer li { color: #cfe3d6; line-height: 1.8; font-size: 14px; }
footer ul li a:hover { color: var(--or2); }
footer .f-brand strong { color: #fff; font-size: 20px; font-family: "Playfair Display", Georgia, serif; display: block; }
footer .f-brand .f-logo {
  width: auto;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 14px;
}
.foot-sep { height: 1px; background: rgba(255, 255, 255, 0.15); margin: 14px 0 20px; }
.paiements { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.paiements span {
  font-size: 11.5px; font-weight: 700; color: #e2efe6;
  border: 1px solid rgba(255, 255, 255, 0.24); padding: 5px 10px; border-radius: 6px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
  color: #b7d0bf;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.copyright a { color: #e2efe6; }
.copyright a:hover { color: var(--or2); }

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .search input { display: none; }
  .search { padding: 4px; }
}

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .ville-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13px; }
  .logo-txt strong { font-size: 17px; }
  .phone-btn { padding: 11px 14px; font-size: 13px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .search, .phone-btn { display: none; }
  .burger { display: block; margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-head h2, .intro-text h2, .bandeau h2 { font-size: 32px; }
  .page-titre h1 { font-size: 30px; }
  .detail-info h1 { font-size: 28px; }
  .contact-box { padding: 34px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .nav { height: 68px; }
  .logo-txt small { display: none; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 22px; }
  .cat-grid, .ville-grid, .product-grid, .footer-grid, .bandeau-list, .field-row {
    grid-template-columns: 1fr;
  }
  .toolbar-droite { margin-left: 0; width: 100%; }
  .select { flex: 1; }
  .product-photo { height: 230px; }
  .confirm-hero h1 { font-size: 25px; }
  .contact-box { padding: 26px; }
  .contact-number { font-size: 23px; }
  .btn { padding: 13px 18px; font-size: 14px; }
}

/* =========================================================
   Ajouts migration UFDOS (pages PHP)
   ========================================================= */

.site-footer {
  background: var(--vert2);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 60px;
}
.site-footer h4 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  margin-bottom: 16px;
}
.site-footer ul li { margin-bottom: 9px; font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--or2); }
.site-footer .f-brand p { font-size: 14px; line-height: 1.7; margin-top: 14px; }
.site-footer .copyright { font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 16px; }
.site-footer .credits {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--or2);
  margin-bottom: 14px;
}
.hero h1 { font-family: "Playfair Display", Georgia, serif; }
.hero .hero-sub { font-size: 18px; line-height: 1.7; opacity: 0.9; margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-titre { font-family: "Playfair Display", Georgia, serif; }

.fil { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.fil a { color: var(--vert); }
.detail-media { position: relative; }
.detail-media .detail-main { width: 100%; border-radius: var(--radius); box-shadow: var(--ombre); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  width: 92px; height: 70px; object-fit: cover;
  border-radius: 8px; border: 2px solid transparent; cursor: pointer;
}
.thumb.actif { border-color: var(--vert); }
.detail-race { color: var(--muted); margin-bottom: 10px; }
.detail-prix { font-size: 28px; font-weight: 800; color: var(--vert); margin-bottom: 14px; }
.detail-desc { line-height: 1.75; margin-bottom: 18px; }
.detail-fiche { border-top: 1px solid var(--bord); }
.detail-fiche li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--bord); font-size: 14px;
}
.detail-fiche li span { color: var(--muted); }

.pill {
  display: inline-block; padding: 5px 13px; border-radius: 40px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.pill-on { background: rgba(8, 120, 58, 0.1); color: var(--vert); }
.pill-off { background: rgba(201, 150, 32, 0.14); color: #8a6a10; }

.filters {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: #fff; border: 1px solid var(--bord); border-radius: var(--radius);
  padding: 20px; margin-bottom: 26px; box-shadow: var(--ombre);
}
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.filters input, .filters select {
  padding: 10px 12px; border: 1px solid var(--bord); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; min-width: 130px;
}
.filters .chk { flex-direction: row; align-items: center; gap: 8px; }
.filters-actions { display: flex; gap: 10px; margin-left: auto; }
.search-form label.grow { flex: 1; }
.search-form input { width: 100%; }

.result-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.empty {
  text-align: center; padding: 60px 20px; color: var(--muted);
  background: var(--gris); border-radius: var(--radius);
}

.table-scroll, .table-wrap { overflow-x: auto; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--bord); }
.table th { background: var(--gris); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.lien-retirer { color: #b3261e; font-size: 13px; }
.total { font-size: 16px; margin: 8px 0 16px; }
.total strong { color: var(--vert); font-size: 20px; }

.form .field { margin-bottom: 14px; }
.form label, .contact-list strong { display: block; font-size: 13px; margin-bottom: 6px; color: var(--texte); }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--bord);
  border-radius: 10px; font-family: inherit; font-size: 15px; background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--vert); outline-offset: 1px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.contact-list li { margin-bottom: 16px; }
.detail-form { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--bord); }

.alert { padding: 20px 24px; border-radius: var(--radius); margin-bottom: 24px; }
.alert h2 { font-size: 20px; margin-bottom: 8px; }
.alert ul { margin-left: 18px; list-style: disc; }
.alert-ok { background: rgba(8, 120, 58, 0.08); border: 1px solid rgba(8, 120, 58, 0.25); color: #14532d; }
.alert-ko { background: #fdecea; border: 1px solid #f5c2c0; color: #8a1c14; }

.cat-grid .cat-card, .cat-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
.cat-card img { width: 100%; height: 170px; object-fit: cover; }
.cat-overlay {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); color: #fff; font-weight: 700;
}

@media (max-width: 980px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(0, 65, 32, 0.9) 0%, rgba(0, 65, 32, 0.86) 100%);
  }
  .hero-sans-banniere {
    background:
      linear-gradient(180deg, rgba(0, 65, 32, 0.9) 0%, rgba(0, 65, 32, 0.86) 100%),
      var(--hero-img, none) center / cover no-repeat;
  }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .filters-actions { margin-left: 0; width: 100%; }
  .filters label, .filters input, .filters select { width: 100%; }
}

/* ================= TABLEAU DES ANIMAUX (produits sans photo) ================= */

.tableau-animaux {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  overflow: hidden;
}
.tableau-animaux table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.tableau-animaux thead th {
  background: var(--vert2);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.tableau-animaux tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--gris);
  vertical-align: middle;
}
.tableau-animaux tbody tr:last-child td { border-bottom: 0; }
.tableau-animaux tbody tr:hover { background: #fafbfa; }

.tableau-animaux .num { text-align: right; }
.tableau-animaux .lien-fort { color: var(--vert2); font-weight: 700; }
.tableau-animaux .lien-fort:hover { color: var(--vert); text-decoration: underline; }
.tableau-animaux .cell-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.tableau-animaux .cell-meta span::before { content: "· "; }
.tableau-animaux .cell-prix { text-align: right; white-space: nowrap; }
.tableau-animaux .cell-prix strong { color: var(--vert); font-size: 16px; }
.tableau-animaux .cell-prix s { display: block; color: var(--muted); font-size: 12.5px; }
.tableau-animaux .cell-contact { display: block; font-weight: 600; }
.tableau-animaux .cell-tel { display: block; font-size: 13px; color: var(--muted); }
.tableau-animaux .cell-action { white-space: nowrap; text-align: right; }
.tableau-animaux .cell-action .btn { margin-left: 6px; }
.tableau-animaux .etiquette {
  display: inline-block;
  margin-top: 6px;
  margin-right: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  background: #eef0ee;
  color: #5c645d;
}
.tableau-animaux .etiquette.orange { background: #fdf5e3; color: #8a6a12; }
.tableau-animaux .etiquette.rouge  { background: #fdeaea; color: #a12b2b; }

@media (max-width: 860px) {
  .tableau-animaux { border: 0; box-shadow: none; background: transparent; }
  .tableau-animaux table, .tableau-animaux tbody, .tableau-animaux tr, .tableau-animaux td { display: block; width: 100%; }
  .tableau-animaux thead { display: none; }
  .tableau-animaux tbody tr {
    background: #fff;
    border: 1px solid var(--bord);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 6px 0;
    box-shadow: var(--ombre);
  }
  .tableau-animaux tbody td { border: 0; padding: 7px 16px; }
  .tableau-animaux .cell-prix, .tableau-animaux .cell-action { text-align: left; white-space: normal; }
  .tableau-animaux .cell-action .btn { margin: 6px 8px 0 0; }
  .tableau-animaux tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--muted);
  }
}

/* ================= DIAPORAMA (bannieres) ================= */

/* Le slider occupe toute la hauteur de l'ecran et l'image le couvre
   entierement : .diaporama et .diapo sont en positionnement absolu
   et couvrent la totalite du hero (inset: 0). */
.hero-diaporama { position: relative; overflow: hidden; padding: 0; min-height: 100vh; }
.diaporama { position: absolute; inset: 0; }
.diapo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  padding: 0;
  min-height: 0;
}
.diapo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 65, 32, 0.92) 0%, rgba(0, 65, 32, 0.75) 55%, rgba(0, 65, 32, 0.45) 100%);
}
.diapo.active { opacity: 1; visibility: visible; }
.diapo .container { position: relative; z-index: 1;  }
.diapo .hero-inner { max-width: 740px; padding: 84px 0; }
.diapo .hero-eyebrow,
.diapo h1,
.diapo .hero-sub { color: #fff; }

.diapo-points {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.diapo-point {
  width: 30px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.diapo-point:hover { background: rgba(255, 255, 255, 0.75); }
.diapo-point.actif { background: var(--or2); width: 44px; }
.diapo-point:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.diapo-fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.diapo-fleche:hover { background: rgba(255, 255, 255, 0.32); }
.diapo-fleche:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.diapo-precedent { left: 18px; }
.diapo-suivant { right: 18px; }

@media (max-width: 700px) {
  .diapo-fleche { display: none; }
  .diapo .hero-inner { padding: 62px 0 74px; }
}
/* ================= FICHE SANS PHOTO ================= */

.detail-simple { grid-template-columns: 1fr; }
.detail-simple .detail-info { max-width: 820px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 6px; }
.btn-green { background: #25d366; color: #06331a; border-color: #25d366; }
.btn-green:hover { background: #1eb857; color: #04250f; }
.detail-contact {
  margin-top: 26px;
  padding: 16px 18px;
  background: #f6f8f6;
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  font-size: 15px;
}
.detail-contact strong { color: var(--vert2); }
.detail-contact a { color: var(--vert); font-weight: 700; }
.contact-grid-simple { grid-template-columns: minmax(0, 560px); }
/* ================= GALERIE ================= */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.galerie-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--bord);
  background: #f2f4f2;
  display: block;
}
.galerie-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.galerie-item:hover img { transform: scale(1.05); }
.galerie-item figcaption {
  padding: 10px 13px;
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--bord);
}
.galerie-bouton {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.galerie-bouton:focus-visible { outline: 3px solid var(--vert); outline-offset: -3px; }

/* Bloc compact sur l'accueil */
.galerie-accueil .galerie-item img { height: 160px; }
.galerie-accueil { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

@media (max-width: 600px) {
  .galerie { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .galerie-item img { height: 130px; }
  .galerie-accueil .galerie-item img { height: 120px; }
}

/* Visionneuse plein ecran */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
}
.visionneuse[hidden] { display: none; }
.visionneuse figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.visionneuse img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
}
.visionneuse figcaption {
  color: #fff;
  text-align: center;
  font-size: 15px;
  opacity: 0.9;
}
.visionneuse figcaption:empty { display: none; }
.visionneuse button {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.visionneuse button:hover { background: rgba(255, 255, 255, 0.3); }
.visionneuse button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vl-fermer { position: absolute; top: 16px; right: 16px; }
.vl-fermer { font-size: 34px; }
@media (max-width: 600px) {
  .visionneuse { padding: 12px; }
  .visionneuse button { width: 38px; height: 38px; font-size: 24px; }
}

/* ================= A PROPOS (accueil) ================= */

.apropos {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}
.apropos-illustration img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.apropos-texte h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
}
.apropos-texte p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}
.apropos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px !important;
}
.apropos-actions .btn { margin: 0; }

@media (max-width: 860px) {
  .apropos {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .apropos-illustration img { max-width: 210px; }
  .apropos-texte h2 { font-size: 25px; }
  .apropos-actions { justify-content: center; }
  .apropos-texte p { text-align: center; }
}
