/*
 * FONASE : charte graphique et animations (présentation inspirée de fodese.com).
 * Pour changer les couleurs du site, il suffit de modifier les variables ci-dessous.
 */
:root {
    --orange: #4689ed;          /* couleur principale (bleu FONASE) */
    --orange-fonce: #2c5f7a;    /* bleu foncé (survol) */
    --rouge: #4689ed;           /* boutons d'action */
    --rouge-fonce: #2c5f7a;
    --vert: #15803d;
    --vert-fonce: #065D05;
    --or: #f7b500;
    --texte: #1f2937;
    --fond: #f8f8f8;
    --primary-color: var(--orange);
    --primary-dark: var(--orange-fonce);
}

/* Typographie : Open Sans pour le texte, Poppins pour les titres et le menu */
body.fonase {
    font-family: 'Open Sans', sans-serif;
    background: var(--fond);
    color: var(--texte);
    padding-bottom: 64px; /* place pour la barre du bas sur téléphone */
}
@media (min-width: 1024px) { body.fonase { padding-bottom: 0; } }
.fonase h1, .fonase h2, .fonase h3, .fonase h4, .font-poppins { font-family: 'Poppins', sans-serif; }
.conteneur { width: 90%; max-width: 1400px; margin-left: auto; margin-right: auto; }

/* En-tête collant */
.entete { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.lien-menu {
    display: inline-flex; align-items: center; padding: .5rem .6rem; border-radius: .5rem;
    color: var(--texte); font-weight: 500; font-size: .95rem; white-space: nowrap; transition: background-color .2s, color .2s;
}
.lien-menu:hover { background: var(--orange); color: #fff; }
.sous-menu {
    position: absolute; top: 100%; left: 0; min-width: 14rem; padding: .5rem 0; background: #fff;
    border-radius: .5rem; box-shadow: 0 10px 25px rgba(0, 0, 0, .12); border: 1px solid #f3f4f6;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 50;
}
.group:hover > .sous-menu, .group:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: block; padding: .5rem 1rem; color: var(--texte); font-size: .95rem; transition: all .2s; }
.sous-menu a:hover { background: var(--orange); color: #fff; padding-left: 1.25rem; }
.bouton-rouge, .bouton-vert {
    display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: .5rem;
    font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; white-space: nowrap; transition: all .2s;
}
.bouton-rouge { background: var(--rouge); }
.bouton-rouge:hover { background: var(--orange-fonce); }
.bouton-vert { background: var(--vert); }
.bouton-vert:hover { background: var(--vert-fonce); }
.menu-mobile { background: #fff; color: var(--texte); position: absolute; left: 0; right: 0; top: 100%; max-height: 80vh; overflow-y: auto; box-shadow: 0 25px 30px rgba(0, 0, 0, .18); border-top: 1px solid #eef2f7; animation: menu-ouverture .25s ease-out; }
.menu-mobile-lien { display: flex; align-items: center; justify-content: space-between; padding: .95rem .25rem; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 1.05rem; border-bottom: 1px solid #f0f3f8; }
.menu-mobile-lien:hover { color: var(--orange); }
.menu-mobile-sous { padding: .25rem 0 .75rem .75rem; border-left: 3px solid #e3ecfb; margin: .25rem 0 .5rem .25rem; }
.menu-mobile-sous a { display: block; padding: .55rem .5rem; color: #4b5563; }
.menu-mobile-sous a:hover { color: var(--orange); }
@keyframes menu-ouverture { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* Pas de cadre bleu autour des boutons après un clic à la souris ou au doigt */
.fonase button:focus:not(:focus-visible), .fonase a:focus:not(:focus-visible) { outline: none; }
.menu-mobile summary::-webkit-details-marker { display: none; }

/* Bandeau d'annonces : dégradé orange, pastilles défilantes, vague et reflet */
.bandeau {
    position: sticky; top: 64px; z-index: 40; overflow: hidden; padding: 1rem 0;
    background: linear-gradient(to right, #2c5f7a, #4689ed);
}
.bandeau-piste { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; animation: bandeau-defile 40s linear infinite; padding-left: 1.5rem; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau-pastille {
    display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 2rem; border-radius: 9999px;
    background: rgba(255, 255, 255, .2); color: #fff; font-weight: 700; font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1); transition: transform .3s, background-color .3s;
}
@media (min-width: 768px) { .bandeau-pastille { font-size: 1.1rem; } }
.bandeau-pastille:hover { transform: scale(1.05); background: rgba(255, 255, 255, .3); }
.bandeau-point { width: .6rem; height: .6rem; border-radius: 9999px; background: #f7b500; animation: pulsation 2s ease-in-out infinite; }
.bandeau-vague { position: absolute; left: 0; top: 0; height: 100%; width: 5rem; background: linear-gradient(to right, #2c5f7a, transparent); z-index: 2; animation: vague 2s ease-in-out infinite alternate; }
.bandeau-reflet { position: absolute; top: 0; left: -100px; height: 100%; width: 5rem; background: rgba(255, 255, 255, .3); transform: skewX(-12deg); animation: reflet 3s ease infinite; }
@keyframes bandeau-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulsation { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(1.2); } }
@keyframes vague { from { transform: translateX(-20px); } to { transform: translateX(0); } }
@keyframes reflet { from { left: -100px; } to { left: calc(100% + 100px); } }

/* Titres de section soulignés d'un trait rouge */
.titre-section { position: relative; display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--texte); padding-bottom: 10px; margin-bottom: 2rem; }
@media (min-width: 640px) { .titre-section { font-size: 1.875rem; } }
.titre-section::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: linear-gradient(90deg, #4689ed, #f7b500); border-radius: 3px; }

/* Cartes de la colonne de gauche */
.carte-laterale { background: #fff; padding: 1rem; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.carte-laterale h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem; color: var(--texte); border-bottom: 1px solid var(--orange); padding-bottom: .5rem; margin-bottom: 1rem; }
.carte-laterale p { margin-bottom: 1rem; }
.carte-laterale .bouton-carte { display: block; text-align: center; background: var(--rouge); color: #fff; font-weight: 700; padding: 1rem .5rem; border-radius: .5rem; transition: background-color .2s, transform .2s; }
.carte-laterale .bouton-carte:hover { background: var(--orange-fonce); transform: translateY(-2px); }
.chiffre { background: linear-gradient(180deg, #f5f9ff, #fff); padding: 1rem .5rem; border-radius: .6rem; border: 1px solid #e3ecfb; text-align: center; transition: transform .3s, box-shadow .3s; }
.chiffre:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(44, 95, 122, .12); }
.chiffre strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--orange-fonce); line-height: 1.2; }
.chiffre span { display: block; margin-top: .25rem; font-size: .8rem; font-weight: 600; color: #4b5563; line-height: 1.3; }

/* Bannière : images en fondu enchaîné */
.banniere { position: relative; overflow: hidden; border-radius: .5rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15); height: 340px; background: #000; }
@media (min-width: 640px) { .banniere { height: 420px; } }
@media (min-width: 1024px) { .banniere { height: 514px; } }
.diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
.diapo.active { opacity: 1; z-index: 2; }
/* Image entière, sur un fond flou de la même image (aucune partie de l'affiche n'est coupée) */
.diapo::before { content: ''; position: absolute; inset: -30px; background: var(--fond) center / cover no-repeat; filter: blur(20px) brightness(.75); }
.diapo img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.diapo-point { width: 10px; height: 10px; border-radius: 9999px; background: rgba(255, 255, 255, .5); transition: all .3s; }
.diapo-point.active { background: #fff; width: 28px; }

/* Carte « événement à la une » : photo assombrie, badge doré, bouton rouge */
.une { position: relative; min-height: 300px; overflow: hidden; border-radius: .75rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15); }
.une > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.une:hover > img { transform: scale(1.05); }
.une-badge { display: inline-flex; align-items: center; border-radius: 9999px; background: var(--or); color: var(--texte); padding: .5rem 1rem; font-size: .875rem; font-weight: 700; }

/* Capsules d'événements (vidéos) */
.capsule { background: #fff; border-radius: .5rem; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); transition: transform .3s, box-shadow .3s; }
.capsule:hover { transform: translateY(-6px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .15); }
.capsule-image { position: relative; height: 180px; overflow: hidden; }
.capsule-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.capsule:hover .capsule-image img { transform: scale(1.08); }
.bouton-lecture {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 55px; height: 55px;
    border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center;
    transition: background-color .3s, transform .3s;
}
.bouton-lecture::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: onde 2s ease-out infinite; }
.capsule:hover .bouton-lecture { background: var(--rouge); transform: translate(-50%, -50%) scale(1.1); }
.capsule-annee { position: absolute; bottom: 0; left: 0; background: var(--rouge); color: #fff; padding: .25rem .75rem; font-size: .875rem; font-weight: 700; }
@keyframes onde { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Intervenants */
.intervenant { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); transition: box-shadow .3s; }
.intervenant:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .15); }
.intervenant-photo { aspect-ratio: 16 / 9; overflow: hidden; background: #eef3fb; }
.intervenant-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.intervenant:hover .intervenant-photo img { transform: scale(1.03); }

/* Témoignages */
.temoignage { flex: 0 0 100%; padding: 1.5rem; display: flex; flex-direction: column; border-right: 1px solid #f3f4f6; }
@media (min-width: 768px) { .temoignage { flex-basis: 50%; } }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: linear-gradient(135deg, var(--orange), var(--rouge)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Poppins', sans-serif; flex-shrink: 0; }

/* Partenaires : grand panneau blanc, logos en couleur qui défilent lentement */
.panneau-partenaires { background: #fff; border-radius: 1rem; box-shadow: 0 10px 30px rgba(15, 40, 70, .06); padding: 2rem 1.25rem; }
@media (min-width: 640px) { .panneau-partenaires { padding: 2.5rem; } }
.logos-fenetre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-piste { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: bandeau-defile 45s linear infinite; padding: .5rem 0; }
.logos-piste:hover { animation-play-state: paused; }
.logo-partenaire { width: 150px; height: 90px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s; }
@media (max-width: 640px) { .logo-partenaire { width: 110px; height: 70px; } .logos-piste { gap: 2rem; } }
.logo-partenaire:hover { transform: scale(1.1); }
.logo-partenaire img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lien-fleche { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--orange); transition: gap .25s, color .25s; }
.lien-fleche::after { content: '→'; transition: transform .25s; }
.lien-fleche:hover { color: var(--orange-fonce); }
.lien-fleche:hover::after { transform: translateX(4px); }

/* Carte « Prix du Président » : texte et photo, liseré doré */
.carte-prix { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: .9rem; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 40, 70, .07); border-left: 5px solid var(--or); }
@media (min-width: 640px) { .carte-prix { grid-template-columns: 3fr 2fr; } }
.carte-prix-texte { padding: 1.75rem; }
@media (min-width: 640px) { .carte-prix-texte { padding: 2.25rem; } }
.carte-prix-image { min-height: 180px; overflow: hidden; }
.carte-prix-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.carte-prix:hover .carte-prix-image img { transform: scale(1.06); }

/* Appel final : vraie photo assombrie qui s'approche lentement, texte blanc, boutons simples */
.appel { position: relative; overflow: hidden; border-radius: 1rem; text-align: center; color: #fff; padding: 4.5rem 1.5rem; isolation: isolate; }
.appel::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('/images/image5.png') center / cover no-repeat; transform: scale(1.05); animation: appel-zoom 18s ease-in-out infinite alternate; }
.appel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 25, 40, .72), rgba(10, 25, 40, .86)); }
.appel h2 { color: #fff; }
.appel p { color: rgba(255, 255, 255, .88); }
.appel a { display: inline-block; padding: .8rem 1.8rem; border-radius: .5rem; font-weight: 600; color: #fff; border: 1.5px solid rgba(255, 255, 255, .8); transition: background-color .25s, color .25s, transform .25s; }
.appel a:first-child { background: #fff; color: #1f2937; border-color: #fff; }
.appel a:hover { background: #fff; color: #1f2937; transform: translateY(-2px); }
@keyframes appel-zoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

/* Pied de page en dégradé rouge vers doré */
.pied { position: relative; overflow: hidden; margin-top: 3rem; padding: 2rem 0; color: #fef9f0; background: linear-gradient(90deg, #2c5f7a 0%, #4a90b8 100%); }
.lien-pied { color: rgba(255, 255, 255, .9); transition: color .2s, padding-left .2s; }
.lien-pied:hover { color: #f7b500; padding-left: .25rem; }
.icone-sociale { color: #fff; transition: transform .3s, color .3s; display: inline-block; }
.icone-sociale:hover { color: #f7b500; transform: scale(1.25); }

/* Barre d'accès rapide en bas sur téléphone */
.barre-mobile { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; height: 64px; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -4px 12px rgba(0, 0, 0, .06); }
.barre-mobile a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; color: var(--texte); font-size: .75rem; transition: color .2s; }
.barre-mobile a i { font-size: 1.15rem; }
.barre-mobile a:hover { color: var(--orange); }
.barre-mobile .barre-mobile-centre { color: #fff; background: var(--rouge); }
.barre-mobile .barre-mobile-centre:hover { color: #fff; background: var(--orange-fonce); }
@media (min-width: 1024px) { .barre-mobile { display: none; } }

/* Annonce à l'ouverture */
.annonce-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; overflow-y: auto; background: rgba(0, 0, 0, .75); padding: .75rem; }
.annonce-popup.hidden { display: none; }
.annonce-popup-contenu { position: relative; width: 100%; max-width: min(96vw, 90vh, 900px); border-radius: 1rem; overflow: hidden; background: #fff; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35); animation: popup-entree .4s ease-out; }
.annonce-popup-contenu img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.annonce-popup-fermer { position: absolute; top: .75rem; right: .75rem; z-index: 10; width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.annonce-popup-fermer:hover { background: var(--orange); }
@media (max-width: 640px) { .annonce-popup-fermer { width: 3rem; height: 3rem; font-size: 1.25rem; } }
@keyframes popup-entree { from { opacity: 0; transform: scale(.9) translateY(-20px); } to { opacity: 1; transform: none; } }

/* Formulaires d'inscription : sections numérotées, champs larges et lisibles sur téléphone */
.fonase .form-section { background: #fff; border-radius: .75rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .06); padding: 1.25rem; }
@media (min-width: 640px) { .fonase .form-section { padding: 1.75rem; } }
.fonase .form-title { display: flex; align-items: center; gap: .75rem; font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--texte); margin-bottom: 1.25rem; }
.etape-numero { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 9999px; background: var(--orange); color: #fff; font-size: 1rem; flex-shrink: 0; }
.fonase .form-label { display: block; font-weight: 600; color: #374151; margin-bottom: .35rem; }
.fonase .form-input { width: 100%; padding: .8rem .9rem; border: 1px solid #cbd5e1; border-radius: .5rem; font-size: 1rem; background: #fff; }
.fonase .form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(70, 137, 237, .2); }

/* Page Présentation : lecture confortable */
.texte-lisible { font-size: 1.05rem; line-height: 1.8; color: #374151; max-width: 48rem; }
@media (min-width: 640px) { .texte-lisible { font-size: 1.1rem; } }
.surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--orange); margin-bottom: .35rem; }
.citation { border-left: 4px solid var(--or); background: #fffbeb; padding: 1rem 1.25rem; border-radius: 0 .5rem .5rem 0; font-style: italic; font-size: 1.1rem; line-height: 1.7; color: #1f2937; }
.sommaire { background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.sommaire-lien { white-space: nowrap; padding: .45rem 1rem; border-radius: 9999px; background: #eef4fe; color: #2c5f7a; font-weight: 600; font-size: .9rem; transition: all .2s; }
.sommaire-lien:hover { background: var(--orange); color: #fff; }
[id] { scroll-margin-top: 150px; }
.frise { position: relative; margin-left: 1.25rem; border-left: 3px solid #cfe0fb; }
.frise-etape { position: relative; padding: 0 0 2rem 2.25rem; }
.frise-point { position: absolute; left: -.6rem; top: .35rem; width: 1.05rem; height: 1.05rem; border-radius: 9999px; background: var(--orange); box-shadow: 0 0 0 4px #fff; }
.frise-actuelle .frise-point { background: var(--or); color: #1f2937; }
.frise-carte { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.25rem; }
@media (min-width: 640px) { .frise-carte { padding: 1.5rem; } }
.frise-actuelle .frise-carte { background: #fffbeb; border-color: var(--or); }
.frise-date { display: inline-block; font-weight: 700; font-size: .85rem; color: #fff; background: var(--orange-fonce); border-radius: 9999px; padding: .2rem .8rem; margin-bottom: .6rem; }
.format-partenaire { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1rem 1.25rem; transition: all .2s; }
.format-partenaire:hover { border-color: var(--orange); box-shadow: 0 10px 20px rgba(70, 137, 237, .15); transform: translateX(4px); }

/* Présentation sobre : cartes simples, puces, numéros */
.carte-sobre { background: #fff; border: 1px solid #e5e7eb; border-top: 3px solid var(--orange); border-radius: .5rem; padding: 1.4rem; transition: box-shadow .25s, transform .25s; }
.carte-sobre:hover { box-shadow: 0 12px 24px rgba(0, 0, 0, .08); transform: translateY(-3px); }
.carte-sobre h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.carte-sobre p { color: #4b5563; line-height: 1.7; font-size: .95rem; }
.puce { position: relative; padding-left: 1.2rem; line-height: 1.6; }
.puce::before { content: ''; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 9999px; background: var(--orange); }
.format-numero { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; color: #b8cdee; width: 2.75rem; flex-shrink: 0; }
.format-partenaire:hover .format-numero { color: var(--orange); }

/* ===== Rubrique Programme ===== */
.entete-programme { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.entete-programme-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.05); animation: appel-zoom 20s ease-in-out infinite alternate; }
.entete-programme-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(12, 32, 48, .92) 0%, rgba(12, 32, 48, .75) 55%, rgba(12, 32, 48, .45) 100%); }
.entete-programme-surtitre { color: var(--or); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; margin-bottom: .5rem; }
.entete-programme-titre { color: #fff; font-size: 2.1rem; font-weight: 700; line-height: 1.15; max-width: 48rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .entete-programme-titre { font-size: 3rem; } }
.entete-programme-texte { color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.75; max-width: 44rem; }
@media (min-width: 640px) { .entete-programme-texte { font-size: 1.15rem; } }

.sous-navigation { position: sticky; top: 64px; z-index: 30; background: #fff; border-bottom: 1px solid #e8edf4; box-shadow: 0 4px 12px rgba(15, 40, 70, .05); }
.sous-navigation-lien { white-space: nowrap; padding: .55rem 1.1rem; border-radius: 9999px; color: #334155; font-weight: 600; font-size: .95rem; transition: all .2s; }
.sous-navigation-lien:hover { background: #eef4fe; color: var(--orange-fonce); }
.sous-navigation-lien.actif { background: var(--orange-fonce); color: #fff; }

.badge-statut { position: absolute; top: 1rem; left: 1rem; padding: .35rem .85rem; border-radius: 9999px; font-size: .8rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: #475569; backdrop-filter: blur(4px); }
.badge-a_venir, .badge-en_cours { background: var(--or); color: #1f2937; animation: pulsation-douce 2.5s ease-in-out infinite; }
.badge-prevue { background: rgba(255, 255, 255, .92); color: var(--orange-fonce); }
@keyframes pulsation-douce { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 181, 0, .5); } 50% { box-shadow: 0 0 0 8px rgba(247, 181, 0, 0); } }

.forum-vedette { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 40px rgba(15, 40, 70, .08); margin-top: .75rem; }
@media (min-width: 1024px) { .forum-vedette { grid-template-columns: 1fr 1.1fr; } }
.forum-vedette-image { position: relative; min-height: 240px; overflow: hidden; }
.forum-vedette-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.forum-vedette:hover .forum-vedette-image img { transform: scale(1.05); }
.forum-vedette-texte { padding: 1.75rem; }
@media (min-width: 640px) { .forum-vedette-texte { padding: 2.5rem; } }
.forum-infos { display: grid; gap: .75rem; }
@media (min-width: 640px) { .forum-infos { grid-template-columns: repeat(3, 1fr); } }
.forum-infos div { background: #f5f8fd; border-radius: .6rem; padding: .8rem 1rem; }
.forum-infos dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #64748b; font-weight: 700; }
.forum-infos dd { font-weight: 600; color: #1f2937; margin-top: .15rem; }
.compte-a-rebours { display: flex; gap: .75rem; margin-top: 1.25rem; }
.compte-a-rebours div { flex: 1; text-align: center; background: var(--orange-fonce); color: #fff; border-radius: .6rem; padding: .7rem .25rem; }
.compte-a-rebours strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.6rem; line-height: 1.1; }
.compte-a-rebours span { font-size: .75rem; opacity: .85; }
.bouton-contour { display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: .5rem; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--orange-fonce); border: 2px solid var(--orange-fonce); transition: all .2s; }
.bouton-contour:hover { background: var(--orange-fonce); color: #fff; }

.carte-forum { background: #fff; border: 1px solid #e8edf4; border-radius: .9rem; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.carte-forum:hover { transform: translateY(-6px); box-shadow: 0 20px 35px rgba(15, 40, 70, .1); }
.carte-forum-courante { border: 2px solid var(--or); }
.carte-forum-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #e8eef7; }
.carte-forum-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.carte-forum:hover .carte-forum-image img { transform: scale(1.07); }
.carte-forum-corps { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.carte-forum-date { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--orange-fonce); text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; margin-bottom: .35rem; }
.carte-forum-chiffres { display: flex; gap: .5rem; margin-top: auto; }
.carte-forum-chiffres div { flex: 1; background: #f5f8fd; border-radius: .5rem; padding: .5rem .25rem; text-align: center; }
.carte-forum-chiffres strong { display: block; color: var(--orange-fonce); font-size: 1.05rem; }
.carte-forum-chiffres span { font-size: .7rem; color: #64748b; }

.carte-intervenant { background: #fff; border: 1px solid #e8edf4; border-radius: .9rem; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.carte-intervenant:hover { transform: translateY(-5px); box-shadow: 0 18px 30px rgba(15, 40, 70, .1); }
.carte-intervenant-photo { aspect-ratio: 16 / 9; background: #eef3fb; overflow: hidden; }
.carte-intervenant-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.carte-intervenant:hover .carte-intervenant-photo img { transform: scale(1.03); }

.carte-document { background: #fff; border-radius: 1rem; padding: 1.75rem; box-shadow: 0 15px 35px rgba(15, 40, 70, .08); border-top: 4px solid var(--or); }
.carte-commission { position: relative; background: #fff; border: 1px solid #e8edf4; border-radius: .9rem; padding: 1.5rem; transition: transform .3s, box-shadow .3s; overflow: hidden; }
.carte-commission:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(15, 40, 70, .08); }
.carte-commission-numero { display: block; font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; color: #d6e3f7; line-height: 1; margin-bottom: .75rem; transition: color .3s; }
.carte-commission:hover .carte-commission-numero { color: var(--orange); }

.agenda-jour { font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--orange-fonce); padding-bottom: .6rem; margin-bottom: 1rem; border-bottom: 2px solid #e3ecfb; }
.session { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; background: #fff; border: 1px solid #e8edf4; border-left: 4px solid var(--orange); border-radius: .75rem; padding: 1.1rem 1.25rem; transition: transform .25s, box-shadow .25s; }
.session:hover { transform: translateX(4px); box-shadow: 0 12px 24px rgba(15, 40, 70, .07); }
@media (min-width: 768px) { .session { grid-template-columns: 5.5rem 1fr auto; align-items: start; } }
.session-heure { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--orange-fonce); }
.session-image { display: none; width: 9rem; height: 6rem; object-fit: cover; border-radius: .5rem; }
@media (min-width: 768px) { .session-image { display: block; } }
.archive { background: #f8fafc; border: 1px solid #e8edf4; border-radius: .75rem; padding: 1rem 1.25rem; }
.archive summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-weight: 700; }
.archive summary::-webkit-details-marker { display: none; }

/* ===== Actualités ===== */
.bandeau-forum { background: linear-gradient(90deg, #1c3f55, #2c5f7a 60%, #4689ed); }
.bandeau-forum-bouton { display: inline-flex; justify-content: center; padding: .75rem 1.75rem; border-radius: .5rem; background: var(--or); color: #1f2937; font-family: 'Poppins', sans-serif; font-weight: 700; transition: transform .25s, background-color .25s; }
.bandeau-forum-bouton:hover { background: #fff; transform: translateY(-2px); }

.etiquette { display: inline-block; padding: .3rem .8rem; border-radius: 9999px; background: #e6efff; color: #1d4ed8; font-size: .78rem; font-weight: 700; }
.etiquette-image { position: absolute; top: .9rem; left: .9rem; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 10px rgba(0, 0, 0, .12); }

.article-une { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 20px 45px rgba(15, 40, 70, .09); margin-bottom: 2.5rem; transition: box-shadow .3s, transform .3s; }
.article-une:hover { transform: translateY(-4px); box-shadow: 0 28px 55px rgba(15, 40, 70, .13); }
@media (min-width: 1024px) { .article-une { grid-template-columns: 1.2fr 1fr; } }
.article-une-image { position: relative; min-height: 240px; overflow: hidden; }
@media (min-width: 1024px) { .article-une-image { min-height: 380px; } }
.article-une-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.article-une:hover .article-une-image img { transform: scale(1.05); }
.article-une-texte { padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 640px) { .article-une-texte { padding: 2.75rem; } }

.grille-articles { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grille-articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grille-articles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grille-articles { grid-template-columns: repeat(4, 1fr); } }
.carte-article { display: flex; flex-direction: column; background: #fff; border-radius: .9rem; overflow: hidden; box-shadow: 0 6px 18px rgba(15, 40, 70, .07); transition: transform .3s, box-shadow .3s; }
.carte-article:hover { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(15, 40, 70, .13); }
.carte-article-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8eef7; }
.carte-article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.carte-article:hover .carte-article-image img { transform: scale(1.08); }
.carte-article-corps { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.25rem 1.35rem; }
.carte-article-titre { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: #111827; margin-bottom: .6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.carte-article:hover .carte-article-titre { color: var(--orange-fonce); }
.carte-article-resume { color: #4b5563; font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.entete-article { position: relative; overflow: hidden; isolation: isolate; }
.entete-article-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 32, 48, .45) 0%, rgba(12, 32, 48, .92) 100%); }
.article-chapeau { font-size: 1.25rem; line-height: 1.7; color: #1f2937; font-weight: 600; margin-bottom: 1.75rem; padding-left: 1rem; border-left: 4px solid var(--or); }
.article-texte p { font-size: 1.1rem; line-height: 1.9; color: #374151; margin-bottom: 1.4rem; }
.article-texte p:first-child::first-letter { float: left; font-family: 'Poppins', sans-serif; font-size: 3.4rem; line-height: .9; font-weight: 700; color: var(--orange-fonce); margin: .35rem .6rem 0 0; }
.partage { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; }
@media (min-width: 640px) { .partage { flex-direction: row; align-items: center; justify-content: space-between; } }
.partage-bouton { padding: .5rem 1rem; border-radius: 9999px; border: 1px solid #d6e2f5; color: #2c5f7a; font-weight: 600; font-size: .9rem; background: #fff; transition: all .2s; }
.partage-bouton:hover { background: var(--orange-fonce); border-color: var(--orange-fonce); color: #fff; }

/* ===== Réservations ===== */
.facultatif { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 9999px; background: #eef2f7; color: #64748b; font-size: .72rem; font-weight: 600; text-transform: lowercase; vertical-align: middle; }
.fonase .form-section { animation: section-entree .6s cubic-bezier(.2, .8, .2, 1) both; transition: box-shadow .3s; }
.fonase .form-section:focus-within { box-shadow: 0 12px 30px rgba(44, 95, 122, .14); }
.fonase form > .form-section:nth-of-type(2) { animation-delay: .08s; }
.fonase form > .form-section:nth-of-type(3) { animation-delay: .16s; }
.fonase form > .form-section:nth-of-type(4) { animation-delay: .24s; }
.fonase form > .form-section:nth-of-type(5) { animation-delay: .32s; }
@keyframes section-entree { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.choix-grille { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 640px) { .choix-grille.sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .choix-grille.md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .choix-grille.lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); } }
.choix-grille.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.choix { position: relative; cursor: pointer; display: block; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix-carte { display: flex; align-items: flex-start; gap: .7rem; height: 100%; padding: .8rem .95rem; border: 1.5px solid #d7e1ee; border-radius: .7rem; background: #fff; transition: border-color .2s, background-color .2s, transform .2s, box-shadow .2s; }
.choix:hover .choix-carte { border-color: #9fc0f2; transform: translateY(-1px); }
.choix-coche { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .1rem; border: 2px solid #b6c6dc; border-radius: .35rem; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.choix input[type="radio"] + .choix-carte .choix-coche { border-radius: 9999px; }
.choix-titre { display: block; font-weight: 600; color: #1f2937; line-height: 1.35; }
.choix-detail { display: block; font-size: .8rem; color: #64748b; margin-top: .15rem; }
.choix input:checked + .choix-carte { border-color: var(--orange); background: #f1f6ff; box-shadow: 0 6px 16px rgba(70, 137, 237, .15); }
.choix input:checked + .choix-carte .choix-coche { background: var(--orange); border-color: var(--orange); }
.choix input:checked + .choix-carte .choix-coche::after { content: ''; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); animation: coche .25s ease-out; }
.choix input[type="radio"]:checked + .choix-carte .choix-coche::after { width: .5rem; height: .5rem; border: 0; border-radius: 9999px; background: #fff; transform: none; }
.choix input:focus-visible + .choix-carte { outline: 3px solid rgba(70, 137, 237, .45); outline-offset: 2px; }
@keyframes coche { from { transform: rotate(45deg) scale(0); } to { transform: rotate(45deg) scale(1); } }

.progression { position: sticky; top: 72px; z-index: 20; background: rgba(244, 247, 251, .95); backdrop-filter: blur(6px); padding: .75rem 0 .9rem; margin-bottom: 1rem; }
.progression-barre { height: 8px; border-radius: 9999px; background: #dfe7f2; overflow: hidden; }
.progression-barre span { display: block; height: 100%; width: 0; border-radius: 9999px; background: linear-gradient(90deg, #4689ed, #2c5f7a); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.progression.complet .progression-barre span { background: linear-gradient(90deg, #16a34a, #15803d); }

.compteur-places { display: inline-block; margin-top: 1.75rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); border-radius: 1rem; padding: 1rem 1.25rem; min-width: 280px; }
.compteur-places strong { display: block; font-family: 'Poppins', sans-serif; font-size: 2.4rem; line-height: 1; color: var(--or); }
.compteur-places span { color: rgba(255, 255, 255, .88); font-size: .95rem; }
.compteur-barre { height: 6px; border-radius: 9999px; background: rgba(255, 255, 255, .2); margin-top: .75rem; overflow: hidden; }
.compteur-barre div { height: 100%; background: var(--or); border-radius: 9999px; }

.carte-reserver { position: relative; display: block; min-height: 320px; border-radius: 1.1rem; overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 18px 40px rgba(15, 40, 70, .15); transition: transform .35s, box-shadow .35s; }
.carte-reserver > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.carte-reserver-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 32, 48, .15) 0%, rgba(12, 32, 48, .92) 75%); transition: background .35s; }
.carte-reserver:hover { transform: translateY(-6px); box-shadow: 0 28px 55px rgba(15, 40, 70, .25); }
.carte-reserver:hover > img { transform: scale(1.07); }
.carte-reserver-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem; }
.carte-reserver-public { color: var(--or); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.carte-reserver h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: .4rem; }
.carte-reserver-description { color: rgba(255, 255, 255, .88); line-height: 1.6; margin-bottom: 1rem; max-width: 32rem; }
.carte-reserver-bouton { display: inline-flex; align-items: center; gap: .4rem; background: #fff; color: #1f2937; font-weight: 700; padding: .65rem 1.2rem; border-radius: .55rem; transition: background-color .25s, gap .25s; }
.carte-reserver:hover .carte-reserver-bouton { background: var(--or); gap: .7rem; }
.bandeau-carte { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; margin-top: 2rem; background: #fff; border: 1px solid #e3ecfb; border-radius: 1rem; padding: 1.5rem; }
@media (min-width: 640px) { .bandeau-carte { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Apparition au défilement */
.apparition { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.apparition.visible { opacity: 1; transform: none; }
.apparition-delai-1 { transition-delay: .1s; }
.apparition-delai-2 { transition-delay: .2s; }
.apparition-delai-3 { transition-delay: .3s; }

/* Compatibilité avec les pages qui utilisaient les anciennes classes */
.carte-survol { transition: transform .3s ease, box-shadow .3s ease; }
.carte-survol:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .12); }
.bouton-pulse { animation: bouton-pulse 2.5s ease-in-out infinite; }
@keyframes bouton-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
    .apparition { opacity: 1; transform: none; transition: none; }
    .bandeau-piste, .bandeau-point, .bandeau-vague, .bandeau-reflet, .logos-piste, .bouton-lecture::before, .bouton-pulse { animation: none; }
}
.titre-section.mb-0 { margin-bottom: 0; }

/* ===== Barre de navigation (version animée) ===== */
.entete { transition: box-shadow .3s, background-color .3s; box-shadow: 0 1px 0 #eef2f7; }
.entete.reduite { box-shadow: 0 10px 30px rgba(15, 40, 70, .1); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); }
.entete-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 0; transition: padding .3s ease; }
.entete.reduite .entete-nav { padding: .35rem 0; }
.entete-logo img { transition: transform .35s ease; }
.entete-logo:hover img { transform: scale(1.04); }
.bandeau { top: var(--hauteur-entete, 64px); transition: top .3s ease; }
.sous-navigation { top: var(--hauteur-entete, 64px); }
.progression { top: calc(var(--hauteur-entete, 64px) + 8px); }

.lien-menu { position: relative; background: transparent !important; color: #1f2937; padding: .6rem .75rem; border-radius: .5rem; font-weight: 500; transition: color .25s; }
.lien-menu::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .3rem; height: 2.5px; border-radius: 9999px; background: linear-gradient(90deg, var(--orange), var(--or)); transform: scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.lien-menu:hover, .group:hover > .lien-menu, .lien-menu.actif { color: var(--orange-fonce); }
.lien-menu:hover::after, .group:hover > .lien-menu::after, .group:focus-within > .lien-menu::after, .lien-menu.actif::after { transform: scaleX(1); }
.lien-menu.actif { font-weight: 600; }
.chevron-menu { font-size: 10px; margin-left: .3rem; transition: transform .3s ease; }
.group:hover .chevron-menu, .group:focus-within .chevron-menu { transform: rotate(180deg); }

.sous-menu { top: calc(100% + 8px); left: 50%; min-width: 15rem; padding: .5rem; border-radius: .9rem; border: 1px solid #edf1f7; box-shadow: 0 18px 40px rgba(15, 40, 70, .14); transform: translate(-50%, 12px) scale(.97); transform-origin: top center; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.sous-menu::before { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #fff; border-left: 1px solid #edf1f7; border-top: 1px solid #edf1f7; transform: translateX(-50%) rotate(45deg); }
.sous-menu::after { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* zone tampon : le menu ne se ferme pas en descendant la souris */
.group:hover > .sous-menu, .group:focus-within > .sous-menu { transform: translate(-50%, 0) scale(1); }
.sous-menu a { position: relative; border-radius: .55rem; padding: .6rem .9rem .6rem 1.4rem; color: #334155; opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease, background-color .2s, color .2s; transition-delay: calc(var(--i, 0) * 35ms); }
.group:hover > .sous-menu a, .group:focus-within > .sous-menu a { opacity: 1; transform: none; }
.sous-menu a::before { content: ''; position: absolute; left: .65rem; top: 50%; width: 5px; height: 5px; border-radius: 9999px; background: #c7d6ec; transform: translateY(-50%); transition: background-color .2s, transform .2s; }
.sous-menu a:hover { background: #f1f6ff; color: var(--orange-fonce); padding-left: 1.4rem; }
.sous-menu a:hover::before { background: var(--or); transform: translateY(-50%) scale(1.5); }

.bouton-telephone { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; margin-left: .5rem; border-radius: 9999px; color: var(--orange-fonce); background: #eef4fe; transition: background-color .25s, color .25s; }
.bouton-telephone:hover { background: var(--orange-fonce); color: #fff; }
.bouton-telephone:hover i { animation: sonnerie .6s ease; }
@keyframes sonnerie { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(-15deg); } 40%, 80% { transform: rotate(15deg); } }

/* Menu : groupe WhatsApp et carte d'accès, toujours visibles */
.icone-whatsapp { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.bouton-whatsapp-menu, .bouton-ma-carte { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; padding: .5rem .9rem; border-radius: 9999px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .85rem; white-space: nowrap; transition: background-color .25s, color .25s, transform .2s; }
.bouton-whatsapp-menu { color: #fff; background: #25d366; box-shadow: 0 4px 12px rgba(37, 211, 102, .3); }
.bouton-whatsapp-menu:hover { background: #1ebe5b; transform: translateY(-1px); }
.bouton-ma-carte { color: var(--orange-fonce); background: #eef4fe; border: 1px solid #cfdcf0; }
.bouton-ma-carte:hover, .bouton-ma-carte.actif { color: #fff; background: var(--orange-fonce); }
.bouton-rond { width: 2.5rem; height: 2.5rem; margin-left: 0; padding: 0; justify-content: center; }
.bouton-rond .icone-whatsapp { width: 1.3rem; height: 1.3rem; }
.menu-mobile-pied .bouton-whatsapp-menu, .menu-mobile-pied .bouton-ma-carte { margin-left: 0; border-radius: .5rem; font-size: .95rem; }
/* Entre 1280 et 1536 px, le menu est serré : icône seule pour WhatsApp */
@media (max-width: 1535px) { .entete-nav > .xl\:flex .bouton-whatsapp-menu span { display: none; } .entete-nav > .xl\:flex .bouton-whatsapp-menu { padding: .5rem; } }
.barre-mobile .barre-mobile-whatsapp { color: #1ebe5b; }
.barre-mobile .barre-mobile-whatsapp .icone-whatsapp { width: 1.25rem; height: 1.25rem; }
.bouton-brillant { position: relative; overflow: hidden; }
.bouton-brillant::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: brillance 4s ease-in-out 2s infinite; }
@keyframes brillance { 0% { left: -80%; } 30%, 100% { left: 140%; } }

.burger { position: relative; width: 2.75rem; height: 2.75rem; border-radius: .7rem; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: background-color .2s; }
.burger:hover { background: #f1f6ff; }
.burger span { display: block; width: 22px; height: 2.5px; border-radius: 9999px; background: #1f2937; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s, width .3s; }
.burger span:nth-child(2) { width: 16px; margin-left: 6px; }
.burger.ouvert span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.ouvert span:nth-child(2) { opacity: 0; transform: translateX(10px); }
.burger.ouvert span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu-voile { position: fixed; inset: 0; z-index: 70; background: rgba(12, 32, 48, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s ease; }
.menu-voile.visible { opacity: 1; }
.menu-mobile { position: fixed !important; top: 0 !important; bottom: 0; right: 0; left: auto !important; z-index: 80; width: min(88vw, 370px); max-height: none !important; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 50px rgba(15, 40, 70, .2); border-top: 0 !important; transform: translateX(105%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); animation: none !important; overflow-y: auto; visibility: hidden; }
.menu-mobile.ouvert { transform: none; visibility: visible; }
.menu-mobile-tete { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #eef2f7; }
.menu-fermer { width: 2.5rem; height: 2.5rem; border-radius: 9999px; font-size: 1.8rem; line-height: 1; color: #475569; background: #f1f5f9; transition: transform .3s, background-color .2s; }
.menu-fermer:hover { transform: rotate(90deg); background: #e2e8f0; }
.menu-mobile-liste { padding: .5rem 1.25rem; flex: 1; }
.menu-mobile-liste > li { opacity: 0; transform: translateX(24px); transition: opacity .35s ease, transform .35s ease; }
.menu-mobile.ouvert .menu-mobile-liste > li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .05s); }
.menu-mobile-lien.actif { color: var(--orange-fonce); font-weight: 700; }
.menu-mobile-pied { display: grid; gap: .6rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid #eef2f7; background: #f8fafc; }
body.menu-ouvert { overflow: hidden; }
@media (min-width: 1280px) { .burger { display: none; } .menu-mobile, .menu-voile { display: none !important; } }
@media (max-width: 1535px) { .entete .bouton-vert.hidden { display: none; } }

/* ===== Groupe WhatsApp des étudiants ===== */
.groupe-whatsapp { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; background: linear-gradient(135deg, #e9fbef, #f5fff8); border: 1.5px solid #bdeecb; border-radius: 1rem; padding: 1.25rem 1.4rem; position: relative; overflow: hidden; }
@media (min-width: 640px) { .groupe-whatsapp { flex-direction: row; align-items: center; } }
.groupe-whatsapp-colonne { flex-direction: column !important; align-items: flex-start !important; }
.groupe-whatsapp-logo { width: 3rem; height: 3rem; flex-shrink: 0; color: #fff; background: #25d366; border-radius: 9999px; padding: .55rem; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: whatsapp-onde 2.4s ease-out infinite; }
@keyframes whatsapp-onde { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
.groupe-whatsapp-titre { font-family: 'Poppins', sans-serif; font-weight: 700; color: #14532d; font-size: 1.05rem; }
.groupe-whatsapp-texte { color: #3f6b50; font-size: .92rem; line-height: 1.5; margin-top: .15rem; }
.groupe-whatsapp-bouton { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; background: #25d366; color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; padding: .75rem 1.4rem; border-radius: 9999px; box-shadow: 0 8px 18px rgba(37, 211, 102, .35); transition: transform .2s, background-color .2s; }
.groupe-whatsapp-bouton:hover { background: #1ebe5b; transform: translateY(-2px); }
.groupe-whatsapp-colonne .groupe-whatsapp-bouton { width: 100%; }
