/* La Fée-minine · KM All One. TOUTES les couleurs du site sont ici : aucune couleur en dur plus bas.
   Charte de la cliente : logo blanc sur orange brûlé (#c75001), ancien site blanc et orange. La marque est claire :
   on garde un fond crème chaud, le texte cacao, l'orange du logo pour l'action, et l'or des étoiles du logo
   pour la poussière de fée (décor seulement). Une section « nuit » (la carte cadeau) donne du relief.
   Contrastes vérifiés (4.5:1 minimum pour le texte) : voir les notes à droite. */
:root {
  --paper: #fbf4ec;            /* fond crème */
  --cream: #f3e6d6;            /* sections alternées */
  --ink: #2a1a12;              /* texte cacao, 15:1 sur --paper */
  --muted: #6b5144;            /* texte secondaire, 6.7:1 sur --paper, 5.9:1 sur --cream */
  --line: rgba(42, 26, 18, .12);
  --line-2: rgba(42, 26, 18, .42); /* bords des champs et boutons, 3:1 */
  --accent: #a84200;           /* orange du logo, assombri pour le texte : 5.5:1 sur --paper, 4.9:1 sur --cream */
  --accent-ink: #ffffff;       /* texte sur --accent, 5.9:1 */
  --marque: #c75001;           /* l'orange exact du logo (carte cadeau, grandes surfaces) */
  --or: #e0a84a;               /* étoiles, poussière de fée (décor) */
  --or-2: #fff3d6;             /* cœur lumineux des étoiles */
  --nuit: #1f130d;             /* section sombre */
  --nuit-2: #2c1c14;           /* champs sur la nuit */
  --nuit-texte: #fbf4ec;       /* 16:1 sur --nuit */
  --nuit-muted: #c9b3a3;       /* 9:1 sur --nuit */
  --nuit-accent: #f08a3c;      /* 7.3:1 sur --nuit */
  --erreur: #b3261e;           /* 6:1 sur --paper */
  --erreur-nuit: #ff9a8a;      /* 8:1 sur --nuit */
  --blanc: #ffffff;
  --voile: rgba(31, 19, 13, .55);
  --verre: color-mix(in srgb, var(--paper) 88%, transparent);
  --ombre: rgba(42, 26, 18, .18);

  /* Rôles : la section « nuit » les redéfinit, tout le reste suit */
  --fond: var(--paper);
  --texte: var(--ink);
  --texte-2: var(--muted);
  --action: var(--accent);
  --action-ink: var(--accent-ink);
  --champ: var(--blanc);
  --err: var(--erreur);

  --f-display: 'Fraunces', Georgia, serif;
  --f-body: 'Figtree', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 72px);
  --maxw: 1320px;
  --nav-h: 72px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --arche: 999px 999px 28px 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body); overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.eyebrow { font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); margin: 0 0 1.25rem; }
.h2 { font: 400 clamp(2.3rem, 6.2vw, 4.75rem)/1.02 var(--f-display); letter-spacing: -.02em; margin: 0 0 2.25rem; font-variation-settings: 'opsz' 144; }
.h2 em, .hero__title em { font-style: italic; color: var(--action); }
h3 { font: 500 1.3rem/1.2 var(--f-display); margin: 0 0 .35rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--texte); max-width: 46ch; }
.petit { font-size: .875rem; color: var(--texte-2); }
.petit a { color: var(--action); }
.desktop-only { display: none !important; }
@media (min-width: 900px) { .desktop-only { display: block !important; } .hero__cta.desktop-only { display: flex !important; } }

/* La marque : le mot du logo d'Audrey, teinté par un jeton (masque) */
.marque { display: block; width: 58px; aspect-ratio: 277 / 280; background: var(--accent); -webkit-mask: url(../img/logo-mot.webp) center / contain no-repeat; mask: url(../img/logo-mot.webp) center / contain no-repeat; }

/* ---------- Apparitions (style du studio) ---------- */
html.js .revele { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
html.js .revele.vu { opacity: 1; transform: none; }
html.js .eyebrow.revele { transform: none; }
html.js .revele--cote { transform: translateX(-22px); }
html.js .revele--cote:nth-child(2) { transition-delay: .09s; } html.js .revele--cote:nth-child(3) { transition-delay: .18s; }
html.js .revele--cote:nth-child(4) { transition-delay: .27s; } html.js .revele--cote:nth-child(5) { transition-delay: .36s; }
html.js .revele--cote:nth-child(6) { transition-delay: .45s; }
html.js .revele-image { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
html.js .revele-image.vu { clip-path: inset(0); }
html.js .revele-image img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
html.js .revele-image.vu img { transform: none; }
.ligne { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ligne > span { display: inline-block; }
html.js .h2 .ligne > span { transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .11s); }
html.js .h2.vu .ligne > span { transform: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; background: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s, color .25s, box-shadow .25s;
}
.btn--accent { background: var(--action); color: var(--action-ink); box-shadow: 0 10px 24px -14px var(--action); }
.btn--accent:hover { box-shadow: 0 14px 30px -12px var(--action); }
.btn--ghost { border-color: var(--line-2); color: var(--texte); }
.btn--ghost:hover { border-color: var(--action); color: var(--action); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn > span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover > span[aria-hidden] { transform: translateX(4px); }
.btn:hover > span[aria-hidden]:first-child { transform: translateX(-4px); }
.btn--petit { min-height: 44px; padding: 0 1.1em; font-size: .9375rem; }

/* ---------- En-tête ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent; transition: background-color .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.nav--plein { background: var(--verre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.nav__brand .marque { width: 52px; transition: transform .25s var(--ease); }
.nav__brand:hover .marque { transform: rotate(-4deg) scale(1.04); }
.nav__links { display: none; gap: 1.75rem; }
.nav__links a { text-decoration: none; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; position: relative; transition: color .25s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.nav__tel { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); }
.nav__tel svg { width: 20px; height: 20px; fill: currentColor; }
@media (min-width: 1000px) { .nav__links, .nav__cta { display: inline-flex; } .nav__tel { display: none; } }

/* ---------- 01 · Héros ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 12px) 0 28px; isolation: isolate; }
.hero::before { /* halo doré derrière l'arche */
  content: ''; position: absolute; z-index: -1; width: 70vmax; aspect-ratio: 1; right: -20vmax; top: -10vmax; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--or) 30%, transparent), transparent);
}
.hero__inner { display: grid; gap: 22px; align-items: center; }
.hero__title { font: 400 clamp(2.9rem, 12.6vw, 7.6rem)/.98 var(--f-display); letter-spacing: -.03em; margin: 0; font-variation-settings: 'opsz' 144; }
.hero__lead { font-size: 1.25rem; max-width: 36ch; margin: 1.75rem 0 2rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__arche { position: relative; margin: 0; justify-self: center; width: min(100%, 46svh, 480px); }
.hero__arche > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; border-radius: var(--arche); }
.hero__arche::before { /* cadre fin décalé, à la couleur de la marque */
  content: ''; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--accent); border-radius: var(--arche); z-index: -1; opacity: .55;
}
.hero__carte {
  position: absolute; left: -22%; bottom: 9%; display: flex; align-items: center; gap: .85rem; padding: .6rem 1.1rem .6rem .6rem;
  background: var(--verre); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; box-shadow: 0 24px 40px -24px var(--ombre); transition: transform .25s var(--ease), border-color .25s;
}
.hero__carte:hover { transform: translateY(-3px); border-color: var(--accent); }
.hero__carte img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.hero__carte b { display: block; font: 500 1rem/1.25 var(--f-display); }
.hero__carte small { color: var(--muted); font-size: .875rem; }
.hero__indice { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; margin: 0; font: .75rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: opacity .6s; }
.hero.a-joue .hero__indice { opacity: 0; }
.sur-doigt { display: none; }
@media (hover: none) { .sur-souris { display: none; } .sur-doigt { display: inline; } }
@media (max-width: 899px) { .hero__indice { display: none; } .hero__title { text-align: center; } }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4vw; }
  .hero__arche { width: min(100%, 54svh, 500px); }
}

/* Poussière de fée : de petites étoiles qui naissent sous le geste et retombent en s'éteignant */
.hero__poussiere { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.etoile {
  position: absolute; left: 0; top: 0; width: var(--t, 12px); aspect-ratio: 1; margin: calc(var(--t, 12px) / -2) 0 0 calc(var(--t, 12px) / -2);
  background: radial-gradient(circle, var(--or-2) 0 18%, var(--or) 42%, transparent 70%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: etoile 1.3s var(--ease) forwards;
}
.etoile--point { clip-path: circle(50%); background: var(--or); }
@keyframes etoile {
  0% { transform: translate(var(--x), var(--y)) scale(.2) rotate(0deg); opacity: 0; }
  20% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1) rotate(40deg); }
  100% { transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(.3) rotate(160deg); opacity: 0; }
}

/* Ouverture (2,5 s) : le cercle du logo se trace, le logo apparaît, puis tout s'efface. Rien n'est bloqué. */
.ouverture { display: none; }
html.intro .ouverture {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--paper); pointer-events: none;
  animation: ouverture-sort .5s var(--ease) 2s forwards;
}
.ouverture > * { grid-area: 1 / 1; }
.ouverture__cercle { width: min(62vw, 300px); overflow: visible; }
.ouverture__cercle circle { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.4s var(--ease) .1s forwards; transform: rotate(-90deg); transform-origin: center; }
.ouverture__logo { width: min(54vw, 260px); aspect-ratio: 1; background: var(--accent); -webkit-mask: url(../img/logo-trait.webp) center / contain no-repeat; mask: url(../img/logo-trait.webp) center / contain no-repeat; opacity: 0; animation: logo-entre 1.1s var(--ease) .6s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes logo-entre { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ouverture-sort { to { opacity: 0; visibility: hidden; transform: scale(1.03); } }

/* Entrée du héros : le titre monte ligne par ligne, l'arche se dévoile, l'en-tête arrive */
html.js .hero__title .ligne > span { animation: monte 1.1s var(--ease) both; animation-delay: calc(.15s + var(--i, 0) * .11s); }
html.js .hero__title .ligne:nth-child(2) > span { --i: 1; }
html.js .hero__arche { animation: devoile 1.5s var(--ease) .1s both; }
html.js .hero__arche > img { animation: dezoom 9s var(--ease) both; }
html.js .hero__texte > :not(h1) { animation: fondu .9s var(--ease) .5s both; }
html.intro .hero__title .ligne > span { animation-delay: calc(1.75s + var(--i, 0) * .11s); }
html.intro .hero__arche { animation-delay: 1.9s; }
html.intro .hero__arche > img { animation-delay: 1.9s; }
html.intro .hero__texte > :not(h1) { animation-delay: 2.2s; }
html.intro .nav { animation: fondu .8s var(--ease) 2s both; }
@keyframes monte { from { transform: translate3d(0, 110%, 0); } }
@keyframes devoile { from { clip-path: inset(100% 0 0 0 round 400px 400px 28px 28px); } to { clip-path: inset(-40px -40% -40px -40% round 0); } }
@keyframes dezoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes fondu { from { opacity: 0; transform: translateY(26px); } }

/* ---------- Ruban de photos ---------- */
.ruban { overflow: hidden; padding: 8px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ruban__piste { display: flex; gap: 14px; width: max-content; animation: defile 70s linear infinite; animation-play-state: paused; }
.ruban.en-vue .ruban__piste { animation-play-state: running; }
.ruban img { height: clamp(170px, 22vw, 290px); width: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.ruban img:nth-child(3n + 2) { border-radius: 999px 999px 20px 20px; }
@keyframes defile { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; background: var(--fond); color: var(--texte); }
.section--alt { --fond: var(--cream); --champ: var(--paper); }
.section--nuit {
  --fond: var(--nuit); --texte: var(--nuit-texte); --texte-2: var(--nuit-muted); --action: var(--nuit-accent); --action-ink: var(--nuit);
  --champ: var(--nuit-2); --err: var(--erreur-nuit); --line: rgba(251, 244, 236, .12); --line-2: rgba(251, 244, 236, .45);
}

/* ---------- 02 · Ton envie ---------- */
.besoins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .besoins { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.besoin {
  position: relative; text-align: left; padding: 1.1rem 1.1rem 1.2rem; min-height: 112px; border-radius: 22px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; display: grid; align-content: space-between; gap: .6rem; overflow: hidden;
  transition: background-color .35s var(--ease), color .35s, border-color .35s, transform .25s var(--ease);
}
.besoin:hover { border-color: var(--accent); transform: translateY(-2px); }
.besoin b { font: 400 clamp(1.3rem, 2.3vw, 1.75rem)/1.1 var(--f-display); }
.besoin span { font-size: .9375rem; color: var(--muted); transition: color .35s; }
.besoin[aria-checked='true'] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.besoin[aria-checked='true'] span { color: var(--accent-ink); }
.besoin::after { /* une étoile s'allume sur l'envie choisie */
  content: ''; position: absolute; top: 14px; right: 14px; width: 14px; aspect-ratio: 1; background: var(--or-2);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); transform: scale(0) rotate(-90deg); transition: transform .5s var(--ease);
}
.besoin[aria-checked='true']::after { transform: none; }
.suggestions { list-style: none; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; display: grid; grid-auto-flow: column; grid-auto-columns: min(74%, 270px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.suggestions::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .suggestions { margin-inline: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); overflow: visible; } }
.sugg { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: var(--cream); animation: sugg .7s var(--ease) both; animation-delay: calc(var(--i, 0) * .07s); }
@keyframes sugg { from { opacity: 0; transform: translateY(18px); } }
.sugg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sugg__corps { padding: 1rem 1.1rem 1.15rem; display: grid; gap: .6rem; align-content: space-between; }
.sugg h3 { font-size: 1.15rem; }
.meta { font: .8125rem/1.3 var(--f-mono); letter-spacing: .04em; color: var(--texte-2); display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; margin: 0; }
.meta b { font-weight: 500; color: var(--texte); }
.badge { font: 500 .75rem/1 var(--f-mono); padding: .35em .6em; border-radius: 99px; border: 1px solid var(--accent); color: var(--accent); letter-spacing: .06em; }

/* ---------- 03 · Les soins ---------- */
.carte__barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.onglets { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); max-width: calc(100% + 2 * var(--gutter)); }
.onglets::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .onglets { margin: 0; padding: 2px; flex-wrap: wrap; } }
.onglet { flex: none; min-height: 44px; padding: 0 1.1rem; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-weight: 500; transition: background-color .25s var(--ease), color .25s, border-color .25s; }
.onglet:hover { border-color: var(--accent); }
.onglet[aria-selected='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.onglet small { font: .75rem var(--f-mono); margin-left: .35em; opacity: .8; }
.interrupteur { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-weight: 500; }
.interrupteur input { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background-color .25s var(--ease); margin: 0; }
.interrupteur input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blanc); transition: transform .25s var(--ease); }
.interrupteur input:checked { background: var(--accent); }
.interrupteur input:checked::after { transform: translateX(20px); }
.carte { display: grid; gap: 40px; outline: none; }
@media (min-width: 900px) { .carte { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; } }
.carte__photo { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; border-radius: var(--arche); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease); }
.carte__photo.change img { opacity: 0; transition-duration: .27s; }
.carte__photo.zoom img { animation: dezoom 6s var(--ease) both; }
.carte__photo figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1.4rem 1.3rem; color: var(--blanc); font: italic 400 1.15rem/1.25 var(--f-display); background: linear-gradient(transparent, var(--voile)); }
.carte__intro { margin: 0 0 .5rem; color: var(--muted); }
.soins { list-style: none; margin: 0; padding: 0; }
.soin { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.soin:last-child { border-bottom: 1px solid var(--line); }
.soin > img { width: 64px; height: 80px; object-fit: cover; border-radius: 999px 999px 12px 12px; }
.soin p { margin: 0 0 .55rem; color: var(--muted); font-size: 1rem; }
.soin__action { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.soin.is-on h3 { color: var(--accent); }
@media (min-width: 900px) {
  .soin { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 12px; margin: 0 -12px; border-radius: 16px; transition: background-color .3s var(--ease); }
  .soin > img { display: none; }
  .soin__action { grid-column: auto; flex-direction: column; align-items: flex-end; }
  .soin:hover, .soin.is-on { background: var(--paper); }
}
.soins.change .soin { animation: liste .6s var(--ease) both; animation-delay: calc(var(--i, 0) * .06s); }
@keyframes liste { from { opacity: 0; transform: translateX(-22px); } }
.vide { padding: 2rem 0; color: var(--muted); }

/* ---------- 04 · Audrey et le lieu ---------- */
.audrey { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .audrey { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; } }
.audrey__photo { margin: 0; border-radius: var(--arche); overflow: hidden; max-width: 480px; }
.audrey__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 75% 90%; }
.audrey__texte p { max-width: 58ch; }
.audrey__aime-titre { font-weight: 600; margin-top: 1.75rem; }
.aime { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 8px; }
.aime li { padding: .45rem .95rem; border-radius: 99px; background: var(--cream); font-size: .9375rem; }
.signature { font: italic 400 1.4rem var(--f-display); color: var(--accent); }
.lieu { display: grid; gap: 16px; margin-top: clamp(56px, 8vw, 110px); }
@media (min-width: 900px) { .lieu { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; } }
.lieu figure { margin: 0; position: relative; border-radius: 26px; overflow: hidden; }
.lieu img { width: 100%; height: 100%; object-fit: cover; }
.lieu__grande img { aspect-ratio: 4 / 3; }
.lieu__petite { border-radius: var(--arche) !important; }
.lieu__petite img { aspect-ratio: 3 / 4; }
.lieu figcaption { position: absolute; left: 16px; bottom: 16px; padding: .45rem .9rem; border-radius: 99px; background: var(--verre); font: .8125rem var(--f-mono); letter-spacing: .06em; }

/* ---------- Formulaires (rendez-vous et carte cadeau) ---------- */
.rdv__grid, .cadeau__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .rdv__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; } .cadeau__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'tete kdo' 'form kdo'; column-gap: 6vw; row-gap: 0; align-items: start; } .cadeau__tete { grid-area: tete; } .cadeau { grid-area: form; } .kdo { grid-area: kdo; align-self: center; } }
.etapes { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3.2vw, 40px); box-shadow: 0 30px 60px -40px var(--ombre); }
.etapes__reperes { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; gap: 6px; }
.etapes__reperes li { flex: 1; display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); padding-top: .7rem; border-top: 2px solid var(--line); transition: border-color .4s var(--ease), color .4s; }
.etapes__reperes span { font: 500 .75rem var(--f-mono); }
.etapes__reperes li.is-on { color: var(--ink); border-color: var(--accent); font-weight: 600; }
.etapes__reperes li.is-fait { border-color: var(--accent); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--f-display); margin-bottom: 1.1rem; padding: 0; }
.etapes__pas.entre { animation: pas-entre .55s var(--ease) both; }
.etapes__pas.entre-retour { animation: pas-retour .55s var(--ease) both; }
@keyframes pas-entre { from { opacity: 0; transform: translateX(26px); } }
@keyframes pas-retour { from { opacity: 0; transform: translateX(-26px); } }
.aide { font-size: .9375rem; color: var(--texte-2); margin: 1rem 0 .6rem; }
.champs { display: grid; gap: 16px; }
@media (min-width: 640px) { .champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--large { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; margin-top: .25rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--texte-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--champ);
  font-size: 1rem; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px color-mix(in srgb, var(--action) 25%, transparent); }
.field [aria-invalid='true'] { border-color: var(--err); }
.field__err { margin: 0; min-height: 0; color: var(--err); font-size: .875rem; font-weight: 600; }
.field__err:empty { display: none; }
.puces-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.puces-choix label { position: relative; cursor: pointer; }
.puces-choix input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puces-choix span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--champ); font-weight: 500; transition: background-color .25s var(--ease), color .25s, border-color .25s; }
.puces-choix label:hover span { border-color: var(--action); }
.puces-choix input:checked + span { background: var(--action); color: var(--action-ink); border-color: var(--action); }
.puces-choix input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 3px; }
.puces-choix--jours span { min-width: 56px; justify-content: center; }
.choix__resume { margin: .85rem 0; min-height: 1.5em; }
.choix__resume:empty { display: none; }
.case { display: flex; gap: .7rem; align-items: center; min-height: 44px; cursor: pointer; }
.case input { width: 22px; height: 22px; accent-color: var(--action); margin: 0; }
.etapes__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.etapes__nav .btn--accent { margin-left: auto; }
.form__note { font-size: .875rem; color: var(--texte-2); margin: 1.2rem 0 0; }
.fiche { outline: none; }
.fiche__ref { font: 500 .8125rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.fiche__ref b { color: var(--accent); }
.fiche__titre { font: 400 1.8rem/1.15 var(--f-display); margin: .5rem 0 1rem; }
.fiche__lignes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem 1.25rem; margin: 0 0 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--cream); }
.fiche__lignes dt { font: .75rem/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fiche__lignes dd { margin: 0; overflow-wrap: anywhere; }
.fiche__etat:empty { display: none; }
.fiche.entre { animation: pas-entre .55s var(--ease) both; }

/* ---------- 06 · Carte cadeau ---------- */
.cadeau .champs { margin: 1.25rem 0 1.5rem; }
.kdo { perspective: 1200px; }
.kdo__carte {
  position: relative; aspect-ratio: 1.6; border-radius: 26px; padding: clamp(20px, 3.5vw, 36px); overflow: hidden; color: var(--blanc);
  background: radial-gradient(70% 80% at 92% 8%, color-mix(in srgb, var(--or) 35%, var(--marque)), transparent 60%), linear-gradient(160deg, var(--marque) 30%, color-mix(in srgb, var(--marque) 72%, var(--nuit))); /* texte blanc ≥ 4.6:1 sur toute la zone de texte */
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); display: grid; grid-template-rows: auto 1fr auto auto; container-type: inline-size;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease);
}
.kdo__carte::after { /* reflet qui suit le geste */
  content: ''; position: absolute; inset: 0; background: radial-gradient(40% 60% at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .22), transparent 70%); pointer-events: none;
}
.kdo__logo { position: absolute; right: -6%; top: 50%; width: 62%; aspect-ratio: 1; translate: 0 -50%; background: var(--blanc); opacity: .9; -webkit-mask: url(../img/logo-trait.webp) center / contain no-repeat; mask: url(../img/logo-trait.webp) center / contain no-repeat; }
.kdo__carte p { margin: 0; position: relative; max-width: 62%; }
.kdo__type { font: 500 clamp(.75rem, 2.6cqi, .875rem) var(--f-mono); letter-spacing: .18em; text-transform: uppercase; }
.kdo__valeur { align-self: center; font: 400 clamp(2.2rem, 13cqi, 4.5rem)/1 var(--f-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.kdo__valeur.petit-texte { font-size: clamp(1.25rem, 6.4cqi, 2.1rem); line-height: 1.1; }
.kdo__valeur.pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.06); } }
.kdo__pour { font-weight: 600; font-size: clamp(.875rem, 3.4cqi, 1.05rem); display: grid; overflow-wrap: anywhere; }
.kdo__pour span + span { font-weight: 400; }
.kdo__mot { font: italic 400 clamp(.875rem, 3.2cqi, 1rem)/1.3 var(--f-display); margin-top: .35rem !important; overflow-wrap: anywhere; }
.kdo__mot:empty { display: none; }
.kdo__legende { text-align: center; margin-top: 1rem; }

/* ---------- 07 · Venir ---------- */
.contact__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.infos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem 3rem; }
@media (min-width: 700px) { .infos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.infos li { display: grid; gap: .3rem; align-content: start; }
.infos a { font: 400 1.35rem/1.25 var(--f-display); text-decoration: none; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; transition: color .25s; }
.infos a:hover { color: var(--accent); }
.infos li > span:not(.label) a { font: inherit; display: inline; min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
.infos li > span:not(.label) { line-height: 2.75; } /* zones tactiles de 44 px pour les liens en ligne */
.label { font: .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.contact__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Pied de page et barre mobile ---------- */
.footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.footer__grid { display: grid; gap: .6rem; justify-items: start; }
.footer p { margin: 0; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; }
.footer__marque { width: 70px; margin-bottom: .5rem; }
.footer__maquette { font-size: .75rem; }
.actionbar {
  position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--verre); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .7s var(--ease);
}
.actionbar.is-visible { transform: none; }
.actionbar a { display: grid; place-items: center; align-content: center; gap: 4px; font-size: .75rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.actionbar a.is-main { background: var(--accent); color: var(--accent-ink); }
.actionbar svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 900px) { .actionbar { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ruban__piste { flex-wrap: nowrap; }
  .kdo__carte { transform: none; }
}

/* ---------- Page mentions légales ---------- */
.page-legale { padding-bottom: 0; }
.page-legale .nav { justify-content: space-between; }
.legal { padding: calc(var(--nav-h) + 48px) 0 80px; max-width: 760px; }
.legal h1 { font: 400 clamp(2.2rem, 6vw, 3.5rem)/1.05 var(--f-display); margin: 0 0 1.5rem; }
.legal h2 { font: 500 1.3rem var(--f-display); margin: 2rem 0 .5rem; }
.legal a { color: var(--accent); }
/* Sur téléphone : l'aperçu de la carte passe avant le formulaire, pour la voir changer pendant qu'on écrit */
@media (max-width: 899px) { .kdo { order: 1; margin-bottom: 8px; } .cadeau { order: 2; } }
