/* ========================================================================
   Chris Guitars — Design system Apple-style
   © 2026 — Refonte du site chrisguitars.ch
   ======================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs */
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --surface-dark: #1d1d1f;
  --surface-darker: #000000;
  --text: #1d1d1f;
  --text-soft: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --accent: #2997ff;
  --accent-hover: #0077ed;
  --accent-soft: rgba(41, 151, 255, 0.12);
  --gold: #f5c518;
  --danger: #d70015;
  --success: #34c759;

  /* Ombres */
  --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.18);

  /* Rayons */
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 980px;

  /* Layout */
  --container: 1280px;
  --container-narrow: 980px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);

  /* Typo */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Easing Apple */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.32, 0.72, 0, 1);

  /* Header */
  --nav-h: 80px;
}

/* ---------- 2. Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }

/* Typo */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; }
h4 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }
p  { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }
small { font-size: 13px; color: var(--muted); }

/* Skip-link a11y */
.skip {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 1000;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* Focus a11y */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Utilitaires */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.muted { color: var(--muted); }
.text-center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover { background: var(--accent-soft); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  transition: gap 0.2s var(--ease);
}
.link-arrow::after {
  content: "›";
  font-size: 1.4em;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 4. Header / nav sticky ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-brand img { height: 56px; width: auto; }
/* nav-brand-mark : retiré du DOM, on conserve la classe au cas où elle resterait quelque part */
.nav-brand-mark { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 13px;
  color: var(--text);
  opacity: 0.86;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a.nav-cta,
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  opacity: 1 !important;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.nav-links a.nav-cta:hover,
.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; opacity: 1 !important; }

.nav-burger {
  display: none;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
}
.nav-burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0; width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.2s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after  { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  /* Hero moins haut sur mobile (évite le grand vide) */
  .hero { min-height: 68vh; }
  .hero-compact { min-height: 44vh; }
  /* Header non-sticky + sans backdrop-filter (sinon le menu fixed se cale sur le header) */
  .site-header {
    position: static;
    background: var(--surface-soft);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--surface-soft);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 96px var(--gutter) 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav-burger { display: flex; position: relative; z-index: 95; }
}

/* ---------- 5. Hero plein écran ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  background: var(--surface-darker);
}
.hero-compact { min-height: 56vh; }
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero-bg picture {
  display: block;
  width: 100%; height: 100%;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.78) 100%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 100px var(--gutter) clamp(60px, 10vw, 120px);
}
.hero h1 {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 18ch;
}
.hero p.lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 6. Sections génériques ---------- */
.section {
  padding-block: var(--section-y);
}
.section-soft  { background: var(--surface-soft); }
.section-dark  { background: var(--surface-dark); color: #fff; }
.section-dark .muted { color: rgba(255,255,255,0.6); }
.section-dark .eyebrow { color: var(--accent); }

.section-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-head p { font-size: 18px; color: var(--text-soft); }
.section-dark .section-head p { color: rgba(255,255,255,0.74); }

/* ---------- 7. Bento grid (4 piliers) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.bento-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  isolation: isolate;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-card-img {
  position: absolute; inset: 0;
  z-index: -2;
  background: #1a1a1a; /* fallback foncé si l'image ne charge pas */
}
.bento-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-card:hover .bento-card-img img { transform: scale(1.05); }
.bento-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.92) 100%);
  z-index: -1;
}
.bento-card-body {
  padding: 32px;
}
.bento-card-body .eyebrow { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }
.bento-card h3 { color: #fff; margin-bottom: 8px; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.bento-card p { color: rgba(255,255,255,0.94); margin-bottom: 16px; font-size: 15px; line-height: 1.55; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }

/* Layout 4 piliers : 1 large + 3 carrés */
.bento-12 { grid-column: span 12; }
.bento-8  { grid-column: span 8; }
.bento-6  { grid-column: span 6; }
.bento-4  { grid-column: span 4; }
@media (max-width: 880px) {
  .bento-8, .bento-6, .bento-4 { grid-column: span 12; }
  .bento-card { min-height: 320px; }
}

/* ---------- 8. Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-reverse .split-img { order: 2; }
.split-body p { font-size: 18px; color: var(--text-soft); margin-bottom: 1em; }
.section-dark .split-body p { color: rgba(255,255,255,0.78); }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-img { order: 0; }
}

/* ---------- 9. Cards produits ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.product-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-img {
  aspect-ratio: 4 / 3;
  background: var(--surface-soft);
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body {
  padding: 22px 22px 24px;
}
.product-card-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--text);
}
.product-card-meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 600;
}
.price-now { color: var(--accent); font-size: 18px; }
.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 400;
}
.product-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--text);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.product-card-badge.sold {
  background: var(--danger);
}

/* ---------- 10. Testimonial ---------- */
.testimonial {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 56px);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
  text-align: center;
}
.testimonial-quote {
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}
.testimonial-cite { color: rgba(255,255,255,0.74); font-size: 14px; }
.testimonial-cite strong { color: #fff; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { content: "×"; transform: rotate(0deg); }
.faq details > div { padding-top: 14px; color: var(--text-soft); font-size: 16px; line-height: 1.6; }

/* ---------- 12. Closing CTA ---------- */
.closing-cta {
  position: relative;
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  text-align: center;
  background: var(--surface-soft);
  overflow: hidden;
  isolation: isolate;
}
.closing-cta::before {
  content: "";
  position: absolute;
  inset: -20% -20% auto -20%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 60%);
  z-index: -1;
}
.closing-cta h2 { max-width: 18ch; margin-inline: auto; }
.closing-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 13px;
  padding: 48px var(--gutter) 24px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin-inline: auto;
  margin-bottom: 32px;
}
.footer-grid h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { max-width: 38ch; line-height: 1.5; }
.footer-bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 14. Form contact ---------- */
.form {
  display: grid;
  gap: 18px;
  max-width: 640px;
  margin-inline: auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: grid; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: 14px; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* Honeypot anti-spam */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; height: 0; width: 0; }

/* ---------- 15. Tableau spec produit ---------- */
.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 28px;
  font-size: 15px;
  margin: 16px 0 28px;
}
.spec dt { font-weight: 500; color: var(--muted); }
.spec dd { margin: 0; color: var(--text); }
.spec-section { margin-block: 28px; }
.spec-section h3 { font-size: 18px; font-weight: 600; margin-bottom: 14px; color: var(--text); }

/* ---------- 16. Galerie produit ---------- */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(360px, 56vh, 620px);
  background: var(--surface-soft);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  display: block;
}
.gallery-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  cursor: zoom-in;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery-zoom:hover { background: rgba(0, 0, 0, 0.8); transform: scale(1.06); }
.gallery-zoom svg { width: 20px; height: 20px; }

.gallery-thumbs {
  display: flex; flex-wrap: wrap; gap: 10px;
  list-style: none; margin: 0; padding: 0;
}
.gallery-thumb {
  width: 72px; height: 72px;
  padding: 0; border: 2px solid transparent;
  border-radius: 12px; overflow: hidden;
  background: var(--surface-soft); cursor: pointer;
  opacity: 0.65;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--accent); opacity: 1; }

/* Lightbox plein écran */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: clamp(12px, 4vw, 56px);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 8px; user-select: none;
}
.lightbox-btn {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-close { top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85); font-size: 14px; letter-spacing: 0.03em;
}
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 24px; }
  .gallery-thumb { width: 60px; height: 60px; }
}

/* Specs en grille 2 colonnes (cartes) */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px) clamp(28px, 4vw, 56px);
  align-items: start;
}
.spec-grid .spec-section {
  margin-block: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.spec-grid .spec { margin-bottom: 0; }
@media (max-width: 760px) {
  .spec-grid { grid-template-columns: 1fr; }
}

/* Layout fiche produit */
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-top: clamp(24px, 4vw, 48px);
}
.product-buy {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.product-buy h1 { font-size: clamp(28px, 3.4vw, 38px); }
.product-price-row {
  display: flex; align-items: baseline; gap: 12px;
  margin: 12px 0 24px;
}
.product-price-row .price-now { font-size: 28px; }
.product-price-row .price-old { font-size: 18px; }
.product-actions { display: grid; gap: 10px; }
@media (max-width: 880px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-buy { position: static; }
}

/* ---------- 17. Breadcrumb ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 8px; opacity: 0.6; }

/* ---------- 18. Animations reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].is-visible { transition-delay: 0.08s; }
[data-reveal-delay="2"].is-visible { transition-delay: 0.16s; }
[data-reveal-delay="3"].is-visible { transition-delay: 0.24s; }
[data-reveal-delay="4"].is-visible { transition-delay: 0.32s; }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
}

/* ---------- 20. Sélection (Apple style) ---------- */
::selection { background: var(--accent); color: #fff; }

/* ---------- 21. Lede éditorial doux ---------- */
.lede-soft {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-soft);
}
.lede-soft + .lede-soft { font-size: clamp(17px, 1.4vw, 18px); }

/* ---------- 22. Stats strip (trust signals) ---------- */
.stats-strip {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 60px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-item { text-align: center; }
.stat-item-num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-item-num em {
  color: var(--accent);
  font-style: normal;
}
.stat-item-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
@media (max-width: 760px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ---------- 23. Service cards (atelier) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Photo en header de service-card (ex: programme jour par jour) */
.service-card-photo {
  margin: calc(-1 * clamp(28px, 3vw, 40px)) calc(-1 * clamp(28px, 3vw, 40px)) 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--surface-soft);
}
.service-card-photo img,
.service-card-photo picture { display: block; width: 100%; height: 100%; }
.service-card-photo img { object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card-photo img { transform: scale(1.05); }
.service-card-num {
  position: absolute;
  top: 28px; right: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.service-card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card-icon svg { width: 26px; height: 26px; }
.service-card .eyebrow { margin-bottom: 8px; }
.service-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin-bottom: 8px;
  color: var(--text);
}
.service-card-tagline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.service-card-list li {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.service-card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- 24. Process flow (étapes numérotées) ---------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  list-style: none;
}
.process-step {
  position: relative;
  padding-top: 28px;
  margin: 0;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.process-step-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.process-step h3 {
  font-size: clamp(19px, 2vw, 22px);
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.process-step p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 880px) {
  .process-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process-flow { grid-template-columns: 1fr; }
}

/* ---------- 25. Pull quote (citation forte) ---------- */
.pull-quote {
  max-width: 880px;
  margin: clamp(40px, 6vw, 80px) auto 0;
  padding-inline: var(--gutter);
  text-align: center;
}
.pull-quote-text {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 16px;
  text-wrap: balance;
}
.section-dark .pull-quote-text { color: #fff; }
.pull-quote-text::before { content: "« "; color: var(--accent); }
.pull-quote-text::after  { content: " »"; color: var(--accent); }
.pull-quote-cite {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.section-dark .pull-quote-cite { color: rgba(255,255,255,0.6); }
.pull-quote-cite::before {
  content: "—";
  margin-right: 8px;
  opacity: 0.6;
}

/* ---------- 26. Amp grid (Salon VIP) ---------- */
.amp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  list-style: none;
}
.amp-tile {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.amp-tile:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(41, 151, 255, 0.4);
}
.amp-tile-name {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.amp-tile-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .amp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .amp-grid { grid-template-columns: 1fr; }
}

/* ---------- Barre d'infos (haut de page) ---------- */
.topbar {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 7px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 14px;
}
.topbar a { color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.2s var(--ease); }
.topbar a:hover { color: #fff; }
.topbar-sep { color: rgba(255, 255, 255, 0.3); }
@media (max-width: 600px) {
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 4px 10px; }
}

/* ---------- Bandeau cookies / consentement ---------- */
.cookie-banner {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: flex-end;
  background: rgba(0, 0, 0, 0.4);
  animation: cookie-fade 0.25s var(--ease);
}
@keyframes cookie-fade { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  width: 100%;
  background: var(--surface); color: var(--text);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.16);
  animation: cookie-slide 0.3s var(--ease);
}
@keyframes cookie-slide { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-modal-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 22px var(--gutter);
  display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap;
}
.cookie-modal-text { flex: 1 1 340px; }
.cookie-modal h3 { margin: 0 0 4px; font-size: 17px; }
.cookie-modal p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.cookie-modal a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner .btn { padding: 10px 22px; white-space: nowrap; }
.cookie-decline {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.cookie-decline:hover { background: var(--surface-soft); }
@media (max-width: 640px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}
