/* styles.css - Styles CSS pour Soleil d'Ambre */

/* Variables CSS personnalisées */
:root {
    --primary-color: #D4AF37;
    --secondary-color: #8B4513;
    --accent-color: #FF6B35;
    --text-dark: #2C1810;
    --text-light: #6B5B73;
    --background-light: #FFF8F0;
    --background-white: #FFFFFF;
    --shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-hover: 0 8px 40px rgba(212, 175, 55, 0.25);
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-secondary: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    --gradient-bg: linear-gradient(135deg, #FFF8F0 0%, #F5E6D3 100%);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F4E9DC;
        --text-light: #C7B8A8;
        --background-light: #2A211B;
        --background-white: #1A1410;
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
        --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
        --gradient-bg: linear-gradient(135deg, #16110D 0%, #241C17 100%);
    }
}

html[data-theme="dark"] {
    --text-dark: #F4E9DC;
    --text-light: #C7B8A8;
    --background-light: #2A211B;
    --background-white: #1A1410;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
    --gradient-bg: linear-gradient(135deg, #16110D 0%, #241C17 100%);
}

html[data-theme="light"] {
    --text-dark: #2C1810;
    --text-light: #6B5B73;
    --background-light: #FFF8F0;
    --background-white: #FFFFFF;
    --shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    --shadow-hover: 0 8px 40px rgba(212, 175, 55, 0.25);
    --gradient-bg: linear-gradient(135deg, #FFF8F0 0%, #F5E6D3 100%);
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/playfair-display-600-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/playfair-display-700-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-bg);
    overflow-x: hidden;
    color-scheme: light dark;
}

body.dark-mode,
body.light-mode {
    color-scheme: normal;
}

body.dark-mode {
    --text-dark: #F4E9DC;
    --text-light: #C7B8A8;
    --background-light: #2A211B;
    --background-white: #1A1410;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.5);
    --gradient-bg: linear-gradient(135deg, #16110D 0%, #241C17 100%);
    background: var(--gradient-bg);
}

body.dark-mode header {
    background: rgba(22, 17, 13, 0.92);
    border-bottom-color: rgba(212, 175, 55, 0.16);
}

body.dark-mode .form-control,
body.dark-mode .message,
body.dark-mode .admin-card,
body.dark-mode .service-card,
body.dark-mode .faq-item,
body.dark-mode .contact-info,
body.dark-mode .form-container,
body.dark-mode .gallery-item,
body.dark-mode .about-image,
body.dark-mode .booking-card {
    background-color: var(--background-white);
    color: var(--text-dark);
}

body.dark-mode .bg-soft,
body.dark-mode .callout-box--neutral,
body.dark-mode .bg-warm,
body.dark-mode .bg-warm-strong {
    background: rgba(255, 255, 255, 0.04);
}

body.dark-mode .btn-secondary {
    color: #F3D99A;
    border-color: #F3D99A;
}

body.dark-mode .btn-secondary:hover {
    background: #F3D99A;
    color: #22180f;
}

body.dark-mode .link-muted {
    color: rgba(255, 255, 255, 0.72);
}

body.dark-mode .message.success {
    background: rgba(24, 93, 49, 0.35);
    border-color: rgba(79, 182, 120, 0.45);
    color: #D9F6E4;
}

body.dark-mode .message.error {
    background: rgba(112, 35, 45, 0.35);
    border-color: rgba(255, 120, 132, 0.45);
    color: #FFE2E5;
}

body.dark-mode .form-control {
    border-color: rgba(212, 175, 55, 0.25);
}

body.dark-mode .form-control:focus {
    border-color: var(--primary-color);
}

body.dark-mode .callout-box--error {
    background: rgba(112, 35, 45, 0.35);
    border-color: rgba(255, 120, 132, 0.45);
    color: #FFE2E5;
}

body.dark-mode .callout-box--warning {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-dark);
}

body.dark-mode .admin-count-badge {
    color: #22180f;
}
}

/* Utilitaires */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-offset-top {
    padding-top: 8rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--text-light);
}

.text-dark {
    color: var(--text-dark);
}

.text-primary {
    color: var(--primary-color);
}

.font-italic {
    font-style: italic;
}

.line-height-17 {
    line-height: 1.7;
}

.mt-05 {
    margin-top: 0.5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-15 {
    margin-top: 1.5rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-15 {
    margin-bottom: 1.5rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.p-1 {
    padding: 1rem;
}

.p-125-15 {
    padding: 1.25rem 1.5rem;
}

.p-2 {
    padding: 2rem;
}

.p-12 {
    padding: 1.2rem 3rem;
}

.w-full {
    width: 100%;
}

.max-w-400 {
    max-width: 400px;
}

.max-w-760 {
    max-width: 760px;
}

.bg-soft {
    background: var(--background-light);
}

.bg-warm {
    background: #FFF8E8;
}

.bg-warm-strong {
    background: #FFF8E1;
}

.border-left-primary {
    border-left: 4px solid var(--primary-color);
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-12 {
    border-radius: 12px;
}

.inline-reset {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.inline-form {
    display: inline;
    margin: 0;
}

.link-muted {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.link-muted:hover {
    color: var(--primary-color);
}

.social-links--start {
    justify-content: flex-start;
}

.scroll-x-auto {
    overflow-x: auto;
}

.callout-box {
    padding: 1rem 1.1rem;
    border-radius: 10px;
    line-height: 1.7;
}

.callout-box--tight {
    padding: 1.25rem 1.5rem;
}

.callout-box--error {
    border: 1px solid #b45309;
    background: #fff7ed;
    color: #7c2d12;
    font-weight: 600;
}

.callout-box--neutral {
    background: var(--background-light);
    color: var(--text-light);
}

.callout-box--warning {
    background: #FFF8E8;
    color: var(--text-dark);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
}

.space-between-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-count-badge {
    margin-left: auto;
    color: #fff;
    font-size: 0.7rem;
    border-radius: 10px;
    padding: 0.1rem 0.45rem;
    font-weight: 700;
}

.admin-count-badge--primary {
    background: var(--primary-color);
}

.admin-count-badge--secondary {
    background: var(--secondary-color);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Formulaires */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control.has-no-slots {
    background: #f6efe5;
    border-color: #d6b08c;
    color: #7a5d45;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Messages */
.message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Section génériques */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-section-padding {
    padding: 9rem 0 5rem;
}

.page-section-padding--compact {
    padding: 8.5rem 0 4rem;
}

.page-top-8rem {
    padding-top: 8rem;
}

.mt-4rem {
    margin-top: 4rem;
}

.page-shell-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.page-shell-wide {
    max-width: 920px;
    margin: 0 auto;
}

.page-copy {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

.page-copy-sm {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.page-copy-center {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.section-header--left {
    text-align: left;
    margin-bottom: 3rem;
}

.section-header--compact {
    margin-bottom: 2rem;
}

.section-header--tight {
    margin-bottom: 1.5rem;
}

.section-header--feature {
    max-width: 860px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.inline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid rgba(212,175,55,0.25);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.stack-gap-xl {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stack-gap-lg {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.surface-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.surface-grid-3 > .form-container {
    padding: 1.1rem 1.2rem;
    box-shadow: none;
}

.surface-card-compact {
    padding: 1.1rem 1.2rem;
    box-shadow: none;
}

.surface-card-soft {
    background: var(--background-light);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.surface-card-soft--primary {
    border-left: 4px solid var(--primary-color);
}

.surface-card-soft--secondary {
    border-left: 4px solid var(--secondary-color);
}

.section-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--background-light);
}

.section-card-title--tight {
    margin-bottom: 1rem;
}

.legal-specs {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.6rem 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-specs dt {
    font-weight: 600;
    color: var(--text-dark);
}

.legal-specs dd {
    color: var(--text-light);
}

.legal-list {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.2rem;
    margin: 0;
}

.legal-cta {
    background: #FFF8E1;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.legal-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.legal-tile {
    background: var(--background-light);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.quote-block {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.testimonial-card--full {
    grid-column: 1 / -1;
    text-align: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Éléments flottants */
.floating-element {
    position: absolute;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--background-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-section {
    margin-top: 4rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 248, 232, 0.95), rgba(255, 255, 255, 0.98));
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.16);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem 1.2rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
}

/* About */
.about {
    padding: 6rem 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-gallery {
    padding-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.25rem;
}

.gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.gallery-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: zoom-in;
}

.gallery-card__link:focus-visible {
    outline: 3px solid rgba(138, 91, 61, 0.45);
    outline-offset: -3px;
}

.gallery-card-large {
    grid-row: span 2;
}

.gallery-card picture,
.gallery-card img {
    display: block;
    width: 100%;
}

.gallery-card img {
    height: 320px;
    object-fit: cover;
}

.gallery-card-large img {
    height: 100%;
    min-height: 420px;
}

.gallery-card figcaption {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.gallery-card figcaption strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.gallery-card figcaption span {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 12, 10, 0.84);
    backdrop-filter: blur(8px);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    height: min(88vh, 860px);
    margin: 6vh auto 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
}

.gallery-lightbox__figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: rgba(255, 250, 245, 0.98);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    flex: 1;
    background: #120c0a;
}

.gallery-lightbox__caption {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(255, 250, 245, 0.98);
}

.gallery-lightbox__caption strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.gallery-lightbox__caption span {
    color: var(--text-light);
    line-height: 1.6;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    border: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-lightbox__close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.gallery-lightbox__nav--prev {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: center;
}

.gallery-lightbox__nav--next {
    grid-column: 3;
    grid-row: 1 / span 2;
    justify-self: center;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: rgba(212, 175, 55, 0.12);
}

.testimonial-rating {
    color: #E1A500;
    font-size: 0.92rem;
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
}

.testimonial-quote {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1.25rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-size: 0.98rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.88rem;
}

.testimonials-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Contact */
.contact {
    padding: 6rem 0;
    background: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-container--pad-lg {
    padding: 2rem;
}

/* Booking */
.booking {
    padding: 6rem 0;
    background: var(--background-light);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.time-slot {
    /* Reset bouton natif */
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    /* Styles propres */
    padding: 0.75rem;
    text-align: center;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.time-slot:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.time-slot:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.time-slot.selected,
.time-slot[aria-pressed="true"] {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.service-choice-grid {
    display: grid;
    gap: 0.75rem;
}

.service-choice {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #fffaf1);
    cursor: pointer;
    transition: var(--transition);
}

.service-choice:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

.service-choice input[type="checkbox"] {
    margin-top: 0.2rem;
    accent-color: var(--primary-color);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.service-choice span {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.service-choice strong {
    font-size: 0.98rem;
    color: var(--text-dark);
}

.service-choice small {
    color: var(--text-light);
    font-size: 0.84rem;
    line-height: 1.45;
}

.admin-live-toast {
    position: fixed;
    top: 4.75rem;
    right: 1.25rem;
    z-index: 1200;
    min-width: 280px;
    max-width: min(92vw, 360px);
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #1f1710;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.25);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.admin-live-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-live-toast strong {
    display: block;
    margin-bottom: 0.2rem;
}

.admin-live-toast span {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
    line-height: 1.5;
}

.admin-live-pulse {
    animation: adminLivePulse 1.2s ease;
}

@keyframes adminLivePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(212, 175, 55, 0.0); }
    40% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.12); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(212, 175, 55, 0.0); }
}

.time-slot.unavailable,
.time-slot:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.5;
}

.booking-confirmation-modal {
    position: fixed;
    inset: 0;
    z-index: 13000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.booking-confirmation-modal.is-visible {
    display: flex;
}

.booking-confirmation-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 14, 9, 0.62);
    backdrop-filter: blur(6px);
}

.booking-confirmation-modal__panel {
    position: relative;
    width: min(100%, 560px);
    background: white;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    padding: 1.6rem;
    z-index: 1;
}

.booking-confirmation-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 999px;
    background: var(--background-light);
    color: var(--text-dark);
    cursor: pointer;
}

.booking-confirmation-modal__eyebrow {
    margin: 0 0 0.4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
}

.booking-confirmation-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--text-dark);
    margin: 0 0 0.7rem;
}

.booking-confirmation-modal__body {
    color: var(--text-light);
    margin: 0 0 1.1rem;
    line-height: 1.7;
}

.booking-confirmation-summary {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    background: var(--background-light);
    margin-bottom: 1.2rem;
}

.booking-confirmation-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.booking-confirmation-summary__row span {
    color: var(--text-light);
    font-size: 0.92rem;
}

.booking-confirmation-summary__row strong {
    color: var(--text-dark);
    text-align: right;
}

.booking-confirmation-modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

body.modal-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   Admin & Dashboard — Interface de gestion
   ═══════════════════════════════════════════════════════════════ */

.admin-panel {
    min-height: 100vh;
    background: var(--gradient-bg);
    padding-top: 5rem;
}

/* ── Bandeau supérieur ── */
.admin-topbar {
    background: white;
    border-bottom: 3px solid var(--primary-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(212,175,55,0.12);
}

.admin-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.admin-topbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.admin-topbar-brand i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.admin-topbar-user a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid #e0d0b0;
    transition: var(--transition);
    font-size: 0.85rem;
}

.admin-topbar-user a:hover {
    background: var(--background-light);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

/* ── Layout principal ── */
.admin-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Sidebar ── */
.admin-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: visible;
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
    /* Le border-radius est géré sur les enfants pour ne pas clipper le scroll */
}

.admin-sidebar-profile {
    background: var(--gradient-primary);
    padding: 1.8rem 1.5rem;
    text-align: center;
    color: white;
    border-radius: 16px 16px 0 0;
    flex-shrink: 0;
}

.admin-sidebar-profile .profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 0.8rem;
    border: 2px solid rgba(255,255,255,0.5);
}

.admin-sidebar-profile .profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.admin-sidebar-profile .profile-role {
    font-size: 0.78rem;
    color: var(--text-dark);
    opacity: 0.75;
    margin-top: 0.2rem;
}

.admin-sidebar-nav {
    padding: 1rem 0;
    overflow-y: auto;
    flex: 1;
    border-radius: 0 0 16px 16px;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: var(--background-light);
    color: var(--text-dark);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.admin-sidebar-nav a i {
    width: 18px;
    text-align: center;
    color: var(--primary-color);
}

.admin-sidebar-nav .nav-divider {
    height: 1px;
    background: #f0e8d8;
    margin: 0.5rem 1.5rem;
}

/* ── Contenu principal ── */
.admin-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Statistiques ── */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.admin-stat-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.admin-stat-icon.gold     { background: #FFF8E1; color: #D4AF37; }
.admin-stat-icon.brown    { background: #FBE9E7; color: #8B4513; }
.admin-stat-icon.green    { background: #E8F5E9; color: #388E3C; }
.admin-stat-icon.blue     { background: #E3F2FD; color: #1976D2; }

.admin-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.admin-stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

/* ── Cards génériques ── */
.admin-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid #f0e8d8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.admin-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.admin-card-header h3 i {
    color: var(--primary-color);
}

.admin-card-body {
    padding: 1.5rem 1.75rem;
}

/* ── Grille 2 colonnes pour les cards du haut ── */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ── Tableau admin ── */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table thead {
    background: var(--background-light);
}

.admin-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e8d8b8;
    white-space: nowrap;
}

.admin-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f5ede0;
    vertical-align: top;
    color: var(--text-dark);
    line-height: 1.5;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: #fffbf4;
}

/* ── Badges de statut ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.status-pending {
    background: #FFF8E1;
    color: #B8860B;
    border: 1px solid #F0D060;
}

.status-confirmed {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.status-cancelled {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* ── Boutons d'action dans le tableau ── */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.4;
}

.action-btn-confirm {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}
.action-btn-confirm:hover { background: #C8E6C9; }

.action-btn-cancel {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}
.action-btn-cancel:hover { background: #FFCDD2; }

.action-btn-neutral {
    background: var(--background-light);
    color: var(--text-dark);
    border: 1px solid #e0d0b0;
}
.action-btn-neutral:hover { background: #F5E6D3; }

/* ── Formulaire dans le panneau dépliable ── */
details.booking-actions summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0;
}

details.booking-actions summary::-webkit-details-marker { display: none; }

details.booking-actions summary::after {
    content: '▾';
    font-size: 0.7rem;
    transition: transform 0.2s;
}

details.booking-actions[open] summary::after {
    transform: rotate(-180deg);
}

.booking-form-inline {
    margin-top: 0.75rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border: 1px solid #e8d8b8;
}

.booking-form-inline label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
    display: block;
}

.booking-form-inline select,
.booking-form-inline textarea {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border: 1px solid #d8c898;
    border-radius: 8px;
    font-size: 0.82rem;
    background: white;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.booking-form-inline select:focus,
.booking-form-inline textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.booking-form-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* ── Formulaire de disponibilités ── */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.slot-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-light);
    border: 1px solid #e8d8b8;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.slot-checkbox:hover { background: #f5e6d3; border-color: var(--primary-color); }

.slot-checkbox input[type="checkbox"]:checked + span,
.slot-checkbox:has(input:checked) {
    font-weight: 600;
    color: var(--text-dark);
}

.slot-checkbox:has(input:checked) {
    background: #FFF8E1;
    border-color: var(--primary-color);
}

/* ── Tableau vue semaine ── */
.week-slots-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 540px;
}

.week-slots-table thead th {
    background: var(--background-light);
    border: 1px solid #e8d8b8;
    padding: 0.6rem 0.4rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-dark);
}

.week-slots-time-col {
    width: 64px;
    min-width: 64px;
}

.week-slots-day-col {
    min-width: 72px;
}

.week-slots-today {
    background: #FFF8E1 !important;
    border-top: 2px solid var(--primary-color) !important;
}

.week-slots-day-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}

.week-slots-day-num {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 400;
}

.week-slots-table tbody tr:nth-child(even) {
    background: rgba(255,248,240,0.5);
}

.week-slots-table tbody tr:hover {
    background: #FFF8E1;
}

.week-slots-time-cell {
    border: 1px solid #e8d8b8;
    padding: 0.5rem 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
}

.week-slots-cell {
    border: 1px solid #e8d8b8;
    padding: 0.35rem;
    text-align: center;
}

.week-slot-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.week-slot-label input[type="checkbox"] {
    display: none;
}

.week-slot-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 2px solid #ddd;
    background: #f9f9f9;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

.week-slot-label:has(input:checked) .week-slot-box {
    background: #D4AF37;
    border-color: #D4AF37;
    color: white;
}

.week-slot-label:has(input:checked) .week-slot-box::after {
    content: '✓';
    font-weight: 700;
    color: white;
}

.week-slot-label:not(:has(input:checked)) .week-slot-box::after {
    content: '–';
    color: #bbb;
    font-size: 0.75rem;
}

.week-slot-label:hover .week-slot-box {
    border-color: var(--primary-color);
    background: #FFF8E1;
}

/* Boutons ✓/✗ dans les en-têtes de colonne */
.week-col-btn {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0.15rem 0.35rem;
    transition: background 0.15s;
}
.week-col-btn-on  { background: #E8F5E9; color: #388E3C; }
.week-col-btn-off { background: #FFEBEE; color: #C62828; }
.week-col-btn:hover { opacity: 0.8; }

/* ── Note interne ── */
.admin-note-text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    background: #FFFDE7;
    border-left: 3px solid var(--primary-color);
    padding: 0.4rem 0.6rem;
    border-radius: 0 6px 6px 0;
    line-height: 1.4;
}

/* ── Responsive admin ── */
@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .admin-sidebar {
        position: static;
        display: flex;
        flex-direction: row;
        border-radius: 12px;
        overflow-x: auto;
    }

    .admin-sidebar-profile {
        padding: 1rem;
        min-width: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .admin-sidebar-profile .profile-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .admin-sidebar-nav {
        padding: 0;
        display: flex;
        align-items: center;
        overflow-x: auto;
    }

    .admin-sidebar-nav a {
        padding: 1.2rem 1rem;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .admin-sidebar-nav a:hover,
    .admin-sidebar-nav a.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-color);
    }

    .admin-sidebar-nav .nav-divider {
        width: 1px;
        height: 24px;
        margin: 0 0.25rem;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .admin-layout { padding: 1rem; gap: 1rem; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .slots-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    .admin-table { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.65rem 0.6rem; }
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        border-radius: 0 0 15px 15px;
    }

    nav ul.active {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card-large {
        grid-row: auto;
    }

    .gallery-card img,
    .gallery-card-large img {
        height: 260px;
        min-height: 260px;
    }

    .gallery-lightbox__dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0.5rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .gallery-lightbox__figure {
        grid-column: 1;
        grid-row: 2;
        height: 100%;
    }

    .gallery-lightbox__close {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
    }

    .gallery-lightbox__nav--prev,
    .gallery-lightbox__nav--next {
        position: absolute;
        bottom: 1rem;
    }

    .gallery-lightbox__nav--prev {
        left: 1rem;
    }

    .gallery-lightbox__nav--next {
        right: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .booking-form,
    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .admin-card {
        padding: 1.5rem;
    }

    .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}

/* Animations avancées */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.service-icon:hover {
    animation: pulse 1s ease-in-out;
}

/* Styles pour les sélections */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ═══════════════════════════════════════════════════════════════
   Mode sombre
   ═══════════════════════════════════════════════════════════════ */

/* Bouton toggle dark mode */
#dark-mode-toggle {
    background: none;
    border: 1.5px solid #e0d0b0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
    flex-shrink: 0;
}

#dark-mode-toggle:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ── Variables dark mode ── */
body.dark-mode {
    --primary-color:      #E8C84A;
    --secondary-color:    #C47A45;
    --text-dark:          #F0E8DC;
    --text-light:         #B0A090;
    --background-light:   #2A2018;
    --background-white:   #1E1610;
    --shadow:             0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover:       0 8px 40px rgba(0, 0, 0, 0.5);
    --gradient-bg:        linear-gradient(135deg, #1A1208 0%, #221A10 100%);
}

body.dark-mode {
    background: var(--gradient-bg);
    color: var(--text-dark);
}

/* Header */
body.dark-mode header {
    background: rgba(26, 18, 8, 0.97);
    border-bottom: 1px solid #3A2A18;
}

body.dark-mode .logo { color: var(--primary-color); }

body.dark-mode nav a { color: var(--text-dark); }

/* Sections et cartes */
body.dark-mode .service-card,
body.dark-mode .form-container,
body.dark-mode .booking-form,
body.dark-mode .about-features .feature,
body.dark-mode .value-card {
    background: #261C10;
    border-color: #3A2A18;
}

body.dark-mode .testimonials {
    background: linear-gradient(180deg, #1A140D 0%, #120D08 100%);
}

body.dark-mode .testimonial-card {
    background: rgba(26, 20, 12, 0.94);
    border-color: rgba(212, 175, 55, 0.22);
}

body.dark-mode .testimonial-quote,
body.dark-mode .testimonial-author strong {
    color: var(--text-dark);
}

body.dark-mode .testimonial-author span {
    color: #CDBFA9;
}

body.dark-mode .service-icon {
    background: #2A2018;
}

/* Hero */
body.dark-mode .hero {
    background: linear-gradient(135deg, #1A1208 0%, #221A10 100%);
}

/* Admin & dashboard */
body.dark-mode .admin-topbar {
    background: #1E1610;
    border-bottom-color: var(--primary-color);
}

body.dark-mode .admin-sidebar,
body.dark-mode .admin-card,
body.dark-mode .admin-stat-card {
    background: #261C10;
}

body.dark-mode .admin-table thead {
    background: #2A2018;
}

body.dark-mode .admin-table td,
body.dark-mode .admin-table th {
    border-color: #3A2A18;
    color: var(--text-dark);
}

body.dark-mode .admin-table tbody tr:hover {
    background: #2E2010;
}

body.dark-mode .week-slots-table thead th,
body.dark-mode .week-slots-time-cell,
body.dark-mode .week-slots-cell {
    border-color: #3A2A18;
    background: #1E1408;
}

body.dark-mode .week-slots-table tbody tr:nth-child(even) {
    background: rgba(42, 32, 24, 0.5);
}

body.dark-mode .week-slots-table tbody tr:hover {
    background: #2E2010;
}

body.dark-mode .week-slot-box {
    background: #2A2018;
    border-color: #4A3A28;
}

body.dark-mode .booking-form-inline {
    background: #2A2018;
    border-color: #3A2A18;
}

body.dark-mode .booking-confirmation-modal__panel {
    background: #261C10;
}

body.dark-mode .booking-confirmation-modal__close {
    background: #2A2018;
    color: var(--text-dark);
}

body.dark-mode .booking-confirmation-summary {
    background: #2A2018;
}

body.dark-mode .booking-confirmation-summary__row span,
body.dark-mode .booking-confirmation-modal__body {
    color: #D3C6B4;
}

body.dark-mode .booking-confirmation-summary__row strong,
body.dark-mode .booking-confirmation-modal__title {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .booking-confirmation-modal__panel {
        padding: 1.3rem;
    }

    .booking-confirmation-modal__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .booking-confirmation-summary__row {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-confirmation-summary__row strong {
        text-align: left;
    }
}

/* Footer */
body.dark-mode footer {
    background: #100C06;
}

/* Formulaires */
body.dark-mode .form-control,
body.dark-mode .form-control:focus,
body.dark-mode input[type="date"],
body.dark-mode select,
body.dark-mode textarea {
    background: #2A2018;
    border-color: #3A2A18;
    color: var(--text-dark);
}

body.dark-mode .form-control::placeholder { color: #6B5540; }

/* Messages feedback */
body.dark-mode .message.success {
    background: #1A2E1A;
    border-color: #2E5E2E;
    color: #7ED87E;
}

body.dark-mode .message.error {
    background: #2E1A1A;
    border-color: #5E2E2E;
    color: #D87E7E;
}

/* Scrollbar dark */
body.dark-mode ::-webkit-scrollbar-track { background: #2A2018; }

/* Transition douce au changement de thème */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Icône du bouton selon le thème actif */
body:not(.dark-mode) #dark-mode-toggle .icon-moon { display: inline; }
body:not(.dark-mode) #dark-mode-toggle .icon-sun  { display: none;   }
body.dark-mode       #dark-mode-toggle .icon-moon { display: none;   }
body.dark-mode       #dark-mode-toggle .icon-sun  { display: inline; }

/* Respecter la préférence système par défaut (sans JS) */
@media (prefers-color-scheme: dark) {
    body:not(.light-mode) #dark-mode-toggle .icon-moon { display: none;   }
    body:not(.light-mode) #dark-mode-toggle .icon-sun  { display: inline; }
}

/* Bannière cookies / consentement */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner__panel {
    width: min(100%, 980px);
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
    padding: 1.2rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner__text {
    max-width: 58rem;
}

.cookie-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.45rem;
}

.cookie-banner__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.cookie-banner__body {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

body.dark-mode .cookie-banner__panel {
    background: rgba(26, 20, 12, 0.98);
    border-color: rgba(212, 175, 55, 0.35);
}

body.dark-mode .cookie-banner__title {
    color: #F5EFE4;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cookie-banner__panel {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   ✦ SOLEIL D'AMBRE — COUCHE D'EMBELLISSEMENT (refonte graphique)
   Ajoutée pour un rendu plus raffiné sur PC et mobile.
   Compatible avec les classes et variables existantes.
   ════════════════════════════════════════════════════════════════════════════ */

:root {
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 10px 30px -12px rgba(140, 91, 61, 0.22);
    --shadow-card: 0 18px 48px -22px rgba(140, 91, 61, 0.30);
    --ring: 0 0 0 4px rgba(212, 175, 55, 0.22);
    --maxw: 1180px;
}

html { scroll-behavior: smooth; }

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.1px;
}

/* Texture de fond subtile (grain doux de lumière) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60rem 60rem at 110% -10%, rgba(212, 175, 55, 0.10), transparent 60%),
        radial-gradient(50rem 50rem at -10% 110%, rgba(139, 69, 19, 0.08), transparent 60%);
}

/* ─── Typographie raffinée ─────────────────────────────────────────────────── */
h1, h2, h3 { letter-spacing: -0.015em; }

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}
.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 64px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 3px;
    background: var(--gradient-primary);
}

/* ─── En-tête / navigation : effet verre + ombre au défilement ──────────────── */
header#site-header {
    background: rgba(255, 248, 240, 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
    transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
header#site-header.scrolled {
    background: rgba(255, 248, 240, 0.92);
    box-shadow: 0 6px 24px -14px rgba(140, 91, 61, 0.4);
}
.logo span { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--primary-color); }
.logo i { animation: ambreGlow 4s ease-in-out infinite; }

@keyframes ambreGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(212,175,55,0)); transform: rotate(0deg); }
    50%      { filter: drop-shadow(0 0 10px rgba(212,175,55,0.5)); transform: rotate(8deg); }
}

/* Bouton CTA dans la nav */
.nav-cta {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 0.55rem 1.15rem !important;
    border-radius: 999px;
    box-shadow: 0 8px 20px -10px rgba(212, 175, 55, 0.8);
    transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(212, 175, 55, 0.95); }
.nav-cta::after { display: none !important; }

/* ─── Boutons : profondeur + effet de brillance ────────────────────────────── */
.btn { position: relative; overflow: hidden; transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft); }
.btn-primary { box-shadow: 0 12px 28px -12px rgba(212, 175, 55, 0.85); }
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s var(--ease-soft);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(212, 175, 55, 1); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ─── Hero : plus immersif ─────────────────────────────────────────────────── */
.hero { min-height: 92vh; }
.hero-text h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; }
.hero-text p { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 34rem; }
.hero-content { gap: clamp(2rem, 5vw, 4.5rem); }
.hero-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}
.hero-image img:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 30px 60px -24px rgba(140,91,61,0.45); }
.floating-element {
    background: rgba(255,255,255,0.7);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    width: 56px; height: 56px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    animation: ambreFloat 6s ease-in-out infinite;
}
.floating-element:nth-child(3) { animation-delay: -3s; }
@keyframes ambreFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ─── Cartes (services, témoignages, formulaires) ──────────────────────────── */
.service-card, .testimonial-card, .form-container, .contact-info, .faq-item, .admin-card, .booking-card {
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}
.service-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(212, 175, 55, 0.35);
}
.service-icon {
    background: var(--gradient-primary);
    color: #fff;
    width: 64px; height: 64px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 18px;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px -12px rgba(212,175,55,0.9);
}
.service-price {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary-color);
}
.testimonial-rating i { color: var(--primary-color); }
.testimonial-quote { font-style: italic; line-height: 1.7; }

/* Grilles plus aérées et responsives */
.services-grid { gap: 1.75rem; }
.testimonials-grid { gap: 1.5rem; }

/* ─── Champs de formulaire ─────────────────────────────────────────────────── */
.form-control {
    border-radius: 12px;
    border: 1.5px solid rgba(140, 91, 61, 0.18);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--primary-color); box-shadow: var(--ring); outline: none; }

/* ─── Messages flash ───────────────────────────────────────────────────────── */
.message {
    display: flex; align-items: flex-start; gap: 0.6rem;
    border-radius: 14px;
    margin: 1rem auto;
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-soft);
    animation: ambreSlideDown 0.45s var(--ease-soft) both;
}
.message i { margin-top: 0.15rem; }
@keyframes ambreSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Pied de page ─────────────────────────────────────────────────────────── */
footer { background: linear-gradient(135deg, #2C1810 0%, #3a241a 100%); }
.footer-section a { transition: color var(--transition), padding-left var(--transition); }
.footer-section a:hover { padding-left: 4px; }
.social-links a { transition: transform var(--transition), box-shadow var(--transition); }
.social-links a:hover { transform: translateY(-4px) rotate(-6deg); }

/* ─── Animations d'apparition au défilement ────────────────────────────────── */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
.animate-on-scroll.animated { opacity: 1; transform: none; }
.fade-in { animation: ambreFadeIn 0.9s var(--ease-soft) both; }
@keyframes ambreFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ─── RESPONSIVE — tablette & mobile ───────────────────────────────────────── */
@media (max-width: 980px) {
    .hero { min-height: auto; padding: 7rem 0 3rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .cta-buttons { justify-content: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 380px; }
}

@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .nav-cta { width: auto; }
    /* Menu mobile : panneau verre élégant */
    nav ul#nav-menu {
        gap: 0.25rem;
        background: rgba(255, 248, 240, 0.98);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border-radius: 0 0 18px 18px;
        box-shadow: 0 18px 40px -18px rgba(140, 91, 61, 0.5);
        padding: 0.75rem 1rem 1.25rem;
    }
    nav ul#nav-menu li { width: 100%; }
    nav ul#nav-menu a { display: block; padding: 0.85rem 0.5rem; border-bottom: 1px solid rgba(212,175,55,0.12); }
    nav ul#nav-menu .nav-cta { text-align: center; margin-top: 0.5rem; }
    .mobile-menu { display: inline-flex; align-items: center; }
    .section-header h2 { font-size: 1.7rem; }
    .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .cta-buttons .btn { width: auto; }
    .floating-element { display: none; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .service-card, .form-container, .contact-info { padding: 1.4rem; }
}

/* ─── Accessibilité : respect des préférences de mouvement ──────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ─── Mode sombre : finitions ──────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
    header#site-header { background: rgba(22, 17, 13, 0.72); border-bottom-color: rgba(212,175,55,0.16); }
    header#site-header.scrolled { background: rgba(22, 17, 13, 0.92); }
    body::before {
        background:
            radial-gradient(60rem 60rem at 110% -10%, rgba(212, 175, 55, 0.07), transparent 60%),
            radial-gradient(50rem 50rem at -10% 110%, rgba(0, 0, 0, 0.3), transparent 60%);
    }
    .floating-element { background: rgba(40, 30, 22, 0.7); }
    nav ul#nav-menu { background: rgba(26, 20, 16, 0.98); }
    .service-card, .testimonial-card, .form-container, .contact-info, .faq-item { border-color: rgba(212,175,55,0.18); }
}
body.dark-mode header#site-header { background: rgba(22, 17, 13, 0.78); }
body.dark-mode header#site-header.scrolled { background: rgba(22, 17, 13, 0.94); }
body.dark-mode nav ul#nav-menu { background: rgba(26, 20, 16, 0.98); }
body.dark-mode .floating-element { background: rgba(40, 30, 22, 0.7); }

/* Admin analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 1rem;
    margin-top: 1rem;
}
.analytics-panel {
    padding: 1.2rem;
    border: 1px solid #e7ddd2;
    border-radius: 16px;
    background: var(--background-light);
    box-shadow: 0 12px 30px -24px rgba(80, 50, 30, 0.28);
}
.analytics-panel h4 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}
.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.analytics-kpi {
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(247,239,231,0.95));
    border: 1px solid rgba(140, 91, 61, 0.12);
}
.analytics-kpi-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
}
.analytics-kpi-label {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.84rem;
    color: var(--text-light);
}
.analytics-chart {
    display: grid;
    gap: 0.8rem;
}
.analytics-chart--monthly {
    align-items: end;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    min-height: 180px;
}
.analytics-month {
    display: grid;
    gap: 0.45rem;
    align-items: end;
    justify-items: center;
}
.analytics-month-bar {
    width: 100%;
    min-height: 10px;
    border-radius: 14px 14px 6px 6px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.96), rgba(140, 91, 61, 0.9));
    box-shadow: 0 10px 24px -18px rgba(140, 91, 61, 0.8);
}
.analytics-month-label {
    font-size: 0.74rem;
    color: var(--text-light);
    text-align: center;
}
.analytics-service-row {
    display: grid;
    gap: 0.35rem;
}
.analytics-service-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.86rem;
    color: var(--text-dark);
}
.analytics-service-track {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(140, 91, 61, 0.12);
}
.analytics-service-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}
/* Newsletter editor */
.newsletter-editor-shell {
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.newsletter-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.7rem;
    border-bottom: 1px solid #efe4d8;
    background: linear-gradient(180deg, #fff, #f9f4ee);
}
.newsletter-editor-button {
    appearance: none;
    border: 1px solid rgba(140, 91, 61, 0.16);
    background: #fff;
    color: var(--text-dark);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.newsletter-editor-button:hover,
.newsletter-editor-button:focus-visible {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.newsletter-editor {
    min-height: 260px;
    padding: 1rem;
    color: var(--text-dark);
    line-height: 1.75;
    outline: none;
}
.newsletter-editor:empty::before {
    content: attr(data-placeholder);
    color: #a88d79;
}
.newsletter-editor h2,
.newsletter-editor h3 {
    margin: 1rem 0 0.55rem;
    line-height: 1.25;
}
.newsletter-editor p {
    margin: 0 0 0.85rem;
}
.newsletter-editor ul,
.newsletter-editor ol {
    margin: 0 0 0.9rem 1.2rem;
    padding-left: 1rem;
}
.newsletter-editor blockquote {
    margin: 0 0 0.95rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(140, 91, 61, 0.28);
    color: var(--text-light);
}
.newsletter-editor a {
    color: var(--primary-color);
    text-decoration: underline;
}
.newsletter-editor-hidden {
    display: none;
}
.newsletter-editor-help {
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid #efe4d8;
    background: #fff;
}
@media (max-width: 980px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .analytics-kpi-grid {
        grid-template-columns: 1fr;
    }
    .analytics-chart--monthly {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
