/* =========================================================
   ATELIER CENT TEMPS — Feuille de style partagée
   Palette : or #C5A572 · noir #121212 · noir profond #050505 · neutre #F5F5F5
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=EB+Garamond:wght@400;500;600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --gold: #C5A572;
  --gold-soft: #d8c199;
  --bg: #121212;
  --bg-deep: #050505;
  --neutral: #F5F5F5;
  --muted: #9a9a9a;
  --line: rgba(197, 165, 114, 0.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--neutral);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: .5px; line-height: 1.2; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Petites majuscules / kicker doré ---- */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* =========================================================
   NAVIGATION — logo centré, liens autour
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #050505;
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 70px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.nav-links.left { justify-content: flex-end; }
.nav-links.right { justify-content: flex-start; }
.nav-links a {
  position: relative;
  color: var(--neutral);
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Sous-menu déroulant (Contact) */
.has-sub { position: relative; }
.has-sub .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 190px; background: #050505; border: 1px solid var(--line);
  list-style: none; padding: 14px 0 8px; margin-top: 0;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
  display: flex; flex-direction: column;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; }
.submenu li { width: 100%; border: none; }
.submenu a { display: block; padding: 11px 22px; white-space: nowrap; font-size: 12px; }
.submenu a::after { display: none; }

.nav-logo { display: flex; justify-content: center; }
.nav-logo img { height: 54px; width: auto; }

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: .3s;
}

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 38px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn:hover { background: var(--gold); color: var(--bg-deep); }
.btn-solid { background: var(--gold); color: var(--bg-deep); }
.btn-solid:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero-video {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    #050505 0%,
    #050505 30%,
    rgba(5,5,5,0.92) 42%,
    rgba(5,5,5,0.5) 60%,
    rgba(5,5,5,0.1) 78%,
    rgba(5,5,5,0) 100%
  );
}
/* Fondu vers la section suivante */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(5,5,5,0), var(--bg-deep));
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 580px; text-align: left; }
.hero h1 {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(42px, 5.6vw, 68px);
  margin: 22px 0 22px;
  color: var(--gold);
  line-height: 1.18;
  letter-spacing: 0.3px;
}
.hero p {
  color: #dcdcdc;
  font-size: 18px;
  max-width: 500px;
  margin: 0 0 38px;
}
.hero-actions { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }
/* Bouton du hero : plus visible, en gras */
.hero .btn {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2.5px;
  padding: 18px 50px;
}
.hero .btn-solid {
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* =========================================================
   BARRE DE MARQUES (logos défilants)
   ========================================================= */
.brands { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.brands-label { text-align: center; color: var(--muted); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 26px; }
.brands-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.brands-track { display: flex; align-items: center; width: max-content; animation: brands-scroll 38s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brand {
  display: inline-flex; align-items: center; padding: 0 46px;
  font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); white-space: nowrap; opacity: .8; transition: opacity .3s;
}
.brand:hover { opacity: 1; }
.brand-sep { color: var(--gold); opacity: .3; font-size: 11px; }
.brand-logo { height: 38px; width: auto; display: block; margin: 0 48px; object-fit: contain; opacity: .9; transition: opacity .3s; }
.brand-logo:hover { opacity: 1; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .brand { font-size: 22px; padding: 0 28px; } .brand-logo { height: 28px; margin: 0 28px; } }

/* =========================================================
   SECTIONS génériques
   ========================================================= */
.section { padding: 90px 0; }
/* Transition en fondu noir -> gris -> noir (au lieu d'une ligne stricte) */
.section-deep {
  background: linear-gradient(
    to bottom,
    var(--bg-deep) 0%,
    var(--bg) 14%,
    var(--bg) 86%,
    var(--bg-deep) 100%
  );
}
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 46px); margin: 14px 0 12px; }
.section-head p { color: var(--muted); }

/* =========================================================
   GRILLE MONTRES
   ========================================================= */
.grid { display: grid; gap: 34px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1c1c1c, #0c0c0c);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 24px; color: var(--neutral); }
.card-ref { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.card-price { color: var(--gold); font-family: var(--serif); font-size: 22px; margin-top: auto; }
.card-media { position: relative; }
.badge-sold {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(5,5,5,0.85); color: var(--gold); border: 1px solid var(--gold);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 11px;
}
.card.is-sold .card-media img { opacity: .55; filter: grayscale(.3); }

/* =========================================================
   FILTRES (page Montres)
   ========================================================= */
/* Disposition : filtres à gauche (fixés au scroll) + grille à droite */
.montres-layout { display: grid; grid-template-columns: 258px 1fr; gap: 40px; align-items: start; }
.filters-side {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; gap: 18px;
  padding: 24px; border: 1px solid var(--line); background: var(--bg);
}
.filter { display: flex; flex-direction: column; gap: 7px; }
.filter label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.filter select {
  width: 100%; background: var(--bg-deep); border: 1px solid var(--line); color: var(--neutral);
  padding: 11px 13px; font-family: var(--sans); font-size: 14px; cursor: pointer;
}
.filter select:focus { outline: none; border-color: var(--gold); }
.filters-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.results-count { color: var(--muted); font-size: 13px; }
.btn-reset {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 11px 18px; cursor: pointer; font-family: var(--sans);
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; transition: all .25s ease;
}
.btn-reset:hover { border-color: var(--gold); color: var(--gold); }
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 30px; }
.no-results { text-align: center; color: var(--muted); padding: 70px 0; grid-column: 1 / -1; }

/* Message de confirmation du formulaire de contact */
.form-status { margin-top: 18px; font-size: 15px; padding: 0; text-align: center; transition: all .2s ease; }
.form-status.pending { color: #9a9a9a; }
.form-status.success {
  color: var(--gold); padding: 16px 18px; border: 1px solid var(--gold);
  background: rgba(197,165,114,0.08); font-weight: 500;
}
.form-status.error {
  color: #e07a5f; padding: 16px 18px; border: 1px solid rgba(224,122,95,0.5);
  background: rgba(224,122,95,0.07);
}

.filters-toggle { display: none; }

@media (max-width: 900px) {
  .montres-layout { grid-template-columns: 1fr; gap: 26px; }
  .filters-side { position: static; }
  /* Filtres repliés derrière un bouton "Filtres" */
  .filters-toggle {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin-bottom: 22px; cursor: pointer;
    background: var(--bg); border: 1px solid var(--line); color: var(--neutral);
    padding: 15px; font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
    transition: border-color .25s ease, color .25s ease;
  }
  .filters-toggle::after { content: '▾'; color: var(--gold); font-size: 12px; }
  .filters-toggle.open { border-color: var(--gold); color: var(--gold); }
  .filters-toggle.open::after { content: '▴'; }
  .filters-side { display: none; }
  .filters-side.open { display: flex; }
}

/* =========================================================
   FICHE MONTRE
   ========================================================= */
.product { padding: 44px 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 46px; align-items: start; }
.product-gallery {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1c1c1c, #0c0c0c);
  border: 1px solid var(--line);
  overflow: hidden;
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Galerie multi-images */
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main {
  aspect-ratio: 1 / 1;
  max-height: 470px;
  background: linear-gradient(135deg, #1c1c1c, #0c0c0c);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery-thumbs button {
  padding: 0; margin: 0;
  border: 1px solid var(--line);
  background: #0c0c0c;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s ease;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover { border-color: var(--gold-soft); }
.gallery-thumbs button.active { border-color: var(--gold); }
.product-info .kicker { margin-bottom: 12px; }
.product-info h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 8px; }
.product-info .product-price { color: var(--gold); font-family: var(--serif); font-size: 32px; margin: 18px 0 26px; }
.product-info .lead { color: var(--muted); margin-bottom: 30px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 34px; }
.spec-table th, .spec-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { color: var(--muted); font-weight: 400; width: 42%; letter-spacing: 1px; }
.spec-table td { color: var(--neutral); }

.product-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* Accordéons de réassurance (sous les caractéristiques) */
.reassurance { margin-top: 30px; border-top: 1px solid var(--line); }
.reassurance details { border-bottom: 1px solid var(--line); }
.reassurance summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--neutral);
}
.reassurance summary::-webkit-details-marker { display: none; }
.reassurance summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
.reassurance details[open] summary { color: var(--gold); }
.reassurance details[open] summary::after { content: '\2212'; }
.reassurance .acc-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.reassurance .acc-body p { margin-bottom: 12px; }
.reassurance .acc-body strong { color: var(--neutral); display: block; margin: 14px 0 6px; font-weight: 500; }
.reassurance .acc-body ul { margin: 8px 0 0 18px; }
.reassurance .acc-body li { margin-bottom: 6px; }

/* Blocs histoire (photo à gauche, texte à droite) */
.story-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; margin-bottom: 40px; }
.story-block .story-media { display: flex; flex-direction: column; gap: 14px; }
.story-block .story-media img { width: 100%; border: 1px solid var(--line); background: #0c0c0c; }
.story-block .story-copy h2 { color: var(--gold); margin-bottom: 16px; }
.story-block .story-copy p { color: #cfcfcf; font-size: 16px; margin-bottom: 16px; }
.story-block.no-media { display: block; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) { .story-block { grid-template-columns: 1fr; gap: 22px; } }

/* Carte teaser marque (sur la fiche montre) */
.brand-teaser {
  display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center;
  border: 1px solid var(--line); background: var(--bg); padding: 20px;
  text-decoration: none; transition: border-color .3s ease; margin-top: 8px;
}
.brand-teaser:hover { border-color: var(--gold); }
.brand-teaser .bt-media { aspect-ratio: 1 / 1; background: #0c0c0c; border: 1px solid var(--line); overflow: hidden; }
.brand-teaser .bt-media img { width: 100%; height: 100%; object-fit: cover; }
.brand-teaser .bt-kicker { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.brand-teaser h3 { color: var(--gold); font-size: 24px; margin: 6px 0 10px; }
.brand-teaser p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.brand-teaser .read-more { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
@media (max-width: 600px) { .brand-teaser { grid-template-columns: 1fr; } }

/* Filtres de la page Histoire (barre horizontale) */
.hfilters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 0 auto 40px; max-width: 900px; justify-content: center; }
.hfilters .filter select { min-width: 170px; }

/* Badge sur les cartes d'histoire */
.card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; background: rgba(5,5,5,0.82); border: 1px solid var(--gold); color: var(--gold); }
.card-tag.recit { border-color: var(--muted); color: var(--neutral); }

/* Onglets de l'espace admin */
.admin-tabs { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.admin-tabs button {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 12px 22px; cursor: pointer; font-family: var(--sans);
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: all .25s ease;
}
.admin-tabs button:hover { border-color: var(--gold); color: var(--gold); }
.admin-tabs button.active { background: var(--gold); color: #050505; border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Bouton retour en haut */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 46px; height: 46px; border: 1px solid var(--gold);
  background: rgba(5,5,5,0.72); color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, background .25s ease, color .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: #050505; }

/* Recherche de marque (page Histoire) */
.brand-search-wrap { max-width: 620px; margin: 4px auto 44px; position: relative; }
.brand-search-wrap::before {
  content: ''; position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A572' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.5' y2='16.5'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity: .85;
}
.brand-search {
  width: 100%; background: #0c0c0c; border: 1px solid var(--line); color: var(--neutral);
  padding: 19px 22px 19px 56px; font-family: var(--sans); font-size: 16px; letter-spacing: .4px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.brand-search::placeholder { color: var(--muted); }
.brand-search:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: #0a0a0a; }

/* Carrousel d'histoires de montres (page Histoire) */
.story-carousel { position: relative; padding: 0 4px; }
.story-viewport { overflow: hidden; }
.story-track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.story-track > .article-card { flex: 0 0 340px; max-width: 340px; }
.story-nav {
  position: absolute; top: 34%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(5,5,5,0.8); color: var(--gold); font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 3;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.story-nav:hover { background: var(--gold); color: #050505; border-color: var(--gold); }
.story-prev { left: -14px; }
.story-next { right: -14px; }
.story-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.story-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(245,245,245,0.28); transition: background .25s ease, width .25s ease, border-radius .25s ease; }
.story-dots button.active { background: var(--gold); width: 24px; border-radius: 4px; }
@media (max-width: 900px) { .story-track > .article-card { flex-basis: 300px; max-width: 300px; } .story-prev { left: -6px; } .story-next { right: -6px; } }
@media (max-width: 560px) { .story-track > .article-card { flex-basis: 80vw; max-width: 80vw; } .story-nav { width: 40px; height: 40px; } .story-prev { left: -2px; } .story-next { right: -2px; } }

/* Carte marque avec logo (page Histoire) */
.article-card.logo-card .article-media { background: #f5f5f5; display: flex; align-items: center; justify-content: center; padding: 28px; }
.article-card.logo-card .article-media img { width: 100%; height: 100%; object-fit: contain; }

/* Section modèles iconiques (page marque) */
.models-section { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 54px; }
.model-card { background: var(--bg); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.model-media { aspect-ratio: 4 / 3; background: #0c0c0c; overflow: hidden; }
.model-media img { width: 100%; height: 100%; object-fit: cover; }
.model-body { padding: 20px; }
.model-body h3 { color: var(--gold); font-size: 20px; margin-bottom: 8px; }
.model-body p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Carrousel (photos d'histoire) */
.carousel { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: #0c0c0c; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; cursor: pointer; font-size: 22px; line-height: 1;
  background: rgba(5,5,5,0.55); border: 1px solid var(--line); color: var(--gold);
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.car-btn:hover { background: rgba(5,5,5,0.9); }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.carousel-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: rgba(245,245,245,0.4); }
.carousel-dots button.active { background: var(--gold); }

/* Bloc "Son histoire" sur la fiche produit */
.watch-story { border-top: 1px solid var(--line); padding-top: 60px; margin-top: 30px; }
.watch-story .prose h2 { text-align: center; color: var(--gold); margin: 0 0 30px; }
.watch-story .prose p { color: #cfcfcf; font-size: 17px; margin-bottom: 22px; }
.story-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.story-photos.single { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.story-photos img { width: 100%; border: 1px solid var(--line); background: #0c0c0c; }
@media (max-width: 720px) { .story-photos { grid-template-columns: 1fr; } }

/* =========================================================
   HISTOIRE / TEXTE
   ========================================================= */
.story-hero {
  padding: 120px 24px 90px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.story-hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 18px 0; }
.prose { max-width: 860px; margin: 0 auto; }
.prose::after { content: ''; display: block; clear: both; }
.prose p { color: #cfcfcf; margin-bottom: 24px; font-size: 17px; }
.prose h2 { font-size: 32px; margin: 46px 0 18px; color: var(--gold); clear: both; }
.prose h3 { font-size: 22px; margin: 30px 0 14px; color: var(--neutral); clear: both; }
.prose blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 34px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--neutral);
}
.prose .story-figure { width: 100%; border: 1px solid var(--line); background: #0c0c0c; display: block; margin: 10px 0 34px; }
.prose .story-figure.portrait { max-width: 320px; margin-left: auto; margin-right: auto; }
.prose figure { margin: 36px 0; text-align: center; }
.prose figure img { width: 100%; border: 1px solid var(--line); background: #0c0c0c; display: block; }
.prose figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; font-style: italic; }
/* En-tête d'article de blog */
.post-cover-img { max-width: 1060px; margin: 0 auto; }
.post-cover-img img { width: 100%; max-height: 460px; object-fit: cover; border: 1px solid var(--line); background: #0c0c0c; display: block; }
.container-narrow { max-width: 1060px; }
.back-link { display: inline-block; color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; transition: color .25s ease; }
.back-link:hover { color: var(--gold); }

/* =========================================================
   BLOG
   ========================================================= */
.article-card { background: var(--bg); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s ease, transform .3s ease; }
.article-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.article-media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1c1c1c, #0c0c0c); overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 26px; }
.article-body .meta { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.article-body h3 { font-size: 26px; margin-bottom: 12px; color: var(--neutral); }
.article-body p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.read-more { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

.post-hero { padding: 110px 24px 60px; text-align: center; border-bottom: 1px solid var(--line); }
.post-hero .meta { margin-bottom: 14px; }
.post-hero h1 { font-size: clamp(34px, 5vw, 60px); max-width: 800px; margin: 0 auto; }
.post-cover { aspect-ratio: 16 / 8; background: linear-gradient(135deg, #1c1c1c, #0c0c0c); margin: 0 auto; max-width: 1000px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   CONTACT
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--neutral);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 160px; resize: vertical; }
.contact-info p { color: var(--muted); margin-bottom: 18px; }
.contact-info a { color: var(--gold); }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 60px 24px 34px;
  text-align: center;
}
.footer-logo img { height: 46px; margin: 0 auto 24px; }
.footer-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; list-style: none; margin-bottom: 26px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: #666; font-size: 12px; letter-spacing: 1px; }

/* =========================================================
   FIL D'ARIANE
   ========================================================= */
.breadcrumb { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 104px 0 0; }
.breadcrumb a:hover { color: var(--gold); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .form-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  /* Le logo est centré, le bouton menu en absolu à droite, et les deux listes
     s'empilent en pleine largeur (plus de superposition en position fixe). */
  .nav {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 0; position: relative; padding: 14px 24px;
  }
  .nav-logo { order: -1; flex: 0 0 100%; justify-content: center; }
  .nav-logo img { height: 42px; }
  .nav-toggle { display: block; position: absolute; right: 14px; top: 16px; }
  .nav-links {
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
  }
  .nav-links.left, .nav-links.right { justify-content: flex-start; }
  .nav-links.left.open { max-height: 300px; padding-top: 10px; }
  .nav-links.right.open { max-height: 400px; padding-bottom: 16px; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 15px 0; text-align: center; }
  /* Sous-menu en version mobile : affiché en dessous, en retrait */
  .has-sub .submenu {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; border: none; background: transparent; padding: 0; margin: 0;
  }
  .submenu li { border-bottom: none; }
  .submenu a { padding: 12px 0; color: var(--muted); font-size: 12px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  /* Hero : vidéo en plein fond, texte en bas */
  .hero { align-items: flex-end; min-height: 90vh; }
  .hero-video { width: 100%; }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5,5,5,0.25) 0%,
      rgba(5,5,5,0.55) 45%,
      rgba(5,5,5,0.92) 78%,
      var(--bg-deep) 100%
    );
  }
  .hero-inner { max-width: 100%; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(32px, 8vw, 46px); }
}
