/* Reset + Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Heebo", sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Containers */
.index-container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../images/3.jpg'); /* pour le path mettre ---> ../images/(nom de l'image) */
    background-size: cover;
    background-position: center;
    height: 75vh; /* à modifier*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

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

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-btn {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #81c3c9;
    color: #fff;
}

.btn.primary:hover {
    background-color: #6db1b8;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn.secondary:hover {
    background-color: #fff;
    color: #81c3c9;
}

.btn.cta {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    background-color: #81c3c9;
    color: #fff;
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 8px;
}

.btn.cta:hover {
    background-color: #6db1b8;
}

/* Prewhy Section */
.prewhy {
    padding: 4rem 0;
    text-align: center;
    background-color: #fff;
}

.prewhy h3 {
    font-size: 1.6rem;
    color: #5a9ba0;
    margin-bottom: 1.5rem;
}

.prewhy p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Why Section */
.why {
    padding: 4rem 0;
    background-color: #F6FCFD;
    text-align: center;
}

.why h2 {
    font-size: 2rem;
    color: #5a9ba0;
    margin-bottom: 2rem;
}

.why p {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
}

strong {
    color: #5a9ba0;
}

/* How It Works */
.how {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.how h2 {
    font-size: 2rem;
    color: #5a9ba0;
    margin-bottom: 2rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    background-color: #F6FCFD;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px 0px rgba(0, 0, 0,0.4);
}

.step img {
    width: 50px;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.step p {
    font-size: 1rem;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .prewhy p,
    .why p,
    .step p {
        font-size: 1rem;
    }
}
