/* Container */

.hero {
    position: relative;
    background-color: #1e3a5f;
    display: flex;
    align-items: start;
    overflow: visible;
    min-height: 92vh;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;

    max-width: 1280px;
    min-height: 92vh;
    width: 100%;

    margin: 0 auto;
    padding: 2rem 1.5rem;
    gap: 2rem;
}

.hero-grid {
    display: grid;
    gap: 0px;
    min-height: 50vh;
}

@media (min-width: 1024px) {
    .hero {
        align-items: center;
        overflow: hidden;
    }

    .hero-content {
        justify-content: space-around;

        height: 100%;
    }

    .hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 640px) {
    .hero-content {
        padding: 3rem 1.5rem;
    }
}

.little-hero {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.little-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.9), rgba(30, 58, 95, 0.7));
}

/* Badge */

.primary-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: #437ab9;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1rem;
}

.illustrator-hero-badge {
    display: flex;
    flex-direction: row;

    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    padding: 0.375rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0.25rem;

    backdrop-filter: blur(10px);

    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1rem;

    width: fit-content;

    border: 1px solid rgba(255, 255, 255, 0.2);
}

.illustrator-hero-badge p {
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.025em;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Aller', sans-serif;
    margin: 0px;
    color: #fff;
}

.illustrator-hero-badge:hover p {
    text-decoration: underline;
    color: white;
}

@media (min-width: 640px) {
    .illustrator-hero-badge {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .illustrator-hero-badge p {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

/* Title */

.hero-title {
    font-family: 'Aller', 'sans-serif';
    font-size: 1.5rem;
    line-height: 2rem;
    color: white;
}

.hero-subtitle {
    font-family: 'Aller', 'sans-serif';
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subpage-title {
    font-size: 3rem;
    line-height: 1;
    font-family: 'Aller', sans-serif;
    margin-bottom: 1rem;
    color: #fff;
    max-width: 768px;
}

.hero-subpage-description {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-family: 'Aller', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    max-width: 672px;
}

@media (min-width: 640px) {

    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 1rem;
        letter-spacing: -0.025em;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.625;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* ===== NAVIGATION DESKTOP (Arrows + Dots) ===== */

.hero-navigation-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .hero-navigation-desktop {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

.hero-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

.hero-nav-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Desktop Dots */

.hero-dots-desktop {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    height: 0.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    width: 0.5rem;
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.hero-dot.active {
    width: 2rem;
    background-color: white;
}

/* Hero css */

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-right-column {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {

    .hero-left-column {
        height: 100%;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-btn-scroll,
.hero-btn-contact {
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;
    padding: 0.625rem 1.5rem;

    border: none;
    border-radius: 0.5rem;

    transition: 0.2s;

    font-family: 'Aller', 'sans-serif';
    font-weight: 300;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.hero-btn-scroll {
    background-color: white;
    color: #1e3a5f;
}

.hero-btn-contact {
    background-color: transparent;
    color: white;

    border: 1px solid white;
}

.hero-btn-scroll:hover {
    background-color: #f9fafb;
    scale: 1.05;
}

.hero-btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.1);
    scale: 1.05;
    color: white;
}

.hero-btn-scroll:active,
.hero-btn-contact:active {
    scale: 0.95;
}

@media (min-width: 640px) {

    .hero-buttons {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-direction: row;
    }

    .hero-btn-scroll,
    .hero-btn-contact {
        padding: 0.875rem 2rem;

        font-size: 1rem;
        line-height: 1.5rem;
    }
}

.hero-stats {
    max-width: 896px;
    align-items: start;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 2rem;
    gap: 0.75rem;

    border-top: 1px solid rgba(255, 255, 255, .2);
}

@media (min-width: 640px) {

    .hero-stats {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {

    .hero-stats {
        gap: 2rem;
    }
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-label {
    font-size: .75rem;
    line-height: 1rem;
    letter-spacing: 0.025em;

    color: rgba(255, 255, 255, .6);

    text-transform: uppercase;

    margin-bottom: 0.25rem;
}

.hero-stat .stat-value {
    font-size: 1rem;
    line-height: 1.25;
    font-family: 'Aller', 'sans-serif';
    color: white;
}

.hero-stat .stat-subtitle {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 640px) {

    .hero-stat .stat-label {
        font-size: 0.875rem;
        line-height: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .hero-stat .stat-value {
        font-size: 1.25rem;
    }

    .hero-stat .stat-subtitle {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media (min-width: 768px) {

    .hero-stat .stat-value {
        font-size: 1.5rem;
    }

    .hero-stat .stat-subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}


.hero-poles {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-pole {
    min-width: 300px;
    max-width: 400px;
    margin-right: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    border: 4px solid rgba(255, 255, 255, .2);
}

.hero-pole.active {
    opacity: 1;
    transform: translateX(0);
}

.hero-pole img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-pole:hover img {
    transform: scale(1.05);
}

.pole-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0rem;
}

@media (min-width: 640px) {
    .pole-dots {
        margin-top: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .pole-dots {
        display: none;
    }
}

.pole-dots .dot {
    height: 0.5rem;
    width: 0.5rem;

    background-color: rgba(255, 255, 255, .4);
    border-radius: 9999px;
    border: none;

    cursor: pointer;

    transition: 0.2s;
}

.pole-dots .dot:hover {
    background-color: rgba(255, 255, 255, .6);
}

.pole-dots .dot.active {
    width: 2rem;
    background: white;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.pole-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.pole-frame {
    position: relative;
    width: 100%;
    max-width: 32rem;
    height: 350px;
    border-radius: 1rem;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

@media (min-width: 1024px) {


    .pole-wrapper {
        height: 450px;
    }

    .pole-frame {
        height: 450px;
    }
}

.pole-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.pole-card.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.pole-card.is-exit {
    opacity: 0;
    transform: translateX(-50px);
}

@media (min-width: 1024px) {
    .pole-card {
        height: 450px;
    }
}

.pole-card:hover {
    transform: scale(1.05);
}

.pole-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pole-card:hover .pole-image {
    transform: scale(1.1);
}

.pole-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 48, 92, 0.6), transparent);
    transition: background 0.3s ease;
}

.pole-card:hover .pole-overlay {
    background: linear-gradient(to top,
            rgba(31, 48, 92, 0.7),
            transparent);
}

.pole-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.pole-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border-radius: 0.25rem;
    color: #fff;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.pole-card:hover .pole-badge {
    background: rgba(255, 255, 255, 0.3);
}

.pole-icon svg {
    width: 12px;
    height: 12px;
}

.pole-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.pole-card:hover .pole-title {
    transform: scale(1.05);
}

/* Animation d’entrée (équivalent motion initial/animate) */
@keyframes pole-enter {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== SCROLL INDICATOR ===== */

.hero-scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-btn {
    border: none;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 1s infinite;
}

.hero-scroll-btn:hover {
    color: rgba(255, 255, 255, 1);
}

.hero-scroll-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 640px) {
    .hero-scroll-btn svg {
        width: 2rem;
        height: 2rem;
    }
}

/* Bottom section container */
.hero-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}