/* =========================================================
   LEROD SADDLES — Charte graphique
   Univers : western noble, cuir, bois huilé, atelier sellier
   ========================================================= */

:root {
  /* Palette */
  --noir: #0e0b08;
  --noir-encre: #1a140f;
  --brun-bois: #3a261a;
  --brun-cuir: #5c3a23;
  --brun-tan: #8a5a36;
  --creme: #f4ead7;
  --creme-vieilli: #e8dcc2;
  --or: #c9a25b;
  --or-fonce: #9a7836;
  --rouge-sang: #6b1f10;

  /* Typographie */
  --titre: 'Cormorant Garamond', 'Times New Roman', serif;
  --texte: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --etiquette: 'Cormorant SC', 'Cormorant Garamond', serif;

  /* Mise en page */
  --max: 1240px;
  --espace: clamp(1.2rem, 3vw, 2rem);
  --r: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--texte);
  color: var(--creme);
  background: var(--noir);
  line-height: 1.65;
  font-weight: 300;
  font-size: 17px;
  overflow-x: hidden;
}

/* Texture de fond grain de cuir */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(201,162,91,0.03) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

main, header, footer, section { position: relative; z-index: 2; }

/* Typographie */
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--creme);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

a { color: var(--or); text-decoration: none; transition: color .25s; }
a:hover { color: var(--creme); }

img { max-width: 100%; height: auto; display: block; }

/* Étiquettes décoratives type "burned mark" */
.kicker {
  font-family: var(--etiquette);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.kicker::before { content: "— "; color: var(--or-fonce); }
.kicker::after  { content: " —"; color: var(--or-fonce); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 11, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,91,0.15);
  transition: all .3s;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--espace);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo img { height: 110px; width: auto; transition: height .3s; }
/* Footer logo : un peu plus généreux que le header */
.footer-brand .logo img { height: 96px; }
.logo-text {
  font-family: var(--titre);
  font-size: 1.4rem;
  color: var(--creme);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
/* Header phone link — always visible (mobile + desktop) */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--or);
  text-decoration: none;
  font-family: var(--etiquette);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.65rem 1rem;
  border: 1px solid var(--or);
  transition: all .3s;
  margin-left: auto;
}
.nav-phone:hover { background: var(--or); color: var(--noir); }
.nav-phone svg { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.nav-phone .nav-phone-num { white-space: nowrap; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--etiquette);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--creme);
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--or);
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--or); }

.cta-nav {
  background: var(--or);
  color: var(--noir) !important;
  padding: 0.7rem 1.4rem !important;
  border: 1px solid var(--or);
  transition: all .3s;
}
.cta-nav::after { display: none !important; }
.cta-nav:hover { background: transparent; color: var(--or) !important; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--creme);
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--etiquette);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  padding: 1.1rem 2.2rem;
  border: 1px solid var(--or);
  background: transparent;
  color: var(--or);
  cursor: pointer;
  transition: all .35s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--or);
  transform: translateX(-101%);
  transition: transform .35s ease;
  z-index: -1;
}
.btn:hover { color: var(--noir); }
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--or);
  color: var(--noir);
}
.btn-primary::before { background: var(--creme); }
.btn-primary:hover { color: var(--noir); border-color: var(--creme); }

/* =========================================================
   SECTION : HERO
   ========================================================= */
.hero {
  height: clamp(660px, 85vh, 900px);
  display: flex;
  align-items: center;
  padding: 8rem var(--espace) 4rem;
  position: relative;
  background-color: var(--noir-encre);
  background-image:
    linear-gradient(135deg, rgba(14,11,8,0.50) 0%, rgba(14,11,8,0.35) 45%, rgba(58,38,26,0.30) 100%),
    url('/images/home/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--noir) 95%);
  pointer-events: none;
}

.hero-content {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero h1 em {
  font-style: italic;
  color: var(--or);
  font-weight: 300;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 2.5rem;
  color: var(--creme-vieilli);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Petite signature en bas du hero */
.hero-signature {
  position: absolute;
  bottom: 3rem;
  right: var(--espace);
  font-family: var(--etiquette);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--or);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.7;
}

/* =========================================================
   SECTIONS GÉNÉRIQUES
   ========================================================= */
.section {
  padding: clamp(5rem, 10vw, 8rem) var(--espace);
  max-width: var(--max);
  margin: 0 auto;
}
.section-dark { background: var(--noir-encre); max-width: none; }
.section-dark .inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 720px;
}
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p {
  color: var(--creme-vieilli);
  font-size: 1.05rem;
  margin-top: 1rem;
}

/* Séparateur cuir cousu */
.stitched-divider {
  height: 1px;
  background: var(--or-fonce);
  position: relative;
  margin: 4rem auto;
  max-width: 200px;
  opacity: 0.5;
}
.stitched-divider::before,
.stitched-divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--or);
  background: var(--noir);
  padding: 0 1rem;
  font-size: 0.8rem;
}
.stitched-divider::before { left: 50%; transform: translate(-50%, -50%); }
.stitched-divider::after { display: none; }

/* =========================================================
   GRILLE — VALEURS / ÉTAPES
   ========================================================= */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.value {
  padding: 2.5rem 1.8rem;
  border: 1px solid rgba(201,162,91,0.2);
  background: rgba(26,20,15,0.5);
  position: relative;
  transition: all .35s ease;
}
.value:hover {
  border-color: var(--or);
  background: rgba(26,20,15,0.8);
  transform: translateY(-4px);
}
.value-num {
  font-family: var(--titre);
  font-size: 3rem;
  color: var(--or);
  font-style: italic;
  line-height: 1;
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.value h3 { margin-bottom: 0.8rem; }
.value p { color: var(--creme-vieilli); font-size: 0.95rem; margin: 0; }

/* =========================================================
   TÉMOIGNAGES (grille)
   ========================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  padding: 2.2rem 1.8rem;
  border: 1px solid rgba(201,162,91,0.2);
  background: rgba(26,20,15,0.5);
  position: relative;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
}
.testimonial:hover {
  border-color: var(--or);
  background: rgba(26,20,15,0.8);
  transform: translateY(-4px);
}
.testimonial-mark {
  font-family: var(--titre);
  font-size: 3rem;
  color: var(--or);
  line-height: 0.4;
  margin-bottom: 1rem;
  font-style: italic;
  opacity: 0.85;
}
.testimonial blockquote {
  font-family: var(--titre);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--creme);
  line-height: 1.55;
  margin: 0 0 1.5rem;
  flex: 1;
}
.testimonial cite {
  font-family: var(--etiquette);
  font-style: normal;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--or);
}

/* =========================================================
   SPLIT — IMAGE + TEXTE
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) var(--espace);
  max-width: var(--max);
  margin: 0 auto;
}
.split.reverse .split-img { order: 2; }
.split-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.split-img::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--or);
  transform: translate(15px, 15px);
  z-index: -1;
}
.split-img:hover img { transform: scale(1.04); }
.split-content .kicker { color: var(--or); }

/* =========================================================
   PORTFOLIO / SELLES
   ========================================================= */
.saddles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
/* Card entièrement cliquable via un "stretched link" (le lien Voir la fiche / Voir la selle) */
.saddle-card:has(.stretched-link) { cursor: pointer; }
.saddle-card .stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Image et boutons restent cliquables individuellement */
.saddle-card .saddle-img,
.saddle-card .saddle-body .btn,
.saddle-card .stock-badge {
  position: relative;
  z-index: 2;
}
/* L'image principale doit absolument capter le clic AVANT le stretched-link
   pour que la lightbox s'ouvre — important sur desktop. */
.saddle-card .saddle-img {
  cursor: zoom-in;
}
.saddle-card .saddle-img img {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  display: block;
  width: 100%;
  height: 100%;
}
.saddle-card .saddle-img img.zoomable { cursor: zoom-in; }

.saddle-card {
  position: relative;
  background: var(--noir-encre);
  border: 1px solid rgba(201,162,91,0.15);
  overflow: hidden;
  transition: all .4s ease;
  display: flex;
  flex-direction: column;
}
.saddle-card:hover {
  border-color: var(--or);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.saddle-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--brun-bois);
}
.saddle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.saddle-card:hover .saddle-img img { transform: scale(1.06); }
.saddle-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.saddle-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.saddle-tag {
  font-family: var(--etiquette);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--or);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.saddle-body p {
  color: var(--creme-vieilli);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 1.5rem;
}
.saddle-price {
  font-family: var(--titre);
  font-size: 1.4rem;
  color: var(--or);
  margin-bottom: 1.2rem;
}
.saddle-price small {
  display: block;
  font-family: var(--texte);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--creme-vieilli);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.saddle-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
  color: var(--creme-vieilli);
}
.saddle-features li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted rgba(201,162,91,0.15);
}
.saddle-features li::before {
  content: '✦  ';
  color: var(--or);
  font-size: 0.7rem;
}

/* =========================================================
   ÉTAPES — COMMENT COMMANDER
   ========================================================= */
.steps {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2rem;
  border-left: 2px solid var(--or-fonce);
  transition: border-color .3s;
}
.step:hover { border-left-color: var(--or); background: rgba(26,20,15,0.4); }
.step-num {
  font-family: var(--titre);
  font-size: 3.5rem;
  font-style: italic;
  color: var(--or);
  font-weight: 300;
  line-height: 1;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--creme-vieilli); margin: 0; }

/* =========================================================
   FORMULAIRE
   ========================================================= */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) var(--espace);
}
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { color: var(--creme-vieilli); margin-bottom: 2rem; }

.info-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201,162,91,0.15);
}
.info-block:last-child { border: none; }
.info-block .kicker { font-size: 0.75rem; }
.info-block strong {
  display: block;
  font-family: var(--titre);
  font-size: 1.3rem;
  color: var(--creme);
  font-weight: 400;
  margin-bottom: 0.3rem;
}
.info-block a { color: var(--or); }

.form {
  background: var(--noir-encre);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(201,162,91,0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--etiquette);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--noir);
  border: 1px solid rgba(201,162,91,0.25);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 1rem;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--or);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.8rem;
  color: var(--creme-vieilli);
  margin-top: 1rem;
}
.form-status {
  margin-top: 1.2rem;
  padding: 1rem;
  border-left: 3px solid var(--or);
  background: rgba(201,162,91,0.08);
  font-size: 0.95rem;
  display: none;
}
.form-status.show { display: block; }

/* =========================================================
   TÉMOIGNAGE / CITATION
   ========================================================= */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) var(--espace);
}
.quote-mark {
  font-family: var(--titre);
  font-size: 6rem;
  color: var(--or);
  line-height: 0.5;
  margin-bottom: 1rem;
  font-style: italic;
}
.quote blockquote {
  font-family: var(--titre);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 300;
  color: var(--creme);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.quote cite {
  font-family: var(--etiquette);
  font-style: normal;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--or);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background:
    linear-gradient(rgba(14,11,8,0.88), rgba(14,11,8,0.92)),
    url('../images/cta-bg.jpg') center/cover no-repeat fixed;
  text-align: center;
  padding: clamp(5rem, 9vw, 8rem) var(--espace);
  border-top: 1px solid rgba(201,162,91,0.2);
  border-bottom: 1px solid rgba(201,162,91,0.2);
}
.cta-band h2 { margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 580px; margin: 0 auto 2.5rem; color: var(--creme-vieilli); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #06050379;
  border-top: 1px solid rgba(201,162,91,0.2);
  padding: 4rem var(--espace) 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--creme-vieilli);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--etiquette);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: var(--creme-vieilli); font-size: 0.92rem; }
.footer-col a:hover { color: var(--or); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,162,91,0.1);
  text-align: center;
  font-size: 0.82rem;
  color: var(--creme-vieilli);
  opacity: 0.8;
}

/* =========================================================
   PAGES INTÉRIEURES — BANNIÈRE
   ========================================================= */
.page-hero {
  padding: 10rem var(--espace) 5rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14,11,8,0.85), rgba(58,38,26,0.7)),
    url('../images/page-hero.jpg') center/cover no-repeat;
  border-bottom: 1px solid rgba(201,162,91,0.2);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--creme-vieilli);
  font-size: 1.1rem;
}
.breadcrumb {
  font-family: var(--etiquette);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--creme-vieilli); }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb span { margin: 0 0.7rem; opacity: 0.5; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .8s ease both; }
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* Reveal au scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   LIGHTBOX (zoom photo)
   ========================================================= */
.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 11, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 1rem;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border: 1px solid rgba(201,162,91,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-btn {
  position: absolute;
  background: rgba(14,11,8,0.6);
  border: 1px solid var(--or);
  color: var(--or);
  cursor: pointer;
  font-family: var(--titre);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
  backdrop-filter: blur(4px);
}
.lightbox-btn:hover { background: var(--or); color: var(--noir); }

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  font-size: 1.6rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--etiquette);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--creme);
  background: rgba(14,11,8,0.7);
  padding: 0.55rem 1rem;
  border: 1px solid rgba(201,162,91,0.3);
  text-align: center;
  max-width: 80vw;
}

.lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--etiquette);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--or);
  background: rgba(14,11,8,0.6);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(201,162,91,0.3);
}

@media (max-width: 760px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.5rem; right: 0.5rem; width: 40px; height: 40px; }
  .lightbox-counter { top: 0.5rem; left: 0.5rem; font-size: 0.7rem; }
  .lightbox-caption { bottom: 0.5rem; font-size: 0.7rem; }
}

/* =========================================================
   BADGE "EN STOCK"
   ========================================================= */
.stock-badge {
  display: inline-block;
  font-family: var(--etiquette);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--or);
  background: rgba(201,162,91,0.12);
  color: var(--or);
  margin-bottom: 1rem;
  position: relative;
}
.stock-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5dbf6a;
  box-shadow: 0 0 8px rgba(93,191,106,0.7);
  margin-right: 0.6rem;
  vertical-align: middle;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* =========================================================
   FILTRE CATALOGUE
   ========================================================= */
.filter-bar {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto 3.5rem;
  padding: 1.2rem 1rem;
  background: rgba(26, 20, 15, 0.55);
  border-top: 1px solid rgba(201, 162, 91, 0.18);
  border-bottom: 1px solid rgba(201, 162, 91, 0.18);
  max-width: 1100px;
}
.filter-btn {
  display: inline-flex !important;
  align-items: center;
  font-family: var(--etiquette) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-size: 0.78rem !important;
  font-weight: 500;
  padding: 0.85rem 1.5rem !important;
  border: 1px solid rgba(201, 162, 91, 0.4) !important;
  background: transparent !important;
  color: var(--creme-vieilli) !important;
  cursor: pointer;
  transition: all .25s ease;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  line-height: 1;
}
.filter-btn:hover {
  border-color: var(--or) !important;
  color: var(--or) !important;
  background: rgba(201, 162, 91, 0.08) !important;
}
.filter-btn.active {
  background: var(--or) !important;
  color: var(--noir) !important;
  border-color: var(--or) !important;
  box-shadow: 0 4px 14px rgba(201, 162, 91, 0.25);
}
.saddle-card.is-hidden {
  display: none !important;
}
@media (max-width: 760px) {
  .filter-bar { gap: 0.5rem; padding: 1rem 0.5rem; }
  .filter-btn { padding: 0.65rem 1rem !important; font-size: 0.7rem !important; letter-spacing: 0.15em !important; }
}

/* =========================================================
   GALERIE (atelier home + détails selle)
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
/* Sur grand écran, on plafonne à 3 colonnes pour des items bien mis en valeur */
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;  /* paysage par défaut (photos atelier de la home) */
  border: 1px solid rgba(201,162,91,0.18);
  background: var(--noir-encre);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
/* Variante "portrait" pour les galeries de détails de selle (photos prises verticales) */
.gallery-grid--portrait .gallery-item { aspect-ratio: 3/4; }

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,91,0.45);
  box-shadow: 0 16px 36px rgba(0,0,0,0.5);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(180deg, transparent 0%, rgba(14,11,8,0.78) 60%, rgba(14,11,8,0.95) 100%);
  color: var(--creme);
  font-family: var(--etiquette);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .gallery-grid--portrait .gallery-item { aspect-ratio: 4/5; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .logo img { height: 84px; }
  .footer-brand .logo img { height: 78px; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav { padding: 0.75rem var(--espace); gap: 0.8rem; }
  .logo img { height: 68px; }
  .nav-phone {
    padding: 0.55rem 0.75rem;
    font-size: 0;
    letter-spacing: 0;
    gap: 0;
  }
  .nav-phone svg { width: 20px; height: 20px; }
  .nav-phone .nav-phone-num { display: none; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--noir-encre);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    height: calc(100vh - 80px);
    border-top: 1px solid rgba(201,162,91,0.2);
    margin-left: 0;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: clamp(560px, 75vh, 740px); padding: 6rem var(--espace) 3rem; }
  .hero-signature { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .step { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem; }
  .section { padding: 4rem var(--espace); }
  .cta-band { padding: 4rem var(--espace); }
  .saddle-price { font-size: 1.6rem; }
  .saddle-card .saddle-body { padding: 1.5rem; }
  .saddle-tag { font-size: 0.7rem; }
  .breadcrumb { font-size: 0.7rem; }
  .page-hero { padding: 8rem var(--espace) 4rem; }
}

@media (max-width: 420px) {
  .logo img { height: 58px; }
  .nav-phone { padding: 0.5rem 0.6rem; }
  .btn { padding: 0.9rem 1.6rem; font-size: 0.78rem; letter-spacing: 0.15em; }
  .hero { padding: 5rem var(--espace) 2.5rem; }
  .section { padding: 3rem var(--espace); }
}

/* Préférences accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
