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


/*HEADER*/

#header {
  position: fixed; /* ou fixed si tu veux qu'il reste toujours visible */
  top: 0;
  width: 100%;
  padding: 0 20px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  z-index: 1000; /* pour être au-dessus du contenu */
}

/* Classe appliquée au scroll */
#header.scrolled {
  background-color: black; /* couleur de fond au scroll */
}


/*TITRES*/

h1{
  hyphens: auto;
}


.titre{
    rotate: calc(-7deg);
    margin-left: -25px;
    hyphens: auto;
}

.sous-titre{
    margin-top:-12px;
    rotate: calc(-7deg);
	padding-bottom:15px;
}

.sous-titre.center{
    margin-top:-8px;
}





/* Effet appliqué uniquement au texte interne du bouton */
/* Bouton effet Shine pour Elementor */
.bouton-effect {
  position: relative;
  display: inline-block;
  padding: 12px 0 !important;
  background: linear-gradient(to right, #9f9f9f 0, #fff 10%, #868686 20%);
  background-position: 0;
  background-size: 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-position 0.3s ease;
}

/* Animation du shine au survol */
.bouton-effect:hover {
  animation: shine 2s linear forwards;
  border-color: #fff !important;
}

/* Animation */
@keyframes shine {
  0% {
    background-position: 0;
  }
  60% {
    background-position: 180px;
  }
  100% {
    background-position: 180px;
  }
}






/** {
	box-sizing: border-box;
}
body {
  font-family: Mori;
	background: #111;
	min-height: 100vh;
	padding: 0;
	margin: 0;
}*/

.gallery {
    position: relative;      /* reste dans le bloc Elementor */
    width: 100%;
    height: auto;            /* laisse Elementor gérer la hauteur */
    overflow: visible;       /* IMPORTANT : permet aux boutons de dépasser */
    padding-bottom: 0;    /* espace pour les boutons */
}

.cards {
    position: relative;      /* cartes centrées dans le bloc */
    width: 22rem;
    height: 20rem;
    margin: 0 auto;
    top: 0;
    transform: none;
        list-style: none;
}

.cards li {
    position: absolute;
    top: 0;
    left: 0;
    width: 22rem;
    height: 18rem;
    text-align: center;
    line-height: 18rem;
    font-size: 2rem;
    border-radius: 0.8rem;
        display: flex;
    align-items: center;
}

.cards li::marker{
  display:none;
}

.cards li img{
  max-width:90%;
}

.actions button {
    color: #9F9F9F;
    border:none;
}

.actions button:hover, .actions button:focus {
    border-color: #fff;
    color: #fff;
  background-color: transparent;
}

.actions {
    position: relative;     /* pour qu’elles soient dans le flux */
    margin-top: 60px;       /* espace entre cartes et boutons */
    text-align: center;
    z-index: 10;            /* s’assure qu’elles restent au-dessus */
}



@media screen and (max-width: 768px) {
  .titre{
    margin-left: 0px;
  }
  
.cards {
    width: 17rem!important;
}

.cards li {
    width: 17rem!important;
}

.actions{
  margin-top:0!important;
}

}