/* ============================================================
   smart974.re — Feuille de styles partagée
   Charte : noir profond + lagon + soleil
   Polices : Bricolage Grotesque (display) + Geist (texte)
   ============================================================ */

/* ----------------------------------------------------------
   1. Variables & Reset
   ---------------------------------------------------------- */
:root {
  --bg: #0c0e0d;
  --bg-soft: #161816;
  --ink: #f5f3ee;
  --ink-dim: #a8a8a0;
  --lagon: #00d4a8;
  --lagon-deep: #008c6e;
  --soleil: #ffd23f;
  --corail: #ff6b4a;
  --line: rgba(245, 243, 238, 0.12);
  --radius: 18px;
  color-scheme: light dark;
}

/* Mode clair — suit la préférence système (prefers-color-scheme).
   Pas de bouton, pas de stockage : on redéfinit uniquement les tokens neutres.
   Les couleurs de marque (lagon/soleil/corail) restent identiques, sauf le
   lagon assombri pour un contraste suffisant en texte sur fond clair. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f1ea;
    --bg-soft: #ffffff;
    --ink: #161816;
    --ink-dim: #5c5c54;
    --lagon: #008c6e;
    --line: rgba(20, 22, 21, 0.12);
  }
  /* Le footer reste sombre dans les deux modes : on fige son texte en clair
     (sinon var(--ink) devient sombre => invisible sur fond noir). */
  footer { background: #0c0e0d; }
  footer ul li a,
  .footer-bottom,
  .legal-note { color: #a8a8a0; }
  footer ul li a { color: #f5f3ee; }
  footer h5 { color: #a8a8a0; }
  footer .logo { color: #f5f3ee; }
  footer ul li a:hover { color: var(--lagon); }
  /* Le footer étant sombre, ses filets gardent la teinte claire d'origine */
  footer,
  .footer-bottom { border-color: rgba(245, 243, 238, 0.12); }
  /* Sélecteur de grade : tint sombre trop lourd sur fond clair */
  .grade-selector { background: rgba(0, 0, 0, 0.06); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* ----------------------------------------------------------
   2. Header (nav partagée)
   ---------------------------------------------------------- */
.site-header {
  padding: 22px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--lagon);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-6deg);
}
.logo-974 { color: var(--lagon); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  opacity: .8;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s;
}
.nav-cta:hover { transform: scale(1.04); }

/* ----------------------------------------------------------
   3. Boutons
   ---------------------------------------------------------- */
.btn-primary {
  background: var(--lagon);
  color: #000;
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
}
.btn-primary:hover {
  background: var(--soleil);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 168, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ----------------------------------------------------------
   4. Hero (landing)
   ---------------------------------------------------------- */
.hero {
  padding: 80px 6vw 100px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 168, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.badge-974 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 28px;
  color: var(--ink-dim);
}
.badge-974 strong { color: var(--lagon); font-weight: 600; }

h1.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--lagon); font-style: italic; font-weight: 600; }
.hero p.lede {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 480px;
  margin-bottom: 36px;
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.price-now {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--soleil);
  letter-spacing: -0.03em;
}
.price-from-hero { font-size: 16px; color: var(--ink-dim); }
.price-tag-ttc {
  background: var(--soleil);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: center;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 12pt;
  filter: drop-shadow(0 30px 60px rgba(0, 212, 168, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(-3deg); }
}
.phone-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-glow {
  position: absolute;
  width: 110%; height: 110%;
  background: radial-gradient(circle, rgba(255, 210, 63, 0.15), transparent 60%);
  z-index: -1;
}

/* ----------------------------------------------------------
   5. Garanties (bandeau 4 colonnes)
   ---------------------------------------------------------- */
.guarantees {
  padding: 60px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.g-item h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.g-item p { color: var(--ink-dim); font-size: 14px; }
.g-icon {
  width: 38px; height: 38px;
  background: var(--lagon);
  color: #000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 18px;
}

/* ----------------------------------------------------------
   6. Section titles
   ---------------------------------------------------------- */
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1;
}
.section-sub {
  color: var(--ink-dim);
  font-size: 16px;
  margin-bottom: 60px;
  max-width: 520px;
}

/* ----------------------------------------------------------
   7. Cartes modèles (landing simplifiée — 3 cartes)
   ---------------------------------------------------------- */
.models { padding: 100px 6vw; }
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.model-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.model-card:hover {
  transform: translateY(-6px);
  border-color: var(--lagon);
}
.model-card.featured {
  border-color: var(--lagon);
  background: linear-gradient(180deg, rgba(0, 212, 168, 0.06), var(--bg-soft));
}
.model-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--soleil);
  color: #000;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Image produit dans la carte */
.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f5f3ee;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s;
}

/* Color dots cliquables */
.color-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.color-dots span {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform .15s ease;
}
.color-dots span:hover { transform: scale(1.2); }
.color-dots span.active {
  border-color: var(--lagon);
  box-shadow: 0 0 0 2px var(--bg-soft), 0 0 0 3px var(--lagon);
}

.model-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.model-card .specs {
  color: var(--ink-dim);
  font-size: 13px;
  margin-bottom: 18px;
}

/* Sélecteur Grade A/B en bouton radio */
.grade-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
}
.grade-option {
  padding: 10px 8px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
  font-size: 12px;
  position: relative;
}
.grade-option-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 2px;
}
.grade-option-warranty {
  font-size: 11px;
  color: var(--ink-dim);
  display: block;
}
.grade-option.active {
  background: var(--lagon);
  color: #000;
}
.grade-option.active .grade-option-warranty { color: rgba(0, 0, 0, 0.7); }

/* Prix dynamique */
.price-line { margin-top: auto; margin-bottom: 18px; }
.price-line .price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--soleil);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: opacity .15s;
}
.price-line .ttc { font-size: 14px; color: var(--ink-dim); margin-left: 4px; }
.price-line .ship { font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.price-line .ship strong { color: var(--ink); font-weight: 500; }

.model-card .card-cta {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background .2s;
}
.model-card.featured .card-cta { background: var(--lagon); color: #000; font-weight: 600; }
.model-card .card-cta:hover { background: var(--soleil); color: #000; }

/* ----------------------------------------------------------
   8. Process reconditionné
   ---------------------------------------------------------- */
.recond { padding: 100px 6vw; background: var(--bg-soft); border-top: 1px solid var(--line); }
.recond-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.recond ol { list-style: none; counter-reset: step; }
.recond ol li {
  counter-increment: step;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
}
.recond ol li:last-child { border-bottom: 1px solid var(--line); }
.recond ol li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--lagon);
}
.recond ol li h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.recond ol li p { color: var(--ink-dim); font-size: 14px; }

/* ----------------------------------------------------------
   9. CTA final
   ---------------------------------------------------------- */
.final-cta { padding: 120px 6vw; text-align: center; position: relative; }
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 212, 168, 0.12), transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 24px;
  position: relative;
}
.final-cta h2 .italic { font-style: italic; font-weight: 600; color: var(--lagon); }
.final-cta p { color: var(--ink-dim); font-size: 18px; margin-bottom: 40px; position: relative; }
.final-cta .btn-primary { position: relative; }

/* ----------------------------------------------------------
   10. Page produit — Hero produit
   ---------------------------------------------------------- */
.breadcrumb {
  padding: 20px 6vw;
  font-size: 13px;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--lagon); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--ink); }

.product-hero {
  padding: 60px 6vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.product-gallery {
  position: sticky;
  top: 20px;
}
.product-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f3ee;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-top: 10px; }
.product-info .eyebrow {
  color: var(--lagon);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-info h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.product-info .description {
  color: var(--ink-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-selectors {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.selector-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  margin-bottom: 10px;
}
.selector-group { margin-bottom: 20px; }
.selector-group:last-child { margin-bottom: 0; }

.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.product-price {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--soleil);
  letter-spacing: -0.03em;
  line-height: 1;
}
.product-price-warranty {
  color: var(--ink-dim);
  font-size: 14px;
  margin-bottom: 24px;
}
.product-price-warranty strong { color: var(--lagon); font-weight: 600; }

.product-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--lagon);
  color: #000;
  padding: 20px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
}
.product-cta:hover {
  background: var(--soleil);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 168, 0.3);
}

.product-shipping-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-dim);
}
.product-shipping-note strong { color: var(--ink); font-weight: 500; }

/* Color dots dans la page produit (plus grands) */
.product-info .color-dots span {
  width: 32px; height: 32px;
  border: 2px solid var(--line);
}

/* Sélecteur grade dans la page produit (plus large) */
.product-info .grade-selector { background: var(--bg); }

/* ----------------------------------------------------------
   11. Page produit — Sections additionnelles
   ---------------------------------------------------------- */
.product-details {
  padding: 80px 6vw;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.details-block h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--line);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 14px 0;
  font-size: 14px;
}
.specs-table td:first-child {
  color: var(--ink-dim);
  width: 45%;
}
.specs-table td:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.included-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.included-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  padding: 12px 16px;
  background: rgba(0, 212, 168, 0.06);
  border-radius: 10px;
}
.included-list li::before {
  content: '✓';
  color: var(--lagon);
  font-weight: 800;
  font-size: 16px;
  text-align: center;
}

/* ----------------------------------------------------------
   12. Page produit — FAQ
   ---------------------------------------------------------- */
.faq-section { padding: 80px 6vw; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--ink);
  padding: 22px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--lagon);
  transition: transform .25s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 22px;
}

/* ----------------------------------------------------------
   13. Footer
   ---------------------------------------------------------- */
footer { background: #000; padding: 60px 6vw 30px; border-top: 1px solid var(--line); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
footer h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--ink-dim);
  font-weight: 600;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  opacity: .8;
}
footer ul li a:hover { opacity: 1; color: var(--lagon); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-dim);
}
.legal-note {
  background: rgba(255, 107, 74, 0.08);
  border: 1px solid rgba(255, 107, 74, 0.3);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--ink-dim);
  line-height: 1.6;
}
.legal-note strong { color: var(--corail); }

/* ----------------------------------------------------------
   14. Responsive
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 50px 6vw 70px; }
  .phone-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .g-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .model-grid { grid-template-columns: 1fr; }
  .recond-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .product-hero { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .details-grid { grid-template-columns: 1fr; gap: 50px; }
  .nav-links { display: none; }
}
@media (max-width: 500px) {
  .g-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .price-now { font-size: 42px; }
}

/* ----------------------------------------------------------
   15. Navigation prev/next entre modèles (page produit)
   ---------------------------------------------------------- */
.product-nav {
  padding: 40px 6vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  font-size: 14px;
}
.product-nav a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.8;
  transition: all .2s;
  padding: 8px 0;
}
.product-nav a:hover {
  opacity: 1;
  color: var(--lagon);
}

/* ----------------------------------------------------------
   16. Pages légales (mentions, CGV, confidentialité)
   ---------------------------------------------------------- */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 6vw 90px;
}
.legal-page .eyebrow {
  color: var(--lagon);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.legal-page h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.legal-page .updated { color: var(--ink-dim); font-size: 13px; margin-bottom: 48px; }
.legal-page h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
}
.legal-page h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
}
.legal-page p,
.legal-page li { color: var(--ink-dim); font-size: 15px; line-height: 1.7; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 14px 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page a { color: var(--lagon); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-page .todo {
  color: var(--corail);
  font-weight: 600;
  background: rgba(255, 107, 74, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}
.legal-page .info-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.legal-page .info-block p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------
   17. Bandeau de consentement cookies
   ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 999;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.cookie-banner p { font-size: 13px; color: var(--ink-dim); flex: 1 1 280px; margin: 0; line-height: 1.55; }
.cookie-banner p a { color: var(--lagon); text-decoration: none; }
.cookie-banner p a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.cookie-btn:hover { border-color: var(--ink); }
.cookie-btn.accept {
  background: var(--lagon);
  color: #000;
  border-color: var(--lagon);
  font-weight: 600;
}
.cookie-btn.accept:hover { background: var(--soleil); border-color: var(--soleil); }

/* ----------------------------------------------------------
   18. Animations — scroll-reveal & zoom image produit
   ---------------------------------------------------------- */
/* Conditionné à .js (posé par un script synchrone) : sans JS, le contenu
   reste visible — pas de page blanche si le script échoue. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.product-main-img img { transition: transform .4s ease; }
.product-main-img:hover img { transform: scale(1.06); }

/* Accessibilité : on respecte la réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .hero-img { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .product-main-img:hover img { transform: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------
   19. Page de confirmation post-paiement (merci.html)
   ---------------------------------------------------------- */
.thanks {
  padding: 90px 6vw 110px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.thanks::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center top, rgba(0, 212, 168, 0.12), transparent 60%);
  pointer-events: none;
}
.thanks .check {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--lagon);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  margin: 0 auto 28px;
  box-shadow: 0 14px 40px rgba(0, 212, 168, 0.35);
  position: relative;
}
.thanks h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}
.thanks .lede {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}
.thanks-steps {
  list-style: none;
  text-align: left;
  display: grid;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto 36px;
  position: relative;
  counter-reset: thanks-step;
}
.thanks-steps li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14px;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: center;
  color: var(--ink-dim);
}
.thanks-steps li strong { color: var(--ink); font-weight: 600; }
.thanks-steps li::before {
  content: counter(thanks-step);
  counter-increment: thanks-step;
  width: 26px; height: 26px;
  background: rgba(0, 212, 168, 0.14);
  color: var(--lagon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 12px;
}
.thanks .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.thanks .contact-note {
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-dim);
  position: relative;
}
.thanks .contact-note a { color: var(--lagon); text-decoration: none; }
.thanks .contact-note a:hover { text-decoration: underline; }
