:root {
    --rose: #d46a8f;
    --rose-fonce: #a8375e;
    --rose-clair: #fbeaf1;
    --rose-vif: #e8558a;
    --texte: #3a2e33;
    --gris: #6b6066;
    --blanc: #ffffff;
    --ombre: 0 8px 24px rgba(168, 55, 94, .10);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--texte);
    background: var(--blanc);
    line-height: 1.65;
}

h1, h2, h3, .logo-texte { font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; }

a { color: var(--rose-fonce); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.conteneur { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Barre utilitaire */
.barre-utilitaire { background: var(--rose-fonce); color: #fbe4ec; font-size: .8rem; }
.barre-utilitaire-contenu { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; gap: 16px; flex-wrap: wrap; }
.barre-utilitaire-infos { display: flex; gap: 20px; flex-wrap: wrap; }
.barre-utilitaire-infos a, .barre-utilitaire-reseaux a { color: #fbe4ec; }
.barre-utilitaire-infos a:hover, .barre-utilitaire-reseaux a:hover { color: #fff; text-decoration: none; }
.barre-utilitaire-reseaux { display: flex; gap: 12px; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 700px) { .barre-utilitaire-infos span:first-child { display: none; } }

/* Header */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid #f0dbe4; position: sticky; top: 0; z-index: 20; transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(44,30,36,.08); }
.site-header .barre { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-image { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

nav.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
nav.menu a { color: var(--texte); font-size: .93rem; font-weight: 500; position: relative; }
nav.menu a:hover { color: var(--rose-fonce); text-decoration: none; }
nav.menu a:not(.btn-don)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--rose);
    transition: width .2s ease;
}
nav.menu a:not(.btn-don):hover::after { width: 100%; }
nav.menu a.actif { color: var(--rose-fonce); }
nav.menu a.actif::after { width: 100%; }

.langue-switch { display: flex; align-items: center; gap: 4px; font-size: .82rem; color: var(--gris); }
.langue-switch a { color: var(--gris); font-weight: 600; padding: 2px 4px; }
.langue-switch a.actif { color: var(--rose-fonce); }
.langue-switch a:hover { text-decoration: none; color: var(--rose-fonce); }

.btn-don { background: var(--rose); color: #fff !important; padding: 9px 20px; border-radius: 30px; box-shadow: var(--ombre); transition: background .15s ease, transform .15s ease; }
.btn-don:hover { background: var(--rose-fonce); text-decoration: none; transform: translateY(-1px); }

.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--rose-fonce); border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--rose-clair), #fff); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; z-index: 0; pointer-events: none;
}
.hero::before { width: 340px; height: 340px; background: var(--rose-vif); top: -140px; right: -100px; }
.hero::after { width: 260px; height: 260px; background: var(--rose); bottom: -110px; left: -70px; }
.hero .conteneur { position: relative; z-index: 1; }
.hero h1 { font-size: 2.6rem; color: var(--rose-fonce); margin-bottom: 12px; }
.hero p.baseline { font-style: italic; color: var(--gris); max-width: 650px; margin: 0 auto 18px; font-size: 1.05rem; }
.hero p.intro { max-width: 680px; margin: 0 auto 30px; color: var(--texte); }

/* Hero en diaporama plein format */
.hero.hero-photo {
    padding: 0; min-height: 580px; display: flex; align-items: center; justify-content: center;
}
.hero.hero-photo::before, .hero.hero-photo::after { content: none; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slider .diapo {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.6s ease;
}
.hero-slider .diapo.actif { opacity: 1; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(44,30,36,.45), rgba(122,40,68,.7));
}
.hero.hero-photo .conteneur { position: relative; z-index: 2; }
.hero.hero-photo h1 { color: #fff; }
.hero.hero-photo p.baseline { color: #f7dbe6; }
.hero.hero-photo .intro.contenu-riche { color: #fff; }
.hero.hero-photo .btn.secondaire { color: #fff; border-color: #fff; }
.hero.hero-photo .btn.secondaire:hover { background: rgba(255,255,255,.15); }

@media (max-width: 600px) { .hero.hero-photo { min-height: 460px; } }

.btn { display: inline-block; background: var(--rose); color: #fff; padding: 13px 28px; border-radius: 30px; font-weight: 600; box-shadow: var(--ombre); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: var(--rose-fonce); text-decoration: none; transform: translateY(-2px); }
.btn.secondaire { background: transparent; color: var(--rose-fonce); border: 2px solid var(--rose); box-shadow: none; }
.btn.secondaire:hover { background: var(--rose-clair); }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--rose-clair); }
h2.titre-section { text-align: center; color: var(--rose-fonce); font-size: 1.9rem; margin-bottom: 44px; }

.grille-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.carte { background: #fff; border: 1px solid #f0dbe4; border-radius: 14px; padding: 26px; transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte h3 { color: var(--rose-fonce); margin-top: 0; }
.carte img { width: 100%; border-radius: 10px; margin-bottom: 14px; object-fit: cover; height: 190px; }
.carte > * { position: relative; z-index: 1; }
.carte .numero-carte {
    position: absolute; top: -18px; right: 4px; font-family: 'Poppins', sans-serif; font-size: 4.2rem; font-weight: 800;
    color: var(--rose-clair); z-index: 0; line-height: 1; user-select: none;
}

.grille-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.carte-choix {
    background: #fff; border: 1px solid #f0dbe4; border-radius: 20px; padding: 36px 30px; text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
}
.carte-choix:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-choix .icone-mission { margin: 0 auto 18px; width: 64px; height: 64px; }
.carte-choix .icone-mission svg { width: 32px; height: 32px; }
.carte-choix h3 { color: var(--rose-fonce); }
.carte-choix p { color: var(--gris); margin-bottom: 22px; min-height: 66px; }

section.a-propos-section { position: relative; overflow: hidden; }
section.a-propos-section::before {
    content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: var(--rose-clair); filter: blur(50px); opacity: .7; top: -80px; left: -80px; z-index: 0;
}
.section-apropos { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.section-apropos-image img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; box-shadow: var(--ombre); }
.section-apropos-texte .titre-section { margin-bottom: 16px; }
@media (max-width: 760px) { .section-apropos { grid-template-columns: 1fr; } }

.badge { display: inline-block; background: var(--rose-clair); color: var(--rose-fonce); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }

.icone-mission { width: 52px; height: 52px; border-radius: 14px; background: var(--rose-clair); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.icone-mission svg { width: 26px; height: 26px; stroke: var(--rose-fonce); }

.bande-reperes { background: #2c1e24; padding: 34px 0; }
.bande-reperes .conteneur { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; text-align: center; }
.bande-reperes .repere .chiffre { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 700; color: #fff; }
.bande-reperes .repere .libelle { color: #d9b7c4; font-size: .85rem; margin-top: 4px; }

/* Footer */
footer.site-footer { background: #2c1e24; color: #e9d7de; padding: 44px 0 22px; margin-top: 40px; }
footer.site-footer .grille-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 24px; }
footer.site-footer h4 { color: #fff; margin-bottom: 12px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
footer.site-footer a { color: #e9d7de; }
.reseaux-footer { display: flex; gap: 10px; }
.reseaux-footer a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center; transition: background .15s ease, transform .15s ease;
}
.reseaux-footer a:hover { background: var(--rose); transform: translateY(-2px); }
.reseaux-footer svg { width: 18px; height: 18px; }
footer.site-footer .bas { text-align: center; font-size: .85rem; color: #a68e97; border-top: 1px solid #4a3641; padding-top: 18px; }

/* Formulaires */
.form-groupe { margin-bottom: 18px; }
.form-groupe label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-groupe input, .form-groupe textarea, .form-groupe select {
    width: 100%; padding: 11px 14px; border: 1px solid #ddc3ce; border-radius: 10px; font-family: inherit; font-size: 1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-groupe input:focus, .form-groupe textarea:focus, .form-groupe select:focus {
    outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(212,106,143,.15);
}
.form-groupe textarea { min-height: 130px; }

.alerte { padding: 13px 18px; border-radius: 10px; margin-bottom: 22px; }
.alerte-succes { background: #e3f6e8; color: #226b3a; }
.alerte-erreur { background: #fbe3e8; color: #a8203a; }

.page-simple { padding: 64px 0; max-width: 800px; margin: 0 auto; }
.page-simple h1 { color: var(--rose-fonce); }

/* Contenu riche (issu de l'editeur de l'admin) */
.contenu-riche { color: var(--texte); }
.contenu-riche p { margin: 0 0 16px; }
.contenu-riche h1, .contenu-riche h2, .contenu-riche h3 { color: var(--rose-fonce); margin: 24px 0 12px; }
.contenu-riche ul, .contenu-riche ol { margin: 0 0 16px; padding-left: 22px; }
.contenu-riche a { text-decoration: underline; }
.hero .intro.contenu-riche { text-align: center; }
.hero .intro.contenu-riche p { margin-bottom: 0; }

/* Bandeau visuel en tete de page (evenement / actualite / page avec image) */
.bandeau-page {
    background-size: cover; background-position: center; padding: 90px 0;
    text-align: center; margin-bottom: -1px;
}
.bandeau-page h1 { color: #fff; font-size: 2.3rem; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.25); }

/* Animation au defilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Bouton WhatsApp flottant */
.bouton-whatsapp {
    position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.22); z-index: 40; transition: transform .15s ease, box-shadow .15s ease;
}
.bouton-whatsapp:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.bouton-whatsapp svg { width: 30px; height: 30px; }

table.tableau { width: 100%; border-collapse: collapse; }
table.tableau th, table.tableau td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; }

@media (max-width: 860px) {
    .menu-toggle { display: flex; }
    nav.menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 16px 20px 22px; border-bottom: 1px solid #f0dbe4; box-shadow: 0 12px 20px rgba(0,0,0,.06);
    }
    nav.menu.ouvert { display: flex; }
    nav.menu a { padding: 8px 0; width: 100%; }
    .btn-don { text-align: center; }
    .langue-switch { padding: 8px 0; }
    .hero h1 { font-size: 2rem; }
}
