/* ========================================
   SECTION HERO
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #1a1a2e;
    padding-top: 73px;
    overflow: hidden;
}

/* --- Slideshow de fond --- */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity, transform;
}

/* Calque placeholder flouté (miniature basse résolution) */
.hero-slide-placeholder {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    transform: scale(1.08); /* masque les bords du blur */
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Le calque placeholder disparaît quand la pleine résolution est chargée */
.hero-slide.full-loaded .hero-slide-placeholder {
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
    animation: hero-ken-burns 7s ease-out forwards;
}

/* Panoramiques : zoom + déplacement de gauche à droite */
.hero-slide.pano.active {
    animation: hero-ken-burns-pano 7s ease-out forwards;
}

@keyframes hero-ken-burns {
    from { transform: scale(1);    }
    to   { transform: scale(1.18); }
}

@keyframes hero-ken-burns-pano {
    from { transform: scale(1.05) translateX(-4%); }
    to   { transform: scale(1.18) translateX(4%);  }
}

/* Overlay gradient violet par-dessus les photos */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(124, 18, 221, 0.75) 0%,
        rgba(90,  14, 176, 0.68) 40%,
        rgba(26,  26,  46, 0.85) 100%);
    pointer-events: none;
}

/* Animation du fond radial */
@keyframes rotate-radial {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 18, 221, 0.3) 0%, transparent 70%);
    animation: rotate-radial 30s linear infinite;
}

/* Particules flottantes */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    filter: blur(2px);
}

.particle-1 { width: 8px; height: 8px; background: var(--primary-violet); top: 20%; left: 10%; animation: float-particle 15s ease-in-out infinite; }
.particle-2 { width: 12px; height: 12px; background: var(--primary-green); top: 40%; left: 20%; animation: float-particle 18s ease-in-out infinite 1s; }
.particle-3 { width: 6px; height: 6px; background: var(--primary-yellow); top: 60%; left: 15%; animation: float-particle 20s ease-in-out infinite 2s; }
.particle-4 { width: 10px; height: 10px; background: var(--primary-red); top: 30%; left: 80%; animation: float-particle 17s ease-in-out infinite 3s; }
.particle-5 { width: 8px; height: 8px; background: var(--primary-violet); top: 70%; left: 85%; animation: float-particle 16s ease-in-out infinite 4s; }
.particle-6 { width: 14px; height: 14px; background: var(--primary-green); top: 50%; left: 70%; animation: float-particle 19s ease-in-out infinite 5s; }
.particle-7 { width: 7px; height: 7px; background: var(--primary-yellow); top: 80%; left: 25%; animation: float-particle 21s ease-in-out infinite 6s; }
.particle-8 { width: 9px; height: 9px; background: var(--primary-red); top: 15%; left: 60%; animation: float-particle 14s ease-in-out infinite 7s; }
.particle-9 { width: 11px; height: 11px; background: var(--primary-violet); top: 90%; left: 50%; animation: float-particle 22s ease-in-out infinite 8s; }
.particle-10 { width: 8px; height: 8px; background: var(--primary-green); top: 25%; left: 40%; animation: float-particle 16s ease-in-out infinite 9s; }
.particle-11 { width: 10px; height: 10px; background: var(--primary-yellow); top: 55%; left: 90%; animation: float-particle 18s ease-in-out infinite 10s; }
.particle-12 { width: 6px; height: 6px; background: var(--primary-red); top: 35%; left: 5%; animation: float-particle 20s ease-in-out infinite 11s; }
.particle-13 { width: 12px; height: 12px; background: var(--primary-violet); top: 75%; left: 60%; animation: float-particle 17s ease-in-out infinite 12s; }
.particle-14 { width: 9px; height: 9px; background: var(--primary-green); top: 10%; left: 75%; animation: float-particle 19s ease-in-out infinite 13s; }
.particle-15 { width: 7px; height: 7px; background: var(--primary-yellow); top: 65%; left: 35%; animation: float-particle 21s ease-in-out infinite 14s; }
.particle-16 { width: 11px; height: 11px; background: var(--primary-red); top: 45%; left: 55%; animation: float-particle 15s ease-in-out infinite 15s; }
.particle-17 { width: 8px; height: 8px; background: var(--primary-violet); top: 85%; left: 10%; animation: float-particle 23s ease-in-out infinite 16s; }
.particle-18 { width: 10px; height: 10px; background: var(--primary-green); top: 5%; left: 45%; animation: float-particle 18s ease-in-out infinite 17s; }
.particle-19 { width: 6px; height: 6px; background: var(--primary-yellow); top: 50%; left: 95%; animation: float-particle 20s ease-in-out infinite 18s; }
.particle-20 { width: 9px; height: 9px; background: var(--primary-red); top: 95%; left: 80%; animation: float-particle 16s ease-in-out infinite 19s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-15px, -60px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(30px, -40px) scale(1.1); opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-green) 25%, var(--primary-yellow) 50%, var(--primary-red) 75%, var(--primary-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: gradient-shift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: white;
    font-weight: 600;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, 
        rgba(58, 174, 80, 0.85) 0%, 
        rgba(45, 138, 63, 0.85) 100%);
    color: white !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(58, 174, 80, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary-red {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white !important;
}

.btn-primary-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(253, 0, 0, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: white;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   SECTION PRÉAMBULE
   ======================================== */

.preambule-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.preambule-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-left: 6px solid var(--primary-violet);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.preambule-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-violet);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.preambule-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.9;
    text-align: justify;
}

.preambule-box strong {
    color: var(--primary-violet);
    font-weight: 700;
}

/* ========================================
   SECTIONS DE CARTES
   ======================================== */

.cards-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.cards-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-violet), var(--primary-green));
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Uniformiser toutes les cartes avec la même grille responsive */
.cards-grid-9 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card.violet { border-top-color: var(--primary-violet); }
.card.green { border-top-color: var(--primary-green); }
.card.red { border-top-color: var(--primary-red); }
.card.yellow { border-top-color: var(--primary-yellow); }

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.card.violet .card-icon { background: linear-gradient(135deg, var(--primary-violet), var(--primary-violet-dark)); }
.card.green .card-icon { background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark)); }
.card.red .card-icon { background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark)); }
.card.yellow .card-icon { background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark)); }

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Supprimer les styles pour les listes d'items qui n'existent plus */

.card-compact {
    padding: 1.5rem;
}

.card-compact .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-compact h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-compact p {
    font-size: 0.85rem;
}

/* ========================================
   SECTION CTA FINALE
   ======================================== */

.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-violet-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-cta-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    background: white;
    color: var(--primary-violet);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ========================================
   SECTION GARANTIES DÉPLIABLE
   ======================================== */

.garanties-toggle-section {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 18, 221, 0.05) 0%, rgba(58, 174, 80, 0.05) 100%);
}

.garanties-toggle-btn {
    background: linear-gradient(135deg, var(--primary-violet), var(--primary-green));
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(124, 18, 221, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

.garanties-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-violet));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.garanties-toggle-btn:hover::before {
    opacity: 1;
}

.garanties-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 18, 221, 0.4);
}

.garanties-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
    box-shadow: 0 10px 30px rgba(253, 0, 0, 0.3);
}

.garanties-toggle-btn.active:hover {
    box-shadow: 0 15px 40px rgba(253, 0, 0, 0.4);
}

.toggle-text {
    position: relative;
    z-index: 1;
}

.toggle-icon {
    position: relative;
    z-index: 1;
    fill: white;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.garanties-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.garanties-section {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease,
                padding 0.6s ease;
    padding: 0 2rem;
}

.garanties-section.expanded {
    max-height: 3000px;
    opacity: 1;
    padding: 4rem 2rem;
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */

@media (min-width: 600px) {
    .logo-text {
        display: block;
    }
}

@media (min-width: 900px) {
    nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    /* Grille responsive uniforme pour toutes les cartes */
    .cards-grid,
    .cards-grid-9 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    /* Sur grands écrans, afficher 3 cartes par ligne */
    .cards-grid,
    .cards-grid-9 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   PARALLAX SCENES — PHOTOS IMMERSIVES
   ======================================== */

.parallax-scene {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Images injectées dynamiquement via JS (randomisation au chargement) */

/* Overlays colorés */
.parallax-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay-violet {
    background: linear-gradient(135deg,
        rgba(90, 14, 176, 0.72) 0%,
        rgba(26, 26, 46, 0.65) 50%,
        rgba(124, 18, 221, 0.45) 100%);
}

.parallax-overlay-green {
    background: linear-gradient(135deg,
        rgba(26, 26, 46, 0.65) 0%,
        rgba(45, 138, 63, 0.70) 50%,
        rgba(58, 174, 80, 0.45) 100%);
}

.parallax-overlay-red {
    background: linear-gradient(135deg,
        rgba(199, 0, 0, 0.68) 0%,
        rgba(26, 26, 46, 0.65) 50%,
        rgba(90, 14, 176, 0.45) 100%);
}

.parallax-overlay-yellow {
    background: linear-gradient(135deg,
        rgba(26, 26, 46, 0.65) 0%,
        rgba(217, 173, 0, 0.72) 50%,
        rgba(58, 174, 80, 0.45) 100%);
}

/* Contenu textuel dans la scène */
.parallax-content {
    text-align: center;
    padding: 2rem;
    max-width: 860px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scene.scene-visible .parallax-content {
    opacity: 1;
    transform: translateY(0);
}

.parallax-eyebrow {
    display: inline-block;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.parallax-quote {
    font-size: clamp(1.8rem, 4.5vw, 3.8rem);
    color: white;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
}

.parallax-quote strong {
    display: block;
    color: white;
    font-weight: 900;
}

/* Trait décoratif avant la scène */
.parallax-scene::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        var(--primary-violet),
        var(--primary-green),
        var(--primary-yellow),
        var(--primary-red));
    z-index: 2;
}

/* Dégradé bas pour raccorder avec la section suivante */
.parallax-scene::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(240, 249, 255, 0.15));
    z-index: 1;
}

/* ========================================
   AMÉLIORATIONS ANIMATIONS CARTES
   ======================================== */

/* Transition staggerée sur les cartes */
.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.12s; }
.card:nth-child(3) { transition-delay: 0.19s; }
.card:nth-child(4) { transition-delay: 0.26s; }
.card:nth-child(5) { transition-delay: 0.33s; }
.card:nth-child(6) { transition-delay: 0.40s; }
.card:nth-child(7) { transition-delay: 0.47s; }
.card:nth-child(8) { transition-delay: 0.54s; }
.card:nth-child(9) { transition-delay: 0.61s; }

/* Préambule avec reveal au scroll */
.preambule-box {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.preambule-box.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Ligne de séparation esthétique entre sections et parallax */
.cards-section + .parallax-scene,
.garanties-toggle-section + .garanties-section + .parallax-scene {
    margin-top: 0;
}

/* ========================================
   MOBILE — désactiver background:fixed (iOS)
   ======================================== */

@media (max-width: 768px) {
    .parallax-scene {
        background-attachment: scroll;
        height: 100vh;
    }

    .parallax-quote {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
}

/* ========================================
   MODALE ANNONCE POST-ÉLECTION
   ======================================== */

.annonce-modale-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 30, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    overflow-y: auto;
}

.annonce-modale-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.annonce-modale-overlay.masquee {
    display: none;
}

.annonce-modale-boite {
    background: white;
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.4s ease;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    margin: auto;
}

.annonce-modale-overlay.active .annonce-modale-boite {
    transform: translateY(0);
}

.annonce-modale-entete {
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-violet) 0%, var(--primary-violet-dark) 100%);
    padding: 2rem 4.5rem 1.75rem 2rem;
}

.annonce-modale-entete h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.annonce-modale-fermer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.annonce-modale-fermer:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.annonce-modale-fermer svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.annonce-modale-corps {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.annonce-modale-corps p {
    margin-bottom: 1.1rem;
}

.annonce-modale-corps p:last-child {
    margin-bottom: 0;
}

.annonce-modale-corps .separateur {
    border: none;
    border-top: 2px solid var(--bg-light);
    margin: 1.5rem 0;
}

.annonce-modale-corps mark {
    background: #fde68a;
    color: var(--text-dark);
    padding: 0.05em 0.3em;
    border-radius: 3px;
    font-weight: 600;
}

.annonce-modale-corps mark.hl-rouge {
    background: rgba(253, 0, 0, 0.1);
    color: var(--primary-red-dark);
    font-weight: 700;
}

.annonce-modale-corps mark.hl-vert {
    background: rgba(58, 174, 80, 0.18);
    color: #1e6e30;
    font-weight: 700;
}

.annonce-modale-footer {
    flex-shrink: 0;
    padding: 1.25rem 2rem 1.75rem;
    text-align: center;
    border-top: 2px solid var(--bg-light);
}

.annonce-modale-btn-fermer {
    display: inline-flex;
    align-items: center;
    background: var(--primary-violet);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.25rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(124, 18, 221, 0.3);
}

.annonce-modale-btn-fermer:hover {
    background: var(--primary-violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 18, 221, 0.4);
}

@media (max-width: 600px) {
    .annonce-modale-entete {
        padding: 1.5rem 3.5rem 1.25rem 1.5rem;
    }

    .annonce-modale-entete h2 {
        font-size: 1.25rem;
    }

    .annonce-modale-corps {
        padding: 1.5rem;
        font-size: 0.925rem;
    }

    .annonce-modale-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}
