/* ==========================================================================
   Macylia Coiffure — feuille de style
   Palette : blanc chaud, rose poudré, vert sauge. Typo : Fraunces + Figtree.
   ========================================================================== */

:root {
    --bg: #FBF7F3;
    --surface: #FFFFFF;
    --blush: #F7E6E3;
    --rose: #E8B7B7;
    --rose-strong: #B45A6E;
    --rose-hover: #9C4A5D;
    --sage-light: #E7EEE1;
    --sage: #AFC0A2;
    --sage-strong: #56704E;
    --sand: #F1E8DC;
    --ink: #2E2926;
    --muted: #6D6460;
    --line: #EADFD8;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 18px;
    --radius-arch: 999px 999px 24px 24px;
    --shadow: 0 1px 2px rgba(46, 41, 38, .04), 0 12px 32px -12px rgba(46, 41, 38, .14);
    --container: 1200px;
    --header-h: 76px;
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--rose-strong); text-underline-offset: 3px; }
a:hover { color: var(--rose-hover); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; color: var(--rose-strong); font-weight: 300; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--rose-strong); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.bg-blush { background: var(--blush); }
.bg-sage { background: var(--sage-light); }
.bg-surface { background: var(--surface); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sage-strong); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt { margin-top: 32px; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-head.center .lead { margin-inline: auto; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head-row .section-head { margin-bottom: 0; }

/* ---------------------------------------------------------------- boutons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 26px;
    font: 600 .98rem/1 var(--font-body);
    border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose-strong); color: #fff; }
.btn-primary:hover { background: var(--rose-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sage { background: var(--sage-strong); color: #fff; }
.btn-sage:hover { background: #475E40; color: #fff; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--blush); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- en-tête */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: #FBF7F3;
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.logo-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.brand-sub { font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-strong); margin-top: 5px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
    display: block; padding: 8px 10px; border-radius: 999px;
    font-size: .94rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.main-nav ul a:hover { background: var(--blush); color: var(--ink); }
.main-nav ul a[aria-current="page"] { color: var(--rose-strong); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    color: var(--ink); background: none; border: 0; cursor: pointer;
}
.icon-btn:hover { background: var(--blush); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge {
    position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--rose-strong); color: #fff;
    font-size: .7rem; font-weight: 600; line-height: 18px; text-align: center;
}
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 1160px) {
    .nav-toggle { display: inline-grid; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 8px 24px 24px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s, transform .25s, visibility .25s;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .main-nav.open { opacity: 1; transform: none; visibility: visible; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
    .main-nav ul a:hover { background: none; color: var(--rose-strong); }
    .nav-cta-mobile { display: flex; margin-top: 20px; width: 100%; }
    .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
    .header-cta { display: none; }
    .brand-name { font-size: 1.35rem; }
    .logo-mark { width: 40px; height: 40px; }
    .container { padding: 0 16px; }
    .main-nav { padding: 8px 16px 24px; }
}

/* ---------------------------------------------------------------- photos & visuels d'attente */

.photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--sand); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph {
    display: flex; align-items: flex-end;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.75' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M44 196C62 146 76 92 126 30'/%3E%3Cpath d='M66 140C44 132 32 112 36 92c18 8 30 26 30 48z'/%3E%3Cpath d='M84 104c20-6 36-22 38-40-20 2-34 20-38 40z'/%3E%3Cpath d='M100 74c-12-10-16-26-10-40 12 10 14 26 10 40z'/%3E%3Cpath d='M58 160c20 2 38-6 46-22-18-4-36 4-46 22z'/%3E%3C/g%3E%3C/svg%3E"),
        var(--ph-gradient);
    background-repeat: no-repeat;
    background-position: right -12% bottom -10%, center;
    background-size: min(72%, 340px), cover;
}
.ph-rose { --ph-gradient: linear-gradient(150deg, #F8E4E1 0%, #E9BDBD 100%); }
.ph-sage { --ph-gradient: linear-gradient(150deg, #EAF0E4 0%, #B6C7A9 100%); }
.ph-sand { --ph-gradient: linear-gradient(150deg, #F8F1E8 0%, #E1CFB9 100%); }
.ph-mix  { --ph-gradient: linear-gradient(160deg, #F6E1DE 0%, #F1E8DC 50%, #C6D4BB 100%); }
.ph-label {
    margin: 14px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .8); color: var(--muted);
    font-size: .76rem; font-weight: 500; letter-spacing: .02em;
}

/* ---------------------------------------------------------------- héros accueil */

.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 32px; }
.hero-visual { position: relative; }
.hero-visual > .photo { border-radius: var(--radius-arch); aspect-ratio: 4 / 5; }
.hero-visual .photo-bubble {
    position: absolute; left: -14%; bottom: 7%; width: 40%; aspect-ratio: 1;
    border-radius: 50%; border: 8px solid var(--bg);
}
.hero-visual .photo-bubble .ph-label { display: none; }
.hero-card {
    position: absolute; right: -5%; top: 9%;
    background: var(--surface); border-radius: 16px; box-shadow: var(--shadow);
    padding: 14px 18px; display: grid; gap: 4px;
}
.hero-card strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.hero-card span { font-size: .85rem; color: var(--muted); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div { font-size: .9rem; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--ink); line-height: 1.15; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }
.stars .on { fill: #D6A145; }
.stars .off { fill: #E6DBD3; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 440px; margin: 8px auto 0; width: 84%; }
    .hero-card { right: -8%; }
}

/* ---------------------------------------------------------------- en-tête des pages internes */

.page-hero { padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 5vw, 52px); text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.page-hero .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- grilles & cartes */

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { gap: 16px; } }

.card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split > .photo { aspect-ratio: 4 / 5; border-radius: var(--radius-arch); }
.split-reverse > .photo { order: 2; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split > .photo { max-width: 440px; width: 100%; margin: 0 auto; }
    .split-reverse > .photo { order: 0; }
}

.service-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.service-card > .photo { aspect-ratio: 4 / 3; border-radius: 0; }
.service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .98rem; }
.service-card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sage-light); color: var(--sage-strong); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.tag-rose { background: var(--blush); color: var(--rose-strong); }

.feature-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li::before {
    content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356704E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3L17 9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.bg-surface .feature-list li::before, .card .feature-list li::before { background-color: var(--sage-light); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: block; font-family: var(--font-display); font-size: 2.4rem; font-style: italic; font-weight: 300; color: var(--rose-strong); line-height: 1; margin-bottom: 12px;
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-strong); margin-bottom: 16px; }
.value-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.values h3 { font-size: 1.3rem; }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

.cta-band { border-radius: 28px; padding: clamp(36px, 6vw, 72px); background: var(--sage-strong); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band h2 em { color: #F4C9CB; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band::after { content: ""; position: absolute; right: -70px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); pointer-events: none; }
.cta-band .actions { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- avis */

.review-card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; font-weight: 300; }
.review-card footer { margin-top: auto; font-size: .9rem; color: var(--muted); }
.review-card footer strong { color: var(--ink); font-weight: 600; }
.rating-summary { display: flex; align-items: center; gap: 20px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.rating-summary .score { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.rating-summary .stars svg { width: 22px; height: 22px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { cursor: pointer; margin: 0; }
.star-input svg { width: 32px; height: 32px; fill: #E6DBD3; transition: fill .15s; }
.star-input input:checked ~ label svg, .star-input label:hover svg, .star-input label:hover ~ label svg { fill: #D6A145; }
.star-input input:focus-visible + label svg { outline: 2px solid var(--rose-strong); border-radius: 4px; }

/* ---------------------------------------------------------------- galerie */

.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip {
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    font: 500 .92rem var(--font-body); color: var(--ink); cursor: pointer; text-decoration: none;
}
.chip:hover { border-color: var(--rose); color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { columns: 3 280px; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin: 0 0 20px; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); text-align: left; }
.gallery-item .photo { transition: transform .4s, opacity .4s; }
.gallery-item:hover .photo { opacity: .92; }
.gallery-item[hidden] { display: none; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-square { aspect-ratio: 1; }
.ratio-wide { aspect-ratio: 4 / 3; }

.lightbox { border: 0; padding: 0; background: transparent; width: min(92vw, 860px); max-width: none; overflow: visible; }
.lightbox::backdrop { background: rgba(46, 41, 38, .82); }
.lightbox .photo { aspect-ratio: 4 / 3; max-height: 78vh; width: 100%; }
.lightbox .photo .ph-label { display: none; }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }
.lightbox-caption { color: #fff; text-align: center; padding: 14px; margin: 0; }

/* ---------------------------------------------------------------- tarifs */

.price-nav { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding: 12px 0; margin-bottom: 32px; }
.price-nav .filters { margin: 0; }
.price-section { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 80px); }
.price-section h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; padding: 18px 0; border-bottom: 1px dashed #E0D2C9; }
.price-row .name { font-weight: 600; }
.price-row .duration { font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.price-row .amount { font-family: var(--font-display); font-size: 1.3rem; white-space: nowrap; text-align: right; }
.price-row .desc { color: var(--muted); font-size: .94rem; margin: 0; }
.price-row .book { text-align: right; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.note { background: var(--sand); border-radius: var(--radius); padding: 20px 24px; color: #5A504B; font-size: .95rem; }

/* ---------------------------------------------------------------- boutique */

.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.shop-filters { position: sticky; top: calc(var(--header-h) + 20px); }
.shop-filters h2 { font: 600 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.shop-filters ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.shop-filters a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .96rem; }
.shop-filters a span { color: var(--muted); }
.shop-filters a:hover { background: var(--blush); color: var(--ink); }
.shop-filters a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.shop-filters a[aria-current="true"] span { color: inherit; opacity: .7; }
@media (max-width: 860px) {
    .shop-layout { grid-template-columns: 1fr; gap: 24px; }
    .shop-filters { position: static; }
    .shop-filters ul { display: flex; flex-wrap: wrap; gap: 6px; }
    .shop-filters a { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
}
.product-card { display: flex; flex-direction: column; }
.product-card > a { text-decoration: none; }
.product-card .photo { aspect-ratio: 1; margin-bottom: 14px; transition: transform .35s; }
.product-card:hover .photo { transform: translateY(-3px); }
.product-card .photo .ph-label { display: none; }
.product-card .cat { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-strong); font-weight: 600; }
.product-card h3 { font-size: 1.15rem; margin: 4px 0 12px; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--rose-strong); }
.product-card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.product-card .amount { font-family: var(--font-display); font-size: 1.25rem; }
.add-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s; }
.add-btn:hover { background: var(--rose-strong); border-color: var(--rose-strong); color: #fff; }
.add-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.product-detail > .photo { aspect-ratio: 1; }
.product-detail .amount { font-family: var(--font-display); font-size: 2rem; margin: 8px 0 20px; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); border-radius: 999px; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font: 600 1rem var(--font-body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stock { font-size: .9rem; color: var(--sage-strong); }
.stock.low { color: var(--rose-strong); }
.reassurance { display: grid; gap: 10px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); list-style: none; margin: 0; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 920px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .photo { aspect-ratio: 1; border-radius: 12px; }
.cart-line .photo .ph-label { display: none; }
.cart-line h3 { font-size: 1.1rem; margin: 0 0 4px; }
.cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line .line-end { display: grid; gap: 8px; justify-items: end; }
.cart-line .line-total { font-family: var(--font-display); font-size: 1.15rem; }
@media (max-width: 520px) {
    .cart-line { grid-template-columns: 64px 1fr; }
    .cart-line .line-end { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; }
}
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.5rem; }
.summary dl { margin: 0 0 20px; }
.summary dl div { display: flex; justify-content: space-between; padding: 7px 0; }
.summary dd { margin: 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-weight: 600; font-size: 1.15rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--rose-strong); }
.progress-free { font-size: .88rem; color: var(--sage-strong); background: var(--sage-light); padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- formulaires */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 16px;
    font: 1rem var(--font-body); color: var(--ink);
    background: var(--surface); border: 1px solid #DACCC3; border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-strong); box-shadow: 0 0 0 4px rgba(180, 90, 110, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: .86rem; margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rose-strong); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: 12px; margin: 20px 0 0; font-weight: 500; }
.alert-success { background: var(--sage-light); color: #3E5537; }
.alert-error { background: #FBE4E2; color: #8C1D18; }
.alert-info { background: var(--sand); color: var(--ink); }

.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: block; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card .box { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .2s, background-color .2s; }
.radio-card:hover .box { border-color: var(--rose); }
.radio-card input:checked + .box { border-color: var(--rose-strong); background: #FDF5F4; box-shadow: inset 0 0 0 1px var(--rose-strong); }
.radio-card input:focus-visible + .box { outline: 2px solid var(--rose-strong); outline-offset: 2px; }
.radio-card .t { font-weight: 600; }
.radio-card .p { font-family: var(--font-display); font-size: 1.1rem; text-align: right; white-space: nowrap; }
.radio-card .d { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------- prise de RDV */

.booking { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } .booking-summary { position: static; } }
.booking-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); margin-bottom: 20px; }
.booking-step h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blush); color: var(--rose-strong); font: 600 .95rem var(--font-body); flex-shrink: 0; }
.booking-step fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.service-group + .service-group { margin-top: 22px; }
.service-group legend, .service-group h3 { font: 600 .76rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-strong); margin-bottom: 10px; padding: 0; }
.booking-datetime { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .booking-datetime { grid-template-columns: 1fr; } }

.calendar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.calendar-head strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-grid .dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.day { height: 42px; border: 1px solid transparent; border-radius: 10px; background: var(--bg); font: 500 .93rem var(--font-body); color: var(--ink); cursor: pointer; padding: 0; }
.day:hover:not(:disabled) { border-color: var(--rose-strong); }
.day:disabled { background: none; color: #CDC2BC; cursor: default; }
.day.today { box-shadow: inset 0 0 0 1px var(--sage); }
.day[aria-pressed="true"] { background: var(--rose-strong); color: #fff; box-shadow: none; }
.slots-title { font-weight: 600; margin: 0 0 10px; min-height: 1.6em; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: 600 .93rem var(--font-body); color: var(--ink); cursor: pointer; }
.slot:hover { border-color: var(--rose-strong); }
.slot[aria-pressed="true"] { background: var(--rose-strong); border-color: var(--rose-strong); color: #fff; }
.slots-empty { color: var(--muted); padding: 18px; background: var(--bg); border-radius: 12px; text-align: center; font-size: .95rem; margin: 0; }
.booking-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.booking-summary h2 { font-size: 1.4rem; }
.booking-summary dl { margin: 0 0 22px; display: grid; gap: 14px; }
.booking-summary dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.booking-summary dd { margin: 2px 0 0; font-weight: 500; }
.confirmation { text-align: center; max-width: 620px; margin: 0 auto; }
.confirmation-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; margin: 0 auto 24px; color: var(--sage-strong); }
.confirmation-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.recap { text-align: left; margin: 28px 0; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------------------------------------------------------------- contact */

.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 28px; }
.contact-info h2 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-info address { font-style: normal; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 0; width: 100%; background: var(--sand); display: block; }
.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; font-size: .95rem; }
.hours dd { margin: 0; color: var(--muted); }
.hours .today { font-weight: 600; }
.hours .today dd { color: inherit; }

/* ---------------------------------------------------------------- espace client & admin */

.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .account-layout { grid-template-columns: 1fr; gap: 20px; } }
.account-nav { display: grid; gap: 2px; }
.account-nav a { padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; display: flex; justify-content: space-between; }
.account-nav a:hover { background: var(--blush); color: var(--ink); }
.account-nav a[aria-current="page"] { background: var(--surface); box-shadow: inset 3px 0 0 var(--rose-strong); }
@media (max-width: 820px) { .account-nav { display: flex; flex-wrap: wrap; gap: 6px; } .account-nav a { border: 1px solid var(--line); border-radius: 999px; } .account-nav a[aria-current="page"] { box-shadow: none; border-color: var(--rose-strong); } }
.auth-box { max-width: 480px; margin: 0 auto; }
.list-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-item:first-child { padding-top: 0; }
.list-item h3 { font-size: 1.15rem; margin: 0 0 2px; }
.list-item p { margin: 0; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.status-confirmed, .status-paid, .status-approved { background: var(--sage-light); color: var(--sage-strong); }
.status-cancelled { background: #F0EAE6; color: var(--muted); }
.status-pending { background: var(--sand); color: #7A5B2E; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-cards .card { padding: 20px; }
.stat-cards strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 1.1; }
@media (max-width: 760px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.inline-form { display: inline; }
/* ---------------------------------------------------------------- tableau de bord du salon (admin.php) */

.admin { padding: 28px 0 40px; }
.admin-layout { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: start; }
.a-icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.admin-side {
    position: sticky; top: calc(var(--header-h) + 16px);
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 12px;
    display: flex; flex-direction: column; gap: 6px; min-height: 420px;
}
.admin-side-title { font: 600 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 10px; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav a, .admin-side-foot a, .admin-side-foot button {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
    color: var(--ink); text-decoration: none; font: 500 .95rem var(--font-body); background: none; border: 0; width: 100%; cursor: pointer; text-align: left;
    transition: background-color .2s, color .2s;
}
.admin-nav a:hover, .admin-side-foot a:hover, .admin-side-foot button:hover { background: var(--bg); color: var(--ink); }
.admin-nav a[aria-current="page"] { background: var(--blush); color: var(--rose-strong); }
.admin-nav a > span:first-of-type { flex: 1; }
.a-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--rose-strong); color: #fff; font: 600 .72rem/22px var(--font-body); text-align: center; }
.a-count.soft { background: var(--sage-light); color: var(--sage-strong); }
.admin-side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.admin-side-foot a, .admin-side-foot button { color: var(--muted); font-size: .9rem; }

.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-date { font: 600 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sage-strong); margin: 0 0 4px; }
.admin-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0; }

.admin-main { container-type: inline-size; min-width: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
@container (min-width: 760px) { .admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.admin-stat span { line-height: 1.3; }
.appt.is-cancelled .appt-service .tag, .appt.is-cancelled .appt-service .status { text-decoration: none; }
.admin-stat { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.admin-stat strong { display: block; font: 400 1.9rem/1 var(--font-display); }
.admin-stat span { font-size: .84rem; color: var(--muted); }
.a-bubble { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.a-bubble .a-icon { width: 22px; height: 22px; }
.a-rose { background: var(--blush); color: var(--rose-strong); }
.a-sage { background: var(--sage-light); color: var(--sage-strong); }
.a-sand { background: var(--sand); color: #8A6A44; }
.a-ink { background: #EDE7E3; color: var(--ink); }

.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-toolbar h2 { font-size: 1.6rem; margin: 0; }
.admin-empty { background: var(--surface); border: 1px dashed #DCCFC7; border-radius: 18px; padding: 40px 20px; text-align: center; color: var(--muted); }
.admin-empty .a-icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--rose); }
.admin-empty p { margin: 0; }

/* Planning en agenda */
.agenda-day { margin-bottom: 26px; }
.agenda-day h3 { display: flex; align-items: baseline; gap: 10px; font-size: 1.25rem; margin: 0 0 10px; }
.agenda-day h3 > span:not(.a-count) { font: 400 .85rem var(--font-body); color: var(--muted); }
.agenda-day h3 .a-count { align-self: center; }
.appt {
    display: grid; grid-template-columns: 78px 1fr auto; gap: 18px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--rose); border-radius: 16px;
    padding: 14px 18px; margin-bottom: 10px; transition: box-shadow .25s, translate .25s;
}
.appt:hover { box-shadow: var(--shadow); translate: 0 -2px; }
.appt-sage { border-left-color: var(--sage); }
.appt-sand { border-left-color: #D8BE9C; }
.appt.is-cancelled { opacity: .55; }
.appt.is-cancelled .appt-service { text-decoration: line-through; }
.appt-time strong { display: block; font: 400 1.5rem/1 var(--font-display); }
.appt-time span { font-size: .82rem; color: var(--muted); }
.appt-body p { margin: 0; }
.appt-service { font-weight: 600; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.appt-client { color: var(--muted); font-size: .95rem; }
.appt-note { font-style: italic; color: #5A504B; font-size: .9rem; margin-top: 4px !important; }
.appt-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.icon-pill {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
    background: var(--bg); color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 500;
    border: 1px solid var(--line); transition: background-color .2s, color .2s, border-color .2s;
}
.icon-pill .a-icon { width: 16px; height: 16px; }
.icon-pill:hover { background: var(--rose-strong); border-color: var(--rose-strong); color: #fff; }

/* Cartes avis / commandes */
.admin-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.a-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.a-card.is-pending { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(232, 183, 183, .25); }
.a-card p { margin: 0; }
.a-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.a-quote { font: 300 1.05rem/1.5 var(--font-display); }
.a-meta { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.a-meta .avatar { width: 34px; height: 34px; font-size: .95rem; }
.a-card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.a-card-actions .btn .a-icon { width: 16px; height: 16px; }
.order-lines { font-weight: 500; }
.order-total { font: 400 1.35rem var(--font-display); }
.status-select {
    appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; padding: 7px 30px 7px 14px; cursor: pointer;
    font: 600 .82rem var(--font-body);
    background: var(--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356704E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") right 10px center / 14px no-repeat;
    color: var(--sage-strong);
}
.status-select.status-pending { background-color: var(--sand); color: #7A5B2E; }
.status-select.status-cancelled { background-color: #F0EAE6; color: var(--muted); }

/* Logo envoyé par le salon */
.brand-logo { height: 54px; width: auto; max-width: 220px; object-fit: contain; }
.site-footer .brand-logo { height: 70px; background: #FBF7F3; border-radius: 14px; padding: 6px 10px; }
@media (max-width: 560px) { .brand-logo { height: 44px; max-width: 170px; } }

/* Images du site */
.img-group-title { font-size: 1.2rem; margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; scroll-margin-top: calc(var(--header-h) + 16px); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.slot-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.slot-card:target { border-color: var(--rose-strong); box-shadow: 0 0 0 3px rgba(232, 183, 183, .35); }
.slot-preview { aspect-ratio: 4 / 3; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.slot-preview img { width: 100%; height: 100%; object-fit: cover; }
.slot-preview.is-logo { background: var(--bg); }
.slot-preview.is-logo img { object-fit: contain; padding: 18px; }
.slot-preview span { display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.slot-preview .a-icon { width: 28px; height: 28px; color: var(--rose); }
.slot-info { padding: 12px 14px 4px; }
.slot-info p { margin: 2px 0 0; }
.slot-hint { color: var(--sage-strong); }
.slot-actions { padding: 8px 14px 14px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.gallery-add { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.gallery-add input[type=text], .gallery-add select, .gallery-admin-form input, .gallery-admin-form select {
    min-height: 40px; padding: 6px 12px; border: 1px solid #DACCC3; border-radius: 10px; font: .92rem var(--font-body); background: var(--surface); color: var(--ink);
}
.gallery-add input[type=text] { flex: 1; min-width: 160px; }
.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.gallery-admin-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.gallery-admin-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-admin-form { display: grid; gap: 6px; padding: 10px; }
.gallery-admin-form .link-btn { justify-self: start; }
.gallery-admin-actions { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 10px; gap: 6px; }
.gallery-admin-actions form { display: flex; gap: 6px; }
.gallery-admin-actions .icon-pill { padding: 6px 12px; }
.icon-pill[disabled] { opacity: .35; pointer-events: none; }

/* Réglages */
.settings-form { display: grid; gap: 14px; }
.settings-form .btn, .a-card .btn { justify-self: start; }
.a-card h3 { font-size: 1.2rem; margin: 0 0 4px; }
.hours-grid { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; align-items: center; max-width: 520px; margin-top: 6px; }
.hours-grid label { font-weight: 600; font-size: .92rem; }
.hours-grid input { min-height: 44px; padding: 8px 14px; border: 1px solid #DACCC3; border-radius: 12px; font: 1rem var(--font-body); background: var(--surface); }

/* Produits */
.product-list { display: grid; gap: 8px; }
.product-row {
    display: grid; grid-template-columns: 58px 1fr auto auto auto; gap: 16px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px;
}
.product-row.is-editing { border-color: var(--rose); }
.product-row p { margin: 0; }
.product-row-photo .photo { width: 58px; height: 58px; aspect-ratio: 1; border-radius: 12px; }
.product-row-photo .product-svg { width: 90%; height: 90%; }
.product-row-photo .ph-label { display: none; }
.product-row-name { font-weight: 600; }
.product-row-price { font: 400 1.15rem var(--font-display); white-space: nowrap; }
.product-row-actions { display: flex; align-items: center; gap: 10px; }
.stock-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.stock-stepper button { width: 32px; height: 32px; border: 0; background: none; border-radius: 999px; font-size: 1.05rem; color: var(--ink); cursor: pointer; }
.stock-stepper button:hover { background: var(--blush); }
.stock-stepper span { min-width: 30px; text-align: center; font-weight: 600; font-size: .92rem; }
.stock-stepper.is-low { border-color: var(--rose); background: var(--blush); }
.stock-stepper.is-low span { color: var(--rose-strong); }

.product-form { margin-bottom: 20px; border-color: var(--rose); }
.product-form-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.product-form-photo { display: grid; gap: 10px; justify-items: start; }
.product-form-photo .photo { width: 200px; aspect-ratio: 1; border-radius: 16px; }
.product-form-photo .ph-label { display: none; }
.file-pill { cursor: pointer; position: relative; }
.file-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tone-picker { display: flex; gap: 14px; flex-wrap: wrap; }
.tone-picker label { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; cursor: pointer; }
.tone-picker input { position: absolute; opacity: 0; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background-image: var(--ph-gradient); border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line); }
.tone-picker input:checked + .swatch { border-color: #fff; box-shadow: 0 0 0 2px var(--rose-strong); }
.tone-picker input:focus-visible + .swatch { outline: 2px solid var(--rose-strong); outline-offset: 2px; }
@media (max-width: 760px) {
    .product-form-grid { grid-template-columns: 1fr; }
    .product-row { grid-template-columns: 50px 1fr auto; }
    .product-row-photo .photo { width: 50px; height: 50px; }
    .product-row .stock-stepper { grid-column: 2; justify-self: start; }
    .product-row-actions { grid-column: 3; }
}

/* Boîte de réception */
.inbox { display: grid; gap: 10px; }
.mail { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; position: relative; }
.mail.is-unread { border-color: var(--rose); }
.mail.is-unread::before { content: ""; position: absolute; left: -5px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-strong); box-shadow: 0 0 0 3px var(--bg); }
.mail:not(.is-unread) { opacity: .75; }
.mail-body p { margin: 0 0 6px; }
.mail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mail-text { color: #4A4340; }
.mail-actions { display: grid; gap: 8px; justify-items: end; }

@media (max-width: 1000px) {
    .admin-layout { grid-template-columns: 1fr; gap: 18px; }
    .admin-side { position: static; min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 8px; }
    .admin-side-title { display: none; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .admin-nav a { width: auto; }
    .admin-side-foot { margin: 0 0 0 auto; padding: 0; border: 0; display: flex; }
    .admin-side-foot span { display: none; }
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .admin-cards { grid-template-columns: 1fr; }
    .appt { grid-template-columns: 64px 1fr; }
    .appt-actions { grid-column: 1 / -1; justify-content: flex-start; }
    .mail { grid-template-columns: 34px 1fr; }
    .mail-actions { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; }
}

/* ---------------------------------------------------------------- pages légales */

.prose h2 { font-size: 1.6rem; margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose p, .prose li { color: #4A4340; }

/* ---------------------------------------------------------------- pied de page */

.site-footer { background: #F1E7E0; margin-top: clamp(64px, 8vw, 110px); padding: clamp(48px, 6vw, 80px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 32ch; margin: 18px 0; }
.footer-title { font: 600 .76rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage-strong); margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--rose-strong); text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #E2D5CC; margin-top: 48px; padding-top: 20px; padding-bottom: 20px; font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink); }
.socials a:hover { background: var(--rose-strong); color: #fff; }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- apparition au scroll */

/* ---------------------------------------------------------------- finitions visuelles */

/* Surtitres : une petite feuille à la place du trait */
.eyebrow::before, .section-head.center .eyebrow::after {
    width: 14px; height: 14px; background: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4C9 4 4 10 4 20c10 0 16-5 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4C9 4 4 10 4 20c10 0 16-5 16-16z'/%3E%3C/svg%3E") center / contain no-repeat;
    background-color: var(--sage);
}
.section-head.center .eyebrow::after { transform: scaleX(-1); }
.cta-band .eyebrow::before { background-color: rgba(255, 255, 255, .6); }

/* Séparations en vagues autour des sections colorées */
.section.bg-blush, .section.bg-sage { position: relative; z-index: 1; }
.section.bg-blush::before, .section.bg-sage::before,
.section.bg-blush::after, .section.bg-sage::after {
    content: ""; position: absolute; left: 0; right: 0; height: 36px; background: inherit; pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V22C160 4 320 2 520 14s380 22 560 8 280-20 360-12v26z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V22C160 4 320 2 520 14s380 22 560 8 280-20 360-12v26z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section.bg-blush::before, .section.bg-sage::before { top: -35px; }
.section.bg-blush::after, .section.bg-sage::after { bottom: -35px; transform: scale(-1, -1); }
.section.has-leaves { overflow: visible; }
.has-leaves .leaves { overflow: hidden; }

/* Pied de page vert profond avec vague */
.site-footer { background: #3B4A37; color: #EDE6DC; position: relative; margin-top: clamp(90px, 10vw, 140px); }
.site-footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: -35px; height: 36px; background: inherit; pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C200 2 420 0 640 12s420 24 560 10 180-14 240-10v26z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V18C200 2 420 0 640 12s420 24 560 10 180-14 240-10v26z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.site-footer .brand, .site-footer .brand:hover { color: #FBF7F3; }
.site-footer .brand-sub { color: var(--sage); }
.site-footer .logo-mark { background: #FBF7F3; border-radius: 50%; }
.footer-brand p, .site-footer .hours dd { color: rgba(237, 230, 220, .72); }
.footer-title { color: var(--sage); }
.site-footer a { color: #FBF7F3; }
.site-footer a:hover { color: #F4C9CB; }
.site-footer .socials a { background: rgba(255, 255, 255, .1); color: #FBF7F3; }
.site-footer .socials a:hover { background: var(--rose-strong); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .12); color: rgba(237, 230, 220, .6); }
@media (min-width: 861px) { .footer-grid { grid-template-columns: 1.3fr .9fr 1.35fr .9fr; } }
.site-footer .hours dd { white-space: nowrap; }
.js .footer-brand .logo-mark .lm-ring { stroke: var(--rose); }

/* Badge rond tournant sur la photo d'accueil */
.hero-badge {
    position: absolute; right: -3%; bottom: -5%; width: 118px; height: 118px; border-radius: 50%;
    background: var(--bg); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2;
}
.hero-badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); overflow: visible; }
.hero-badge text { font: 600 9.2px var(--font-body); letter-spacing: 2.6px; fill: var(--sage-strong); text-transform: uppercase; }
.hero-badge .logo-mark { width: 44px; height: 44px; }
@media (max-width: 900px) { .hero-badge { width: 96px; height: 96px; right: -6%; } .hero-badge .logo-mark { width: 36px; height: 36px; } }

/* Avis : grand guillemet et initiale */
.review-card { position: relative; overflow: hidden; }
.review-card::before {
    content: "“"; position: absolute; top: .02em; right: .14em; font: italic 300 6rem/1 var(--font-display);
    color: var(--blush); pointer-events: none;
}
.bg-sage .review-card::before { color: var(--sage-light); }
.review-card footer { display: flex; align-items: center; gap: 12px; }
.avatar {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--rose), var(--rose-strong)); color: #fff;
    font: 500 1.05rem var(--font-display);
}
.review-card:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--sage), var(--sage-strong)); }
.review-card:nth-child(3n+3) .avatar { background: linear-gradient(135deg, #E3D2BD, #9C7B55); }

/* Produits : badge « Coup de cœur » */
.product-card > a { position: relative; display: block; }
.badge-featured {
    position: absolute; top: 12px; left: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--rose-strong); font: 600 .72rem var(--font-body); letter-spacing: .04em;
    box-shadow: 0 4px 12px -6px rgba(46, 41, 38, .4);
}

/* ---------------------------------------------------------------- illustrations produits */

.product-illus { display: grid; place-items: center; background-image: var(--ph-gradient); background-size: cover; background-position: center; }
.product-svg { width: 78%; height: 78%; overflow: visible; }
.cart-line .product-svg { width: 90%; height: 90%; }

/* ---------------------------------------------------------------- abonnements head spa */

.subscriptions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.subscription { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.subscription-rose { background: linear-gradient(160deg, #FFFFFF 0%, #FBEDEB 100%); border-color: var(--rose); }
.subscription h3 { font-size: 1.8rem; margin-bottom: 4px; }
.subscription-price { margin: 0 0 4px; color: var(--muted); }
.subscription-price strong { font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; color: var(--ink); }
.subscription-price s { margin-left: 6px; font-size: .95rem; }
.subscription-what { font-weight: 600; margin: 0; }
.subscription .feature-list { margin: 18px 0 24px; }
.subscription-cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subscription-qr { margin: 0; display: flex; align-items: center; gap: 10px; }
.subscription-qr img { width: 84px; height: 84px; border-radius: 10px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.subscription-qr figcaption { font-size: .78rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) { .subscription-qr { display: none; } }
@media (max-width: 700px) { .subscriptions { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- bandeau défilant */

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-group span { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee-group span:nth-child(4n+1) { color: var(--rose-strong); }
.marquee-group span:nth-child(4n+3) { color: var(--sage-strong); }
.marquee-group svg { width: 18px; height: 18px; flex-shrink: 0; fill: var(--sage); }

/* ---------------------------------------------------------------- feuilles flottantes */

.has-leaves { position: relative; overflow: hidden; isolation: isolate; }
.leaves { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.leaves svg { position: absolute; width: 34px; height: 34px; fill: var(--sage); opacity: .35; }

/* ---------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-family: var(--font-display); font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blush)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B45A6E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--rose-strong); }
.faq .answer { overflow: hidden; color: var(--muted); }
.faq .answer-inner { padding: 0 24px 22px; }
.faq .answer p:last-child { margin: 0; }
.leaves svg { transform: rotate(var(--r, 0deg)); }

/* ---------------------------------------------------------------- curseur ciseaux (souris uniquement, activé par main.js) */

.has-scissors, .has-scissors * { cursor: none !important; }
.has-scissors input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.has-scissors textarea { cursor: text !important; }
.scissors-cursor {
    position: fixed; left: 0; top: 0; z-index: 9999; width: 48px; height: 48px;
    pointer-events: none; opacity: 0; will-change: transform;
    transition: opacity .2s;
}
.scissors-cursor.visible { opacity: 1; }
.scissors-cursor svg { width: 100%; height: 100%; overflow: visible; transition: transform .25s cubic-bezier(.34, 1.4, .5, 1); transform-origin: 4px 4px; }
.scissors-cursor .half { transform-box: view-box; transform-origin: 19px 19px; transition: transform .22s cubic-bezier(.34, 1.4, .5, 1); }
.scissors-cursor .half-a { transform: rotate(-7deg); }
.scissors-cursor .half-b { transform: rotate(7deg); }
.scissors-cursor.is-link svg { transform: scale(1.12); }
.scissors-cursor.is-link .half-a { transform: rotate(-20deg); }
.scissors-cursor.is-link .half-b { transform: rotate(20deg); }
.scissors-cursor.is-down .half-a, .scissors-cursor.is-down .half-b { transform: rotate(0deg); transition-duration: .08s; }
.scissors-cursor { transform-origin: 4px 4px; }
.snip-strand { position: fixed; z-index: 9998; width: 10px; height: 18px; pointer-events: none; overflow: visible; }

.cursor-halo {
    position: fixed; left: 0; top: 0; z-index: 9997; width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border-radius: 50%; border: 1.5px solid rgba(180, 90, 110, .45); background: rgba(232, 183, 183, .12);
    pointer-events: none; opacity: 0; will-change: transform;
    transition: width .35s cubic-bezier(.22, .7, .2, 1), height .35s cubic-bezier(.22, .7, .2, 1), margin .35s cubic-bezier(.22, .7, .2, 1),
                background-color .3s, border-color .3s, opacity .25s;
}
.cursor-halo.visible { opacity: 1; }
.cursor-halo.is-link { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(232, 183, 183, .28); border-color: rgba(180, 90, 110, .25); }
.cursor-halo.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

.cursor-label {
    position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--bg);
    font: 600 .74rem/1.2 var(--font-body); letter-spacing: .06em; white-space: nowrap;
    opacity: 0; scale: .6; transition: opacity .2s, scale .3s cubic-bezier(.34, 1.4, .5, 1);
}
.cursor-label.visible { opacity: 1; scale: 1; }

/* ---------------------------------------------------------------- barre de progression, bouton RDV mobile, haut de page */

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, var(--rose), var(--rose-strong)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

.btn.mobile-book {
    display: none; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45;
    box-shadow: 0 12px 30px -8px rgba(46, 41, 38, .35);
    transform: translateY(140%); transition: transform .45s cubic-bezier(.22, .7, .2, 1);
}
.mobile-book.show { transform: none; }
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
    display: grid; place-items: center; opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .35s, transform .35s, background-color .2s, color .2s;
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--rose-strong); color: #fff; border-color: var(--rose-strong); }
@media (max-width: 760px) {
    .btn.mobile-book { display: flex; }
    .to-top { display: none; }
    .site-footer { padding-bottom: 76px; }
}

/* Les animations sont dans animations.css */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Adaptation mobile
   ========================================================================== */

/* Onglets de catégories de la prise de RDV (tous écrans) */
.service-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 18px; padding: 2px 4px 4px; }
.service-tabs::-webkit-scrollbar { display: none; }
.service-tabs .chip { flex-shrink: 0; min-height: 40px; }
.service-group[hidden] { display: none; }
.service-group.tabbed legend { position: absolute; left: -9999px; }

/* Barre de réservation fixe (mobile) */
.booking-bar { display: none; }

/* Les éléments qui défilent horizontalement ne doivent pas élargir leur colonne de grille */
.booking > *, .shop-layout > *, .cart-layout > *, .contact-layout > *, .account-layout > *, .booking-datetime > * { min-width: 0; }

@media (max-width: 900px) {
    .hero-card { right: 3%; top: 3%; }
}

@media (max-width: 960px) {
    .booking-bar {
        display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; z-index: 45;
        bottom: calc(12px + env(safe-area-inset-bottom));
        background: var(--ink); color: var(--bg); border-radius: 18px; padding: 10px 10px 10px 16px;
        box-shadow: 0 14px 30px -10px rgba(46, 41, 38, .5);
    }
    .booking-bar-text { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.3; }
    .booking-bar-text strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .booking-bar-text span { color: rgba(251, 247, 243, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
    .booking-bar .btn { min-height: 44px; padding: 0 18px; flex-shrink: 0; }
    body:has(.booking-bar) .site-footer { padding-bottom: 96px; }
    body:has(.booking-bar) .to-top { display: none; }
}

@media (max-width: 640px) {
    /* ---------- cibles tactiles (≥ 44 px) */
    .link-arrow { min-height: 44px; }
    .price-row .book { display: inline-flex; align-items: center; min-height: 44px; }
    .product-card h3 a { display: block; padding: 5px 0; }
    .link-btn { min-height: 40px; display: inline-flex; align-items: center; }
    .chip { min-height: 40px; }
    .check input { width: 22px; height: 22px; }

    /* ---------- lisibilité */
    .brand-sub { font-size: .68rem; letter-spacing: .18em; }
    .booking-summary dt { font-size: .8rem; }
    .lead { font-size: 1.08rem; }

    /* ---------- héros de l'accueil */
    .hero { padding-top: 20px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero .actions .btn { flex: 1 1 100%; }
    .hero-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 20px; }
    .hero-meta div { font-size: .78rem; }
    .hero-meta strong { font-size: 1.3rem; }
    .hero-meta .stars svg { width: 12px; height: 12px; }
    .hero-card { padding: 10px 14px; }
    .hero-card strong { font-size: .95rem; }

    /* ---------- photos des sections moins hautes */
    .split > .photo { aspect-ratio: 1; max-width: none; }
    .section-head-row { flex-direction: column; align-items: flex-start; gap: 4px; }

    /* ---------- carrousels à faire glisser */
    .m-carousel {
        display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px;
    }
    .m-carousel::-webkit-scrollbar { display: none; }
    .m-carousel > * { flex: 0 0 84%; scroll-snap-align: start; }
    .js .m-carousel > .reveal { opacity: 1; transform: none; }
    .carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
    .carousel-dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .3s, background-color .3s; }
    .carousel-dots span.active { width: 20px; background: var(--rose-strong); }

    /* ---------- « Votre visite » en frise verticale */
    .steps { gap: 22px; }
    .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; position: relative; }
    .steps li::before { grid-row: span 2; margin: 0; font-size: 2rem; }
    .steps li:not(:last-child)::after {
        content: ""; position: absolute; left: 17px; top: 2.7rem; bottom: -18px; width: 2px; border-radius: 2px;
        background: linear-gradient(var(--rose), var(--sage)); opacity: .55;
    }
    .steps h3 { margin: 4px 0 4px; }

    /* ---------- boutique & panier */
    .shop-filters ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
    .shop-filters ul::-webkit-scrollbar { display: none; }
    .shop-filters a { white-space: nowrap; min-height: 40px; align-items: center; }
    .shop-filters h2 { display: none; }
    .product-detail .buy-row .btn { flex: 1; }
    .summary { position: static; }

    /* ---------- prise de RDV */
    .booking-step { padding: 18px 16px; }
    .radio-card .box { padding: 12px 14px; }
    .calendar-grid { gap: 3px; }
    .day { height: 40px; font-size: .9rem; }
    .booking-summary { display: none; }
    .booking .form-row { grid-template-columns: 1fr; }

    /* ---------- admin */
    .stock-stepper button { width: 40px; height: 40px; }
    .product-row { grid-template-columns: 50px 1fr auto; grid-template-areas: "photo info price" "stock stock actions"; row-gap: 10px; }
    .product-row-photo { grid-area: photo; }
    .product-row-info { grid-area: info; min-width: 0; }
    .product-row-price { grid-area: price; font-size: 1.05rem; }
    .product-row .stock-stepper { grid-area: stock; justify-self: start; grid-column: auto; }
    .product-row-actions { grid-area: actions; grid-column: auto; }
    .product-row-actions .icon-pill span { display: none; }
    .icon-pill { min-height: 40px; }
    .admin-head .btn { width: 100%; }
    .tone-picker label { min-height: 40px; }
}

/* ---------------------------------------------------------------- planning de la semaine (public + admin) */

.pl-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 8px 0 18px; }
.pl-nav h2, .pl-nav h3 { text-align: center; margin: 0; font-size: 1.25rem; }
.pl-nav h3 a { font: 500 .85rem var(--font-body); }
.pl-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.pl-legend li { display: flex; align-items: center; gap: 8px; }
.pl-dot { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.pl-dot-free { background: #EEF3E9; border: 1px solid var(--sage); }
.pl-dot-busy { background: var(--blush); border: 1px solid var(--rose); }

.planning {
    --pl-h: calc(var(--pl-hours) * 54px);
    display: grid; grid-template-columns: 38px repeat(7, minmax(0, 1fr)); gap: 6px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 12px 16px 6px;
}
.pl-scale { position: relative; height: var(--pl-h); margin-top: 44px; }
.pl-scale span { position: absolute; right: 4px; transform: translateY(-50%); font-size: .72rem; color: var(--muted); }
.pl-day { min-width: 0; }
.pl-head { height: 38px; margin: 0 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 4px;
    font: 500 .8rem var(--font-body); color: var(--muted); text-transform: capitalize; }
.pl-head strong { font: 400 1.25rem var(--font-display); color: var(--ink); }
.pl-day.is-today .pl-head strong { color: #fff; background: var(--rose-strong); border-radius: 999px; min-width: 32px; text-align: center; }
.pl-body {
    position: relative; height: var(--pl-h); border-radius: 12px;
    background: repeating-linear-gradient(to bottom, transparent 0 53px, var(--line) 53px 54px);
}
.pl-day.is-past .pl-body { opacity: .55; }
.pl-open { position: absolute; left: 0; right: 0; background: #FBF8F5; border-radius: 10px; }
.pl-closed { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .85rem;
    background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(0, 0, 0, .025) 8px 16px); border-radius: 10px; }
.pl-seg {
    position: absolute; left: 3px; right: 3px; overflow: hidden; border-radius: 9px; padding: 5px 7px;
    display: flex; flex-direction: column; gap: 1px; font-size: .74rem; line-height: 1.25; text-decoration: none; min-height: 22px;
}
.pl-free { background: #EEF3E9; border: 1px dashed var(--sage); color: var(--sage-strong); transition: background-color .2s, border-color .2s; }
a.pl-free:hover { background: #DFE9D6; border-style: solid; color: var(--sage-strong); }
.pl-free.is-off { opacity: .6; }
.pl-busy { background: var(--blush); border: 1px solid var(--rose); color: var(--rose-strong); }
.pl-tag { font-weight: 600; }
.pl-time { color: inherit; opacity: .85; white-space: nowrap; }
.planning-admin .pl-busy { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rose); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(46, 41, 38, .25); }
.planning-admin .pl-busy.appt-sage { border-left-color: var(--sage); }
.planning-admin .pl-busy.appt-sand { border-left-color: #D8BE9C; }
.planning-admin .pl-busy strong { font-size: .8rem; }
.planning-admin .pl-svc { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planning-admin .pl-free { background: transparent; border-color: transparent; color: transparent; }
.planning-admin a.pl-free:hover { background: #EEF3E9; border: 1px dashed var(--sage); color: var(--sage-strong); }
.planning-admin .pl-free .pl-time { display: none; }

.appt-add { margin: 18px 0 28px; padding: 0; }
.appt-add summary { cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; list-style: none; }
.appt-add summary::-webkit-details-marker { display: none; }
.appt-add summary svg { width: 20px; height: 20px; }
.appt-add .form { padding: 0 20px 20px; }

/* Mobile : un jour sous l'autre, créneaux en liste */
@media (max-width: 820px) {
    .planning { display: block; padding: 6px 12px; }
    .pl-scale { display: none; }
    .pl-day { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .pl-day:last-child { border-bottom: 0; }
    .pl-head { height: auto; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; margin: 0; }
    .pl-body { height: auto; background: none; display: flex; flex-direction: column; gap: 6px; }
    .pl-open { display: none; }
    .pl-closed { position: static; min-height: 40px; }
    .pl-seg { position: static; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 12px; font-size: .88rem; min-height: 44px; align-content: center; }
    .planning-admin .pl-free { background: #EEF3E9; border: 1px dashed var(--sage); color: var(--sage-strong); }
    .planning-admin .pl-free .pl-time { display: inline; }
    .planning-admin .pl-svc { white-space: normal; }
}
@media (max-width: 560px) {
    .pl-nav-word { display: none; }
    .pl-nav .chip { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; padding: 0; font-size: 1.2rem; }
    .pl-nav h2, .pl-nav h3 { font-size: 1.05rem; }
}
.status-new { background: var(--rose-strong); color: #fff; }
.appt.is-new { box-shadow: 0 0 0 2px var(--rose) inset; }
.cron-url { display: block; overflow-wrap: anywhere; background: var(--sand); border-radius: 10px; padding: 10px 12px; font-size: .85rem; }
.product-row.service-row { grid-template-columns: 1fr auto; margin-bottom: 8px; }
.service-row .tag { margin-left: 6px; }
@media (max-width: 700px) { .product-row.service-row { grid-template-columns: 1fr; } }
.appt.is-pending { border-left-color: #C8922E; background: #FDF7EC; }
