/* HEAD SPA By Nina — Design premium */

:root {
    --gold: #c4a574;
    --gold-light: #e8d5b0;
    --gold-dark: #9a7b4f;
    --cream: #faf6f0;
    --cream-dark: #f0e8dc;
    --sand: #d4c4a8;
    --text: #3d3428;
    --text-muted: #7a6f63;
    --white: #ffffff;
    --turquoise: #5ba8a8;
    --shadow: 0 8px 32px rgba(61, 52, 40, 0.08);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(196, 165, 116, 0.2);
}

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

.logo { text-align: center; line-height: 1.2; }
.logo-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    color: var(--gold-dark);
}
.logo-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted);
}

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
}
.site-nav a.is-active { color: var(--gold-dark); }
.nav-account { font-size: 0.8rem !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white) !important;
    box-shadow: var(--shadow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(154, 123, 79, 0.25);
    color: var(--white) !important;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold-light); }

/* Hero — l'affiche contient déjà HEAD SPA / By Nina, pas de texte dupliqué */
.hero {
    position: relative;
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/hero.png') center top / cover no-repeat;
    z-index: 0;
}
.hero-image {
    display: none;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(61, 52, 40, 0.05) 0%,
        rgba(61, 52, 40, 0.08) 38%,
        rgba(61, 52, 40, 0.35) 58%,
        rgba(61, 52, 40, 0.78) 100%
    );
}
/* Espace réservé pour ne pas recouvrir le texte de l'affiche */
.hero-spacer {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 36vh;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: min(760px, 92%);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
    background: linear-gradient(
        to top,
        rgba(45, 38, 30, 0.88) 0%,
        rgba(45, 38, 30, 0.55) 55%,
        transparent 100%
    );
}
.hero-text {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    margin-bottom: 1.75rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.75;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-btn-outline {
    color: #fff !important;
    border-color: var(--gold-light) !important;
}
.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
}
.hero-note {
    margin-top: 1.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Sections */
section { padding: 5rem 0; }
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.15rem;
}

/* Cards prestations */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(196, 165, 116, 0.25);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card.featured {
    border-color: var(--gold);
    position: relative;
}
.service-card.featured::before {
    content: 'Signature';
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold-dark);
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.25rem 1rem;
}
.service-name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}
.service-duration {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.service-desc { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.service-card-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.service-card-btn { margin-top: 1.5rem; display: inline-block; }
.page-cta { text-align: center; margin-top: 3rem; }
.page-cta .btn + .btn { margin-left: 1rem; }
.tarifs-footer-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.cms-content h2 {
    font-family: var(--font-serif);
    color: var(--gold-dark);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}
.cms-content p { margin-bottom: 1rem; color: var(--text-muted); }
.cms-content a { color: var(--gold-dark); }
.price-current {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-dark);
}
.price-original {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}
.promo-badge {
    display: inline-block;
    background: rgba(196, 165, 116, 0.15);
    color: var(--gold-dark);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.75rem;
}

/* Page content */
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
    margin-top: 60px;
}
.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    color: var(--gold-dark);
}
.content-block {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0;
}
.content-block h2 {
    font-family: var(--font-serif);
    color: var(--gold-dark);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}
.content-block p { margin-bottom: 1rem; color: var(--text-muted); }

/* Booking */
.booking-section { padding: 3rem 0 5rem; }
.booking-card {
    background: var(--white);
    border: 1px solid rgba(196, 165, 116, 0.25);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    max-width: 640px;
    margin: 0 auto;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--sand);
    background: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.slot-btn {
    padding: 0.6rem;
    border: 1px solid var(--sand);
    background: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.slot-btn:hover, .slot-btn.selected {
    background: var(--gold-dark);
    color: var(--white);
    border-color: var(--gold-dark);
}
.slot-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.alert-info { background: #fff8e1; color: #f57f17; border: 1px solid #ffe082; }

/* Connexion */
.page-hero-compact { padding: 7rem 0 2.5rem; }
.login-section { padding: 2rem 0 5rem; }
.login-card {
    background: var(--white);
    border: 1px solid rgba(196, 165, 116, 0.25);
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    max-width: 420px;
    margin: 0 auto;
}
.login-hint {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}
.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}
.footer-tagline { font-style: italic; font-size: 0.9rem; }
.site-footer h4 {
    color: var(--gold-light);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 1rem; margin-top: 0.75rem; }
.footer-legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
}
.footer-hosting {
    color: rgba(255,255,255,0.55);
    font-size: 0.8rem;
}
.footer-hosting a { color: rgba(255,255,255,0.65); }
.footer-hosting a:hover { color: var(--gold-light); }

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.benefit-item {
    text-align: center;
    padding: 1.5rem;
}
.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-dark);
}
.benefit-item h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--cream);
        padding: 1.5rem;
        border-bottom: 1px solid var(--sand);
    }
    .site-nav.is-open { display: flex; }

    /* Mobile : affiche entière visible + contenu en dessous (plus de recadrage) */
    .hero {
        min-height: auto;
        overflow: visible;
        justify-content: flex-start;
        background: #2d261e;
    }
    .hero-bg {
        display: none;
    }
    .hero-image {
        display: block;
        width: 100%;
        height: auto;
        flex-shrink: 0;
        vertical-align: top;
    }
    .hero-spacer {
        display: none;
    }
    .hero-content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.75rem 1.25rem 2rem;
        background: linear-gradient(180deg, #3d3428 0%, #2d261e 100%);
        border-top: 1px solid rgba(196, 165, 116, 0.2);
    }
    .hero-text {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        color: #faf6f0;
        text-shadow: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    .hero-note {
        margin-top: 1.25rem;
        font-size: 0.82rem;
        color: rgba(250, 246, 240, 0.85);
        text-shadow: none;
    }
}
