/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



:root {
    --bronze: #726C61;
    --gold: #A68F66;
    --black:#0A0A09;
}



/***************************************************/
/*********************** HEADER ********************/
/***************************************************/

/* ===========================
   BOUTON MENU
============================= */


.site-header {
    z-index: 9999!important;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
        background-color: #fff;
}

.studio-menu-toggle {
    appearance: none;
    -webkit-appearance: none;

    border: 0;
    outline: 0;

    background: transparent !important;

    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    gap: 14px;

    cursor: pointer;

    color: #111;
}


/* -------------
   TEXTE
-------------- */

.studio-menu-label {
    display: block;

    font-size: 11px;
    font-weight: 400;

    letter-spacing: 3px;
    line-height: 1;

    white-space: nowrap;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    color: #0a0a09;
}


/* ----------
   ICÔNE
---------- */

.studio-menu-icon {
    position: relative;

    width: 22px;
    height: 14px;

    display: block;

    flex-shrink: 0;
}


/* Les deux traits */

.studio-menu-icon span {
    position: absolute;

    left: 0;

    width: 22px;
    height: 1px;

    background: #111;

    transform-origin: center center;

    transition:
        top 0.4s cubic-bezier(.77, 0, .18, 1),
        transform 0.4s cubic-bezier(.77, 0, .18, 1);
}


/* Trait supérieur */

.studio-menu-icon span:first-child {
    top: 3px;
}


/* Trait inférieur */

.studio-menu-icon span:last-child {
    top: 10px;
}


/* ===========================
   ÉTAT OUVERT
============================= */

.studio-menu-toggle.is-open
.studio-menu-icon span:first-child {

    top: 6.5px;

    transform: rotate(45deg);
}


.studio-menu-toggle.is-open
.studio-menu-icon span:last-child {

    top: 6.5px;

    transform: rotate(-45deg);
}


/* ===========================
   HOVER BOUTON
============================= */

.studio-menu-toggle:hover .studio-menu-label {
    opacity: 0.6;
}


/* ===========================
   BODY MENU OUVERT
============================= */

body.studio-menu-open {
    overflow: hidden;
}


/* =================================
   OFF CANVAS
================================== */

.studio-offcanvas {
    position: fixed;
    top: var(--studio-header-height, 90px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--studio-header-height, 90px));
    background: #fff;
    z-index: 9998 !important;
    overflow-y: auto;
    overflow-x: hidden;
    visibility: hidden;
    pointer-events: none;
    /* plus de transform/transition ici */
    transition: visibility 0s linear 0.65s;
    place-items: center;
}


/* ===========================
   OFF CANVAS OUVERT
============================= */

.studio-offcanvas.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear 0s;
}


/***************************/
/******* CONTENU ***********/
/***************************/

.studio-offcanvas-inner {
    width: fit-content;
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 40px 60px;

    /* l'animation se fait ici maintenant */
    transform: translateY(-100%);
    transition: transform 0.65s cubic-bezier(.77, 0, .18, 1);
}

.studio-offcanvas.is-open .studio-offcanvas-inner {
    transform: translateY(0);
}


/***************************/
/******* NAVIGATION ********/
/***************************/

.studio-offcanvas-nav {

    width: min(1000px, 100%);
}


/***************************/
/**** MENU WORDPRESS ********/
/***************************/

/*
   On utilise le compteur CSS pour
   générer automatiquement 01, 02, 03...
*/

.studio-offcanvas-nav ul {
    counter-reset: studio-menu-item;

    list-style: none;

    padding: 0;
    margin: 0;

    gap: 20px;
    display: flex;
    flex-direction: column;
}


/* Chaque item */

.studio-offcanvas-nav > ul > li {

    counter-increment: studio-menu-item;

    margin: 0;
    padding: 0;
}


/***************************/
/******* LIENS *************/
/***************************/

.studio-offcanvas-nav > ul > li > a {

    display: flex;

    align-items: center;

    gap: 26px;

    width: fit-content;

    padding: 10px 0;

    color: #111;

    text-decoration: none;

    font-family: "Bodoni Moda", serif;

    font-size: 84px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.02em;

    transform: translateX(0);

    transition:
        color 0.5s cubic-bezier(.77, 0, .18, 1),
        transform 0.5s cubic-bezier(.77, 0, .18, 1);
}


/***************************/
/******* NUMÉROS ***********/
/***************************/

.studio-offcanvas-nav > ul > li > a::before {

    content: counter(studio-menu-item, decimal-leading-zero);

    font-family: "Inter", sans-serif;

    font-size: 14px;

    font-weight: 400;

    line-height: 1;

    color: #a68f66;

    flex-shrink: 0;

    letter-spacing: normal;

    transition:
        color 0.5s cubic-bezier(.77, 0, .18, 1);
}


/***************************/
/******* HOVER *************/
/***************************/

.studio-offcanvas-nav > ul > li > a:hover {

    color: #a68f66;

    transform: translateX(35px);
}





/*****************************************/
/***************BOUTONS*******************/
/*****************************************/

/*BOUTON PROJET — GLOBAL*/

.bouton-projet {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;

    text-decoration: none;
    text-transform: uppercase;

    border-bottom: 1px solid var(--ligne-repos);

    font-family: var(--e-global-typography-4e4f5ad-font-family);
    font-size: var(--e-global-typography-4e4f5ad-font-size);
    letter-spacing: var(--e-global-typography-4e4f5ad-letter-spacing);
}

/* Ligne dorée qui se dessine */
.bouton-projet::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;

    width: 100%;
    height: 1px;

    background: #B9975B;

    transform: scaleX(0);
    transform-origin: left center;

    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Survol */
.bouton-projet:hover::after {
    transform: scaleX(1);
}

/* Flèche */
.bouton-projet .fleche {
    display: inline-block;

    transition: transform 0.35s ease;
}

.bouton-projet:hover .fleche {
    transform: translateX(6px);
}


/* ======VARIANTE NOIRE======*/

.bouton-projet.black {
    color: #000000;
    --ligne-repos: #D9D9D9;
}


/* ========VARIANTE BLANCHE======== */

.bouton-projet.white {
    color: #FFFFFF!important;
    --ligne-repos: #726C61;
}










/*****************************************/
/***************TITRES*******************/
/*****************************************/

.accent-title{
    font-style: italic;
    color: var(--e-global-color-accent);
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}












/* =================================
   ZOOM IMAGE — ELEMENTOR
================================= */

.zoom-background {
    position: relative;
    overflow: hidden;
}

/* IMAGE */
.zoom-background > .elementor-widget-video,
.zoom-background > .elementor-widget-image {
    position: absolute!important;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 0!important;
    overflow: hidden;
}

/* Le wrapper intermédiaire d'Elementor pour la vidéo hébergée */
.zoom-background > .elementor-widget-video .elementor-wrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.zoom-background > .elementor-widget-video video,
.zoom-background > .elementor-widget-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1);
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ZOOM AU SURVOL */
.zoom-background:hover > .elementor-widget-image img {
    transform: scale(1.08);
}

.zoom-background::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 25%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0) 75%
    );

    z-index: 1;
    pointer-events: none;
}

/* CONTENU AU-DESSUS DE L'IMAGE */
.zoom-background > *:not(.elementor-widget-image) {
    position: relative;
    z-index: 2;
}














/****************************************************/
/******************** RESPONSIVE ********************/
/****************************************************/

@media (max-width: 1024px) {

    .studio-offcanvas-inner {

        padding:
            20px
            30px
            50px;
    }


    .studio-offcanvas-nav > ul > li > a {

        font-size: 68px;

        gap: 20px;
    }

}


@media (max-width: 767px) {

    .studio-offcanvas-inner {

        padding:
            15px
            24px
            40px;
    }


    .studio-offcanvas-nav > ul > li > a {

        font-size: clamp(42px, 13vw, 64px);

        gap: 14px;

        padding: 8px 0;

        line-height: 1.1;
    }


    .studio-offcanvas-nav > ul > li > a::before {

        font-size: 12px;
    }


    .studio-offcanvas-nav > ul > li > a:hover {

        transform: translateX(15px);
    }

}