/* --- VARIABLES (CHARTE GRAPHIQUE ROSE) --- */
:root {
    --bg-color: #FFF9FB;
    --primary-color: #E6A6B6;
    --text-color: #4A3F42;
    --accent-color: #B86F84;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* --- HEADER & NAV --- */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(230, 166, 182, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* --- HERO SECTION --- */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(255, 249, 251, 0.8), rgba(255, 249, 251, 0.8)), url('images/photo-fond-hero-cils.jpg') center/cover;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

/* --- SECTION À PROPOS --- */
.about {
    padding: 5rem 2rem;
    background-color: #fff;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(230, 166, 182, 0.2);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- RULES (Règlement) --- */
.rules {
    padding: 5rem 2rem;
    max-width: 850px;
    margin: 0 auto;
}

.rules h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.rules-list {
    list-style: none;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(230, 166, 182, 0.15);
}

.rules-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.05rem;
}

.rules-list li strong {
    color: var(--accent-color);
}

.rules-list li::before {
    content: "✦";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    top: -2px;
}

/* --- SERVICES & RÉSERVATION (CARTES AVEC VIDEOS) --- */
.services {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.booking-steps {
    text-align: center;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.booking-steps p {
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    color: #777;
}

.category-title {
    font-size: 1.8rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(230, 166, 182, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(230, 166, 182, 0.25);
    border-color: var(--primary-color);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #000; /* Fond noir derrière la vidéo pour faire pro */
}

/* On applique le style aux images ET aux vidéos */
.card-image img, 
.card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img,
.service-card:hover .card-image video {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.card-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--accent-color);
    white-space: nowrap;
    margin-left: 10px;
}

.card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-book {
    display: block;
    text-align: center;
    background-color: #fff;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-book:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.special-card {
    border: 2px solid var(--primary-color);
    background-color: #FFF0F5;
}

.special-btn {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.special-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* --- CGV & MENTIONS LÉGALES --- */
.legal-cgv-section {
    padding: 3rem 2rem;
    background-color: var(--bg-color);
    max-width: 800px;
    margin: 0 auto;
}

details {
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
}

summary {
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--accent-color);
    outline: none;
}

.legal-content {
    padding: 1rem;
    border-top: 1px solid var(--primary-color);
    font-size: 0.9rem;
    color: #555;
}

.legal-content p {
    margin-bottom: 0.8rem;
}

/* --- FOOTER --- */
footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-align: center;
    padding: 3rem 2rem;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.footer-content p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.socials {
    margin-top: 1.5rem;
}

.socials a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.socials a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}
