/* declaration de la police du site */

@font-face {
    font-family: lato;
    src: url(font/Lato/Lato-Regular.ttf);
}
body {
    font-family: 'lato';
}
p{
    font-size: 16px;
}
h1{font-size: 29px;}
h2{font-size: 26px;}
h3{font-size: 17px;}
h6{font-size: 12px; text-transform: uppercase;}
@media (min-width:1400px) {
    p{font-size: 18px;}
h1{font-size: 45px;}
h2{font-size: 24px;}
h3{font-size: 20px;}
h6{font-size: 16px; text-transform: uppercase;}
}
@media (max-width:768px) {
p{font-size: 14px;}
h1{font-size: 21px;}
h2{font-size: 19px;}
h3{font-size: 15px;}
h6{font-size: 12px;}
}
@media (max-width:480px) {
p{font-size: 12px;}
h1{font-size: 18px;}
h2{font-size: 16px;}
h3{font-size: 14px;}
h6{font-size: 10px;}
}
/* Définition de la variable des couleurs  */
:root {
    --claire: #46AFCF;
    --vert: #366228;
    --bleu: #03466E;
    --rouge: #9D0F07; 
}
/*******************************************************************************************************************/
/* la première ligne du header  */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
header {
    background-color: #333;
    color: #fff;
}
.top-navbar {
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
  }

.top-navbar {
    background-color: #000;
    padding-left: 10%;
    padding-right: 10%;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-left span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.top-left i {
    margin-right: 5px;
    color: var(--vert);
}

.top-right {
    display: block;
    align-items: center;
}

.top-right a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

.top-right a:hover {
    color: #ddd;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .top-navbar {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px;
        padding-left: 60px;
        padding-right: 40px;
    }

    .top-left, .top-right {
        align-items: flex-start;
    }

    .top-left span, .top-right a {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
@media (max-width: 480px) {

    .navbar {
        padding: 5px;
    }

    .top-left span, .top-right a, .contact-button, .language-icon {
        font-size: 14px;
    }
    .top-navbar{
        display: block;
        width: 100%;
        flex-direction: row;
        padding-left: 5%;
    }
    .top-right i{
        display: none;
    }

}
/************************************************************************************************************************/

/* Styles pour l'en-tête */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFF;
    padding: 5px 5px;
    color: var(--bleu);
    position: relative;
}
.activer{
    background-color: #ddd;
}

/* Styles pour le logo */
.logo-image {
    width: 200px;
    height: auto;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Styles pour le bouton hamburger */
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    position: relative;
}

/* Styles pour le bouton de fermeture */
.close-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

/* Styles pour la navigation */
.nav-menu {
    font-size: 17px;
    display: flex;
    gap: 5px;
    flex: 2;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

/* Styles pour les liens de navigation */
.nav-menu a {
    color: var(--bleu);
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.nav-menu a::before {
    content: '•'; /* Caractère de la puce */
    color: var(--bleu); /* Couleur de la puce */
    font-size: 1.2em; /* Ajuster la taille de la puce si nécessaire */
}

.nav-menu a:hover {
    color: var(--vert);
}

/* Styles pour le bouton */
.cta-button {
    display: none;
    background-color: var(--bleu);
    color: white;
    border: none;
    font-size: 12px;
    text-align: center;
    width: 15%;
    padding: 5px 5px;
    border-radius: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}
.cta-button i{
    background-color: #FFF;
    color: var(--bleu);
    border-radius: 50%;
    width: auto;
    padding: 5px 5px;

}

.cta-button:hover {
    background-color: var(--vert);
}

/* Styles pour les icônes de langue */
.languages {
    margin-left: 5px;
    margin-right: 60px;
    display: flex;
    gap: 10px;
}

.language-icon {
    width: 36px;
    height: 36px;
    cursor: pointer;
}

/* Media queries pour les petits écrans */
@media (max-width:1028px) {
    .logo-image{
        width:  160px;
    }
    .nav-menu{
        font-size: 16px;
        gap: 3px;
    }
}
@media (max-width: 820px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 60%;
        text-align: center;
        position: fixed;
        top: 65px;
        left: 0;
        background-color: #fff;
        height: 300px;
        transform: translateX(-100%);
    }

    .nav-menu.active {
        display: flex;
        line-height: 0.8;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    .close-btn {
        display: block;
    }
    .cta-button {
        display: none;
    }
    .languages{
        margin-left: 350px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
    }
    .header .logo {
        max-width: 70px;
    }
    .language-icon{
        width: 30px;
        height: 30px;
    }
  
    .header .logo, .header .hamburger, .header .cta-button, .header .languages {
        flex: 1;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 60%;
        text-align: left;
        position: fixed;
        top: 65px;
        left: 0;
        background-color: #fff;
        height: 300px;
        transform: translateX(-100%);
    }

    .nav-menu.active {
        display: flex;
        line-height: 0.8;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        top: 2px;
    }

    .close-btn {
        display: block;
    }
    .cta-button {
        display: none;
    }
    .languages{
        margin-left: 350px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
    }
    .header .logo {
        max-width: 80px;
    }
    .language-icon{
        width: 38px;
        height: 38px;
    }
  
    .header .logo, .header .hamburger, .header .cta-button, .header .languages {
        flex: 1;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20%;
    }
}
@media (max-width: 480px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 60%;
        text-align: left;
        position: fixed;
        top: 55px;
        left: 0;
        background-color: #fff;
        height: 300px;
        transform: translateX(-100%);
    }

    .nav-menu.active {
        display: flex;
        line-height: 0.8;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 5px;
        top: 4px;
    }

    .close-btn {
        display: block;
    }
    .cta-button {
        display: none;
    }
    .languages{
        margin-left: 160px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
    }
    .header .logo {
        max-width: 10px;
    }

  
    .header .logo, .header .hamburger, .header .cta-button, .header .languages {
        flex: 1;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20%;
    }
}
/************************************************************************************************************************/

.footer {
    background-color: var(--bleu);
    color: #fff;
    padding: 40px 20px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-column h3 {
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.footer-column h3::after{
    content: '';
    display: block;
    width: 9%;
    height: 4px;
    background: linear-gradient(to right, var(--vert), transparent);
    position: absolute;
}


.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.logo-column {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid var(--vert);
}

.footer-logo {
    max-width: 100%;
    height: auto;
}

.footer-button {
    display: inline-block;
    background-color: var(--vert);
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Ombre noire */
}

.footer-button:hover {
    background-color: var(--rouge);
}
.footer-button:focus {
    outline: 3px solid var(--rouge); /* Ajoute un contour visible pour le focus */
    outline-offset: 2px;
}
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #fff;
}

.footer-bottom .privacy-policy {
    color: #fff;
    text-decoration: none;
}

.footer-bottom .privacy-policy:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        max-width: 100%;
    }
    .footer-logo{
        max-width: 70%;
        height: auto;
    }
    .logo-column{
        padding: 5px;
        border-right: none;
        border-bottom: 2px solid var(--vert);
    }
}
