/* Style de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Bannière principale */
.hero {
    position: relative;
    background: url('images/banner.jpg') no-repeat center center/cover;
    background-color: #0d2b45; /* Couleur de secours si l'image ne charge pas */
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.hero h2 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 5px;
}

.hero .line {
    width: 60px;
    height: 4px;
    background-color: #00adb5;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Grille des cartes */
.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Style de chaque carte */
.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Fix pour aligner parfaitement la hauteur des images */
.card-image {
    height: 120px;            /* Zone d'image de hauteur fixe */
    display: flex;
    align-items: center;      /* Centre l'image verticalement */
    justify-content: center;   /* Centre l'image horizontalement */
    margin-bottom: 20px;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;         /* L'image s'adapte sans dépasser les 120px */
    object-fit: contain;     /* Conserve les proportions sans déformer */
}

.card h3 {
    color: #112d4e;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    transition: background 0.3s ease;
}

.btn-primary { background-color: #3f72af; }
.btn-primary:hover { background-color: #112d4e; }

.btn-secondary { background-color: #3f72af; }
.btn-secondary:hover { background-color: #112d4e; }

.btn-whatsapp { background-color: #25d366; }
.btn-whatsapp:hover { background-color: #128c7e; }

/* Pied de page */
footer {
    text-align: center;
    padding: 25px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    margin-top: 50px;
    font-size: 0.85rem;
    color: #555;
}

/* Adaptations Mobile */
@media (max-width: 768px) {
    .hero { height: 200px; }
    .hero h1 { font-size: 2rem; }
    .hero h2 { font-size: 1rem; }
    .container { margin: 20px auto; }
}
/* Style du Formulaire d'inscription */
.signup-form .form-group {
    margin-bottom: 18px;
}

.signup-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.signup-form input:focus,
.signup-form select:focus {
    border-color: #3f72af;
    outline: none;
}