@font-face {
    font-family: "Oswald";
    src: url('../fonts/Oswald-VariableFont_wght.ttf');
}

h1, h2, h3 {
    font-family: "Oswald";
}

h1 {
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
}

p {
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: underline;
}
a:hover {
    color: inherit;
}
a:visited {
    color: inherit;
}

a.social-link:not(:last-child) {
    margin-right: 15px;
}

.header-dark.header-transparent #header:not(.scrolled) {
  background: rgba(0, 0, 0, 0.5);
}

section.navbar-section.desktop-menu {
    justify-content: center !important;
}

section.navbar-section.logo {
    display: none;
}

section.navbar-section.desktop-menu li a {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    text-transform: uppercase;
}


/**
 * Menu mobile
 */
nav.overlay-menu li a {
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    color: #FFF;
    font-weight: bold;
}

/**
 * Hero
 */
section.hero a.social-link:not(:last-child) {
    margin-right: 15px;
}


/**
 * Titre de section
 */
h1 {
    text-align: center;
}

section.section hr {
    max-width: 65px;
}

/**
 * Section services
 */
section.modular-services {
    background-color: #0a2330;
}

section.modular-services .frame-box {
    padding: 0;
}

section.modular-services .services-wrapper .service-lateral {
    grid-area: lateral;
    justify-self: right;
    transition: opacity 2s ease 0s;
    opacity: 0;
    min-width: 200px;
}

section.modular-services .services-wrapper .service-lateral-1 {
    opacity: 1;
}

section.modular-services .services-wrapper h2 {
    margin: 0;
    text-transform: uppercase;
    transition: opacity 2s ease-out;
    font-size: 24px;
    font-weight: normal;
}

section.modular-services .services-wrapper h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: normal;
    color: #fff
}

section.modular-services .services-wrapper p {
    color: #fff
}

section.modular-services .services-wrapper .service-1 {
    grid-area: service-1;
}

section.modular-services .services-wrapper .service-2 {
    grid-area: service-2;
}

section.modular-services .services-wrapper .service-3 {
    grid-area: service-3;
}

section.modular-services .services-wrapper .service .service-icon {
    opacity: 0.3;
    transition: opacity 2s ease 0s;
}

section.modular-services .services-wrapper .service-1 .service-icon {
    opacity: 1;
}

section.modular-services .services-wrapper .service .service-label {
    opacity: 0.3;
    color: #fff;
    transition: opacity 2s ease 0s;
}

section.modular-services .services-wrapper .service-1 .service-label {
    opacity: 1;
}

section.modular-services .services-wrapper .service-text {
    display: none;
}

section.modular-services .services-wrapper .service-text-unique {
    grid-area: service-text-unique;
    width: 580px;
    padding: 1em;
    opacity: 0;
    transition: opacity 2s ease 0s;
}

section.modular-services .services-wrapper .service-filler {
    grid-area: service-filler;
    min-width: 200px;
}

section.modular-services .services-wrapper .service-text-unique-1 {
    opacity: 1;
}

section.modular-services .services-wrapper {
    display: grid;
    grid-template-columns: 1fr repeat(3, max-content) 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "lateral service-1 service-2 service-3 service-filler"
                         "lateral service-text-unique service-text-unique service-text-unique service-filler";
}

@media only screen and (max-width: 950px) {
    section.modular-services .services-wrapper {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr 1fr;
        grid-template-areas: "service-1 service-2 service-3"
                             "service-text-unique service-text-unique service-text-unique";
    }

    section.modular-services .services-wrapper .service-text-unique {
        width: 100%;
    }

    section.modular-services .services-wrapper .service-lateral {
        display: none;
    }

    section.modular-services .services-wrapper .service-filler {
        display: none;
    }
}

@media only screen and (max-width: 576px) {
    section.modular-services .services-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-template-areas: "service-1"
                             "service-2"
                             "service-3";
    }

    section.modular-services .services-wrapper .service-text {
        display: inherit;
    }

    section.modular-services .services-wrapper .service-text-unique {
        display: none;
    }

    section.modular-services .services-wrapper .service-lateral {
        display: none;
    }

    /* quand tous les services sont affichés, il ne faut pas les opacifier */
    section.modular-services .services-wrapper .service .service-icon {
        opacity: 1;
    }

    section.modular-services .services-wrapper .service .service-label {
        opacity: 1;
    }
}

section.modular-services .service {
    margin: 25px;
}

section.modular-services .service-icon {
    max-width: 108px;
}

/**
 * Section référence
 */
section.modular-references img {
    max-height: 55px;
}

section.modular-references .columns {
    grid-row-gap: 25px;
}
section.modular-references .reference-icon {
    text-align: center;
}

/**
 * Section e-learning
 */
section.modular-elearning {
    padding-top: 20px;
    background-color: rgba(191, 149, 95);
}

section.modular-elearning .frame-box {
    padding-top: inherit;
}

section.modular-elearning img {
    max-height: 150px;
}

section.modular-elearning .columns {
    justify-content: center;
}
section.modular-elearning .elearning-icon {
    text-align: center;
}

/**
 * Section parcours
 */
section.section.parcours {
    padding-top: 20px;
    background-color: rgba(10, 35, 48, 0.95) !important;
}

section.section.parcours .container {
    max-width: 760px;
}

section.section.parcours h1 {
    color: #BF955F;
}

section.section.parcours p {
    color: #FFFFFF;
    text-align: center;
}

section.section.parcours h3:first-child {
    margin-top: 10px;
}

section.section.parcours h3 {
    margin-top: 35px;
    font-family: "Oswald";
    font-style: normal;
    font-size: 18px;
    font-weight: normal;
    color: #BF955F;
    text-align: center;
}

section.section.parcours h3 strong {
    font-family: "Oswald";
    font-style: normal;
    font-weight: normal;
    color: #FFF;
}

/**
 * Section contact
 */
section.section.contact {
    padding-top: 20px;
    background-color: #BF955F !important;
}

section.section.contact .image-wrapper {
    text-align: center;
}

section.section.contact .image-wrapper img {
    height: 200px;
}

section.section.contact form .button-wrapper {
    text-align: right;
}

section.section.contact form img#basic-captcha-reload {
  max-height: 36px;
}

/**
 * Footer
 */
#footer {
    background-color: #0a2330;
}
