/* style.css */

:root {
    --primary-gold: #FFD700; /* Or éclatant */
    --secondary-gold: #DAA520; /* Or plus foncé */
    --dark-background: #0D0F15; /* Très sombre, presque noir */
    --medium-background: #1A1E26; /* Légèrement moins sombre */
    --light-text: #F0F0F0; /* Texte clair */
    --dim-text: #B0B0B0; /* Texte moins prononcé */
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-background);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Global Styles --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.8em;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 70px;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
    position: relative;
    letter-spacing: 2px;
}

h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 25px auto 0;
    border-radius: 3px;
}

/* --- Header --- */
header {
    background: linear-gradient(135deg, var(--medium-background), var(--dark-background));
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-gold);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    color: var(--primary-gold);
    text-shadow: 0 0 18px var(--primary-gold);
    animation: goldPulse 2.5s infinite alternate;
}

@keyframes goldPulse {
    from { text-shadow: 0 0 10px var(--primary-gold); }
    to { text-shadow: 0 0 25px var(--primary-gold), 0 0 40px var(--secondary-gold); }
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
    padding: 8px 0;
    position: relative;
    transition: color 0.4s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    transition: width 0.4s ease;
}

nav ul li a:hover {
    color: var(--primary-gold);
}

nav ul li a:hover::after {
    width: 100%;
}

/* --- Hero Section (specific to index.html) --- */
.hero {
    background: url('https://images.unsplash.com/photo-1517409241940-2b1b3b1e3e7c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.0.3&q=80&w=1920') no-repeat center center/cover;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-gold);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 30px;
}

.hero h1 { /* Override global h1 for hero section */
    font-family: 'Cinzel', serif;
    font-size: 5.5em;
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-shadow: 0 0 30px var(--primary-gold), 0 0 50px var(--secondary-gold);
    animation: fadeInTop 1.8s ease-out;
    line-height: 1.1;
}

.hero p {
    font-size: 1.8em;
    color: var(--dim-text);
    margin-bottom: 50px;
    animation: fadeInBottom 1.8s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInTop {
    from { opacity: 0; transform: translateY(-70px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInBottom {
    from { opacity: 0; transform: translateY(70px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Call to Action Button --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-background);
    padding: 22px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.6em;
    font-weight: 700;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.7);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.9);
    filter: brightness(1.1);
}

/* --- Section Styling (General) --- */
section {
    padding: 100px 0;
    background-color: var(--medium-background);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) { /* Apply to sections 1, 3, 5... not including header/hero */
    background-color: var(--dark-background);
}

/* --- Abonnement Cards (for abonnements.html and index.html) --- */
.abonnement-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.abonnement-card {
    background-color: var(--medium-background);
    border: 2px solid var(--secondary-gold);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.abonnement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,215,0,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.3;
    transition: opacity 0.4s ease;
}

.abonnement-card:hover::before {
    opacity: 0.5;
}

.abonnement-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

.abonnement-card.premium {
    border-color: var(--primary-gold);
    transform: scale(1.05); /* Plus grand pour Premium */
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8);
    background: linear-gradient(145deg, var(--medium-background), #252a36);
}

.abonnement-card.premium .title {
    color: var(--primary-gold);
    font-size: 2.8em;
    text-shadow: 0 0 20px var(--primary-gold);
}

.abonnement-card .title {
    font-family: 'Cinzel', serif;
    font-size: 2.5em;
    color: var(--light-text);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.abonnement-card .price {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 15px var(--primary-gold);
    position: relative;
    z-index: 1;
}

.abonnement-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    color: var(--dim-text);
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.abonnement-card ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.abonnement-card ul li::before {
    content: '⭐'; /* Icône VIP */
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 1.2em;
}

.abonnement-card .whatsapp-contact {
    background: linear-gradient(90deg, #25d366, #128C7E); /* Vert WhatsApp */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    position: relative;
    z-index: 1;
}

.abonnement-card .whatsapp-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.7);
}


/* --- FAQ Section (for faq.html) --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--medium-background);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-question {
    background-color: var(--dark-background);
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.2em;
    color: var(--primary-gold);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #1a1e26; /* Une teinte légèrement plus claire */
}

.faq-question .arrow {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--medium-background);
    color: var(--dim-text);
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if content is longer */
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

/* --- Contact Page Specific (for contact.html) --- */
.contact-content {
    text-align: center;
    padding: 80px 20px;
}

.contact-content p {
    font-size: 1.4em;
    color: var(--dim-text);
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 50px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-background);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: 700;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info a:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.7);
}

.contact-info .icon {
    font-size: 1.5em;
    color: var(--dark-background);
}


/* --- WhatsApp Button (Floating) --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Vert WhatsApp */
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8em;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.8);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-background);
    color: var(--dim-text);
    text-align: center;
    padding: 50px 5%;
    border-top: 3px solid var(--primary-gold);
    font-size: 1em;
}

footer p {
    margin: 0;
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4em;
    }
    .hero p {
        font-size: 1.5em;
    }
    .cta-button {
        padding: 18px 40px;
        font-size: 1.4em;
    }
    h1, h2 {
        font-size: 3em;
        margin-bottom: 50px;
    }
    .abonnement-card {
        width: 45%;
        max-width: 380px;
    }
    .abonnement-card.premium {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 5%;
    }
    nav ul {
        flex-direction: column;
        margin-top: 20px;
    }
    nav ul li {
        margin: 15px 0;
    }
    .logo {
        font-size: 2.2em;
    }
    .hero {
        height: 600px;
    }
    .hero h1 {
        font-size: 3em;
    }
    .hero p {
        font-size: 1.3em;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    h1, h2 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    .abonnement-card {
        width: 90%;
    }
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 2.2em;
        bottom: 20px;
        right: 20px;
    }
    .contact-info a {
        padding: 15px 30px;
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5em;
    }
    .hero p {
        font-size: 1em;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .abonnement-card .price {
        font-size: 2.8em;
    }
    .contact-info a {
        font-size: 1.2em;
    }
}