body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #FFFFFF;
    color: #1E1E1E;
}


.header-container, .button-container, .separator, .footer-container {
    margin: 0 5%;
}

header {
    background-color: #FFFFFF;
    color: #1E1E1E;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 8px;
}

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

header .logo {
    max-width: 100px;
    margin-right: 20px;
}

.header-text {
    display: flex;
    flex-direction: column;
    margin-left: 2%;
}

header h1 {
    margin: 0;
    font-weight: 800;
}

.titre_complet {
    display: block;
}

.titre_court {
    display: none;
}

.warning-message {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    margin: 20px auto; /* Centers the div horizontally */
}
  
.warning-message p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    header h1 {
        font-size: 5.6vw
    }

    .titre_complet {
        display: none;
    }

    .titre_court {
        display: block;
    }
}

.hero_section {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

.title {
    font-size: 5vw;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.message_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5%;
    padding-top: 0 !important;
}

.info-text {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 80%;
}

.separator, .separator_down, .separator_top {
    border-bottom: 2px solid #E1E5FF;
    border-radius: 50px;
    width: 85% !important;
    margin: 2% 0;
}

.separator {
    margin: 5% 0 !important;
}

.separator_down {
    margin-top: 5%  !important;
}

.separator_top {
    margin-bottom: 5%  !important;
}

@media (max-width: 479px) {
    .title {
        font-size: 5vw;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .title {
        font-size: 5vw;
    }
}

main {
    padding-bottom: 5%;
    width: 100%;
}

section {
    padding: 2% 10%;
    text-align: center;
}

.info_section_imgless, .form_section_imgless {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 5%;
}

.info_text_imgless, .info_contact {
    flex: 1;
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
    font-size: 1.2vw;
}

.form_section_imgless {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 8px;
    padding: 2% 10%;
    margin: auto;
    border-radius: 20px;
    max-width: 60%;
    text-align: center;
}

.form_section_imgless:hover {
    box-shadow: rgba(0, 0, 0, 0.30) 0px 3px 8px;
}


.info_text_imgless, .info_contact {
    text-align: center;
}


.title_info {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 10px 0;
}



.attention_link {
    color: #3A38A9;
    font-size: 1vw;
    margin-top: 2%;
    text-align: left;
}

.attention {
    color: #3A38A9;
    font-size: 1vw;
    margin-top: 2%;
    display: flex;
    align-items: center;
    text-align: left;
}

.adaptative {
    font-size: 1vw !important;
}

h3, h2 {
    font-size: 42px !important;
    font-weight: bold;
    margin-bottom: 2%;
    text-align: center;
}

h3 {
    font-size: 26px !important;
}

p {
    font-size: 1.3vw;
    line-height: 1.6;
    margin: 0 0 1.5%;
}

.italic_bold {
    font-style: italic;
    font-weight: 600;
}

.button {
    border-radius: 100px;
    border: solid 2px;
    padding: 5px 10px;
    border-color: #3A38A9;
    background-color: #3A38A9;
    color: #fff;
    text-decoration: none;
    margin: 2% auto;
    font-size: 1.2vw;
}

.button:hover {
    background-color: #E1E5FF;
    border-color: #E1E5FF;
    color: #1E1E1E;
    transition: all 0.2s ease;
}

.link_DNMA, .link_DNMA_accueil, .couriel {
    color: #1E1E1E;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    word-break: break-all;
}

.link_DNMA:hover, .link_DNMA_accueil:hover, .couriel:hover {
    color: #3A38A9;
    transition: all 0.2s ease;
}

.couriel {
    font-size: 1.3vw;
    font-weight: 600;
}

.button_container {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .attention_link , .attention, .adaptative, .link_DNMA_accueil {
        font-size: 1.8vw !important;
    }

    p, .couriel {
        font-size: 2.4vw !important;
    }

    .link_DNMA {
        font-size: 2vw !important;
    }
}

@media (max-width: 991px) {
    section {
        padding: 5% 5%;
    }
    .info_section {
        flex-direction: column;
        gap: 2%;
    }

    h3 {
        font-size: 3vw;
    }

    .DNMA_title {
        font-size: 4vw !important;
    }
    
    .DNMA_title_contact {
        font-size: 4vw !important;
        margin-top: 0;
    }

    .form_section_imgless {
        margin-bottom: 5%;
    }

    .info_contact {
        padding: 10%;
    }

    p {
        font-size: 2.2vw;
    }
    .attention_link , .attention, .adaptative {
        font-size: 2vw !important;
    }

    .link_DNMA {
        font-size: 2.2vw;
    }

    .info_text, .info_text_gauche, .info_text_imgless {
        text-align: center;
        font-size: 2.2vw;
    }
    .button {
        font-size: 2.2vw;
    }
}

.separator {
    background-color: #E1E5FF;
    height: 2px;
    padding: 0 7%;
    border-radius: 100px;
    width: 100%;
    margin-top: 5% !important;
    margin-bottom: 0 !important;
}

.separator_2 {
    background-color: #EEEEEE;
    height: 2px;
    border-radius: 100px;
    width: 100%;
    margin-top: 2%;
}

.footer_container {
    position: relative;
    padding: 0 5%;
}

.footer {
    background-color: #fff;
    color: #1E1E1E;
    padding: 3% 10%;
}

.footer_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer_left {
    flex: 0 0 auto;
    margin-right: 10px;
}

.logo {
    margin-right: 20px;
    max-width: 150px !important;
}

.footer_right {
    flex: 1;
}

.footer_links {
    display: flex;
    justify-content: center;
}

.footer_nav ul {
    text-align: center;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.footer_nav ul li {
    margin-bottom: 0;
}

.footer_nav ul li a {
    color: #1E1E1E;
    font-weight: 600;
    font-size: 14px !important;
    text-decoration: none;
}

.footer_nav ul li a:hover {
    color: #3A38A9;
}

.footer-legal {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-legal-link {
    margin: 0 10px;
}

.footer_nav_legal ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.footer_nav_legal ul li {
    margin-bottom: 0;
}

.footer_nav_legal ul li a {
    color: #1E1E1E;
    font-size: 0.8vw !important;
    text-decoration: none;
}

.footer_nav_legal ul li a:hover {
    color: #3A38A9;
}

@media (max-width: 1024px) {
    .footer-legal {
        text-align: center !important;
    }

    .footer_nav_legal ul li a {
        font-size: 1.2vw !important;
    }
    .footer_nav ul li a {
        font-size: 1.5vw !important;
    }
}

@media (max-width: 767px) {
    .footer_main {
        flex-direction: column;
        align-items: center;
    }

    .footer_left {
        margin-bottom: 20px;
    }

    .footer_right {
        width: 100%;
    }

    .footer_links {
        justify-content: center;
        margin-top: 10px;
        text-align: center;
    }

    .footer_nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer_nav_legal ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal-link {
        justify-content: center;
        text-align: center;
        margin: 5px 0;
    }

    .footer_nav_legal ul li a {
        font-size: 2vw !important;
    }

    .footer_nav ul li a {
        font-size: 1.8vw !important;
    }
}

.legales_text {
    display: flex;
    font-size: 1vw !important;
    justify-content: flex-start;
    text-align: left;
}

.legales_title, .legales_sub_title {
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

.legales_title {
    font-size: 1.8vw !important;
}

.legales_text {
    display: grid;
    font-size: 1.3vw !important;
}

@media (max-width: 1024px) {
    .legales_title {
        font-size: 3.5vw !important;
    }

    .legales_text {
        font-size: 3vw !important;
    }
}

@media (max-width: 767px) {

    .legales_title {
        font-size: 4vw !important;
    }
    
    .legales_text {
        font-size: 3vw !important;
    }
}
