/* NABD · feuille de style commune : anthracite, ivoire et or */

@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
    --bg: #1A1714;
    --bg-1: #1E1A17;
    --bg-2: #221E1A;
    --bg-3: #2B2621;
    --bg-deep: #12100E;
    --line: rgba(244, 239, 231, 0.09);
    --line-2: rgba(244, 239, 231, 0.18);
    --ink: #F4EFE7;
    --ink-2: #D2C8BA;
    --muted: #A89C8C;
    --gold: #D4B06A;
    --gold-2: #E8C27A;
    --gold-deep: #A8823F;
    --silver: #C9CED6;
    --aubergine: #6B2F62;
    --bg-black: #0E0C10;
    --ok: #9BCB9B;
    --warn: #E8B45A;
    --err: #EF9A8A;
    --radius: 24px;
    --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gutter: clamp(16px, 5vw, 60px);
    --maxw: 1240px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}
:root:lang(ar) { --font: 'Tajawal', 'Jost', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html { scroll-behavior: smooth; }
html:has(body.home) { scroll-behavior: auto; }
body {
    margin: 0; min-height: 100vh;
    background: var(--bg); color: var(--ink);
    font: 400 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
html[lang="ar"] body { line-height: 1.85; font-size: 17px; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
button { font: inherit; }
::selection { background: rgba(212, 176, 106, 0.35); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #1A1714; transform: translateY(-160%); transition: transform 0.3s; }
.skip-link:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap.narrow { max-width: 900px; }
.center { text-align: center; }
mark.ph { background: rgba(232, 180, 90, 0.18); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* ---- Logo : N du pouls, lettres, relief ---- */
.logo { display: block; overflow: visible; }
.logo .logo-n { fill: none; stroke: var(--gold); stroke-width: 6.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 190; stroke-dashoffset: 0; }
.logo .logo-glow { fill: none; stroke: #E8C27A; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.logo .logo-depth path { fill: none; stroke: #6E5322; stroke-width: 6.8; stroke-linecap: round; stroke-linejoin: round; }
.logo .logo-depth .deep { stroke: #4A3812; }
.logo .logo-depth .hi { stroke: #F2D9A0; }
.logo .logo-spark { fill: none; stroke: #FFF3D6; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14 400; stroke-dashoffset: 14; opacity: 0; }
.logo .logo-shade path { fill: #000000; }
.logo .logo-l { fill: var(--ink); }
.logo .logo-tag { fill: var(--muted); }
.logo .logo-cursor { opacity: 0; }
.logo .logo-cursor .halo { fill: #E8C27A; opacity: 0.95; }
.logo .logo-cursor .core { fill: #FFF3D6; }
.logo .logo-beat { transform-box: fill-box; transform-origin: 60% 55%; }
.logo-intro [data-logo-intro] .logo-n { stroke-dashoffset: 190; }
.logo-intro [data-logo-intro] .logo-l,
.logo-intro [data-logo-intro] .logo-tag,
.logo-intro [data-logo-intro] .logo-depth,
.logo-intro [data-logo-intro] .logo-shade { opacity: 0; }
.brand .logo { height: 30px; width: auto; filter: drop-shadow(0 1px 0 rgba(255, 236, 190, 0.2)) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }

/* ---- En-tête ---- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    height: 70px; padding: 0 var(--gutter);
    background: rgba(26, 23, 20, 0.82);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.site-header.is-home { position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav-link { position: relative; padding: 6px 0; white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: 14px; letter-spacing: 0.03em; transition: color 0.3s; }
.site-nav-link::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.site-nav-link:hover { color: var(--ink); }
.site-nav-link:hover::after, .site-nav-link[aria-current]::after { width: 100%; }
.site-nav-link[aria-current] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-counter { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.08em; color: rgba(244, 239, 231, 0.45); }
.header-counter #brand-chapter { color: var(--ink); }
.counter-sep { width: 14px; height: 1px; background: rgba(244, 239, 231, 0.3); }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang-link { display: inline-grid; place-items: center; min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-decoration: none; transition: color 0.3s, background 0.3s; }
.lang-link:hover { color: var(--ink); }
.lang-link[aria-current] { background: rgba(212, 176, 106, 0.16); color: var(--gold-2); }
.lang-link[lang="ar"] { font-family: 'Tajawal', var(--font); font-size: 14px; letter-spacing: 0; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn-lines, .menu-btn-lines::before, .menu-btn-lines::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
.menu-btn-lines { position: relative; }
.menu-btn-lines::before, .menu-btn-lines::after { content: ''; position: absolute; inset-inline-start: 0; }
.menu-btn-lines::before { top: -6px; }
.menu-btn-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel {
    position: fixed; inset: 70px 0 0 0; z-index: 49; overflow-y: auto;
    display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: rgba(22, 19, 17, 0.98);
}
.menu-panel[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-link { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: clamp(26px, 7vw, 36px); letter-spacing: -0.02em; }
.menu-link[aria-current] { color: var(--gold); }
.menu-foot { display: grid; gap: 18px; justify-items: start; }
.menu-contact { display: grid; gap: 6px; font-size: 15px; }
.menu-contact a { color: var(--ink-2); text-decoration: none; }
body.menu-open { overflow: hidden; }
@media (max-width: 1040px) {
    .site-nav, .header-actions > .lang-switch { display: none; }
    .menu-btn { display: inline-grid; }
}
@media (max-width: 420px) {
    .brand .logo { height: 26px; }
    .header-actions { gap: 10px; }
    .header-counter { display: none; }
}

/* ---- Boutons ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
    font: 500 15px/1.1 var(--font); letter-spacing: 0.02em; text-decoration: none; text-align: center;
    cursor: pointer; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-gold { background: var(--gold); color: #1A1714; }
.btn-gold:hover { background: var(--gold-2); color: #1A1714; transform: translateY(-1px); }
.btn-ghost { background: rgba(244, 239, 231, 0.03); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn[disabled], .btn.is-busy { opacity: 0.6; pointer-events: none; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-btn .ico { width: 16px; height: 16px; }
.pill-btn {
    display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 26px; border-radius: 999px;
    border: 1px solid var(--gold); background: var(--gold); color: #1A1714; cursor: pointer;
    font: 500 15px/1 var(--font); transition: background 0.3s, transform 0.3s var(--ease);
}
.pill-btn:hover { background: var(--gold-2); transform: translateY(-2px); }
.pill-btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---- En-tête de page ---- */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 8vw, 100px); }
.page-hero::before {
    content: ''; position: absolute; inset: -30% -10% auto auto; width: min(900px, 90vw); aspect-ratio: 1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(212, 176, 106, 0.16), rgba(212, 176, 106, 0) 70%);
}
html[dir="rtl"] .page-hero::before { inset: -30% auto auto -10%; }
/* Touche aubergine, en écho à la scène 3D de l'accueil */
.page-hero::after {
    content: ''; position: absolute; inset: auto auto -40% -15%; width: min(760px, 85vw); aspect-ratio: 1; pointer-events: none;
    background: radial-gradient(closest-side, rgba(107, 47, 98, 0.20), rgba(107, 47, 98, 0) 70%);
}
html[dir="rtl"] .page-hero::after { inset: auto -15% -40% auto; }
.page-hero .wrap { position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(232, 194, 122, 0.8); }
.display { margin-bottom: 28px; font-size: clamp(44px, 7.2vw, 100px); line-height: 1.0; letter-spacing: -0.035em; }
.display .line { display: block; }
.display .muted, .h2 .muted { color: var(--muted); }
.lead { max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: var(--ink-2); }
.pulse-line { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 110px; pointer-events: none; }
.pulse-line path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js .pulse-line path { stroke-dashoffset: 1; animation: pulse-draw 2.4s var(--ease) 0.2s forwards; }
html[dir="rtl"] .pulse-line { transform: scaleX(-1); }
@keyframes pulse-draw { to { stroke-dashoffset: 0; } }

/* ---- Sections ---- */
.section { padding: clamp(36px, 6vw, 80px) 0; }
.section-tight { padding-top: 0; }
.section-last { padding-bottom: clamp(90px, 11vw, 150px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.025em; }
.h3 { margin-bottom: 14px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.h4 { margin-bottom: 8px; font-size: 20px; font-weight: 500; }
.muted-text { color: var(--muted); }
.small-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.center-actions { display: flex; justify-content: center; margin-top: 32px; }
.panel { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.panel > * + * { margin-top: 12px; }

/* ---- Offres ---- */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.offer-media { aspect-ratio: 16 / 10; overflow: hidden; background: #0E0C0A; }
.offer-media .photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer-card:hover .offer-media .photo { transform: scale(1.035); }
.offer-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.offer-kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.offer-title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.offer-desc { color: var(--ink-2); }
.price-list { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.price-row strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-row small, .price-big small { font-size: 13px; font-weight: 400; color: var(--muted); }
.price-big { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; color: var(--gold-2); }
.offer-note { padding-inline-start: 12px; border-inline-start: 2px solid var(--gold-deep); font-size: 13.5px; color: var(--muted); }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }
.icon-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; }
.icon-list .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.included .icon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin-top: 22px; }
.gear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gear-card { padding: 18px 18px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
/* Les photos produit sont sur fond noir : cadre noir, liseré doré discret. */
.gear-media, .split-media-dark, .summary-photos .photo { background: #000000; box-shadow: inset 0 0 0 1px rgba(212, 176, 106, 0.14); }
.gear-media { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 20px; overflow: hidden; border-radius: 18px; }
.gear-media .photo { width: 86%; height: 86%; object-fit: contain; }
.gear-media .photo-fill { width: 100%; height: 100%; object-fit: cover; }   /* photo sur fond clair : elle remplit le cadre */
.gear-title { margin-bottom: 8px; font-size: 22px; padding-inline: 6px; }
.gear-card p { padding-inline: 6px; color: var(--ink-2); font-size: 15px; }
.cta-band {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
    padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(212, 176, 106, 0.3); border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(212, 176, 106, 0.12), rgba(212, 176, 106, 0.02));
}
.cta-band p { color: var(--ink-2); }
.cta-band .h3 { margin-bottom: 6px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-last .cta-band { margin-top: 48px; }

/* ---- Blocs image et texte ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-rev .split-media { order: 2; }
/* Les colonnes peuvent rétrécir : un tableau large défile dans son cadre au lieu d'élargir la page. */
.split > *, .spec-grid > *, .offer-grid > *, .contact-layout > *, .flow-layout > * { min-width: 0; }
.split-media { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #0E0C0A; }
.split-media .photo { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.split-media-dark { display: grid; place-items: center; aspect-ratio: 1; }
.split-media-dark .photo { width: 88%; height: 88%; object-fit: contain; }
.split-body { display: flex; flex-direction: column; gap: 16px; }
.split-body > p { color: var(--ink-2); }

/* ---- Formulaires ---- */
.form-card, .contact-page-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.card-head .arrow { font-size: 20px; color: var(--gold); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field-inline { max-width: 320px; }
.field-label { font-size: 13.5px; color: var(--ink-2); letter-spacing: 0.01em; }
.field-label em { font-style: normal; color: var(--gold); }
.field-label small { margin-inline-start: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    border: 1px solid var(--line-2); border-radius: 14px; outline: none;
    background: rgba(244, 239, 231, 0.04); color: var(--ink);
    font: 400 16px/1.4 var(--font); -webkit-appearance: none; appearance: none;
    transition: border-color 0.25s, background 0.25s;
}
textarea { min-height: 110px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #8A7F72; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); background: rgba(244, 239, 231, 0.06); }
select {
    padding-inline-end: 42px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23D4B06A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 18px; background-position: right 14px center;
}
html[dir="rtl"] select { background-position: left 14px center; }
select option { background: #221E1A; color: var(--ink); }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #26211C inset; -webkit-text-fill-color: var(--ink); }
.is-invalid input, .is-invalid select, .is-invalid textarea, input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--err); }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.check.is-invalid span { color: var(--err); }
.checks { display: grid; gap: 14px; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; opacity: 0; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; }
.card-note { font-size: 13px; color: var(--muted); }
.form-status { min-height: 1.5em; margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }
.form-error { margin-top: 14px; color: var(--err); font-size: 14.5px; }

/* ---- Parcours réservation et commande ---- */
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.summary { position: sticky; top: 94px; display: grid; gap: 16px; }
.step { margin-bottom: 24px; padding: clamp(22px, 3.6vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.step[hidden] { display: none; }
.step-title { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: clamp(21px, 2vw, 25px); letter-spacing: -0.01em; outline: none; }
* + .step-title, .fieldset + .step-title, .health + .step-title { margin-top: 40px; }
.step-num { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 15px; }
.fieldset { min-width: 0; margin: 0 0 26px; padding: 0; border: 0; }
.fieldset > legend { margin-bottom: 12px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-grid-offers { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice-body { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(244, 239, 231, 0.02); transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.choice-body .ico { width: 24px; height: 24px; margin-bottom: 4px; color: var(--gold); }
.choice-card:hover .choice-body { border-color: rgba(212, 176, 106, 0.6); }
.choice-card input:checked + .choice-body { border-color: var(--gold); background: rgba(212, 176, 106, 0.08); box-shadow: inset 0 0 0 1px var(--gold); }
.choice-card input:focus-visible + .choice-body { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice-name { font-size: 16px; font-weight: 500; color: var(--ink); }
.choice-desc { font-size: 13.5px; color: var(--muted); }
.choice-price { font-size: 20px; color: var(--gold-2); }
.choice-price small { font-size: 12.5px; color: var(--muted); }
.choice-badge { align-self: flex-start; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #1A1714; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.seg-group { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.seg { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; width: 52px; height: 42px; border-radius: 999px; font-size: 16px; transition: background 0.25s, color 0.25s; }
.seg input:checked + span { background: var(--gold); color: #1A1714; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.size-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.size-row { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.fieldset .note-line { margin-bottom: 14px; }
.note-line { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; padding: 14px 16px; border: 1px solid rgba(212, 176, 106, 0.2); border-radius: 14px; background: rgba(212, 176, 106, 0.06); font-size: 14.5px; color: var(--ink-2); }
.note-line .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: var(--gold); }
.step-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.carnet-panel { background: rgba(244, 239, 231, 0.03); }
.cal-embed { min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(0, 0, 0, 0.18); }
.cal-embed[hidden] { display: none; }
.cal-loading { padding: 32px; color: var(--muted); }
.request-form { margin-top: 18px; }
.request-form[hidden] { display: none; }

/* ---- Questionnaire santé ---- */
.health-intro { color: var(--ink-2); }
.health-privacy { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.health-privacy .ico { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.hq-list { margin: 20px 0 22px; border-top: 1px solid var(--line); }
.hq { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); }
.hq-text { font-size: 15px; color: var(--ink); }
.hq.is-missing .hq-text { color: var(--err); }
.hq-choices { display: flex; flex: 0 0 auto; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-grid; place-items: center; min-width: 66px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #1A1714; }
.chip input[value="oui"]:checked + span { background: var(--warn); border-color: var(--warn); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- Messages ---- */
.alert { padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(244, 239, 231, 0.04); font-size: 14.5px; color: var(--ink-2); }
.alert > * + * { margin-top: 8px; }
.alert[hidden] { display: none; }
.alert-title { font-weight: 500; color: var(--ink); }
.alert-stop { border-color: rgba(239, 154, 138, 0.45); background: rgba(239, 154, 138, 0.08); }
.alert-test { border-color: rgba(232, 180, 90, 0.5); background: rgba(232, 180, 90, 0.08); }
.alert-opening { border-color: rgba(212, 176, 106, 0.5); background: rgba(212, 176, 106, 0.08); color: var(--ink); }
.page-hero .alert-opening { margin-top: 24px; max-width: 620px; }
.alert-ok { display: flex; align-items: center; gap: 10px; border-color: rgba(155, 203, 155, 0.45); background: rgba(155, 203, 155, 0.08); color: var(--ink); }
.alert-ok .ico { width: 22px; height: 22px; color: var(--ok); }
.alert-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-block; margin-inline-end: 6px; padding: 3px 9px; border-radius: 999px; background: var(--warn); color: #1A1714; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.pay-notes { display: grid; gap: 12px; margin-top: 18px; }

/* ---- Récapitulatif ---- */
.summary-card { padding: 26px; border: 1px solid rgba(212, 176, 106, 0.3); border-radius: var(--radius); background: linear-gradient(160deg, rgba(212, 176, 106, 0.11), rgba(244, 239, 231, 0.02)); }
.summary-title { margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.summary-list { display: grid; gap: 12px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list > div[hidden] { display: none; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; color: var(--ink); text-align: end; }
.summary-total { padding-top: 14px; border-top: 1px solid var(--line-2); }
.summary-total dd { font-size: 24px; color: var(--gold-2); }
.summary-sub { display: block; font-size: 12.5px; color: var(--muted); }
.summary-text { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.summary-points { display: grid; gap: 10px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13.5px; color: var(--ink-2); }
.summary-points li { display: flex; gap: 10px; }
.summary-points .ico { flex: 0 0 18px; width: 18px; height: 18px; color: var(--gold); }
.summary-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary-photos .photo { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; }

/* ---- FAQ et tailles ---- */
.faq-group { margin-bottom: 52px; scroll-margin-top: 100px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 0; padding-inline-end: 44px; font-size: 18px; color: var(--ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; top: 50%; inset-inline-end: 6px; font-size: 26px; font-weight: 300; line-height: 1; color: var(--gold); transform: translateY(-50%); transition: transform 0.3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { max-width: 72ch; padding-bottom: 22px; color: var(--ink-2); }
.faq-answer > * + * { margin-top: 10px; }
.table-scroll { overflow-x: auto; margin: 16px 0 0; -webkit-overflow-scrolling: touch; }
.size-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 10px 8px; border: 1px solid var(--line); }
.size-table thead th, .size-table tbody th { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.size-table .corner { font-size: 11px; }
.size-table td { color: var(--ink); }
.size-table td.is-hit { background: var(--gold); color: #1A1714; font-weight: 500; }
.dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: clamp(20px, 4vw, 32px); overflow: auto; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); color: var(--ink); }
.dialog::backdrop { background: rgba(10, 8, 6, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog-close-row { display: flex; justify-content: flex-end; margin: -6px -6px 0 0; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.size-finder { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; align-items: end; margin: 20px 0 4px; }
.size-result { margin: 0 0 12px; font-size: 18px; color: var(--gold-2); }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.contact-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-tile { display: flex; flex-direction: column; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color 0.3s, transform 0.3s var(--ease); }
a.contact-tile:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.contact-tile .ico { width: 26px; height: 26px; margin-bottom: 8px; color: var(--gold); }
.tile-title { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.tile-text { font-size: 16px; overflow-wrap: anywhere; }
.contact-tile:first-child { grid-column: 1 / -1; }

/* ---- Pages légales ---- */
.prose { max-width: 76ch; color: var(--ink-2); }
.prose h2 { margin: 46px 0 14px; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 500; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose .updated { font-size: 13.5px; color: var(--muted); }
.thanks-panel > * + * { margin-top: 16px; }
.health-next { margin-top: 28px; border-color: rgba(212, 176, 106, 0.35); background: rgba(212, 176, 106, 0.05); }
.health-next[hidden], #health-done[hidden], #health-page[hidden] { display: none; }
.health-next h2 { display: flex; align-items: center; gap: 10px; }
.health-next h2 .ico { width: 22px; height: 22px; color: var(--gold); }
.health-next > p:not(.step-actions) { margin-top: 10px; color: var(--ink-2); }
.health-next .step-actions { margin-top: 18px; }
#health-send .field-grid { margin-bottom: 8px; }

/* ---- Pied de page ---- */
.site-footer { position: relative; z-index: 8; padding: 64px 0 28px; border-top: 1px solid var(--line); background: var(--bg-deep); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.logo-footer { width: auto; height: 70px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; color: var(--muted); }
.footer-title { margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-note { font-size: 13px; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.footer-langs { display: flex; gap: 4px; }
.footer-langs .lang-link { height: 26px; }
.to-top { color: var(--muted); text-decoration: none; }
.to-top:hover { color: var(--ink); }

/* ---- Bouton WhatsApp ---- */
.wa-float {
    position: fixed; z-index: 60; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 16px; border-radius: 999px;
    background: var(--ink); color: #1A1714; text-decoration: none; font-weight: 500; font-size: 15px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
html[dir="rtl"] .wa-float { padding: 0 16px 0 22px; }
.wa-float:hover { color: #1A1714; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.wa-ico { width: 26px; height: 26px; color: #1E9E50; }
body.is-loading .wa-float { opacity: 0; }

/* ---- Apparitions ---- */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* ---- Arabe : pas d'espacement entre les lettres ---- */
html[lang="ar"] .display, html[lang="ar"] .h2, html[lang="ar"] .h3, html[lang="ar"] .offer-title, html[lang="ar"] .menu-link,
html[lang="ar"] .eyebrow, html[lang="ar"] .offer-kicker, html[lang="ar"] .summary-title, html[lang="ar"] .footer-title,
html[lang="ar"] .card-head, html[lang="ar"] .btn, html[lang="ar"] .site-nav-link, html[lang="ar"] .price-big, html[lang="ar"] .badge,
html[lang="ar"] .choice-badge, html[lang="ar"] .field-label small, html[lang="ar"] .best-tag, html[lang="ar"] .price-from-label,
html[lang="ar"] .step-index { letter-spacing: 0; text-transform: none; }
html[lang="ar"] .display { line-height: 1.25; }
html[lang="ar"] .h2 { line-height: 1.3; }

/* ---- Écrans moyens et téléphones ---- */

/* ---- Tarif le plus avantageux ---- */
.offer-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.price-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.price-from strong { font-size: clamp(34px, 3.2vw, 44px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.price-from small { font-size: 14px; color: var(--muted); }
.price-from-label { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); }
.offer-sub { margin-top: -6px; font-size: 14px; color: var(--ink-2); }
.price-row.is-best > span:first-child { color: var(--ink); }
.price-row.is-best strong { color: var(--gold-2); }
.best-tag { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #1A1714; font-size: 10.5px; font-style: normal; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.price-group { margin: 6px 0 -4px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver); }
.rate-card .price-row small { white-space: nowrap; }
/* Les prix détaillés (« 550 DH / pers. ») passent à la ligne sous le prix plutôt que de déborder de la carte. */
.price-row strong { white-space: normal; text-align: end; }
.price-row strong small { white-space: nowrap; }
.best-line { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--gold-2); }
.best-line .ico { flex: 0 0 16px; width: 16px; height: 16px; }

/* ---- Page Équipement : contenu sous la scène 3D ---- */
.after-stage { position: relative; z-index: 8; background: var(--bg-black); border-top: 1px solid var(--line); }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.spec-card { padding: 18px 18px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.spec-card .h3 { padding-inline: 6px; }
.spec-list { display: grid; margin: 0; padding-inline: 6px; }
.spec-list > div { display: grid; grid-template-columns: minmax(110px, 0.4fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 14px; }
.spec-list dd { margin: 0; color: var(--ink); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.step-card p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.step-index { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--gold); font-variant-numeric: tabular-nums; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.program-card { padding: 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, rgba(107, 47, 98, 0.16), rgba(244, 239, 231, 0.02)); }
.program-card p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.split-body[data-size-finder] .size-finder { margin-top: 6px; }

/* ---- Page « Les bienfaits de l'électrostimulation » ---- */
.benefits-intro .h2 { margin-bottom: 22px; }
.benefits-intro p { max-width: 72ch; color: var(--ink-2); font-size: 17px; }
.benefits-intro p + p { margin-top: 14px; }
.steps-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.program-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit-card .benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 50%; background: rgba(212, 176, 106, 0.12); }
.benefit-card .benefit-icon .ico { width: 20px; height: 20px; color: var(--gold); }
.link-arrow { color: var(--gold); }

/* ---- Le N de verre en entrée des pages Tarifs, Réserver, Salles et pros ---- */
.hero-glass { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; }
body.has-hero-glass main, body.has-hero-glass .site-footer { position: relative; z-index: 1; }

@media (max-width: 1100px) {
    .offer-grid-3, .steps-grid, .program-grid, .steps-grid-5, .program-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .offer-grid-3 > :last-child:nth-child(odd), .program-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
    .flow-layout { grid-template-columns: 1fr; }
    .summary { position: static; order: -1; }
    .summary-points, .summary-photos { display: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .offer-grid, .gear-grid, .split { grid-template-columns: 1fr; }
    .split-rev .split-media { order: 0; }
    .included .icon-list, .spec-grid { grid-template-columns: 1fr; }
    .offer-grid-3 { grid-template-columns: 1fr; }
    .choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .field-grid { grid-template-columns: 1fr; }
    .hq { flex-direction: column; align-items: flex-start; gap: 10px; }
    .size-finder { grid-template-columns: 1fr 1fr; }
    .size-result { grid-column: 1 / -1; }
    .contact-tiles, .steps-grid, .program-grid, .steps-grid-5, .program-grid-3 { grid-template-columns: 1fr; }
    .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
    html[dir="rtl"] .wa-float { padding: 0; }
    .wa-label { display: none; }
    .card-foot { flex-direction: column; align-items: stretch; }
    .card-foot .btn, .card-foot .pill-btn { justify-content: center; }
    .seg span { width: 46px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    html.js .reveal:not(.is-in) { opacity: 1; transform: none; }
}
@media print {
    .site-header, .site-footer, .wa-float, .menu-panel, .pulse-line { display: none !important; }
    body { background: #ffffff; color: #000000; }
}
