/* ============================================
   VERSION THÉMATIQUE - DESIGN MONTAGNE/ALPINE
   ============================================ */

/* Container principal - Thème montagne */
.via-description {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    border-radius: 20px;
    padding: 35px;
    color: #ecf0f1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Effet texture montagne en arrière-plan */
.via-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    pointer-events: none;
}

/* Badge "Classique" en haut à droite */
.via-description::after {
    content: '⛰️ VIA FERRATA';
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Titres principaux */
.via-description h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #3498db;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(52, 152, 219, 0.5);
}

/* Sous-titres */
.via-description h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #3498db;
    position: relative;
    z-index: 1;
    display: inline-block;
    background: rgba(52, 152, 219, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Paragraphes */
.via-description p {
    font-size: 16px;
    line-height: 1.8;
    margin: 15px 0;
    color: #bdc3c7;
    position: relative;
    z-index: 1;
}

/* Mise en avant du texte en gras */
.via-description strong {
    color: #f39c12;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Liste des points forts */
.via-description ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.via-description ul li {
    background: rgba(52, 152, 219, 0.12);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    margin: 12px 0;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.via-description ul li::before {
    content: '▸';
    color: #f39c12;
    font-size: 20px;
    margin-right: 12px;
    font-weight: bold;
}

.via-description ul li:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateX(8px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
    border-left-width: 6px;
}

/* Tableau des caractéristiques techniques */
.via-description table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    background: rgba(52, 73, 94, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.via-description table tr {
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.via-description table tr:last-child {
    border-bottom: none;
}

.via-description table td {
    padding: 18px 22px;
    font-size: 15px;
    color: #ecf0f1;
}

.via-description table td:first-child {
    font-weight: 600;
    width: 40%;
    color: #3498db;
    background: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.via-description table td:last-child {
    font-weight: 600;
    text-align: right;
    color: #f39c12;
    font-size: 16px;
}

/* Hover effect sur les lignes du tableau */
.via-description table tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* Dernière ligne avec la taille minimale */
.via-description > p:last-child {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 2px solid #e74c3c;
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Icône de sécurité pour la taille minimale */
.via-description > p:last-child::before {
    content: '⚠️ ';
    font-size: 20px;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .via-description {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .via-description::after {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .via-description h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .via-description h4 {
        font-size: 18px;
        margin: 25px 0 12px 0;
        padding: 6px 12px;
    }
    
    .via-description ul li {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .via-description table td {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .via-description {
        padding: 20px 15px;
    }
    
    .via-description::after {
        position: static;
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .via-description h3 {
        font-size: 22px;
    }
    
    .via-description h4 {
        font-size: 17px;
        padding: 5px 10px;
    }
    
    .via-description ul li {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .via-description ul li::before {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .via-description table td {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .via-description table td:first-child {
        font-size: 12px;
    }
    
    .via-description > p:last-child {
        font-size: 15px;
        padding: 15px 18px;
    }
}

/* Animation d'entrée avec effet de montée */
@keyframes mountainRise {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.via-description {
    animation: mountainRise 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pulse subtil pour attirer l'attention */
@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 20px 50px rgba(52, 152, 219, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.via-description:hover {
    animation: subtlePulse 2s ease-in-out infinite;
}
