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


h1, h2, h3, h4, .chiffre span{
    font-family: 'Melodrama', sans-serif!important;
    letter-spacing: 2px!important;
    font-weight: 600!important;
}

.cuvees h3{
  font-weight:500!important;
}



/*HEADER*/

/*.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background-color 0.3s ease;
}

.header.scrolled{
 background-color:black!important;
}*/

.logo-header {
  transition: width 0.3s ease;
}

.header.scrolled .logo-header {
  width: 120px;
}



/*ACTUALITES*/

.evenement-content {
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.evenement:hover .evenement-content {
  transform: translateY(0);
}

.btn-evenement {
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}

.evenement:hover .btn-evenement {
  opacity: 1;
}

.evenement .btn-evenement {
  transition: opacity 0.5s ease;
}



/*typing text*/

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.word.active {
  opacity: 1;
  transform: translateY(0);
}


/*collections accueil*/

.collection-solo:hover .elementor-divider-separator{
    /*push down the line smoothly*/
    transition: all 0.3s ease;
    transform: translateY(5px);
}



.collection-solo:hover .elementor-widget-image img{
    border-radius: 50px!important;
    transition: all 0.3s ease-in-out;
}

.elementor-widget-image img{
    transition: all 0.3s ease-in-out;
}

.collection{
    margin-left: auto !important;
    margin-right: 0 !important;
}

.famille{
    margin-right: auto !important; /* pousse l'élément à gauche */
    margin-left: 0 !important;
}

.swiper-wrapper {
      -webkit-transition-timing-function: linear !important;
      -moz-transition-timing-function: linear !important;
      -o-transition-timing-function: linear !important;
      transition-timing-function: linear !important; 
}

img.swiper-slide-image.swiper-lazy.swiper-lazy-loaded {
    width: 100px;
    filter: grayscale(5);
}

.swiper-slide[data-swiper-slide-index="6"] img {
    width:auto!important;
}


img.swiper-slide-image.swiper-lazy.swiper-lazy-loaded:hover{
    filter: none;
     transition: all 0.3s ease-in-out;
}


.recompenses-produits img{
  filter: grayscale(5);
  width: 100px!important;
}


.swiper-slide[data-swiper-slide-index="6"] img {
    width:auto!important;
}

.recompenses-produits img:hover{
  filter: none;
  transition: all 0.3s ease-in-out;
}


/*SCROLLING BADGE*/

.rotating-badge-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-badge {
  position: absolute;
  inset: 0;
  animation: spin 40s linear infinite;
}

.rotating-badge svg {
  position: absolute;
  inset: 0;
  animation: spin 40s linear infinite;
}

.rotating-badge text {
  fill: #ffffff; /* ta couleur */
  font-size: 14px;
  letter-spacing: 7.5px;
  font-family: 'Lato', Sans-serif;
}

.arrow {
  font-size: 1.5rem;
  color: #ffffff;
  z-index: 1;
      margin-bottom: -9px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/*BOUTONS*/

.btn-boivin {
  position: relative;
  border-bottom: none; /* on retire le border natif */
  padding-bottom: 4px;
}

.btn-boivin::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--e-global-color-secondary);
  transition: width 0.3s ease, left 0.3s ease;
}

.btn-boivin:hover::after {
  width: 50%;
  left: 25%;
}


/*collections*/

/* ---- Ligne collection ---- */
.coll-item {
  transition: padding-left 0.35s cubic-bezier(.4,0,.2,1);
}

.coll-item:hover {
  padding-left: 6px;
}



/* ---- Nom de la collection ---- */
.c-name h3 {
  transition: color 0.3s;
}
.coll-item:hover .c-name h3{
  color: #9e723d!important;
  -webkit-text-stroke-color: #9e723d!important;
}

/* ---- Bloc droite (count + flèche) ---- */
.c-right {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

/* ---- Nombre de cuvées ---- */
.c-count {
  transition: color 0.3s;
}
.coll-item:hover .c-count {
  color: #9e723d;
}

/* ---- Flèche ---- */
.c-arrow {
  font-size: 18px;
  color: #9e723d;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.coll-item:hover .c-arrow {
  opacity: 1;
  transform: translateX(0);
}




/*image zoom*/

.impaakt-sps__panel-body{
  display:flex;
  justify-content:center;
  align-items:center;
  width: 45vw!important;
  text-align:center;
  flex-direction: column;
}

span.texte{
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-style: normal!important;
}

.elementor-widget-impaakt_split_panels_scroll .impaakt-sps__panel{
  align-items:center;
}


.impaakt-sps__panel--center {
  position: relative;
}

.impaakt-sps__panel--center::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 0; /* derrière */
}

.impaakt-sps__panel--center.overlay-active::after {
  opacity: 1;
}



.impaakt-sps__panel-body {
  position: relative;
  z-index: 1; /* devant l'overlay */

}




.impaakt-sps__panel--right, .impaakt-sps__panel--left{
margin-top:88px;
}


/*boutons*/

.btn-collections {
  display: inline-block;
  cursor: pointer;
  padding: 12px 28px;
  border-radius: 8px;          /* pilule / ovale */
  border: 1.5px solid #000;
  background: transparent;
  color: #000;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  overflow: hidden;
  text-transform: uppercaseOIR TOUT;
}

.btn-inner {
  position: relative;
  overflow: hidden;
  height: 1.2em;
}

.btn-text-top,
.btn-text-bottom {
  display: block;
  transition: all 1.125s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-text-bottom {
  position: absolute;
  top: 1.4em;
  left: 0;
}

.btn-collections:hover .btn-text-top {
  transform: translateY(-1.4em);
}

.btn-collections:hover .btn-text-bottom {
  top: 0;
}

.btn-collections:hover {
  color: #9E723D;
  border-color: #9E723D;
}