html {
    height: 100%;
}

body {
    margin: 0;
    background: #0b0f1a;
    color: #fff;
    font-family: 'Playfair Display', serif;
    min-height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* HERO */
.hero {
    background: url("fond.png") left center/cover no-repeat;
    background-position: left center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
}

/* overlay sombre */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero * {
    position: relative;
    z-index: 2;
}

/* Texte sur un seul plan */
.hero-content {
    z-index: 4;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

/* SITE HEADER (pages autres que l'accueil) */
.site-header {
    background: #0b0f1a;
    padding: 12px 20px;
    border-bottom: 1px solid #2a2f45;
    flex-shrink: 0;
}

/* NAV */
nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-family: 'Cinzel', serif;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

nav a:hover {
    color: gold;
}

/* TITRE */
.hero-content {
    text-align: center;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 70px;
    color: #f5e6c8;
    margin: 10px 0;
}

.hero .subtitle {
    font-style: italic;
    font-size: 26px;
}

.hero .desc {
    margin-top: 15px;
    font-size: 18px;
    color: #ddd;
}

.btn {
    margin-top: 25px;
    padding: 12px 30px;
    border: 1px solid gold;
    background: transparent;
    color: gold;
    border-radius: 20px;
    cursor: pointer;
}

.btn:hover {
    background: gold;
    color: black;
}

/* Boutons quantité adultes/enfants */
.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,215,0,0.4);
    background: rgba(255,215,0,0.08);
    color: gold;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}
.qty-btn:hover {
    background: rgba(255,215,0,0.25);
}
.recap-flex {
    display: flex;
}

/* CHAT IMAGE */
.cat {
    position: absolute;
    left: 4%;
    bottom: 8%;
    width: 430px;
    max-width: 430px;
    min-width: 430px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    z-index: 3;
}

/* SECTION ACTIVITES */
.section {
    flex: 1;
    padding: 20px;
    text-align: center;
    background: url("fond2.png") center/cover no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(15,20,37,0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #f5e6c8;
    margin: 0 0 10px 0;
}

/* GRID */
.grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.card {
    padding: 15px;
}

a.card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

a.card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(245,230,200,0.15);
}

.card h3 {
    font-size: 28px;
    color: #f5e6c8;
}

/* IMAGES */
.card img {
    width: auto;
    height: 240px;
    object-fit: contain;
    margin-top: 10px;
}

.cristaux {
    height: 240px !important;
    width: auto !important;
}

/* CONTACT */
.contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    background: url("fond2.png") center/cover no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(15,20,37,0.8);
    overflow: hidden;
}

.contact h2 {
    font-family: 'Cinzel', serif;
    font-size: 30px;
    color: #f5e6c8;
    margin: 0 0 6px 0;
}

.contact > p {
    color: #ccc;
    margin: 0 0 16px 0;
    font-size: 15px;
}

/* FORMULAIRE */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #f5e6c8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 8px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: gold;
}

.form-group select option {
    background: #0b0f1a;
}

.contact-form .btn {
    align-self: center;
    margin-top: 10px;
    padding: 13px 40px;
    font-size: 15px;
}

.confirm-msg {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(212, 197, 169, 0.06);
    border: 1px solid rgba(212, 197, 169, 0.35);
    border-radius: 12px;
    color: #d4c5a9;
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    line-height: 1.8;
    animation: fadeIn 0.5s ease;
}

.confirm-msg .confirm-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.confirm-msg .confirm-title {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-style: normal;
    letter-spacing: 2px;
    color: #d4c5a9;
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.error-msg {
    margin-top: 12px;
    color: #ff6b6b;
    font-size: 15px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
}

/* SESSIONS */
.sessions {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow: hidden;
    background: url("fond2.png") center/cover no-repeat;
    background-blend-mode: multiply;
    background-color: rgba(15,20,37,0.85);
}

.sessions-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 30px 30px 40px;
    border-right: 1px solid rgba(255,215,0,0.15);
}

.sessions-left h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #f5e6c8;
    margin: 0 0 8px 0;
}

.sessions-intro {
    color: #ccc;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.soins-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.soin-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.soin-icon {
    color: gold;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.soin-item strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    color: #f5e6c8;
}

.soin-item span {
    font-size: 13px;
    color: #aaa;
}

.sessions-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 40px 30px 30px;
    overflow-y: auto;
}

.sessions-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 440px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

input[type="date"] {
    color-scheme: dark;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero h1 {
        font-size: 45px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .sessions {
        flex-direction: column;
        overflow-y: auto;
    }

    .sessions-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,215,0,0.15);
        padding: 20px;
    }

    .sessions-right {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .cat {
        position: absolute;
        left: 5px;
        bottom: 20px;
        width: 60vw;
        max-width: 240px;
        height: auto;
        display: block;
    }
}

/* ── Hamburger ──────────────────────────────────────────────────── */
.nav-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.45);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 700px) {

    /* hamburger dans le hero : fixé en haut à gauche */
    .hero .nav-wrapper {
        position: absolute;
        top: 20px;
        left: 20px;
        justify-content: flex-start;
        z-index: 20;
    }

    /* hamburger dans site-header : aligné à gauche */
    .site-header .nav-wrapper {
        justify-content: flex-start;
    }

    .hamburger {
        display: block;
    }

    nav {
        display: none !important;
        flex-direction: column;
        gap: 14px;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        background: rgba(11,15,26,0.97);
        border: 1px solid rgba(255,215,0,0.25);
        border-radius: 10px;
        padding: 16px 24px;
        min-width: 200px;
        z-index: 100;
    }

    nav.open {
        display: flex !important;
    }

    nav a {
        font-size: 16px;
    }

    /* texte poussé tout en bas */
    .hero {
        justify-content: flex-end;
        padding: 30px;
    }

    .hero-content {
        padding-bottom: 270px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 18px;
    }
}

/* ── Créneaux sélecteur ─────────────────────────────────────────── */
.creneaux-liste {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.creneau-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,197,169,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.creneau-card:hover { border-color: rgba(212,197,169,0.55); background: rgba(212,197,169,0.07); }
.creneau-card.selected { border-color: gold; background: rgba(212,180,0,0.1); }

.evenement-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(80,160,220,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.evenement-card:hover   { border-color: rgba(80,160,220,0.55); background: rgba(80,160,220,0.07); }
.evenement-card.selected { border-color: #80c8f0; background: rgba(80,160,220,0.12); }

.creneau-soin { font-family: 'Cinzel', serif; font-size: 0.82rem; color: gold; letter-spacing: 1px; }
.creneau-datetime { font-size: 0.88rem; color: #d4c5a9; }
.creneau-places { font-size: 0.75rem; color: rgba(212,197,169,0.5); white-space: nowrap; }

.creneaux-loading, .creneaux-empty {
    color: rgba(212,197,169,0.45);
    font-size: 0.88rem;
    padding: 12px 0;
    text-align: center;
}
