/* =====================================================================
   AGRI-TECH Motoculture — feuille de style principale
   Charte : orange #ff6600 (accent), orange foncé #c94f00 / #b84800
   (texte blanc et liens, contraste AA), anthracite #212121, ardoise #3e4e57.
   Mobile d'abord. Aucune dépendance externe.
   ===================================================================== */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ff6600;
  --orange-fonce: #c94f00;
  --orange-sombre: #b84800;
  --orange-pale: #fff3eb;
  --anthracite: #212121;
  --anthracite-2: #2d2d2d;
  --ardoise: #3e4e57;
  --texte: #212121;
  --texte-doux: #5e5e5e;
  --fond: #ffffff;
  --fond-gris: #f6f6f6;
  --fond-gris-2: #efefef;
  --bordure: #dedede;
  --jaune: #f9ab04;
  --vert: #1f7a3a;
  --vert-pale: #e9f6ee;
  --rouge: #c62828;
  --rouge-pale: #fdecec;
  --bleu-pale: #eaf2fc;
  --focus: #1d6fd1;
  --rayon: 6px;
  --ombre: 0 2px 10px rgba(0, 0, 0, .08);
  --ombre-forte: 0 8px 28px rgba(0, 0, 0, .16);
  --police-titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --police: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --largeur: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--texte);
  background: var(--fond);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
img { font-style: italic; }
a { color: var(--orange-sombre); text-underline-offset: 2px; }
a:hover { color: var(--anthracite); }
h1, h2, h3, h4 { font-family: var(--police-titre); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; color: var(--anthracite); letter-spacing: .2px; }
h1 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--bordure); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
[hidden] { display: none !important; }
.ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.25em; }
.ico-petit { width: .9em; height: .9em; }
.ico-grand { width: 2.2rem; height: 2.2rem; color: var(--orange); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lien-evitement { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--anthracite); color: #fff; padding: .7rem 1rem; border-radius: var(--rayon); }
.lien-evitement:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .conteneur { padding: 0 24px; } }
.section { padding: 2.5rem 0; }
.section-grise { background: var(--fond-gris); }
.section-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-titre h2 { margin: 0; position: relative; padding-left: 14px; }
.section-titre h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; background: var(--orange); border-radius: 2px; }
.texte-doux { color: var(--texte-doux); }
.centre { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .65rem 1.3rem;
  background: var(--orange-fonce); color: #fff; border: 2px solid var(--orange-fonce);
  border-radius: var(--rayon); font-weight: 700; text-decoration: none; text-transform: uppercase;
  font-size: .95rem; letter-spacing: .3px; line-height: 1.2; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.bouton:hover, .bouton:focus-visible { background: var(--orange-sombre); border-color: var(--orange-sombre); color: #fff; }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.bouton-secondaire { background: #fff; color: var(--anthracite); border-color: var(--anthracite); }
.bouton-secondaire:hover, .bouton-secondaire:focus-visible { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.bouton-sombre { background: var(--anthracite); border-color: var(--anthracite); }
.bouton-sombre:hover { background: #000; border-color: #000; }
.bouton-petit { min-height: 38px; padding: .45rem .9rem; font-size: .85rem; }
.bouton-large { width: 100%; }
.bouton-grand { min-height: 54px; font-size: 1.05rem; padding: .8rem 1.6rem; }
.lien-bouton { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Barre d'information ---------- */
.barre-info { background: var(--anthracite); color: #fff; font-size: .82rem; }
.barre-info-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.barre-info ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; align-items: center; }
.barre-info-arguments li { display: flex; align-items: center; gap: .4rem; }
.barre-info-arguments .ico { color: var(--orange); }
.barre-info a { color: #fff; text-decoration: none; }
.barre-info a:hover { color: var(--orange); text-decoration: underline; }
.barre-info-liens { display: none !important; }
.masque-mobile { display: none !important; }
@media (min-width: 900px) {
  .barre-info-liens { display: flex !important; }
  .masque-mobile { display: flex !important; }
}
@media (max-width: 520px) { .barre-info-arguments li:nth-child(2) { display: none; } }

/* ---------- En-tête ---------- */
.entete { background: #fff; border-bottom: 1px solid var(--bordure); position: relative; z-index: 50; }
.entete-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "recherche recherche recherche"; align-items: center; gap: .6rem .75rem; padding-top: .7rem; padding-bottom: .7rem; }
.bouton-menu { grid-area: menu; background: none; border: 0; padding: .4rem; display: inline-flex; color: var(--anthracite); }
.bouton-menu .ico { width: 28px; height: 28px; }
.logo { grid-area: logo; display: inline-block; justify-self: start; }
.logo img { width: 170px; height: auto; }
.entete-actions { grid-area: actions; display: flex; gap: .35rem; align-items: center; }
.entete-action, .entete-tel { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--anthracite); text-decoration: none; font-size: .75rem; padding: .3rem .45rem; border-radius: var(--rayon); position: relative; }
.entete-action:hover, .entete-tel:hover { color: var(--orange-sombre); background: var(--fond-gris); }
.entete-action .ico { width: 26px; height: 26px; }
.entete-action > span:not(.panier-compteur) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entete-tel { display: none; }
.panier-compteur { position: absolute; top: -2px; right: -2px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--orange); color: var(--anthracite); font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; }
.recherche { grid-area: recherche; position: relative; display: flex; }
.recherche input { flex: 1; min-width: 0; height: 46px; border: 2px solid var(--anthracite); border-right: 0; border-radius: var(--rayon) 0 0 var(--rayon); padding: 0 .9rem; background: #fff; }
.recherche input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus) inset; }
.recherche button { width: 54px; border: 0; background: var(--orange); color: var(--anthracite); border-radius: 0 var(--rayon) var(--rayon) 0; display: flex; align-items: center; justify-content: center; }
.recherche button:hover { background: var(--orange-fonce); color: #fff; }
.recherche button .ico { width: 22px; height: 22px; }
.recherche-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 80; list-style: none; margin: 4px 0 0; padding: .3rem 0; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre-forte); max-height: 70vh; overflow-y: auto; }
.recherche-suggestions a { display: flex; gap: .7rem; align-items: center; padding: .45rem .8rem; color: var(--texte); text-decoration: none; }
.recherche-suggestions a:hover, .recherche-suggestions [aria-selected="true"] a { background: var(--orange-pale); }
.recherche-suggestions img { width: 44px; height: 44px; object-fit: contain; background: var(--fond-gris); border-radius: 4px; }
.recherche-suggestions .sugg-prix { margin-left: auto; font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) {
  .entete-in { grid-template-columns: auto 1fr auto; grid-template-areas: "logo recherche actions"; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
  .bouton-menu { display: none; }
  .logo img { width: 220px; }
  .entete-action > span:not(.panier-compteur) { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; }
  .entete-tel { display: flex; flex-direction: row; gap: .5rem; align-items: center; text-align: left; line-height: 1.2; }
  .entete-tel .ico { width: 30px; height: 30px; color: var(--orange-fonce); }
  .entete-tel small { display: block; color: var(--texte-doux); font-size: .72rem; }
  .entete-tel strong { font-size: 1.05rem; font-family: var(--police-titre); letter-spacing: .5px; }
  .entete-actions { gap: .6rem; }
}

/* ---------- Navigation ---------- */
.navigation { background: var(--orange); }
.nav-liste { list-style: none; margin: 0; padding: 0; }
.nav-lien { display: flex; align-items: center; gap: .45rem; padding: .85rem 1rem; color: var(--anthracite); text-decoration: none; font-family: var(--police-titre); font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .4px; background: none; border: 0; width: 100%; text-align: left; }
.nav-lien:hover, .nav-lien[aria-current="page"], .nav-bouton[aria-expanded="true"] { background: var(--anthracite); color: #fff; }
.nav-bouton .ico-petit { transition: transform .2s; }
.nav-bouton[aria-expanded="true"] .ico-petit { transform: rotate(180deg); }
.mega { display: none; background: #fff; }
.nav-bouton[aria-expanded="true"] + .mega { display: block; }
.mega-in { padding: .5rem 1rem 1rem; display: grid; gap: .75rem; }
.mega-titre { font-weight: 700; color: var(--anthracite); text-decoration: none; display: block; padding: .3rem 0; border-bottom: 2px solid var(--orange); }
.mega-titre:hover { color: var(--orange-sombre); }
.mega ul { list-style: none; padding: 0; margin: .3rem 0 0; }
.mega li a { display: block; padding: .25rem 0; color: var(--texte-doux); text-decoration: none; font-size: .93rem; }
.mega li a:hover { color: var(--orange-sombre); text-decoration: underline; }

@media (max-width: 899.98px) {
  .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 120px); overflow-y: auto; box-shadow: var(--ombre-forte); }
  .navigation.ouverte { display: block; }
  .navigation .conteneur { padding: 0; }
  .nav-item + .nav-item { border-top: 1px solid rgba(0, 0, 0, .15); }
}
@media (min-width: 900px) {
  .nav-liste { display: flex; flex-wrap: wrap; }
  .nav-mobile-seul { display: none; }
  .nav-lien { width: auto; padding: .8rem 1.05rem; font-size: 1.08rem; }
  .nav-mega { position: static; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; box-shadow: var(--ombre-forte); border-top: 3px solid var(--anthracite); }
  .mega-in { max-width: var(--largeur); margin: 0 auto; padding: 1.5rem 24px; grid-template-columns: repeat(4, 1fr); gap: 1.25rem 2rem; }
  .mega-tout { display: flex; align-items: flex-end; }
}

/* ---------- Alertes ---------- */
.alerte { padding: .85rem 1rem; border-radius: var(--rayon); margin: 1rem 0; border-left: 5px solid; background: var(--bleu-pale); border-color: var(--focus); }
.alerte-succes { background: var(--vert-pale); border-color: var(--vert); }
.alerte-erreur { background: var(--rouge-pale); border-color: var(--rouge); }
.alerte-info { background: var(--bleu-pale); border-color: var(--focus); }
.alerte-attention { background: #fff8e6; border-color: var(--jaune); }
.alerte ul { margin: .4rem 0 0; }

/* ---------- Fil d'Ariane ---------- */
.ariane { font-size: .85rem; padding: .9rem 0; color: var(--texte-doux); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.ariane li + li::before { content: "›"; margin-right: .3rem; color: #999; }
.ariane a { color: var(--texte-doux); }
.ariane a:hover { color: var(--orange-sombre); }

/* ---------- Accueil : héros ---------- */
.hero { background: var(--anthracite); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; border: 60px solid rgba(255, 102, 0, .18); pointer-events: none; }
.hero-in { display: grid; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.75rem; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); margin-bottom: .4em; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; color: #e6e6e6; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hero .bouton-secondaire { background: transparent; color: #fff; border-color: #fff; }
.hero .bouton-secondaire:hover { background: #fff; color: var(--anthracite); }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.hero-points li { display: flex; gap: .75rem; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rayon); padding: .9rem 1rem; }
.hero-points .ico { color: var(--orange); width: 28px; height: 28px; }
.hero-points strong { display: block; font-family: var(--police-titre); font-size: 1.15rem; letter-spacing: .3px; }
.hero-points span { color: #d9d9d9; font-size: .92rem; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.4fr 1fr; align-items: center; padding-top: 3.5rem; padding-bottom: 3.75rem; } }

/* ---------- Tuiles catégories ---------- */
.grille-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .grille-categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grille-categories { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.tuile-categorie { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); text-decoration: none; color: var(--anthracite); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.tuile-categorie:hover { border-color: var(--orange); box-shadow: var(--ombre); color: var(--anthracite); }
.tuile-categorie img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--fond-gris); }
.tuile-categorie-texte { padding: .75rem .9rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-top: 3px solid var(--orange); }
.tuile-categorie strong { font-family: var(--police-titre); font-size: 1.15rem; line-height: 1.15; }
.tuile-categorie small { color: var(--texte-doux); white-space: nowrap; }

/* ---------- Cartes produits ---------- */
.grille-produits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .grille-produits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1200px) { .grille-produits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grille-produits.grille-3 { }
@media (min-width: 1200px) { .grille-produits.grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte-produit { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.carte-produit:hover { box-shadow: var(--ombre); border-color: #c9c9c9; }
.carte-produit-image { display: block; position: relative; background: #fff; aspect-ratio: 1 / 1; }
.carte-produit-image img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.carte-produit-badges { position: absolute; top: .5rem; left: .5rem; display: flex; flex-direction: column; gap: .3rem; z-index: 1; }
.badge { display: inline-block; padding: .2rem .5rem; border-radius: 3px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; background: var(--anthracite); color: #fff; }
.badge-promo { background: var(--rouge); }
.badge-nouveau { background: var(--orange); color: var(--anthracite); }
.badge-occasion { background: var(--ardoise); }
.carte-produit-corps { padding: .75rem .85rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; border-top: 1px solid var(--fond-gris-2); }
.carte-produit-marque { font-size: .78rem; color: var(--texte-doux); text-transform: uppercase; letter-spacing: .4px; }
.carte-produit-titre { font-size: .98rem; font-weight: 600; line-height: 1.3; margin: 0; font-family: var(--police); }
.carte-produit-titre a { color: var(--anthracite); text-decoration: none; }
.carte-produit-titre a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.carte-produit-titre a:hover { color: var(--orange-sombre); }
.carte-produit-pied { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; position: relative; z-index: 1; }
.carte-produit .dispo { font-size: .8rem; }
.carte-produit form, .carte-produit .bouton { position: relative; z-index: 2; }
.carte-produit .bouton { width: 100%; }

.prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.prix-actuel { font-family: var(--police-titre); font-weight: 700; font-size: 1.45rem; color: var(--anthracite); line-height: 1.1; }
.prix-promo .prix-actuel { color: var(--rouge); }
.prix-barre { color: var(--texte-doux); text-decoration: line-through; font-size: .92rem; }
.prix-ht { width: 100%; font-size: .8rem; color: var(--texte-doux); }
.prix-demande { font-weight: 700; color: var(--ardoise); }

.dispo { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.dispo::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; flex: none; }
.dispo-stock { color: var(--vert); }
.dispo-devis { color: var(--ardoise); }
.dispo-rupture { color: var(--rouge); }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; gap: 1.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1000px) { .catalogue { grid-template-columns: 270px 1fr; align-items: start; } }
.catalogue-entete { margin-bottom: 1rem; }
.catalogue-entete h1 { margin-bottom: .3rem; }
.catalogue-intro { color: var(--texte-doux); max-width: 60rem; }
.filtres { background: var(--fond-gris); border-radius: var(--rayon); padding: 0; }
.filtres > summary { list-style: none; cursor: pointer; padding: .85rem 1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.filtres > summary::-webkit-details-marker { display: none; }
.filtres-corps { padding: 0 1rem 1rem; }
.filtre-groupe { border: 0; padding: .75rem 0; margin: 0; border-top: 1px solid var(--bordure); }
.filtre-groupe legend, .filtre-titre { font-family: var(--police-titre); font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: .4rem; }
.filtre-liste { list-style: none; padding: 0; margin: 0; max-height: 280px; overflow-y: auto; }
.filtre-liste a { display: flex; justify-content: space-between; padding: .3rem .2rem; color: var(--texte); text-decoration: none; border-radius: 3px; font-size: .93rem; }
.filtre-liste a:hover { background: #fff; color: var(--orange-sombre); }
.filtre-liste a[aria-current="page"] { font-weight: 700; color: var(--orange-sombre); }
.filtre-liste .sous { padding-left: .9rem; }
.filtre-liste small { color: var(--texte-doux); }
.filtre-prix { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.case { display: flex; gap: .5rem; align-items: center; padding: .25rem 0; cursor: pointer; }
.case input { width: 1.15rem; height: 1.15rem; accent-color: var(--orange-fonce); }
@media (min-width: 1000px) {
  .filtres > summary { pointer-events: none; }
  .filtres > summary .ico:last-child { display: none; }
}
.barre-tri { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--bordure); }
.barre-tri form { display: flex; gap: .5rem; align-items: center; }
.barre-tri label { white-space: nowrap; }
.barre-tri select { width: auto; }
.etiquettes-filtres { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.etiquette { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; background: var(--orange-pale); border: 1px solid #ffd2b0; border-radius: 20px; font-size: .85rem; color: var(--anthracite); text-decoration: none; }
.etiquette:hover { border-color: var(--orange-fonce); }
.vide { text-align: center; padding: 3rem 1rem; background: var(--fond-gris); border-radius: var(--rayon); }
.texte-seo { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bordure); color: var(--texte-doux); }
.texte-seo h2 { font-size: 1.4rem; }

/* ---------- Pagination ---------- */
.pagination ul { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 .75rem; border: 1px solid var(--bordure); border-radius: var(--rayon); text-decoration: none; color: var(--anthracite); }
.pagination a:hover { border-color: var(--orange-fonce); color: var(--orange-sombre); }
.pagination [aria-current="page"] { background: var(--anthracite); color: #fff; border-color: var(--anthracite); font-weight: 700; }

/* ---------- Fiche produit ---------- */
.fiche { display: grid; gap: 1.5rem; padding-bottom: 2rem; }
@media (min-width: 900px) { .fiche { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; } }
.galerie-principale { position: relative; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.galerie-principale img { width: 100%; height: 100%; object-fit: contain; }
.galerie-vignettes { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .25rem; list-style: none; padding-left: 0; }
.galerie-vignettes button { flex: none; width: 76px; height: 76px; padding: 2px; border: 2px solid var(--bordure); border-radius: var(--rayon); background: #fff; }
.galerie-vignettes button[aria-pressed="true"] { border-color: var(--orange-fonce); }
.galerie-vignettes img { width: 100%; height: 100%; object-fit: contain; }
.fiche-infos h1 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .4rem; }
.fiche-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--texte-doux); font-size: .88rem; margin-bottom: .9rem; }
.fiche-meta a { color: var(--texte-doux); }
.fiche-resume { margin-bottom: 1rem; }
.fiche-achat { background: var(--fond-gris); border-radius: var(--rayon); padding: 1.1rem; display: grid; gap: .85rem; margin: 1rem 0; border-top: 4px solid var(--orange); }
.fiche-achat .prix-actuel { font-size: 2.1rem; }
.fiche-achat-ligne { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.fiche-achat-ligne .bouton { flex: 1 1 200px; }
.quantite { display: inline-flex; border: 2px solid var(--anthracite); border-radius: var(--rayon); background: #fff; height: 50px; }
.quantite button { width: 44px; background: none; border: 0; display: flex; align-items: center; justify-content: center; color: var(--anthracite); }
.quantite button:hover { background: var(--fond-gris-2); }
.quantite input { width: 54px; text-align: center; border: 0; border-left: 1px solid var(--bordure); border-right: 1px solid var(--bordure); -moz-appearance: textfield; appearance: textfield; font-weight: 700; }
.quantite input::-webkit-outer-spin-button, .quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.degressifs { font-size: .88rem; }
.degressifs table { margin-top: .3rem; background: #fff; }
.degressifs th, .degressifs td { padding: .3rem .5rem; border: 1px solid var(--bordure); text-align: left; }
.fiche-garanties { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .92rem; }
.fiche-garanties li { display: flex; gap: .55rem; align-items: flex-start; }
.fiche-garanties .ico { color: var(--orange-fonce); margin-top: .1rem; }
.fiche-sections { display: grid; gap: 2rem; padding: 1rem 0 2.5rem; }
@media (min-width: 900px) { .fiche-sections { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }
.bloc { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1.25rem; }
.bloc h2 { font-size: 1.5rem; }
.caracteristiques th, .caracteristiques td { padding: .55rem .7rem; border-bottom: 1px solid var(--bordure); text-align: left; vertical-align: top; }
.caracteristiques th { width: 45%; font-weight: 600; background: var(--fond-gris); }
.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin-top: 1.4rem; }
.prose img { border-radius: var(--rayon); margin: 1rem 0; }
.prose table { margin: 1rem 0; }
.prose th, .prose td { border: 1px solid var(--bordure); padding: .5rem .6rem; text-align: left; }
.prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--orange); background: var(--fond-gris); }

/* Avis */
.etoiles { position: relative; display: inline-block; width: 5.2em; height: 1em; vertical-align: -.1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23c8c8c8' d='m10 1 2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3C/svg%3E") repeat-x left / 1.04em 1em; }
.etoiles-pleines { position: absolute; inset: 0 auto 0 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23e08a00' d='m10 1 2.7 5.6 6.1.9-4.4 4.3 1 6.1L10 15l-5.4 2.9 1-6.1L1.2 7.5l6.1-.9z'/%3E%3C/svg%3E") repeat-x left / 1.04em 1em; }
.etoiles-nb { color: var(--texte-doux); font-size: .85rem; }
.avis-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.avis-item { border-bottom: 1px solid var(--bordure); padding-bottom: 1rem; }
.avis-item header { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: .3rem; }
.avis-verifie { color: var(--vert); font-size: .82rem; font-weight: 600; }
.avis-reponse { background: var(--fond-gris); padding: .6rem .8rem; border-radius: var(--rayon); font-size: .92rem; margin-top: .5rem; }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 1rem; }
.champ { display: grid; gap: .35rem; }
.champ label, .champ .label { font-weight: 600; font-size: .95rem; }
.champ .aide { font-size: .83rem; color: var(--texte-doux); }
.requis { color: var(--rouge); }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; min-height: 46px; padding: .55rem .75rem; border: 1px solid #8a8a8a; border-radius: var(--rayon); background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(29, 111, 209, .3); }
[aria-invalid="true"] { border-color: var(--rouge) !important; background: #fffafa; }
.erreur-champ { color: var(--rouge); font-size: .87rem; font-weight: 600; }
.ligne-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ligne-2 { grid-template-columns: 1fr 1fr; } .ligne-3 { display: grid; gap: 1rem; grid-template-columns: 1fr 2fr; } }
fieldset { border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1rem 1.1rem 1.1rem; margin: 0; }
legend { font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; padding: 0 .4rem; }
.choix-radio { display: grid; gap: .6rem; }
.choix-radio label { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border: 2px solid var(--bordure); border-radius: var(--rayon); cursor: pointer; background: #fff; }
.choix-radio label:hover { border-color: #b5b5b5; }
.choix-radio input { margin-top: .25rem; width: 1.15rem; height: 1.15rem; accent-color: var(--orange-fonce); flex: none; }
.choix-radio input:checked + span { font-weight: 600; }
.choix-radio label:has(input:checked) { border-color: var(--orange-fonce); background: var(--orange-pale); }
.choix-radio small { display: block; font-weight: 400; color: var(--texte-doux); }
.choix-radio .choix-prix { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---------- Pages compte / boîtes ---------- */
.page { padding-bottom: 3rem; }
.page-etroite { max-width: 760px; }
.page-formulaire { max-width: 520px; margin: 0 auto; }
.boite { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1.5rem; box-shadow: var(--ombre); }
.deux-colonnes { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .deux-colonnes { grid-template-columns: 1fr 1fr; } }
.compte { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .compte { grid-template-columns: 240px 1fr; align-items: start; } }
.compte-nav ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; }
.compte-nav a, .compte-nav button { display: block; width: 100%; text-align: left; padding: .75rem 1rem; color: var(--texte); text-decoration: none; background: #fff; border: 0; border-bottom: 1px solid var(--bordure); }
.compte-nav a[aria-current="page"] { background: var(--orange-pale); font-weight: 700; border-left: 4px solid var(--orange-fonce); }
.compte-nav a:hover, .compte-nav button:hover { background: var(--fond-gris); }
.tableau { width: 100%; font-size: .93rem; }
.tableau th, .tableau td { padding: .65rem .6rem; border-bottom: 1px solid var(--bordure); text-align: left; vertical-align: middle; }
.tableau th { background: var(--fond-gris); font-weight: 700; }
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.statut { display: inline-block; padding: .15rem .55rem; border-radius: 12px; font-size: .8rem; font-weight: 700; background: var(--fond-gris-2); color: var(--anthracite); white-space: nowrap; }
.statut-paiement_recu, .statut-livree, .statut-valide, .statut-accepte { background: var(--vert-pale); color: var(--vert); }
.statut-en_attente_paiement, .statut-en_attente, .statut-nouveau { background: #fff8e6; color: #7a5200; }
.statut-annulee, .statut-refuse, .statut-remboursee { background: var(--rouge-pale); color: var(--rouge); }
.statut-expediee, .statut-en_preparation, .statut-en_cours { background: var(--bleu-pale); color: #134e94; }

/* ---------- Panier & tunnel ---------- */
.etapes { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; counter-reset: etape; gap: .25rem; }
.etapes li { flex: 1; text-align: center; font-size: .82rem; color: var(--texte-doux); position: relative; padding-top: 2.2rem; counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--fond-gris-2); color: var(--texte-doux); display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 1; }
.etapes li::after { content: ""; position: absolute; top: .95rem; left: -50%; width: 100%; height: 3px; background: var(--fond-gris-2); }
.etapes li:first-child::after { display: none; }
.etapes .fait, .etapes [aria-current="step"] { color: var(--anthracite); font-weight: 600; }
.etapes .fait::before, .etapes .fait::after, .etapes [aria-current="step"]::after { background: var(--orange); color: var(--anthracite); }
.etapes [aria-current="step"]::before { background: var(--anthracite); color: #fff; }
.panier { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
@media (min-width: 1000px) { .panier { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.panier-lignes { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--bordure); }
.panier-ligne { display: grid; grid-template-columns: 84px 1fr; gap: .4rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--bordure); align-items: center; }
.panier-ligne img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--bordure); border-radius: var(--rayon); grid-row: span 2; background: #fff; }
.panier-ligne-nom a { color: var(--anthracite); font-weight: 600; text-decoration: none; }
.panier-ligne-nom a:hover { color: var(--orange-sombre); text-decoration: underline; }
.panier-ligne-nom small { display: block; color: var(--texte-doux); }
.panier-ligne-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.panier-ligne-total { font-weight: 700; font-size: 1.1rem; margin-left: auto; }
.panier-ligne .quantite { height: 42px; }
.panier-ligne .quantite button { width: 36px; }
.panier-ligne .quantite input { width: 46px; }
.bouton-supprimer { background: none; border: 0; color: var(--texte-doux); display: inline-flex; gap: .3rem; align-items: center; font-size: .85rem; padding: .4rem; }
.bouton-supprimer:hover { color: var(--rouge); }
.recap { background: var(--fond-gris); border-radius: var(--rayon); padding: 1.25rem; border-top: 4px solid var(--orange); }
@media (min-width: 1000px) { .recap { position: sticky; top: 1rem; } }
.recap h2 { font-size: 1.5rem; }
.recap dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; }
.recap dt { color: var(--texte); }
.recap dd { margin: 0; text-align: right; font-weight: 600; }
.recap .recap-total { font-size: 1.25rem; font-weight: 700; border-top: 2px solid var(--bordure); padding-top: .6rem; margin-top: .3rem; }
.recap .recap-tva { font-size: .85rem; color: var(--texte-doux); font-weight: 400; }
.recap .bouton { margin-top: 1rem; }
.recap-mini-ligne { display: flex; gap: .6rem; font-size: .9rem; padding: .4rem 0; border-bottom: 1px solid var(--bordure); }
.recap-mini-ligne span:last-child { margin-left: auto; font-weight: 600; white-space: nowrap; }
.code-promo { display: flex; gap: .4rem; margin-top: 1rem; }
.code-promo input { min-height: 42px; text-transform: uppercase; }
.livraison-progression { font-size: .88rem; background: #fff; padding: .6rem .75rem; border-radius: var(--rayon); margin-top: .9rem; border: 1px dashed var(--orange-fonce); }
.confiance { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .85rem; color: var(--texte-doux); display: grid; gap: .35rem; }
.confiance li { display: flex; gap: .45rem; align-items: center; }
.confiance .ico { color: var(--vert); }
#stripe-element { min-height: 120px; padding: .5rem 0; }

/* ---------- Contenu éditorial ---------- */
.entete-page { background: var(--fond-gris); padding: 1.5rem 0 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--bordure); }
.entete-page h1 { margin-bottom: .3rem; }
.entete-page p { color: var(--texte-doux); margin: 0; max-width: 60rem; }
.cartes-info { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.carte-info { background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); padding: 1.25rem; border-top: 4px solid var(--orange); }
.carte-info h2, .carte-info h3 { font-size: 1.3rem; display: flex; gap: .5rem; align-items: center; }
.carte-info .ico { color: var(--orange-fonce); }
.faq details { border: 1px solid var(--bordure); border-radius: var(--rayon); margin-bottom: .6rem; background: #fff; }
.faq summary { cursor: pointer; padding: .9rem 1rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange-fonce); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 1rem 1rem; color: var(--texte); }
.grille-articles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); list-style: none; padding: 0; margin: 0; }
.carte-article { position: relative; background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.carte-article img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.carte-article-corps { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.carte-article h2, .carte-article h3 { font-size: 1.3rem; margin: 0; }
.carte-article h2 a, .carte-article h3 a { color: var(--anthracite); text-decoration: none; }
.carte-article h2 a::after, .carte-article h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-article time { font-size: .85rem; color: var(--texte-doux); }
.tuiles-marques { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); list-style: none; padding: 0; margin: 0; }
.tuile-marque { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; min-height: 120px; padding: 1rem; border: 1px solid var(--bordure); border-radius: var(--rayon); background: #fff; text-decoration: none; color: var(--anthracite); text-align: center; }
.tuile-marque:hover { border-color: var(--orange); box-shadow: var(--ombre); }
.tuile-marque img { max-height: 60px; width: auto; }
.tuile-marque strong { font-family: var(--police-titre); font-size: 1.2rem; }
.bandeau-cta { background: var(--anthracite); color: #fff; border-radius: var(--rayon); padding: 1.75rem; display: grid; gap: 1rem; align-items: center; }
.bandeau-cta h2 { color: #fff; margin: 0 0 .3rem; }
.bandeau-cta p { margin: 0; color: #e0e0e0; }
@media (min-width: 800px) { .bandeau-cta { grid-template-columns: 1fr auto; padding: 2rem 2.5rem; } }
.liste-coches { list-style: none; padding: 0; display: grid; gap: .5rem; }
.liste-coches li { display: flex; gap: .55rem; align-items: flex-start; }
.liste-coches .ico { color: var(--vert); margin-top: .15rem; }
.plan-du-site ul { columns: 2 220px; }

/* ---------- Réassurance & pied ---------- */
.reassurance { background: var(--fond-gris); border-top: 1px solid var(--bordure); padding: 1.5rem 0; }
.reassurance-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 900px) { .reassurance-in { grid-template-columns: repeat(4, 1fr); } }
.reassurance-in > div { display: flex; gap: .75rem; align-items: center; }
.reassurance p { margin: 0; line-height: 1.3; }
.reassurance strong { display: block; font-family: var(--police-titre); font-size: 1.12rem; }
.reassurance span { font-size: .85rem; color: var(--texte-doux); }
.pied { background: var(--anthracite); color: #e6e6e6; font-size: .93rem; }
.pied a { color: #e6e6e6; text-decoration: none; }
.pied a:hover { color: var(--orange); text-decoration: underline; }
.pied h2 { color: #fff; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .8rem; }
.pied-newsletter { display: grid; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); align-items: center; }
.pied-titre-nl { margin: 0 0 .2rem; }
.pied-newsletter p { margin: 0; color: #cfcfcf; }
.form-nl { display: flex; flex-wrap: wrap; gap: .5rem; }
.form-nl input { flex: 1 1 220px; border-color: #fff; color: var(--texte); }
.form-nl .form-nl-mention { flex-basis: 100%; font-size: .78rem; color: #bdbdbd; }
.form-nl .form-nl-mention a { text-decoration: underline; color: #e6e6e6; }
.form-nl .bouton { background: var(--orange); border-color: var(--orange); color: var(--anthracite); }
.form-nl .bouton:hover { background: #fff; border-color: #fff; }
@media (min-width: 900px) { .pied-newsletter { grid-template-columns: 1fr 1.2fr; } }
.pied-colonnes { display: grid; gap: 1.75rem; padding-top: 2rem; padding-bottom: 2rem; grid-template-columns: 1fr 1fr; }
.pied-societe { grid-column: 1 / -1; }
@media (min-width: 900px) { .pied-colonnes { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .pied-societe { grid-column: auto; } }
.pied-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pied-societe img { margin-bottom: 1rem; }
.pied-horaires { margin-top: .6rem; color: #cfcfcf; }
.pied-bas { background: #161616; font-size: .8rem; color: #bdbdbd; }
.pied-bas-in { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.pied-bas p { margin: 0; }
.pied-paiements { display: flex; gap: .4rem; flex-wrap: wrap; }
.badge-paiement { border: 1px solid #555; border-radius: 3px; padding: .1rem .45rem; color: #e6e6e6; font-weight: 600; }
.pied-bas .lien-bouton { color: #e6e6e6; }

/* ---------- Consentement cookies ---------- */
.consentement { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 12px; }
.consentement-in { max-width: 920px; margin: 0 auto; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); padding: 1.25rem 1.25rem 1rem; border-top: 5px solid var(--orange); max-height: 85vh; overflow-y: auto; }
.consentement h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.consentement p { font-size: .9rem; }
.consentement-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.consentement-actions .bouton { flex: 1 1 160px; }
.consentement fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.interrupteur { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--bordure); border-radius: var(--rayon); }
.interrupteur input { width: 1.2rem; height: 1.2rem; accent-color: var(--orange-fonce); }

/* ---------- Divers ---------- */
.produit-ajoute { position: fixed; z-index: 950; right: 16px; bottom: 16px; left: 16px; max-width: 420px; margin-left: auto; background: #fff; border-radius: 10px; box-shadow: var(--ombre-forte); padding: 1rem 1.1rem; border-left: 5px solid var(--vert); }
.produit-ajoute p { margin: 0 0 .7rem; font-weight: 600; }
.produit-ajoute .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.produit-ajoute .bouton { flex: 1; }
.erreur-page { text-align: center; padding: 4rem 0; }
.erreur-page .code { font-family: var(--police-titre); font-size: 6rem; color: var(--orange); line-height: 1; margin: 0; }

/* Chat */
.chat-lanceur { position: fixed; right: 16px; bottom: 16px; z-index: 800; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--anthracite); color: #fff; box-shadow: var(--ombre-forte); display: flex; align-items: center; justify-content: center; }
.chat-lanceur:hover { background: var(--orange-fonce); }
.chat-lanceur .ico { width: 28px; height: 28px; }
.chat-fenetre { position: fixed; right: 16px; bottom: 86px; z-index: 810; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); background: #fff; border-radius: 12px; box-shadow: var(--ombre-forte); display: flex; flex-direction: column; overflow: hidden; }
.chat-entete { background: var(--anthracite); color: #fff; padding: .8rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.chat-entete h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.chat-entete button { background: none; border: 0; color: #fff; padding: .3rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; background: var(--fond-gris); }
.chat-msg { max-width: 85%; padding: .55rem .8rem; border-radius: 12px; font-size: .93rem; white-space: pre-wrap; word-wrap: break-word; }
.chat-msg-visiteur { align-self: flex-end; background: var(--orange-fonce); color: #fff; border-bottom-right-radius: 3px; }
.chat-msg-bot, .chat-msg-admin { align-self: flex-start; background: #fff; border: 1px solid var(--bordure); border-bottom-left-radius: 3px; }
.chat-msg-admin { border-left: 3px solid var(--orange); }
.chat-msg a { color: inherit; text-decoration: underline; }
.chat-form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--bordure); }
.chat-form textarea { min-height: 44px; height: 44px; resize: none; }
.chat-mention { font-size: .72rem; color: var(--texte-doux); padding: 0 .75rem .5rem; margin: 0; }

@media print {
  .barre-info, .navigation, .entete-actions, .recherche, .reassurance, .pied, .consentement, .chat-lanceur, .bouton-menu, .lien-evitement { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; }
}
