/* 🌍 Styles globaux */
body {
    font-family: 'Noto Serif Display', serif;
    background-color: #ffffff; /* Fond blanc pour un style épuré */
    color: #1d4e56;
    margin: 0;
    padding: 0;
}

/* ✅ Navigation */
header {
    background-color: #ffffff; /* Fond blanc pour plus de modernité */
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0; /* Séparation subtile */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-width: 100px;
    height: auto;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
}
 
nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #1d4e56;
    text-decoration: none;
    font-family: 'Agrandir Grand', sans-serif;
    font-size: 18px;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #358e9d;
}

/* 🎯 Bannière minimaliste */
.hero {
    width: 100%;
    height: 150px; /* Hauteur plus fine */
    background-color: #f8f9fa; /* Gris très clair pour ne pas être trop coloré */
    color: #1d4e56;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.hero h1 {
    font-family: 'Amsterdam Four', cursive;
    font-size: 2rem;
    margin-bottom: 5px;
}

.hero p {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 🎨 Bouton principal */
.btn {
    padding: 10px 18px;
    background-color: transparent;
    color: #1d4e56;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Agrandir Grand', sans-serif;
    font-size: 1rem;
    border: 1px solid #1d4e56;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

.btn:hover {
    background-color: #1d4e56;
    color: white;
}

/* 📌 Section "Pourquoi choisir JDB" */
.content {
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
    padding: 30px;
}

.content h2 {
    font-family: 'Amsterdam Four', cursive;
    font-size: 2.3rem;
    color: #1d4e56;
    margin-bottom: 10px;
}

.content p {
    font-family: 'Noto Serif Display', serif;
    font-size: 1.1rem;
    color: #444;
    opacity: 0.9;
}

/* 📞 Formulaire de contact */
form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-family: 'Noto Serif Display', serif;
}

form button {
    width: 100%;
    background-color: #1d4e56;
    color: white;
    padding: 12px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

form button:hover {
    background-color: #358e9d;
}

/* 📢 Footer */
footer {
    background-color: #f8f9fa;
    color: #1d4e56;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

/* 📌 Bannière sous le menu */
.banner {
    width: 100%;
    background-color: #eaf3f8; /* Fond bleu pastel */
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #d6e1e7; /* Légère séparation */
}

.banner h1 {
    font-family: 'Amsterdam Four', cursive;
    font-size: 2rem;
    color: #1d4e56;
    margin: 0;
}

/* 📌 Bannière sous le menu */
.banner {
    width: 100%;
    background-color: #eaf3f8; /* Fond bleu pastel */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #c5d1d8; /* Ligne fine en haut */
    border-bottom: 1px solid #c5d1d8; /* Ligne fine en bas */
}

.banner h1 {
    font-family: 'Noto Serif Display', serif;
    font-size: 2.5rem;
    color: #1d4e56;
    margin: 0;
    font-weight: normal;
}

.banner h1 em {
    font-style: italic;
}

.banner h1 strong {
    font-weight: bold;
}

/* 📌 Conteneur de la vidéo */
.video-container {
    width: 100%;
    max-width: 800px; /* Ajuste la taille max */
    margin: 40px auto;
    text-align: center;
}

/* 📌 Vidéo */
.video-container video {
    width: 70%;
    height: auto;
    border-radius: 10px; /* Coins arrondis */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Légère ombre */
    object-fit: cover;
}

/* 📌 Justifier le texte dans la section À propos */
.about p {
    text-align: justify;
    line-height: 1.6; /* Espacement pour une meilleure lecture */
}

/* 📌 Ajuster les marges sur la page À propos */
.about {
    max-width: 900px; /* Ajuste la largeur maximale */
    margin: 50px auto; /* Centre le contenu avec une marge automatique */
    padding: 0 40px; /* Ajoute de l'espace sur les côtés */
    text-align: justify;
    line-height: 1.6; /* Espacement des lignes pour améliorer la lisibilité */
}


/* 📌 Centrer le bouton "Télécharge l'application" */
.about .btn {
    display: block; /* Permet de gérer la largeur et l'alignement */
    width: fit-content; /* Ajuste la largeur au texte du bouton */
    margin: 20px auto; /* Centre horizontalement et ajoute un espacement */
    padding: 12px 20px; /* Ajuste le padding pour un bouton plus visible */
    background-color: #1d4e56; /* Couleur du bouton */
    color: white; /* Couleur du texte */
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 8px; /* Coins arrondis */
    transition: background 0.3s ease-in-out;
}

.about .btn:hover {
    background-color: #358e9d; /* Effet au survol */
}








/* 📌 Section fonctionnalités */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grille responsive */
    gap: 20px; /* Espacement entre les blocs */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 📌 Style des blocs */
.feature-box {
    background: url('assets/images/nuage.png') no-repeat center center;
    background-size: cover; /* Ajuste l'effet de nuage */
    border: 2px solid #1d4e56; /* Bordure fine */
    border-radius: 20px; /* Coins arrondis */
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #1d4e56;
    font-family: 'Noto Serif Display', serif;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Ombre légère */
    transition: transform 0.3s ease-in-out;
}

/* 📌 Effet au survol */
.feature-box:hover {
    transform: scale(1.05); /* Zoom léger */
}



/* 📌 Conteneur général centré */
.container {
    max-width: 900px; /* Largeur identique à la page À propos */
    margin: 50px auto; /* Centre le contenu */
    padding: 0 40px; /* Ajoute des marges latérales */
    text-align: justify;
}

/* 📌 Section des fonctionnalités */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Grille responsive */
    gap: 20px; /* Espacement entre les blocs */
    margin: 40px 0;
}

/* 📌 Style des blocs */
.feature-box {
    background: url('assets/images/nuage.png') no-repeat center center;
    background-size: cover;
    border: 2px solid #1d4e56;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: #1d4e56;
    font-family: 'Noto Serif Display', serif;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* 📌 Effet au survol */
.feature-box:hover {
    transform: scale(1.05);
}
