/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.2
*/


/* =====================================================
   DESIGN SYSTEM
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* ---------- Global variables ---------- */

:root {
    /* Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-text-light: #6C757F;
    --color-bg-beige: rgba(254, 240, 222, 0.35);
    --color-bg-grey: #F2F4F8;
    /* Typography */
    --font-title: "Gambetta", serif;
    --font-body: "Open Sans", sans-serif;
    --weight-medium: 500;
    --weight-bold: 700;
    /* Motion */
    --transition-default: 0.3s ease;
}


/* =====================================================
   TYPOGRAPHY
   ===================================================== */


/* Body text */

body {
    font-family: var(--font-body);
    font-size: 1em;
    line-height: 1.3;
    color: var(--color-black);
}


/* Headings */

h1,
h2,
h4,
h5,
h6,
.heading-font {
    font-family: var(--font-title);
    font-weight: var(--weight-medium);
}

h3 {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
}

.body-font {
    font-family: var(--font-body);
}

.bold {
    font-weight: bold;
}


/* Italic (global, controlled) */

em,
i {
    font-family: var(--font-title);
    font-style: italic;
}

h2 {
    font-size: 1.5em;
}


/* =====================================================
   TEXT COLOR UTILITIES
   ===================================================== */

.text-black {
    color: var(--color-black);
}

.text-white {
    color: var(--color-white);
}

.text-light {
    color: var(--color-text-light);
}


/* =====================================================
   BACKGROUND UTILITIES
   ===================================================== */

.bg-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bg-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

.bg-beige {
    background-color: var(--color-bg-beige);
}

.bg-grey {
    background-color: var(--color-bg-grey);
}


/* =====================================================
   GENERIC UTILITIES
   ===================================================== */

.uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

.transition {
    transition: var(--transition-default);
}

.vertical-line-white {
    width: 1px;
    height: 40px;
    background-color: #fff;
}

.vertical-line-black {
    width: 1px;
    height: 40px;
    background-color: #000;
}

.gimmick {
    max-width: 35px;
}

.gimmick-2 {
    max-width: 85px;
}

.gimmick-3 {
    max-width: 120px;
}

.chevauche {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -50px;
}

.ls {
    letter-spacing: 1.5px;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media only screen and (max-width: 48em) {
    body {
        font-size: 0.85em;
    }
}


/* =====================================================
   HEADER
   ===================================================== */

.nav-uppercase>li>a {
    letter-spacing: 1.5px;
    font-size: 11px;
    font-weight: 400;
}

.nav-left {
    justify-content: center;
}

.dark .nav-vertical li li.menu-item-has-children>a,
.dark .nav-vertical-fly-out>li>a,
.dark .nav-vertical>li>ul li a,
.dark .nav>li.html,
.dark .nav>li>a,
.nav-dark .is-outline,
.nav-dark .nav>li>a,
.nav-dark .nav>li>button,
.nav-dropdown.dark .nav-column>li>a,
.nav-dropdown.dark>li>a {
    color: hsla(0, 0%, 100%, 100);
}

.nav-column>li>a,
.nav-dropdown>li>a,
.nav-vertical-fly-out>li>a,
.nav>li>a {
    color: rgba(74, 74, 74, 1);
    transition: all .2s;
}

.nav-column li.active>a,
.nav-column li>a:hover,
.nav-dropdown li.active>a,
.nav-dropdown>li>a:hover,
.nav-vertical-fly-out>li.active>a,
.nav-vertical-fly-out>li>a:hover,
.nav>li.active>a,
.nav>li.current>a,
.nav>li>a.active,
.nav>li>a.current,
.nav>li>a:hover {
    color: hsla(0, 0%, 7%, 1);
}

#masthead {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-main .nav>li>a {
    line-height: 59px !important;
}

.nav-line-bottom>li>a:before,
.nav-line-grow>li>a:before,
.nav-line>li>a:before {
    background-color: #DED7D0;
    content: " ";
    height: 3px;
}

.stuck .header-main .nav>li>a {
    line-height: 50px !important;
}

.mobile-sidebar .nav>li>a {
    color: #000;
    font-size: 11px;
}

.mobile-sidebar .nav {
    margin-top: 10px;
}

.mfp-bg.off-canvas-center:not(.dark) {
    background-color: #FFFAF3;
    opacity: 1;
}


/* TEMP */

.button {
    position: relative;
    font-weight: 400;
    text-decoration: none;
    padding-bottom: 2px;
    letter-spacing: 1.5px;
    font-size: 11px;
}


/* underline */

.button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    /* collé au texte */
    width: 97%;
    /* 👈 réduit légèrement */
    height: 0.7px;
    background-color: currentColor;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    transition: transform 0.35s ease;
}


/* hover luxe */

.button:hover::after {
    transform: translateX(-50%) scaleX(0);
}


/* Icons */

.icon-menu:before {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-size: 130%;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

.icon-menu:before {
    content: "menu";
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24 !important;
}

.flickity-prev-next-button::after {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: 100 !important;
    font-variation-settings: 'FILL' 0, 'wght' 100, 'GRAD' 0, 'opsz' 24;
    font-size: 20px;
    line-height: 1;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    content: '\ef7d';
}

.flickity-prev-next-button.next::after {
    content: '\e941';
}

.flickity-prev-next-button {
    border: 1px solid #FFEAD4;
    border-radius: 100%;
    background: #FFEAD4 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.flickity-prev-next-button {
    top: 50%;
}

.slider-nav-reveal .flickity-prev-next-button,
.slider-nav-reveal .flickity-prev-next-button:hover {
    background-color: #FFEAD4;
    box-shadow: none;
    width: 35px !important;
    height: 35px !important;
    margin: 10px !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
}

@media screen and (max-width: 549px) {
    .row-slider .flickity-prev-next-button {
        background-color: #FFEAD4 !important;
    }
}

@media (min-width: 768px) {

    .slider-nav-reveal .flickity-prev-next-button,
    .slider-nav-reveal .flickity-prev-next-button:hover {
        width: 38px !important;
        height: 38px !important;
    }
}

.flickity-button-icon {
    display: none;
}


/* =====================================================
   HOME
   ===================================================== */

@media (min-width: 768px) {
    .row.row-collapse.services {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        /* 5px à gauche + 5px à droite autour de la colonne du milieu */
    }

    .row.row-collapse.services>.col {
        flex: 0 0 calc((100% - 10px) / 3) !important;
        /* 2 gaps = 20px */
        max-width: calc((100% - 10px) / 3) !important;
        min-width: 0 !important;
    }
}

.slider-nav-dots-dashes-spaced .flickity-page-dots .dot {
    height: 0px;
    width: 50px;
}

.flickity-page-dots .dot {
    border: 1px solid #111;
    margin: 0 2px;
}

.scroll-for-more i {
    font-size: 28px !important;
}


/* =====================================================
   FOOTER
   ===================================================== */

.absolute-footer {
    display: none;
}

.footer-wrapper ul.menu>li {
    border-top: 0px solid #ececec;
}

.footer-wrapper ul.menu>li a {
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 1.5px;
    font-size: 11px;
}

.footer-wrapper .desc-footer p {
    text-transform: uppercase;
    color: var(--color-text-light);
    letter-spacing: 1.5px;
    font-size: 11px;
    line-height: 1.6;
}

.footer-wrapper .title-footer p {
    letter-spacing: 1.5px;
}

.footer-wrapper {
    background-color: #fff;
}


/* Forms */

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    background-color: rgba(6, 47, 110, 0.05);
    border: 0px solid #ddd;
    border-radius: 7px;
    box-shadow: none;
    color: #6C757F;
    font-size: 10PX;
    height: 3.2em;
    max-width: 100%;
    padding: 8px 1em;
    vertical-align: middle;
    width: 100%;
    letter-spacing: 1px;
}

input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
select:focus,
textarea:focus {
    background-color: #fff;
    box-shadow: none;
    color: #333;
    opacity: 1 !important;
    outline: 0;
}

.wpcf7 .wpcf7-not-valid-tip {
    background-color: transparent;
    color: #072E6D;
}

.wpcf7-not-valid-tip {
    color: #072E6D;
    font-size: 10px;
}

.wpcf7-list-item-label {
    text-align: left;
    font-size: 10px;
    font-weight: 400;
    margin-bottom: 12px;
}

.wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border: 1px solid #000;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    margin-bottom: 0;
    flex-shrink: 0;
    padding: 0px !important;
}

[type=checkbox]:checked {
    background-color: #000;
    border-color: #000;
}

input[type=submit],
input[type=submit].button {
    background-color: #F2EFEC;
    border-color: #F2EFEC;
    border-radius: 7px;
    color: #000000;
    font-size: 10px;
    font-weight: 400;
    padding: 2px 30px;
}

.dark .button.is-form:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
    box-shadow: none;
    color: #000000;
    opacity: 0.7;
    outline: none;
}


/* Blog */

a.pill {
    padding: 2.5px 10px;
    border: 1px solid white;
    font-size: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s ease, background-color .15s ease, transform .15s ease;
}

a.pill:hover,
a.pill.active {
    background-color: #FFFAF3;
    border: 1px solid #FFFAF3;
    color: black;
}

.category .blog-wrapper {
    padding-top: 0px;
}

.blog-wrapper .section.dark {
    margin-bottom: 60px !important;
}

.entry-content.single-page {
    max-width: 800px;
    margin: auto;
}

.post-categories-pills>* {
    --stack-gap: 1rem;
}

.nav-pagination>li>a,
.nav-pagination>li>span {
    border: 1px solid;
    border-radius: 0px;
    font-size: 0.85em;
    font-weight: normal;
}


/* BLOG MODULE */

.module-blog .blog-post-inner .is-divider {
    height: 0px;
}

.module-blog .from_the_blog_excerpt {
    font-size: 0.85em;
}

.owl-carousel.owl-blog .owl-item .col {
    height: 100%;
    display: flex;
    padding: 0 5px 30px;
}

.blog-slider-wrapper {
    position: relative;
    overflow: hidden;
    /* coupe à gauche */
}

.blog-slider-wrapper .owl-stage-outer {
    overflow: visible !important;
}

.blog-slider-wrapper .owl-stage {
    margin-left: calc(var(--owl-pad, 0px) * -1);
}

.article-inner p,
.article-inner a,
.article-inner ul {
    color: var(--color-text-light);
}

.article-inner .entry-content a {
    text-decoration: underline;
}