/* 
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 */
.nomarge,
.nomarge p {
  margin-bottom: 0 !important;
}

.elementor-g-recaptcha {
  display: none;
}

.open-modal-video {
  color: #ffffff !important;
  cursor: pointer;
}

.title-histo {
  color: #16491E;
  font-size: 50px;
  text-align: center;
  font-weight: 700;
  line-height: 50px;
  margin: 50px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "futura-pt-bold", Sans-serif;
}

.light-green {
  color: #458D27;
}

.animate-btn::after {
  position: absolute;
  background-color: #458D27;
  width: 0;
  height: 100%;
  content: '';
  left: 0;
  top: 0;
  transition: ease all .3s;
  z-index: -1;
}

.animate-btn {
  position: relative;
  transition: ease all .3s;
  z-index: 100;
  border-radius: 0;
  border: 1px solid white;
  padding: 12px 15px;
  display: flex;
  width: fit-content;
}

a.green {
  border: 1px solid #458D27;
  color: #458D27 !important;
}

a.green:hover {
  border: 1px solid #458D2700;
  color: white !important;
}

a.green:hover img {
  content: url("https://hortival.fr/wp-content/uploads/2025/12/Groupe-8917.svg")
}

a.animate-btn {
  color: white;
  font-family: "futura-pt", Sans-serif;
  letter-spacing: 1.6px;
  line-height: 25px;
  font-weight: 500;
  font-size: 16px;
}

.animate-btn:hover:after {
  width: 100%;
  transition: ease all .3s;
}

.animate-btn:hover {
  background-color: #00000000;
  border-color: #00000000;
}

.animate-btn:hover img {
  transform: translateX(5px);
  transition: ease all .3s;
}

.animate-btn img {
  transition: ease all .3s;
  padding-left: 15px;
}

.elementor-element-42de9e4 {
  height: 80px;
  overflow: hidden;

}



.after-pointille {
  --after-width: 100%;

}

.after-pointille-right {
  --after-width: 100%;

}

.after-pointille:after {
  content: '';
  position: absolute;
  left: 100%;
  bottom: calc(50% - 3px);
  width: var(--after-width);
  border-bottom: #B8D196 3px dashed;
}

.after-pointille-right:after {
  content: '';
  position: absolute;
  right: 100%;
  bottom: calc(50% - 3px);
  width: var(--after-width);
  border-bottom: #E3D3C6A8 3px dashed;
}

.after-img img {
  z-index: 1;
  position: relative;
  transition: ease all .3s
}

.after-img:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  right: -15px;
  bottom: -15px;
  background-color: #EAE2DB;
  z-index: 0;
  pointer-events: none;
}


.after-img:hover img {
  transform: scale(1.1);
  transition: ease all .3s;
}

.after-img:hover p,
.after-img:hover h2,
.after-img:hover svg,
.after-img:hover path,
.after-img:hover line {
  color: #B8D196 !important;
  stroke: #B8D196;
  transition: ease all .3s
}

.abso-element {
  top: 0;
  bottom: 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 50%;
  /* centré dans le parent */
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 3px;
  background: #458D27;
}

.step-right {
  position: absolute;
  left: 50%;
  transform: translateY(50%);
  top: 50%;
  height: 3px;
  width: 80px;
  background: #458D27;
}

.step-right .dot {
  position: absolute;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(50%, -50%);
  top: 50%;
  background: #458D27;
}


.step-left {
  position: absolute;
  right: 50%;
  transform: translateY(50%);
  top: 50%;
  height: 3px;
  width: 80px;
  background: #458D27;
}

.step-left .dot {
  position: absolute;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  background: #458D27;
}

/* Force le loop grid en CSS Grid */
.elementor-loop-container.elementor-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-flow: dense !important;
  /* ← remplit les trous automatiquement */

}

/* L'e-loop-item qui contient un container .featured prend 2 colonnes */
.elementor-loop-container.elementor-grid .e-loop-item:has(.oui) {
  grid-column: span 2;
}

/* .elementor-17 .elementor-element.elementor-element-7c41fb2 {
	    --e-transform-translateY: calc(50% - 5px);
} */

.sticky {
  position: sticky;
  top: 150px;
}

.sticky td,
.sticky th {
  padding: 10px 12px 10px 12px;
  width: 50%;
  color: #16491E;
  font-family: "futura-pt", Sans-serif;
  font-weight: 400;
  text-align: start;
  border: #B8D19675 1px solid;
  background-color: #EEF2DF !important;
}

.sticky tr,
.sticky tr:hover,
.sticky tr:focus,
.sticky tbody,
.sticky table {
  background-color: #EEF2DF !important;
  border: 1px solid #B8D19675;
}

.elementor-form-fields-wrapper {
  justify-content: center;
}

.elementor-field-group-field_15a575f {
  text-align: center;
}

.swiper {
  background: #E4EADC;
}


/* Slider */

* {
  box-sizing: border-box;
}

.slider-root {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.slider-root .swiper {
  width: 100%;
  overflow: hidden;
}

.slider-root .swiper img {
  max-width: 220px;
  max-height: 216px;
  width: 100%;
  height: 100%;
}



.slider-root .swiper-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  overflow: hidden;
}

/* Backgrounds par slide */
.slider-root .slide-1 {
  background: #E4EADC;
}

.slider-root .slide-2 {
  background: #E4EADC;
}

.slider-root .slide-3 {
  background: #E4EADC;
}

.slider-root .slide-4 {
  background: #E4EADC;
}

/* Bullets — haut droite */
.s-bullets {
  position: absolute;
  top: 63px;
  right: 85px;
  z-index: 20;
  display: flex;
  gap: 7px;
  align-items: center;
}

.s-bullet {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #B8D196AC;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
  border: 2px solid #458D27;
}

.s-bullet.active {
  background: #458D27;
  border: 2px solid #458D27;
}

/* Flèches — positionnées directement dans slider-root */
.s-arrow {
  position: absolute;
  top: calc(50% - 25px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.2s;
  min-width: 60px;
  pointer-events: all;
}

#sPrev {
  left: 85px;
  top: calc(50% - 150px);
}

#sNext {
  right: 85px;
  top: calc(50% - 150px);
}

h3 {
  margin: 0;
  width: 100%;
}


[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
  background-color: #00000000;
}


.s-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.s-arrow-circle {
  width: 50px;
  height: 50px;
  border-radius: 0;
  border: 1.5px solid #458D27;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.s-arrow-circle:hover {
  background-color: transparent !important;
}

.s-arrow-circle svg {
  width: 18px;
  height: 18px;
  stroke: #458D27;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.s-arrow-label {
  font-size: 0px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: monospace;
  white-space: nowrap;
  text-align: center;
}

.container-date-top,
.container-date-bottom {
  display: flex;
}

.container-date-top {
  justify-content: start;
}

.container-date-bottom {
  justify-content: space-between;
}

.contain-img-date {
  position: relative;
}

.global-progress-line {
  position: fixed;
  top: calc(50% + 3px);
  left: 70px;
  width: calc(300% - 440px);
  height: 3px;
  background: #458D27;
  border-radius: 2px;
  z-index: 9999;
}

.global-progress-line:before {
  content: '';
  position: absolute;
  right: -1px;
  top: -8px;
  height: 3px;
  width: 30px;
  background: #458D27;
  transform: rotate(30deg);
}

.global-progress-line:after {
  content: '';
  position: absolute;
  right: -1px;
  bottom: -8px;
  height: 3px;
  width: 30px;
  background: #458D27;
  transform: rotate(-30deg);
}

.swiper-slide p {
  color: #16491E;
  font-size: 15px;
  font-family: 'futura-pt';
}

.swiper-slide .parent-card {
  width: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.container-date-bottom .parent-card {
  flex-direction: column-reverse;
}

.swiper-slide .container-date-top,
.swiper-slide .container-date-bottom {
  gap: 45px;
}

.container-date-top h3,
.container-date-bottom h3 {
  color: #B8D196;
  font-size: 35px;
  font-weight: bold;
  font-family: 'futura-pt';
  margin-left: -3px;
}

.container-date-bottom div {
  display: flex;
  flex-direction: column-reverse;
}

.date-top {
  position: absolute;
  transform: rotate(270deg);
  top: 30px;
  left: -80px;
  font-weight: bold;
  color: #458D27;
  font-size: 50px;
  font-family: "futura-pt";
}

.date-bot {
  position: absolute;
  transform: rotate(270deg);
  bottom: 30px;
  left: -80px;
  font-weight: bold;
  color: #458D27;
  font-size: 50px;
  font-family: "futura-pt";
}

.linedot {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 116px;
  background-color: #458D27;
}

.linedot.reverse {
  top: 0;
}

.linedot.empty {
  height: 159px;
}

.linedot.empty.reverse:after,
.linedot.reverse:after {
  bottom: 0;
  top: initial;
}

.linedot.empty:after {
  border: 3px solid #458D27;
  background: #E4EADC;
}

.texte {
  position: relative;
  height: 100%;
  display: flex;
  /* align-items: center; */
  padding: 20px;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 600;
}

.linedot:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(calc(50% - 1.5px));
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #458D27;
}

.slide-1 .container-date-top {
  max-width: 800px;
}

.slide-1 .container-date-bottom {
  max-width: 1045px;

}

.slide-1 .container-slide-global {
  max-width: 1045px;
  width: 100%;
}



.slide-2 .container-date-top {
  max-width: 850px;
}

.slide-2 .container-date-bottom {
  max-width: 750px;
}

.slide-2 .container-slide-global {
  max-width: 1000px;
  width: 100%;
}

.slide-3 .container-date-top {
  max-width: 966px;
}

.slide-3 .container-date-bottom {
  max-width: 1000px;
}

.slide-3 .container-slide-global {
  width: 100%;
}

.slide-2 .container-date-top {
  justify-content: space-between;
}





.swiper-wrapper {
  padding: 50px;
}

.parent-card.empty {
  width: 100%;
}

.slide-3 .container-slide-global {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 0 40px;
  max-width: 1000px;
}

.slide-3 .container-date-top,
.slide-3 .container-date-bottom {
  display: contents;
}

/* 2018 */
.slide-3 .container-date-top .parent-card:nth-child(1) {
  grid-column: 2 / span 4;
  grid-row: 1;
}

/* 2019 */
.slide-3 .container-date-top .parent-card:nth-child(2) {
  grid-column: 9 / span 4;
  grid-row: 1;
}

/* 2025-2026 */
.slide-3 .container-date-bottom .parent-card:nth-child(4) {
  grid-column: 10/ span 4;
  grid-row: 2;
}

/* 2016 */
.slide-3 .container-date-bottom .parent-card:nth-child(1) {
  grid-column: 2 / span 3;
  grid-row: 2;
}

/* 2018 serre */
.slide-3 .container-date-bottom .parent-card:nth-child(2) {
  grid-column: 5 / span 4;
  grid-row: 2;
}

/* 2025 motteuse (bien décalé du 2019 👍) */
.slide-3 .container-date-bottom .parent-card:nth-child(3) {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.date-dot {
  position: absolute;
  content: '';
  width: 100px;
  height: 3px;
  background-color: #458D27;
  left: 0;
  top: calc(50% + 0.5px);

}

.date-dot.empty::after {
  position: absolute;
  right: 0;
  width: 15px;
  border: 3px solid #458D27;
  height: 15px;
  border-radius: 50%;
  background-color: #E4EADC;
  top: calc(50% - 7px);
  content: '';
}


.date-dot.full::after {
  position: absolute;
  right: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #458D27;
  top: calc(50% - 7px);
  content: '';
}

@media screen and (max-width:1200px) {

  .elementor-19 .elementor-element.elementor-element-a854e31,
  .elementor-19 .elementor-element.elementor-element-d6e9b88,
  .elementor-19 .elementor-element.elementor-element-09dcfe6,
  .elementor-19 .elementor-element.elementor-element-8b41973 {
    padding-top: 30px;
  }
}

@media screen and (max-width:1060px) {

  .elementor-19 .elementor-element.elementor-element-a854e31,
  .elementor-19 .elementor-element.elementor-element-d6e9b88,
  .elementor-19 .elementor-element.elementor-element-09dcfe6,
  .elementor-19 .elementor-element.elementor-element-8b41973 {
    padding-top: 10px;
  }
}

@media screen and (max-width:1150px) {
  .elementor-loop-container.elementor-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .slide-1 .date-top {
    transform: rotate(0deg);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    top: initial
  }

}

@media screen and (max-width:1024px) {

  .slide-1 .container-slide-global,
  .slide-2 .container-slide-global {
    max-width: 850px;
  }

  .elementor-19 .elementor-element.elementor-element-e410fa2 .e-con-inner {
    flex-wrap: wrap;
    max-width: 266px;
  }

  #sPrev {
    left: calc(50% - 100px);
    bottom: 25px;
    justify-content: flex-end;
  }

  #sNext {
    right: calc(50% - 100px);
    bottom: 25px;
    justify-content: flex-end;

  }

  .elementor-element-17e33bb {
    position: relative !important;
  }

  .elementor-element-d486a31 {
    flex-direction: column !important;
  }

  .elementor-element-1369531,
  .elementor-element-4272878 {
    width: 100%;
  }

  .after-pointille:after,
  .after-pointille-right:after {
    display: none;
  }

  .step-right {
    width: 40px;
  }

  .global-progress-line {
    position: fixed;
    top: calc(50% + 3px);
    left: 0;
    width: calc(300% - 150px);
    height: 3px;
    background: #458D27;
    border-radius: 2px;
    z-index: 9999;
  }

  .swiper-wrapper {
    padding: 100px 0;
  }

  .after-img::after {
    max-height: 350px;
  }
}

@media screen and (max-width:880px) {
  .slider-root {
    display: none;
  }

  .elementor-element-0925293 p {
    max-width: 325px;
  }

  .elementor-element-0925293 {
    padding: 20px;
  }

  .elementor-19 .elementor-element.elementor-element-0925293 {
    display: flex !important;

  }

  .elementor-element-2eb3fa7 {
    display: none;
  }

  .elementor-19 .elementor-element.elementor-element-0925293 .e-con-inner {
    align-items: center !important;
    text-align: center;
  }

  .elementor-19 .elementor-element.elementor-element-0925293::before {
    position: absolute;
    left: 20px;
    content: '';
    height: calc(100% - 100px);
    width: 3px;
    background: #458D27;
    top: 20px;
    bottom: -50px;
  }

  .elementor-21 .elementor-element.elementor-element-b8f4694 .elementor-heading-title {
    font-size: 40px;
    line-height: 40px;
  }

  .elementor-21 .elementor-element.elementor-element-b2d89c7,
  .elementor-21 .elementor-element.elementor-element-cf30276,
  .elementor-21 .elementor-element.elementor-element-258bee1,
  .elementor-21 .elementor-element.elementor-element-e1814d9,
  .elementor-21 .elementor-element.elementor-element-d0559be,
  .elementor-21 .elementor-element.elementor-element-089ebab,
  .elementor-21 .elementor-element.elementor-element-00f97a6,
  .elementor-21 .elementor-element.elementor-element-05f3299 {
    --column-gap: 110px
  }

  .step-left {
    width: 40px;
  }
}

@media screen and (max-width:850px) {
  .elementor-loop-container.elementor-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .elementor-loop-container.elementor-grid .e-loop-item:has(.oui) {
    grid-column: span 1;
  }
}

@media screen and (max-width:768px) {
  .elementor-element-42de9e4 {
    height: 35px;

  }

  .date-dot {
    width: 75px;
  }

  .messagedefilant {
    font-size: 30px !important;
    line-height: 35px !important;
  }

  .elementor-23 .elementor-element.elementor-element-1e35770 .e-loop-item>.elementor-section,
  .elementor-23 .elementor-element.elementor-element-1e35770 .e-loop-item>.elementor-section>.elementor-container,
  .elementor-23 .elementor-element.elementor-element-1e35770 .e-loop-item>.e-con,
  .elementor-23 .elementor-element.elementor-element-1e35770 .e-loop-item .elementor-section-wrap>.e-con {
    height: inherit;
  }

  .elementor-23 .elementor-element.elementor-element-1e35770 .elementor-loop-container {
    grid-auto-rows: inherit;
  }
}

@media screen and (max-width:767px) {
  .title-histo {
    font-size: 36px;
    line-height: 36px;
  }

  .timeline-wrapper::before,
  .step-left,
  .step-right {
    display: none
  }

  a.animate-btn {
    letter-spacing: 1.3px;
    padding: 12px 15px;
  }

  .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_56e238b.elementor-col-50,
  .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_36df43d.elementor-col-50,
  .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_2837173.elementor-col-50,
  .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_e0de6f7.elementor-col-50 {
    margin-bottom: 0;
  }

  .elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_56e238b.elementor-col-50 {
    display: none;
  }

  .elementor-19 .elementor-element.elementor-element-0925293::before {
    height: calc(100% - 65px);
  }
}

.texte-sup-plant {
  opacity: 0;
  transition: ease all .3s;
  z-index: 1;
  height: 100%;
}

.e-loop-item:hover .texte-sup-plant {
  opacity: 1;
  transition: ease all .3s;

}