/*
Theme Name: Harvest
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: HARVEST
Author URI: https://wordpress.org
Description: 
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Template: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/
@import url("https://use.typekit.net/coa5avj.css");

html, body {
	background-color:rgb(26,26,26);
    overflow-x: hidden !important;
    width: 100% !important;
    overscroll-behavior: none;
	min-height: 100vh;
	cursor: none;
}	

a, a:focus, a:active {
    outline: 0 !important;
    cursor: none;
}

/* Cacher juste les éléments animés tant que le JS n'a pas fini */
html.is-prep .flair,
html.is-prep section.intro .title,
html.is-prep .circle.one,
html.is-prep .circle.two,
html.is-prep .line-inner,
html.is-prep .pages_title,
html.is-prep .cultive { visibility: hidden; }


section.intro { position: relative; }
section.intro .title { position: relative; z-index: 2; }
section.intro .lines { position: relative; z-index: 1; }
.lines .line-inner { display: inline-block; will-change: transform; }

.wp-block-navigation a:where(:not(.wp-element-button)):focus,
.wp-block-post-title a:where(:not(.wp-element-button)):focus,
.wp-block-site-title a:where(:not(.wp-element-button)):focus,
a:where(:not(.wp-element-button)):focus {
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover, .current-menu-item, .post-type-archive-projets .projets{
	color: white;
}

body.light{
	background-color:#F2EBD7;
	background: #F2EBD7;
}
.light .circles{	opacity: 0.1;}
.light {
	& .title,
	& --wp--preset--color--contrast,
	& h1, 
	& h2, 
	& h3, 
	& h4, 
	& h5, 
	& h6,
	& .has-contrast-color
	
	{color: var(--wp--preset--color--base) !important; 
		
	}
}
.light{
		& .wp-block-site-logo
		{ background-color: var(--wp--preset--color--base) !important;
			
		}
}

/*
body:not(.wp-admin){
	cursor: none;	
}
*/



/* section{ min-height: 100vh; } */

header{position: fixed; width: 100%; z-index: 9999999; transition: 0.3s all ease-in-out; background-color:transparent; top:0;}

header .heading .wp-block-site-logo{ transition: 0.4s all cubic-bezier(0.50, 0, 0.58, 1);}
header .heading .wp-block-site-logo { height: 237px; width: 101px; transform-origin: top left;   mask: url(/wp-content/uploads/logo_harvest.svg) no-repeat  top left; background-color: var(--wp--preset--color--contrast); -webkit-mask: url(/wp-content/uploads/logo_harvest.svg) no-repeat  top left; mask-size: contain; }
header .heading .wp-block-site-logo img{ transition: 0.4s all cubic-bezier(0.50, 0, 0.58, 1); opacity: 0; height: 237px; width: 101px;}

header.main-tool-bar--scrolled{ background: rgba(0, 0, 0, 0.14); backdrop-filter: blur(10px); } 
header.main-tool-bar--scrolled .heading .wp-block-site-logo { transform-origin: top left;  height: 80px;  }
header.main-tool-bar--scrolled .heading .wp-block-site-logo { mask: url(/wp-content/themes/ha/img/logo_harvest_mini.svg) no-repeat top left;  -webkit-mask: url(/wp-content/themes/ha/img/logo_harvest_mini.svg) no-repeat  top left;  mask-size: contain;  }
header.main-tool-bar--scrolled .heading nav li{ font-size: 1rem !important; padding: 11px 0px;}


header.main-tool-bar--scrolled .wp-block-site-logo img{ width: 45px; height: 118px;  }

header.open{height: 100%;}

.logo svg {
    fill: red;
}

.circles{ position: fixed;min-height: 100vh; width:100vw;    }
.circle{ position: absolute; }
.circle svg{ width: 100% !important; height: 30vw;}
.circle.one{ right: 5vw; top: 0; visibility: hidden; }
.circle.two{ left: 5vw; top: 50vh; visibility: hidden; }
.content--scrolled #linear-gradient{ }

h1{ opacity: 0;}

.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgb(26,26,26);
  overflow: hidden;
  z-index: 1;
  top:0;
  z-index: 999999;
  opacity: 0;
}

.smooth-content{ visibility: hidden;}


section.two{ margin-top: -50vh;}

@media screen and (min-width: 600px) {
	:not(.wp-admin) .flair {
	  width: 70px;
	  height: 70px;
	  position: fixed;
	  pointer-events: none;
	   top: 0;
	  left: 0;
	    transition: opacity 0.3s ease;
	    z-index: 10000;
	}
	.flair{
		cursor: none;
	}
	
	.flair svg {
	  width: 100%;
	  height: 100%;
	}
	
	.flair #currentShape {
	  fill: #FFD07B; /* Couleur de la forme */
	}
}


@media screen and (max-width: 600px) {
	.flair{ display: none;}
}	



mark a{ position: relative;}

mark a{
	text-decoration: none;
	 background: 
	    linear-gradient(to right, var(--wp--preset--color--contrast), var(--wp--preset--color--contrast)),
	    linear-gradient(to right, var(--wp--preset--color--primary), var(--wp--preset--color--primary));
	  background-size: 100% 2px, 0 2px;
	  background-position: 100% 100%, 0 100%;
	  background-repeat: no-repeat;
	  transition: all 400ms;
}
mark a:hover{
	color: var(--wp--preset--color--primary);
	background-size: 0 2px, 100% 2px;

} 


/* .switch{ display: block; width: 30px; height: 30px; position: absolute; background-color: fuchsia; top: 200px; right: 200px;} */

.siteWeb figure:before{content:''; background-color: #262626; border-radius: 25px 25px 0px 0px; height: 43px; width: 100%; display: block;}

.grid img{ border-radius: 20px;}


.citation > div {
  background: linear-gradient(
    to right,
    var(--wp--preset--color--contrast) 50%,
    rgb(37, 37, 37) 50%
  );
  background-size: 200% 100%;
  background-position-x: 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  /*   margin-bottom: -250px; */
/*
  margin-left: 50px;
  line-height: 1.2;
*/
  /*   outline: 6px dotted teal; */
/*   font-size: 10vw; */
}

.wp-block-spacer{
	background-color:  var(--wp--preset--color--contrast);
}
.projets a{
	transition: all 0.3s ease;
	background-size: 0;
}
.projets a:hover{
	
/*
	background-size: 100%;
		background-color: var(--wp--preset--color--contrast);
*/
}
.projets a h2{
	padding: 0;
	transition: all 0.3s ease;
}	

.projets a:hover h2{
	padding-left: 10px;
	color: var(--wp--preset--color--primary);
}

.imgQui img{
	max-height: 90vh;
/* 	overflow: auto; */
	vertical-align: top;
}
.gradient{
	background: -webkit-linear-gradient(var(--wp--preset--color--base), #313131);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accordion {
  width: 250px;
  margin: 15px;
  box-shadow: 0 8px 17px rgba(0,0,0,.2);
}

.accordion-menu {
  color: white;
  padding: 10px;
  cursor:pointer!important;
  user-select: none;
  position:relative;
}


.accordion-content {
  height: 0;
  overflow: hidden;
  font-size: 14px;
  width: 60%;
}

.accordion-content.expanded {
  height: 0;
  overflow: hidden;
}
.accordion-plus,
.accordion-minus{
  position:absolute;
  top:7px;
  right:8px;
}
p {
  margin: 10px;
}

.selected{ color: var(--wp--preset--color--custom-rose-cp) !important; }

.exp .line{transition: all ease-in-out .5s; cursor: pointer; transform-origin: left;}
.exp .line:hover{transform: scale(1.1); }

.exp .line{transition: all ease-in-out .5s;}


/* évite les reflows au scroll des lignes */
.lines { will-change: transform; }

/* évite les superpositions de ligne pendant/juste après SplitText */
.lines { position: relative; }
.line-inner{
  display: inline-block;      /* empêche le "collage" vertical */
  will-change: transform;
}

/* boîte qui clippe chaque ligne */
.split-line, .line-wrap, .line { /* selon le nom que tu utilises, ici on cible large */
  display:block;
  overflow:hidden;
}

/* notre “inner” animé */
.line-inner{
  display:inline-block;
  transform: translate3d(0,0,0);
  backface-visibility:hidden;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 1213px) {
.basline{min-width:445px!important;}
}

@media (max-width: 650px) {
	.circle.one{ top: 15vh; right: -47vw;}
	.circle.two{ left: -15vw;}
	.circle svg{ height: 60vw;}
	.creativite, .savoir-faire{
		left: 0 !important;
	}
	.bleu-ligne, .beige-ligne{
		display:none;
	}
	.ginput_container_consent {
		padding-top: 0rem !important;
	}
}	


.get-on-front{
	position: relative;
	z-index: 3;
}
.ligne-verte {
  position: relative;
  bottom: 10rem;          /* fait dépasser la ligne en dessous de l’image */
  left: 50%;              /* centrée horizontalement */
  transform: translateX(-50%);
  width: 1rem;             /* épaisseur de la ligne */
}
.beige-ligne{
  position: relative;
  bottom: 18rem;          /* fait dépasser la ligne en dessous de l’image */
  left: 50%;              /* centrée horizontalement */
  transform: translateX(-50%);
  width: 2rem; 
}
.bleu-ligne{
  position: relative;
  bottom: -7rem;          /* fait dépasser la ligne en dessous de l’image */
  left: 50%;              /* centrée horizontalement */
  transform: translateX(-50%);
  width: 2rem; 
  z-index: 2;
}
.savoir-faire{
	position:relative;
	left: 2rem;
}
.creativite{
	position:relative;
	left: -2rem;
}
.lignes{
	position: relative;
	left:18rem;
	top:15rem
}
.arcs-cercles{
	position: relative;
	left:-5rem;
	top:9rem
}
.arcs-cercles .wp-image-706{
	width: 8rem !important;
}
.lignes .wp-image-699{
	width: 10rem !important;
}

.gform_wrapper .ginput_container input{
	background: none;
	border-right: none;
	border-left: none;
	border-top: none;
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
}
.contact .message .gform-field-label, .email .gform-field-label, .nom .gform-field-label {
	font-size: 2rem !important;
    font-weight: 400 !important;
}
.gform_wrapper .ginput_container textarea{
	background: none;
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast);
}
.ginput_container_consent {
	padding-top: 3rem;
}

.gform_button{
	background-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-radius: 20px;
	border: none;
	padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: medium;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
	font-weight: 600;
}
.gfield_consent_label::after{
	content: "*";
	position: relative;
	color: #FFD07B;
	font-weight: bold;
	font-size: 1rem;
    top: -0.5rem;
}
.gfield_required::before{
	content: "*";
	position: relative;
	color: #FFD07B;
	font-weight: bold;
	font-size: 1rem;
    top: -1rem;
}
.gfield_required_text {
	display: none !important;
}

.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease; 
}

.contact-page .circle.one, .contact-page .circle.two{
	display: flex;
	position: relative !important;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
    transform: rotate(90deg) !important;
}
.contact-page .circle.one{
	right: -13.7vw !important;
}

.contact-page .circle.two{
	left: -13.7vw;
    top: -7vh;
}


.panel .marquee-track{
  display: flex;
  gap: clamp(2rem, 6vw, 8rem); /* espace entre mots */
  will-change: transform;
  transform: translate3d(0,0,0);
}
.panel .wp-block-heading{
  white-space: nowrap;
  display: inline-block;
}

section.for {
  position: relative;
  overflow: visible; /* pour éviter un scroll horizontal pendant l’entrée */
}

/* Les mots restent au-dessus */
section.for .panel {
  position: relative;
  z-index: 2;
}

/* Conteneurs des SVG */
section.for .svg1,
section.for .svg2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  display: grid;
  place-items: center;
}

/* SVG1 à gauche */
section.for .svg1 {
  left: 0;
}

/* SVG2 à droite */
section.for .svg2 {
  right: 0;
}

/* Taille des SVG : plus petite */
section.for .svg1 svg,
section.for .svg2 svg {
  width: min(35vw, 50vw); /* chacun prend ~35% de largeur max */
  height: auto;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

/* Zone projets + on cache les featured en liste */
.page-projets-scope .wp-block-post-featured-image{ display:none !important; }

/* Vignette qui suit la souris */
.cursor-sidecar{
  position: fixed; top:0; left:8%;
  width: clamp(150px, 15vw, 300px);
  aspect-ratio: 1/1;          /* mets 1/1 + border-radius:50% pour rond */
  background: center/cover no-repeat;
  border-radius: 50%; 
  pointer-events: none;
  z-index:100;              /* sous .flair */
  opacity: 0;
  transform: translate(-50%,-50%);
  box-shadow: 0 12px 48px rgba(0,0,0,.35);
}

/* --- Projects slider --- */
.projects-as-slider {
  position: relative;
  overflow: hidden;
}

/* viewport créé par le JS pour isoler le track */
.projects-as-slider .slider-viewport {
  overflow: hidden;
  width: 100%;           /* plein écran pour un slide = 100vw */
  max-width: 100%;
  margin-inline: 0;
}
.projects-as-slider .slider-viewport { min-height: 100vh; }
.projects-as-slider .slider-track    { align-items: center; }
.projects-as-slider .wp-block-post   { transform-origin: center center; }

/* la UL d’origine devient le track horizontal */
.projects-as-slider .slider-track {
  display: flex;
  will-change: transform;
  touch-action: pan-y;
}

/* chaque LI devient un “slide” plein écran */
.projects-as-slider .slider-track > li.wp-block-post {
  flex: 0 0 100vw;
  max-width: 100vw;
}

/* Harmonise l’intérieur (cover plein cadre) */
.projects-as-slider .wp-block-cover {
  min-height: min(60vh, 600px);
}
.projects-as-slider .wp-block-cover__image-background {
  object-fit: cover;
}

/* Boutons (si tu utilises la nav classique) */
.projects-as-slider .slider-nav {
  position: absolute;
  inset: auto 0 1rem 0;
  display: flex; justify-content: center; gap: .75rem;
  pointer-events: none;
}
.projects-as-slider .slider-nav button {
  pointer-events: auto;
  border: 0; border-radius: 999px;
  padding: .65rem 1rem; background: rgba(0,0,0,.5); color: #fff;
  backdrop-filter: blur(6px);
  cursor: pointer;
}

/* Désactive l’ancienne marge/flow de la Query Loop */
.projects-as-slider .wp-block-post-template {
  margin: 0; padding: 0; list-style: none;
}


@media (pointer: coarse){ .cursor-sidecar{ display:none !important; } }


/* aide le GPU */
[data-reveal],[data-parallax],[data-item]{ will-change: transform, opacity; transform: translateZ(0); }
/* évite saut lors d’apparition */
/* img[loading="lazy"]{ aspect-ratio: attr(width) / attr(height); } */