.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url("https://img.freepik.com/photos-gratuite/panneaux-solaires-toit-cellule-photovoltaique_335224-1324.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease-out;
}

.hero-title span {
    font-size: larger;
    font-style: italic;
    font-weight: lighter;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: -2rem;
    left: 0;        /* On colle le conteneur à gauche */
    width: 100%;    /* On lui donne toute la largeur de l'écran */
    display: flex;
    flex-direction: column;
    align-items: center; /* C'est ceci qui centre le bouton parfaitement */
    gap: 1rem;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.scroll-indicator a {
    font-size: 0.9rem;
    font-weight: bolder;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
    padding: 10px;
    border: 3px solid #ffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.scroll-indicator a:hover {
    background-color: white;
    color: black;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
}