/* ----------------------------------------------------------------
	Custom CSS
	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


:root {
    --main-color: #f2bd82;
    --secondary-color: #d2a9b5;
    --back-color: #f7ddc0;
    --swiper-color: #ffeaab;

    --cookie-banner-bg: #f8f9fa;
    --cookie-banner-text: #212529;
    --cookie-banner-accept-bg: #0d6efd;
    --cookie-banner-accept-text: #ffffff;
    --cookie-banner-accept-hover: #0b5ed7;
    --cookie-banner-decline-bg: transparent;
    --cookie-banner-decline-text: #6c757d;
    --cookie-banner-decline-border: #dee2e6;
    --cookie-banner-decline-hover-bg: rgba(0, 0, 0, 0.05);
}


@font-face {
    font-family: 'LouisaCP';
    src: url('fonts/LouisaCP.otf') format('opentype');
    /* You can add additional font formats if needed */
    font-weight: normal; /* adjust as needed */
    font-style: normal; /* adjust as needed */
}

.btn-rose {
    border: var(--secondary-color) !important;
    background-color: var(--secondary-color) !important;
}

hr {
    width: 100%;
    height: 50px;
    border: 0;
}
hr.pratique {
    background: url(../../images/theme/envol/plume_titre.png) no-repeat center !important;
    background-size: contain !important;
}

.color-rose {
    color: var(--secondary-color) !important;
}

.fbox-effect .fbox-icon i:hover,
.fbox-effect:hover .fbox-icon i {
    background-color: #efe0e5;
    color: #FFF;
}

#footer {
    background-color: var(--back-color);
    border-top: 5px solid rgba(0,0,0,0.2);
}

.col-padding-2 {
    padding: 2rem;
}

.promo-light {
    /*background-color: #efe0e5;*/
    border-radius: 3px;
}

.heading-block {
    margin-bottom: 30px;
}

.center .heading-block::after, .text-center .heading-block::after, .heading-block.center::after, .heading-block.text-center::after {
    margin: 10px auto 0;
}

.heading-block::after {
    content: '';
    display: block;
    margin-top: 20px;
    width: 40px;
    border-top: 0px solid #444;
}

.event .grid-inner {
    background-color: #fff;
    border-bottom: 0px solid #EEE;
}

.btn-rose {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--secondary-color);
    --bs-btn-border-color: var(--secondary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary-color);
    --bs-btn-hover-border-color: var(--secondary-color);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--secondary-color);
    --bs-btn-active-border-color: var(--secondary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--secondary-color);
    --bs-btn-disabled-border-color: var(--secondary-color);
}

.btn-grey, .btn-floating {
    --bs-btn-color: #fff;
    --bs-btn-bg: lightgrey;
    --bs-btn-border-color: lightgrey;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: lightgrey;
    --bs-btn-hover-border-color: lightgrey;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: lightgrey;
    --bs-btn-active-border-color: lightgrey;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: lightgrey;
    --bs-btn-disabled-border-color: lightgrey;
}

.btn-terra {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--main-color);
    --bs-btn-border-color: var(--main-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--main-color);
    --bs-btn-hover-border-color: var(--main-color);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--main-color);
    --bs-btn-active-border-color: var(--main-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--main-color);
    --bs-btn-disabled-border-color: var(--main-color);
}

.no-text-transform {
    text-transform: none !important;
}

.bold {
    font-weight: bold !important;
}

h1 {
    margin: 0 0 10px;
    line-height: 1;
}

.louisaCp {
    font-family: 'LouisaCP', sans-serif; /* Fallback font */
    color: #444 !important;
    font-size: 50px;
}

.slider-caption:not(.dark), .slider-caption:not(.dark) h2 {
    color: #444;
    text-shadow: none;
}

.slider-caption h2 {
    line-height: 1;
    font-size: 30px;
    margin-bottom: 10px;
    margin-top:36px;
}

.slider-caption p {
    font-size: 18px;
    margin-bottom: 40px;
}

.button-3d.button-purple:hover, .button-border.button-purple.button-fill::before, .button-border.button-purple:hover, .button-purple:not(.button-border), .button-reveal.button-purple:hover {
    background-color: var(--main-color) !important;
}

.bg-color, .bg-color #header-wrap, .h-bg-color:hover, .process-steps li.active a, .process-steps li.ui-tabs-active a, .sidenav > .ui-tabs-active > a, .sidenav > .ui-tabs-active > a:hover, .owl-carousel .owl-nav [class*=owl-]:hover, .widget-filter-links li.active-filter span, .page-item.active .page-link, .page-link:hover, .page-link:focus {
    background-color: var(--back-color) !important;
}

.floating-contact-wrap .floating-contact-btn {
    background-color: var(--main-color) !important;
}

.entry-title h2 a, .entry-title h3 a, .entry-title h4 a {
    color: var(--main-color);
}

.entry-title h2, .entry-title h3, .entry-title h4 {
    color: var(--main-color);
}

.color-terra {
    color: var(--main-color) !important;
}

#simp {
    background: var(--main-color) !important;
    color: #444 !important;
}

.color-dark {
    color: #444;
}


#page-title h1, .menu-link, .slider-caption h2, .top-cart-title h4, .top-links-item>a {
    text-transform: none !important;
}

/**
 * CSS Fix Menu Mobile pour thème Envol
 * À ajouter dans public/css/envol/mobile-menu-fix.css
 */

/* Trigger SVG Animation */
#primary-menu-trigger {
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

#primary-menu-trigger .svg-trigger {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

#primary-menu-trigger .svg-trigger path {
    fill: none;
    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease, stroke-dashoffset 0.3s ease;
}

/* Animation du hamburger en X */
#primary-menu-trigger.active .svg-trigger path:nth-child(1) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

#primary-menu-trigger.active .svg-trigger path:nth-child(2) {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
}

#primary-menu-trigger.active .svg-trigger path:nth-child(3) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

/* Menu mobile */
@media (max-width: 991px) {
    /* Header mobile - ajuster la hauteur */
    #header {
        height: 60px;
    }

    #header-wrap {
        padding: 10px 0;
    }

    .header-row {
        min-height: 60px;
    }

    /* Logo mobile - s'assurer qu'il est visible */
    #logo {
        display: block !important;
        z-index: 1002;
        position: relative;
    }

    #logo img {
        max-height: 40px;
        width: auto;
    }

    /* Bouton hamburger - positionné à droite */
    #primary-menu-trigger {
        position: relative;
        z-index: 1002;
    }

    /* Menu mobile */
    .primary-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(50vh - 60px);
        background: #fff;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .primary-menu.mobile-menu-active {
        left: 0;
    }

    /* Bouton fermer en haut à droite du menu */
    .primary-menu::before {
        content: '×';
        position: fixed;
        top: 22px;
        right: 15px;
        font-size: 30px;
        cursor: pointer;
        z-index: 1001;
        width: 40px;
        height: 40px;
        display: none;
        align-items: center;
        justify-content: center;
        line-height: 1;
        transition: color 0.2s ease;
    }

    .primary-menu.mobile-menu-active::before {
        display: flex;
    }

    .primary-menu::before:hover {
        color: var(--back-color);
    }

    .primary-menu .menu-container {
        display: flex;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .primary-menu .menu-item {
        border-bottom: 1px solid #f0f0f0;
    }

    .primary-menu .menu-link {
        display: block;
        padding: 12px 10px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        transition: background-color 0.2s ease;
    }

    .primary-menu .menu-link:hover,
    .primary-menu .menu-item.active .menu-link {
        background-color: var(--back-color);
        color: #000;
    }

    /* Empêcher le scroll du body quand le menu est ouvert */
    body.menu-open {
        overflow: hidden;
    }
}

/* Desktop - cacher le trigger */
@media (min-width: 992px) {
    #primary-menu-trigger {
        display: none;
    }

    .primary-menu {
        position: static;
        display: block !important;
    }
}

#logo a.standard-logo {
    display: flex !important;
;
}


@media (max-width: 991px) {
    /* Forcer l'affichage du logo */
    #logo,
    #logo a,
    #logo img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* S'assurer que le logo a la bonne taille */
    #logo {
        max-width: 150px;
        flex-shrink: 0;
    }

    #logo a {
        display: block !important;
    }

    #logo img {
        max-height: 40px;
        width: auto;
        height: auto;
    }

    /* Ajuster le layout du header pour mobile */
    .header-row {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
    }

    /* S'assurer que le trigger est bien positionné */
    #primary-menu-trigger {
        display: block !important;
        margin-left: auto;
    }

    /* Cacher le menu desktop en mobile */
    .primary-menu:not(.mobile-menu-active) {
        display: none;
    }
}

