:root {
  --gold: #d4af37;
  --gold-dark: #8b6914;
  --brown: #2c1810;
  --ink: #1a1a1a;
  --cream: #fff8e7;
  --muted: #d9cfbd;
  --reso-a: #ff2d78;
  --reso-b: #7c3aed;
  --reso-bg: #07070c;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sp: 0;
  --py: 0px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body { margin: 0; background: var(--brown); color: var(--cream); font-family: "Montserrat", sans-serif; line-height: 1.6; overflow-x: clip; }
h1, h2, h3 { font-family: "Playfair Display", serif; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.4rem, 7.5vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* Apparition au defilement. Sans JavaScript, tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* La tondeuse suit la lecture : elle trace une ligne nette en haut de l'ecran. */
.scrollbar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 30; pointer-events: none; }
.scrollbar-fill { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--sp)); background: linear-gradient(90deg, var(--gold-dark), var(--gold), #fff1b8); }
.clipper { position: absolute; top: -5px; left: calc(var(--sp) * (100% - 34px)); width: 34px; height: 14px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: rgba(18, 10, 6, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(212, 175, 55, .22); transition: padding .3s var(--ease), background .3s; }
.nav.small { padding: 6px 16px; background: rgba(18, 10, 6, .94); }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Playfair Display", serif; font-weight: 700; color: var(--gold); text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: transform .3s var(--ease); }
.nav.small .brand img { transform: scale(.82); }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .93rem; padding: 4px 0; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav nav a:hover::after, .nav nav a.on::after { transform: scaleX(1); }
.nav nav a.on { color: var(--gold); }
.nav .nav-reso { font-weight: 800; background: linear-gradient(90deg, var(--reso-a), #a65cff); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.status { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; }
.status.open::before { background: #2ecc71; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); } 100% { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); } }

.btn { position: relative; overflow: hidden; display: inline-block; padding: 14px 28px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #ecc95a, var(--gold) 55%, #b48d1f); color: var(--brown); font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px rgba(212, 175, 55, .25); transition: transform .25s var(--ease), box-shadow .25s; }
.btn::before { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(212, 175, 55, .35); }
.btn:hover::before { left: 120%; }
.btn:active { transform: scale(.97); }
.btn-line { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--gold); background: rgba(212, 175, 55, .12); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .45); transform: translate(-50%, -50%) scale(0); animation: ripple .6s var(--ease) forwards; pointer-events: none; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

.hero { position: relative; overflow: hidden; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 48px 16px 76px; }
.hero-bg { position: absolute; inset: -12% 0; background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, .3), transparent 58%), linear-gradient(180deg, rgba(18, 10, 6, .72), rgba(44, 24, 16, .96)), url("images/galerie_3.webp") center / cover; transform: translateY(var(--py)) scale(1.04); animation: zoom 18s ease-in-out infinite alternate; }
@keyframes zoom { to { scale: 1.07; } }
.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 170px; height: 170px; object-fit: contain; margin-bottom: 14px; filter: drop-shadow(0 8px 26px rgba(212, 175, 55, .45)); animation: drop 1.1s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-26px) scale(.9); } }
.pole { position: absolute; top: 0; bottom: 0; width: 12px; opacity: .85; background: repeating-linear-gradient(135deg, #b3202a 0 16px, var(--cream) 16px 32px, #1d3f8b 32px 48px, var(--cream) 48px 64px); background-size: 100% 300%; animation: pole 7s linear infinite; box-shadow: 0 0 24px rgba(0, 0, 0, .6); }
.pole-left { left: 0; }
.pole-right { right: 0; }
@keyframes pole { to { background-position: 0 -300px; } }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; }
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.word > span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .07s); }
@keyframes rise { to { transform: none; } }
.lead { max-width: 620px; margin: 20px auto 0; color: var(--muted); font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.actions.start { justify-content: flex-start; }
.install { margin-top: 16px; }
.next { margin: 18px 0 0; color: var(--gold); font-size: .9rem; font-weight: 600; }
.ribbon { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(7, 7, 12, .75); box-shadow: inset 0 0 0 1px rgba(255, 45, 120, .6), 0 0 24px rgba(255, 45, 120, .28); font-size: .85rem; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease); }
.ribbon:hover { transform: translateY(-2px); }
.ribbon img { border-radius: 6px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(212, 175, 55, .7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.7s ease-in-out infinite; }
@keyframes cue { 70%, 100% { transform: translateY(16px); opacity: 0; } }

.ticker { overflow: hidden; background: var(--gold); color: var(--brown); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
.ticker div { display: flex; width: max-content; padding: 9px 0; animation: ticker 28s linear infinite; }
.ticker span { padding: 0 22px; position: relative; }
.ticker span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; transform: rotate(45deg); background: var(--brown); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 84px 16px; text-align: center; }
.section > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.alt { background: var(--ink); }
.intro { color: var(--muted); max-width: 640px; margin-top: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 36px; text-align: left; }
.card { padding: 24px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s, opacity .8s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
.card h3 { color: var(--gold); font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .92rem; }
.card ul, .hours { list-style: none; margin: 12px 0 0; padding: 0; }
.card li, .hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(212, 175, 55, .16); }
.card b { color: var(--gold); white-space: nowrap; }
.card li[role] { cursor: pointer; padding-left: 8px; padding-right: 8px; margin: 0 -8px; border-radius: 6px; transition: background .2s, color .2s; }
.card li[role]:hover { background: rgba(212, 175, 55, .1); }
.card li[aria-checked="true"] { background: var(--gold); color: var(--brown); font-weight: 700; }
.card li[aria-checked="true"] b { color: var(--brown); }
.badge { display: inline-block; margin-top: 28px; padding: 8px 18px; border-radius: 999px; background: #8b0000; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

.try { background: radial-gradient(circle at 80% 40%, rgba(212, 175, 55, .16), transparent 55%), var(--ink); text-align: left; }
.try-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.try-visual { position: relative; aspect-ratio: 4 / 5; max-height: 520px; width: 100%; border-radius: 18px; overflow: hidden; }
.try-visual img { width: 100%; height: 100%; object-fit: cover; }
.scan { position: absolute; left: 0; right: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(212, 175, 55, .35)); border-bottom: 2px solid var(--gold); animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { from { top: -26%; } to { top: 100%; } }
.try-visual i { position: absolute; width: 30px; height: 30px; border: 3px solid var(--gold); }
.try-visual i:nth-of-type(1) { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.try-visual i:nth-of-type(2) { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.try-visual i:nth-of-type(3) { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.try-visual i:nth-of-type(4) { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }

/* Les photos des clients gardent leur format en hauteur (un carre ne gardait que le milieu : un gros plan sur les
   cheveux), cadrees un peu plus haut pour voir la coupe entiere ; deux par ligne sur telephone. */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 36px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; border-radius: 10px; }
.shot { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 10px; }
.shot img { transition: transform .7s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.07); filter: brightness(1.1); }

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 36px; }
.team img { width: 200px; height: 200px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); transition: transform .5s var(--ease), box-shadow .5s; }
.team article:hover img { transform: scale(1.05) rotate(-2deg); box-shadow: 0 0 34px rgba(212, 175, 55, .45); }
.team .role { margin: 4px 0; color: var(--gold); font-weight: 600; }
.team p { color: var(--muted); }

/* ICI ON UTILISE RESO : l'univers de Reso entre dans le salon. */
.ici { position: relative; overflow: clip; padding: 96px 16px; background: radial-gradient(60% 40% at 90% 0%, rgba(255, 45, 120, .28), transparent 70%), radial-gradient(55% 40% at 0% 100%, rgba(124, 58, 237, .3), transparent 70%), var(--reso-bg); border-top: 3px solid var(--reso-a); border-bottom: 3px solid var(--reso-b); }
.ici-head { max-width: 780px; margin: 0 auto; text-align: center; }
.ici-logo { margin: 0 auto 16px; border-radius: 20px; box-shadow: 0 0 60px rgba(255, 45, 120, .5); }
.ici-kicker { margin: 0; color: #ff8fb8; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.ici h2 { margin-top: 8px; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(2.6rem, 9vw, 5.6rem); letter-spacing: -.02em; }
.ici h2 em { font-style: normal; background: linear-gradient(100deg, var(--reso-a), #a65cff, var(--reso-a)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 5s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.ici-lead { margin: 14px auto 0; color: #d6d4e4; font-size: 1.15rem; }
.ici-stage { display: grid; grid-template-columns: 340px 1fr; gap: 56px; max-width: 980px; margin: 56px auto 0; }
.phone { position: sticky; top: 96px; align-self: start; width: 280px; height: 560px; margin: 0 auto; padding: 12px; border-radius: 42px; background: #17171f; box-shadow: 0 0 0 2px #33333f, 0 30px 80px rgba(255, 45, 120, .3); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 32px; background: #0d0d15; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 22px 18px; opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .45s, transform .45s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.scr > b { font-size: 1.1rem; }
.scr > u { text-decoration: none; color: #ff8fb8; font-size: .82rem; font-weight: 700; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slots i { padding: 10px; border-radius: 10px; background: #1c1c28; text-align: center; font-style: normal; font-weight: 600; font-size: .9rem; }
.slots .off { opacity: .3; text-decoration: line-through; }
.scr.on .pick { animation: pick .5s .5s var(--ease) forwards; }
@keyframes pick { to { background: linear-gradient(135deg, var(--reso-a), var(--reso-b)); transform: scale(1.06); } }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; background: #1c1c28; }
.scr.on .stamps i { animation: stamp .35s var(--ease) forwards; animation-delay: calc(var(--n) * .12s); }
@keyframes stamp { 60% { transform: scale(1.2); } to { background: linear-gradient(135deg, var(--reso-a), var(--reso-b)); } }
.stamps .gift { box-shadow: inset 0 0 0 2px var(--gold); }
.notif { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: #1c1c28; font-size: .8rem; color: #bbb; }
.notif img { width: 32px; height: 32px; border-radius: 8px; }
.notif b { display: block; color: #fff; }
.scr.on .notif { animation: slide .6s .2s var(--ease) both; }
@keyframes slide { from { opacity: 0; transform: translateY(-30px); } }
.queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.queue li { position: relative; overflow: hidden; padding: 11px 12px; border-radius: 10px; background: #1c1c28; font-size: .85rem; font-weight: 600; }
.queue li i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, rgba(255, 45, 120, .55), rgba(124, 58, 237, .55)); transition: width .9s .2s var(--ease); }
.scr.on .queue li i { width: var(--w); }
.queue li { z-index: 0; }
.queue li i { z-index: -1; }
.home { display: grid; gap: 8px; }
.home span { padding: 13px; border-radius: 12px; background: #1c1c28; font-weight: 600; font-size: .88rem; }
.home span:first-child { background: linear-gradient(135deg, var(--reso-a), var(--reso-b)); }
.ici-steps { min-width: 0; }
.ici-tag { display: inline-block; margin: 0 0 8px; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--reso-a), var(--reso-b)); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.step { min-height: 42vh; display: flex; flex-direction: column; justify-content: center; padding: 8px 0 8px 20px; border-left: 3px solid #2b2b3a; opacity: .4; transition: opacity .4s, border-color .4s; }
.step.is-on { opacity: 1; border-color: var(--reso-a); }
.step h3 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.step p { margin: 10px 0 0; color: #d6d4e4; }
.ici-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }
.btn-reso { background: linear-gradient(135deg, var(--reso-a), var(--reso-b)); color: #fff; font-weight: 800; padding: 16px 32px; box-shadow: 0 10px 34px rgba(255, 45, 120, .45); }
.btn-reso:hover { box-shadow: 0 16px 44px rgba(255, 45, 120, .6); }
.btn-reso-line { background: transparent; color: #fff; padding: 16px 32px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4); }
.btn-reso-line:hover { box-shadow: inset 0 0 0 2px #fff; }

.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; text-align: left; }
.tool { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 14px; border: 1px solid rgba(212, 175, 55, .3); background: rgba(255, 255, 255, .04); }
.tool h3 { color: var(--gold); font-size: 1.25rem; }
.tool p { margin: 0; color: var(--muted); font-size: .9rem; }
.tool .btn { margin-top: auto; }
.tool .clock { font-size: 2.2rem; font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; }
.tool .clock.over { color: #ff6b5e; }
.weeks { display: flex; flex-wrap: wrap; gap: 6px; }
.weeks button { padding: 6px 10px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 8px; background: none; color: var(--cream); font-weight: 600; font-size: .82rem; cursor: pointer; }
.weeks .on { background: var(--gold); color: var(--brown); }
.shave { position: relative; width: 100%; aspect-ratio: 9 / 5; border-radius: 10px; overflow: hidden; background: #120a06; }
.shave img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.shave canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.sound { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }

.practical { list-style: none; margin: 32px auto 0; padding: 0; max-width: 720px; text-align: left; }
.practical li { padding: 12px 0 12px 22px; border-top: 1px solid rgba(212, 175, 55, .2); position: relative; }
.practical li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.live { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--gold); color: var(--brown); font-weight: 700; }
.load { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
.load span { padding: 6px 10px; border-radius: 6px; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: var(--muted); }
.load .calm { background: var(--gold); color: var(--brown); }
.load .full { opacity: .4; text-decoration: line-through; }
.week { display: grid; grid-template-columns: auto repeat(var(--cols), minmax(14px, 1fr)); gap: 3px; margin-top: 22px; max-width: 640px; font-size: .68rem; color: var(--muted); }
.week .d { text-align: left; padding-right: 6px; white-space: nowrap; text-transform: capitalize; font-weight: 600; }
.week i { height: 22px; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.week .calme { background: #2ecc71; }
.week .moyen { background: var(--gold); }
.week .charge { background: #c0392b; }
.hint { color: var(--muted); font-size: .8rem; margin-top: 14px; }

.reso { background: linear-gradient(135deg, #3a2412, var(--brown)); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 36px; text-align: left; }
.contact h3 { color: var(--gold); margin-top: 16px; }
.link { color: var(--gold); font-weight: 600; }

.footer { padding: 32px 16px; text-align: center; background: #120a06; color: var(--muted); font-size: .85rem; }
.footer p { margin: 8px 0 0; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; font-weight: 600; color: var(--gold); }
.made { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; text-decoration: none; color: #ff8fb8; }
.made img { border-radius: 5px; }

.cart { position: fixed; z-index: 25; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 18px; max-width: calc(100vw - 24px); border-radius: 999px; background: #120a06; box-shadow: 0 0 0 1px var(--gold), 0 14px 40px rgba(0, 0, 0, .6); font-weight: 700; white-space: nowrap; animation: cart .4s var(--ease); }
@keyframes cart { from { opacity: 0; translate: 0 20px; } }
.cart button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--cream); font-size: 1rem; cursor: pointer; }

.dock { display: none; }

dialog { color: var(--cream); }
.box { width: min(960px, 100vw); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; background: none; overflow: visible; }
.box::backdrop { background: rgba(0, 0, 0, .9); }
.box img { max-height: 88dvh; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.close, .prev, .nxt { position: absolute; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.close { top: 10px; right: 10px; }
.prev { left: 10px; top: 50%; margin-top: -22px; }
.nxt { right: 10px; top: 50%; margin-top: -22px; }

.quiz { width: min(480px, calc(100vw - 32px)); padding: 28px 22px; border-radius: 16px; background: var(--ink); box-shadow: 0 0 0 1px var(--gold); }
.quiz h3 { color: var(--gold); font-size: 1.5rem; margin-right: 40px; }
.quiz .choices { display: grid; gap: 8px; margin-top: 16px; }
.quiz .choices button { padding: 13px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 10px; background: none; color: var(--cream); font-weight: 600; cursor: pointer; transition: background .2s; }
.quiz .choices button:hover { background: rgba(212, 175, 55, .16); }
.quiz .actions { justify-content: flex-start; margin-top: 18px; }

.ar { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; overflow: hidden; }
.ar[open] { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr); }
.ar-stage { position: relative; min-height: 0; min-width: 0; display: grid; place-items: center; }
.ar-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ar-msg { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); text-align: center; font-weight: 700; text-shadow: 0 2px 8px #000; pointer-events: none; }
.ar-shape { position: absolute; left: 12px; top: 12px; right: 64px; width: fit-content; padding: 6px 12px; border-radius: 10px; background: rgba(0, 0, 0, .65); font-size: .8rem; font-weight: 600; }
.ar-actions { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.ar-actions button, .ar-actions label { padding: 9px 14px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-weight: 700; font-size: .85rem; cursor: pointer; }
.ar-actions button.on { background: var(--gold); color: var(--brown); }
.ar-panel { min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #120a06; }
.ar-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-row button { padding: 8px 11px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 8px; background: none; color: var(--cream); font-weight: 600; font-size: .82rem; cursor: pointer; }
.ar-row button.on { background: var(--gold); color: var(--brown); }
.ar-row.colors button { width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.ar-row.colors button.on { box-shadow: 0 0 0 2px #120a06, 0 0 0 4px var(--gold); }
.ar-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: .78rem; color: var(--muted); }
.ar-fit input { width: 100%; accent-color: var(--gold); }
.ar-panel .btn { text-align: center; }
.ar-panel .hint { margin: 0; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 84px; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--cream); color: var(--brown); font-weight: 700; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.legal { max-width: 760px; margin: 0 auto; padding: 48px 16px; }
.legal h2 { font-size: 1.3rem; margin-top: 28px; color: var(--gold); }

@media (max-width: 900px) {
  .nav nav { display: none; }
  .status { margin-left: auto; }
  .try-grid { grid-template-columns: 1fr; gap: 28px; }
  .try-visual { max-height: 340px; }
  .ici-stage { grid-template-columns: 1fr; gap: 12px; }
  .phone { top: 64px; z-index: 2; width: 170px; height: 300px; padding: 7px; border-radius: 28px; }
  .phone-screen { border-radius: 22px; }
  .scr { padding: 10px; gap: 8px; zoom: .62; }
  /* Le telephone reste en place, les textes passent devant lui sur un fond plein. */
  .ici-steps { position: relative; z-index: 3; }
  .ici-tag { margin-top: 12px; }
  .step { min-height: 0; margin-bottom: 320px; padding: 18px; border: 1px solid #2b2b3a; border-radius: 14px; background: #101019; opacity: 1; }
  .step:last-child { margin-bottom: 0; }
  .step:has(+ .ici-tag) { margin-bottom: 320px; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding-top: 36px; }
  .pole { width: 7px; }
  .section { padding: 60px 16px; }
  .ici { padding: 64px 16px; }
  .actions.start { justify-content: center; }
  .try { text-align: center; }
  .brand span { display: none; }
  /* Sur telephone, « Reserver » est deja le premier bouton de la barre du bas : le haut garde le logo entier. */
  .nav { gap: 10px; }
  .brand { flex: none; }
  .nav > .btn-small { display: none; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .dock { position: fixed; z-index: 24; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(18, 10, 6, .96); border-top: 1px solid rgba(212, 175, 55, .35); }
  .dock a, .dock button { padding: 15px 2px; border: 0; background: none; color: var(--cream); font-weight: 700; font-size: .8rem; text-align: center; text-decoration: none; }
  .dock a:first-child { color: var(--gold); }
  .cart { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(126px + env(safe-area-inset-bottom)); }
  .ar[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .ar-panel { max-height: 45dvh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .word > span { opacity: 1; transform: none; }
  .scr.on .queue li i { width: var(--w); }
}

/* La lumiere : --lx et --ly viennent de watchLight() dans fx.js. */
:root { --lx: 0; --ly: 0; }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(90px 60px at calc(50% + var(--lx) * 70%) calc(50% + var(--ly) * 90%), rgba(255, 255, 255, .5), transparent 70%); mix-blend-mode: soft-light; }
.btn-line::after, .btn-reso-line::after { mix-blend-mode: screen; opacity: .35; }
.card, .tool { position: relative; }
.card::after, .tool::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(calc(115deg + var(--lx) * 30deg), transparent 30%, rgba(255, 255, 255, .07) calc(48% + var(--ly) * 16%), transparent 66%), radial-gradient(180px circle at var(--gx, -200px) var(--gy, -200px), rgba(212, 175, 55, .2), transparent 70%); }
#title .word > span { padding-bottom: .12em; background: linear-gradient(calc(100deg + var(--lx) * 40deg), #fff 15%, #f6e3a1 calc(46% + var(--lx) * 30%), var(--gold) calc(54% + var(--lx) * 30%), #fff 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-logo { transform: translate3d(calc(var(--lx) * 8px), calc(var(--ly) * 6px), 0); }
.hero-bg { transform: translate3d(calc(var(--lx) * -10px), calc(var(--ly) * -8px), 0); }
.shot { perspective: 700px; }
.shot img { transform: rotateY(calc(var(--lx) * 3deg)) rotateX(calc(var(--ly) * -3deg)); }
.team img { box-shadow: calc(var(--lx) * -10px) calc(var(--ly) * -10px + 8px) 24px rgba(212, 175, 55, .3); }
::selection { background: var(--gold); color: var(--brown); }
html { scrollbar-color: var(--gold) #120d09; }
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .hero-logo, .hero-bg, .shot img { transform: none; }
}

/* Le choix de la langue, et l'arabe qui se lit de droite a gauche. */
.lang { flex: none; max-width: 104px; padding: 5px 6px; border: 1px solid rgba(212, 175, 55, .5); border-radius: 8px; background: rgba(18, 10, 6, .9); color: var(--gold); font: inherit; font-size: .8rem; cursor: pointer; }
html[lang="ar"] body, html[lang="ja"] body { font-family: system-ui, "Segoe UI", "Noto Sans Arabic", "Hiragino Sans", "Noto Sans JP", sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { font-family: inherit; }
html[dir="rtl"] .nav nav { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .card, html[dir="rtl"] .tool { text-align: right; }

/* Le minuteur de parking. */
.park-photo { cursor: pointer; text-align: center; margin-bottom: 8px; }
.park-time { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: .85rem; }
.park-time input { padding: 5px 8px; border: 1px solid rgba(212, 175, 55, .5); border-radius: 8px; background: rgba(18, 10, 6, .9); color: var(--gold); font: inherit; color-scheme: dark; }
.park-tip { padding: 10px 12px; border-radius: 10px; background: rgba(212, 175, 55, .16); color: #fff !important; font-size: .86rem; }
#park-alarm { margin-top: 8px; }

/* La mini-pub Electro'CliniK, dans les couleurs du salon. */
.electro { display: block; max-width: 460px; margin: 0 auto 20px; padding: 10px 14px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 10px; color: var(--muted); font-size: .82rem; text-decoration: none; transition: border-color .25s; }
.electro:hover { border-color: var(--gold); }
.electro b { color: var(--gold); }

/* La reservation et l'espace pro du salon. */
.book { max-width: 560px; margin: 0 auto; padding: 20px 16px 60px; }
.book h1 { font-size: 2rem; }
.book h2 { margin: 24px 0 10px; font-size: 1.15rem; color: var(--gold); }
.book input, .book select { width: 100%; margin-bottom: 8px; padding: 12px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 8px; background: rgba(18, 10, 6, .9); color: #fff; font: inherit; color-scheme: dark; }
.pick-list { display: grid; gap: 8px; }
.pick-list button { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 10px; background: transparent; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.pick-list button.on, .chips button.on { background: var(--gold); color: var(--brown); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
.chips button { flex: none; padding: 9px 13px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 8px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.chips button:disabled { opacity: .35; cursor: default; }
.trap { position: absolute; left: -9999px; }
.error { padding: 10px; border-radius: 8px; background: #5b1b16; }
.rdv { margin-bottom: 10px; }
.rdv.annule, .rdv.refuse { opacity: .55; }
.stack { display: grid; gap: 6px; }
.price-row { display: grid; grid-template-columns: 1fr 76px 76px; gap: 6px; align-items: center; font-size: .85rem; }
.price-head { margin-bottom: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* Une case a cocher garde sa taille : la regle des champs (pleine largeur) l'etirait et repoussait son texte a droite. */
.book input[type="checkbox"], .book input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--gold); }
.book .sound { gap: 10px; margin: 4px 0 8px; font-size: .92rem; color: var(--cream); text-align: left; cursor: pointer; }

/* Ce qui sert moins souvent, replie : un toucher l'ouvre. */
.fold { margin-top: 18px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 12px; background: rgba(18, 10, 6, .45); }
.fold > summary { padding: 14px 16px; font-weight: 700; color: var(--gold); cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "＋"; float: right; }
.fold[open] > summary::after { content: "－"; }
.fold > :not(summary) { margin-left: 14px; margin-right: 14px; }
.fold[open] { padding-bottom: 12px; }

/* L'affluence choisie se voit de loin. */
.chips.crowd button { flex: 1; padding: 12px 6px; font-size: 1rem; font-weight: 700; }
.chips.crowd button.on { box-shadow: 0 0 0 2px var(--gold), 0 6px 18px rgba(212, 175, 55, .35); }

/* L'espace pro comme une appli : les onglets tiennent en bas de l'ecran, chacun son icone. */
#tabs { position: fixed; z-index: 30; inset: auto 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; margin: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(212, 175, 55, .35); background: rgba(18, 10, 6, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border: 0; border-radius: 10px; background: none; font-size: .68rem; font-weight: 600; color: rgba(255, 255, 255, .72); }
#tabs button::before { font-size: 1.3rem; line-height: 1; }
#tabs button[data-t="jour"]::before { content: "📅"; }
#tabs button[data-t="tendances"]::before { content: "📈"; }
#tabs button[data-t="boutique"]::before { content: "🛍️"; }
#tabs button[data-t="pubs"]::before { content: "📣"; }
#tabs button[data-t="reglages"]::before { content: "⚙️"; }
#tabs button[data-t="demarrer"]::before { content: "🚀"; }
#tabs button.on { background: rgba(212, 175, 55, .16); color: var(--gold); }
#app { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { #tabs { right: 50%; left: auto; width: min(560px, 100%); transform: translateX(50%); border: 1px solid rgba(212, 175, 55, .35); border-bottom: 0; border-radius: 16px 16px 0 0; } }

.ar-saved { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ar-saved button { padding: 6px 9px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-size: .75rem; cursor: pointer; }
.ar-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.ar-looks .btn { text-align: center; }

/* La carte du client, le jeu et la Coupe du mois. */
.stamps-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stamps-row i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); }
.stamps-row i.on { background: var(--gold); }
.card-code { font-size: 1.8rem; font-weight: 800; letter-spacing: .2em; }
#qr { background: #fff; padding: 8px; border-radius: 8px; }
.scratch { position: relative; display: grid; place-items: center; height: 160px; margin-bottom: 10px; border-radius: 10px; background: rgba(212, 175, 55, .15); font-weight: 800; text-align: center; touch-action: none; overflow: hidden; }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wheel-box { display: grid; place-items: center; margin-bottom: 10px; }
.wheel { width: 200px; height: 200px; border-radius: 50%; border: 4px solid var(--gold); background: conic-gradient(var(--gold) 0 90deg, #3a2614 90deg 180deg, var(--gold) 180deg 270deg, #3a2614 270deg); transition: transform 3.2s cubic-bezier(.15, .8, .2, 1); }
.wheel.go { transform: rotate(var(--turn)); }
.vote img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; border-radius: 10px; }

/* Consentement, ecran du salon, onglets du pro. */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--gold); border-radius: 10px; background: #1b110a; }
.consent p { flex: 1 1 200px; margin: 0; }
.tele { background: #120a06; }
.tele main { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; font-size: 1.5rem; }
.tele h1 { color: var(--gold); font-size: 4rem; }
.tele img { background: #fff; padding: 12px; border-radius: 10px; }
[data-p] { display: block; }
[data-p][hidden] { display: none; }

.rules { padding-left: 20px; display: grid; gap: 6px; }

/* Les pages du client : le meme repere que l'accueil. */
.subnav { position: sticky; top: 0; z-index: 20; display: flex; padding: 10px 16px; background: rgba(18, 10, 6, .94); }
.book { padding-bottom: 96px; }
.book h3 { margin: 14px 0 2px; color: var(--muted); font-family: "Montserrat", sans-serif; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.recap { position: sticky; top: 62px; z-index: 5; margin: 8px 0; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px; background: #1b110a; font-weight: 600; font-size: .92rem; }
.dock a[aria-current="page"] { color: var(--gold); }
.dock.sub a:first-child:not([aria-current]) { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
@media (min-width: 641px) {
  .dock.sub { position: static; display: flex; justify-content: center; gap: 24px; padding: 16px; }
  .dock.sub a { color: var(--cream); font-weight: 600; text-decoration: none; }
}

/* Les themes : seules les couleurs d'accent changent, le salon reste le salon. */
[data-theme="noel"] { --gold: #d9b24a; --reso-theme: #b3202a; }
[data-theme="halloween"] { --gold: #e8710a; }
[data-theme="valentin"] { --gold: #e0568a; }
[data-theme="paques"] { --gold: #e6c34a; }
[data-theme="ete"] { --gold: #f2a33a; }
[data-theme="rentree"] { --gold: #d4af37; }
[data-theme="blackfriday"] { --gold: #e3c24f; --brown: #0d0a08; }
[data-theme="printemps"] { --gold: #e7a3bd; }
[data-theme="automne"] { --gold: #d9822b; }
[data-theme="hiver"] { --gold: #b9d6ee; }
.event-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; padding: 8px 14px; background: var(--gold); color: #1b110a; font-size: .85rem; text-align: center; text-decoration: none; }
.deco { position: fixed; inset: 0; z-index: 15; overflow: hidden; pointer-events: none; }
.deco span { position: absolute; top: -40px; opacity: .55; font-size: 1.1rem; animation: fall linear infinite; }
@keyframes fall { to { transform: translateY(110vh) rotate(180deg); } }
.tele-pub { color: var(--gold); font-weight: 800; }
.book textarea { width: 100%; min-height: 110px; margin-bottom: 8px; padding: 12px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 8px; background: rgba(18, 10, 6, .9); color: #fff; font: inherit; }
.rdv summary { cursor: pointer; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .deco { display: none; } }

/* L'ouverture : le logo s'allume, un trait d'or passe, puis la page se decouvre. Elle ne bloque rien. */
.splash { display: none; }
.intro .splash { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: 18px; background: #120a06; pointer-events: none; animation: splash-out .45s .95s ease forwards; }
.splash img { width: min(240px, 58vw); height: auto; filter: drop-shadow(0 0 26px rgba(212, 175, 55, .5)); animation: splash-in .75s cubic-bezier(.2, .8, .2, 1) both; }
.splash i { width: 150px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); animation: splash-line .7s .25s ease forwards; }
@keyframes splash-in { from { opacity: 0; transform: scale(.82); } }
@keyframes splash-line { to { transform: scaleX(1); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* Le chauffeur, les bus et les accords du client. */
.vtc { width: min(440px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--gold); border-radius: 14px; background: #1a100b; color: #f4ece2; }
.vtc::backdrop { background: rgba(0, 0, 0, .65); }
.vtc input { display: block; width: 100%; margin: 0 0 10px; padding: 12px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 8px; background: #120a06; color: inherit; font: inherit; }
.vtc .btn { margin: 6px 8px 6px 0; }
.bus { margin: 18px 0; }
.bus ul { margin: 8px 0; padding: 0; list-style: none; }
.bus li { padding: 6px 0; border-bottom: 1px solid rgba(212, 175, 55, .2); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .9rem; }
.agree input { width: auto; margin-top: 3px; }

.reso-state { margin: 8px 0 22px; padding: 0; list-style: none; }
.reso-state li { padding: 5px 0; }
.reso-state li::before { content: "● "; }
.reso-state .ok::before { color: #5fc27e; }
.reso-state .ko::before { color: #e0a13c; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; }
.shop-item { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 10px; background: rgba(18, 10, 6, .6); }
.shop-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.book .shop-item h3 { margin: 6px 0 0; color: #fff; font-size: .95rem; letter-spacing: 0; text-transform: none; }
.shop-item .hint { margin: 0; }
.shop-price { margin: 2px 0; color: var(--gold); font-weight: 700; }
.shop-qty { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.shop-qty button { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-size: 1.2rem; cursor: pointer; }
.gift-card { display: grid; justify-items: center; gap: 6px; margin: 16px 0; padding: 26px 18px; border: 2px solid var(--gold); border-radius: 14px; background: linear-gradient(160deg, #2c1810, #120a06); text-align: center; }
.gift-card p { margin: 0; }
.gift-kicker { color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.book .gift-card h2 { margin: 0; color: #fff; font-size: 1.7rem; }
.gift-value { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; }
.gift-note { font-style: italic; }
.gift-qr { width: 130px; height: 130px; margin-top: 8px; padding: 6px; border-radius: 8px; background: #fff; }
.gift-code { font-size: 1.3rem; font-weight: 700; letter-spacing: .2em; }
@media print {
  .subnav, .dock, .no-print, .hint:not(.gift-card .hint) { display: none !important; }
  .gift-card { background: #fff; color: #000; }
  .gift-card *, .book .gift-card h2 { color: #000; }
}

.link-btn { padding: 4px 0; border: 0; background: none; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; justify-self: start; }

/* Lien d'evitement : invisible, sauf au clavier. */
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 10px 16px; border-radius: 8px; background: var(--gold); color: var(--brown); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; outline: 3px solid #fff; }

/* Page Reso : les trois etapes pour brancher la tele, et le calendrier de Noel. */
.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; text-align: left; counter-reset: etape; }
.steps3 article { position: relative; padding: 28px 24px 24px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.steps3 article::before { counter-increment: etape; content: counter(etape); position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--reso-a), var(--reso-b)); }
.steps3 h3 { margin: 0 0 8px; font-size: 1.1rem; }
.steps3 p { margin: 0; color: var(--muted); }
.steps3 code { font-family: inherit; font-weight: 800; color: #fff; background: rgba(255, 255, 255, .12); padding: 2px 8px; border-radius: 6px; }
.noel { margin-top: 36px; padding: 28px 24px; border-radius: 16px; background: linear-gradient(160deg, rgba(220, 38, 38, .22), rgba(22, 101, 52, .22)); border: 1px solid rgba(255, 255, 255, .14); }
.noel b { display: block; font-size: 1.4rem; font-family: "Playfair Display", serif; margin-bottom: 6px; }
.reso-page .section h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Questions frequentes : une ligne par question, la reponse se deplie. */
.faq { max-width: 760px; margin: 28px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid rgba(212, 175, 55, .25); padding: 14px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 800; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }
