/* 
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 */

html, body {
    overflow-x: hidden;
    width: 100%;
}

/* ----- TITRES ----- */
span.jakarta-italic-h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-style: italic;
    font-weight: 100;
}

::marker {
    color: #ddc07e !important;
}

/* ----- BOUTON ----- */
.btn-custom-border {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
    background: #ddc07e;
    border-radius: 999px;
    cursor: pointer;
    font-size: 17px;
    font-family: 'Inter';
}

.btn-text {
    display: block;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    transition: transform 0.35s ease;
}

.btn-custom:hover .btn-text {
  transform: translateY(-180%);
}

.btn-custom::after {
    content: attr(data-text);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 120%);
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.35s ease;
    font-family: 'Inter';
    font-weight: 400;
}

.btn-custom:hover::after {
  transform: translate(-50%, -50%);
}

.btn-custom:hover {
    background: #f9d073;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
    background: #ddc07e;
    border-radius: 999px;
    cursor: pointer;
    font-size: 17px;
    font-family: 'Inter';
}

.btn-text {
    display: block;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    transition: transform 0.35s ease;
}

.btn-custom:hover .btn-text {
  transform: translateY(-180%);
}

.btn-custom::after {
    content: attr(data-text);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 120%);
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.35s ease;
    font-family: 'Inter';
    font-weight: 400;
}

.btn-custom:hover::after {
  transform: translate(-50%, -50%);
}

.btn-custom:hover {
    background: #f9d073;
}

/* ----- BOUTON BORDER ----- */
.btn-custom-border {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 50px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Inter';
    overflow: hidden;
}

.btn-icon {
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.btn-text-wrapper {
    position: relative;
    height: 18px;
    overflow: hidden;
    display: inline-block;
    margin-bottom: 6px;
}

.btn-text-border {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    transition: transform 0.35s ease;
}

.btn-custom-border:hover .btn-text-border {
    transform: translateY(-180%);
}

.btn-text-wrapper::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(120%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: transform 0.35s ease;
}

.btn-custom-border:hover .btn-text-wrapper::after {
    transform: translateY(0%);
}

.btn-custom-border:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ----- */

/* ----- VIDEO ACCUEIL HEADER ----- */
img.attachment-large.size-large.wp-image-56:hover {
    font-size: 0.1px;
    transform: scale(1.3);
    transition: 0.3s;
}

img.attachment-large.size-large.wp-image-56{
    transition: 0.3s;
}

/* ----- FAQ ----- */
/* ==========================================================
   FAQ sticky - image fixe à gauche / accordéon à droite
   ========================================================== */

/* À mettre sur la section complète contenant les 2 colonnes */
.faq-sticky-section {
  overflow: visible !important;
}

/* Débloque les conteneurs internes WordPress / Elementor */
.faq-sticky-section,
.faq-sticky-section .elementor-container,
.faq-sticky-section .elementor-column,
.faq-sticky-section .elementor-widget-wrap,
.faq-sticky-section .e-con,
.faq-sticky-section .e-con-inner,
.faq-sticky-section .wp-block-columns,
.faq-sticky-section .wp-block-column {
  overflow: visible !important;
  transform: none !important;
  contain: none !important;
}

/* Colonne gauche */
.faq-sticky-section .img-fixed {
  position: sticky !important;
  top: 120px;
  align-self: flex-start !important;
  height: fit-content !important;
  z-index: 10;
}

/* Image dans la colonne gauche */
.faq-sticky-section .img-fixed img {
  display: block;
  width: 100%;
  height: auto;
}

/* Colonne droite */
.faq-sticky-section .faq-fixed {
  position: relative;
  z-index: 1;
}

/* Mobile/tablette : désactivation */
@media (max-width: 1024px) {
  .faq-sticky-section .img-fixed {
    position: relative !important;
    top: auto !important;
  }
}

/* Sections d'animations: rétablit sticky malgré les conteneurs Elementor */
.elementor-section:has(.wee-slider-section),
.elementor-container:has(.wee-slider-section),
.elementor-column:has(.wee-slider-section),
.elementor-widget-wrap:has(.wee-slider-section),
.e-con:has(.wee-slider-section),
.e-con-inner:has(.wee-slider-section),
.elementor-section:has(.ha),
.elementor-container:has(.ha),
.elementor-column:has(.ha),
.elementor-widget-wrap:has(.ha),
.e-con:has(.ha),
.e-con-inner:has(.ha),
.elementor-section:has(.ha-vente),
.elementor-container:has(.ha-vente),
.elementor-column:has(.ha-vente),
.elementor-widget-wrap:has(.ha-vente),
.e-con:has(.ha-vente),
.e-con-inner:has(.ha-vente) {
  overflow: visible !important;
  transform: none !important;
  contain: none !important;
}

.wee-slider-sticky,
.ha-sticky,
.ha-sticky-vente {
  position: sticky;
  top: 0;
  align-self: flex-start;
  z-index: 5;
}
