* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #09090b; /* Gris très foncé neutre, sans sous-ton bleu */
    color: #f4f4f5;
}

/* Scrollbar en ton gris neutre */
::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Image de fond fixe avec opacité progressive au scroll */
#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ajuste le chemin selon la localisation réelle de ton image : */
    background-image: url('../../assets/img/background4.png'); /* Si à la racine du projet */
    /* background-image: url('../img/background4.png'); Si dans assets/img/ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.15s ease-out;
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Classe ajoutée dynamiquement par IntersectionObserver */
section.hero-animation {
    opacity: 1;
    transform: translateY(0);
}

/* Effets de survol des cartes */
.card-hover {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

button,
input,
textarea {
    border: none;
    outline: none;
}

input,
textarea {
    color: white;
}

textarea {
    resize: none;
}

input::placeholder,
textarea::placeholder {
    color: #64748b;
}
