/* ===================== */
/* SECTIONS */
/* ===================== */
section {
    padding: clamp(40px, 8vw, 80px) 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================== */
/* HEADER HERO */
/* ===================== */
header {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

/* ================================================ */
/* TITRE PRINCIPAL "PILOT ENFLAM" - EFFET 3D GRAFFITI */
/* ================================================ */

.metal-title {
  font-family: 'Anton', sans-serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: normal;
    color: #ffaa00;
    text-transform: uppercase;
    letter-spacing: 6px;
    line-height: 1.1;
    
    /* EFFET 3D MASSIF - Ombres décalées */
    text-shadow: 
        /* Contour noir épais */
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        
        /* Couches 3D orange/rouge */
        3px 3px 0px #ff5722,
        4px 4px 0px #ff4500,
        5px 5px 0px #ff3c00,
        6px 6px 0px #ff2200,
        7px 7px 0px #dd0000,
        8px 8px 0px #bb0000,
        9px 9px 0px #990000,
        10px 10px 0px #770000,
        
        /* Lueur orange intense */
        0 0 40px rgba(255, 170, 0, 0.9),
        0 0 60px rgba(255, 60, 0, 0.7),
        0 0 80px rgba(255, 60, 0, 0.5);
    
    /* Ombre portée globale */
    filter: drop-shadow(0 10px 30px rgba(255, 60, 0, 0.8));
    
    /* Animation de pulsation */
    animation: titlePulse 4s ease-in-out infinite;
    
    /* Performance */
    will-change: transform, text-shadow;
    transform: translateZ(0);
}

/* Animation pulsation douce */
@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 
            -2px -2px 0 #000,
            2px -2px 0 #000,
            -2px 2px 0 #000,
            2px 2px 0 #000,
            3px 3px 0px #ff5722,
            4px 4px 0px #ff4500,
            5px 5px 0px #ff3c00,
            6px 6px 0px #ff2200,
            7px 7px 0px #dd0000,
            8px 8px 0px #bb0000,
            9px 9px 0px #990000,
            10px 10px 0px #770000,
            0 0 40px rgba(255, 170, 0, 0.9),
            0 0 60px rgba(255, 60, 0, 0.7),
            0 0 80px rgba(255, 60, 0, 0.5);
    }
    50% {
        transform: scale(1.02);
        text-shadow: 
            -2px -2px 0 #000,
            2px -2px 0 #000,
            -2px 2px 0 #000,
            2px 2px 0 #000,
            4px 4px 0px #ff5722,
            5px 5px 0px #ff4500,
            6px 6px 0px #ff3c00,
            7px 7px 0px #ff2200,
            8px 8px 0px #dd0000,
            9px 9px 0px #bb0000,
            10px 10px 0px #990000,
            11px 11px 0px #770000,
            0 0 50px rgba(255, 170, 0, 1),
            0 0 70px rgba(255, 60, 0, 0.8),
            0 0 90px rgba(255, 60, 0, 0.6);
    }
}

/* VERSION MOBILE - Réduit les ombres pour perfs */
@media (max-width: 768px) {
    .metal-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 6px;
        
        /* Ombres réduites pour mobile */
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            2px 2px 0px #ff5722,
            3px 3px 0px #ff4500,
            4px 4px 0px #ff3c00,
            5px 5px 0px #ff2200,
            6px 6px 0px #dd0000,
            0 0 30px rgba(255, 170, 0, 0.9),
            0 0 50px rgba(255, 60, 0, 0.7);
    }
}

/* Au survol (desktop seulement) */
@media (hover: hover) {
    .metal-title:hover {
        animation: titleShake 0.5s ease-in-out;
    }
}

@keyframes titleShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-2px) rotate(-0.5deg); }
    75% { transform: translateX(2px) rotate(0.5deg); }
}


header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 20px;
    opacity: 0.9;
}

/* ===================== */
/* SECTION ACHETER CD */
/* ===================== */
.acheter-wrapper {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.scred-logo {
    display: block;
    max-width: 150px;
    margin: 0 auto 15px;
}

.acheter-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    margin: 10px auto 0;
}

.acheter-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 60, 0, 0.4);
}

/* ===================== */
/* SECTION MUSIQUE */
/* ===================== */
.youtube-player-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.video-thumb {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.video-thumb:hover {
    transform: scale(1.02);
}

.video-thumb img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 60, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.video-thumb:hover .play-btn {
    background: rgba(255, 60, 0, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.playlist-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Boutons plateformes musicales */
.btn-youtube {
    background: #FF0000;
}

.btn-youtube:hover {
    background: #cc0000;
}

.btn-spotify {
    background: #1DB954;
}

.btn-spotify:hover {
    background: #17a44b;
}

.btn-deezer {
    background: #7b2cff;
}

.btn-deezer:hover {
    background: #5a1ec2;
}

.btn-apple {
    background: #FA243C;
}

.btn-apple:hover {
    background: #d01d33;
}

/* ===================== */
/* SECTION DISCOGRAPHIE */
/* ===================== */
.artist-photo {
    text-align: center;
    margin-bottom: 40px;
}

.artist-photo img {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    border: 3px solid var(--primary);
    box-shadow: 0 10px 30px rgba(255, 60, 0, 0.4);
}

/* ===================== */
/* SECTION À PROPOS */
/* ===================== */
.apropos-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.apropos-content p {
    margin-bottom: 20px;
}

/* ===================== */
/* SECTION CONTACT */
/* ===================== */
.contact-wrapper {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary);
}

.contact-choice {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.contact-toggle {
    padding: 12px 25px;
    background: rgba(255, 60, 0, 0.1);
    border: 2px solid var(--primary);
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-toggle:hover {
    background: rgba(255, 60, 0, 0.2);
}

.contact-toggle.active {
    background: var(--primary);
    color: white;
}

.contact-panel {
    display: none;
}

.contact-panel.active {
    display: block;
}

.contact-panel form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-panel input,
.contact-panel textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 60, 0, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
}

.contact-panel input:focus,
.contact-panel textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* ===================== */
/* SECTION MERCI */
/* ===================== */
.merci-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.merci-item {
    text-align: center;
}

.merci-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    transition: all 0.3s;
}

.merci-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 60, 0, 0.5);
}

.merci-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.merci-item p {
    font-weight: 600;
}

.merci-item a {
    color: var(--primary);
    transition: color 0.3s;
}

.merci-item a:hover {
    color: var(--primary-hover);
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--primary);
    margin-top: 60px;
}

.socials {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.socials a {
    color: var(--text-light);
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--primary);
}

/* ===================== */
/* BOUTON RETOUR EN HAUT */
/* ===================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 60, 0, 0.4);
}

#backToTop.show {
    display: flex;
}

#backToTop:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 60, 0, 0.6);
}
