/* Identité : lotus + soleil. Voir brand/identite-visuelle.html */
:root {
    --bg: #faf7f2;
    --surface: #ffffff;
    --text: #28332c;
    --muted: #5f6b63;
    --forest: #2f4a3b;
    --forest-2: #3f6150;
    --accent: #6f8f7a;
    --accent-dark: #4a6a56;
    --sage-light: #e6efe8;
    --sage-mid: #cfe0d4;
    --sand: #eee6d8;
    --sun: #e0a07a;
    --sun-deep: #a65c34;
    --sun-soft: #f6e1d2;
    --error: #b4483a;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(47, 74, 59, .06), 0 4px 14px rgba(47, 74, 59, .06);
    --shadow: 0 2px 4px rgba(47, 74, 59, .05), 0 14px 34px rgba(47, 74, 59, .09);
    --shadow-lg: 0 6px 12px rgba(47, 74, 59, .06), 0 26px 60px rgba(47, 74, 59, .14);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --gutter: max(5vw, calc((100vw - 1120px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'Noto Sans Thai', system-ui, sans-serif;
    font-size: 1.04rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', 'Noto Sans Thai', serif; font-weight: 600; line-height: 1.1; color: var(--forest); letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-bottom: .9rem; }
h3 { font-size: 1.45rem; margin-bottom: .35rem; }
h1, h2, h3, p, li, strong, .card-body { overflow-wrap: anywhere; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1rem; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: var(--sun-deep); font-weight: 600; margin-bottom: .7rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: currentColor; opacity: .6; }
.muted { color: var(--muted); }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 2.2rem;
    padding: .75rem var(--gutter);
    background: rgba(250, 247, 242, .88);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid rgba(47, 74, 59, .08);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--forest); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 600; letter-spacing: .01em; line-height: 1; display: block; }
.brand small { display: block; font-family: 'Inter', sans-serif; font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.site-header nav { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 1.8rem; flex: 1; }
.site-header nav a { position: relative; text-decoration: none; color: var(--text); font-size: .95rem; font-weight: 500; padding: .4rem 0; }
.site-header nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-header nav a:hover::after, .site-header nav a.active::after { transform: scaleX(1); }
.site-header nav a.active { color: var(--forest); font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 1.1rem; font-size: .95rem; }
.header-right a { text-decoration: none; color: var(--text); font-weight: 500; }
.lang { font-weight: 600; border: 1px solid var(--sand); background: #fff; border-radius: 999px; padding: .2rem .85rem; font-size: .88rem; }
.lang:hover { border-color: var(--accent); }

main { padding: 2.5rem var(--gutter) 5rem; }
.bleed { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background: var(--forest);
    color: #fff;
    border: 1px solid var(--forest);
    border-radius: 999px;
    padding: .85rem 1.9rem;
    font: inherit;
    font-weight: 600;
    font-size: .98rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
}
.btn:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 74, 59, .25); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-small { padding: .45rem 1.15rem; font-size: .9rem; color: #fff !important; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: #3a2414; }
.btn-sun:hover { background: #d99467; box-shadow: 0 10px 24px rgba(224, 160, 122, .45); }
.btn-outline { background: transparent; color: var(--forest); border-color: rgba(47, 74, 59, .35); }
.btn-outline:hover { background: var(--sage-light); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--forest); }
.btn-light:hover { background: var(--sun-soft); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .2s var(--ease); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: -2.5rem;
    margin-bottom: 4.5rem;
    padding-top: 4.2rem;
    padding-bottom: 4.5rem;
    background:
        radial-gradient(60% 80% at 85% 20%, var(--sun-soft) 0, transparent 70%),
        radial-gradient(50% 70% at 0% 100%, var(--sage-light) 0, transparent 70%),
        var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); letter-spacing: -.02em; margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--accent-dark); font-weight: 500; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--muted); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(47, 74, 59, .16)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-badge { position: absolute; left: -8%; bottom: 14%; background: #fff; border-radius: 16px; padding: .75rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; font-size: .86rem; line-height: 1.3; }
.hero-badge b { display: block; font-size: .95rem; color: var(--forest); }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 4px rgba(63, 178, 127, .2); flex: none; }

/* ---------- Sections ---------- */
section { margin-bottom: 5rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.section-head h2 { margin: 0; }
.section-center { text-align: center; max-width: 620px; margin: 0 auto 2.6rem; }
.section-center .eyebrow { justify-content: center; }
.section-center .eyebrow::before { display: none; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 74, 59, .06); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-light); color: var(--forest); font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 1.2rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.step .icon { position: absolute; top: 1.6rem; right: 1.6rem; width: 30px; height: 30px; color: var(--accent); opacity: .7; }

/* ---------- Cartes vidéo ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.6rem; }
.card {
    display: block;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(47, 74, 59, .06);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--sage-light), var(--sun-soft)); display: grid; place-items: center; }
.card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(20, 34, 26, .45)); pointer-events: none; }
.card-thumb .play { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; color: var(--forest); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .3s var(--ease); }
.card:hover .play { transform: scale(1.12); }
.card-thumb .play svg { margin-left: 3px; }
.card-thumb .duration { position: absolute; z-index: 1; right: .8rem; bottom: .7rem; background: rgba(20, 34, 26, .72); color: #fff; font-size: .74rem; font-weight: 600; padding: .12rem .55rem; border-radius: 8px; backdrop-filter: blur(4px); }
.card-thumb .badge { position: absolute; z-index: 1; left: .8rem; top: .8rem; }
.card-body { padding: 1.1rem 1.3rem 1.4rem; }
.card-body h3 { margin: 0; font-size: 1.35rem; }
.card.locked .card-thumb img { filter: saturate(.55) brightness(.8); }
.card.locked .play { background: rgba(255, 255, 255, .85); }

.badge { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .92); color: var(--accent-dark); border-radius: 999px; padding: .15rem .8rem; font-size: .74rem; font-weight: 600; letter-spacing: .02em; }
.badge-lock { background: rgba(255, 244, 236, .95); color: var(--sun-deep); }
.badge-plain { background: var(--sage-light); }

/* ---------- Lives ---------- */
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.list li { background: var(--surface); border: 1px solid rgba(47, 74, 59, .06); border-radius: var(--radius-sm); padding: 1rem 1.3rem; box-shadow: var(--shadow-sm); margin: 0; }
.live { display: flex; gap: 1.2rem; align-items: center; transition: transform .25s var(--ease), box-shadow .25s; }
.live:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.live-date { flex: none; width: 66px; text-align: center; background: linear-gradient(180deg, var(--sage-light), var(--sage-mid)); border-radius: 16px; padding: .55rem 0 .5rem; color: var(--forest); }
.live-date b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; line-height: 1; }
.live-date span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.live-info { flex: 1; min-width: 0; }
.live-info strong { color: var(--forest); font-size: 1.05rem; }

/* ---------- Offre / abonnement ---------- */
.membership {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2.5rem;
    align-items: center;
    color: #fff;
    background: radial-gradient(70% 90% at 100% 0%, rgba(224, 160, 122, .28), transparent 60%), linear-gradient(135deg, var(--forest), var(--forest-2));
    border-radius: 32px;
    padding: 3.2rem 3.4rem;
    box-shadow: var(--shadow-lg);
}
.membership h2 { color: #fff; }
.membership .eyebrow { color: var(--sun); }
.membership p { color: rgba(255, 255, 255, .8); }
.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; color: var(--sun); }
.price-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 24px; padding: 2rem; text-align: center; backdrop-filter: blur(6px); }
.price-card .price-amount { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; line-height: 1; color: #fff; margin: .4rem 0 1.2rem; }
.price-card .btn { width: 100%; }
.price-card small { display: block; margin-top: .9rem; color: rgba(255, 255, 255, .7); font-size: .84rem; }

/* ---------- Bandeau massage ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 3rem; background: var(--sage-light); border-radius: 32px; padding: 3rem 3.4rem; position: relative; overflow: hidden; }
.split::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 160, 122, .35), transparent 70%); }
.split-art { display: grid; place-items: center; }
.split-art img { width: 150px; height: 150px; }
.split > * { position: relative; z-index: 1; }
.split .perks { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.split .perks li { background: #fff; border-radius: 999px; padding: .3rem .95rem; font-size: .88rem; font-weight: 500; color: var(--forest); }

/* ---------- En-tête de page ---------- */
.page-head { margin-bottom: 2.4rem; }
.page-head h1 { margin-bottom: .6rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0; }

/* ---------- Lecteur ---------- */
.player { position: relative; padding-top: 56.25%; margin-bottom: 1.6rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #0e1511; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-layout { max-width: 880px; }
.video-meta { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.locked-box { text-align: center; background: linear-gradient(135deg, var(--sage-light), var(--sun-soft)); border-radius: var(--radius); padding: 3rem 1.5rem; }
.locked-box .lock { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--forest); }

.notice { background: var(--sun-soft); color: #6a3d22; border-radius: var(--radius-sm); padding: .95rem 1.3rem; margin-bottom: 1.6rem; display: flex; gap: .8rem; align-items: center; }
.notice svg { flex: none; width: 20px; height: 20px; color: var(--sun-deep); }

.flash { padding: .95rem 1.3rem; border-radius: var(--radius-sm); margin-bottom: 1.8rem; font-weight: 500; animation: slide .4s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.flash-success { background: var(--sage-light); color: var(--forest); border: 1px solid var(--sage-mid); }
.flash-error { background: #f8e4e0; color: var(--error); border: 1px solid #efc7c0; }
.flash-info { background: var(--sand); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.1rem; max-width: 480px; margin-bottom: 1rem; }
.form-wide { max-width: 640px; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--forest); }
.form label.check { display: flex; gap: .7rem; align-items: center; font-weight: 400; color: var(--text); }
.form small { font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=time], input[type=datetime-local], select, textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid #d9d3c5;
    border-radius: 12px;
    font: inherit;
    font-weight: 400;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
input:hover, textarea:hover, select:hover { border-color: var(--accent); }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(111, 143, 122, .22); }
input[type=checkbox], input[type=radio] { accent-color: var(--forest); width: 18px; height: 18px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); border: 1px solid rgba(47, 74, 59, .06); }
.contact-card .form { max-width: none; margin: 0; }
.contact-side { background: var(--sage-light); border-radius: var(--radius); padding: 2.2rem; }
.contact-side img { width: 64px; height: 64px; margin-bottom: 1rem; }

.auth-wrap { min-height: 55vh; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 470px; background: var(--surface); border-radius: 28px; padding: 2.6rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(47, 74, 59, .06); }
.auth-card .auth-mark { width: 60px; height: 60px; margin: 0 auto 1rem; }
.auth-card h1 { text-align: center; font-size: 2.3rem; }
.auth-card .form { max-width: none; }
.auth-card .btn { width: 100%; }
.auth-card p { text-align: center; color: var(--muted); margin-bottom: 0; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--forest); color: rgba(255, 255, 255, .75); padding: 4.5rem var(--gutter) 2rem; margin-top: 3rem; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 0%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
.site-footer .brand span { color: #fff; }
.site-footer .brand small { color: rgba(255, 255, 255, .55); }
.site-footer .brand img { filter: none; background: var(--bg); border-radius: 50%; padding: 4px; }
.site-footer p { margin-top: 1rem; max-width: 300px; font-size: .94rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; display: block; padding: .22rem 0; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { display: flex; padding: 0; }
.site-footer h4 { color: #fff; margin: 0 0 .9rem; font-family: 'Inter', 'Noto Sans Thai', sans-serif; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.newsletter div { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 160px; border-color: transparent; }
.newsletter .btn { background: var(--sun); border-color: var(--sun); color: #3a2414; }
.copyright { margin: 3rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .84rem; color: rgba(255, 255, 255, .55); }

/* ---------- Massage / créneaux ---------- */
.day-block { margin-bottom: 1.3rem; }
.slots { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: block; border: 1px solid var(--accent); background: #fff; color: var(--forest); border-radius: 999px; padding: .45rem 1.2rem; font-size: .94rem; font-weight: 500; transition: background .15s, color .15s, transform .15s; }
.slot:hover span { background: var(--sage-light); transform: translateY(-1px); }
.slot input:checked + span { background: var(--forest); color: #fff; border-color: var(--forest); box-shadow: 0 6px 14px rgba(47, 74, 59, .28); }
.slot input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.booking h2 { margin-top: 2.4rem; }
.booking > h2:first-of-type { margin-top: 0; }

/* ---------- Calendrier ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(290px, 390px) 1fr; gap: 2.4rem; align-items: start; }
.cal { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); border: 1px solid rgba(47, 74, 59, .06); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; font-family: 'Cormorant Garamond', 'Noto Sans Thai', serif; font-size: 1.4rem; color: var(--forest); }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sand); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--forest); transition: background .15s; }
.cal-nav:hover:not(:disabled) { background: var(--sage-light); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-dow { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-bottom: .4rem; font-weight: 600; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; font: inherit; font-size: .93rem; color: #aab3ac; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--sun); }
.cal-day.has-items { background: var(--sage-light); color: var(--forest); font-weight: 600; cursor: pointer; transition: background .15s, transform .15s, color .15s; }
.cal-day.has-items:hover { transform: scale(1.1); background: var(--accent); color: #fff; }
.cal-day.selected { background: var(--forest); color: #fff; box-shadow: 0 6px 14px rgba(47, 74, 59, .3); }
.panels h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.js .day-panel { display: none; }
.js .day-panel.active { display: block; animation: slide .35s var(--ease); }
.day-panel { margin-bottom: 1.5rem; }

/* ---------- Compte / abonnement ---------- */
.plan { background: var(--surface); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin: 1.5rem 0 2rem; max-width: 580px; border: 1px solid rgba(47, 74, 59, .06); }
.plan-active { border-left: 5px solid var(--accent); }
.plan h2 { font-size: 1.6rem; margin-bottom: .8rem; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--forest); margin: .2rem 0 1rem; line-height: 1; }
.account-head { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-mid), var(--sun-soft)); display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--forest); font-weight: 600; flex: none; }

/* ---------- Admin : horaires de la semaine ---------- */
.week { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(47, 74, 59, .06); }
.week-row { display: grid; grid-template-columns: 130px 1fr auto; gap: .8rem 1.2rem; align-items: center; padding: .95rem 1.4rem; border-bottom: 1px solid var(--sand); }
.week-row:last-child { border-bottom: 0; }
.week-row.is-closed { background: #fcfaf6; }
.week-day { font-weight: 600; color: var(--forest); }
.week-ranges { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .4rem; margin: 0; background: var(--sage-light); color: var(--forest); border-radius: 999px; padding: .25rem .4rem .25rem .9rem; font-size: .92rem; font-weight: 600; }
.chip button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(47, 74, 59, .12); color: var(--forest); font-size: 1rem; line-height: 1; cursor: pointer; padding: 0; }
.chip button:hover { background: var(--error); color: #fff; }
.week-add { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--muted); }
.week-add input[type=time] { width: auto; padding: .35rem .5rem; font-size: .9rem; }
.week-add .btn { width: 34px; height: 34px; padding: 0; font-size: 1.2rem; }

/* ---------- Admin ---------- */
.admin-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; padding: .4rem; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); width: fit-content; max-width: 100%; border: 1px solid rgba(47, 74, 59, .06); }
.admin-nav a { text-decoration: none; font-weight: 600; font-size: .9rem; padding: .45rem 1.1rem; border-radius: 999px; color: var(--muted); }
.admin-nav a:hover { background: var(--sage-light); color: var(--forest); }
.admin-nav a.active { background: var(--forest); color: #fff; }
.stat { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--accent-dark); display: block; padding: 1.2rem 1.4rem 0; line-height: 1; }
.cards.stats .card h3 { padding: .2rem 1.4rem 1.3rem; font-size: 1.15rem; font-family: 'Inter', 'Noto Sans Thai', sans-serif; font-weight: 600; color: var(--muted); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 74, 59, .06); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: .8rem 1.1rem; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: #fcfaf6; border-bottom: 1px solid var(--sand); font-weight: 600; }
.table td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--sand); }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fcfaf6; }
.table .actions { display: flex; gap: 1rem; align-items: center; }
.table .actions form { margin: 0; }
.link-danger { background: none; border: 0; color: var(--error); font: inherit; cursor: pointer; padding: 0; font-weight: 500; }
.link-danger:hover { text-decoration: underline; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Menu mobile ---------- */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--sand); border-radius: 12px; background: #fff; cursor: pointer; position: relative; padding: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }
.site-header.open .menu-toggle span { background: transparent; }
.site-header.open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-art { width: min(64%, 280px); margin-top: .5rem; }
    .hero-badge { left: -4%; }
    .membership, .split, .contact-layout { grid-template-columns: 1fr; }
    .membership { padding: 2.4rem 2rem; }
    .split { padding: 2.4rem 2rem; }
    .split-art { display: none; }
    .steps { grid-template-columns: 1fr; }
    .booking-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .site-header { gap: .4rem 1rem; padding: .6rem var(--gutter); }
    .header-right { margin-left: auto; gap: .7rem; }
    .menu-toggle { display: block; }
    .site-header nav { order: 3; width: 100%; flex-basis: 100%; flex-direction: column; gap: 0; }
    .site-header nav a { padding: .85rem .2rem; border-bottom: 1px solid var(--sand); font-size: 1.05rem; }
    .site-header nav a::after { display: none; }
    .js .site-header nav { display: none; }
    .js .site-header.open nav { display: flex; }
    .week-row { grid-template-columns: 1fr; gap: .5rem; }
}

@media (max-width: 700px) {
    body { font-size: 1rem; }
    main { padding: 1.5rem var(--gutter) 3rem; }
    .brand img { width: 38px; height: 38px; }
    .brand span { font-size: 1.45rem; }
    .hero { margin-top: -1.5rem; padding-top: 2rem; padding-bottom: 2.6rem; margin-bottom: 3rem; }
    .hero-actions .btn { width: 100%; }
    .hero-badge { display: none; }
    section { margin-bottom: 3.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .live { flex-wrap: wrap; }
    .membership, .split { border-radius: 24px; padding: 2rem 1.4rem; }
    .auth-card { padding: 1.8rem 1.4rem; }
    .plan { padding: 1.4rem; }
    .cal { padding: 1rem; }
    .cal-grid { gap: 3px; }
    .contact-card, .contact-side { padding: 1.5rem; }
    .table th, .table td { padding: .6rem .7rem; font-size: .88rem; }
    .admin-nav { border-radius: 18px; }
}

/* ---------- Finitions ---------- */
.split-art img { width: 230px; height: 230px; padding: 2.4rem; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff, rgba(255, 255, 255, .45)); box-shadow: var(--shadow); }
.price-amount small { font-family: 'Inter', 'Noto Sans Thai', sans-serif; font-size: 1rem; font-weight: 500; opacity: .75; margin-left: .3rem; }
.price-amount { white-space: nowrap; }

.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(250, 247, 242, 0), var(--bg)); pointer-events: none; }

/* ---------- Photos : hero, à propos, galerie ---------- */
[hidden] { display: none !important; }
.hero-art-photo { position: relative; width: min(100%, 420px); }
.hero-art-photo::before { content: ''; position: absolute; inset: 0; border: 1.5px solid rgba(111, 143, 122, .5); border-radius: 999px 999px 28px 28px; transform: translate(18px, 16px); pointer-events: none; }
.hero-art-photo::after { content: ''; position: absolute; width: 104px; height: 104px; left: -30px; top: 16%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f7d3b8, var(--sun)); box-shadow: 0 14px 30px rgba(224, 160, 122, .4); z-index: 2; }
.hero-art-photo img { animation: none; filter: none; }
.arch-photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--sage-light); box-shadow: var(--shadow-lg); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.hero-art-photo .hero-badge { z-index: 3; }

.about-hero { position: relative; overflow: hidden; margin-top: -2.5rem; margin-bottom: 4.5rem; padding-top: 4rem; padding-bottom: 4.5rem; background: radial-gradient(60% 80% at 90% 10%, var(--sun-soft) 0, transparent 70%), radial-gradient(50% 70% at 0% 100%, var(--sage-light) 0, transparent 70%), var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.about-hero h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.tags { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { background: #fff; border: 1px solid rgba(47, 74, 59, .12); border-radius: 999px; padding: .3rem 1rem; font-size: .88rem; font-weight: 500; color: var(--forest); }

.teaser { display: grid; grid-template-columns: .75fr 1.25fr; gap: 3.5rem; align-items: center; background: var(--surface); border-radius: 32px; padding: 2.2rem; box-shadow: var(--shadow); border: 1px solid rgba(47, 74, 59, .06); }
.teaser-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sage-light); }
.teaser-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.teaser h2 { margin-bottom: .6rem; }

.award-band { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; color: #fff; background: radial-gradient(70% 90% at 100% 0%, rgba(224, 160, 122, .28), transparent 60%), linear-gradient(135deg, var(--forest), var(--forest-2)); border-radius: 32px; padding: 3rem; box-shadow: var(--shadow-lg); }
.award-band h2 { color: #fff; }
.award-band .eyebrow { color: var(--sun); }
.award-band p { color: rgba(255, 255, 255, .82); margin: 0; }
.award-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.award-photos .g-item { margin: 0; aspect-ratio: 2 / 3; }
.award-photos .g-item:nth-child(2) { margin-top: 2rem; }
.award-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

.filters { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.filter { border: 1px solid rgba(47, 74, 59, .22); background: #fff; border-radius: 999px; padding: .5rem 1.4rem; font: inherit; font-weight: 500; font-size: .94rem; cursor: pointer; color: var(--forest); transition: background .2s, color .2s, transform .2s; }
.filter:hover { background: var(--sage-light); }
.filter.active { background: var(--forest); color: #fff; border-color: var(--forest); }

.masonry { column-count: 3; column-gap: 1rem; }
.g-item { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--sage-light); cursor: zoom-in; position: relative; break-inside: avoid; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.045); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem; background: linear-gradient(180deg, transparent, rgba(20, 34, 26, .72)); color: #fff; font-size: .82rem; text-align: left; line-height: 1.35; opacity: 0; transition: opacity .25s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .8rem; }
.strip .g-item { margin: 0; aspect-ratio: 3 / 4; }
.strip .g-item img { height: 100%; object-fit: cover; object-position: 50% 30%; }
.massage-festival { display: grid; grid-template-columns: .8fr 1.6fr; gap: 2rem; align-items: center; margin-bottom: 3rem; background: var(--sage-light); border-radius: 28px; padding: 1.6rem; }
.massage-festival h3 { font-size: 1.6rem; }
.massage-festival p { margin: 0; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(14, 21, 17, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 1rem; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: .95rem; text-align: center; min-height: 1.4em; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
body.lb-open { overflow: hidden; }

/* ---------- Admin : photos ---------- */
.upload-box { display: grid; gap: 1rem; max-width: 560px; background: var(--surface); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 74, 59, .06); margin-bottom: 2rem; }
.upload-box label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--forest); }
.photo-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 1.2rem; }
.photo-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.1rem; min-width: 0; background: var(--surface); border-radius: var(--radius-sm); padding: 1rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 74, 59, .06); }
.photo-card.is-hidden { opacity: .6; background: #fcfaf6; }
.photo-card > img { width: 120px; height: 160px; object-fit: cover; border-radius: 10px; background: var(--sage-light); }
.photo-fields { display: grid; gap: .5rem; min-width: 0; }
.photo-fields label { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem; font-size: .76rem; font-weight: 600; color: var(--muted); }
.photo-fields input, .photo-fields select { min-width: 0; max-width: 100%; }
.photo-fields input[type=text], .photo-fields select, .photo-fields input[type=number] { padding: .4rem .6rem; font-size: .88rem; border-radius: 8px; }
.photo-row { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.photo-row .check { display: flex; flex-direction: row; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text); font-weight: 500; }
.photo-row .order { display: flex; flex-direction: row; align-items: center; gap: .5rem; flex: none; }
.photo-row .order input { width: 78px; }
.photo-actions { display: flex; gap: 1rem; align-items: center; }

@media (max-width: 960px) {
    .about-grid, .award-band, .teaser, .massage-festival { grid-template-columns: 1fr; }
    .about-grid { gap: 2.5rem; }
    .hero-art-photo { width: min(78%, 340px); margin: 0 auto 1.5rem; }
    .masonry { column-count: 2; }
    .teaser { padding: 1.4rem; gap: 1.6rem; }
    .teaser-photo { aspect-ratio: 16 / 12; }
    .award-band { padding: 2rem 1.4rem; }
    .award-photos { max-width: 460px; }
}
@media (max-width: 700px) {
    .about-hero { margin-top: -1.5rem; padding-top: 2rem; padding-bottom: 2.4rem; margin-bottom: 3rem; }
    .strip { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
    .lightbox { grid-template-columns: 1fr; padding: .5rem; }
    .lb-prev, .lb-next { position: absolute; bottom: 1rem; }
    .lb-prev { left: 1rem; }
    .lb-next { right: 1rem; }
    .photo-card { grid-template-columns: 90px 1fr; }
    .photo-card > img { width: 90px; height: 120px; }
    .photo-admin { grid-template-columns: 1fr; }
}

.forgot-link { justify-self: end; font-size: .88rem; margin-top: -.4rem; }

/* ---------- Zone de dépôt de fichiers ---------- */
.upload-field { display: grid; gap: .5rem; }
.field-title { font-weight: 600; font-size: .9rem; color: var(--forest); }
.upload-box label.file-drop { position: relative; display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border: 1.5px dashed var(--accent); border-radius: 16px; background: #fcfaf6; color: var(--muted); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s; }
.upload-box label.file-drop:hover, .upload-box label.file-drop.is-over { background: var(--sage-light); border-color: var(--forest); }
.upload-box label.file-drop:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }
.upload-box label.file-drop.has-files { border-style: solid; background: var(--sage-light); color: var(--forest); }
.file-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.file-btn { flex: none; display: inline-flex; align-items: center; gap: .4rem; background: var(--forest); color: #fff; border-radius: 999px; padding: .55rem 1.3rem; font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.file-drop:hover .file-btn { background: var(--forest-2); transform: translateY(-1px); }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Sélecteurs de date et d'heure (flatpickr) aux couleurs du site ---------- */
.flatpickr-calendar { font-family: 'Inter', 'Noto Sans Thai', system-ui, sans-serif; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(47, 74, 59, .08); }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months { color: var(--forest); font-weight: 600; }
.flatpickr-current-month { font-size: 1.05rem; }
span.flatpickr-weekday { color: var(--muted); font-weight: 600; }
.flatpickr-day { border-radius: 50%; color: var(--text); }
.flatpickr-day:hover { background: var(--sage-light); border-color: var(--sage-light); }
.flatpickr-day.today { border-color: var(--sun); }
.flatpickr-day.today:hover { background: var(--sun-soft); border-color: var(--sun); color: var(--text); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: #b5bdb7; }
.flatpickr-time input, .flatpickr-time .flatpickr-am-pm { color: var(--forest); font-weight: 600; }
.flatpickr-time input:hover, .flatpickr-time input:focus { background: var(--sage-light); }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--accent); }
.week-add input[data-picker=time] { width: 4.6rem; text-align: center; cursor: pointer; }
input.flatpickr-input[readonly], input[data-picker][readonly] { cursor: pointer; background: #fff; }

.toolbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.2rem; }
.toolbar form { margin: 0; }

/* ---------- Mon compte ---------- */
.account-main { max-width: 760px; }
.account-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 0 0 2rem; padding: .4rem; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid rgba(47, 74, 59, .06); width: fit-content; max-width: 100%; }
.account-tabs a { text-decoration: none; font-weight: 600; font-size: .88rem; padding: .4rem 1rem; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.account-tabs a:hover { background: var(--sage-light); color: var(--forest); }
.acard { background: var(--surface); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow); border: 1px solid rgba(47, 74, 59, .06); margin-bottom: 1.5rem; scroll-margin-top: 90px; }
.acard h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.acard.plan-active { border-left: 5px solid var(--accent); }
.acard-danger { border-color: #efc7c0; background: #fffafa; }
.acard-danger h2 { color: var(--error); }
.form-full { max-width: none; margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-danger { background: var(--error); border-color: var(--error); }
.btn-danger:hover { background: #983a2e; box-shadow: 0 10px 24px rgba(180, 72, 58, .3); }
.account-main .list { margin-bottom: .6rem; }
@media (max-width: 700px) {
    .form-row { grid-template-columns: 1fr; }
    .acard { padding: 1.3rem; }
    .account-tabs { border-radius: 18px; }
}
