/* HOMEPAGE */
section.carousel {
	height: 100%;
}
.page {
	margin-top: 100px;
}
.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;
}
.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;
}
.home-intro .btn-questions {
	border: 1px solid #8cbdbc;
	font-size: 23px;
	line-height: 23px;
	padding: 10px 20px;
	border-radius: 40px;
	bottom: 40px;
	right: 0px;
	transition: .5s;
}
.home-intro .btn-questions:hover {
	border: 1px solid #8cbdbc;
	background-color:#8cbdbc;

}
.homepage section.partenaires p {
	font-size: 18px;
	line-height: 24px;
}
.homepage .faq h2 {
	line-height: 3rem;
	margin-bottom: 30px;
}
.homepage .faq h3 {
	font-size: 12px;
	border-bottom: 2px solid #1d1d1b;
	padding-bottom: 7px;
	width: 100%;
	margin-bottom: 10px;
}
.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;
}
.faq-item {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-item {
  width: 100%;
}
.video-item iframe {
  width: 100%;
  height: auto;
}
.faq-item .auto-poster, .video-item .auto-poster{
  width: 100%;
  object-fit: cover;
  display: block;
}
.video {
  height: auto;
}
/*
.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;
}
*/
/* PROGRAMME */
.page.programme h2 {
	font-size: 3rem;
}
.page.programme h3 {
	font-size: 1.4rem;
}
.page.programme .algues .block {
	border-bottom: 2px solid #8cbdbc;
}
.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; }

/* PROJETS PARTENAIRES */
.page.programme.projets .intro {
	position: relative;
	border-top:20px solid #fff;
}
.page.programme.projets .intro .image {
	position: absolute;
	right: 0px;
	top: 0px;
	height: 100%;
	width: 35%;
}
.page.programme .block {
	position: relative;
}
.page.programme .block .btn {
	position: absolute;
	background-color: #1d1d1b;
	right: 0px;
	bottom: 0px;
	color: #fff;
	border-radius: 0px;
}

/* PROJETS ACTUALITES */
.page.actualites .intro h1, .page.ressources .intro h1 {
	font-weight: 400;
	font-size: 1.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 #1d1d1b;
	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:#e84c16;
}
.page.actualites .nav-categories a::before {
	background-color:#8cbdbc;
}
.page.actualites .article .btn {
	background-color:#8cbdbc;
}
.page.actualites .article .img {
	height: 200px;
	display: flex;
}

/* RESSOURCES */
.page.ressources .btn.presse {
	border-radius: 0px;
}
.page.ressources h2  {
	font-size: 2rem;
}
.page.ressources .content  {
	border-bottom: 2px solid #1d1d1b;
	border-top: 2px solid #1d1d1b;
}
.page.ressources .content .image {
	height: 170px;
}
.page.ressources .liens a.link-spe {
	font-size: 20px;
}
/* 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;
}
@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) {
	
}
@media screen and (max-width:991px) {
	.page {
		
	}
	.page.programme 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 .btn-questions {
		bottom: 30px;
        right: -50px;
	}
}
@media screen and (max-width:768px) {
	
	.ft20 {
		font-size: 18px !important;
		line-height: 21px;
	}
}
@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;
}
*/