/* Nav de base */
nav {
    width: 700px;
    background: #111111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ff0000;
    margin: 0 auto 3% auto;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 4px 8px 0 #000000, 0 6px 8px 0 rgba(0, 0, 0, 0.19);
}

/* Logo */
nav .logo img {
    height: 40px;
    width: 35px;
}

/* Menu principal */
.menu {
    display: flex;
    gap: 6px;
}

/* Liens du menu */
/* Liens du menu avec des boxes plus grandes */
.nav_a {
    text-decoration: none;
    color: #ffffff;
    background: #222222;
    height: 70px;           /* Hauteur plus grande */
    line-height: 70px;      /* Centre verticalement le texte */
    padding: 0 25px;        /* Plus d’espace horizontal */
    font-family: sans-serif;
    font-size: 16px;        /* Texte lisible */
    border: 2px solid #ff0000;  /* Bordure plus épaisse */
    border-radius: 10px;    /* Coins arrondis */
    text-align: center;
    display: inline-block;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    margin-right: 10px;     /* Espace entre les boxes */
}

/* Hover */
.nav_a:hover {
    color: #ff0000;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Responsive pour mobile */
@media screen and (max-width: 768px) {
    .menu.show .nav_a {
        height: 60px;
        line-height: 60px;
        padding: 0 20px;
        font-size: 16px;
    }
}


/* Burger */
.burger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

/* Responsive pour mobile */
@media screen and (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        width: 95%;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .menu.show {
        display: flex;
    }

    .nav_left, .nav_right {
        display: flex;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .burger {
        display: block;
    }
}

a img {
    height: 40px;
    width: 35px;
}

html {
    background-color: #222222;
    color: #ffffff;
}


.forminp {
    text-decoration: none;
    color: #ffffff;
    background: #222222;
    height: 24px;
    line-height: 24px;
    /* Ajuster line-height pour centrer verticalement le texte */
    padding: 0 10px;
    font-family: sans-serif;
    font-size: 13px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    text-align: center;
    margin-right: 6px;
}

.formdiv {
    text-decoration: none;

    color: #ffffff;
    background: #222222;
    height: 200px;
    width: 250px;
    /* Ajuster line-height pour centrer verticalement le texte */
    padding: 0 10px;
    font-family: sans-serif;
    font-size: 13px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    text-align: center;
    margin-right: 6px;
    box-shadow: 0 4px 8px 0 #000000, 0 6px 8px 0 rgba(0, 0, 0, 19);
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
}

.formdiv2 {
    text-decoration: none;
    color: #ffffff;
    background: #222222;
    height: auto;
    width: auto;
    /* Ajuster line-height pour centrer verticalement le texte */
    padding: 0 10px;
    font-family: sans-serif;
    font-size: 13px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    margin-right: 6px;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
    margin-left: 8%;
    margin-right: 8%;
    margin-top: 5%;
    margin-bottom: 5%;
    padding-left: 2%;
    padding-right: 2%;

    padding-top: 2%;
}

.flexbetween {
    display: flex;
    justify-content: space-between;
}

.DivCont {
    display: inline-table;

    text-decoration: none;
    color: #ffffff;
    background: #222222;
    /* Ajuster line-height pour centrer verticalement le texte */
    padding: 0 10px;
    font-family: sans-serif;
    border: 1px solid #ff0000;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 8px 0 #000000, 0 6px 8px 0 rgba(0, 0, 0, 19);
    margin-bottom: 2%;
}

.parent {
    display: flex;
    justify-content: center; /* centre horizontalement le contenu */
    margin-bottom: 20px;
}

.PCont {
    width: 100%; /* prend toute la largeur du conteneur parent */
    max-width: 1200px; /* optionnel pour limiter sur grand écran */
    background-color: #222222; /* fond du bloc */
    color: #fff;
    border: 2px solid #ff0000; /* bordure rouge */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* Titre aligné à droite */
.PCont strong {
    display: block;
    text-align: right; /* titre à droite */
    font-size: 1.5em;
    text-decoration: underline;
    margin-bottom: 15px;
}

/* Texte de l'article */
.PCont p, .PCont > *:not(strong) {
    font-size: 1.1em;
    line-height: 1.5em;
}



.bordur {
    border: 1px solid #ff0000;
    box-shadow: 0 4px 8px 0 #000000, 0 6px 8px 0 rgba(0, 0, 0, 19);
    border-left: 5%;
}
.responsive-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Horaires et position */
.schedule, .position {
    flex: 1 1 45%; /* prend max 45% de largeur, s’adapte */
    min-width: 300px; /* largeur minimale pour mobile */
    font-size: 16px;
    text-align: center;
}

/* Formulaire */
.contact-form {
    width: 100%;
    margin-top: 20px;
}

/* Inputs côte à côte sur desktop, empilés sur mobile */
.responsive-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.responsive-inputs input {
    flex: 1 1 45%;
    min-width: 150px;
}

/* Textarea full width */
textarea.forminp {
    width: 100%;
}

/* Bouton centré */
.contact-form .nav_a {
    display: block;
    margin: 0 auto;
}

/* Petits écrans */
@media screen and (max-width: 768px) {
    .schedule, .position {
        flex: 1 1 100%;
    }

    .responsive-inputs input {
        flex: 1 1 100%;
    }
}

.contact-form {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* Nom et Prénom côte à côte */
.form-row input.forminp {
    flex: 1 1 calc(50% - 10px);
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    background: #222222;
    color: #fff;
}

/* Email full width */
input.fullwidth {
    flex: 1 1 100%;
}

/* Textarea plus grande */
textarea.textarea {
    flex: 1 1 100%;
    height: 150px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ff0000;
    border-radius: 6px;
    background: #222222;
    color: #fff;
    resize: vertical;
}

/* Bouton */
button.nav_a {
    padding: 10px 25px;
    font-size: 16px;
}

/* Responsive mobile */
@media screen and (max-width: 768px) {
    .form-row input.forminp {
        flex: 1 1 100%;
    }
}

/* Faire que le body remplisse tout l'écran et utilise Flexbox */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #222222; /* ton fond */
    color: #fff;
}

/* Le main prend tout l'espace restant */
main {
    flex: 1;
}

/* Footer */
footer {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    padding: 10px 0;
    border-top: 1px solid #ff0000;
}
.Flogo {
    display: block;
    width: 50%;   /* sur grand écran */
    height: auto; /* garde proportions */
    margin: 0 auto; /* centré */
}

/* Si l'écran fait moins de 768px (taille mobile/tablette) */
@media screen and (max-width: 768px) {
    .Flogo {
        width: 100%;  /* pleine largeur sur mobile */
    }
}

.logo-container {
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement (si tu donnes une hauteur) */
    margin: 20px 0;          /* espace au-dessus et en dessous */
}

.test{
    text-decoration: none;
    color: #ffffff;
    background: #222222;
    /* Ajuster line-height pour centrer verticalement le texte */
    padding: 0 10px;
    font-family: sans-serif;
    border: 1px solid #ff0000;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 4px 8px 0 #000000, 0 6px 8px 0 rgba(0, 0, 0, 19);
    margin-bottom: 2%;
    margin-right: 15%;
    margin-left: 15%;
}

