/* ==========================================================
   Menzah Store : feuille de style
   Mobile d'abord. Thème clair et sombre selon l'appareil.
   Rayons : 24px grands panneaux, 16px cartes, 10px tuiles
   intérieures, boutons et champs en forme de pilule.
   ========================================================== */

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #F3F4F6;
  --bg-2: #ECEEF1;
  --surface: #FCFCFD;
  --ink: #0F1115;
  --ink-2: #4A515C;
  --ink-3: #626873;
  --line: #E0E3E8;
  --line-2: #D2D6DD;

  --accent: #22C35E;
  --accent-press: #1EAF54;
  --accent-ink: #062611;
  --accent-text: #0B7A3B;
  --accent-soft: #DDF5E6;

  --entete-fond: rgb(243 244 246 / 0.86);
  --ombre: 222 28% 18%;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1240px;
  --gouttiere: 16px;
  --entete: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rebond: cubic-bezier(0.34, 1.56, 0.64, 1);
  --erreur: #B42318;
  --erreur-fond: #FEF3F2;
  --font: "Geist Variable", "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0E11;
    --bg-2: #111419;
    --surface: #161A1F;
    --ink: #F2F3F5;
    --ink-2: #A9AFB9;
    --ink-3: #8C939E;
    --line: #242931;
    --line-2: #323843;

    --accent: #2DD06A;
    --accent-press: #27BD5F;
    --accent-ink: #04170A;
    --accent-text: #4ADE80;
    --accent-soft: #10291A;

    --entete-fond: rgb(12 14 17 / 0.86);
    --erreur: #FDA29B;
    --erreur-fond: #2A1412;
    --ombre: 220 40% 2%;
  }
}

@media (min-width: 720px) {
  :root { --gouttiere: 24px; --entete: 68px; }
}
@media (min-width: 1080px) {
  :root { --gouttiere: 32px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

a[href^="tel:"] { white-space: nowrap; }

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.icone {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

:focus-visible {
  outline: 2.5px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}

.evitement {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.evitement:focus { top: 12px; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 580;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-grand { height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-plein { width: 100%; }

.btn-wa {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -14px color-mix(in oklab, var(--accent) 80%, black);
}
.btn-wa:hover { background: var(--accent-press); }

.btn-encre {
  background: var(--ink);
  color: var(--bg);
}
.btn-encre:hover { background: color-mix(in oklab, var(--ink) 86%, var(--bg)); }

.btn-contour {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-contour:hover { border-color: var(--ink); }

.lien-icone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}
.lien-icone:hover { color: var(--accent-text); }

.lien-texte {
  color: var(--ink);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}
.lien-texte:hover { text-decoration-color: currentColor; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--entete-fond);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.entete.defile { border-bottom-color: var(--line); }

.entete-barre {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--entete);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo-marque { width: 34px; height: 34px; border-radius: 10px; }
.logo-marque.logo-photo { object-fit: cover; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.logo-marque.logo-rond { border-radius: 50%; }
.logo-nom {
  font-weight: 680;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.nav { display: none; }

.btn-entete { height: 42px; padding: 0 14px; }

@media (max-width: 719px) {
  .btn-entete { width: 42px; padding: 0; }
  .btn-entete .icone { width: 1.35em; height: 1.35em; }
  .btn-entete-texte {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 4px;
    margin-right: 8px;
  }
  .nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.94rem;
    font-weight: 520;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
  }
  .nav a:hover { color: var(--ink); background: var(--bg-2); }
}

/* ---------- Accueil ---------- */

.hero { padding: 20px 0 40px; }

.hero-grille {
  display: grid;
  gap: 28px;
  align-items: center;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 550;
}
.surtitre .icone { color: var(--accent-text); }

.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 660;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-sous {
  margin-top: 18px;
  max-width: 40ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visuel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 42%, color-mix(in oklab, #E8773D 30%, var(--surface)) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  aspect-ratio: 5 / 4;
}
@supports not (background: color-mix(in oklab, red, blue)) {
  .hero-visuel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
  .produit-visuel, .fiche-visuel { background: var(--bg-2); }
  .fiche-fermer { background: var(--surface); }
}

.hero-scene {
  position: absolute;
  inset: 0;
}

.hero-scene {
  --px: 0;
  --py: 0;
}
.hero-scene .tel {
  position: absolute;
  bottom: 5%;
  width: 36%;
  transform:
    translate3d(calc(var(--px) * var(--prof, 12) * 1px), calc(var(--py) * var(--prof, 12) * 1px), 0)
    translateY(var(--y, 0));
  transition: transform 0.7s var(--ease);
}
.hero-scene .tel-anim {
  transform: rotate(var(--rot, 0deg));
  transform-origin: 50% 90%;
}
.hero-scene .tel svg { width: 100%; height: auto; }
.hero-scene .tel-1 { left: 8%; --rot: -11deg; --y: -3%; --prof: 10; z-index: 1; }
.hero-scene .tel-2 { left: 30%; width: 40%; --rot: 0deg; --y: -7%; --prof: 22; z-index: 2; }
.hero-scene .tel-3 { right: 7%; --rot: 10deg; --y: -2%; --prof: 14; z-index: 1; }

@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 720px) {
  .hero { padding: 32px 0 56px; }
}

@media (min-width: 1000px) {
  .hero { padding: 40px 0 64px; }
  .hero-grille {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
  }
  .hero-visuel { aspect-ratio: 1 / 1; max-height: 600px; }
}

/* ---------- Preuves sociales ---------- */

.preuves { padding-bottom: 8px; }

.preuves-grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.preuve {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 16px;
  background: var(--surface);
  text-decoration: none;
  transition: background-color 0.2s;
}
.preuve:hover { background: color-mix(in oklab, var(--surface) 92%, var(--ink)); }
.preuve .icone {
  grid-row: span 2;
  width: 22px; height: 22px;
  color: var(--ink);
}
.preuve strong {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.preuve span {
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .preuves-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .preuve { padding: 20px 22px; }
  .preuve strong { font-size: 1.3rem; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 8vw, 112px) 0; }

.section-tete { max-width: 640px; }
.section-tete h2,
.videos-texte h2,
.boutique-texte h2 {
  font-size: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 650;
  text-wrap: balance;
}
.section-tete p,
.videos-texte p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* ---------- Catalogue ---------- */

.outils {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.filtres {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-inline: calc(-1 * var(--gouttiere));
  padding: 2px var(--gouttiere);
  scrollbar-width: none;
}
.filtres::-webkit-scrollbar { display: none; }

.filtre {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 540;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.filtre:hover { color: var(--ink); border-color: var(--ink-3); }
.filtre:active { transform: scale(0.97); }
.filtre[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.filtre small {
  margin-left: 6px;
  font-size: 0.8em;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.recherche {
  position: relative;
  display: flex;
  align-items: center;
}
.recherche .icone {
  position: absolute;
  left: 16px;
  color: var(--ink-3);
  pointer-events: none;
}
.recherche input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 46px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.recherche input::placeholder { color: var(--ink-3); opacity: 1; }
.recherche input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ink) 12%, transparent);
}

@media (min-width: 720px) {
  .outils {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .filtres { margin-inline: 0; padding-inline: 0; }
  .recherche { width: 300px; }
}

.compteur {
  margin: 16px 0 14px;
  color: var(--ink-3);
  font-size: 0.88rem;
}

.grille-produits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 720px) {
  .grille-produits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1080px) {
  .grille-produits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.produit {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.produit:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 22px 40px -26px hsl(var(--ombre) / 0.45);
}

.produit-visuel {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background:
    radial-gradient(85% 75% at 50% 32%, color-mix(in oklab, var(--teinte, #999) 30%, var(--surface)) 0%, color-mix(in oklab, var(--teinte, #999) 9%, var(--bg)) 100%);
}
.produit-visuel { position: relative; }
.produit-anim {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.produit-visuel .visuel,
.produit-visuel .photo {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.45s var(--ease);
}
.produit-visuel .visuel {
  height: 89%;
  width: auto;
}
.produit-visuel .visuel.carre { height: 78%; }
.produit-visuel .photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}
.produit:hover .produit-visuel .visuel,
.produit:hover .produit-visuel .photo {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) scale(1.03);
}

.squelette { pointer-events: none; }
.squelette .produit-visuel { background: var(--bg-2); }
.squelette .ligne {
  display: block;
  height: 12px;
  border-radius: 6px;
  background-color: var(--bg-2);
}
.squelette .l1 { width: 70%; height: 16px; margin-top: 26px; }
.squelette .l2 { width: 45%; }
.squelette .l3 { width: 100%; height: 40px; margin-top: 28px; border-radius: 999px; }

.produit-corps {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 12px 8px 8px;
}

.etiquettes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}
.etiquette {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.etiquette .icone { width: 12px; height: 12px; }
.etiquette-nouveau { background: var(--accent-soft); color: var(--accent-text); }

.produit-nom {
  font-size: 1rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.produit-ouvrir {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.produit-ouvrir::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-md);
}
.produit-ouvrir:focus-visible { outline: none; }
.produit-ouvrir:focus-visible::after {
  outline: 2.5px solid var(--accent-text);
  outline-offset: 2px;
}

.produit-spec {
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.35;
}

.pastilles {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.pastille {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
}
.pastilles small {
  margin-left: 2px;
  color: var(--ink-3);
  font-size: 0.78rem;
}

.produit-bas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.prix {
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.prix s {
  margin-left: 6px;
  color: var(--ink-3);
  font-size: 0.85em;
  font-weight: 500;
}
.prix-demande {
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 540;
}

.produit .btn-commander {
  position: relative;
  z-index: 1;
  height: 40px;
  width: 100%;
  font-size: 0.9rem;
  padding: 0 12px;
}

@media (min-width: 720px) {
  .produit { padding: 8px; }
  .produit-corps { padding: 14px 8px 8px; }
  .produit-nom { font-size: 1.06rem; }
}

.vide {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 32px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
}
.vide-titre { font-weight: 620; font-size: 1.1rem; }
.vide-texte { color: var(--ink-2); }
.vide .btn { margin-top: 8px; }

/* ---------- Vidéos TikTok ---------- */

.videos { background: var(--bg-2); }

.videos-grille {
  display: grid;
  gap: 28px;
}

.videos-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.rail-fleches { display: none; gap: 8px; }
.fleche {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s var(--ease);
}
.fleche:hover { border-color: var(--ink); }
.fleche:active { transform: scale(0.95); }
.fleche:disabled { opacity: 0.35; cursor: default; border-color: var(--line-2); }

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(328px, 84vw);
  gap: 14px;
  align-items: start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gouttiere);
  margin-inline: calc(-1 * var(--gouttiere));
  padding: 4px var(--gouttiere) 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail:focus-visible { outline-offset: -2px; }

@media (min-width: 1000px) {
  .videos-grille {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .videos-texte { position: sticky; top: calc(var(--entete) + 32px); }
  .rail-fleches { display: flex; }
  .videos .rail {
    --debord: calc(var(--gouttiere) + max(0px, (100vw - var(--wrap)) / 2));
    margin-inline: 0 calc(-1 * var(--debord));
    padding-left: 0;
    padding-right: var(--debord);
    scroll-padding-inline: 0;
  }
}

/* Cartes de publication (avant chargement de l'intégration) */
.media {
  position: relative;
  min-width: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.media blockquote { margin: 0; padding: 0; }
.media iframe { display: block; max-width: 100%; }
.media.charge { background: transparent; border-color: transparent; }
.media.charge .tiktok-embed,
.media.charge .instagram-media { margin: 0 !important; }

.media-apercu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}

.media-ecran {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  overflow: hidden;
  background:
    linear-gradient(160deg, color-mix(in oklab, var(--teinte, #3a3f48) 55%, #0f1115) 0%, #0f1115 100%);
  color: #fff;
  background-color: #1a1d23;
}
.media-tiktok .media-ecran { aspect-ratio: 9 / 16; }
.media-instagram .media-ecran { aspect-ratio: 4 / 5; }

.media-ecran .visuel {
  position: absolute;
  width: 52%;
  bottom: -14%;
}

.media-compte {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.media-compte img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.55);
}
.media-compte img.logo-rond { border-radius: 50%; }

.media-ecran::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
}

.media-lecture {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.25);
}
.media-lecture .icone { width: 26px; height: 26px; margin-left: 3px; }
.media-instagram .media-lecture .icone { margin-left: 0; }

.media-legende {
  display: grid;
  gap: 4px;
  padding: 0 4px 4px;
}
.media-legende strong {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}
.media-legende span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 0.85rem;
}
.media-legende .icone { width: 15px; height: 15px; }

.media-apercu:hover .media-lecture { background: rgb(255 255 255 / 0.26); }

/* ---------- Instagram ---------- */

.insta-grille {
  margin-top: 32px;
}
.insta-grille.rail { margin-top: 32px; }

.insta-pied {
  display: flex;
  margin-top: 28px;
}

@media (min-width: 900px) {
  .insta-grille.rail {
    display: block;
    columns: 3 300px;
    column-gap: 20px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
  .insta-grille.rail > * {
    break-inside: avoid;
    margin-bottom: 20px;
  }
  .insta-pied { justify-content: center; }
}

/* ---------- Boutique ---------- */

.boutique-grille {
  display: grid;
  gap: 32px;
  align-items: center;
}

.citation {
  margin: 20px 0 0;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.infos {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.infos li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
}
.infos .icone { margin-top: 2px; color: var(--ink); }
.infos a {
  color: var(--ink);
  font-weight: 560;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.infos a:hover { color: var(--accent-text); }
.infos-tel { display: flex; flex-wrap: wrap; gap: 4px 18px; }

.boutique-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.carte {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.carte iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.carte-fond {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.9rem;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 18px 18px;
}
.carte-fond .icone { width: 30px; height: 30px; color: var(--ink); }

@media (min-width: 900px) {
  .boutique-grille { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .carte { aspect-ratio: 4 / 3.4; }
}

/* ---------- Pied de page ---------- */

.pied {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.pied-grille {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pied-marque { grid-column: 1 / -1; }
.pied-marque p {
  margin-top: 14px;
  max-width: 34ch;
  color: var(--ink-2);
}
.pied-titre {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
}
.pied-col ul { display: grid; gap: 8px; margin-bottom: 12px; }
.pied-col a:not(.lien-icone) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 540;
  font-variant-numeric: tabular-nums;
}
.pied-col a:not(.lien-icone):hover { color: var(--accent-text); }
.pied-col p { color: var(--ink-2); margin-bottom: 12px; }

.pied-bas {
  display: grid;
  gap: 4px;
  margin-top: 40px;
  padding-top: 20px;
  background: linear-gradient(var(--line), var(--line)) no-repeat center top / calc(100% - 2 * var(--gouttiere)) 1px;
  color: var(--ink-3);
  font-size: 0.84rem;
}

@media (min-width: 900px) {
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .pied-marque { grid-column: auto; }
  .pied-bas { grid-template-columns: 1fr auto; }
}

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-flottant {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 16px 32px -12px hsl(var(--ombre) / 0.5), 0 0 0 1px color-mix(in oklab, var(--accent) 70%, black) inset;
  transform: translateY(24px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.wa-flottant .icone { width: 28px; height: 28px; }
.wa-flottant.visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.wa-flottant:active { transform: scale(0.95); }

/* ---------- Fiche produit ---------- */

.fiche {
  width: min(940px, calc(100% - 32px));
  max-width: none;
  max-height: min(700px, calc(100dvh - 48px));
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px hsl(var(--ombre) / 0.6);
  overflow: hidden;
}
.fiche::backdrop {
  background: rgb(8 10 14 / 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.fiche-contenu {
  position: relative;
  display: grid;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.fiche-fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.fiche-fermer:hover { border-color: var(--ink); }

.fiche-visuel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 35%, color-mix(in oklab, var(--teinte, #999) 34%, var(--surface)) 0%, color-mix(in oklab, var(--teinte, #999) 10%, var(--bg)) 100%);
  transition: background 0.4s var(--ease), min-height 0.5s var(--ease);
}
.fiche-tel { position: relative; z-index: 1; display: grid; place-items: center; }
.fiche-visuel .visuel { height: 230px; width: auto; transition: height 0.5s var(--ease); }
.fiche-visuel .visuel.carre { height: 190px; }
.fiche-visuel .photo { max-height: 280px; width: auto; object-fit: contain; transition: max-height 0.5s var(--ease); }

.fiche-onde {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}

.confettis {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  width: 0;
  height: 0;
  pointer-events: none;
}
.confettis i {
  position: absolute;
  left: -4px;
  top: -6px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.08);
}
.confettis i.rond { width: 9px; height: 9px; border-radius: 50%; }
.confettis i.bande { width: 5px; height: 16px; }

/* Étapes de la commande */
.etape {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.etape[hidden] { display: none; }

.fiche-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -6px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 540;
}

.retour {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: -6px 0 -4px -4px;
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 560;
  cursor: pointer;
}
.retour:hover { background: var(--bg-2); color: var(--ink); }

.etape-titre {
  font-size: clamp(1.45rem, 1.25rem + 0.9vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.etape-titre:focus { outline: none; }

.recap {
  display: grid;
  gap: 2px;
  margin-top: -6px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  font-size: 0.92rem;
}
.recap strong { font-weight: 600; }
.recap span { color: var(--ink-2); }

.formulaire {
  display: grid;
  gap: 16px;
}

.champ { display: grid; gap: 6px; }
.champ label,
.reception legend {
  font-size: 0.9rem;
  font-weight: 600;
}
.facultatif { color: var(--ink-3); font-weight: 500; }

.champ input,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.champ textarea { min-height: 72px; resize: vertical; line-height: 1.45; }
.champ input::placeholder,
.champ textarea::placeholder { color: var(--ink-3); opacity: 1; }
.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ink) 12%, transparent);
}
.champ [aria-invalid="true"],
.champ [aria-invalid="true"]:focus {
  border-color: var(--erreur);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--erreur) 18%, transparent);
}
.champ-aide { color: var(--ink-3); font-size: 0.84rem; }
.champ-erreur { color: var(--erreur); font-size: 0.86rem; font-weight: 560; }
.champ-erreur:empty { display: none; }

.reception .capacite-choix { gap: 8px; }

.piege {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-erreur {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--erreur-fond);
  color: var(--erreur);
  font-size: 0.92rem;
  font-weight: 540;
}

.btn-envoi { position: relative; overflow: hidden; }
.btn-envoi[aria-busy="true"] { cursor: progress; }
.btn-envoi[aria-busy="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent-ink);
  opacity: 0.55;
  animation: charge 1.1s ease-in-out infinite;
}
.btn:disabled { cursor: default; }

.lien-centre { justify-self: center; font-size: 0.93rem; }

/* Étape « commande reçue » */
.etape-ok {
  align-items: center;
  text-align: center;
  padding-top: 8px;
}
.coche { width: 78px; height: 78px; }
.coche-cercle {
  fill: color-mix(in oklab, var(--accent) 14%, transparent);
  stroke: var(--accent);
  stroke-width: 3;
  stroke-dasharray: 183;
  stroke-dashoffset: 0;
}
.coche-trait {
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 0;
}
.ok-numero { font-size: 1.05rem; color: var(--ink-2); margin-top: -8px; }
.ok-numero strong { color: var(--ink); font-weight: 680; font-variant-numeric: tabular-nums; }
.ok-texte { color: var(--ink-2); max-width: 36ch; }
.ok-actions { display: grid; gap: 10px; width: 100%; margin-top: 6px; }

/* Visuel réduit pendant la saisie des coordonnées (mobile) */
@media (max-width: 719px) {
  .fiche-contenu:not([data-etape-active="choix"]) .fiche-visuel { min-height: 170px; padding: 14px; }
  .fiche-contenu:not([data-etape-active="choix"]) .fiche-visuel .visuel { height: 140px; }
  .fiche-contenu:not([data-etape-active="choix"]) .fiche-visuel .visuel.carre { height: 110px; }
  .fiche-contenu:not([data-etape-active="choix"]) .fiche-visuel .photo { max-height: 150px; }
}

.fiche-infos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 20px 20px;
}

.fiche-marque {
  color: var(--ink-3);
  font-size: 0.88rem;
  font-weight: 560;
}
.fiche-nom {
  margin-top: -12px;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.fiche-desc { color: var(--ink-2); max-width: 46ch; }

.choix legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.choix legend span { color: var(--ink-2); font-weight: 500; }

.pastilles-choix,
.capacites-choix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choix input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pastille-choix {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.16);
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s, transform 0.2s var(--ease);
}
.pastille-choix:hover { transform: scale(1.06); }
.choix input:checked + .pastille-choix { outline-color: var(--ink); }
.choix input:focus-visible + .pastille-choix { outline-color: var(--accent-text); }

.capacite-choix {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 560;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.capacite-choix:hover { border-color: var(--ink-3); color: var(--ink); }
.choix input:checked + .capacite-choix {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.choix input:focus-visible + .capacite-choix {
  outline: 2.5px solid var(--accent-text);
  outline-offset: 3px;
}

.fiche-bas {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.fiche-prix {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}
.fiche-prix.prix-demande { font-size: 1rem; }

.fiche-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.93rem;
}

@media (max-width: 719px) {
  .fiche {
    width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  .fiche-bas {
    position: sticky;
    bottom: 0;
    margin: 4px -20px -20px;
    padding: 16px 20px max(20px, env(safe-area-inset-bottom));
    background: var(--surface);
  }
}

@media (min-width: 720px) {
  .fiche-contenu { grid-template-columns: 1fr 1fr; }
  .fiche-visuel { min-height: 100%; padding: 40px; }
  .fiche-visuel .visuel { height: min(440px, 62vh); }
  .fiche-visuel .visuel.carre { height: min(300px, 44vh); }
  .fiche-infos { padding: 36px 32px 28px; overflow-y: auto; }
}

/* ---------- Mouvements ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .hero-texte > * {
    animation: entree 0.9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 60ms);
  }
  .js .hero-scene .tel-anim {
    animation: tel-entree 1.2s var(--rebond) both, tel-flotte 6s ease-in-out infinite alternate;
  }
  .js .hero-scene .tel-1 .tel-anim { animation-delay: 0.3s, 1.8s; }
  .js .hero-scene .tel-2 .tel-anim { animation-delay: 0.15s, 1.5s; animation-duration: 1.2s, 7s; }
  .js .hero-scene .tel-3 .tel-anim { animation-delay: 0.45s, 2.1s; animation-duration: 1.2s, 6.5s; }

  /* Téléphones du catalogue qui surgissent au défilement */
  .js .grille-produits.anime .produit:not(.visible) { opacity: 0; }
  .js .grille-produits.anime .produit.visible {
    animation: carte-entree 0.7s var(--ease) backwards;
    animation-delay: var(--delai, 0ms);
  }
  .js .grille-produits.anime .produit.visible .produit-anim {
    animation: tel-surgit 1.05s var(--rebond) backwards;
    animation-delay: calc(var(--delai, 0ms) + 90ms);
  }

  .squelette .produit-visuel,
  .squelette .ligne {
    background-image: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / 0.45) 50%, transparent 80%);
    background-size: 200% 100%;
    animation: squelette 1.4s ease-in-out infinite;
  }

  .fiche-tel.change { animation: tel-change 0.55s var(--rebond); }
  .etape.entre { animation: etape-entree 0.45s var(--ease) both; }
  .etape.entre-retour { animation: etape-retour 0.45s var(--ease) both; }
  .etape-ok.active .coche-cercle { stroke-dashoffset: 183; animation: trace 0.7s var(--ease) 0.1s forwards; }
  .etape-ok.active .coche-trait { stroke-dashoffset: 40; animation: trace 0.45s var(--ease) 0.6s forwards; }
  .etape-ok.active .coche { animation: coche-pop 0.6s var(--rebond) both; }
  .celebre .fiche-tel { animation: tel-saut 1s var(--rebond); }
  .celebre .fiche-onde { animation: onde 1.3s ease-out; }
  .confettis i { animation: confetti 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms) forwards; }

  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js .reveal.visible { opacity: 1; transform: none; }


  .media:not(.charge):not(.inactif) .media-ecran::after {
    animation: reflet 1.8s ease-in-out infinite;
  }

  .fiche[open] { animation: fiche-entree 0.45s var(--ease); }
  .fiche[open]::backdrop { animation: fondu 0.3s ease; }
}

@keyframes entree {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes tel-entree {
  from { opacity: 0; transform: translateY(70px) rotate(calc(var(--rot, 0deg) - 8deg)) scale(0.9); }
  to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }
}
@keyframes tel-flotte {
  from { transform: translateY(0) rotate(var(--rot, 0deg)); }
  to { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 1.2deg)); }
}
@keyframes carte-entree {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes tel-surgit {
  0% { opacity: 0; transform: translateY(34%) rotate(-10deg) scale(0.82); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes tel-change {
  0% { transform: scale(0.94) rotate(-3deg); opacity: 0.6; }
  100% { transform: none; opacity: 1; }
}
@keyframes tel-saut {
  0% { transform: none; }
  18% { transform: translateY(10px) scale(0.95, 1.03); }
  50% { transform: translateY(-26px) rotate(-4deg) scale(1.04); }
  75% { transform: translateY(4px) rotate(1deg); }
  100% { transform: none; }
}
@keyframes onde {
  0% { opacity: 0.7; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(2.3); }
}
@keyframes confetti {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(0.6); }
  55% { opacity: 1; transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * 0.6)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.15), calc(var(--y) + 170px)) rotate(var(--r)) scale(1); }
}
@keyframes trace {
  to { stroke-dashoffset: 0; }
}
@keyframes coche-pop {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes etape-entree {
  from { opacity: 0; transform: translateX(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes etape-retour {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: none; }
}
@keyframes squelette {
  from { background-position: 150% 0; }
  to { background-position: -50% 0; }
}
@keyframes charge {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}
@keyframes reflet {
  to { transform: translateX(100%); }
}
@keyframes fiche-entree {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes fondu {
  from { opacity: 0; }
  to { opacity: 1; }
}

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