/* ==========================================================================
   Cuisinessens — Front office
   Base : maquette « Gamme Easytouch », étendue pour le site dynamique
   CSS3 vanilla — mobile-first, breakpoints : 768px (tablette) / 1024px (desktop)
   ========================================================================== */

:root {
  --cream: #F5EDE3;
  --cream-soft: #FAF8F2;
  --gold: #F1B831;
  --gold-deep: #EEA402;
  --dark: #24292A;
  --ink: #1E2324;
  --near-black: #2C2C2C;
  --neutral-2: #565656;
  --neutral-3: #848484;
  --green: #4C7753;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-max: 1216px;
  --gap: 20px;
  --radius: 10px;
  --radius-sm: 5px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
button { font: inherit; cursor: pointer; }
svg { flex-shrink: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }
@media (min-width: 1280px) { .container { padding-inline: 0; } }

.center { text-align: center; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::before { display: none; }

h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--dark);
}
h2 em { font-style: italic; }
@media (min-width: 768px) { h2 { font-size: 3rem; } }
@media (min-width: 1024px) { h2 { font-size: 3.75rem; line-height: 1.2; } }

.lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--neutral-2);
  margin-top: 20px;
}
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }

.section-intro { max-width: 760px; margin: 0 auto 48px; }
@media (min-width: 1024px) { .section-intro { margin-bottom: 72px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: 0.85; }
.btn-solid { background: var(--gold); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline-light { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline-dark { background: var(--white); border: 2px solid var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-word {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--near-black);
  letter-spacing: -0.5px;
}
.logo-word .accent { color: var(--gold); }
.logo-tag {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav-toggle {
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--near-black);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  inset: 0 0 0 30%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 99;
}
.nav-menu.is-open { transform: translateX(0); }
.nav-menu a {
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-cta { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    inset: auto;
    background: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    transform: none;
    gap: 16px;
    flex: 1;
    justify-content: center;
  }
  .nav-menu a { font-size: 0.85rem; padding-inline: 12px; }
  .nav-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,35,36,0.85) 0%, rgba(30,35,36,0.55) 45%, rgba(30,35,36,0.05) 100%);
}
.hero-content { position: relative; z-index: 1; padding-block: 64px; }
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.75rem;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--cream);
  margin-bottom: 32px;
}
.hero h1 em { font-style: italic; }
@media (min-width: 768px) { .hero { min-height: 560px; } .hero h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero { min-height: 682px; } .hero h1 { font-size: 4.5rem; } }

/* ==========================================================================
   Details gallery (Collections 1)
   ========================================================================== */
.details { padding-block: 64px; }
.details-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.gallery-left, .gallery-right { display: flex; flex-direction: column; gap: var(--gap); }
.gallery-left-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.details-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.g-main { aspect-ratio: 790 / 660; }
.g-right-a { aspect-ratio: 406 / 472; }
.g-right-b { aspect-ratio: 406 / 588; }
.gallery-left-bottom img { aspect-ratio: 385 / 395; }

@media (min-width: 1024px) {
  /* Le rapport des colonnes vient directement de la maquette : 790 / 406.
     L'approximation « 1.9fr 1fr » elargissait la colonne de droite de 6 px,
     ce qui, repercute par les aspect-ratio, faisait depasser l'image 5
     d'une trentaine de pixels. */
  .details-gallery {
    display: grid;
    grid-template-columns: 790fr 406fr;
    align-items: start;
  }

  /* Mosaique complete : les deux colonnes s'alignent exactement.
     La colonne de droite impose sa hauteur via ses aspect-ratio ; celle de
     gauche s'y ajuste, ses deux rangees se partageant la place au prorata
     de la maquette (660 / 395). Cela absorbe les 5 px que le fichier source
     comporte lui-meme entre le bas des deux colonnes. */
  /* On etire uniquement la colonne de gauche. Passer le conteneur entier en
     `align-items: stretch` donnerait une hauteur definie a la colonne de
     droite, dont les images en `height: 100%` se retrouveraient chacune a
     la hauteur totale, puis compressees par flex-shrink. */
  .details-gallery.is-complete .gallery-left {
    align-self: stretch;
    display: grid;
    grid-template-rows: 660fr 395fr;
    gap: var(--gap);
  }
  .details-gallery.is-complete .gallery-left > img,
  .details-gallery.is-complete .gallery-left-bottom,
  .details-gallery.is-complete .gallery-left-bottom img {
    height: 100%;
    aspect-ratio: auto;
  }
}

/* ==========================================================================
   Gamme (Collections 2)
   ========================================================================== */
.gamme { padding-block: 64px; background: var(--cream-soft); }
.gamme h2 { margin-bottom: 40px; }
.gamme-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  margin-bottom: 40px;
}
.gamme-gallery img { aspect-ratio: 392/543; object-fit: cover; border-radius: var(--radius); width: 100%; height: 100%; }

/* ==========================================================================
   Expertises
   ========================================================================== */
.expertise { padding-block: 64px; }
.expertise--countertop { background: var(--cream-soft); }
.expertise-split { display: flex; flex-direction: column; gap: 40px; }
.expertise-text { max-width: 560px; }
.expertise-media { display: flex; flex-direction: column; gap: var(--gap); }
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.expertise-media img { border-radius: var(--radius); object-fit: cover; width: 100%; }
.media-main { aspect-ratio: 558/368; }
.media-row img { aspect-ratio: 269/368; }

@media (min-width: 1024px) {
  .expertise-split { flex-direction: row; align-items: center; gap: 60px; }
  .expertise-text, .expertise-media { flex: 1; }
}

/* Facades swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.swatch img { aspect-ratio: 187/209; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; }
.swatch-code { display: block; font-size: 1.1rem; font-weight: 600; color: var(--dark); }
.swatch-name { display: block; font-size: 0.8rem; color: var(--neutral-3); text-transform: uppercase; }
@media (min-width: 640px) { .swatches { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .swatches { grid-template-columns: repeat(6, 1fr); } }

/* Credence gallery */
.credence-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  margin-top: 40px;
}
.credence-gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); width: 100%; }

.credence-swatch { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.credence-swatch img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 635/155; object-fit: cover; }
.credence-swatch p { color: var(--neutral-3); line-height: 1.8; }

.showroom-cta {
  margin-top: 40px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--dark);
}
.showroom-cta strong { color: var(--gold); font-weight: 700; }

/* ==========================================================================
   Metrics (dark band)
   ========================================================================== */
.metrics { background: var(--ink); padding-block: 48px; }
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.metric { display: flex; align-items: center; gap: 16px; }
.metric svg { width: 44px; height: 44px; color: var(--gold); }
.metric strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--gold);
}
.metric span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
}
@media (min-width: 640px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   Autres modèles / carousel
   ========================================================================== */
.autres-modeles { padding-block: 64px; background: var(--cream); position: relative; overflow: hidden; }
.autres-modeles h2 { margin-bottom: 40px; }
.carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.carousel-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
}
.carousel-track::-webkit-scrollbar { display: none; }
.product-card {
  position: relative;
  flex: 0 0 min(85%, 381px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.product-card h3 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--cream);
  background: rgba(36,41,42,0.55);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}
.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn svg { width: 20px; height: 20px; }
.link-arrow {
  display: block;
  text-align: center;
  margin-top: 32px;
  color: var(--gold);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--green);
  padding-block: 48px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.22), transparent 55%),
                    radial-gradient(circle at 85% 75%, rgba(0,0,0,.28), transparent 60%);
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner-grid {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 1100px;
}
.cta-dark {
  background: var(--dark);
  color: var(--cream);
  padding: 32px;
}
.cta-dark h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.cta-dark h3 em { font-style: italic; }
.cta-dark p { color: #D8D8D8; line-height: 1.7; margin-bottom: 20px; }
.cta-tags {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-block: 16px;
  margin-bottom: 20px !important;
}
.cta-tags span { color: var(--white); margin-inline: 6px; }
.cta-phone {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--cream) !important;
}
.cta-image { position: relative; }
.cta-image img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.cta-image .btn { position: absolute; left: 24px; bottom: 24px; }

@media (min-width: 1024px) {
  .cta-banner-grid { flex-direction: row; margin-inline: auto; }
  .cta-dark { flex: 0 0 52%; padding: 48px; }
  .cta-image { flex: 1; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--cream); }
.footer-top { padding-block: 64px; display: flex; flex-direction: column; gap: 48px; }
.footer-brand p { color: var(--neutral-2); line-height: 1.7; margin-block: 20px; max-width: 420px; }
.footer-ctas { display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.footer-contact { display: flex; flex-direction: column; gap: 32px; }
.footer-contact h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-contact h4.footer-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
}
.footer-contact p { color: var(--neutral-2); line-height: 1.6; font-size: 0.9rem; }
.footer-contact .accent {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 6px;
}
.footer-contact .jarry { color: var(--gold); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; }

.footer-bottom-bar {
  background: var(--ink);
  color: var(--cream-soft);
}
.footer-bottom-bar .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding-block: 24px;
  font-size: 0.85rem;
}
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social span { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.4px; opacity: 0.7; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.footer-social svg { width: 16px; height: 16px; }

@media (min-width: 768px) {
  .footer-ctas { flex-direction: row; max-width: none; }
}
@media (min-width: 1024px) {
  .footer-top { flex-direction: row; justify-content: space-between; }
  .footer-brand { flex: 1; max-width: 500px; }
  .footer-contact { flex-direction: row; gap: 48px; flex: 1; justify-content: flex-end; }
  .footer-bottom-bar .container { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   ===  EXTENSIONS SITE DYNAMIQUE  ==========================================
   Ajouts au CSS de la maquette : accessibilite, navigation multi-pages,
   listing des cuisines, fil d'Ariane, visionneuse d'images.
   ========================================================================== */

/* ---------- Accessibilite ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Les icônes sont dimensionnées par leurs attributs width/height ou par
   les règles de composant (.metric svg, .footer-social svg, …). */
.ico { flex: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Navigation : etat actif + voile mobile ---------- */
.nav-menu a.is-active { color: var(--gold); }
.nav-menu-cta { margin-top: 16px; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 35, 36, .5);
  z-index: 98;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-backdrop.is-visible { opacity: 1; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav-menu-cta { display: none; }
  .nav-backdrop { display: none !important; }
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(245, 237, 227, .75);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(245, 237, 227, .75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-current] { color: var(--gold); }
.breadcrumb--dark, .breadcrumb--dark a { color: var(--neutral-3); }
.breadcrumb--dark a:hover { color: var(--gold); }

/* ---------- En-tete de page interieure ---------- */
.page-header {
  background: var(--cream);
  padding-block: 56px 64px;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 8px;
}
.page-header h1 em { font-style: italic; }
.page-header .lead { max-width: 680px; }
@media (min-width: 768px)  { .page-header h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-header { padding-block: 72px 88px; } .page-header h1 { font-size: 3.75rem; } }

.page-header--404 { text-align: center; }
.page-header--404 .lead { margin-inline: auto; }
.page-header--404 .eyebrow { justify-content: center; }
.page-header--404 .eyebrow::before { display: none; }

/* ---------- Grille de cuisines ---------- */
.cuisines-listing { padding-block: 64px; }

.cuisines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

.cuisine-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(36, 41, 42, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cuisine-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(36, 41, 42, .12);
}
.cuisine-card-media { overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream-soft); }
.cuisine-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cuisine-card:hover .cuisine-card-media img { transform: scale(1.05); }

.cuisine-card-body { padding: 20px 24px 24px; }
.cuisine-card-body h2,
.cuisine-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.cuisine-card-body p {
  color: var(--neutral-2);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.cuisine-card-body .link-arrow { text-align: left; margin-top: 0; }

.empty-state {
  text-align: center;
  color: var(--neutral-3);
  padding-block: 80px;
  font-size: 1.05rem;
}

/* ---------- Galerie : images supplementaires ---------- */
/* Bloc autonome, place apres la mosaique : il ne participe plus a sa grille,
   sinon il en fausserait l'alignement. */
.gallery-extra {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap);
  margin-top: var(--gap);
}
.gallery-extra img { aspect-ratio: 1 / 1; border-radius: var(--radius); object-fit: cover; width: 100%; }

/* Curseur sur les images agrandissables */
.js-zoom { cursor: zoom-in; }

/* ---------- Carrousel : lien sur la carte ---------- */
.product-card a { display: block; position: relative; }
.product-card img { transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }

/* ---------- Liens du pied de page ---------- */
.footer-contact .accent a { color: inherit; }
.footer-contact .accent a:hover { text-decoration: underline; }
.cta-phone a { color: inherit; }

/* ---------- Visionneuse d'images ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 23, 24, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-figure figcaption {
  text-align: center;
  color: var(--cream);
  font-size: .85rem;
  opacity: .8;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(245, 237, 227, .1);
  border: 1px solid rgba(245, 237, 227, .25);
  color: var(--cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(245, 237, 227, .22); }
.lightbox-close svg,
.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 16px; }
.lightbox-next  { right: 16px; }

@media (min-width: 768px) {
  .lightbox-prev { left: 32px; }
  .lightbox-next { right: 32px; }
}

/* ---------- Header : ombre au défilement ---------- */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(36, 41, 42, .10); }

/* ---------- Carrousel : boutons désactivés ---------- */
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.carousel-btn[hidden]   { display: none; }
