/* -------------------- */
/* VARIABLES */
/* -------------------- */
:root {
    --primary: #E30613; /* Rouge Marie */
    --text-dark: #222;
    --text-light: #555;
    --bg-light: #f7f7f7;
    --radius: 12px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* -------------------- */
/* GLOBAL */
/* -------------------- */
body {
    background-color: white;
    font-family: 'Open Sans', sans-serif;
    background-image: url('images/background-light.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1, h2, h3 {
    font-weight: 700;
}

section {
    padding: 60px 20px;
    text-align: center;
}

/* -------------------- */
/* HEADER */
/* -------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo img {
    height: 110px;
    object-fit: contain;
}


header .logo img {
    height: 90px;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

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

/* -------------------- */
/* HERO */
/* -------------------- */
.hero {
    background: url("images/hero.jpg") center/cover no-repeat;
    padding: 120px 20px;
    color: black;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero .btn {
    margin-top: 20px;
}

/* -------------------- */
/* BUTTON */
/* -------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background: #b5050f;
}

/* -------------------- */
/* ACTUALITÉS */
/* -------------------- */
.actus-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    width: 300px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0 5px;
}

.card p {
    color: var(--text-light);
    padding: 0 15px;
}

/* -------------------- */
/* AVANTAGES */
/* -------------------- */
.avantages .grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.adv-card {
    width: 280px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.adv-card h3 {
    color: var(--primary);
}

/* -------------------- */
/* FOOTER */
/* -------------------- */
footer {
    background: #111;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

footer .footer-link {
    display: inline-block;
    margin-top: 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

footer .footer-link:hover {
    color: var(--primary);
}
footer .whatsapp {
    color: #25D366; /* vert WhatsApp */
    font-weight: 600;
}

footer .whatsapp:hover {
    color: #1da851;
}



.contact-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 300px;
    margin: 20px auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 300px;
    margin: 20px auto;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* LIEN ACTIF DANS LE MENU */
nav a.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 3px;
}

.team-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.member-card {
    width: 250px;
    text-align: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.member-card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: var(--primary);
}

.member-card p {
    font-size: 15px;
    color: var(--text-light);
}

.categories {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0 40px;
}

.cat-btn {
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background: #eee;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary);
    color: white;
}

.billetterie-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.billet-card {
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding-bottom: 20px;
    text-align: center;
}

.billet-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.billet-card .prix {
    font-weight: bold;
    color: var(--primary);
    margin-top: 10px;
}

.adv-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.commandes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.commande-card {
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding-bottom: 20px;
    text-align: center;
}

.commande-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.commande-card h3 {
    margin: 15px 0 5px;
}

.commande-card p {
    padding: 0 15px;
    color: var(--text-light);
}

.commande-card .periode {
    font-weight: bold;
    color: var(--primary);
    margin-top: 10px;
}

/* -------------------- */
/* AIDES FINANCIÈRES */
/* -------------------- */

.aides {
    max-width: 900px;
    margin: 40px auto;
}

#aides-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aide-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: left;
}

.aide-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: var(--primary);
}

.aide-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.aide-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

@media screen and (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .logo img {
        height: 60px; /* plus petit sur mobile */
    }

    nav {
        display: flex;
        flex-direction: row; /* menu horizontal */
        flex-wrap: wrap;     /* passe à la ligne si besoin */
        justify-content: center;
        gap: 12px;
        width: 100%;
        margin-top: 10px;
    }

    nav a {
        margin: 0;
        padding: 6px 10px;
        font-size: 14px;
        border-bottom: none;
    }

    nav a.active {
        border-bottom: 2px solid var(--primary);
        padding-bottom: 2px;
    }
}

/* -------------------- */
/* MENTIONS LÉGALES */
/* -------------------- */

.mentions {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.mentions-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.mentions-box h2 {
    margin-top: 25px;
    color: var(--primary);
}

.mentions-box p {
    color: var(--text-light);
    line-height: 1.6;
}

/* -------------------- */
/* ÉVÉNEMENTS */
/* -------------------- */

.evenements {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.event-card {
    width: 300px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: left;
}

.event-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.event-card .date {
    color: var(--text-dark);
    font-weight: 600;
}

.event-card p {
    color: var(--text-light);
}

.event-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.montants-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.montants-table th,
.montants-table td {
  border: 1px solid #ccc;
  padding: 8px;
}

.montants-table thead {
  background: #f2f2f2;
}
