/* LS Lingerie : mise en page de Tata Pao, palette Rose Silk (80 % blanc, 20 % rose et noir). Mobile d'abord. */

@font-face {
  font-family: 'Inter Tight';
  src: url('vendor/fonts/inter-tight.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('vendor/fonts/instrument-serif-italique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --rose: #FFCCED;
  --rose-fort: #FBB5E2;
  --milk: #FFFAF6;
  --black: #1D1D1D;
  --page: #FFFAF6;
  --line: rgba(29, 29, 29, .12);
  --muted: rgba(29, 29, 29, .68);
  --erreur: #A3112F;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .85, .2, 1);
  --ease-pop: cubic-bezier(.2, .9, .3, 1.2);
  --sans: 'Inter Tight', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --pad: 16px;
  --inset: 20px;
  --h-entete: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--page); color: var(--black); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--h-entete) + 60px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--rose); color: var(--black); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 6px; }
dialog:focus { outline: none; }

html.js [data-reveal] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; } }

.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: -80px; z-index: 120; padding: 10px 16px; border-radius: 99px; background: var(--black); color: var(--milk); }
.evitement:focus { top: 8px; }
.sans-script { padding: 24px var(--pad); text-align: center; }
.sans-script a { text-decoration: underline; }

/* ----- Éléments communs ----- */
.section { padding: 28px var(--pad); }
.card { background: var(--milk); border-radius: var(--r-lg); padding: var(--inset); box-shadow: inset 0 0 0 1px var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-clair { color: var(--milk); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--black); display: inline-block; flex: none; }
.eyebrow-clair .dot { background: var(--rose); }
.h2 { font-size: clamp(34px, 4.6vw, 66px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
.h2 em { color: var(--black); font-size: 1.08em; }
.h2-clair { color: var(--milk); }
.h2-clair em { color: var(--rose); }
.pill-img { display: inline-block; width: 1.55em; height: .82em; border-radius: 999px; overflow: hidden; vertical-align: -.05em; margin: 0 .04em; }
.pill-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

.btn, .bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; line-height: 1.15; text-align: center; transition: background .3s var(--ease), color .3s var(--ease), transform .25s var(--ease); }
.btn:active, .bouton:active { transform: scale(.97); }
.btn svg, .bouton svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: 13px; transition: transform .35s var(--ease-pop); }
.btn:hover .arrow { transform: rotate(45deg); }
.btn-logo, .bouton-plein { background: var(--rose); color: var(--black); }
.btn-logo .arrow { background: var(--black); color: var(--rose); }
.btn-logo:hover, .bouton-plein:hover { background: var(--rose-fort); }
.btn-milk, .bouton-clair { background: var(--milk); color: var(--black); }
.btn-milk .arrow { background: var(--black); color: var(--rose); }
.btn-ghost { background: rgba(255, 250, 246, .14); color: var(--milk); border: 1px solid rgba(255, 250, 246, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 250, 246, .26); }
.bouton-contour { border: 1.5px solid var(--black); color: var(--black); }
.bouton-contour:hover { background: var(--black); color: var(--milk); }
.btn-sm { min-height: 44px; padding: 8px 10px 8px 18px; font-size: 14px; }
.btn-lg, .bouton-large { width: 100%; }
.btn-lg { min-height: 58px; font-size: 16px; }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--milk); color: var(--black); font-size: 12px; font-weight: 600; }
.badge-noir { background: var(--black); color: var(--milk); }

/* ----- Barre du haut ----- */
.entete { position: fixed; z-index: 50; top: calc(var(--pad) + 8px); left: calc(var(--pad) + 8px); right: calc(var(--pad) + 8px); display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--milk); color: var(--black); box-shadow: 0 10px 30px rgba(29, 29, 29, .08); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.sur-hero .entete { background: transparent; color: var(--milk); box-shadow: none; }
.sur-hero .logo-texte { display: none; }
.logo { display: flex; align-items: center; gap: 9px; margin-right: auto; font-weight: 700; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo-rond { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rose); color: var(--black); font-size: 14px; letter-spacing: -.04em; }
.entete-nav, .entete-whatsapp { display: none; }
.rond { position: relative; display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--black); }
.rond svg { width: 22px; height: 22px; }
.bouton-panier { background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.pastille-panier { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--black); color: var(--milk); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.pastille-panier.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { position: relative; z-index: 101; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.burger span, .burger span::before { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span { top: 18px; }
.burger span::before { content: ''; left: 0; right: 0; top: 6px; }
.burger[aria-expanded='true'] span { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded='true'] span::before { transform: translateY(-6px) rotate(-90deg); }
.menu-mobile { position: fixed; inset: 0; z-index: 45; display: flex; align-items: center; justify-content: center; background: var(--rose); }
.menu-mobile[hidden] { display: none; }
.menu-mobile nav { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.menu-mobile a { display: block; padding: 4px 16px; color: var(--black); font-size: clamp(30px, 10vw, 40px); font-weight: 600; letter-spacing: -.03em; }
.menu-mobile a:last-child { margin-top: 14px; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--black); }

/* ----- HERO : vidéo plein écran dans le cadre, lue une seule fois ----- */
.hero { padding: var(--pad); }
.hero-scene { position: relative; height: calc(100svh - 2 * var(--pad)); min-height: 440px; overflow: hidden; border-radius: var(--r-lg); background: var(--black); color: var(--milk); isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Voile très léger, seulement en bas, pour que le texte reste lisible */
.hero-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(29, 29, 29, .5), rgba(29, 29, 29, .2) 36%, transparent 60%); }
.scene { position: absolute; left: var(--inset); right: var(--inset); bottom: calc(17vw + 8px); }
.scene h1 { font-size: clamp(30px, 8vw, 54px); line-height: 1.04; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 1px 18px rgba(0, 0, 0, .5); }
.scene em { font-size: 1.1em; }
.scene-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.hero-mot { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 15.2vw; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; word-spacing: .1em; text-shadow: 0 1px 24px rgba(0, 0, 0, .35); pointer-events: none; }

/* ----- La maison ----- */
.intro-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pad); }
.intro-texte { display: flex; flex-direction: column; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.accordeon { margin-top: auto; display: grid; gap: 10px; }
.accordeon details { border-radius: var(--r-sm); background: rgba(29, 29, 29, .045); padding: 0 18px; transition: background .3s var(--ease); }
.accordeon details[open] { background: var(--milk); box-shadow: 0 0 0 1px var(--line); }
.accordeon summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 600; cursor: pointer; }
.accordeon summary::-webkit-details-marker { display: none; }
.acc-icone { position: relative; flex: none; width: 14px; height: 14px; }
.acc-icone::before, .acc-icone::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.acc-icone::after { transform: rotate(90deg); }
details[open] .acc-icone::after { transform: rotate(0); }
.accordeon p { margin-bottom: 16px; color: var(--muted); max-width: 52ch; }
.card.intro-photo { position: relative; padding: 12px; display: flex; flex-direction: column; }
.intro-badges { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 2; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.intro-image { position: relative; flex: 1; min-height: 400px; border-radius: 16px; overflow: hidden; background: #F5EEE9; }
.intro-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-signe { display: flex; flex-direction: column; gap: 14px; padding: 16px 8px 8px; }
.intro-phrase { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.2; }
.bande { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pad); margin-top: var(--pad); }
.bande-carte { position: relative; display: block; height: 280px; overflow: hidden; border-radius: var(--r-lg); background: var(--black); }
.bande-carte img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
a.bande-carte:hover img { scale: 1.05; }
.bande-legende { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: var(--milk); font-size: 13px; font-weight: 600; }
.bande-carte-logo { display: flex; flex-direction: column; justify-content: space-between; height: auto; min-height: 220px; padding: var(--inset); background: var(--rose); color: var(--black); }
.bande-grand { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.bande-grand em { font-size: 1.1em; }
.bande-petit { margin-top: 20px; font-size: 14px; }

/* ----- Rayons ----- */
.rayons-carte { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: var(--inset); background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.rayons-tete { margin-bottom: 30px; }
.svc-liste { position: relative; z-index: 2; }
.svc { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); isolation: isolate; }
.svc-liste li:last-child .svc { border-bottom: 1px solid var(--line); }
.svc-num { font-size: 13px; opacity: .55; font-variant-numeric: tabular-nums; }
.svc-nom { font-size: clamp(20px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; transition: transform .45s var(--ease); }
.svc-tags { display: none; }
.svc-fleche { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: transform .4s var(--ease-pop), background .3s, color .3s; }
.svc-flottant { display: none; }

/* ----- Bandeau ----- */
.defile { overflow: hidden; padding: 26px 0; color: var(--black); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste { display: flex; align-items: center; gap: 36px; width: max-content; animation: defile 38s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile span { font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.defile span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.defile i { font-style: normal; font-size: 24px; opacity: .6; }
@keyframes defile { to { transform: translateX(calc(-50% - 18px)); } }

/* ----- Boutique ----- */
.boutique-tete { display: flex; flex-direction: column; gap: 18px; padding: 0 4px; }
.boutique-outils { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.champ-recherche input, .champ-tri select { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 99px; background: var(--milk); font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.champ-recherche input { padding: 0 18px; -webkit-appearance: none; appearance: none; }
.champ-recherche input::placeholder { color: var(--muted); }
.champ-tri select { max-width: 150px; padding: 0 12px 0 14px; font-weight: 600; font-size: 14px; }
.champ-recherche input:focus, .champ-tri select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(29, 29, 29, .1); }
.filtres { position: sticky; top: var(--h-entete); z-index: 20; display: flex; gap: 8px; margin: 14px calc(var(--pad) * -1) 0; padding: 8px var(--pad); background: var(--page); overflow-x: auto; scrollbar-width: none; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.filtres.colle { box-shadow: 0 -140px 0 140px var(--page); }
.filtres.cachee { transform: translateY(-120%); opacity: 0; pointer-events: none; box-shadow: none; }
.filtre { flex: none; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--milk); font-size: 14px; font-weight: 500; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.filtre:hover { border-color: var(--black); }
.filtre[aria-pressed='true'] { background: var(--rose); border-color: var(--rose); color: var(--black); }
.resultat { min-height: 22px; margin: 6px 4px 12px; color: var(--muted); font-size: 14px; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--pad) 10px; }
.carte { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 6px 6px 10px; border-radius: var(--r-md); background: var(--milk); box-shadow: inset 0 0 0 1px var(--line); }
.carte-image { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); aspect-ratio: 4 / 5; background: #F5EEE9; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.carte:hover .carte-image img { scale: 1.06; }
.carte-coeur { position: absolute; top: 8px; right: 8px; color: var(--black); }
.carte-coeur::before { content: ''; position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--milk); }
.carte-coeur svg { position: relative; width: 18px; height: 18px; }
.carte-coeur[aria-pressed='true'] svg { fill: var(--rose); }
.carte-nom { margin: 10px 6px 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.22; }
.carte-teintes { display: flex; gap: 5px; margin: 6px 6px 0; }
.carte-teintes i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.carte-bas { margin-top: auto; padding: 0 6px; }
.carte-prix { margin-top: 6px; color: var(--black); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.carte-action { width: 100%; min-height: 44px; margin-top: 8px; border: 1.5px solid var(--black); border-radius: 99px; background: transparent; color: var(--black); font-size: 14px; font-weight: 600; transition: background .3s var(--ease), color .3s var(--ease); }
.carte-action:hover, .carte-action.ok { background: var(--rose); border-color: var(--rose); color: var(--black); }
.grille-suite { display: flex; justify-content: center; margin-top: 28px; }
.grille-suite .bouton { width: 100%; min-height: 56px; font-size: 16px; }
.vide { grid-column: 1 / -1; padding: 40px 16px; border-radius: var(--r-lg); background: var(--milk); text-align: center; }
.vide .bouton { margin-top: 14px; }

/* ----- Étapes ----- */
.etapes-tete { padding: 12px 4px 22px; }
.etapes-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pad); }
.etape { position: relative; display: flex; flex-direction: column; min-height: 230px; overflow: hidden; }
.etape-num { font-size: clamp(64px, 7vw, 110px); line-height: .9; font-weight: 600; letter-spacing: -.06em; }
.etape h3 { margin: auto 0 8px; padding-top: 24px; font-size: 26px; letter-spacing: -.03em; font-weight: 600; line-height: 1.1; }
.etape p { color: var(--muted); max-width: 34ch; }
.card.etape-logo { background: var(--rose); color: var(--black); box-shadow: none; }
.etape-logo p { color: var(--black); }
.card.etape-photo { padding: 0; min-height: 280px; box-shadow: none; }
.etape-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.etape-photo:hover img { scale: 1.05; }
.etape-dessus { position: relative; display: flex; flex-direction: column; min-height: 280px; height: 100%; padding: var(--inset); color: var(--milk); background: linear-gradient(0deg, rgba(29, 29, 29, .85), transparent); }

/* ----- Instagram ----- */
.insta-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--pad); }
.insta-texte { display: flex; flex-direction: column; gap: 22px; }
.insta-texte .eyebrow { margin-bottom: -4px; }
.insta-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.insta-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); }
.card.insta-photo { position: relative; min-height: 420px; padding: 0; box-shadow: none; overflow: hidden; background: var(--black); color: var(--milk); }
.insta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.insta-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 29, 29, .1) 35%, rgba(29, 29, 29, .9)); }
.insta-haut { position: absolute; z-index: 1; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.insta-bas { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: var(--inset); }
.insta-titre { font-size: clamp(32px, 3.6vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.insta-sous-titre { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.1; color: var(--rose); }

/* ----- Pied de page ----- */
.pied { padding: calc(var(--pad) * 2) var(--pad) var(--pad); }
body.a-barre .pied { padding-bottom: 84px; }
.pied-carte { overflow: hidden; border-radius: var(--r-lg); padding: var(--inset) var(--inset) 18px; background: var(--black); color: var(--milk); }
.pied-haut { display: flex; flex-direction: column; gap: 28px; }
.pied-appel { display: grid; gap: 22px; justify-items: start; }
.pied-colonnes { display: flex; flex-wrap: wrap; gap: 24px clamp(30px, 6vw, 90px); }
.pied-colonnes > div { display: grid; align-content: start; font-size: 15px; }
.pied-colonnes a { padding: 8px 0; opacity: .85; transition: opacity .2s; overflow-wrap: anywhere; }
.pied-colonnes a:hover { opacity: 1; }
.pied-titre { margin-bottom: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
/* Grand nom : la vidéo se voit à travers les lettres ; « lighten » ramène le noir à la couleur du pied de page */
.pied-mot-cadre { position: relative; isolation: isolate; overflow: hidden; margin: 36px 0 16px; background: var(--milk); }
.pied-mot-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.45) saturate(1.15); }
.pied-mot { position: relative; background: #000; color: #fff; mix-blend-mode: multiply; font-size: 13.8vw; font-weight: 700; letter-spacing: -.045em; line-height: .86; padding-bottom: .04em; text-align: center; white-space: nowrap; word-spacing: .1em; }
.pied-mot-cadre::after { content: ''; position: absolute; inset: 0; background: var(--black); mix-blend-mode: lighten; pointer-events: none; }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; border-top: 1px solid rgba(255, 250, 246, .18); font-size: 13px; opacity: .72; }

/* ----- Bouton flottant du panier ----- */
.barre-panier { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 20px; border-radius: 999px; background: var(--black); color: var(--milk); font-weight: 600; box-shadow: 0 14px 34px rgba(29, 29, 29, .28); }
.barre-panier[hidden] { display: none; }
.barre-panier strong { color: var(--rose); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ----- Fiche article et panier ----- */
dialog { color: var(--black); border: 0; padding: 0; background: var(--milk); }
dialog::backdrop { background: rgba(18, 8, 10, .6); }
.fiche, .panier { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: auto; max-height: 94dvh; margin: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.fiche[open], .panier[open] { display: flex; flex-direction: column; animation: monter .42s var(--ease); }
@keyframes monter { from { transform: translateY(100%); } }
.fermer { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--black); color: var(--milk); transition: transform .4s var(--ease-pop), background .3s; }
.fermer:hover { transform: rotate(90deg); background: var(--rose); color: var(--black); }
.fiche-defile, .panier-defile { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fiche-galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #F5EEE9; }
.fiche-galerie img { flex: 0 0 100%; width: 100%; height: min(44dvh, 110vw); object-fit: cover; scroll-snap-align: center; }
.fiche-corps { padding: 18px var(--inset) 20px; }
.fiche-marque { color: var(--muted); font-size: 14px; }
.fiche-corps h2 { font-size: 30px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.fiche-prix { margin-top: 6px; color: var(--black); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.fiche-desc { margin-top: 16px; max-width: 58ch; color: var(--muted); }
.option { margin: 18px 0 0; padding: 0; border: 0; }
.option legend { padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.option-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.option-choix button { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; min-height: 44px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--milk); font-weight: 500; font-size: 14px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s; }
.option-choix button:hover { border-color: var(--black); }
.option-choix button[aria-pressed='true'] { border-color: var(--rose); background: var(--rose); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.option-choix i { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(29, 29, 29, .2); }
.option-erreur { margin-top: 10px; color: var(--erreur); font-size: 14px; font-weight: 600; }
.fiche-avec { margin-top: 24px; }
.fiche-avec h3 { margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.fiche-avec-liste { display: flex; gap: 10px; margin: 0 calc(var(--inset) * -1); padding: 0 var(--inset); overflow-x: auto; scrollbar-width: none; }
.fiche-avec-liste a { flex: 0 0 112px; font-size: 13px; line-height: 1.25; }
.fiche-avec-liste img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 6px; }
.fiche-avec-liste strong { display: block; color: var(--black); font-weight: 700; }
.fiche-pied, .panier-pied { flex: none; display: grid; gap: 8px; padding: 10px var(--inset) calc(12px + env(safe-area-inset-bottom)); background: var(--milk); border-top: 1px solid var(--line); }
.panier-tete { padding: 18px 64px 12px var(--inset); }
.panier-tete h2 { font-size: 30px; font-weight: 600; letter-spacing: -.035em; }
.panier-lignes { padding: 0 var(--inset); }
.ligne { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ligne img { width: 68px; height: 85px; border-radius: 12px; object-fit: cover; }
.ligne-nom { font-weight: 600; font-size: 15px; line-height: 1.25; }
.ligne-detail { color: var(--muted); font-size: 13px; }
.ligne-prix { color: var(--black); font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quantite { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line); border-radius: 99px; background: var(--milk); }
.quantite button { width: 40px; height: 40px; font-size: 18px; font-weight: 600; }
.quantite span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.retirer { min-height: 40px; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.panier-form { display: grid; gap: 12px; padding: 16px var(--inset); border-top: 1px solid var(--line); }
.panier-form h3 { font-size: 16px; font-weight: 600; }
.champ { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.champ input, .champ textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--milk); color: var(--black); font-weight: 400; font-size: 16px; letter-spacing: 0; transition: border-color .25s, box-shadow .25s; }
.champ textarea { min-height: 76px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(29, 29, 29, .1); }
.champ input[aria-invalid='true'] { border-color: var(--erreur); }
.champ small { color: var(--erreur); font-size: 13px; }
.panier-total { display: flex; align-items: baseline; justify-content: space-between; font-weight: 600; }
.panier-total strong { color: var(--black); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.panier-note { color: var(--muted); font-size: 13px; }
.panier-vide { padding: 24px var(--inset) 32px; text-align: center; }
.panier-vide p { margin-bottom: 18px; color: var(--muted); }

.annonce { position: fixed; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 32px); padding: 11px 20px; border-radius: 99px; background: var(--black); color: var(--milk); font-size: 14px; font-weight: 500; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.annonce.visible { opacity: 1; transform: translate(-50%, 0); }

/* ----- Tablette ----- */
@media (min-width: 641px) {
  :root { --r-lg: 32px; --pad: 24px; --inset: 32px; --h-entete: 92px; }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pad) 14px; }
  .bande { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bande-carte-logo { grid-column: 1 / -1; grid-row: 1; }
  .etapes-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.etape-photo { grid-column: 1 / -1; }
  .boutique-outils { max-width: 560px; }
  .grille-suite .bouton { width: auto; padding: 16px 32px; }
  .barre-panier { left: auto; right: 22px; min-width: 320px; }
  .pied-mot { font-size: 13.6vw; }
}

/* ----- PC ----- */
@media (min-width: 1001px) {
  :root { --pad: clamp(12px, 2vw, 24px); --inset: clamp(26px, 3vw, 40px); --h-entete: calc(var(--pad) + 76px); }
  .section { padding: clamp(24px, 3.5vw, 56px) clamp(16px, 4.5vw, 80px); }
  .card { padding: clamp(22px, 3vw, 40px); }
  .entete { top: calc(var(--pad) + 12px); left: calc(var(--pad) + 12px); right: calc(var(--pad) + 12px); gap: 14px; padding: 8px 8px 8px 14px; }
  .burger { display: none; }
  .entete-nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
  .entete-nav a { position: relative; padding: 4px 0; opacity: .92; }
  .entete-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
  .entete-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .logo { margin-right: 0; }
  .sur-hero .entete-nav, .sur-hero .entete-whatsapp { display: none; }
  .sur-hero .logo { margin-right: auto; }
  .entete-whatsapp { display: inline-flex; min-height: 44px; margin-left: 6px; padding: 8px 9px 8px 18px; font-size: 14px; }
  html:not(.sur-hero) .entete-whatsapp { background: var(--rose); color: var(--black); }
  html:not(.sur-hero) .entete-whatsapp .arrow { background: var(--black); color: var(--rose); }

  .hero-scene { min-height: 480px; }
  .scene { right: auto; bottom: calc(18.4vw + 18px); width: min(46vw, 660px); }
  .scene h1 { font-size: clamp(30px, 3.6vw, 52px); }
  .scene-actions { margin-top: 22px; }
  .hero-mot { bottom: .05em; font-size: 15.8vw; }

  .intro-grille { grid-template-columns: 1.15fr .85fr; }
  .intro-texte .h2 { max-width: 15ch; }
  .chips { margin: 26px 0 34px; }
  .intro-image { min-height: 460px; }
  .intro-signe { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 12px 8px; }
  .intro-phrase { max-width: 24ch; }
  .bande { grid-template-columns: 1fr 1.3fr 1fr; }
  .bande-carte, .bande-carte-logo { grid-column: auto; grid-row: auto; height: 340px; }
  .bande-carte-logo { padding: 32px; }

  .rayons-carte { padding: clamp(26px, 4vw, 56px); }
  .rayons-tete { display: grid; grid-template-columns: 220px 1fr; align-items: start; gap: 24px; margin-bottom: clamp(30px, 5vw, 64px); }
  .rayons-tete .h2 { max-width: 17ch; margin-left: auto; }
  .svc { grid-template-columns: 54px 1fr auto 44px; gap: 18px; padding: 24px 22px; border-radius: 18px; transition: border-color .35s var(--ease); }
  .svc::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 18px; background: var(--rose); transform: scaleY(0); transition: transform .45s var(--ease); }
  .svc:hover::before, .svc:focus-visible::before { transform: scaleY(1); }
  .svc:hover, .svc:focus-visible { color: var(--black); }
  .svc:hover .svc-nom { transform: translateX(8px); }
  .svc-tags { display: flex; gap: 6px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .svc-tags span { padding: 5px 11px; border-radius: 999px; border: 1px solid currentColor; font-size: 12px; }
  .svc:hover .svc-tags { opacity: 1; transform: none; }
  .svc:hover .svc-fleche { background: var(--black); color: var(--rose); transform: rotate(45deg); border-color: transparent; }
  .svc-flottant { position: absolute; top: 0; left: 0; z-index: 3; display: block; width: 240px; height: 300px; border-radius: 20px; overflow: hidden; pointer-events: none; opacity: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transition: opacity .3s var(--ease); }
  .svc-flottant img { width: 100%; height: 100%; object-fit: cover; }

  .defile { padding: clamp(26px, 4vw, 48px) 0; }
  .boutique-tete { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 clamp(8px, 2vw, 24px); }
  .boutique-tete .h2 { max-width: 12ch; }
  .boutique-outils { width: 460px; flex: none; }
  .filtres { margin: 18px 0 0; padding: 8px 0; flex-wrap: wrap; }
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pad); }
  .carte { padding: 8px 8px 12px; }
  .carte-nom { font-size: 16px; }
  .carte-prix { font-size: 17px; }

  .etapes-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: clamp(40px, 6vw, 80px) clamp(8px, 2vw, 24px) clamp(24px, 3vw, 40px); }
  .etapes-tete .h2 { max-width: 14ch; text-align: right; }
  .etapes-grille { grid-template-columns: 1fr 1fr 1.25fr; }
  .etape { min-height: 340px; }
  .card.etape-photo { grid-column: auto; }
  .etape-dessus { min-height: 340px; }

  .insta-grille { grid-template-columns: 1.15fr .85fr; }
  .card.insta-photo { min-height: 520px; }
  .insta-texte .h2 { max-width: 14ch; }

  .pied-carte { padding: clamp(26px, 4vw, 56px) clamp(26px, 4vw, 56px) 22px; }
  .pied-haut { flex-direction: row; justify-content: space-between; gap: 40px; }
  .pied-appel { gap: 24px; }
  .pied-appel .h2 { max-width: 14ch; }
  .pied-colonnes { flex-wrap: nowrap; }
  .pied-colonnes a { padding: 4px 0; }
  .pied-mot-cadre { margin: clamp(40px, 6vw, 80px) 0 18px; }
  body.a-barre .pied { padding-bottom: var(--pad); }
  .barre-panier { right: 22px; bottom: 22px; }

  .fiche, .panier { inset: 0 0 0 auto; width: min(520px, 100%); height: 100dvh; max-height: 100dvh; border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .fiche { width: min(880px, 100%); }
  .fiche[open], .panier[open] { animation-name: glisser; }
  .fiche-defile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .fiche-galerie { flex-direction: column; overflow: visible; scroll-snap-type: none; }
  .fiche-galerie img { flex: none; height: auto; aspect-ratio: 4 / 5; }
  .fiche-corps { padding: 56px 28px 24px; }
  .fiche-corps h2 { font-size: 36px; }
  .fiche-pied { grid-template-columns: 1fr 1fr; padding: 12px 28px 16px; }
  .panier-tete { padding: 26px 64px 14px 28px; }
  .panier-lignes, .panier-form { padding-left: 28px; padding-right: 28px; }
  .panier-pied { padding: 14px 28px 20px; }
}
@keyframes glisser { from { transform: translateX(100%); } }

/* Téléphone à l'horizontale : tout doit tenir dans la faible hauteur */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-scene { min-height: 0; }
  .hero-mot { display: none; }
  .scene { bottom: var(--inset); }
  .scene h1 { font-size: 26px; }
  .scene-actions { margin-top: 10px; }
  .scene .btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .defile-piste { animation: none; flex-wrap: wrap; width: auto; }
}
