/* styles.css */

header {
    height: auto;
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(107,180,66,0.08) 50%, rgba(61,153,112,0.12) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107,180,66,0.15);
}

.header1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    gap: 12px;
    flex-wrap: wrap; /* Permet le passage à la ligne sur petites largeurs */
}
.header1 img {
    width: clamp(160px, 22vw, 300px); /* Logo responsive */
    height: auto; /* Conserve les proportions de l'image */
}
.connexion-button {
    background: linear-gradient(135deg, #6bb442, #3d9970);
    border: 1px solid rgba(107,180,66,0.3);
    color: white;
    padding: 0px 24px;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    height: 48px;
    transition: all 200ms ease;
    box-shadow: 0 2px 8px rgba(107,180,66,0.15);
}

.header1 a{
    right: auto;
}

.connexion-button:hover {
    background: linear-gradient(135deg, #3d9970, #6bb442);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107,180,66,0.25);
}



nav {
    background: transparent;
    padding: 0 8px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 56px;
}

nav a {
    color: #2a2a2a;
    text-decoration: none;
    transition: all 200ms ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: transparent;
}

nav a:hover {
    background: linear-gradient(135deg, rgba(107,180,66,0.12), rgba(61,153,112,0.08));
    color: #3d9970;
    transform: translateY(-1px);
}

nav a:not(:last-child) {
    margin-right: 10px; /* Ajoute un espace entre les liens, sauf pour le dernier */
}



.header2 {
    background-color: #006400;
    height: 50px;
    width: auto;
}

footer {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(89,89,89,0.08) 50%, rgba(107,180,66,0.06) 100%);
    border-top: 1px solid rgba(107,180,66,0.15);
    backdrop-filter: blur(10px);
    color: #2a2a2a;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-content a {
    color: #6a6a6a;
    margin: 0 15px;
    text-decoration: none;
    transition: color 200ms ease;
}

.footer-content a:hover {
    color: #6bb442;
    text-decoration: underline;
}



.container {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    flex: 1 1 auto; /* Pousse le footer vers le bas quand possible */
}

h1 {
    color: #555;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.highlight {
    color: #6bb442;
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6bb442, #3d9970);
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 200ms ease;
    box-shadow: 0 2px 8px rgba(107,180,66,0.15);
}

.cta-button:hover {
    background: linear-gradient(135deg, #3d9970, #6bb442);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107,180,66,0.25);
}

.image-container {
    display: flex;
    align-items: center;
}

.image-container img {
    max-width: 150px; /* Réduit la taille de l'image */
    height: auto;     /* Conserve les proportions de l'image */
    margin-right: 20px; /* Espacement entre l'image et le texte */
}

.content {
    flex-grow: 1;
}

body {
    margin: 0; /* Supprime la marge par défaut du navigateur */
    font-family: "Lexend Exa", serif; /* Police de caractères */
    background-color: white; /* Couleur de fond de la page */
    color-scheme: light; /* Utilise le thème clair du système d'exploitation */
}
img {
    max-width: 100%;
    height: auto;
}
.text {
    margin-top: 20px;
    font-size: 1.5em;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.dot {
    display: inline-block;
    animation: blink 1.4s infinite ease-in-out both;
}
.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes blink {
    0%, 60%, 100% {
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
}

/* Réglages supplémentaires pour écrans plus étroits */
@media (max-width: 992px) {
    .connexion-button {
        height: 44px;
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .header1 {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        justify-content: flex-start; /* Liens alignés à gauche pour gagner de la place */
        padding: 8px;
    }
}