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


/*cookies*/

.grecaptcha-badge { 
	display : none!important; 
}


#cmplz-manage-consent .cmplz-manage-consent {
    bottom: 30px !important;
    left: 30px !important;
    border-radius: 100% !important;
    width: 45px;
    height: 45px !important;
    min-width: unset !important;
    padding: 0 !important;
	color:transparent!important;

    background: linear-gradient(135deg, #88CDF5, #9A64FC) !important; /* TON GRADIENT */
    position: relative;
}


.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept, .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny{
	background: linear-gradient(135deg, #88CDF5, #9A64FC) !important; /* TON GRADIENT */
    position: relative;
	border: none!important;
}

.cmplz-title, .cmplz-cookiebanner {
	font-family: 'Rethink Sans';
}

#cmplz-manage-consent .cmplz-manage-consent::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url(/wp-content/uploads/2026/03/cookie.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size:45px;
}




/*HEADER*/
.header-sticky {
  position: relative; /* nécessaire */
}

.header-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.header-sticky.scrolled::before {
  opacity: 1;
  background-color: #f7f7f793;
}

.header-sticky.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  /* plus de backdrop-filter ici */
}

.menu-off-canvas{
  height:100%;
}



/*arc*/


.container {
    position: absolute;
    width:100%;
    height: 1450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    top:-145px;
    z-index: -1;
  }

  /* SVG en arrière-plan absolu */
  .arc-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  .arc-path {
    fill: none;
    stroke: #c8c8d4;
    stroke-width: 1.2;
  }

  /* Orbes */
  .orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
  }

  .orb-large {
    width: 22px;
    height: 22px;
    background: linear-gradient(1deg,rgba(134, 176, 245, 1) 0%, rgba(158, 102, 253, 1) 100%);
    filter : blur(2px);
  }

  .orb-small {
    width: 12px;
    height: 12px;
    background: linear-gradient(1deg,rgba(134, 176, 245, 1) 0%, rgba(158, 102, 253, 1) 100%);
    filter : blur(2px);
  }



  .handwrite{
    font-family:var(--e-global-typography-3297839-font-family);
    background: linear-gradient(135deg, #7E57F3, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-right: 4px;
  }

  .handwrite.left-10{
    padding-left: 11px;
  }

.handwrite.title{
    padding-right: 16px;
    font-size: 90px;
    padding-top: 20px;
        padding-top: 5px;
    padding-bottom: 31px;
  }


  .elementor-widget-image a{
    width:100%;
    height:100%;

  }


  /************BLOG***************/

  .grille-article .elementor-widget-image a{
    height:100%;

  }

  .grille-article p{
    margin:0;
  }

  
  .grille-article .e-loop-item:hover .img-blog {
    transform: rotate(3deg);
  }

  .grille-article .e-loop-item:hover h3 {
    color: #5a5a5a!important;
    transition: color 0.3s ease-in-out;
  }



/***************ACCUEIL*****************/

.thematiques:hover h3{
    color:#fff!important;
}







/* Tous les items de base */




/* Style commun */
.item {
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding-left: 40px;
  font-weight: 600;
  font-size: 22px;
  cursor: pointer;
  background-color: #d9d9d9;
  position: relative; /* nécessaire pour le pseudo-élément */
  overflow: hidden;   /* pour respecter le border-radius */

  transition: height 0.6s cubic-bezier(.4,0,.2,1);
  transition-delay: 0.1s;
}

/* Le pseudo-élément porte l'image */
.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s; /* délai après le début du resize */
}

.item3::before {
  background-image: url("https://surlatoiledev.britweb.fr/wp-content/uploads/2026/02/sur-la-toile-reims.jpg");
  opacity: 1;
}

/* S'assurer que le texte reste au-dessus du pseudo-élément */
.item h3 {
  position: relative;
  z-index: 1;
  transition: color 0.4s ease 0.2s;
}

/* Hauteurs */
.item1,
.item2 {
  height: 100px;
}

.item3 {
  height: 150px;
}

.item1::before {
  background-image: url("/wp-content/uploads/2026/02/communication-sur-la-toile.jpg");
  opacity: 0;
}

.item2::before {
  background-image: url("/wp-content/uploads/2026/02/technologies-sur-la-toile.jpg");
  opacity: 0;
}

.item3::before {
  background-image: url("/wp-content/uploads/2026/02/actualites-sur-la-toile.jpg");
  opacity: 1; /* visible par défaut */
}

/* -------- HOVER LOGIC -------- */

/* Hover item1 */
.accordion:has(.item1:hover) .item1 {
  height: 150px;
}
.accordion:has(.item1:hover) .item1::before {
  opacity: 1;
}

.accordion:has(.item1:hover) .item3 {
  height: 100px;
}
.accordion:has(.item1:hover) .item3::before {
  opacity: 0;
}


/* Hover item2 */
.accordion:has(.item2:hover) .item2 {
  height: 150px;
}
.accordion:has(.item2:hover) .item2::before {
  opacity: 1;
}
.accordion:has(.item2:hover) .item2 h3 {
  color: white;
}
.accordion:has(.item2:hover) .item3 {
  height: 100px;
}
.accordion:has(.item2:hover) .item3::before {
  opacity: 0;
}




/**************BOUTON*****************/


    .btn {
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 30px;
      border-radius: 100px;
      border: none;
      cursor: pointer;
      font-family: 'Rethink Sans', sans-serif;
      font-size: 18px;
      font-weight: 600;
      color: #fff!important;
      text-decoration: none;

      /* Dégradé par défaut */
      background: linear-gradient(135deg, #88CDF5, #9A64FC);

      /* Légère ombre pour le relief */
      box-shadow: 0 4px 20px rgba(154, 100, 252, 0.35);

      transition: box-shadow 0.4s ease, transform 0.2s ease;
    }

    /* Dégradé hover dans le ::before */
    .btn::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #9A64FC, #88CDF5);
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 0;
    }

    .btn:hover::before {
      opacity: 1;
    }

    .btn:hover {
      box-shadow: 0 6px 28px rgba(154, 100, 252, 0.5);
      transform: translateY(-1px);
      color:#fff!important;
    }

    .btn:active {
      transform: translateY(0px);
      box-shadow: 0 2px 12px rgba(154, 100, 252, 0.3);
    }

    /* Le texte au-dessus du pseudo-élément */
    .btn span {
      position: relative;
      z-index: 1;
    }




/***************BLOG*****************/

.single-post .elementor-widget-theme-post-content p{
  text-align: justify;
}


.single-post .elementor-widget-theme-post-content h2{
  margin-top: 40px;
}

.single-post .elementor-widget-theme-post-content h3{
  margin-top: 30px;
}

.single-post .elementor-widget-theme-post-content a{
  color: #9A64FC;
}

.single-post .elementor-widget-theme-post-content a:hover{
  color: #7137DA;
}


.single-post .elementor-widget-theme-post-content .wp-block-pullquote{
  padding: 2em;
  border-left: 7px solid transparent!important;
  background: 
    linear-gradient(white, white) padding-box,       /* fond intérieur */
    linear-gradient(180deg, #88CDF5, #9A64FC) border-box; /* gradient sur la bordure */
  border-radius:30px;
  margin: 30px 0;
}

.single-post .elementor-widget-theme-post-content .wp-block-pullquote p {
    font-size: 15px;
    text-transform: math-auto;
}

.cta{
  padding: 2em;
  border: 4px solid transparent!important;
  background: 
    linear-gradient(white, white) padding-box,       /* fond intérieur */
    linear-gradient(180deg, #88CDF5, #9A64FC) border-box; /* gradient sur la bordure */
  border-radius:30px;
  margin: 30px 0;
}

.cta p{
  font-size: 23px;
  font-weight: 700;
}




/*CONTACT*/


#short-contact-form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#short-contact-form p:nth-child(1), #short-contact-form p:nth-child(2), #short-contact-form p:nth-child(3), #short-contact-form p:nth-child(4){
	width: 48%;
    display: inline-block;
}

#short-contact-form p:nth-child(5), #short-contact-form p:nth-child(6){
    width:100%;
}

input[type=email], input[type=text], select, textarea, input[type=tel]{
	width: 100%;
	border:none;
	background-color:#ffffff;
  color: #000;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    transition: all .3s;
	font-weight: 300;
	padding: 15px;
    margin-bottom: 20px;
	outline : none;
	font-size : 14.5px;
	font-family : var(--e-global-typography-text-font-family);
}


a.politique-lien{
	color: var(--e-global-color-accent)!important;
}

select {
	color: #676767;
}

.checkbox-contact {
	font-family : var(--e-global-typography-text-font-family);
	font-size: 13px;
	font-weight : 400;
    color: #a9a9a9;
}



.wpcf7 form.sent .wpcf7-response-output{
	border-color: none;
	color:#ffffff!important;
}
     

.wpcf7 form.sent .wpcf7-response-output {
    border: none;
    padding: 0;
    margin: 30px 0;
    font-weight: 500;
    color: #000;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: #0089D0;
    border-radius: 10px;
}

.error404 .container{
	height:100vh;
	top:0px!important;
}


@media screen and (max-width: 1024px) {
  .container {
    height: 1500px;
  }
}


@media screen and (max-width: 768px) {
  .handwrite {
    font-size: var(--e-global-typography-8d89bf4-font-size);
  }

  .handwrite.title {
    font-size: 57px!important;
}

.container {
    height: 1200px;
  }


  /*CONTACT*/
    #short-contact-form p:nth-child(1), #short-contact-form p:nth-child(2), #short-contact-form p:nth-child(3), #short-contact-form p:nth-child(4){
	    width: 100%!important;
    }

    span.wpcf7-form-control-wrap{
    	display: flex;
    	flex-direction: column;
	}

	input[type=email], input[type=text], select, textarea{
		width:auto;
	}

}


@media screen and (max-width: 550px) {
  .cta {
    flex-direction: column;
  }
}