:root {
    /* Palette de couleurs */
    --primary-teal: #00838F;  /* Bleu Canard profond */
    --primary-teal-dark: #006064;
    --soft-sage: #E0F2F1;     /* Vert d'eau très clair */
    --deep-blue: #263238;     /* Texte sombre footer/body */
    --accent-gold: #C5A059;   /* Doré élégant */
    --light-bg: #f8fbfb;      /* Fond général */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--deep-blue);
    background-color: var(--light-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- TYPOGRAPHIE --- */
.font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}
.ls-2 { letter-spacing: 2px; }
.fw-bold { font-weight: 700 !important; }
.text-primary-teal { color: var(--primary-teal) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-shadow { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* [NOUVEAU] Dégradé Doré Métallique pour les titres */
.text-gold-gradient {
    background: linear-gradient(45deg, #ae8625, #f7ef8a, #d2ac47, #edc967);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* --- UTILITAIRES DE FOND --- */
.bg-teal { background-color: var(--primary-teal); }
.bg-soft-teal { background-color: rgba(0, 131, 143, 0.1); }
.bg-gradient-teal {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 15px 0;
}
.nav-link {
    font-weight: 600;
    color: var(--deep-blue) !important;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-teal) !important;
}

/* --- HERO SECTION (Modifié pour animation Ken Burns) --- */
.hero-section {
    /* L'image de fond est déplacée dans .hero-bg-image pour l'animation */
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 50px;
    overflow: hidden; /* Important pour que l'image ne dépasse pas au zoom */
}

/* [NOUVEAU] Classe pour l'image de fond animée */
/* REMARQUE : Ajoutez <div class="hero-bg-image"></div> au début de votre <header> dans index.php */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(38, 50, 56, 0.5), rgba(0, 131, 143, 0.4)),
    url('../img/yoga.jpg'); /* <-- LE LIEN EST CORRIGÉ ICI */
    background-size: cover;
    background-position: center;
    z-index: 0;
    animation: kenBurns 20s ease-out infinite alternate;
}

/* Contenu par dessus l'image */
.hero-content {
    position: relative;
    z-index: 2;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Badge personnalisé */
.badge-pill-custom {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 50rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* --- SHAPE DIVIDER (Vague Header) --- */
.custom-shape-divider-bottom-1680000000 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1; /* Au dessus de l'image de fond */
}
.custom-shape-divider-bottom-1680000000 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.custom-shape-divider-bottom-1680000000 .shape-fill {
    fill: var(--light-bg);
}

/* --- BOUTONS --- */
.btn-custom {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.3);
    transition: all 0.3s ease;
    /* Pour l'animation shimmer */
    position: relative;
    overflow: hidden;
}
.btn-custom:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 131, 143, 0.4);
}
.hover-lift { transition: transform 0.3s; }
.hover-lift:hover { transform: translateY(-3px); }

/* [NOUVEAU] Animation éclat de lumière (Shimmer) sur les boutons */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 70% { left: -100%; }
    100% { left: 200%; }
}

/* --- STYLE DES ONGLETS PROGRAMME --- */
.nav-pills { gap: 15px; }
.nav-pills .nav-link {
    background-color: white;
    color: var(--deep-blue);
    border: 1px solid rgba(0,0,0,0.1);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-pills .nav-link:hover {
    background-color: var(--soft-sage);
    color: var(--primary-teal);
    transform: translateY(-2px);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary-teal) !important;
    color: white !important;
    border-color: var(--primary-teal);
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.3);
    transform: scale(1.05);
}

/* --- CARDS & EFFETS (Glassmorphism) --- */
.card-custom {
    /* [MODIFIÉ] Effet verre dépoli */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);

    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 131, 143, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 131, 143, 0.15);
    background: rgba(255, 255, 255, 0.9); /* Plus opaque au survol */
}

.card-custom .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hover-scale-img img { transition: transform 0.5s ease; }
.hover-scale-img:hover img { transform: scale(1.02); }

.decorative-circle {
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    background-color: var(--soft-sage);
    border-radius: 20px;
    z-index: 1; opacity: 0.6;
}

.icon-box {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}

.info-icon {
    width: 70px; height: 70px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin: 0 auto;
}

/* Décoration citation */
.decoration-circle {
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.decoration-circle.top-left { top: -50px; left: -50px; }
.decoration-circle.bottom-right { bottom: -50px; right: -50px; }

/* Infos Pratiques Grid */
.border-end-md { border-right: 1px solid rgba(0,0,0,0.1); }
@media (max-width: 768px) {
    .border-end-md { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 2rem; }
    .display-2 { font-size: 2.5rem; }
}
.hover-underline:hover { text-decoration: underline !important; }

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.8s ease-out; }

/* [NOUVEAU] Amélioration Carrousel */
.carousel-indicators [data-bs-target] {
    width: 30px;
    height: 3px;
    border-radius: 0;
    background-color: var(--accent-gold);
    border: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.carousel-indicators .active { opacity: 1; }

.img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3);
    pointer-events: none;
}

/* =========================================
   STYLE FAQ (Questions Fréquentes) - ZEN
   ========================================= */
#faqAccordion .accordion-item {
    border: none;
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 131, 143, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#faqAccordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 131, 143, 0.1);
}

#faqAccordion .accordion-button {
    background-color: white;
    color: var(--deep-blue);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    padding: 1.5rem;
    box-shadow: none !important;
}

#faqAccordion .accordion-button:not(.collapsed) {
    background-color: var(--soft-sage);
    color: var(--primary-teal);
}

#faqAccordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300838F'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

#faqAccordion .accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.8;
    background-color: white;
    border-top: 1px solid rgba(0, 131, 143, 0.1);
}

/* =========================================
   STYLE FOOTER - HARMONIEUX (AVEC VAGUE)
   ========================================= */
footer {
    position: relative;
    background-color: var(--deep-blue);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
    padding-top: 80px;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: var(--light-bg);
}

footer h5, footer h6 {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

footer p {
    font-size: 0.95rem;
    line-height: 1.8;
}

footer a {
    text-decoration: none;
    color: var(--soft-sage);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    margin: 0 5px;
    transition: all 0.4s ease;
}

.social-btn:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 131, 143, 0.4);
}

.copyright-border {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

/* =========================================
   ANIMATION "ZEN" (Lévitation / Souffle)
   ========================================= */
@keyframes levitation-zen {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.anim-float {
    animation: levitation-zen 4s ease-in-out infinite;
    will-change: transform;
}

.anim-float-delay {
    animation: levitation-zen 4s ease-in-out infinite;
    animation-delay: 1s;
}