/* L'Univers des Bébés chez Louh : pensé d'abord pour le téléphone. */
:root {
  --creme: #FFF9F2;
  --creme-2: #FFF1E3;
  --blanc: #FFFFFF;
  --encre: #22323F;
  --encre-douce: #5B6B79;
  --principal: #15707F;
  --principal-fonce: #0E5561;
  --rose: #F7CBD6;
  --rose-fort: #DC6E8C;
  --ciel: #CDEAF6;
  --ciel-fort: #4FA3C9;
  --miel: #F7C873;
  --vert-wa: #1FAF57;
  --bord: #EEE3D7;
  --rayon: 20px;
  --ombre: 0 12px 32px rgba(34, 50, 63, .10);
  --ombre-douce: 0 4px 14px rgba(34, 50, 63, .07);
  --titre: 'Baloo 2', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --texte: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --main: 'Pacifico', 'Segoe Script', 'Brush Script MT', cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.55;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.fige { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ciel-fort); outline-offset: 3px; border-radius: 8px; }
.cache { display: none !important; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cadre { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font-family: var(--titre); font-weight: 700; font-size: 1.05rem; line-height: 1;
  background: var(--principal); color: #fff;
  box-shadow: 0 8px 20px rgba(21, 112, 127, .28);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.bouton:hover { background: var(--principal-fonce); transform: translateY(-2px); }
.bouton:active { transform: translateY(0) scale(.97); }
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton.wa { background: var(--vert-wa); box-shadow: 0 8px 20px rgba(31, 175, 87, .30); }
.bouton.wa:hover { background: #178f47; }
.bouton.clair { background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-douce); border: 1.5px solid var(--bord); }
.bouton.clair:hover { background: var(--creme-2); }
.bouton.large { width: 100%; }
.bouton[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Bandeau « maquette » : à retirer quand le site ouvre vraiment ---------- */
.bandeau-maquette { margin: 0; background: var(--encre); color: #fff; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 249, 242, .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.entete.colle { border-color: var(--bord); box-shadow: 0 6px 20px rgba(34, 50, 63, .06); }
.entete .cadre { display: flex; align-items: center; gap: 10px; height: 64px; }
.marque { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.marque svg { width: 46px; height: 46px; flex: none; }
.marque-texte { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.marque-nom { font-family: var(--titre); font-weight: 800; font-size: 1.06rem; color: var(--principal-fonce); white-space: nowrap; }
.marque-chez { font-family: var(--main); font-size: .9rem; color: var(--rose-fort); margin-top: 3px; }
.nav { display: none; gap: 22px; font-weight: 600; font-size: .95rem; color: var(--encre-douce); margin-right: 14px; }
.nav a:hover { color: var(--principal); }
.rond {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  background: var(--blanc); border: 1.5px solid var(--bord); box-shadow: var(--ombre-douce);
  transition: transform .18s ease;
}
.rond:active { transform: scale(.92); }
.rond svg { width: 22px; height: 22px; }
.rond.wa { background: var(--vert-wa); border-color: var(--vert-wa); color: #fff; }
.rond .pastille {
  position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
  background: var(--rose-fort); color: #fff; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--creme);
}
#btnPanierHaut { animation: surgir .4s cubic-bezier(.3, 1.6, .5, 1) both; }

/* ---------- Accueil ---------- */
.accueil { position: relative; padding: 22px 0 34px; overflow: hidden; }
.accueil::before, .accueil::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; pointer-events: none;
}
.accueil::before { width: 340px; height: 340px; background: radial-gradient(circle, var(--rose) 0%, rgba(247, 203, 214, 0) 70%); top: -120px; right: -120px; }
.accueil::after { width: 300px; height: 300px; background: radial-gradient(circle, var(--ciel) 0%, rgba(205, 234, 246, 0) 70%); bottom: -110px; left: -130px; }
.accueil .cadre { position: relative; z-index: 1; display: grid; gap: 26px; }
.etiquette {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px; background: var(--blanc); border: 1.5px solid var(--bord);
  font-size: .82rem; font-weight: 600; color: var(--principal-fonce); box-shadow: var(--ombre-douce);
}
.etiquette i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-wa); box-shadow: 0 0 0 4px rgba(31, 175, 87, .18); }
.accueil h1 { font-size: clamp(2.05rem, 8.6vw, 3.5rem); font-weight: 800; margin: 14px 0 12px; color: var(--encre); }
.accueil h1 em { font-style: normal; color: var(--rose-fort); position: relative; white-space: nowrap; }
.accueil h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; border-radius: 99px;
  background: var(--miel); opacity: .55; z-index: -1;
}
.accroche { font-size: 1.04rem; color: var(--encre-douce); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.actions .bouton { flex: 1 1 150px; }
.reperes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .86rem; color: var(--encre-douce); font-weight: 500; }
.reperes span { display: inline-flex; align-items: center; gap: 6px; }
.reperes svg { width: 16px; height: 16px; color: var(--principal); }

.vitrine { position: relative; height: 330px; max-width: 420px; width: 100%; margin: 0 auto; }
.vitrine .photo {
  position: absolute; border-radius: 22px; overflow: hidden; background: var(--blanc);
  border: 5px solid var(--blanc); box-shadow: var(--ombre);
}
.vitrine .photo img { width: 100%; height: 100%; object-fit: cover; }
.vitrine .principale { width: 58%; height: 300px; left: 21%; top: 12px; z-index: 3; }
.vitrine .principale img { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.vitrine .principale img.vue { opacity: 1; }
.vitrine .gauche { width: 40%; height: 200px; left: 0; top: 64px; transform: rotate(-9deg); z-index: 1; animation: flotte 7s ease-in-out infinite; }
.vitrine .droite { width: 40%; height: 200px; right: 0; top: 78px; transform: rotate(8deg); z-index: 2; animation: flotte 8s ease-in-out -3s infinite; }
.vitrine .pastille-age {
  position: absolute; z-index: 4; right: 6%; top: -4px; width: 86px; height: 86px; border-radius: 50%;
  background: var(--miel); color: var(--encre); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--titre); font-weight: 800; line-height: 1; transform: rotate(10deg);
  box-shadow: 0 10px 22px rgba(247, 200, 115, .55); animation: balance 5s ease-in-out infinite;
}
.vitrine .pastille-age b { font-size: 1.45rem; }
.vitrine .pastille-age small { font-size: .72rem; font-weight: 700; margin-top: 3px; }
.points { position: absolute; left: 0; right: 0; bottom: -8px; display: flex; justify-content: center; gap: 7px; z-index: 5; }
.points i { width: 7px; height: 7px; border-radius: 50%; background: var(--bord); transition: all .3s; }
.points i.actif { background: var(--principal); width: 22px; border-radius: 99px; }

/* ---------- Ligne qui défile ---------- */
.defile { background: var(--principal); color: #fff; overflow: hidden; padding: 11px 0; }
.defile-piste { display: flex; width: max-content; animation: defile 34s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile a, .defile span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--titre); font-weight: 600; font-size: .98rem; white-space: nowrap; }
.defile a::after, .defile span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--miel); }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-titre { text-align: center; margin-bottom: 22px; }
.sur-titre { font-family: var(--main); color: var(--rose-fort); font-size: 1.12rem; display: block; margin-bottom: 4px; }
.section-titre h2 { font-size: clamp(1.7rem, 6.4vw, 2.5rem); font-weight: 800; }
.section-titre p { color: var(--encre-douce); margin: 8px auto 0; max-width: 34em; font-size: .98rem; }

/* ---------- Rayons (filtres) ---------- */
.rayons { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.rayons::-webkit-scrollbar { display: none; }
.rayons button {
  flex: none; scroll-snap-align: start;
  padding: 10px 16px; border-radius: 999px; background: var(--blanc); border: 1.5px solid var(--bord);
  font-weight: 600; font-size: .92rem; color: var(--encre-douce); display: inline-flex; align-items: center; gap: 7px;
  transition: all .18s ease;
}
.rayons button b { font-weight: 700; font-size: .76rem; padding: 2px 7px; border-radius: 99px; background: var(--creme-2); color: var(--encre-douce); }
.rayons button.actif { background: var(--encre); border-color: var(--encre); color: #fff; }
.rayons button.actif b { background: rgba(255, 255, 255, .18); color: #fff; }

@media (max-width: 430px) {
  /* les quatre rayons tiennent sur une ligne de téléphone */
  .rayons { gap: 6px; justify-content: space-between; }
  .rayons button { padding: 10px 14px; font-size: .9rem; }
  .rayons button b { display: none; }
}

/* ---------- Grille des articles : 2 par 2 sur téléphone ---------- */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.article {
  position: relative; background: var(--blanc); border-radius: var(--rayon); overflow: hidden;
  border: 1.5px solid var(--bord); box-shadow: var(--ombre-douce);
  display: flex; flex-direction: column; text-align: left;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: apparait .45s ease both;
}
.article:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.article.choisi { border-color: var(--principal); box-shadow: 0 0 0 3px rgba(21, 112, 127, .14), var(--ombre-douce); }
.article-photo { position: relative; aspect-ratio: 4 / 5; background: var(--creme-2); overflow: hidden; width: 100%; display: block; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.article:hover .article-photo img { transform: scale(1.05); }
.ruban {
  position: absolute; top: 9px; left: 9px; padding: 4px 10px; border-radius: 99px;
  background: var(--rose-fort); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
.rayon-tag { position: absolute; bottom: 9px; left: 9px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: .68rem; font-weight: 700; color: var(--principal-fonce); }
.article-bas { padding: 10px 11px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-nom { font-family: var(--titre); font-weight: 700; font-size: .98rem; line-height: 1.18; color: var(--encre); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.36em; }
.article-ligne { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.prix { font-family: var(--titre); font-weight: 800; font-size: 1.08rem; color: var(--principal); white-space: nowrap; }
.prix small { font-size: .72em; font-weight: 700; margin-left: 2px; }
.plus {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--principal); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(21, 112, 127, .3); transition: transform .18s ease, background .18s ease;
  font-family: var(--titre); font-weight: 800; font-size: .95rem;
}
.plus svg { width: 18px; height: 18px; }
.plus:active { transform: scale(.88); }
.plus.pris { background: var(--rose-fort); box-shadow: 0 6px 14px rgba(220, 110, 140, .35); }
.plus.saute { animation: saute .45s cubic-bezier(.3, 1.8, .5, 1); }
.vide { grid-column: 1 / -1; text-align: center; padding: 30px 10px; color: var(--encre-douce); }

/* ---------- Parfums et savons ---------- */
.douceur { background: linear-gradient(180deg, var(--creme) 0%, #FDEFF2 100%); }
.beaute { display: grid; gap: 12px; }
.beaute-carte {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--rayon);
  background: var(--blanc); border: 1.5px solid var(--bord); box-shadow: var(--ombre-douce);
}
.beaute-icone { width: 62px; height: 62px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center; }
.beaute-icone svg { width: 34px; height: 34px; }
.beaute-carte:nth-child(1) .beaute-icone { background: var(--rose); color: var(--rose-fort); }
.beaute-carte:nth-child(2) .beaute-icone { background: var(--ciel); color: var(--principal); }
.beaute-carte:nth-child(3) .beaute-icone { background: #FCE7B8; color: #B7791F; }
.beaute-carte h3 { font-size: 1.1rem; font-weight: 700; }
.beaute-carte p { font-size: .9rem; color: var(--encre-douce); margin-top: 2px; }
.bientot { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; color: var(--principal-fonce); background: var(--ciel); padding: 3px 9px; border-radius: 99px; }
.centre { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- Étapes ---------- */
.etapes { display: grid; gap: 12px; counter-reset: etape; }
.etape { position: relative; padding: 18px 16px 18px 70px; border-radius: var(--rayon); background: var(--blanc); border: 1.5px solid var(--bord); }
.etape::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 14px;
  background: var(--principal); color: #fff; font-family: var(--titre); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.etape:nth-child(2)::before { background: var(--rose-fort); }
.etape:nth-child(3)::before { background: #E3A63B; }
.etape h3 { font-size: 1.08rem; font-weight: 700; }
.etape p { font-size: .92rem; color: var(--encre-douce); margin-top: 3px; }

/* ---------- La maison ---------- */
.maison { background: var(--principal-fonce); color: #fff; border-radius: 28px; padding: 28px 20px; position: relative; overflow: hidden; }
.maison::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .06); right: -90px; top: -90px; }
.maison::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(247, 200, 115, .13); left: -60px; bottom: -70px; }
.maison > * { position: relative; z-index: 1; }
.maison svg.embleme { width: 92px; height: 92px; margin-bottom: 12px; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .22)); }
.maison h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; }
.maison p { color: rgba(255, 255, 255, .86); margin-top: 10px; max-width: 36em; }
.maison .signature { font-family: var(--main); color: var(--miel); font-size: 1.3rem; margin-top: 16px; }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.atout { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 12px 8px; text-align: center; }
.atout b { display: block; font-family: var(--titre); font-size: 1.3rem; font-weight: 800; color: var(--miel); line-height: 1; }
.atout span { font-size: .74rem; color: rgba(255, 255, 255, .84); display: block; margin-top: 5px; line-height: 1.25; }

/* ---------- Questions ---------- */
.questions { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.questions details { background: var(--blanc); border: 1.5px solid var(--bord); border-radius: 18px; overflow: hidden; }
.questions summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 16px; font-family: var(--titre); font-weight: 700; font-size: 1.02rem; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--principal); border-bottom: 2.5px solid var(--principal); transform: rotate(45deg); transition: transform .25s;
}
.questions details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.questions details p { padding: 0 16px 16px; color: var(--encre-douce); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-carte { background: var(--blanc); border: 1.5px solid var(--bord); border-radius: 28px; padding: 26px 18px; text-align: center; box-shadow: var(--ombre); }
.contact-carte h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; }
.contact-carte > p { color: var(--encre-douce); margin: 8px auto 0; max-width: 30em; }
.numero { display: inline-block; font-family: var(--titre); font-weight: 800; font-size: 1.9rem; color: var(--principal); margin-top: 14px; letter-spacing: .02em; }
.contact-actions { display: grid; gap: 10px; margin-top: 16px; }
.reseaux { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.reseau { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--bord); font-size: .86rem; font-weight: 600; color: var(--encre-douce); background: var(--creme); }
.reseau svg { width: 18px; height: 18px; }
.reseau.attente { opacity: .7; border-style: dashed; }
.reseau.attente em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--principal-fonce); background: var(--ciel); padding: 2px 7px; border-radius: 99px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: rgba(255, 255, 255, .78); padding: 34px 0 110px; margin-top: 46px; font-size: .92rem; }
.pied .cadre { display: grid; gap: 24px; }
.pied .marque-nom { color: #fff; }
.pied .marque-chez { color: var(--rose); }
.pied h3 { font-size: 1rem; color: #fff; font-weight: 700; margin-bottom: 8px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied a:hover { color: #fff; }
.pied .bas { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; font-size: .8rem; color: rgba(255, 255, 255, .55); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* ---------- Barre du panier (téléphone) ---------- */
.barre {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 22px;
  background: var(--encre); color: #fff; box-shadow: 0 16px 38px rgba(34, 50, 63, .38);
  translate: 0 140%; visibility: hidden; transition: translate .4s cubic-bezier(.3, 1.3, .5, 1), visibility 0s .4s;
}
.barre.visible { translate: 0 0; visibility: visible; transition: translate .4s cubic-bezier(.3, 1.3, .5, 1), visibility 0s 0s; }
.barre.rebond { animation: rebond .45s ease; }
.barre-texte { flex: 1; min-width: 0; line-height: 1.2; text-align: left; }
.barre-texte small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.barre-texte b { font-family: var(--titre); font-size: 1.18rem; font-weight: 800; }
.barre .bouton { min-height: 46px; padding: 0 18px; font-size: .98rem; box-shadow: none; background: var(--miel); color: var(--encre); }

.bulle {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--principal-fonce); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--ombre); transition: opacity .25s, translate .25s; white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.bulle.visible { opacity: 1; translate: -50% 0; }
/* Quand une feuille est ouverte, le message monte en haut pour ne pas cacher les boutons. */
body.fige .bulle { bottom: auto; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 70; }

/* ---------- Feuilles (article et panier) ---------- */
.voile { position: fixed; inset: 0; z-index: 50; background: rgba(34, 50, 63, .52); opacity: 0; pointer-events: none; transition: opacity .28s; }
.voile.ouvert { opacity: 1; pointer-events: auto; }
.feuille {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; max-height: 94dvh; max-height: 94vh;
  background: var(--creme); border-radius: 26px 26px 0 0; box-shadow: 0 -18px 50px rgba(34, 50, 63, .25);
  display: flex; flex-direction: column; translate: 0 104%; transition: translate .36s cubic-bezier(.25, 1, .4, 1); visibility: hidden;
}
@supports (height: 1dvh) { .feuille { max-height: 94dvh; } }
.feuille.ouvert { translate: 0 0; visibility: visible; }
.feuille-tete { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; position: relative; flex: none; }
.feuille-tete::before { content: ''; position: absolute; top: 7px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 99px; background: var(--bord); }
.feuille-tete h2 { font-size: 1.3rem; font-weight: 800; margin-right: auto; padding-top: 6px; }
.fermer { width: 38px; height: 38px; border-radius: 50%; background: var(--blanc); border: 1.5px solid var(--bord); display: inline-flex; align-items: center; justify-content: center; margin-top: 6px; }
.fermer svg { width: 18px; height: 18px; }
.feuille-corps { overflow-y: auto; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.feuille-pied { flex: none; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1.5px solid var(--bord); background: var(--blanc); }

/* fiche article */
.fiche-photo { border-radius: 20px; overflow: hidden; background: var(--creme-2); aspect-ratio: 4 / 4.3; max-height: 46vh; width: 100%; }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fiche-haut h3 { font-size: 1.32rem; font-weight: 800; }
.fiche-haut .prix { font-size: 1.4rem; }
.fiche-desc { color: var(--encre-douce); margin-top: 8px; font-size: .96rem; }
.champ { display: block; margin-top: 14px; }
.champ > span { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.champ > span i { font-style: normal; color: var(--rose-fort); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--bord);
  background: var(--blanc); font: inherit; color: var(--encre); appearance: none; -webkit-appearance: none;
}
.champ select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315707F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.champ textarea { min-height: 74px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--principal); box-shadow: 0 0 0 4px rgba(21, 112, 127, .14); }
.champ.erreur input, .champ.erreur select { border-color: var(--rose-fort); box-shadow: 0 0 0 4px rgba(220, 110, 140, .16); }
.champ .aide { display: block; font-size: .8rem; color: var(--encre-douce); margin-top: 5px; }
.champ.erreur .aide { color: var(--rose-fort); font-weight: 600; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quantite { display: inline-flex; align-items: center; gap: 4px; background: var(--blanc); border: 1.5px solid var(--bord); border-radius: 999px; padding: 4px; }
.quantite button { width: 38px; height: 38px; border-radius: 50%; background: var(--creme-2); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.quantite button svg { width: 16px; height: 16px; }
.quantite button:active { transform: scale(.9); }
.quantite output { min-width: 30px; text-align: center; font-family: var(--titre); font-weight: 800; font-size: 1.1rem; }
.fiche-pied { display: flex; align-items: center; gap: 12px; }
.fiche-pied .bouton { flex: 1; }
.lien-doux { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .9rem; font-weight: 600; color: var(--principal); }
.lien-doux svg { width: 17px; height: 17px; }
.fiche-liens { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* panier */
.lignes { display: grid; gap: 10px; }
.ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: var(--blanc); border: 1.5px solid var(--bord); border-radius: 18px; }
.ligne img { width: 64px; height: 80px; object-fit: cover; border-radius: 12px; }
.ligne-nom { font-family: var(--titre); font-weight: 700; font-size: .98rem; line-height: 1.15; }
.ligne-age { font-size: .82rem; color: var(--encre-douce); margin-top: 2px; }
.ligne-bas { display: flex; align-items: center; gap: 10px; margin-top: 7px; flex-wrap: wrap; }
.ligne .quantite { padding: 3px; }
.ligne .quantite button { width: 30px; height: 30px; }
.ligne .quantite output { min-width: 24px; font-size: 1rem; }
.retirer { font-size: .8rem; font-weight: 600; color: var(--rose-fort); text-decoration: underline; text-underline-offset: 3px; }
.ligne .prix { font-size: 1rem; align-self: start; }
.total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: var(--creme-2); }
.total span { font-weight: 600; }
.total b { font-family: var(--titre); font-size: 1.5rem; font-weight: 800; color: var(--principal); }
.note-livraison { font-size: .84rem; color: var(--encre-douce); margin-top: 8px; }
.bloc-titre { font-family: var(--titre); font-weight: 800; font-size: 1.12rem; margin-top: 22px; }
.panier-vide { text-align: center; padding: 26px 10px 10px; color: var(--encre-douce); }
.panier-vide svg { width: 86px; height: 86px; margin: 0 auto 10px; display: block; }
.panier-vide .bouton { margin-top: 16px; }
.mention { font-size: .78rem; color: var(--encre-douce); text-align: center; margin-top: 8px; }

/* ---------- Apparitions ---------- */
.revele { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s ease; }
.revele.vu { opacity: 1; translate: 0 0; }

@keyframes flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes balance { 0%, 100% { rotate: 0deg; } 50% { rotate: -8deg; } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes apparait { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes saute { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes surgir { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes rebond { 0%, 100% { scale: 1; } 45% { scale: 1.035; } }

/* ---------- Tablette et ordinateur ---------- */
@media (min-width: 600px) {
  .beaute { grid-template-columns: repeat(3, 1fr); }
  .beaute-carte { flex-direction: column; text-align: center; padding: 22px 16px; }
  .etapes { grid-template-columns: repeat(3, 1fr); }
  .etape { padding: 70px 18px 20px; }
  .contact-actions { grid-template-columns: 1fr 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .grille { gap: 16px; }
}
@media (min-width: 720px) {
  .cadre { padding: 0 24px; }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rayons { justify-content: center; }
  .section { padding: 64px 0; }
  .maison { padding: 44px 40px; }
  .atouts { max-width: 520px; }
  .pied .cadre { grid-template-columns: 1.4fr 1fr 1fr; }
  .pied .bas { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .entete .cadre { height: 74px; }
  .marque svg { width: 54px; height: 54px; }
  .marque-nom { font-size: 1.22rem; }
  .accueil { padding: 54px 0 64px; }
  .accueil .cadre { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
  .actions .bouton { flex: 0 0 auto; }
  .vitrine { height: 440px; max-width: 520px; }
  .vitrine .principale { height: 400px; }
  .vitrine .gauche, .vitrine .droite { height: 270px; }
  .vitrine .pastille-age { width: 104px; height: 104px; }
  .vitrine .pastille-age b { font-size: 1.8rem; }
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .article-nom { font-size: 1.05rem; }
  .barre { left: auto; right: 24px; bottom: 24px; width: 380px; }
  .bulle { bottom: 110px; }
  .feuille { left: 50%; right: auto; bottom: 50%; width: min(560px, calc(100vw - 48px)); max-height: 88vh; border-radius: 26px; translate: -50% 60%; opacity: 0; transition: translate .3s ease, opacity .25s ease, visibility .3s; }
  .feuille.ouvert { translate: -50% 50%; opacity: 1; }
  .feuille-tete::before { display: none; }
  .feuille-pied { border-radius: 0 0 26px 26px; }
  .fiche-photo { aspect-ratio: auto; height: 46vh; max-height: none; }
  .fiche-photo img { object-fit: contain; }
  .pied { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revele { opacity: 1; translate: 0 0; }
}
