.badge {
    background: #f0f0f0;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--viking-red);
    text-transform: uppercase;
    display: inline-block;
}

/* --- SECTION BIENVENUE --- */
.welcome-section {
    padding: 100px 0 60px;
    background-color: var(--bg-light);
    position: relative;
}

/* Petite décoration subtile en haut */
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--viking-red);
    border-radius: 0 0 5px 5px;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

/* Petite décoration icône en haut de la carte */
.welcome-content::before {
    content: '\f1bb';
    /* Arbre FontAwesome si disponible, ou simple rond décoratif */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    color: var(--viking-green);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.welcome-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-top: 30px;
    color: var(--text-muted);
    font-weight: 500;
}

.features-bar {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 40px 0;
}

.features-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* Pour que ça reste propre sur mobile */
    gap: 20px;
}

.feature-item {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item strong {
    color: var(--viking-red);
    font-size: 2rem;
    display: block;
    /* Met le chiffre au-dessus du texte */
    line-height: 1;
    margin-bottom: 5px;
    font-weight: 800;
}

/* Petit ajustement pour mobile */
@media (max-width: 768px) {
    .features-bar {
        padding: 30px 0;
    }

    .feature-item {
        flex: 1 1 40%;
        /* 2 colonnes sur mobile */
        text-align: center;
    }
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.univers-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.univers-card:hover {
    transform: translateY(-10px);
}

/* --- SECTION AGENDA --- */
.agenda-section {
    background-color: var(--bg-light);
}

.viking-subtitle {
    font-size: 1.6rem;
    color: var(--viking-dark);
    margin-bottom: 25px;
    font-weight: 800;
}

.agenda-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.calendar-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.info-card {
    background: linear-gradient(145deg, var(--viking-dark) 0%, #2c3e50 100%);
    color: white;
    padding: 40px;
    border-radius: 30px;
    position: sticky;
    top: 100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top: 5px solid var(--viking-red);
}

.info-card h3 {
    color: var(--viking-red);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 800;
}

.info-card p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.viking-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.viking-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* --- LE CALENDRIER (CONTENEUR) --- */
.wpsbc-container {
    border: none !important;
    background: #fff;
    padding: 20px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    max-width: 100% !important;
}

.wpsbc-month-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c3e50 !important;
    padding: 15px 0 !important;
}

.wpsbc-prev,
.wpsbc-next {
    background: #f8f9fa !important;
    border-radius: 50% !important;
    transition: 0.3s;
}

.wpsbc-prev:hover,
.wpsbc-next:hover {
    background: var(--viking-red) !important;
    color: white !important;
}

.wpsbc-weekdays th {
    color: #bdc3c7 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    padding-bottom: 10px !important;
}

/* --- LES CASES (JOURS) --- */
.wpsbc-date {
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 2px !important;
    transition: transform 0.2s ease;
}

.wpsbc-date:hover {
    transform: scale(1.05);
    z-index: 10;
}

.wpsbc-date-inner {
    position: relative !important;
    z-index: 2 !important;
    color: white !important;
    font-weight: 700;
    height: 50px !important;
    line-height: 50px !important;
}

/* GESTION DES COULEURS (Via les items de légende) */
.wpsbc-legend-item-icon,
.wpsbc-legend-item-icon-color {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.wpsbc-legend-item-1 .wpsbc-legend-item-icon-color {
    background-color: #c0202c !important;
}

.wpsbc-legend-item-2 .wpsbc-legend-item-icon-color {
    background-color: #020202 !important;
}

.wpsbc-legend-item-3 .wpsbc-legend-item-icon-color {
    background-color: #efccc8 !important;
}

/* FOCUS SUR AUJOURD'HUI (Version Automatisée par attribut) */
/* Remplace [data-day="14"] par le jour actuel pour tester */
.wpsbc-date[data-day="14"][data-month="2"][data-year="2026"] {
    outline: 3px solid #c0202c !important;
    outline-offset: -3px;
}

/* --- LÉGENDE PERSONNALISÉE --- */
.viking-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.dot.full {
    background: #c0202c;
}

.dot.half {
    background: #efccc8;
}

.dot.closed {
    background: #020202;
}

.legend-item .label {
    font-weight: 700;
    font-size: 14px;
    color: var(--viking-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wpsbc-date-inner {
        height: 40px !important;
        line-height: 40px !important;
        font-size: 12px !important;
    }
}

/* --- SECTION SLIDER ACTIVITÉS --- */
.activities-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.activities-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.activity-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    scroll-snap-align: start;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.activity-card .card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 4px solid var(--viking-orange);
}

.activity-card .card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--viking-dark);
    margin: 0 0 15px 0;
    font-weight: 800;
}

.activity-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.activity-card .btn-link {
    color: var(--viking-red);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.activity-card:hover .btn-link {
    gap: 15px;
    /* Déplace la flèche vers la droite */
}

/* Scroll Snap pour Mobile */
@media (max-width: 991px) {
    .activity-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .activity-card {
        flex: 0 0 85%;
    }
}

.combo-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d0505 100%);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--viking-red);
}

.promo-badge {
    position: absolute;
    top: 15px;
    left: -90px;
    width: 250px;
    text-align: center;
    background: #ffc107; /* Jaune or pour l'alerte */
    color: #000;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: 900;
    transform: rotate(-45deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10;
}

.features-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    color: white;
    font-weight: 700;
    margin-top: 20px;
}

.bg-white-transparent {
    background: rgba(255, 255, 255, 0.05);
    height: 100%;
}

.old-price {
    text-decoration: line-through;
    color: #ffc107;
    font-size: 1.5rem;
    font-weight: 700;
}

.new-price {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.new-price span { font-size: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .features-horizontal { flex-direction: column; align-items: flex-start; }
    .new-price { font-size: 3.5rem; }
    
    /* Welcome & Section Headers globally */
    .welcome-section {
        padding: 50px 0 40px;
    }
    .welcome-content {
        padding: 30px 20px;
    }
    .welcome-content p {
        font-size: 1.05rem;
        margin-top: 20px;
    }
    .section-header h2.display-4 {
        font-size: 2.2rem;
    }
    .section-header {
        margin-bottom: 30px !important;
    }
    
    /* Agenda / Info Box Tweaks */
    .info-card {
        padding: 25px;
    }
    .calendar-card {
        padding: 20px;
    }
}

/* --- PLANNING CAROUSEL --- */
.planning-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-top: 30px;
}
.planning-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 40px calc(50vw - 250px); /* fallback */
    padding: 40px calc(50vw - clamp(150px, 40vw, 250px)); /* dynamically matches half slide width */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}
.planning-carousel::-webkit-scrollbar { 
    display: none; 
}
.planning-slide {
    flex: 0 0 calc(100% - 60px);
    max-width: 500px;
    scroll-snap-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
    display: flex;
    flex-direction: column;
}
.planning-slide.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}
.planning-slide img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 3px solid white;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.planning-title {
    text-align: center;
    margin-top: 20px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--viking-dark);
    text-transform: uppercase;
    transition: opacity 0.3s;
    opacity: 0;
}
.planning-slide.active .planning-title {
    opacity: 1;
}
@media (min-width: 768px) {
    .planning-slide {
        flex: 0 0 500px;
    }
}