/* HOMEPAGE */
section.carousel {
	height: 100%;
}
.page {
	margin-top: 125px;
}
.page.erreur_404 {
	padding-top: 100px;
}
.page.erreur_404 h1, .page.erreur_404 h2 {
	text-transform: uppercase;
    font-weight: 700;
	font-size:1.5rem;
}
.page.erreur_404 h2 {
	font-size:1rem;
}
.home-intro {
	height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background-color: #000;
}
.home-intro-video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	object-fit: cover;
	z-index: 0;
}
.home-intro .hero-text {
	position: absolute;
	right: 0;
	width: 50%;
	height: 50%;
	z-index: 1;
	display: flex;
	align-items: end;
	justify-content: flex-start;
	padding-right: 8%;
	box-sizing: border-box;
	pointer-events: none;
}
.home-intro .hero-text-top {
	top: 0;
}
.home-intro .hero-text-bottom {
	top: 50%;
	align-items: start;
}
.home-intro .hero-text-inner {
	max-width: 620px;
	text-align: left; 
	/* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.45); */
}
.home-intro .hero-text-top .hero-text-inner h1 {
	font-size: 3rem;
	line-height: 1;
	margin: 0;
}
.home-intro .hero-text-bottom .hero-text-inner p {
	font-size: 1.3rem;
	line-height: 1.2;
	margin: 20px 0px 0px 0px;
}
.home-intro .content {
	background: url(../img/home-intro-dessin.svg) left no-repeat;
	background-size: 360px;
    width: 800px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 310px;
    font-size: 39px;
    line-height: 50px;
	text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.6);
}
.home-intro .btn-scroll, .home-intro .btn-questions {
	position: absolute;
	transform: translate(-50%, 0);
	color:#fff;
	cursor: pointer;
}
.home-intro .btn-scroll {
	bottom: 20px;
	left: 50%;
}
.homepage .intro p {
	font-size: 26px;
	line-height: 35px;
}
.owl-carousel-home {
  height: auto; /* ou selon ton design */
}
.owl-carousel-home .item {
  height: 100%;
}
.owl-carousel-home .owl-nav button.owl-prev, .owl-carousel-home .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
    display: flex;
    flex-flow: row;
    justify-content: space-between;
	font-size: 22px;
	margin: 0px;
	width: 30px;
    height: 30px;
}
.owl-carousel-home .owl-nav button.owl-prev {
	left: -20px;
}
.owl-carousel-home .owl-nav button.owl-next {
	right: -20px;
}
/*
.owl-carousel-home {
	height: 100vh;
	width: 100%;
	display: flex;
}
.owl-carousel-home .content {
	height: auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    color: #1d1d1b;
    position: absolute;
    right: 40px;
    bottom: 60px;
    background-color: #ffffff;
    padding: 10px 20px;
    text-align: left;
	max-width: 40%;
}
.owl-carousel-home .link-bottom {
	position: absolute;
	bottom: 30px;
}
.owl-carousel-home .link-bottom a {
	margin: 0px 5px;
}
.owl-carousel-home .item, .owl-carousel.owl-carousel-home.owl-drag .owl-item, .owl-carousel.owl-carousel-home .owl-stage, .owl-carousel.owl-carousel-home .owl-stage-outer {
	height: 100%;
}
.owl-carousel-home h2 {
	font-size: 14px;
}
.owl-carousel-home p {
	font-size: 12px;
	line-height: 18px;
	font-weight: 400;
	text-align: left;
}
.owl-dots {
	position: absolute;
	bottom: 100px;
}
.owl-carousel-home .owl-item {
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
  
.owl-carousel-home .owl-item.active {
	opacity: 1;
}
*/

.marques-section-media .media-item .image {
	position: relative;
	width: 100%;
	padding-top: 70%;
	border-radius: 4px;
	cursor: pointer;
	transition: .3s;
}
.marques-section-media .media-item .image:hover {
	opacity: .8;
}
.loadMoreMediaBtn {
	cursor: pointer;
	color: inherit;
}
.loadMoreMediaBtn.disabled {
	pointer-events: none;
	opacity: .5;
}
.homepage section.section-2 .content {
	background: url(../img/motif-opacite.svg) right no-repeat;
	padding-left:30px;
}
.homepage section.section-3 .blocks {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin:20px 0px 0px 0px;
}
.homepage section.section-3 .block, .qsn section .perso {
	background-color: #e87c73;
    color: #fff;
    width: 19%;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    text-align: left;
	font-size: 18px;
	margin-bottom: 1%;
}
.ping-bg h3 {
	position: relative;
}
.ping-bg h3::before {
	content: '';
	position: absolute;
	left: -10px;
	top: 40%;

	height: 5px;
	width: 5px;
	border-radius: 5px;
	background-color: #fff;
	
}
/* QUI SOMMES NOUS */
.page.qsn .intro {
	min-height: 500px;
}
.page.qsn h2 {
	font-size: 3.4rem;
}
.page.qsn h3 {
	font-size: 2.3rem;
}
.page.qsn .algues .block {
	border-bottom: 2px solid #e87c73;
}
.page.qsn section.section-1 .img {
	display: flex;
	height: 160px;
	width: 160px;
	border-radius: 160px;
}
.page.qsn section .equipe {
	display: flex;
	flex-flow: wrap;
    flex-direction: row;
    align-items: start;
	justify-content:space-between;
}
.page.qsn section .perso {
	background: #fff;
	color: #000;
	align-items: center;
}
.img-swap {
	position: relative;
	display: inline-block;
	width: 120px;
	height: 134px;
	overflow: hidden;
	flex-shrink: 0; 
}/* Le conteneur scrollable horizontal */
#frame{
  overflow-x: auto;
  overflow-y: hidden;
  touch-action: pan-y;             /* on garde le scroll vertical natif, on gère l’horizontal */
  -webkit-overflow-scrolling: touch; /* inertie mobile */
  cursor: grab;
}
#frame.dragging{ cursor: grabbing; }

/* Pour que l’image ne “vole” pas les événements (facultatif mais confortable) */
#frame img{
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ton swap d’images reste inchangé */
.img-swap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.img-swap img:last-child { opacity: 0; }
.img-swap:hover img:last-child,
.img-swap:focus-within img:last-child,
.img-swap:active img:last-child { opacity: 1; }

.img-swap:hover img.algue-base { opacity: 0; }

/* QUI SOMMES NOUS */
.page.qsn.projets .intro {
	position: relative;
}
.page.qsn.projets .intro .image {
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	width: 35%;
}
.page.qsn .block {
	position: relative;
}
.page.qsn .block .btn {
	position: absolute;
	background-color: #1d1d1b;
	right: 0px;
	bottom: 0px;
	color: #fff;
	border-radius: 0px;
}

/* PRODUITS */
.page.produits h2 {
	font-size: 3.4rem;
}
.page.produits h3 {
	font-size: 1.6rem;
}
.page.produits .title-category {
	font-size: 3rem;
	line-height: 4rem;
}
.page.produits .block {
	position: relative;
}
.page.produits .vignette-rond {
	position: absolute;
	top: 35px;
	right: 35px;
	width: 180px;
	height: 180px;
	border-radius: 180px;
}
.page.produits .block.type2 .block-top ul {
	padding: 0px;
	padding-left: 10px;
	list-style: none;
	margin-top: 15px;
}
.page.produits .block.type2 .block-top ul li {
	position: relative;
	line-height: 20px;
	margin-bottom: 10px;
}
.page.produits .block.type2 .block-top ul li::before {
	content:'';
	position: absolute;
	left: -10px;
	top: 7px;
	height: 5px;
	width: 5px;
	background-color: #e87c73;
	border-radius: 5px;
}
.page.produits .block .parag {
	width: 80%;
}
.page.produits .block .parag {
	width: 80%;
}
/* SCIENCE & INNOVATION */
.page.science h1 span.bardot-medium {
	font-size: 4rem;
} 
/* SERVICE & SOLUTIONS */
.page.service h1  {
	font-size: 3.5rem;
	line-height: 2rem;
} 
.page.service h2  {
	font-size: 3.4rem;
	line-height: 3.4rem;
} 
.page.service .intro h2  {
	font-size: 2.4rem;
	line-height: 2.4rem;
} 
.page.service .fiches-technique .img {
	height: 330px;
	display: flex;
}
.page.service .fiches-technique .block-fiche {
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.page.service .fiches-technique .block-fiche .rond {
	height: 150px;
	width: 150px;
	border-radius: 150px;
}
.page.service .fiches-technique .list .container {
	position: relative;
	padding-left: 40px;
	padding-right: 40px;
}
.page.service .fiches-technique .fiches-carousel {
	position: relative;
}
.page.service .fiches-technique .fiches-carousel .owl-nav button.owl-prev,
.page.service .fiches-technique .fiches-carousel .owl-nav button.owl-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}
.page.service .fiches-technique .fiches-carousel .owl-nav button.owl-prev {
	left: -32px;
}
.page.service .fiches-technique .fiches-carousel .owl-nav button.owl-next {
	right: -32px;
}
.page.service .fiches-technique .fiches-carousel .owl-nav button.disabled {
	visibility: hidden;
}
.page.service .fiches-technique .fiches-carousel .chevron {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.page.service .fiches-technique .fiches-carousel .chevron-right {
	transform: rotate(45deg);
}
.page.service .fiches-technique .fiches-carousel .chevron-left {
	transform: rotate(-135deg);
}
/* PROJETS ACTUALITES */
.page.actualites .content {
	background-color: #e87c73;
	margin-top: 40px;
	color: #fff;
}
.page.actualites .intro h1 {
	font-weight: 400;
	font-size: 1.5rem;
}
.page.actualites .intro h1 .bardot-medium {
	font-size: 2.5rem;
}
.page.actualites .intro .btn, .page.ressources .intro .btn {
	background-color: #1d1d1b;
	border-radius: 0px;
	color: #fff;
}
.page.actualites h2 {
	position: relative;
    font-size: 16px;
    text-transform: uppercase;
    padding-left: 15px;
	margin-bottom: 15px;
}
.page.actualites .date {
	border-top: 5px solid #29235c;
	font-size: 20px;
}
.page.actualites h2::before {
	position: absolute;
	background-color:#e84c16;
	content: '';
	width: 10px;
	height: 10px;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 5px;
}
.page.actualites .nav-date a, .page.actualites .nav-categories a {
	position: relative;
	margin: 5px 0px ;
}
.page.actualites .nav-date a::before, .page.actualites .nav-categories a::before {
	position: absolute;
	content: '';
	width: 15px;
	height: 15px;
	transform: translate(-50%, -50%);
	top: 50%;
	left: -15px;
}
.page.actualites .nav-date a::before {
	background-color:#242350;
}
.page.actualites .nav-categories a::before {
	background-color:#d64e1e;
}
.page.actualites .article .btn {
	background-color:#d64e1e;
}
.page.actualites .article .img {
	height: 200px;
	display: flex;
}

.page.actualites a, .page.actualites a:hover {
    text-decoration: #fff;
    color: #fff;
}
.page.actualites .nav-categories a, .page.actualites .nav-date a { 
	text-decoration: #000;
    color: #000;
}
.page.actualites .intro {
	position: relative;
    border-top: 20px solid #fff;
}
.page.actualites .intro .image {
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	width: 35%;
}
/* RESSOURCES */
.page.ressources .btn.presse {
	border-radius: 0px;
}
.page.ressources h3  {
	font-size: 2rem;
}
.page.ressources .section-1 .trait {
	height: 15px;
}
.page.ressources .content  {
	border-top: 4px solid #e87c73;
}
.page.ressources .content .image {
	height: 170px;
}
.page.ressources .liens a.link-spe {
	font-size: 20px;
}
.video-item {
  width: 100%;
}
.video-item iframe {
  width: 100%;
  height: auto;
}
.video-item .auto-poster{
  width: 100%;
  object-fit: cover;
  display: block;
}
.video {
  height: auto;
}
/* FORMULAIRE DE CONTACT */
#svgContainer {
	max-width: 100%;
	max-height: 100%;
	background-image: linear-gradient(70deg, #f0f0f0 10%, #ffffff 100%);
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
}
.contact h1 {
	font-size: 3em;
}
.contact .btn, .template-single-2 .btn {
	font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
	border-radius: 0px;
}
.page.contact .block-intro-left, .page.contact .block-formulaire .intro {
	position: relative;
	padding-left: 35px;
}
.page.contact .block-intro-left::before, .page.contact .block-formulaire .intro::before {
	content: '';
	background-color: #e87c73;
	position: absolute;
	left: 15px;
	top: 8px;
	width: 13px;
	height:13px;
	border-radius: 15px;
}
@keyframes outline {
	from {
		stroke-dasharray: 0, 3.1416 * 55px * 2;
	}
	to {
		stroke-dasharray: 3.1416 * 55px * 2, 3.1416 * 55px * 2;
	}
}

#outline {
  animation: .38s ease-in outline;
  transform: rotate(0deg);
  transform-origin: center;
}

@keyframes circle {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}

#white-circle {
  animation: .35s ease-in .35s forwards circle;
  transform: none;
  transform-origin: center;
}

@keyframes check {
  from {
    stroke-dasharray: 0, 75px;
  }
  to {
    stroke-dasharray: 75px, 75px;
  }
}

#check {
  animation: .34s cubic-bezier(0.65, 0, 1, 1) .8s forwards check; 
  stroke-dasharray: 0, 75px;
}

@keyframes check-group {
  from {
    transform: scale(1);
  }
  
  50% {
    transform: scale(1.09);
  }
  
  to {
    transform: scale(1);
  }
}

#check-group {
  animation: .32s ease-in-out 1.03s check-group;
  transform-origin: center;
}

@media screen and (max-width:1250px) {
	.page {
		margin-top: 0px;
	}
	.page.produits, .page.actualites {
		margin-top: 80px;
	}
}
@media screen and (max-width:991px) {
	.page {
		
	}
	.page.qsn h2 {
		font-size: 2rem;
	}
	.home-intro .content {
		background-size: 210px;
		width: 90%;
		height: 100%;
		padding-left: 211px;
		font-size: 19px;
		line-height: 21px;
	}
	.home-intro .hero-text {
		padding-right: 5%;
		padding-left: 5%;
		justify-content: center;
		width:100%;
	}
	.home-intro .hero-text-inner {
		text-align: center;
		max-width: 100%;
	}
	.home-intro .hero-text-top .hero-text-inner h1 {
		font-size: 2rem;
		padding-bottom:30px;
	}
	.home-intro .hero-text-bottom .hero-text-inner p {
		font-size: 1rem;
	}
	.home-intro .btn-questions {
		bottom: 30px;
        right: -50px;
	}
	.homepage section.section-3 .block, .qsn section .perso {
		width: 49%;
		margin-bottom:20px;
	}

	.page.produits .vignette-rond {
		
	}
	.page.produits .block.type2 .block-top {
		padding-top: 250px !important;
	}
	.page.produits .block.type2 .vignette-rond {
		left: 35px;
        right: inherit;
	}

	.page.produits .block.type2 .ft30 {
		font-size:20px;
		line-height:20px;
	}

	.page.produits .block.pink-bg .vignette-rond {
		position:relative;
		top:inherit;
		right:inherit;
		margin:20px 0px;
	}
	 
	.page.produits h2 {
		font-size: 2.4rem;
	}
}
@media screen and (max-width:768px) {
	
	.ft20 {
		font-size: 18px !important;
		line-height: 21px;
	}
	.page.contact .block-intro-left, .page.contact .block-formulaire .intro {
		line-height: 25px;
    	font-size: 20px;
	}


	.page .intro {
		padding: 220px 20px 20px 20px !important;
    	margin-top: 0px !important;
	}
	.page.contact .intro {
		padding: 5px 0px 0px 35px  !important;
	}
	.page .intro h1 {
		font-size: 1.8rem;
	}

	.page.science h1 span.bardot-medium {
		font-size:1.8rem;
	}
	.page.service .intro h2 {
		font-size:1.8rem;
		line-height:1.8rem;
	}
	.page.actualites {
		margin-top: 0px;
	}
	.page.actualites .intro {
		padding: 80px 20px 20px 20px !important;
	}
}
@media screen and (max-width:576px) {
	.home-intro .btn-questions {
		bottom: 100px;
		left: 50%;
	}
}


.ui-menu {
    position: absolute !important; /* Force l'apparition sous l'input */
    z-index: 1050; /* Plus haut que Bootstrap dropdowns */
    overflow-x: hidden; /* Pas de débordement horizontal */
    overflow-y: auto; /* Ajoute un scroll si nécessaire */
	background-color: #fff;
	padding: 0px;
	-moz-box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1); 
    -webkit-box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1); 
    -o-box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
	margin-top: 10px;
}

.ui-menu-item {
    list-style: none; /* Supprime les puces */
    padding: 8px 12px;
    cursor: pointer;
}

.ui-menu-item:hover {
    background-color: #E2E2E2; /* Couleur hover (Bootstrap) */
}



/* SWIPEBOX 
.glightbox-clean .gslide-description {
	background: none !important;
}
.glightbox-clean .gdesc-inner {
	padding: 10px !important;
}
.glightbox-clean .gslide-title {
	font-size: 0.8em !important;
	color: #fff !important;
	margin-bottom: 0px !important;
}
*/

.img-list {
	min-height: 220px;
	width: 100%;
}
.description-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.description-text.clamp {
  -webkit-line-clamp: 3;
}

.description-toggle {
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
