/**
 * Hero Avantages - Hero Section
 * Theme: Hello Elementor Child
 * Version: 1.0.0
 */

.hero-avantages {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Motif géométrique subtil */
.hero-av-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image:
        linear-gradient(30deg, #c1a35f 12%, transparent 12.5%, transparent 87%, #c1a35f 87.5%, #c1a35f),
        linear-gradient(150deg, #c1a35f 12%, transparent 12.5%, transparent 87%, #c1a35f 87.5%, #c1a35f);
    background-size: 80px 140px;
}

/* Cercles décoratifs */
.hero-av-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193, 163, 95, 0.1) 0%, transparent 70%);
}

.hero-av-circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: pulse-circle 15s infinite ease-in-out;
}

.hero-av-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: pulse-circle 20s infinite ease-in-out reverse;
}

@keyframes pulse-circle {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.hero-av-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    z-index: 2;
}

/* Section header */
.hero-av-header {
    text-align: center;
    margin-bottom: 80px;
}

.hero-av-badge {
    display: inline-block;
    padding: 10px 24px;
    background: #c1a35f;
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(193, 163, 95, 0.3);
}

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

.hero-av-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-av-title-accent {
    color: #c1a35f;
}

.hero-av-subtitle {
    font-size: 20px;
    color: #666666;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* Grille des avantages */
.hero-av-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.hero-av-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-av-card:nth-child(1) { animation-delay: 0.5s; }
.hero-av-card:nth-child(2) { animation-delay: 0.6s; }
.hero-av-card:nth-child(3) { animation-delay: 0.7s; }
.hero-av-card:nth-child(4) { animation-delay: 0.8s; }
.hero-av-card:nth-child(5) { animation-delay: 0.9s; }
.hero-av-card:nth-child(6) { animation-delay: 1s; }

.hero-av-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c1a35f 0%, #d4b76f 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-av-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(193, 163, 95, 0.15);
    border-color: #c1a35f;
}

.hero-av-card:hover::before {
    transform: scaleX(1);
}

.hero-av-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #c1a35f 0%, #d4b76f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(193, 163, 95, 0.2);
}

.hero-av-card:hover .hero-av-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(193, 163, 95, 0.3);
}

.hero-av-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.hero-av-card-text {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

/* Section CTA finale */
.hero-av-cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 1.1s backwards;
}

.hero-av-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(193, 163, 95, 0.1) 0%, transparent 70%);
}

.hero-av-cta-content {
    position: relative;
    z-index: 2;
}

.hero-av-cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-av-cta-text {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-av-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    background: #c1a35f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-av-btn:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 163, 95, 0.4);
}

.hero-av-btn svg {
    transition: transform 0.3s;
}

.hero-av-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-av-container {
        padding: 60px 30px;
    }

    .hero-av-title {
        font-size: 48px;
    }

    .hero-av-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .hero-av-cta-section {
        padding: 50px 30px;
    }

    .hero-av-cta-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .hero-avantages {
        min-height: auto;
    }

    .hero-av-container {
        padding: 40px 20px;
    }

    .hero-av-header {
        margin-bottom: 50px;
    }

    .hero-av-title {
        font-size: 36px;
    }

    .hero-av-subtitle {
        font-size: 16px;
    }

    .hero-av-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-av-card {
        padding: 30px 25px;
    }

    .hero-av-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .hero-av-cta-section {
        padding: 40px 25px;
        border-radius: 16px;
    }

    .hero-av-cta-title {
        font-size: 24px;
    }

    .hero-av-cta-text {
        font-size: 16px;
    }

    .hero-av-btn {
        width: 100%;
        justify-content: center;
    }
}
