/*
Theme Name:         ATRAT Theme
Theme URI:          https://roots.io/sage/
Description:        ATRAT theme, based on Sage 10.1.7
Version:            10.1.7
Author:             Winkstrategies
Author URI:         https://winkstrategies.com
Text Domain:        sage
License:            MIT License
License URI:        https://opensource.org/licenses/MIT
Requires PHP:       7.4
Requires at least:  5.9
*/
@import "resources/styles/blocks/lebleu-video-entete.css?v1.0";

#wpforms-form-66270 .wpforms-field-medium ul {
    padding-left: 16px;
}

#wpforms-form-66270 .wpforms-field-medium ul li {
    list-style: disc;
}

mark.has-inline-color.has-orange-color {
    background-color: rgba(0, 0, 0, 0);
}

.boite-pepite-vedette+.boite-pepite-vedette {
    margin-top: 60px;
}

.topbar-secondary-menu {
    width: 100%;
    padding: 10px;
    background: #31503b;
}

.topbar-secondary-menu .row a,
.topbar-secondary-menu .row p.itemsMenu.itemsMenuTopbar,
.itemsMenuTopbar .wpml-ls .wpml-ls-link {
    color: #fff;
    font-size: 14px;
}

.topbar-secondary-menu .row {
    display: flex;
    align-items: center;
    justify-content: end;
}

.itemsMenuTopbar .wpml-ls {
    background-color: transparent !important;
    padding: 0 !important;
}

.itemsMenuTopbar .wpml-ls .wpml-ls-link {
    padding: 0 !important;
}

.itemsMenuTopbar .wpml-ls .wpml-ls-link {
    padding-bottom: .5rem !important;
    padding-top: .5rem !important;
    transition-duration: .15s;
    transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.itemsMenuTopbar .wpml-ls .wpml-ls-link span {
    border-color: transparent;
    border-bottom-width: 2px;
    padding-bottom: .25rem;
}

.itemsMenuTopbar .wpml-ls .wpml-ls-link span:hover {
    --tw-border-opacity: 1;
    border-color: #ff943b;
}

.topbar-secondary-menu .social-network a {
    padding-left: 1rem;
}

.topbar-secondary-menu .social-network a:hover {
    color: #ff943b;
}

.cont-menu {
    align-items: center;
    justify-content: space-between;
}

.sticky-bar {
    top: 100px !important;
}

.topbarSocials {
    padding-right: 1.2rem;
}

.show-topbar-mobile {
    display: none;
}

/* .body.menu-opened,
body.menu-opened .first-head {
    overflow-y: scroll;
} */

.itemsMenu-mobile-only {
    display: none !important;
}

/* body.menu-opened .main-menu {
    overflow-y: scroll;
    height: 100% !important;
} */

/* body.menu-opened .main-menu{
    position: fixed;
    overflow: hidden;
    width: 100%;
    transform: translateX(0);
} */

.main-menu .itemsMenu {
    padding: 1rem 0.85rem !important;
}

.itemsMenu.itemsMenuTopbar {
    padding: 1rem 1rem !important;
}


/* Série découverte */
body.serie-decouverte * {
    font-family: "Arimo", sans-serif;
}

body.serie-decouverte h2 {
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.1;
}

body.serie-decouverte p {
    font-weight: 400;
    font-size: 1.3rem;
}

body.serie-decouverte header {
    background-color: #38341F;
    color: #fff;
    padding: 50px 0;
}

body.serie-decouverte header .container {
    position: relative;
}

body.serie-decouverte header .container::before {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
    width: 150px;
    position: absolute;
    left: -5%;
    top: 0;
}

body.serie-decouverte header .container::after {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
    width: 150px;
    position: absolute;
    right: -5%;
    top: 0;
}

body.serie-decouverte header::after {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/waves-1.svg');
    bottom: -43px;
    min-width: 2000px;
    width: 100%;
    position: absolute;
}

.container-lang a {
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

body.serie-decouverte section {
    padding: 100px 0;
}

body.serie-decouverte section#section-1 {
    background-color: #FEE6BB;
    position: relative;
    z-index: 0;
    padding: 100px 0;
}

body.serie-decouverte section#section-1 div.biere-display {
    display: flex;
    justify-content: center;
}

body.serie-decouverte section#section-1 div.biere-display:first-child img,
body.serie-decouverte section#section-1 div.biere-display:last-child img {
    height: 90%;
    margin-top: -5%;
}

body.serie-decouverte section#section-1::after {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Wave.svg');
    bottom: -6px;
    min-width: 2000px;
    width: 100%;
    position: absolute;
    z-index: -1;
}

body.serie-decouverte section#section-1 .section-1-desc {
    margin: 75px 0 0;
}

.section-1-desc .col-12:last-child {
    padding-left: 60px;
}

section#section-2 {
    padding: 100px 0 150px;
}

body.serie-decouverte section#section-3 {
    position: relative;
    background-color: #FEE6BB;
    z-index: 0;
}

body.serie-decouverte section#section-3::before {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/waves-2.svg');
    top: -43px;
    min-width: 2000px;
    width: 100%;
    position: absolute;
    z-index: -1;
    transform: scaleY(-1);
}

body.serie-decouverte section#section-3::after {
    content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/waves-3.svg');
    bottom: -85px;
    min-width: 2000px;
    width: 100%;
    position: absolute;
    z-index: -1;
}

body.serie-decouverte .animated-link {
    text-decoration: none;
    color: #F89A44;
    font-weight: 400;
    font-size: 1.3rem;
    position: relative;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

body.serie-decouverte .animated-link .arrow {
    display: inline-block;
    transition: transform 0.3s;
    margin-left: 8px;
}

body.serie-decouverte .animated-link:hover .arrow {
    transform: translateX(8px);
}

body.serie-decouverte .animated-link:hover {
    color: #000000;
    text-decoration: none;
}

section#section-4 {
    background-color: #38341F;
    padding: 175px 0 75px;
}

section#section-4 p {
    color: #FEE6BB;
    font-weight: 400;
}

section#section-4 .biere-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    column-gap: 20px;
}

section#section-4 .biere-title {
    display: flex;
}

section#section-4 .biere-stats img.biere-stats-text {
    max-height: 20px;
}

section#section-4 .swiper-button-prev,
section#section-4 .swiper-rtl .swiper-button-next {
    left: 10%;
    right: auto;
}

section#section-4 .swiper-button-next,
section#section-4 .swiper-rtl .swiper-button-prev {
    right: 10%;
    left: auto;
}

section#section-4 .swiper-button-next svg,
section#section-4 .swiper-button-prev svg {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transform-origin: center;
}

section#section-4 .swiper-button-next,
section#section-4 .swiper-button-prev {
    width: 75px;
    height: 75px;
    background: #FCC731;
    border-radius: 50%;
}

section#section-4 .swiper-button-next svg,
section#section-4 .swiper-button-prev svg {
    fill: #38341F;
}

article.type-communique .entry-content .wp-block-gallery img,
article.type-post .entry-content .wp-block-gallery img {
    margin-top: 0px;
    margin-bottom: 0px;
}

a.mosaic-card[data-lightbox="mosaic"] {
    display: block;
    cursor: zoom-in;
}

.lb-data .lb-close {
    position: fixed;
    right: 20px;
    top: 20px;
}

.has-white-background-color .swiper.slider-cards.swiper-initialized:before {
    background-color: rgb(255 255 255/var(--tw-bg-opacity)) !important;
}

@media (max-width: 1800px) {

    section#section-4 .swiper-button-prev,
    section#section-4 .swiper-rtl .swiper-button-next {
        left: 5%;
        right: auto;
    }

    section#section-4 .swiper-button-next,
    section#section-4 .swiper-rtl .swiper-button-prev {
        right: 5%;
        left: auto;
    }
}

@media (max-width: 1600px) {

    section#section-4 .swiper-button-prev,
    section#section-4 .swiper-rtl .swiper-button-next {
        left: 2%;
        right: auto;
    }

    section#section-4 .swiper-button-next,
    section#section-4 .swiper-rtl .swiper-button-prev {
        right: 2%;
        left: auto;
    }
}

@media (max-width: 1200px) {
    body.serie-decouverte header .container::before {
        content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
        width: 100px;
        position: absolute;
        left: -2%;
        top: 0;
    }

    body.serie-decouverte header .container::after {
        content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
        width: 100px;
        position: absolute;
        right: -2%;
        top: 0;
    }

    body.serie-decouverte h2 {
        font-weight: 600;
        font-size: 2.2rem;
        line-height: 1.1;
    }

    section#section-4 .swiper-button-next,
    section#section-4 .swiper-button-prev {
        width: 50px;
        height: 50px;
        background: #FCC731;
        border-radius: 50%;
    }
}

@media (max-width: 991px) {
    body.serie-decouverte header .container::before {
        content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
        width: 100px;
        position: absolute;
        left: -12%;
        top: 0;
    }

    body.serie-decouverte header .container::after {
        content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Hop-Icon.svg');
        width: 100px;
        position: absolute;
        right: -12%;
        top: 0;
    }

    body.serie-decouverte section#section-1::after {
        content: url('/wp-content/themes/atrat/resources/images/serie-decouverte/Wave.svg');
        bottom: -6px;
        min-width: 2000px;
        width: 100%;
        position: absolute;
        z-index: -1;
        transform: scaleY(1.5) translateY(-16%);
    }

    .section-1-desc .col-12:last-child {
        padding-left: calc(var(--bs-gutter-x)* .5);
    }

    body.serie-decouverte section#section-1,
    body.serie-decouverte section {
        padding: 50px 0;
    }

    section#section-2 {
        padding: 50px 0 100px;
    }

    section#section-4 .biere-title img:first-child {
        width: 25%;
    }

    section#section-4 .biere-title img:last-child {
        width: 70%;
        margin-left: 5%;
    }

    section#section-4 .biere-stats p:nth-child(-n+3) {
        flex: 1 0 auto;
        text-align: center;
    }

    section#section-4 .biere-stats p:nth-last-child(-n+2) {
        flex: 0 1 auto;
    }
}

@media (max-width: 900px) {

    body.serie-decouverte header .container::before,
    body.serie-decouverte header .container::after {
        display: none;
    }
}

@media (max-width: 767px) {

    body.serie-decouverte section#section-1 div.biere-display:first-child img,
    body.serie-decouverte section#section-1 div.biere-display:last-child img {
        height: unset !important;
        margin-top: 0;
    }

    section#section-4 .biere-stats p img {
        max-height: 35px;
    }

    body.serie-decouverte div.logos-section div img {
        min-height: 50px !important;
        min-width: 100% !important;
    }

    body.serie-decouverte div.logos-section div:nth-child(2) img {
        min-height: 90px !important;
        min-width: 100% !important;
    }
}

@media (max-width: 600px) {
    .swiper-container {
        overflow: visible;
    }

    section#section-4 .swiper-button-prev,
    section#section-4 .swiper-button-next {
        bottom: -50px !important;
        top: unset !important;
    }

    section#section-4 .swiper-button-prev {
        left: calc(50% - 60px) !important;
        right: unset !important;
    }

    section#section-4 .swiper-button-next {
        right: calc(50% - 60px) !important;
        left: unset !important
    }

    section#section-4 .biere-stats p img {
        max-height: 30px;
    }
}

/* Série découverte */

@media (min-width: 1280px) {

    .itemsMenuTopbar,
    .itemsMenuTopbar .wpml-ls .wpml-ls-link {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

@media (min-width: 1034px) {

    .itemsMenuTopbar,
    .itemsMenuTopbar .wpml-ls .wpml-ls-link {
        padding-bottom: 1.5rem;
        padding-top: 1.5rem;
    }
}

@media (min-width: 768px) {

    .itemsMenuTopbar,
    .itemsMenuTopbar .wpml-ls .wpml-ls-link {
        padding-bottom: 1rem;
        padding-top: 1rem;
    }
}

@media (min-width: 768px) {

    .itemsMenuTopbar,
    .itemsMenuTopbar .wpml-ls .wpml-ls-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 768px) {

    .itemsMenuTopbar,
    .itemsMenuTopbar .wpml-ls .wpml-ls-link {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 1450px) {
    .sticky-bar {
        top: 185px !important;
    }
}

@media (max-width: 1280px) {

    /* .main-menu {
        --tw-bg-opacity: 1;
        background-color: rgb(255 250 244/var(--tw-bg-opacity));
        height: 100vh;
        left: 0;
        max-width: none;
        padding-bottom: 3.25rem;
        position: fixed;
        width: 100vw;
        z-index: 10;
        overflow-y: scroll;
    } */
    .itemsMenu:last-of-type {
        border-bottom-width: 1px !important;
    }

    .itemsMenu:last-child {
        border-width: 0 !important;
    }

    .topbar-secondary-menu {
        display: none;
    }

    .itemsMenu-mobile-only {
        display: block !important;
    }
}

@media (max-width: 1033px) {}


/* *** Journées AI *** */
/*(changer le orange pour Vert menthe (#89c4a2) */
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color .wpforms-container button[type=submit],
body.page-template-template-journee-ai.winter .wpforms-container button[type=submit] {
    color: #fff !important;
}

body.page-template-template-journee-ai .has-orange-color {
    color: #89c4a2 !important;

}

body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color .wpforms-container button[type=submit]:hover,
body.page-template-template-journee-ai.winter .wpforms-container button[type=submit]:hover,
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color .wpforms-container button[type=submit]:focus,
body.page-template-template-journee-ai.winter .wpforms-container button[type=submit]:focus,
body.page-template-template-journee-ai .bg-light,
body.page-template-template-journee-ai.winter .wp-block-button__link:before {
    background-color: #89c4a2 !important;

}

/*les bleu marin, bleu pâle et beige en Rose (#c25272)*/
body.page-template-template-journee-ai.winter article p a,
body.page-template-template-journee-ai.winter main p a {
    color: #c25272 !important;
}

body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color .wpforms-container button[type=submit],
body.page-template-template-journee-ai.winter .wpforms-container button[type=submit],
body.page-template-template-journee-ai.winter div.has-green-background-color:before,
body.page-template-template-journee-ai .wp-block-columns.has-green-background-color {
    background-color: #c25272 !important;
}

body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color input,
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color input[type=checkbox]:checked,
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color input[type=radio]:checked,
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color select,
body.page-template-template-journee-ai .wp-block-columns.has-blue-dark-background-color textarea,
body.page-template-template-journee-ai.winter .leadfox-content input,
body.page-template-template-journee-ai.winter .leadfox-content input[type=checkbox]:checked,
body.page-template-template-journee-ai.winter .leadfox-content input[type=radio]:checked,
body.page-template-template-journee-ai.winter .leadfox-content select,
body.page-template-template-journee-ai.winter .leadfox-content textarea,
body.page-template-template-journee-ai.winter .wpforms-container input,
body.page-template-template-journee-ai.winter .wpforms-container input[type=checkbox]:checked,
body.page-template-template-journee-ai.winter .wpforms-container input[type=radio]:checked,
body.page-template-template-journee-ai.winter .wpforms-container select,
body.page-template-template-journee-ai.winter .wpforms-container textarea {
    border-color: #c25272 !important;
}

/* *** Janvier 2025 *** */
.blogue-grid .bg-white {
    background: transparent !important;
}

/** Page onepager aventure **/
.header-aventure>div {
    justify-content: center;
}

.aventure-site-footer {
    color: white;
}

.aventure-site-footer>div>div {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.aventure-footer-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.aventure-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.aventure-footer-right p {
    text-transform: uppercase;
}

.aventure-footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.aventure-footer-links a {
    color: white;
    text-decoration: underline;
}

@media (min-width: 500px) {
    .aventure-footer-links {
        flex-direction: row;
    }
}

.aventure-footer-links a:hover {
    text-decoration: none;
}

.aventure-header-bg {
    top: 0;
    bottom: 0;
}

.intro-aventure-image-links {
    display: none;
}

.intro-aventure-image-links-mobile {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-aventure-image-link-item {
    display: block;
    padding-bottom: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.intro-aventure-image-link-item h3,
.intro-aventure-image-links-mobile h3 {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4rem;
    padding-left: 10px;
    padding-right: 10px;
}

.intro-aventure-image-bloc-vert {
    background-color: #324f3d;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    font-weight: 300;
    text-transform: uppercase;
    padding: 20px 0;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.aventure-header-title {
    padding-top: 100px;
    padding-bottom: 100px;
    font-size: 3rem;
}

.aventure-header {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .aventure-header {
        margin-bottom: 0px;
    }

    .aventure-header-bg {
        top: 0;
        bottom: 100px;
    }

    .aventure-header-title {
        padding-top: 140px;
        padding-bottom: 140px;
        font-size: 4.5rem;
    }

    .intro-aventure-image-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .intro-aventure-image-links-mobile {
        display: none;
    }

    .intro-aventure-image-link-item h3 {
        font-size: 1.7rem;
        letter-spacing: 0.15rem;
        line-height: 2rem;
    }

    .intro-aventure-image-link-item {
        height: 350px;
    }

    .separator-right-aventure {
        padding-right: 50px;
        margin-right: 10px !important;
        border-right: solid 1px #1d1a13;
    }
}

@media (min-width: 1034px) {

    .intro-aventure-image-link-item {
        height: 500px;
    }
}

@media (max-width: 639px) {
    .page-template-template-aventure .has-green-background-color .swiper.slider-cards a {
        color: rgb(26, 24, 24);
    }
}

.rotative-banner {
    position: relative;
    height: 56.25vw;
    width: 100%;
}

.rotative-banner .swiper-aventure {
    position: absolute;
    top: 0px;
    height: 100%;
    background: #000 no-repeat center center;
    background-size: cover;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.rotative-banner .swiper-button-prev,
.rotative-banner .swiper-button-next {
    font-size: 6rem;
    color: white !important;
    top: 50%;
    transform: translateY(50%);
}

.rotative-banner .swiper-button-prev {
    left: 60px;
}

.rotative-banner .swiper-button-next {
    right: 60px;
}

@media (max-width: 639px) {

    .rotative-banner .swiper-button-prev,
    .rotative-banner .swiper-button-next {
        display: none;
    }
}

.swiper-cta {
    position: relative;
    padding-bottom: 45px;
}

.swiper-cta .swiper-slide {
    aspect-ratio: 1/1;
    display: block;
}

.swiper-cta .swiper-slide .swiper-slide-image-bg {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: rgb(209 213 219);
}

.swiper-cta .swiper-slide .swiper-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.swiper-cta .swiper-button-prev,
.swiper-cta .swiper-button-next {
    bottom: 0;
    width: 50px;
}

.swiper-cta .swiper-button-prev img,
.swiper-cta .swiper-button-next img {
    width: 50px;
}

.swiper-cta .swiper-button-prev img {
    transform: rotate(180deg);
}

.swiper-cta .intro-aventure-image-bloc-vert {
    line-height: 1.4rem;
    min-height: 80px;
    padding: 10px;
}

.aventure-modal {
    width: 1000px;
    max-width: 100%;
}

.aventure-modal-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.aventure-modal-content ul li {
    position: relative;
    list-style: none;
    padding-left: 2.7rem;
    padding-bottom: 0.5rem;
}

.aventure-modal-content ul li::before {
    --tw-bg-opacity: 1;
    background-color: rgb(255 148 59 / var(--tw-bg-opacity));
    content: "";
    display: block;
    height: .125rem;
    left: 0;
    position: absolute;
    top: .75rem;
    width: 2.25rem;
}

.aventure-modal-close {
    top: 0;
    right: 0;
    padding: 10px;
}

.aventure-modal>div {
    padding: 40px;
}

@media (min-width: 768px) {
    .aventure-modal-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .aventure-modal-content>div,
    .aventure-modal-content>img {
        flex: 1 1 50%;
        max-width: 50%;
    }
}

.aventure-modal-encadre {
    background: #324f3d;
    padding: 20px;
    margin-top: 30px;
    color: #fff;
}

.summer .has-blue-dark-background-color::before{
    background-color: var(--wp--preset--color--green) !important;;
}

.bg-light, .has-light-background-color::before{
    background-color: var(--wp--preset--color--white) !important;
}