/*
#D7B4BF
rgba(221, 139, 139, 0.3);
#D5D4E5
#A1B3D1
#82C9D1
#56B8D1
*/
/* Polices */
:root {
    --color_background: rgba(255, 255, 240, 0.2);
    --color_hover: rgba(161, 179, 209, 1);
    --color_border: rgba(161, 179, 209, 0.5);
    --color_separator: rgba(161, 179, 209, 1);
}
body.page-loading {
    visibility: hidden;
    opacity: 0;
}
body.page-loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}
body {
    font-family: "Lato", sans-serif;
    background-color: var(--color_background);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Satisfy", cursive;
}
h1 {
    font-size: 4em;
}
h2,
h3 {
    font-size: 3em;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header .social_links {
    position: fixed;
    right: 0;
    margin-right: 0.5em;
    z-index: 1;
}
header .social_links {
    height: 26px;
}
header .social_link {
    width: 24px;
    height: 24px;
    display: inline-block;
}
header svg .black {
    fill: var(--color_hover);
}
header .social_link:hover svg {
    fill: var(--color_hover);
    border: 1px solid var(--color_hover);
    border-radius: 6px;
}
header .social_link:hover .black {
    fill: white;
}
header .social_link:hover .white {
    fill: var(--color_hover);
}
/*
header .header_logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
header .header_logo img {
    width: 100%;
    height: auto;
    max-width: 200px;
    border-radius: 10px;
}
*/
header .header_logo {
    position: absolute;
    top: 0.1em;
    left: 0.5em;
}
header .header_logo img {
    width: 100%;
    height: auto;
    max-width: 110px;
    border-radius: 10px;
}
header .nav-item {
    border: 1px solid transparent;
    border-radius: 20px;
    transition: background-color 0.3s ease, border 0.3s ease,
        border-radius 0.3s ease;
    margin: 0 0.7em;
    text-align: center;
}
header .nav-link {
    transition: color 0.3s ease;
    padding: 0.2em;
}
header .nav-item.nav-border {
    border: 2px solid var(--color_hover);
    border-radius: 20px;
}
header .nav-item:hover {
    background-color: var(--color_hover);
    border: 1px solid var(--color_hover);
    border-radius: 20px;
}
header .nav-item:hover .nav-link {
    color: white;
}
header .btn.dropdown-toggle::after {
    display: none;
}
header .dropdown .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 25px;
}
header .dropdown .dropdown-menu {
    border: 1px solid var(--color_hover);
}
header .dropdown .dropdown-menu .dropdown-item {
    color: var(--bs-navbar-color);
}
header .dropdown .dropdown-menu .dropdown-item:hover {
    color: white;
    background-color: var(--color_hover);
    border: 1px solid var(--color_hover);
    border-radius: 20px;
}
/*
header .menu {
    margin-top: 120px;
    font-size: 1.2em;
}
*/
header .menu {
    margin: 8px 0 8px 0;
    font-size: 1.2em;
}

/* Gestion Responsive de la NavBar */
.menu_js {
    margin-top: 0;
    transition: margin-top 0.4s ease;
}
.menu_js.menu-open {
    margin-top: 200px;
}

/* Index */
#page_index {
    border-top: 2px solid var(--color_hover);
}
#page_index .logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}
#page_index .index {
    background-color: var(--color_border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 2px solid var(--color_separator);
}
#page_index .index_content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#page_index .index_image {
    width: 50%;
    margin-left: 2em;
}
#page_index .index_image .index_quint {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#page_index .index_title {
    text-align: center;
}
#page_index .index_title h1 {
    padding: 0 0.5em;
}
#page_index .index_title p {
    font-size: 1.2em;
}
#page_index .slogan {
    width: 80%;
    margin: 3em auto 0 auto;
    text-align: center;
}
#page_index h2 {
    margin: 1em 0;
}
#page_index .index_missions a p {
    padding: 0.5em;
}
#page_index .index_missions a:hover p {
    background-color: var(--color_hover);
    border-radius: 20px;
    color: white;
    padding: 0.5em;
}
#page_index .index_missions p {
    font-weight: bold;
}
#page_index .index_teams {
    background-color: var(--color_border);
    margin-top: 5em;
    border-top: 2px solid var(--color_separator);
}
#page_index .indexTeams_content {
    padding: 2em 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#page_index .indexTeams_image {
    width: 30%;
    margin-right: 2em;
    margin-top: 2em;
    margin-bottom: 2em;
}
#page_index .indexTeams_image .indexTeams_quint {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#page_index .indexTeams_title {
    width: 60%;
    text-align: center;
    padding: 0 3em;
}
#page_index .indexTeams_title p {
    margin: 2em 0;
}
#page_index .indexTeams_title .btn-contact {
    background-color: var(--color_hover);
    color: white;
    border: 1px solid var(--color_hover);
    border-radius: 20px;
    padding: 0.5em 1em;
}
#page_index .indexTeams_title .btn-contact:hover {
    color: var(--color_hover);
    background-color: white;
    border: 1px solid var(--color_hover);
}
#page_index .index_maps {
    border-top: 2px solid var(--color_separator);
}
#page_index iframe {
    border-radius: 20px;
    width: 80%;
    height: 400px;
    border: 0;
}

/* About */
#page_about {
    border-top: 2px solid var(--color_separator);
}
#page_about .about_header {
    border-bottom: 2px solid var(--color_separator);
    width: 100%;
    text-align: center;
    background-color: var(--color_border);
    padding: 2em 0;
}
#page_about .about_header h1 {
    margin-bottom: 0;
}
#page_about .about_text {
    margin: 5em;
    text-align: justify;
}
#page_about .about_text .about_image {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}
#page_about .about_image img {
    width: 100%;
}

/* Comptabilité */
#compta,
#comptaTeams {
    border-top: 2px solid var(--color_separator);
}
#compta .compta_header,
#comptaTeams .compta_header {
    width: 100%;
    text-align: center;
    background-color: var(--color_border);
    padding: 2em 0;
    border-bottom: 2px solid var(--color_separator);
}
#compta .compta_header h1,
#comptaTeams .compta_header h1 {
    margin-bottom: 0;
}
#comptaTeams .compta_content {
    padding: 5em 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#comptaTeams .compta_image {
    width: 40%;
    margin-right: 2em;
}
#comptaTeams .compta_image .compta_quint {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#comptaTeams .compta_title {
    width: 50%;
    text-align: center;
    padding: 0 3em;
}
#comptaTeams .compta_title p {
    margin: 2em 0;
    text-align: justify;
}
#compta .compta_content {
    height: 500px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#compta .compta_content > div {
    width: 50%;
}
#compta .compta_text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#compta .compta_image {
    width: 30%;
    margin-bottom: 2em;
}
#compta .compta_image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#compta .compta_text p {
    width: 80%;
    margin: auto;
    text-align: justify;
}
#compta .compta_competences ul {
    margin: auto;
    width: 50%;
}
#compta li {
    list-style: none;
    position: relative;
    padding-left: 1.2em;
}
#compta li::before {
    content: "–";
    color: var(--color_hover);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Social */
#social,
#socialTeams {
    border-top: 2px solid var(--color_separator);
}
#social .social_head,
#socialTeams .social_head {
    width: 100%;
    text-align: center;
    background-color: var(--color_border);
    padding: 2em 0;
    border-bottom: 2px solid var(--color_separator);
}
#social .social_head h1,
#socialTeams .social_head h1 {
    margin-bottom: 0;
}
#socialTeams .social_content {
    padding: 5em 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#socialTeams .social_image {
    width: 40%;
    margin-right: 2em;
}
#socialTeams .social_image .social_quint {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#socialTeams .social_title {
    width: 50%;
    text-align: center;
    padding: 0 3em;
}
#socialTeams .social_title p {
    margin: 2em 0;
    text-align: justify;
}
#social .social_content {
    height: 500px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#social .social_content > div {
    width: 50%;
}
#social .social_text {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#social .social_image {
    width: 30%;
    margin-bottom: 2em;
}
#social .social_image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
#social .social_text p {
    width: 70%;
    margin: auto;
    text-align: center;
}
#social .social_competences ul {
    margin: auto;
    width: 50%;
}
#social li {
    list-style: none;
    position: relative;
    padding-left: 1.2em;
}
#social li::before {
    content: "–";
    color: var(--color_hover);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact */
#page_contact {
    border-top: 2px solid var(--color_separator);
}
#page_contact .contact_header {
    width: 100%;
    text-align: center;
    background-color: var(--color_border);
    padding: 2em 0;
    border-bottom: 2px solid var(--color_separator);
}
#page_contact form {
    width: 60%;
    margin: 3em auto;
}
#page_contact form label {
    display: block;
    text-align: center;
}
#page_contact .validation {
    margin: 1em auto;
    padding: 0.5em;
    border-radius: 10px;
    text-align: center;
    width: 300px;
}
form[name="contact"] button.btn {
    display: block;
    margin: 1rem auto 0 auto;
    background-color: var(--color_hover);
    border: 1px solid var(--color_hover);
    border-radius: 20px;
    padding: 0.5em 1em;
}
form[name="contact"] button.btn:hover {
    background-color: white;
    border: 1px solid var(--color_hover);
    color: var(--color_hover);
}

/* Politique & Mentions */
#page_mentions_legales,
#page_politique_confidentialite {
    border-top: 2px solid var(--color_separator);
}
#page_mentions_legales .mentions_legales_header,
#page_politique_confidentialite .politique_confidentialite_header {
    width: 100%;
    text-align: center;
    background-color: var(--color_border);
    padding: 2em 0;
    border-bottom: 2px solid var(--color_separator);
}
#page_mentions_legales .mentions_legales_header h1,
#page_politique_confidentialite .politique_confidentialite_header h1 {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--color_border);
    border-top: 2px solid var(--color_hover);
}
footer .footer_logo {
    margin-top: 10px;
    margin-left: 10px;
    border-radius: 10px;
    width: 100%;
    max-width: 150px;
}
footer svg .black {
    fill: var(--color_hover);
}
footer .social_link:hover svg {
    fill: var(--color_hover);
    border: 1px solid var(--color_hover);
    border-radius: 6px;
}
footer .social_link:hover .black {
    fill: white;
}
footer .social_link:hover .white {
    fill: var(--color_hover);
}
footer .footer_contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
footer .envelope-icon:hover svg,
footer .tel-icon:hover svg {
    border: 1px solid var(--color_hover);
    border-radius: 5px;
}
footer .envelope-icon:hover .icon-bg,
footer .tel-icon:hover .icon-bg {
    fill: white;
}
footer .envelope-icon:hover .icon-stroke {
    stroke: var(--color_hover);
}
footer .tel-icon:hover .icon-stroke {
    fill: var(--color_hover);
}
footer .footer_info a:hover {
    color: #ffffff;
}
footer .back-to-top {
    border: none;
    background: none;
}

/* Back to top */
.back-to-top {
    display: none;
    position: fixed; /* Fixe le bouton par rapport à la fenêtre du navigateur */
    bottom: 20px; /* Place le bouton à 20px du bas de la fenêtre */
    right: 20px;
    padding: 0;
}
.back-to-top svg {
    border: var(--color_hover) 1px solid;
    border-radius: 10px;
}
.back-to-top:hover svg rect {
    fill: white;
}
.back-to-top:hover svg path {
    stroke: var(--color_hover);
}
/* Enveloppe */
.enveloppe-contact {
    position: fixed; /* Fixe le bouton par rapport à la fenêtre du navigateur */
    bottom: 20px; /* Place le bouton à 20px du bas de la fenêtre */
    right: 20px;
}
.enveloppe-contact:hover svg {
    border: var(--color_hover) 1px solid;
    border-radius: 10px;
}
.enveloppe-contact:hover svg .icon-bg {
    fill: white;
}
.enveloppe-contact:hover svg .icon-stroke {
    stroke: var(--color_hover);
}
