:root {
  --lagon: #0b6e78;
  --turq: #2ec4b6;
  --mangue: #ffbe0b;
  --hibiscus: #d62839;
  --corail: #ff7a45;
  --bois: #3d2314;
  --sable: #fff6e5;
  --ink: #1f1a16;
  --muted: #5b4a3d;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(61, 35, 20, .45);
  --madras:
    repeating-linear-gradient(90deg, rgba(214,40,57,.85) 0 14px, transparent 14px 22px, rgba(255,190,11,.9) 22px 30px, transparent 30px 44px, rgba(11,110,120,.75) 44px 50px, transparent 50px 64px),
    repeating-linear-gradient(0deg, rgba(214,40,57,.55) 0 14px, transparent 14px 22px, rgba(255,190,11,.6) 22px 30px, transparent 30px 44px, rgba(11,110,120,.5) 44px 50px, transparent 50px 64px),
    #ff9a3c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sable);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .logo { font-family: "Righteous", system-ui, sans-serif; font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--hibiscus); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 246, 229, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 35, 20, .08);
}
.logo { font-size: 1.7rem; text-decoration: none; color: var(--lagon); margin: 0; }
.logo span { color: var(--hibiscus); margin-left: 2px; }
.nav nav { display: flex; gap: clamp(12px, 2.5vw, 32px); }
.nav nav a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px;
  background: var(--mangue); border-radius: 3px; transition: right .25s ease;
}
.nav nav a:hover::after { right: 0; }
@media (max-width: 680px) { .nav nav { display: none; } }

.cart-btn, .icon-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--lagon); color: #fff;
}
.cart-btn svg, .icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn { background: transparent; color: var(--ink); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 11px; background: var(--mangue); color: var(--ink);
  font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem "Poppins", sans-serif; text-decoration: none;
  transition: background-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--hibiscus); color: #fff; box-shadow: 0 10px 24px -10px var(--hibiscus); }
.btn-primary:hover { background: #b81f2f; }
.btn-ghost { background: #ff5fa2; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: #ff3d8b; }
.btn-stripe { width: 100%; background: #635bff; color: #fff; }
.btn-stripe:hover { background: #4f46e5; }
.btn-stripe svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 5vw, 64px) clamp(48px, 6vw, 96px);
  max-width: 1280px; margin: 0 auto;
}
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--lagon); }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); color: var(--bois); }
h1 em { font-style: normal; color: var(--hibiscus); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.hero-proof strong { display: block; font: 1.8rem "Righteous", sans-serif; color: var(--lagon); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.sun {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--mangue) url("img/hero-bg.webp") center / cover;
  box-shadow: 0 0 0 18px rgba(255, 190, 11, .18), 0 0 0 40px rgba(46, 196, 182, .12);
}
.hero-drum {
  position: relative; width: min(460px, 82vw); aspect-ratio: 1; border-radius: 50%;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.ripple {
  position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1;
  translate: -50% -50%; border-radius: 50%; border: 3px solid #fff; opacity: 0; pointer-events: none;
}
.tap-hint {
  position: absolute; bottom: 4px; font-weight: 600; font-size: .9rem; color: var(--bois);
  background: #fff; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); margin: 0;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 360px; order: -1; }
}

/* MARQUEE */
.marquee { background: var(--madras); border-block: 6px solid var(--bois); overflow: hidden; }
.marquee-track {
  display: flex; width: max-content; gap: 48px; padding: 18px 0;
  animation: scroll 32s linear infinite;
}
.marquee span {
  font: 1.35rem "Righteous", sans-serif; color: #fff; white-space: nowrap;
  text-shadow: 0 2px 0 var(--bois), 0 0 12px rgba(61,35,20,.6);
}
.marquee span::after { content: "✦"; margin-left: 48px; color: var(--mangue); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2, .final-cta h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--bois); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.note { font-style: italic; font-size: .9rem !important; }
.grid { display: grid; gap: 24px; }

/* ATELIER */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 8px solid var(--turq); }
.step img { width: calc(100% + 64px); margin: -32px -32px 20px; height: 220px; object-fit: cover; display: block; }
.step:nth-child(2) { border-color: var(--mangue); }
.step:nth-child(3) { border-color: var(--hibiscus); }
.step-num { font: 3rem "Righteous", sans-serif; color: rgba(11, 110, 120, .18); display: block; line-height: 1; }
.step h3 { font-size: 1.6rem; margin-top: 8px; color: var(--lagon); }
.step p { color: var(--muted); margin: 0; }

/* SHOP */
.shop { max-width: none; background: linear-gradient(180deg, var(--sable), #ffe9c2); }
.shop > * { max-width: 1152px; margin-inline: auto; }
.products { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.accessories { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sub-head { font-size: 1.6rem; margin: 64px auto 24px; color: var(--bois); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card-visual {
  display: grid; place-items: center; height: 240px; position: relative;
  background: var(--card-bg, var(--turq));
}
.card-visual::before {
  content: ""; position: absolute; inset: 0; background: var(--madras); opacity: .18;
}
.card-photo { height: 300px; background: var(--bois); overflow: hidden; }
.card-photo::before { display: none; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-visual svg { position: relative; height: 78%; width: auto; filter: drop-shadow(0 14px 10px rgba(0,0,0,.25)); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--ink); color: #fff;
  font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.7rem; margin-bottom: 4px; color: var(--bois); }
.card-tag { color: var(--hibiscus); font-weight: 600; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: .95rem; }
.specs { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { background: var(--sable); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 500; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 1.8rem "Righteous", sans-serif; color: var(--lagon); }
.card .btn { min-height: 48px; padding: 0 20px; }

.acc .card-visual { height: 140px; }
.acc .card-visual svg { height: 64%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.acc .card-body h3 { font-size: 1.3rem; }

/* SUR-MESURE */
.gallery {
  display: grid; gap: 16px; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px;
}
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery .g-big { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .5s ease; }
.gallery figure:hover img { scale: 1.05; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255,246,229,.92);
  padding: 4px 12px; border-radius: 999px; font-weight: 600; font-size: .85rem;
}
.gallery figure:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery .g-big, .gallery figure:nth-child(4) { grid-column: span 2; grid-row: auto; }
}
.services { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.service { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-left: 8px solid var(--hibiscus); }
.service img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; margin-bottom: 16px; }
.service h3 { font-size: 1.5rem; color: var(--lagon); }
.service p { color: var(--muted); margin: 0; }
.insta-cta { text-align: center; margin: 40px 0 0; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; display: block; margin: 0 auto 12px; }

/* WHY */
.why-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-card { padding: 28px; border-radius: var(--radius); background: var(--lagon); color: #fff; }
.why-card:nth-child(2) { background: var(--hibiscus); }
.why-card:nth-child(3) { background: var(--bois); }
.why-card:nth-child(4) { background: var(--mangue); color: var(--ink); }
.why-card svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.why-card h3 { font-size: 1.4rem; }
.why-card p { margin: 0; opacity: .92; }

/* REVIEWS */
.review-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review { margin: 0; background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.review::before { content: "“"; position: absolute; top: -18px; left: 20px; font: 5rem/1 "Righteous", sans-serif; color: var(--mangue); }
.review blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.review figcaption { font-weight: 600; color: var(--lagon); }

/* FAQ */
.faq-list { max-width: 800px; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; padding: 4px 24px; box-shadow: 0 6px 18px -12px rgba(61,35,20,.4); }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 1.6rem/1 "Righteous", sans-serif; color: var(--hibiscus); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* FINAL CTA */
.final-cta {
  text-align: center; padding: clamp(64px, 9vw, 112px) 20px;
  background: radial-gradient(circle at 50% 120%, var(--mangue), transparent 60%), var(--lagon);
  color: #fff;
}
.final-cta h2 { color: #fff; }
.final-cta p { font-size: 1.1rem; opacity: .92; }

/* FOOTER */
.footer { text-align: center; padding: 40px 20px; background: var(--bois); color: #f4e2c0; }
.footer .logo { color: var(--turq); display: inline-block; margin-bottom: 8px; }
.small { font-size: .85rem; opacity: .8; }

/* DRAWER & MODAL */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(31, 26, 22, .55); }
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(420px, 100vw);
  background: var(--sable); display: none; flex-direction: column;
}
.drawer[open] { display: flex; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(61,35,20,.1); }
.drawer-head h2 { margin: 0; font-size: 1.6rem; }
.cart-items { list-style: none; margin: 0; padding: 12px 24px; overflow-y: auto; flex: 1; }
.cart-items li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed rgba(61,35,20,.2); }
.cart-items .name { font-weight: 600; }
.cart-items .line-price { font-weight: 600; color: var(--lagon); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bois); background: #fff;
  cursor: pointer; font-weight: 700; line-height: 1;
}
.remove { background: none; border: 0; color: var(--hibiscus); cursor: pointer; font-size: .85rem; text-decoration: underline; justify-self: end; }
.cart-empty { padding: 24px; color: var(--muted); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid rgba(61,35,20,.1); background: #fff; }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 4px; }
.total strong { font: 1.6rem "Righteous", sans-serif; color: var(--bois); }
.drawer-foot .btn { margin-top: 12px; }
.drawer-foot .btn:disabled { opacity: .45; cursor: not-allowed; }

.modal { width: min(460px, calc(100vw - 32px)); border-radius: var(--radius); padding: 32px; background: #fff; }
.modal h2 { font-size: 1.8rem; }
.demo-badge { display: inline-block; background: #eef; color: #4f46e5; font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.modal .btn { width: 100%; margin-top: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 50;
  background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 500;
  opacity: 0; pointer-events: none;
}

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