/* MaChansonSpeciale.fr - Styles principaux */
/* Design moderne musical avec animations */

:root {
    /* Couleurs principales - Palette professionnelle */
    --primary-blue: #2563EB;
    --primary-navy: #1E40AF;
    --accent-teal: #0891B2;
    --cta-orange: #EA580C;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --dark-gray: #1E293B;
    --text-gray: #64748B;
    
    /* Gradients professionnels */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    --gradient-cta: linear-gradient(135deg, var(--cta-orange), #DC2626);
    --gradient-promo: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* Animations musicales */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes starGlow {
    0%, 100% { box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700; }
    50% { box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700; }
}

/* Étoiles et paillettes flottantes - Effet star */
.musical-notes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.note {
    position: absolute;
    font-size: 24px;
    color: var(--primary-blue);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

/* Étoiles brillantes - Plus discrètes et aléatoires */


.note:nth-child(7) { left: 10%; animation-delay: 0s; }
.note:nth-child(8) { left: 20%; animation-delay: 1s; }
.note:nth-child(9) { left: 30%; animation-delay: 2s; }
.note:nth-child(10) { left: 40%; animation-delay: 3s; }
.note:nth-child(11) { left: 50%; animation-delay: 4s; }
.note:nth-child(12) { left: 60%; animation-delay: 5s; }
.note:nth-child(13) { left: 70%; animation-delay: 1.5s; }
.note:nth-child(14) { left: 80%; animation-delay: 2.5s; }
.note:nth-child(15) { left: 90%; animation-delay: 3.5s; }

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Éléments décoratifs subtils pour la zone formulaire */
.order-form::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(37, 99, 235, 0.05) 50%, 
        transparent 70%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-form:hover::before {
    /* Suppression des effets de survol */
}

/* Motifs géométriques subtils */
.order-form::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="%232563EB" opacity="0.1"/><circle cx="15" cy="15" r="1.5" fill="%230891B2" opacity="0.1"/><circle cx="45" cy="45" r="1.5" fill="%230891B2" opacity="0.1"/><circle cx="45" cy="15" r="1" fill="%232563EB" opacity="0.08"/><circle cx="15" cy="45" r="1" fill="%232563EB" opacity="0.08"/></svg>') no-repeat;
    background-size: contain;
    opacity: 0.6;
    z-index: -1;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 8s ease-in-out infinite;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: slideInUp 1s ease-out;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.header .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.2s both;
}

/* Compteur promo */
.promo-banner {
    background: var(--gradient-promo);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
    /* box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3); */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.promo-banner.active-promo {
    background: linear-gradient(135deg, #00b894, #00a085);
    animation: pulse 2s infinite;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.promo-icon {
    font-size: 1.5em;
    animation: bounce 2s infinite;
}

.promo-count {
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.promo-price {
    font-size: 0.9em;
    opacity: 0.9;
}

.prix-barre {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.9em;
}

/* Classes d'urgence pour le système promo */
.urgence-forte {
    background: linear-gradient(135deg, #ff4757, #ff3742) !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

.urgence-moyenne {
    background: linear-gradient(135deg, #ff7675, #fd79a8) !important;
}

.urgence-faible {
    background: linear-gradient(135deg, #fdcb6e, #e17055) !important;
}

/* Animations pour le compteur */
.counter-update {
    animation: counterPulse 0.5s ease-in-out;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #ff6b35; }
    100% { transform: scale(1); }
}

.pulse-urgent {
    animation: pulseUrgent 1s infinite;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.promo-counter {
    font-size: 1.3rem;
    font-weight: 800;
}

/* Styles pour la séparation des lignes de promo */
.promo-main-text {
    margin-bottom: 8px;
}

.promo-counter-line {
    margin-top: 8px;
    font-size: 0.95em;
    opacity: 0.9;
}

/* Accroche dans le header */
.header-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.header-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-highlight:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.header-icon {
    font-size: 1.4em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.header-text {
    color: white;
    font-size: 0.9em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-highlights {
        gap: 20px;
        margin-top: 20px;
    }
    
    .header-highlight {
        padding: 10px 16px;
        gap: 6px;
    }
    
    .header-icon {
        font-size: 1.2em;
    }
    
    .header-text {
        font-size: 0.85em;
    }
}

/* Section principale */
.main-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Section formulaire avec arrière-plan simplifié */
.container {
    position: relative;
}

/* Arrière-plan uniforme pour toutes les sections */
.main-content, 
.process-section,
.music-demo-section {
    position: relative;
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

/* Fond principal avec gradient subtil */
.main-content::before,
.process-section::before,
.music-demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(251, 146, 60, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 30%);
    z-index: 0;
}

/* Contenu au-dessus des éléments décoratifs */
.main-content .container,
.process-section .container,
.music-demo-section .container {
    position: relative;
    z-index: 2;
}

/* Lignes décoratives subtiles */
.section-title {
    position: relative;
    z-index: 3;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    border-radius: 2px;
}

.section-subtitle {
    position: relative;
    z-index: 3;
}

/* Disposition en deux colonnes */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.form-column {
    position: relative;
    z-index: 2;
}

.features-column {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 50%, 
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    /* box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(37, 99, 235, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8); */
    z-index: 2;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.features-column:hover {
    /* Suppression des effets de survol */
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    border-radius: 2px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-icon-small {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 10px;
    flex-shrink: 0;
    /* box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); */
}

.feature-content {
    flex: 1;
}

.feature-title-small {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.feature-description-small {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin: 0;
}

/* Responsive pour les deux colonnes */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    
    .features-column {
        order: -1;
        padding: 25px;
        margin: 0 10px;
    }
    
    .features-title {
        font-size: 1.4rem;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-icon-small {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .two-column-layout {
        gap: 25px;
        margin-top: 25px;
    }
    
    .features-column {
        padding: 20px;
        margin: 0 5px;
    }
    
    .features-title {
        font-size: 1.3rem;
    }
    
    .feature-item {
        padding: 10px;
        gap: 12px;
    }
    
    .feature-icon-small {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .feature-title-small {
        font-size: 0.95rem;
    }
    
    .feature-description-small {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .header .subtitle {
        font-size: 1rem;
    }
    
    .features-column {
        padding: 15px;
        margin: 0;
    }
    
    .features-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .feature-item {
        padding: 8px;
        gap: 10px;
    }
    
    .feature-icon-small {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    
    .feature-title-small {
        font-size: 0.9rem;
    }
    
    .feature-description-small {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Formulaire de commande */
.order-form {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 50%, 
        rgba(255, 255, 255, 0.98) 100%);
    border-radius: 24px;
    padding: 45px;
    /* box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02); */
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(37, 99, 235, 0.15);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.order-form:hover {
    /* Suppression des effets de survol */
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 30px 0;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(10px);
    /* box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.05); */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    /* box-shadow: 
        0 0 0 4px rgba(37, 99, 235, 0.12),
        inset 0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(37, 99, 235, 0.15); */
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Prix dynamique */
.price-display {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
    border: 2px dashed var(--accent-teal);
}

.price-original {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-gray);
    margin-right: 10px;
}

.price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cta-orange);
}

.price-savings {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    text-align: center;
    /* box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); */
    animation: slideIn 0.5s ease-out;
}

.savings-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.savings-details {
    font-size: 1.2rem;
    font-weight: bold;
}

.savings-amount {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

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

/* Bouton CTA */
.cta-button {
    background: var(--gradient-cta);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3); */
}

.cta-button:hover {
    transform: translateY(-3px);
    /* box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4); */
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Garanties et témoignages */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2563EB !important;
    display: block;
}

.feature-icon.number-box {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    background: #2563EB !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .header .subtitle {
        font-size: 1.2rem;
    }
    
    /* Section paiement sécurisé responsive */
    .payment-option {
        padding: 20px !important;
    }
    
    .payment-option > div {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .payment-option > div > div:first-child {
        margin: 0 auto !important;
    }
    
    .payment-option > div > div:nth-child(2) {
        text-align: center !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:last-child {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .header .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 25px;
        margin: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-banner {
        font-size: 1rem;
    }
    
    .promo-counter {
        font-size: 1.1rem;
    }
    
    /* Amélioration section paiement sécurisé pour mobile */
    .payment-option {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    .payment-option > div > div:first-child {
        width: 60px !important;
        height: 40px !important;
        font-size: 1.5rem !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:first-child {
        font-size: 1rem !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:nth-child(2) {
        font-size: 0.85rem !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:last-child > span {
        font-size: 0.7rem !important;
        padding: 1px 6px !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0;
    }
    
    .header h1 {
        font-size: 1.6rem;
    }
    
    /* Section paiement sécurisé très petits écrans */
    .payment-option {
        padding: 12px !important;
    }
    
    .payment-option > div {
        gap: 10px !important;
    }
    
    .payment-option > div > div:first-child {
        width: 50px !important;
        height: 35px !important;
        font-size: 1.2rem !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:first-child {
        font-size: 0.95rem !important;
        margin-bottom: 3px !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:nth-child(2) {
        font-size: 0.8rem !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:last-child {
        margin-top: 5px !important;
    }
    
    .payment-option > div > div:nth-child(2) > div:last-child > span {
        font-size: 0.65rem !important;
        padding: 1px 5px !important;
        margin: 1px !important;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

/* États de validation */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success,
.form-select.success,
.form-textarea.success {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: #EF4444;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Styles pour le code promotionnel */
.promo-group {
    margin-bottom: 25px;
}

.promo-input-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.promo-input {
    flex: 1;
    min-width: 0;
}

.promo-button {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
}

.promo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.promo-button:active {
    transform: translateY(0);
}

.promo-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.promo-message {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.promo-message.success {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #BBF7D0;
    display: block;
}

.promo-message.error {
    background: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
    display: block;
}

.promo-message.loading {
    background: #EFF6FF;
    color: var(--primary-blue);
    border: 1px solid #DBEAFE;
    display: block;
}

/* Styles pour la quantité */
.quantity-info {
    margin-top: 8px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.quantity-info small {
    color: #1e40af;
    font-weight: 500;
    line-height: 1.4;
}

/* Styles pour les styles musicaux multiples */
.style-info {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

#styles-container .form-group {
    transition: all 0.3s ease;
}

#styles-container .form-group[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

#styles-container .form-group:not([style*="display: none"]) {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .promo-input-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .promo-button {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SECTION SUIVI DE COMMANDE ===== */
.order-tracking-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.tracking-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.tracking-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.tracking-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.tracking-form {
    max-width: 500px;
    margin: 0 auto;
}

.tracking-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.tracking-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.tracking-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.tracking-btn {
    padding: 15px 25px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: none;
    white-space: nowrap;
    align-self: center;
    max-width: 250px;
}

.tracking-btn:hover {
    /* Suppression des effets de survol */
}

.tracking-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.tracking-message {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 15px;
}

.tracking-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.tracking-message.loading {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.tracking-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Media query pour le mode responsive */
@media (max-width: 768px) {
    .tracking-input-group {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .tracking-input {
        flex: 1;
        width: auto;
    }
    
    .tracking-btn {
        align-self: stretch;
        max-width: none;
        white-space: nowrap;
    }
}

/* ===== MODAL DE SUIVI ===== */
.order-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-modal.show {
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.order-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--medium-gray);
    background: var(--light-gray);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--medium-gray);
    color: var(--dark-gray);
}

.modal-body {
    padding: 30px;
}

/* ===== DÉTAILS DE COMMANDE ===== */
.order-details {
    font-size: 1rem;
    line-height: 1.6;
}

.order-status {
    text-align: center;
    margin-bottom: 30px;
}

.status-badge {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--medium-gray);
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
}

.info-row.full-width {
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-weight: 500;
    color: var(--text-gray);
    min-width: 120px;
}

.info-value {
    font-weight: 600;
    color: var(--dark-gray);
    text-align: right;
    flex: 1;
}

.info-value.price {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.story-text {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.5;
}

.song-details,
.additional-songs,
.delivery-info {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--medium-gray);
}

.song-details h4,
.additional-songs h4,
.delivery-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.song-item:last-child {
    border-bottom: none;
}

.song-number {
    font-weight: 500;
    color: var(--text-gray);
}

.song-style {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 768px) {
    .tracking-input-group {
        flex-direction: column;
    }
    
    .tracking-btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-value {
        text-align: left;
    }
    
    .tracking-card {
        padding: 25px;
        margin: 20px;
    }
    
    .tracking-title {
        font-size: 1.5rem;
    }
}

/* Défilement fluide pour les liens vers la section musique */
html {
    scroll-behavior: smooth;
}

/* Styles pour les liens vers les exemples musicaux */
.music-demo-link:hover {
    background: rgba(255,255,255,1) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.music-demo-link-form:hover {
    background: rgba(37, 99, 235, 0.1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* Footer responsive styles */
footer {
    padding: 40px 20px !important;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin-bottom: 20px;
    line-height: 1.6;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 15px !important;
    }
    
    footer p {
        font-size: 0.85rem !important;
        margin-bottom: 15px;
    }
    
    footer p:first-child {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 25px 10px !important;
    }
    
    footer p {
        font-size: 0.8rem !important;
        margin-bottom: 12px;
    }
    
    footer p:first-child {
        font-size: 0.95rem !important;
        margin-bottom: 15px;
    }
}

/* Header title responsive styles */
@media (max-width: 768px) {
    h1[style*="font-size: 2rem"] {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 600px) {
    h1[style*="font-size: 2rem"] {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    h1[style*="font-size: 2rem"] {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
}