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

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0057b8;
    color: white;
    line-height: 1.6;
}

/* HERO */

.hero {
    color: white;
    text-align: center;
    padding: 80px 10px;
}

.hero-content {
    flex: 1;
    min-width: 280px;
}

.hero h1 {
    font-size: 5rem;
}

.subtitle {
    font-size: 1.3rem;
    background-color: #386fd4;
    padding: 10px 20px;
    display: inline-block;
}

.hero-image img {
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    align-items: center;
}

/* INTRO */

.intro {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    border-top: 1px solid #386fd4;
    border-bottom: 1px solid #386fd4;
}

.intro-text {
    max-width: 800px;
    padding-right: 20px;
}

.intro h2 {
    font-size: 3rem;
}
.intro p {
    font-size: 1.2rem;
}
.intro-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
}
 




/* FEATURES */

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.feature {
    background: #386fd4;
    color: white;
    width: 520px;
    padding: 30px;
    border-radius: 10px;
    
}

.feature h3 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 40px;
}

.feature p {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto; /* centre le paragraphe */
    line-height: 1.3;
    margin-bottom: 40px;
}


/* EXPLORE */

.explore {
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid #386fd4;
    border-bottom:  1px solid #386fd4;
}
.explore h2 {
    font-size: 3rem;
 }   
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.card {
    width: 280px;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.card h4 {
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* connecter */

.connecter-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    border-bottom: 1px solid #386fd4;
}

.connecter {
    color: white;
    max-width: 1000px;
    padding: 30px;
    border-radius: 10px;
    display: flex;          /* 🔥 IMPORTANT */
    gap: 40px;
    flex-wrap: wrap;              /* espace entre les deux blocs */
}
.connecte {
    flex: 1;
    min-width: 280px;
}
.connecte:first-child {
    background-color: #386fd4; /* couleur différente pour le bloc gauche */
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 280px;
}

.connecte:last-child {
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 280px;
}
.connecte h4 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 40px;
}

.connecte p {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 40px;
}


/* FOOTER */

footer {
    background: #0057b8;    /* couleur du footer */
    color: white;
    padding: 40px 20px;
    width: 80%;             /* largeur à 80% de la page */
    margin: 40px auto;      /* centre horizontalement et espace au dessus */
    text-align: center;     /* centre le contenu */
    border-radius: 10px;    /* coins arrondis */
}

footer h3 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 20px;
}

footer h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

footer p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

footer img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

footer a {
    color: white;
    text-decoration: underline;
}

.social {
    margin-top: 20px;
}
