/* ============================================================================
 *  AP × SWATCH DZ — Design v3 « POP »
 *  Clair, coloré, énergique : fond blanc, bleu électrique, cartes pastel
 *  de la couleur de chaque montre, gros titres, boutons pilule noirs.
 * ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --ink: #101014;
  --ink-soft: #62626e;
  --line: #e8e8ef;
  --accent: #3d3bf3;        /* bleu électrique */
  --accent-dark: #2c2ac2;
  --accent-soft: #ecebfe;
  --yellow: #ffc531;
  --pink: #ff5c8a;
  --green: #21c07a;
  --wa: #25d366;
  --wa-dark: #1da851;
  --danger: #e5484d;
  --radius: 14px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(16, 16, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 16, 20, 0.14);
  --maxw: 1200px;
  --font-display: "Space Grotesk", "Cairo", sans-serif;
  --font-body: "Inter", "Cairo", system-ui, sans-serif;
}

html[dir="rtl"] {
  --font-display: "Cairo", sans-serif;
  --font-body: "Cairo", system-ui, sans-serif;
}

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

/* l'attribut hidden doit toujours gagner sur nos display:flex/grid */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }

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

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--pill); font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(16, 16, 20, 0.22); }
.btn--primary:hover { background: var(--accent); box-shadow: 0 12px 30px rgba(61, 59, 243, 0.35); }
.btn--primary:disabled { background: #c9c9d2; color: #f2f2f5; box-shadow: none; cursor: not-allowed; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn--wa:hover { background: var(--wa-dark); }
.wa-svg { flex: none; }
.btn--icon {
  padding: 0; width: 48px; flex: none; border: 2px solid var(--line); border-radius: var(--radius);
  color: var(--ink-soft); display: grid; place-items: center; transition: 0.2s;
}
.btn--icon:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------- Kicker chip */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  padding: 8px 16px; border-radius: var(--pill); margin-bottom: 20px;
}
.kicker::before { content: "●"; font-size: 0.6rem; }

/* ------------------------------------------------------------- Announce */
.announce {
  background: var(--accent); color: #fff; text-align: center;
  font-size: 0.85rem; font-weight: 600; padding: 10px 16px;
}

/* ------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 4px 12px rgba(61, 59, 243, 0.35);
}
.logo__mark span { width: 10px; height: 10px; background: var(--yellow); border-radius: 2px; transform: rotate(45deg); }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }

.nav { display: flex; gap: 4px; }
.nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--pill); transition: 0.15s;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  font-weight: 700; font-size: 0.85rem; padding: 9px 16px; border-radius: var(--pill);
  border: 2px solid var(--line); transition: 0.2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; transition: 0.2s;
}
.cart-btn:hover { background: var(--accent); }
.cart-btn.bump { animation: bump 0.4s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(0.94); } 100% { transform: scale(1); } }
.cart-count {
  position: absolute; top: -5px; inset-inline-end: -5px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--yellow); color: var(--ink); font-size: 0.7rem; font-weight: 800; border-radius: var(--pill);
  display: none; align-items: center; justify-content: center; border: 2px solid #fff;
}
.burger { display: none; flex-direction: column; gap: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 2px solid var(--line); border-radius: 50%; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: 0.55; }
.hero__glow--1 { width: 480px; height: 480px; top: -160px; inset-inline-end: -80px; background: #dcdbff; }
.hero__glow--2 { width: 380px; height: 380px; bottom: -180px; inset-inline-start: -120px; background: #ffefc4; }
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: 40px; padding-top: 72px; padding-bottom: 88px;
}
.hero__title { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.hero__title mark {
  background: linear-gradient(120deg, transparent 0 4%, var(--yellow) 4% 96%, transparent 96%);
  color: inherit; padding: 0 8px; border-radius: 6px; box-decoration-break: clone;
}
.hero__sub { margin-top: 20px; font-size: 1.08rem; color: var(--ink-soft); max-width: 540px; }
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 14px 24px;
  display: flex; flex-direction: column; min-width: 128px;
}
.stat strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.stat strong i { font-style: normal; color: var(--yellow); font-size: 1.1rem; }
.stat span { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 400px; }
.hero__visual::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 36% 64% 55% 45% / 48% 42% 58% 52%;
  background: linear-gradient(140deg, var(--accent) 0%, #7a78ff 55%, var(--pink) 130%);
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob {
  0%   { border-radius: 36% 64% 55% 45% / 48% 42% 58% 52%; }
  100% { border-radius: 58% 42% 40% 60% / 42% 58% 46% 54%; }
}
.hero__watch {
  position: relative; z-index: 2; width: min(340px, 76%);
  filter: drop-shadow(0 34px 50px rgba(20, 18, 60, 0.45));
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.hero__orbit {
  position: absolute; z-index: 1; width: 105%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.5); animation: spin 40s linear infinite;
}
.hero__orbit--2 { width: 122%; border-color: rgba(61, 59, 243, 0.18); animation-duration: 70s; animation-direction: reverse; }
.hero__orbit::before {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px;
  border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 197, 49, 0.3);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- Marquee */
.marquee { overflow: hidden; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 26s linear infinite; direction: ltr; }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
.marquee__seq { display: flex; flex: none; }
.marquee__seq i {
  font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; padding: 13px 0; white-space: nowrap; display: flex; align-items: center;
}
html[dir="rtl"] .marquee__seq i { letter-spacing: 0; text-transform: none; }
.marquee__seq i::after { content: "✦"; color: var(--yellow); margin: 0 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- Sections */
.section { padding: 92px 0; }
.section--line { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 52px; }
.section__num {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--accent); background: var(--accent-soft);
  padding: 6px 14px; border-radius: var(--pill); margin-bottom: 14px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section__sub { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }

/* ------------------------------------------------------------- Filters */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 11px 22px; border-radius: var(--pill); font-size: 0.9rem; font-weight: 600;
  color: var(--ink-soft); border: 2px solid var(--line); background: #fff; transition: 0.2s;
}
.filter-btn:hover { color: var(--ink); border-color: #cfcfdb; }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------------------- Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card--out { opacity: 0.62; }
.card__media {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 22px; cursor: pointer;
  background: var(--bg-alt); /* remplacé par la teinte pastel du modèle via JS */
}
.watch-svg { width: 76%; height: 76%; filter: drop-shadow(0 16px 22px rgba(16, 16, 20, 0.22)); transition: transform 0.35s; }
.card:hover .watch-svg { transform: scale(1.06) rotate(-3deg); }
.watch-photo { width: 100%; height: 100%; object-fit: cover; }

.tag {
  position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--pill); color: var(--ink); background: #fff;
  box-shadow: 0 4px 12px rgba(16, 16, 20, 0.12);
}
html[dir="rtl"] .tag { letter-spacing: 0; text-transform: none; }
.tag--new { background: var(--green); color: #fff; }
.tag--promo { background: var(--pink); color: #fff; }
.tag--limited { background: var(--yellow); color: var(--ink); }
.tag--discount { background: var(--ink); color: #fff; inset-inline-start: auto; inset-inline-end: 14px; }

.card__out {
  position: absolute; bottom: 16px; left: 0; right: 0; margin-inline: auto; width: fit-content;
  background: rgba(16, 16, 20, 0.85); color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 7px 16px; border-radius: var(--pill); white-space: nowrap;
}

.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__name { font-size: 1.12rem; }
.card__desc { font-size: 0.85rem; color: var(--ink-soft); flex: 1; }
.card__price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.price--old { font-size: 0.88rem; color: var(--ink-soft); text-decoration: line-through; }
.card__actions { display: flex; gap: 10px; margin-top: 12px; }
.card__actions .btn--primary { flex: 1; padding-inline: 12px; }

/* ------------------------------------------------------------- Spotlight */
.spotlight { background: var(--ink); color: #fff; }
.sp {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
  padding: 84px 0;
}
.sp__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden;
  /* teinte pastel du modèle appliquée via JS */
}
.sp__media::before {
  content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(16, 16, 20, 0.18);
  border-radius: 18px; pointer-events: none;
}
.sp__media .watch-svg { width: 64%; height: auto; filter: drop-shadow(0 30px 44px rgba(16, 16, 20, 0.35)); }
.sp__info .kicker { background: rgba(255, 255, 255, 0.12); color: var(--yellow); }
.sp__name { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: #fff; margin: 4px 0 14px; }
.sp__desc { color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; max-width: 460px; }
.sp__price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 6px; }
.sp__price .price { font-size: 1.9rem; color: var(--yellow); }
.sp__price .price--old { color: rgba(255, 255, 255, 0.5); }
.sp__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; }
.sp__list li {
  font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px; border-radius: var(--pill);
}
.sp__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.sp__cta .btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 10px 26px rgba(255, 197, 49, 0.3); }
.sp__cta .btn--primary:hover { background: #ffd35e; }
.sp__cta .btn--outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.sp__cta .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ------------------------------------------------------------- Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card__n {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff;
  margin-bottom: 16px;
}
.why-card:nth-child(1) .why-card__n { background: var(--accent); }
.why-card:nth-child(2) .why-card__n { background: var(--green); }
.why-card:nth-child(3) .why-card__n { background: var(--pink); }
.why-card:nth-child(4) .why-card__n { background: var(--yellow); color: var(--ink); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* ------------------------------------------------------------- Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi::before {
  content: "“"; position: absolute; top: 8px; inset-inline-end: 20px;
  font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--accent-soft);
}
.testi__stars { color: var(--yellow); letter-spacing: 0.2em; font-size: 0.9rem; }
.testi blockquote { color: var(--ink); font-size: 0.97rem; flex: 1; }
.testi figcaption { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

/* ------------------------------------------------------------- Delivery */
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.delivery-info { display: flex; flex-direction: column; gap: 16px; }
.delivery-info__item {
  display: flex; gap: 18px; align-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; flex: 1;
  transition: box-shadow 0.2s;
}
.delivery-info__item:hover { box-shadow: var(--shadow); }
.delivery-info__ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; color: #fff;
}
.delivery-info__item:nth-child(1) .delivery-info__ico { background: var(--green); }
.delivery-info__item:nth-child(2) .delivery-info__ico { background: var(--accent); }
.delivery-info__item:nth-child(3) .delivery-info__ico { background: var(--pink); }
.delivery-info__item h3 { font-size: 1.02rem; }
.delivery-info__item p { font-size: 0.88rem; color: var(--ink-soft); }

.fee-checker {
  background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: 0 20px 50px rgba(61, 59, 243, 0.3);
}
.fee-checker h3 { font-size: 1.2rem; margin-bottom: 18px; }
.select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius); border: 2px solid var(--line);
  font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--ink); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23101014' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 42px;
}
html[dir="rtl"] .select { background-position: left 16px center; }
.select:focus { outline: none; border-color: var(--accent); }
.fee-checker .select { border-color: transparent; }
.fee-card { margin-top: 18px; background: rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 4px 20px; }
.fee-card__row { display: flex; justify-content: space-between; padding: 13px 0; font-weight: 500; }
.fee-card__row + .fee-card__row { border-top: 1px solid rgba(255, 255, 255, 0.2); }
.fee-card__row strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--yellow); }

/* ------------------------------------------------------------- FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; text-align: start;
}
.faq-ico {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 600;
  transition: transform 0.25s, background 0.25s, color 0.25s; flex: none; font-family: var(--font-body);
}
.faq-item.is-open .faq-ico { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.is-open .faq-a { max-height: 260px; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.94rem; }

/* ------------------------------------------------------------- CTA band */
.cta-band { background: var(--accent); color: #fff; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; opacity: 0.18; background: #fff;
}
.cta-band::before { width: 300px; height: 300px; top: -140px; inset-inline-start: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -110px; inset-inline-end: -60px; background: var(--yellow); opacity: 0.35; }
.cta-band__inner { position: relative; text-align: center; padding: 80px 24px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin: 12px 0 30px; color: rgba(255, 255, 255, 0.82); }
.cta-band .btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2); }
.cta-band .btn--primary:hover { background: #ffd35e; }

/* ------------------------------------------------------------- Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding-top: 60px; }
.footer .logo__text { color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 32px; padding-bottom: 44px; }
.footer__col h4 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, 0.65); font-size: 0.92rem; transition: color 0.15s; }
.footer__col a:hover { color: var(--yellow); }
.footer__col--brand p { margin-top: 14px; font-size: 0.9rem; max-width: 320px; }
.footer__city { margin-top: 12px !important; }
.socials { display: flex; flex-direction: column; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.5); text-decoration: underline; }
.footer__bottom a:hover { color: var(--yellow); }

/* ------------------------------------------------------------- Floating WA */
.fab-wa {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 60; width: 58px; height: 58px;
  background: var(--wa); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ------------------------------------------------------------- Cart drawer */
.cart-drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: 410px; max-width: 92vw; z-index: 80;
  background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(110%); transition: transform 0.3s ease;
}
html[dir="rtl"] .cart-drawer { transform: translateX(-110%); }
.cart-drawer.is-open,
html[dir="rtl"] .cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center; padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 { font-size: 1.25rem; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); }

.cart-empty { text-align: center; padding: 70px 20px; color: var(--ink-soft); }
.cart-empty__icon { font-size: 2.6rem; margin-bottom: 14px; }
.cart-empty p { margin-bottom: 22px; }

.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__img {
  width: 72px; height: 72px; border-radius: var(--radius);
  background: var(--bg-alt); display: grid; place-items: center; flex: none; padding: 7px;
  /* teinte pastel du modèle appliquée via JS */
}
.cart-item__img .watch-svg { filter: none; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.cart-item__price { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin: 3px 0 10px; }
.cart-item__remove { color: var(--ink-soft); font-size: 0.9rem; align-self: flex-start; padding: 4px; transition: color 0.15s; }
.cart-item__remove:hover { color: var(--danger); }

.qty-box { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--pill); overflow: hidden; }
.qty-btn { width: 32px; height: 30px; font-size: 1.05rem; font-weight: 700; transition: 0.15s; }
.qty-btn:hover { color: var(--accent); background: var(--accent-soft); }
.qty-val { min-width: 34px; text-align: center; font-weight: 700; font-size: 0.92rem; }

.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--ink-soft); font-weight: 600; }
.cart-subtotal strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }

/* ------------------------------------------------------------- Overlay */
.overlay {
  position: fixed; inset: 0; background: rgba(16, 16, 20, 0.45); z-index: 70;
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
  backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------- Modal */
.modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px;
  background: rgba(16, 16, 20, 0.5); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  position: relative; background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98); transition: transform 0.25s;
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__dialog--wide { max-width: 880px; }
.modal__title { font-size: 1.55rem; margin-bottom: 24px; }
.modal__close { position: absolute; top: 18px; inset-inline-end: 18px; }
.icon-close {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg-alt);
  font-size: 0.95rem; color: var(--ink-soft); display: grid; place-items: center; transition: 0.2s;
}
.icon-close:hover { background: var(--ink); color: #fff; }

/* product quick view */
.pv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.pv__media {
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px;
  display: grid; place-items: center;
  /* teinte pastel du modèle appliquée via JS */
}
.pv__media .watch-svg { width: 74%; }
.pv__name { font-size: 1.55rem; margin: 12px 0 8px; }
.pv__desc { color: var(--ink-soft); margin-bottom: 14px; font-size: 0.95rem; }
.pv__price { margin-bottom: 16px; }
.pv__price .price { font-size: 1.5rem; }
.pv__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pv__list li {
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
  background: var(--bg-alt); padding: 7px 13px; border-radius: var(--pill);
}

/* ------------------------------------------------------------- Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input, .field textarea, .field .select {
  padding: 13px 15px; border: 2px solid var(--line); border-radius: var(--radius); font-family: inherit;
  font-size: 0.96rem; color: var(--ink); background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #a5a5b1; }
.field input:focus, .field textarea:focus, .field .select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(61, 59, 243, 0.12);
}
.field textarea { resize: vertical; }
.field-error { color: var(--danger); font-size: 0.78rem; font-weight: 600; min-height: 1em; }
.radio-row { display: flex; gap: 14px; flex-wrap: wrap; }
.radio {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border: 2px solid var(--line);
  border-radius: var(--radius); cursor: pointer; font-size: 0.92rem; font-weight: 600; flex: 1;
  transition: border-color 0.15s, background 0.15s; color: var(--ink-soft);
}
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.radio input { accent-color: var(--accent); }

.checkout-aside {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 24px; position: sticky; top: 10px;
}
.checkout-aside h3 { font-size: 1.12rem; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.94rem; color: var(--ink-soft); }
.sum-row--item { font-size: 0.88rem; }
.sum-row--total {
  border-top: 2px solid var(--line); margin-top: 8px; padding-top: 15px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink);
}
.sum-note {
  margin-top: 14px; font-size: 0.85rem; font-weight: 700; color: var(--ink);
  background: #fff3d6; border: 2px dashed var(--yellow);
  padding: 11px 14px; border-radius: var(--radius); text-align: center;
}

/* ---------------------------------------------------- Order success screen */
.checkout-success[hidden] { display: none; }
.checkout-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 18px 8px 6px; gap: 6px;
}
.success__ico {
  width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; margin-bottom: 10px; animation: successPop 0.45s ease;
  box-shadow: 0 14px 34px rgba(33, 192, 122, 0.35);
}
.success__ico svg { width: 40px; height: 40px; }
@keyframes successPop { 0% { transform: scale(0.5); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.success__title { font-size: 1.7rem; }
.success__label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-top: 8px; }
html[dir="rtl"] .success__label { letter-spacing: 0; text-transform: none; }
.success__id {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent);
  background: var(--accent-soft); padding: 9px 26px; border-radius: var(--radius);
  letter-spacing: 0.08em; margin: 4px 0 10px;
}
.success__msg { color: var(--ink-soft); max-width: 460px; font-size: 0.96rem; }
.success__recap {
  width: 100%; max-width: 420px; margin: 18px 0 4px; text-align: start;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-alt); padding: 10px 20px;
}
.success__keep { font-size: 0.82rem; color: var(--ink-soft); margin: 10px 0 16px; }

/* ------------------------------------------------------------- Toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 100;
  background: var(--ink); color: #fff; padding: 13px 26px; border-radius: var(--pill);
  font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 26px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  max-width: 90vw; text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================================
 *  ADMIN — Espace vendeur (admin.html)
 * ========================================================================== */
.admin-body { background: var(--bg-alt); min-height: 100vh; }
.admin-header {
  background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40;
}
.admin-header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 14px; }
.admin-header__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; }
.admin-header__badge { background: var(--yellow); color: var(--ink); font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: var(--pill); text-transform: uppercase; }
.admin-header a { color: rgba(255,255,255,.75); font-size: 0.9rem; font-weight: 600; }
.admin-header a:hover { color: var(--yellow); }

.admin-main { padding: 28px 0 60px; display: flex; flex-direction: column; gap: 22px; }
.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 4px 16px rgba(16,16,20,.04);
}
.admin-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.admin-card .hint { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.admin-card .hint a { color: var(--accent); text-decoration: underline; }

.admin-config { display: grid; grid-template-columns: 2fr 1fr 1fr auto auto; gap: 12px; align-items: end; }
.admin-config .field label { font-size: 0.78rem; }
.admin-config input {
  padding: 11px 13px; border: 2px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.88rem; width: 100%;
}
.admin-config input:focus { outline: none; border-color: var(--accent); }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.astat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.astat__val { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; }
.astat__label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.astat--accent .astat__val { color: var(--accent); }
.astat--green .astat__val { color: var(--green); }
.astat--pink .astat__val { color: var(--pink); }

.admin-toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.admin-toolbar input, .admin-toolbar select {
  padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.9rem; background: #fff;
}
.admin-toolbar input { flex: 1; min-width: 180px; }
.admin-toolbar .btn { padding: 10px 20px; font-size: 0.88rem; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 900px; }
.admin-table th {
  text-align: start; padding: 12px 14px; background: var(--bg-alt);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafd; }
.admin-table .t-id { font-family: var(--font-display); font-weight: 700; color: var(--accent); white-space: nowrap; }
.admin-table .t-total { font-weight: 700; white-space: nowrap; }
.admin-table a.t-phone { color: var(--accent); font-weight: 600; white-space: nowrap; }
.admin-table .t-items { max-width: 260px; }
.status-select {
  padding: 7px 10px; border-radius: var(--pill); border: 2px solid var(--line);
  font-family: inherit; font-size: 0.8rem; font-weight: 700; background: #fff; cursor: pointer;
}
.status-select.st-a-confirmer { border-color: var(--yellow); background: #fff8e6; }
.status-select.st-confirmee { border-color: var(--accent); background: var(--accent-soft); }
.status-select.st-expediee { border-color: var(--pink); background: #ffeef3; }
.status-select.st-livree { border-color: var(--green); background: #e9f9f1; }
.status-select.st-annulee { border-color: var(--line); background: var(--bg-alt); color: var(--ink-soft); }

.admin-empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); }
.admin-empty strong { display: block; font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }

.admin-note {
  font-size: 0.82rem; color: var(--ink-soft); background: #fff8e6;
  border: 2px dashed var(--yellow); border-radius: var(--radius); padding: 12px 16px;
}

/* PIN gate */
.gate {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center; padding: 20px;
}
.gate[hidden] { display: none; }
.gate__card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 36px; width: 100%; max-width: 380px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.gate__card h1 { font-size: 1.3rem; margin: 14px 0 4px; }
.gate__card p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 20px; }
.gate__card input {
  width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius);
  font-size: 1.4rem; text-align: center; letter-spacing: 0.5em; font-family: var(--font-display); font-weight: 700;
}
.gate__card input:focus { outline: none; border-color: var(--accent); }
.gate__err { color: var(--danger); font-size: 0.82rem; font-weight: 700; min-height: 1.2em; margin-top: 8px; }
.gate__card .btn { margin-top: 14px; }
.gate__hint { margin-top: 16px; font-size: 0.75rem; color: var(--ink-soft); }
.gate.shake .gate__card { animation: shake 0.4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }

/* ============================================================================
 *  Responsive
 * ========================================================================== */
@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .admin-config { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav {
    position: fixed; top: 0; inset-inline: 0; z-index: 45;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; gap: 4px; padding: 120px 24px 40px; height: 100vh;
    transform: translateY(-105%); transition: transform 0.3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 16px; border-radius: var(--radius); font-size: 1.05rem; background: var(--bg-alt); }
  .burger { display: flex; position: relative; z-index: 46; }
  .header__inner { position: relative; z-index: 46; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 60px; }
  .hero__visual { min-height: 300px; order: -1; }
  .hero__watch { width: min(250px, 62%); }
  .sp { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
  .sp__media { max-width: 380px; margin: 0 auto; width: 100%; }
  .delivery-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pv { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-aside { position: static; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section { padding: 60px 0; }
  .card__body { padding: 13px; }
  .card__name { font-size: 1rem; }
  .card__actions { flex-direction: column; }
  .card__actions .btn--icon { display: none; }
  .price { font-size: 1.05rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 10px; }
  .stat { flex: 1; min-width: 0; padding: 12px 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .sp__cta .btn { width: 100%; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-config { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .logo__text { font-size: 0.95rem; }
}
