.discovery {
    background-image: url('/images/backgroung_navbar.jpeg'); /* chemin vers ton image */
    background-size: cover; /* pour couvrir toute la section */
    background-position: center; /* centrer l'image */
    background-repeat: no-repeat; /* éviter la répétition */
    padding: 20px 0; /* espace interne pour que le contenu ne colle pas aux bords */
}


.discovery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1%;
    box-sizing: border-box;
}

.discovery-container h1 {
    color: #202e52;
    text-align: center;
    font-size: 2.5em;
}

.discovery-container h2 {
    color: #202e52;
    text-align: center;
    margin: 10px 0;
}

.discovery-container .discovery-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* deux colonnes égales */
    gap: 40px;
    width: 100%;
    margin-top: 30px;
    align-items: center;
}

.discovery-text {
    max-width: 350px;       /* limite la largeur du texte */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;     /* centre le texte à l'intérieur du bloc */
    margin: 0 auto;         /* centre le bloc dans sa colonne */
}

.discovery-text p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.discover-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff9966c9;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: large;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.discover-btn:hover {
    background-color: #a32100;
}

.discovery-img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    justify-self: center;
}

/* Responsive : en dessous de 768px, on empile */
@media (max-width: 768px) {
    .discovery-container .discovery-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}