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


/* Reveal au scroll sur images via clip-path */
.reveal-img {
  clip-path: inset(100% 0 0 0);
  -webkit-clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

/* Fallback : JS désactivé ou prefers-reduced-motion */
.no-js .reveal-img,
@media (prefers-reduced-motion: reduce) {
  .reveal-img {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }
}

/* Voile — présent mais invisible par défaut */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 998;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

/* Survol d'un item de menu qui a un sous-menu → on grise + floute le fond */
body:has(.elementor-nav-menu--main .menu-item-has-children:hover)::after {
  opacity: 1;
  visibility: visible;
}

/* Le header reste au-dessus du voile */
.elementor-location-header {
  position: relative;
  z-index: 999;
}

/*H1*/
.under-h1 {
    font-family: "Montserrat", Sans-Serif!important;
    font-size: .2em;
    letter-spacing: 1.4px;
    font-weight: 600;
    text-transform: uppercase;
}
.under-h1-pages {
    font-family: "Montserrat", Sans-Serif!important;
    font-size: .25em;
    letter-spacing: 1.4px;
    font-weight: 600;
    text-transform: uppercase;
}
@media all and (max-width:1024px) {
    .under-h1 {
    margin-top: -8px;
}
}
@media all and (max-width:768px) {
    .under-h1 {
    margin-top: 4px;
    font-size: .35em;
    line-height: 1.5em;
}
}

/*COULEURS*/
.color-brown {
    color: #88421D;
    font-style: italic;
}