/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.4.0.1713256350
Updated: 2024-04-16 10:32:30

*/

.image-slider .swiper-wrapper {
  transition-timing-function: linear !important; 
}

.image-slider::after {
    content: "";
    background-image: linear-gradient(90deg,
        #ffffff,
        transparent 30%,
        transparent 70%,
        #ffffff
    );
    inset: 0;
    position: absolute;
    z-index: 1;
}



.section-bordure {
  position: relative;
  padding: 50px; /* ou selon tes besoins */
  z-index: 1;
}

.section-bordure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  border: 10px solid gold;
  border-radius: 10%;
  z-index: -1;
  clip-path: polygon(
    0% 0%,     /* haut gauche */
    100% 0%,   /* haut droite */
    95% 100%,  /* bas droite */
    5% 100%    /* bas gauche */
  );
  background: white; /* ou transparent si tu veux juste la bordure */
  box-sizing: border-box;
}









/* 1. Empêche le scroll horizontal à la racine */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* 2. Assure que tous les éléments calculent bien leur largeur */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 3. Empêche les gros débordements involontaires */
img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 4. Facultatif : limite les sections principales */
section, div {
  max-width: 100vw;
}


