/**
 * Hero Section Styles
 * Le Phare des Décideurs
 */

/* Section hero principale */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 5rem;
}

/* Image de fond plage/coucher de soleil */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('../images/sections/fond-plage.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Grid hero 2 colonnes */
.hero-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    min-width: 320px;
}

/* SVG Phare */
.hero-logo {
    height: 90px;
    flex-shrink: 0;
    margin-bottom: 2rem;
}

/* Titre hero */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    margin-bottom: 3rem;
    text-align: left;
    padding-bottom: 0;
}

/* Conteneur des boutons hero */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Conteneur des photos membres */
.hero-photos-container,
#hero-photos-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cercles flous en arrière-plan */
.hero-blur-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-blur-circle--1 {
    top: 5%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: rgba(196, 154, 108, 0.15);
    filter: blur(8px);
}

.hero-blur-circle--2 {
    top: 15%;
    right: 8%;
    width: 60px;
    height: 60px;
    background: rgba(26, 47, 63, 0.1);
    filter: blur(6px);
}

.hero-blur-circle--3 {
    bottom: 20%;
    left: 10%;
    width: 70px;
    height: 70px;
    background: rgba(196, 154, 108, 0.12);
    filter: blur(7px);
}

.hero-blur-circle--4 {
    bottom: 10%;
    right: 15%;
    width: 90px;
    height: 90px;
    background: rgba(26, 47, 63, 0.08);
    filter: blur(10px);
}

.hero-blur-circle--5 {
    top: 50%;
    left: 2%;
    width: 65px;
    height: 65px;
    background: rgba(196, 154, 108, 0.1);
    filter: blur(8px);
}

.hero-blur-circle--6 {
    top: 35%;
    right: 5%;
    width: 75px;
    height: 75px;
    background: rgba(26, 47, 63, 0.12);
    filter: blur(9px);
}

/* Photo centrale grande */
.hero-main-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#hero-main-photo-container,
.hero-main-photo > div:first-child {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    background-color: var(--color-white);
}

.hero-main-photo img,
#hero-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Badge sur la photo centrale */
.hero-main-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 11;
    white-space: nowrap;
}

/* Petites photos autour */
.hero-small-photo,
.hero-member-photo {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.hero-small-photo img,
.hero-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Positions des petites photos - DESKTOP */
.hero-small-photo--1 {
    width: 75px;
    height: 75px;
    top: 12%;
    left: 20%;
    z-index: 5;
}

.hero-small-photo--2 {
    width: 75px;
    height: 75px;
    top: 12%;
    right: 20%;
    z-index: 5;
}

.hero-small-photo--3 {
    width: 75px;
    height: 75px;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 5;
}

.hero-small-photo--4 {
    width: 75px;
    height: 75px;
    bottom: 12%;
    right: 20%;
    z-index: 5;
}

.hero-small-photo--5 {
    width: 75px;
    height: 75px;
    bottom: 12%;
    left: 20%;
    z-index: 5;
}

.hero-small-photo--6 {
    width: 75px;
    height: 75px;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 6rem;
        min-height: auto;
    }

    .hero-section-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .hero-content {
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }

    .hero-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-photos-container,
    .hero-photos-wrapper {
        height: 460px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-main-photo {
        width: 270px;
        height: 270px;
    }

    #hero-main-photo-container,
    .hero-main-photo > div:first-child,
    .hero-photo-circle-main {
        width: 270px;
        height: 270px;
    }

    .hero-main-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }

    .hero-blur-circle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-photos-container,
    .hero-photos-wrapper {
        height: calc(100vw - 3rem);
        max-width: 400px;
    }

    .hero-main-photo {
        width: 240px;
        height: 240px;
    }

    #hero-main-photo-container,
    .hero-main-photo > div:first-child,
    .hero-photo-circle-main {
        width: 240px;
        height: 240px;
    }

    .hero-small-photo {
        width: 60px;
        height: 60px;
    }
    .hero-small-photo--1 {
        top: 2%;
        left: 15%;
    }

    .hero-small-photo--2 {
        top: 2%;
        right: 15%;
    }

    .hero-small-photo--3 {
        top: 50%;
        right: -5%;
    }

    .hero-small-photo--4 {
        bottom: 2%;
        right: 15%;
    }

    .hero-small-photo--5 {
        bottom: 2%;
        left: 15%;
    }

    .hero-small-photo--6 {
        top: 50%;
        left: -5%;
    }
}

/* Animation de scroll */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Icône phare en bas du hero */
.hero-footer-lighthouse {
    width: 140px;
    height: 70px;
}

/* Classes manquantes pour home-hero.php */
.hero-container {
    position: relative;
    z-index: 10;
}

.hero-photos-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1/1;
}

.hero-main-photo-inner {
    position: relative;
}

/* .hero-photo-circle-main {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--color-white);
}

.hero-photo-circle-small {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--color-white);
} */

.hero-member-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Bande ticker en bas */
.hero-ticker-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1.25rem 0;
    overflow: hidden;
    z-index: 100;
}

.hero-ticker-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.hero-ticker-content {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
    flex-shrink: 0;
}

.hero-ticker-item {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    white-space: nowrap;
    flex-shrink: 0;
}
