:root {
    --ink: #171512;
    --ink-soft: #39342e;
    --cream: #f7f3ed;
    --cream-dark: #ece4da;
    --white: #ffffff;
    --rose: #b86873;
    --rose-dark: #92505a;
    --rose-soft: #ead5d8;
    --gold: #b58a4b;
    --muted: #756e66;
    --border: rgba(23, 21, 18, 0.11);
    --shadow-sm: 0 12px 30px rgba(23, 21, 18, 0.08);
    --shadow-lg: 0 24px 70px rgba(23, 21, 18, 0.16);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
main { overflow: hidden; }
section { padding: 88px 0; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.08;
    color: var(--ink);
}
h1 { font-size: clamp(3rem, 7vw, 6.25rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -0.04em; }
h3 { font-size: 1.5rem; }
p { color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--rose-dark);
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose-dark); box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--border); background: rgba(255,255,255,.45); }
.btn-ghost:hover { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-small { min-height: 44px; padding-inline: 20px; font-size: .82rem; }
.btn-block { width: 100%; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247,243,237,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23,21,18,.06);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: -.04em; }
.logo-main { color: var(--ink); }
.logo-accent { margin-left: 3px; color: var(--rose); font-style: italic; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; font-size: .9rem; font-weight: 600; color: var(--muted); }
.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -8px;
    height: 1px;
    background: var(--ink);
    transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-cta { padding: 11px 19px; border-radius: 999px; background: var(--ink); color: var(--white) !important; }
.nav-cta:hover { background: var(--rose-dark); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .25s ease; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; padding: 90px 0 110px; }
.hero-decoration { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-decoration-left { width: 460px; height: 460px; left: -260px; top: 90px; background: var(--rose-soft); opacity: .65; }
.hero-decoration-right { width: 520px; height: 520px; right: -250px; bottom: -180px; background: #e7d7c2; opacity: .7; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 80px; align-items: center; }
.hero-content em { color: var(--rose); font-weight: 600; }
.hero-lead { max-width: 600px; margin: 28px 0 34px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 34px; }
.hero-trust span { position: relative; padding-left: 18px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.hero-trust span::before { content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-visual { position: relative; min-height: 560px; }
.hero-main-image { position: absolute; inset: 0 0 0 70px; border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-main-image img { height: 100%; object-fit: cover; }
.hero-floating-card { position: absolute; left: 0; bottom: 52px; width: 270px; padding: 24px; border-radius: var(--radius-md); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.floating-label { display: block; margin-bottom: 10px; font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-dark); }
.hero-floating-card strong { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.hero-floating-card p { margin-top: 8px; font-size: .82rem; }

.section-heading { margin-bottom: 52px; }
.section-heading.centered { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p { max-width: 560px; margin: 18px auto 0; }
.section-heading-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading-split p { max-width: 440px; }

.services-intro { background: var(--white); }
.service-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { min-height: 320px; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); background: var(--cream); }
.service-index { font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--rose); }
.service-card h3 { margin-top: 70px; }
.service-card p { margin-top: 16px; font-size: .92rem; }
.service-card a { margin-top: auto; padding-top: 26px; font-size: .84rem; font-weight: 700; }
.service-card a span { margin-left: 6px; }

.portfolio-section { background: var(--cream); }
.gallery-preview-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 20px; }
.showcase-card { position: relative; min-height: 470px; overflow: hidden; border-radius: var(--radius-md); background: var(--ink); }
.showcase-card img { height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s ease; }
.showcase-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,12,10,.78), transparent 58%); }
.showcase-card:hover img { transform: scale(1.045); opacity: .92; }
.showcase-card figcaption { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; color: var(--white); }
.showcase-card figcaption span { display: block; margin-bottom: 5px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e4cdb9; }
.showcase-card figcaption strong { font-family: var(--font-display); font-size: 1.35rem; }
.gallery-cta { margin-top: 34px; text-align: center; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-weight: 700; font-size: .88rem; }

.experience-section { background: var(--ink); }
.experience-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 110px; align-items: center; }
.experience-copy .eyebrow { color: #d9ae82; }
.experience-copy h2 { color: var(--white); }
.experience-copy p { margin: 26px 0 32px; color: rgba(255,255,255,.62); }
.experience-copy .btn-dark { background: var(--white); color: var(--ink); }
.benefits-list article { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.benefits-list article:first-child { border-top: 1px solid rgba(255,255,255,.11); }
.benefits-list > article > span { font-size: .72rem; color: #d9ae82; letter-spacing: .12em; }
.benefits-list h3 { color: var(--white); font-family: var(--font-body); font-size: 1.08rem; }
.benefits-list p { margin-top: 7px; font-size: .9rem; color: rgba(255,255,255,.55); }

.booking-process { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; max-width: 980px; margin: 0 auto; }
.step-item { position: relative; padding: 0 42px; text-align: center; }
.step-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 36px; width: 1px; height: 86px; background: var(--border); }
.step-number { display: inline-grid; place-items: center; width: 74px; height: 74px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 50%; color: var(--rose-dark); font-size: .75rem; font-weight: 700; }
.step-item h3 { font-family: var(--font-body); font-size: 1rem; }
.step-item p { margin-top: 10px; font-size: .88rem; }

.cta-band { padding: 72px 0; background: var(--rose-dark); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-band .eyebrow { color: #f2d9dc; }
.cta-band h2 { max-width: 700px; color: var(--white); font-size: clamp(2rem,4vw,3.5rem); }
.cta-band p { margin-top: 16px; color: rgba(255,255,255,.72); }

/* Existing inner pages */
.bg-alt { background: var(--cream-dark); }
.bg-dark { background: var(--ink); color: var(--white); }
.section-title { text-align: center; }
.section-subtitle { max-width: 560px; margin: 14px auto 38px; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.gallery-category { margin-bottom: 60px; }
.gallery-category-header { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.gallery-category-header .icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--rose-soft); }
.polaroid { padding: 10px 10px 30px; background: var(--white); box-shadow: var(--shadow-sm); }
.polaroid img { aspect-ratio: 4/5; object-fit: cover; }
.polaroid figcaption { margin-top: 8px; text-align: center; font-size: .75rem; color: var(--muted); }

.form-card, .admin-card, .admin-login { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 28px; }
.rdv-wrapper { max-width: 720px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: .84rem; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--cream); color: var(--ink); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 0; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(184,104,115,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prestation-choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.prestation-choice { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--cream); cursor: pointer; text-align: center; }
.prestation-choice.selected { border-color: var(--rose); background: var(--rose-soft); }
.info-box { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: var(--cream-dark); color: var(--muted); }
.alert { padding: 16px; margin-bottom: 20px; border-radius: 12px; }
.alert-success { background: #e7f2e8; color: #376a3d; }
.alert-error { background: #f9e6e4; color: #a13f39; }

.calendar-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.calendar-nav-btn { width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); cursor: pointer; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 6px; text-align: center; font-size: .7rem; font-weight: 700; color: var(--muted); }
.calendar-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--cream); font-size: .82rem; }
.calendar-day.has-slots { background: var(--rose-soft); font-weight: 700; cursor: pointer; }
.calendar-day.selected { background: var(--rose); color: var(--white); }
.disponibilites-list, .dispo-chips-editable { display: flex; flex-wrap: wrap; gap: 10px; }
.dispo-chip, .dispo-chip-editable { padding: 10px 15px; border: 1px solid var(--border); border-radius: 999px; background: var(--cream); cursor: pointer; }
.dispo-chip.selected { background: var(--rose); color: var(--white); border-color: var(--rose); }

.site-footer { padding: 58px 0 0; background: #11100e; color: rgba(255,255,255,.6); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 34px; }
.footer-inner h4 { margin-bottom: 14px; color: var(--white); font-family: var(--font-body); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a, .footer-contact a { display: block; margin: 7px 0; font-size: .86rem; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .75rem; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 500; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--whatsapp); box-shadow: var(--shadow-lg); font-size: 1.45rem; }

@media (max-width: 900px) {
    section { padding: 72px 0; }
    .hero { min-height: auto; }
    .hero-inner, .experience-grid { grid-template-columns: 1fr; gap: 55px; }
    .hero-content { text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { min-height: 520px; max-width: 600px; width: 100%; margin-inline: auto; }
    .section-heading-split { grid-template-columns: 1fr; gap: 22px; }
    .service-cards { grid-template-columns: 1fr; }
    .service-card { min-height: 240px; }
    .service-card h3 { margin-top: 40px; }
    .gallery-preview-grid { grid-template-columns: 1fr 1fr; }
    .showcase-card-large { grid-column: 1 / -1; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .gallery-grid { grid-template-columns: repeat(3,1fr); }
    .calendar-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .container { width: min(100% - 30px, 1180px); }
    .header-inner { min-height: 70px; }
    .burger { display: block; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 18px 20px 24px; background: rgba(247,243,237,.98); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 6px; }
    .nav-cta { margin-top: 6px; text-align: center; }
    .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hero { padding: 64px 0 80px; }
    .hero-main-image { inset: 0 0 0 22px; }
    .hero-floating-card { left: 0; bottom: 28px; width: 235px; padding: 20px; }
    .gallery-preview-grid { grid-template-columns: 1fr; }
    .showcase-card-large { grid-column: auto; }
    .showcase-card { min-height: 420px; }
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .step-item:not(:last-child)::after { display: none; }
    .step-item { padding: 0 16px; }
    .footer-inner { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
    .form-row, .prestation-choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    section { padding: 58px 0; }
    h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 430px; }
    .hero-floating-card { width: 210px; }
    .gallery-grid { grid-template-columns: 1fr; }
}

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

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(184,104,115,.35);
    outline-offset: 3px;
}

/* ============================
   Livres de prestations
   ============================ */
.book-library-section { background: var(--white); }
.book-library {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.service-book { display: flex; flex-direction: column; gap: 28px; }

.book-intro { display: flex; gap: 20px; align-items: flex-start; min-height: 190px; }
.book-index {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--rose-soft);
    line-height: 1;
}
.book-intro h2 { margin-top: 4px; }
.book-intro p { margin-top: 10px; font-size: .92rem; }

.book-shell { display: flex; flex-direction: column; gap: 18px; }

/* Scène du livre : conteneur qui empile les pages */
.book-stage {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    background: var(--ink);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
}
.book-spine {
    display: none;
}

/* Chaque page occupe tout l'espace, superposée aux autres */
.book-page {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(.98);
    transition: opacity .45s ease, transform .45s ease;
    z-index: 1;
}
.book-page.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    z-index: 3;
    cursor: pointer;
}
.book-page.is-before {
    transform: translateX(-6%) scale(.98);
    z-index: 2;
}
.book-page.is-after {
    transform: translateX(6%) scale(.98);
    z-index: 2;
}

/* Couverture */
.book-cover {
    background: linear-gradient(160deg, var(--rose-dark), var(--ink) 78%);
    color: var(--white);
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.book-cover-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: .5;
}
.book-cover-content { position: relative; z-index: 2; }
.book-cover-number { display: block; font-size: .8rem; letter-spacing: .2em; color: #e4cdb9; }
.book-cover-content p { margin-top: 14px; color: rgba(255,255,255,.65); font-size: .85rem; }
.book-cover-content h3 {
    margin-top: 6px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--white);
}
.book-cover-line { display: block; width: 46px; height: 1px; margin: 18px auto; background: rgba(255,255,255,.4); }
.book-cover-content small { color: rgba(255,255,255,.55); font-size: .78rem; }

/* Pages photo */
.book-photo-page {
    background: var(--cream);
    padding: 26px;
    justify-content: space-between;
}
.book-paper-texture {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(23,21,18,.03) 1px, transparent 1px);
    background-size: 100% 26px;
    pointer-events: none;
}
.book-photo-frame {
    position: relative;
    z-index: 2;
    flex: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.book-photo-frame img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    background: var(--cream-dark);
}
.book-photo-page figcaption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}
.book-photo-page figcaption span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--rose-dark);
}
.book-photo-page figcaption strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink);
}

/* Page de fin / CTA */
.book-end-page {
    background: var(--cream-dark);
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.book-end-content { max-width: 320px; }
.book-end-content p { margin: 14px 0 22px; font-size: .9rem; }

/* Contrôles */
.book-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.book-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
}
.book-nav:hover:not(:disabled) { background: var(--cream); transform: translateY(-1px); }
.book-nav:disabled { opacity: .35; cursor: not-allowed; }
.book-counter { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
    .book-library { grid-template-columns: 1fr; gap: 46px; }
    .book-stage { aspect-ratio: 4 / 4.2; }
    .book-intro { min-height: 0; }
}

@media (max-width: 480px) {
    .book-intro { flex-direction: column; gap: 8px; }
    .book-index { font-size: 2rem; }
}
/* ============================================================
   Réservation : prix/durée sur les photos, résumé prestation,
   horaires par défaut admin, exceptions par jour, rendez-vous
   ============================================================ */

/* ---- Photos cliquables (prestations.php) ---- */
.book-photo-frame {
    position: relative;
    cursor: pointer;
}
.book-photo-frame:focus-visible {
    outline: 3px solid rgba(184,104,115,.45);
    outline-offset: 2px;
}
.book-photo-cta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(to top, rgba(23,21,18,.82), transparent);
    color: var(--white);
    font-size: .82rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}
.book-photo-frame:hover .book-photo-cta,
.book-photo-frame:focus-visible .book-photo-cta {
    opacity: 1;
    transform: translateY(0);
}
.book-photo-page figcaption {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.book-photo-caption-main {
    display: flex;
    align-items: center;
    gap: 10px;
}
.book-photo-caption-main span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--rose-dark);
}
.book-photo-caption-main strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink);
}
.book-photo-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 700;
}
.book-photo-price {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
}
.book-photo-duration {
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--rose-soft);
    color: var(--rose-dark);
}

/* ---- Résumé de la prestation sélectionnée (rendez-vous.php) ---- */
.prestation-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--cream);
}
.prestation-summary-info { display: flex; flex-direction: column; gap: 6px; }
.prestation-summary-info strong { font-family: var(--font-display); font-size: 1.15rem; }
.prestation-summary-meta { display: flex; gap: 10px; font-size: .82rem; font-weight: 700; color: var(--rose-dark); }

/* ---- Calendrier : états manquants (aujourd'hui / passé / cliquable / vide) ---- */
.calendar-day { cursor: default; }
.calendar-day.empty { background: transparent; }
.calendar-day.clickable { cursor: pointer; }
.calendar-day.clickable:hover { background: var(--rose-soft); }
.calendar-day.past { opacity: .35; cursor: not-allowed; }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--gold); }
.calendar-day.is-exception { box-shadow: inset 0 0 0 2px var(--rose); }
.calendar-day.has-appointments::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rose-dark);
}
.calendar-day { position: relative; flex-direction: column; gap: 2px; }
.calendar-day .slot-count {
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rose-dark);
}

/* ---- Créneaux et messages ---- */
.dispo-empty { font-size: .85rem; color: var(--muted); }
.info-box .icon { font-size: 1.15rem; line-height: 1; flex-shrink: 0; }
.selected-slot-box {
    display: none;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 12px;
    background: var(--rose-soft);
    color: var(--rose-dark);
    font-size: .88rem;
    font-weight: 600;
}
.selected-slot-box.visible { display: block; }
.dispo-chip.selected { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* ---- Admin : horaires par défaut ---- */
.default-hours-grid { display: flex; flex-direction: column; gap: 10px; }
.default-hours-row {
    display: grid;
    grid-template-columns: 140px 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--cream);
}
.default-hours-sep { font-size: .8rem; color: var(--muted); text-align: center; }
.default-hours-row input[type="time"] {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
}
.default-hours-row input[type="time"]:disabled { opacity: .4; }

.day-status-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
}
.day-status-toggle input { width: 17px; height: 17px; accent-color: var(--rose-dark); }

.day-status-editor {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--cream);
}
.day-status-editor input[type="time"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
}
.day-source-hint { margin-top: 10px; font-size: .78rem; color: var(--muted); }

/* ---- Admin : liste des rendez-vous ---- */
.day-appointments { border-top: 1px solid var(--border); padding-top: 4px; }
.appointment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}
.appointment-info { display: flex; flex-direction: column; gap: 3px; }
.appointment-info strong { font-size: .92rem; }
.appointment-prestation { font-size: .8rem; color: var(--rose-dark); font-weight: 700; }
.appointment-client { font-size: .8rem; color: var(--muted); }
.appointment-cancel { flex-shrink: 0; }

@media (max-width: 640px) {
    .default-hours-row { grid-template-columns: 1fr; }
    .default-hours-sep { display: none; }
    .prestation-summary { flex-direction: column; align-items: flex-start; }
    .appointment-item { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Avis clients : étoiles, formulaire, liste, bandeau défilant
   ============================================================ */

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---- Étoiles (affichage) ---- */
.etoiles { display: inline-flex; gap: 2px; margin-bottom: 10px; }
.etoile { font-size: 1rem; color: var(--border); }
.etoile.pleine { color: var(--gold); }

/* ---- Formulaire : sélecteur d'étoiles interactif ---- */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
    border: 0;
    padding: 0;
    margin: 0;
}
.star-rating input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.star-rating label {
    font-size: 2rem;
    line-height: 1;
    color: var(--border);
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--gold);
}
.star-rating input:focus-visible + label {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Page avis.php : liste des avis ---- */
.avis-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
}
.avis-liste-vide {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 0;
}
.avis-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.avis-commentaire {
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.55;
}
.avis-auteur {
    margin-top: 12px;
    font-weight: 700;
    font-size: .85rem;
    color: var(--rose-dark);
}
.avis-card-new {
    animation: avis-pop .4s ease;
}
@keyframes avis-pop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Accueil : bandeau d'avis défilant en boucle ---- */
.avis-marquee-section {
    padding: 88px 0 70px;
    background: var(--cream);
}
.avis-marquee-empty { padding: 88px 0; }
.avis-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.avis-marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding: 4px 0 30px;
    animation: avis-scroll 45s linear infinite;
}
.avis-marquee:hover .avis-marquee-track {
    animation-play-state: paused;
}
@keyframes avis-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.avis-marquee-card {
    flex: 0 0 320px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.avis-marquee-card .avis-commentaire {
    font-size: .92rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 720px) {
    .avis-liste { grid-template-columns: 1fr; }
    .avis-marquee-card { flex-basis: 260px; }
}
