/* ================================
   THEME OUVERTURE BASTILLE 2026
   "Inauguration Urbaine Premium"
   ================================ */

/* Palette navy / or premium */
body.bastille {
    --bs-navy: #0D1B2A;             /* Bleu nuit profond (fond principal) */
    --bs-gold: #D4AF37;             /* Or premium (accents, boutons, lueur) */
    --bs-gold-light: #F0D060;       /* Or clair (hover, highlights) */
    --bs-cream: #FAF3E0;            /* Crème chaud (textes sur fond sombre) */
    --bs-red: #C62828;              /* Rouge Bastille (urgence, historique) */
    --bs-white: #FFFFFF;            /* Blanc pur */
    --bs-slate: #1B2838;            /* Ardoise (sections alternées) */
    --bs-glow-gold: rgba(212, 175, 55, 0.9); /* Lueur dorée */
    background:
      radial-gradient(1200px 600px at 10% -10%, rgba(212, 175, 55, 0.06), transparent 60%),
      radial-gradient(1200px 600px at 90% -10%, rgba(13, 27, 42, 0.04), transparent 60%),
      var(--bulma-body-background, #fff);
}

/* ================================
   1) Ruban "NOUVEAU CLUB" - Premium
   ================================ */
body.bastille .bs-ribbon { position: relative; overflow: hidden; }
body.bastille .bs-ribbon::after {
    content: "NOUVEAU CLUB";
    position: absolute; top: 12px; left: 0px;
    transform: rotate(-12deg);
    background: linear-gradient(135deg, var(--bs-navy) 0%, var(--bs-slate) 50%, var(--bs-gold) 100%);
    color: var(--bs-gold-light);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    border: 2px solid var(--bs-gold);
    box-shadow:
      0 0 20px var(--bs-glow-gold),
      0 0 40px rgba(212, 175, 55, 0.5),
      0 8px 24px rgba(0,0,0,.4);
    animation: bs-pulse 2s ease-in-out infinite;
}
@keyframes bs-pulse {
    0%, 100% {
        transform: rotate(-12deg) scale(1);
        box-shadow:
            0 0 20px var(--bs-glow-gold),
            0 0 40px rgba(212, 175, 55, 0.5),
            0 8px 24px rgba(0,0,0,.4);
    }
    50% {
        transform: rotate(-12deg) scale(1.08);
        box-shadow:
            0 0 30px var(--bs-glow-gold),
            0 0 60px rgba(212, 175, 55, 0.9),
            0 12px 32px rgba(0,0,0,.5);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.bastille .bs-ribbon::after { animation: none; }
}

/* ================================
   2) Séparateur thématique - Or
   ================================ */
body.bastille .bs-divider {
    height: 3px;
    border: 0;
    margin: 2rem 0;
    background: linear-gradient(90deg,
        transparent,
        var(--bs-gold) 20%,
        var(--bs-gold-light) 50%,
        var(--bs-gold) 80%,
        transparent);
    box-shadow: 0 0 15px var(--bs-glow-gold);
    opacity: 1;
}

/* ================================
   3) Coins décoratifs
   ================================ */
/* Étoile coin haut droit */
body.bastille .bs-star-corner { position: relative; }
body.bastille .bs-star-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille13.png");
}

/* Couronne coin haut droit */
body.bastille .bs-crown-corner { position: relative; }
body.bastille .bs-crown-corner::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.9));
    background: no-repeat center/contain url("/images_2/bastille/bastille3.png");
}

/* Clé coin haut droit */
body.bastille .bs-key-corner { position: relative; }
body.bastille .bs-key-corner::before {
    content: "";
    position: absolute; top: 8px; right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille23.png");
}

/* Trophée coin haut droit */
body.bastille .bs-trophy-corner { position: relative; }
body.bastille .bs-trophy-corner::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 80px;
    height: 80px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille22.png");
}

body.bastille .bs-trophy-second-corner { position: relative; }
body.bastille .bs-trophy-second-corner::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 80px;
    height: 80px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille26.png");
}

/* Trophée coin haut droit */
body.bastille .bs-yellow-diamond-corner { position: relative; }
body.bastille .bs-yellow-diamond-corner::before {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille18.png");
}

/* Coins haut gauche */
body.bastille .bs-star-corner-left { position: relative; }
body.bastille .bs-star-corner-left::after {
    content: "";
    position: absolute; top: 8px; left: 8px;
    width: 80px;
    height: 80px;
    opacity: 0.7;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille11.png");
}

body.bastille .bs-medal-corner-left { position: relative; }
body.bastille .bs-medal-corner-left::after {
    content: "";
    position: absolute; top: 8px; left: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille8.png");
}

body.bastille .bs-diamond-corner-left { position: relative; }
body.bastille .bs-diamond-corner-left::after {
    content: "";
    position: absolute; top: 8px; left: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    pointer-events: none;
    background: no-repeat center/contain url("/images_2/bastille/bastille21.png");
}

/* Coins bas */
/* body.bastille .bs-medal-bottom-left { position: relative; }
body.bastille .bs-medal-bottom-left::after {
    content: "🥇";
    position: absolute; bottom: 8px; left: 8px;
    font-size: 55px;
    opacity: 0.7;
    pointer-events: none;
} */

body.bastille .bs-fire-bottom-left { position: relative; }
body.bastille .bs-fire-bottom-left::after {
    content: "";
    position: absolute; bottom: 8px; left: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.75;
    pointer-events: none;
    background: no-repeat center/contain url("/images_2/bastille/bastille17.png");
}

body.bastille .bs-lightning-bottom-right { position: relative; }
body.bastille .bs-lightning-bottom-right::after {
    content: "";
    position: absolute; bottom: 8px; right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.75;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille14.png");
}

body.bastille .bs-gem-bottom-right { position: relative; }
body.bastille .bs-gem-bottom-right::after {
    content: "";
    position: absolute; bottom: 8px; right: 8px;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    pointer-events: none;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.8));
    background: no-repeat center/contain url("/images_2/bastille/bastille16.png");
}

/* ================================
   4) Bouton Glow - Or lumineux
   ================================ */
@keyframes bs-glow {
    0%, 100% {
        box-shadow:
            0 0 20px var(--bs-glow-gold),
            0 0 40px rgba(212, 175, 55, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow:
            0 0 30px var(--bs-glow-gold),
            0 0 60px rgba(212, 175, 55, 0.9),
            0 12px 35px rgba(0, 0, 0, 0.5);
    }
}
body.bastille .bs-glow {
    background: linear-gradient(135deg,
        var(--bs-navy) 0%,
        var(--bs-slate) 40%,
        var(--bs-gold) 100%);
    border: 3px solid var(--bs-gold);
    color: var(--bs-white) !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    position: relative;
    animation: bs-glow 2s ease-in-out infinite;
}
body.bastille .bs-glow::before {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--bs-gold), var(--bs-gold-light), var(--bs-gold));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    animation: bs-border-glow 2.5s ease-in-out infinite;
}
@keyframes bs-border-glow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
    body.bastille .bs-glow { animation: none; }
    body.bastille .bs-glow::before { animation: none; }
}

/* ================================
   5) Confettis dorés tombants
   ================================ */
body.bastille .bs-confetti { position: relative; overflow: visible; }
body.bastille .bs-confetti .confetti-piece {
    position: absolute; top: -8px; left: -10%;
    font-size: 24px;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    animation: bs-confetti-fall 7s ease-in-out infinite;
}
body.bastille .bs-confetti .confetti-piece:nth-child(2) { animation-delay: 1.0s; top: 12px; }
body.bastille .bs-confetti .confetti-piece:nth-child(3) { animation-delay: 2.0s; top: 30px; }
body.bastille .bs-confetti .confetti-piece:nth-child(4) { animation-delay: 3.0s; top: 45px; }
body.bastille .bs-confetti .confetti-piece:nth-child(5) { animation-delay: 4.0s; top: 60px; }

@keyframes bs-confetti-fall {
    0%   {
        transform: translateX(0) translateY(-50px) rotate(0deg);
        opacity: 0;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
    10%  {
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 1)) drop-shadow(0 4px 8px rgba(0,0,0,.7));
    }
    50%  {
        transform: translateX(50vw) translateY(50vh) rotate(180deg);
        filter: drop-shadow(0 0 20px rgba(240, 208, 96, 1)) drop-shadow(0 4px 10px rgba(0,0,0,.8));
    }
    100% {
        transform: translateX(110vw) translateY(100vh) rotate(360deg);
        opacity: 0;
        filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8)) drop-shadow(0 4px 6px rgba(0,0,0,.6));
    }
}
@media (prefers-reduced-motion: reduce) {
    body.bastille .bs-confetti .confetti-piece { animation: none; opacity: .7; }
}

/* ================================
   6) Particules scintillantes or (sparkles)
   ================================ */
@keyframes bs-float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: .7;
        box-shadow: 0 0 15px var(--bs-glow-gold);
    }
    50% {
        transform: translateY(-15px) translateX(4px) scale(1.4);
        opacity: 1;
        box-shadow: 0 0 30px var(--bs-glow-gold), 0 0 50px rgba(212, 175, 55, 0.5);
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: .7;
        box-shadow: 0 0 15px var(--bs-glow-gold);
    }
}
body.bastille .bs-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, var(--bs-white), var(--bs-gold) 50%, var(--bs-gold-light) 100%);
    animation: bs-float 3s ease-in-out infinite;
    opacity: .8;
    box-shadow: 0 0 20px var(--bs-glow-gold);
}
@media (prefers-reduced-motion: reduce) {
    body.bastille .bs-sparkle { animation: none; }
}

/* ================================
   7) Tooltip personnalisé - Premium
   ================================ */
body.bastille .bs-tooltip { position: relative; }
body.bastille .bs-tooltip::after {
    content: attr(data-tooltip);
    position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -6px);
    background: linear-gradient(135deg, var(--bs-navy), var(--bs-slate));
    color: var(--bs-cream);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    border: 2px solid var(--bs-gold);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow:
        0 0 20px var(--bs-glow-gold),
        0 8px 20px rgba(0,0,0,.4);
    transition: opacity .2s ease, transform .2s ease;
}
body.bastille .bs-tooltip:hover::after,
body.bastille .bs-tooltip:focus::after {
    opacity: 1;
    transform: translate(-50%, -12px);
}

/* ================================
   8) Gradients de section
   ================================ */
/* Fond chaleureux navy/crème pour sections alternées */
body.bastille .bs-gradient-warm {
    background:
        radial-gradient(700px at top center, rgba(212, 175, 55, 0.08), transparent 70%),
        radial-gradient(700px at bottom center, rgba(13, 27, 42, 0.06), transparent 70%),
        #FAFAFA;
    color: #1a1a1a;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Gradient intense navy profond */
body.bastille .bs-gradient-intense {
    background:
        radial-gradient(800px at top center, rgba(27, 40, 56, 0.8), transparent 70%),
        radial-gradient(800px at bottom center, rgba(212, 175, 55, 0.2), transparent 70%),
        var(--bs-navy);
    color: var(--bs-cream);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Fond noir avec halo doré en haut */
body.bastille .bs-dark-bg {
    position: relative;
    background: var(--bs-navy);
    color: var(--bs-cream);
    overflow: hidden;
}

body.bastille .bs-dark-bg::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 300px;
    pointer-events: none;
    background: radial-gradient(
        circle at top center,
        var(--bs-glow-gold) 0%,
        rgba(212, 175, 55, 0.4) 30%,
        rgba(240, 208, 96, 0.2) 50%,
        transparent 80%
    );
    z-index: 0;
}

body.bastille .bs-dark-bg > * {
    position: relative;
    z-index: 1;
}

/* ================================
   9) Countdown skinné - Or
   ================================ */
body.bastille .bs-countdown .cd__text {
    background: linear-gradient(135deg, var(--bs-navy), var(--bs-slate));
    color: var(--bs-gold-light);
    font-weight: 900;
    border: 3px solid var(--bs-gold);
    box-shadow:
        0 0 25px var(--bs-glow-gold),
        0 8px 25px rgba(0,0,0,.5);
}

/* ================================
   10) Conteneur toile animée (canvas)
   ================================ */
body.bastille .bs-web-wrap { position: relative; overflow: hidden; }

body.bastille .bs-web {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
}
body.bastille .bs-web canvas {
    width: 100%; height: 100%; display: block;
}

body.bastille .bs-web-wrap > .bs-web-content { position: relative; z-index: 1; }

/* ================================
   11) Style pour le prix barré dans les CTA
   ================================ */
body.bastille .cta-booking .price-strike,
body.bastille button .price-strike {
    text-decoration: line-through;
    color: #ffffff !important;
    font-weight: 700;
    margin: 0 0.25rem;
    opacity: 0.8;
}

body.bastille .cta-booking strong,
body.bastille button strong {
    color: var(--bs-gold-light) !important;
    font-weight: 900;
    font-size: 1.00em;
}

body.bastille .cta-booking {
    font-size: 0.75rem !important;
}

/* ================================
   12) Decor bas de section
   ================================ */
body.bastille .bs-bottom-decor {
    position: relative;
    overflow: hidden;
}

body.bastille .bs-bottom-decor::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--bs-gold) 20%,
        var(--bs-gold-light) 50%,
        var(--bs-gold) 80%,
        transparent);
    box-shadow: 0 0 15px var(--bs-glow-gold);
    pointer-events: none;
    z-index: 1;
}
