/*
Theme Name: Tiea-theme
Author: Koma
Description: Theme pour le site Tiea
Version: 1.0
*/

@font-face {
    font-family: 'Quicksand';
    src: url('/wp-content/fonts/Quicksand/static/Quicksand-Medium.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Monserrat-bold';
    src: url('/wp-content/fonts/Monserrat/static/Monserrat-bold.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Monserrat-extra-bold';
    src: url('/wp-content/fonts/Monserrat/static/Monserrat-extra-bold.ttf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futurama';
    src: url('/wp-content/fonts/Futurama/copyfonts.com_futuramaxicgboldopentype.otf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futu';
    src: url('/wp-content/fonts/Futurama/FuturaMaxiCGBoldRegular.otf') format('truetype'),
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Outfit';
    src: url('/wp-content/fonts/Outfit/static/Outfit-Regular.ttf') format('truetype'),
         url('/wp-content/fonts/Outfit/static/Outfit-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root{
    --primary : #35b0de;
	--grey: #2f2f2f;
	--secondary: #ffd404;
	--dark-blue: #227c9b;
	--dark: #222326;
	--light-primary: #e0f2f9;
	--primary--80: rgb(53, 176, 222, 0.8);
	--h2: 2.5rem; 
	--h3: 1.5rem;
	--nav-margin: 6.25rem;
	--text-shadow:  2px 2px 4px rgba(0,0,0,0.4), 0 0 10px rgba(0,0,0,0.2);
	--color-mix-banner: linear-gradient(45deg, #237c9c, color-mix(in srgb, #35b0de 100%, transparent));

}

.outfit{
	font-family: 'Outfit', sans-serif;
}
.border_none{
	border: none;
}
.quicksand{
	font-family: 'Quicksand', sans-serif;
}
.futurama{
	font-family: 'Futurama', sans-serif;
}
.futu{
	font-family: 'Futu', sans-serif;
}
.monserrat-extra-bold{
	font-family: 'Monserrat-extra-bold', sans-serif;
}

.monserrat-bold{
	font-family: 'Monserrat-bold', sans-serif;
}
.text_primary{
	color: var(--primary);
}

.center_text{
	width: fit-content;
	margin-inline: auto;
}

.bg_primary{
	background-color: var(--primary);
}

.bg_secondary{
	background-color: var(--secondary);
}
.bg_dark{
	background-color: var(--dark);
}

.text_primary{
	color: var(--primary);	
}

.text_secondary{
	color: var(--secondary);
}

.text_grey{
	color: #919191;
}
.text_dark{
	color: var(--dark);
}
.text_white{
	color: white !important;
}

.text_shadow{
	text-shadow: var(--text-shadow);
}

.img_width{
	width: 47.5rem;
}

.bold{
	font-weight: bold !important;
}
.banner{
	margin-top: var(--nav-margin);
	position: relative;
	margin-bottom: 5rem;
	&::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--color-mix-banner);
		z-index: 1;
     }
}

.banner_title{
	padding-left: 4rem;
	z-index: 2;
	position: relative;
}

.content_inside_page{
	padding: 0 10%;
	display: grid !important;
	grid-template-columns: repeat(12, 1fr);
}


.line_height ul{
	line-height: 2rem;
}

.content {
	margin-top: 3rem;
	ul{
	margin: 1rem 0;
		}
}

.title_size{
	font-size: 3rem;
}

body{
	margin: 0;
}
h2{
	margin: 0;
	font-size: var(--h2);
	font-family: 'Monserrat-bold', sans-serif;
}

h3{
	margin: 0;
	font-size: var(--h3);
	font-family: 'Monserrat-bold', sans-serif;
}
a{
	text-decoration: none;
	all: unset;
	cursor: pointer;
}

li{
	list-style: none;
}

ul{
	padding: 0;
	margin: 0;
}
p{
	font-size: 1rem;
	font-family: 'Quicksand', sans-serif;
}
.mb{
	margin-bottom: 5rem;
}
.mb_1{
	margin-bottom: 1rem;
}

.mb_2{
	margin-bottom: 2rem;
}
.mt{
	margin-top: 5rem;
}
.m0{
	margin: 0;
}
.flex{
	display: flex;
}
.grid{
	display: grid;
	grid-template-columns: repeat(12, 1fr);
}

.grid_6{
	grid-column: span 6;
}
.semi-bold{
	font-weight: 600;
}


.button{
	background-color: var(--primary);
	padding: 1rem;
	max-width: 12rem;
	margin: 0;
	text-align: center;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;
	border-radius: 0.4375rem;
	font-family: 'Monserrat-bold', sans-serif;
	font-weight: bold;
	&:hover{
		background-color: var(--dark-blue);
	}
}

.button_epreuve a{
	background-color: var(--secondary);
	padding: 1rem;
	max-width: 12rem;
	margin: 0;
	text-align: center;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;
	border-radius: 0.4375rem;
	font-family: 'Monserrat-bold', sans-serif;
	font-weight: bold;
	&:hover{
		background-color: var(--dark-blue);
	}
}

.rs_size{
	width: 28rem;
	height: 37rem;
	object-fit: cover;
}
.rs_grid{
	grid-column: span 6;
}
.button_epreuve{
	grid-column: span 3;
}
.button_p a{
	background-color: var(--primary);
	padding: 1rem;
	max-width: 12rem;
	margin: 0;
	text-align: center;
	color: white;
	font-size: 1.2rem;
	cursor: pointer;
	border-radius: 0.4375rem;
	font-family: 'Monserrat-bold', sans-serif;
	font-weight: bold;
	&:hover{
		background-color: var(--dark-blue);
	}
}

.grid_epreuve{
	justify-items: center;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	width: 40rem;
	margin-inline: auto;
}
.header{
    align-items: center;
	padding: 0 5rem;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	box-sizing: border-box;
	background: white;
	width: 100%;
	height: 6.25rem;
	img{
		grid-column: span 1;
        width: 6rem;
        height: auto;
	}
	ul{
		grid-column: span 9;
        display: flex;
        justify-content: center;
		align-items: center;
		height: 100%;
		a{
			display: flex;
			align-items: center;
			min-width: 8rem;
            justify-content: center;
			transition: color 0.3s ease;
			border-radius: 2rem;
			&:hover{
				background-color: var(--primary);
				li {
					color: white;
				}
			}
		}
        li{
            padding: 1rem;
			font-size: 1.1rem;
			font-weight: 500;
			color: var(--grey);
        }
	}
    a{
        div{
        background-color: var(--primary);
        display: flex;
        align-items: center;
		padding: 0 0.5rem;
		max-width: 12rem;
		border-radius: 0.4375rem;
        img{
            width: 2rem;
            height: 100%;
        }
			p{
				color: white;
				font-size: 1rem;
			}
		}	
    }
	
}

.menu_burger{
	display: none;
	transform: translateX(100%);
}
.menu_burger_active{
	display: flex;
	flex-direction: column;
	position: fixed;
	z-index: 3;
	top: 0;
	right: 0;
	height: 100vh;
	background: var(--primary--80);
	width: 100%;
	animation: slideInRight 0.5s forwards;
	padding-top: 2rem;
	backdrop-filter: blur(8px);
    align-items: center;
	color: var(--secondary);
	ul{
		font-size: var(--h2);
		text-align: center;
		li{
			padding: 1.3rem 0;
			border-bottom: 1px solid white;
			&:hover{
				color: white;
			}
		}
	}
}
.menu_burger_close{
	width: 4.5rem;
}

.menu_hide{
	display: none;
	
}
.menu_hide_active{
	flex-direction: column;
	row-gap: 0.5rem;
	display: flex;
	cursor: pointer;
	border: 2px solid white;
    border-radius: 20rem;
	margin-bottom: 1rem;
	div{
		background-color: var(--primary);
		width: 4rem;
		height: 0.7rem;
		
	}
}

footer{
	background-color: var(--primary);
	height: 18rem;
	color: white;
	nav{
		
	}
	ul{
		padding-top: 3rem;
		padding-bottom: 3rem;
		display: flex;
		justify-content: center;
		align-items: center;
		a{
			padding: 1.5rem 1.5rem;
		}
	}
	div{
		display: flex;
		justify-content: center;
		img{
			padding: 0 2rem; 
			width: 3rem;
			height: auto;
		}
	}
}

.footer_btn{
	padding: 0.5rem 1rem;
	&:hover{
		color: var(--primary);
		background-color: white;
		border-radius: 0.5rem;
	}
	
}


/* Accueil */

.layer_section{
	background-position: center;
    background-size: cover;
	margin-top: 6.25rem;
	background-image: url("https://www.tiea.lafactory-ngpa.fr/wp-content/uploads/2025/12/250302FAI_844-scaled.jpg");
	height: 29rem;
	position: relative;
	margin-bottom: 9rem;
	 &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, #237c9c, color-mix(in srgb, #35b0de 75%, transparent));
     }
	article{
		padding-top: 10rem;
		z-index: 1;
		padding-left: 10rem;
		grid-column: span 12;
		
	}
	h1{
		color: white;
		font-size: 3.5rem;
		margin: 1rem 0;
	}
	span{
		color: var(--secondary);
	}
}

.layer_date{
	color: white;
    font-weight: bold;
	width: 16.2rem;
	font-size: 1.4rem;
	border-radius: 1.68rem;
	padding: 0.6rem 1.2rem;
	text-shadow: var(--text-shadow);
	
}

.layer_absoluteTxt{
	background-color: var(--secondary);
	position: absolute;
	top: 2rem;
	transform: rotate(-20deg);
	font-size: 1.2rem;
	color: white;
	font-weight: 900;
	font-size: 2.2rem;
    padding: 0.2rem 0.6rem;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.propos{
	padding: 0 8rem;
	margin-bottom: 4rem;
	img{
		grid-column: span 6;
		width: 35rem;
		justify-self: end;
		padding-right: 2.5rem;
		height: auto;
		max-height: 20rem;
	}
	div{
		padding-top: 0.6rem;
		grid-column: span 6;
		padding-left: 2.5rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		span{
			color: var(--primary);
		}
	}
}

.epreuves{
	padding-left: 10rem;
	padding-right: 10rem;
	column-gap: 2rem;
	margin-bottom: 4rem;
	article{
		text-align: center;
		grid-column: span 3;
		a{
			color: white;
			display: flex;
			flex-direction: column;
			h2{
				background-color: var(--secondary);
				padding: 0.2rem 0;
				font-size: 2rem;
		}
		img{
			width: 100%;
			height: auto;
		}
		p{
			background-color: var(--primary);
			height: 4rem;
			margin: 0;
			display: flex;
            align-items: center;
            justify-content: center;
			
		}
		}
	}
}


.laureat{
	margin-bottom: 4rem;
	padding: 2rem 10rem;
	background-color: var(--light-primary);
	align-items: center;
	.laureat_footer_img{
		width: 11rem;
			height: auto;
			padding-left: 4rem;
	}
	a{
		column-gap: 5rem;
	}
	img{
		width: 35rem;
		height: auto;
		max-height: 20rem;
		grid-column: span 6;
	}
	div{
		justify-self: end;
		h2{
			margin-bottom: 1rem;
		}
		h3{
			margin-bottom: 1rem;
		}
		grid-column: span 6;
		display: flex;
		flex-direction: column;
		span{
			color: var(--primary);
		}
		p{
			line-height: 2rem;
			margin: 0;
		}
	}
	.laureat_footer{
		display: flex;
		align-items: flex-end;
		flex-direction: unset;
	}
}



.rs{
	justify-items: center;
	padding: 0 7rem;
	margin-bottom: 4rem;
	article{
		width: 23rem;
		height: 35rem;
		background-color: var(--primary);
		grid-column: span 4;
	}
}

.countdown{
	display: flex;
	transform: translate(-50%, -50%);
	position: absolute;
	left: 50%;
	bottom: -35%;
	width: 35rem;
    height: 10rem;
	column-gap: 2rem;
	background-image: url("https://www.tiea.lafactory-ngpa.fr/wp-content/uploads/2026/01/250302FAI_004-scaled.jpg");
	background-size: cover;
	text-shadow: var(--text-shadow);
	align-items: center;
    justify-content: center;
	border-radius: 2rem;
	.count_number{
		font-size: 3rem;
		margin: 0;
	}
	div{
		display: flex;
		flex-direction: column;
		align-items: center;
		p{
			font-size: 1rem;
		}
	}
	&::before {
	  content: "";
	  position: absolute;
	  inset: 0;
	  opacity: 0.6;
       z-index: -1;
       background: var(--grey);
	   border-radius: 2rem;
	}
}

.propos{
	padding: 0 8rem;
	margin-bottom: 4rem;
	img{
		grid-column: span 6;
		width: 35rem;
		justify-self: end;
		padding-right: 2.5rem;
		height: auto;
		max-height: 20rem;
	}
	div{
		padding-top: 0.6rem;
		grid-column: span 6;
		padding-left: 2.5rem;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		span{
			color: var(--primary);
		}
	}
}


.rs{
	justify-items: center;
	padding: 0 4rem;
	margin-bottom: 4rem;
	row-gap: 2rem;
	article{
		width: 20rem;
		height: 35rem;
		background-color: var(--primary);
		grid-column: span 4;
	}
}

.partenaire{
	margin-bottom: 6rem;
	position: relative;
	background-position: center;
    background-size: cover;
	background: linear-gradient(45deg, var(--dark-blue),color-mix(in srgb, var(--dark-blue) 50%, transparent));
	 &::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--light-primary);
     }
	article{
		color: white;
		padding: 1.5rem 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		z-index: 1;
		position: relative;
	}
	img{
		width: 10rem;
		height: 4rem;
		background-color: white;
		padding: 0.7rem;
		margin: 1rem 0.5rem;
		object-fit: contain;
	}
	.button{
		margin-top: 2rem;
		padding: 1rem 2rem;
		max-width: 15rem;
	}
	span{
		color: var(--primary);
	}
	
}
.partenaire_logo{
		grid-column: span 3;
	}




.header_burger{
	flex-direction: column;
	row-gap: 0.5rem;
	grid-column: span 4;
	display: none;
	div{
		background-color: var(--primary);
		width: 4rem;
		height: 0.7rem;
		
	}
}



/* PRESENTATION */

.hero_img{
	background-color: purple;
	img{
		width: 100%;
		height: 20rem;
	}
}


/* PAGE EPREUVES */


.page_epreuve{
	padding: 0 5%;
}
.image_fit {
	height: 100%;
	img{
		height: 100%;
		object-fit: cover;
	}
}

.title_epreuves{
	padding: 1rem 2rem;
}

.page_epreuves_mb{
	margin-bottom: 3rem;
}
.page_epreuves_bloc{
	display: flex;
    flex-direction: column;
	padding: 0 10%;
}


/* PAGE CONTACT */

.page_contact_input{
		background-color: color-mix(in srgb, var(--primary), white 85%);
		border-radius: 0.4rem;
    	padding: 0.9rem 0.5rem;
}

.page_flex_contact{
	div{
		form{
			label{
				font-family: 'Monserrat-extra-bold', sans-serif;
				font-weight: bold;
				font-size: 1rem;
			}
			
		display: flex;
		flex-direction: column;
		align-items: center;
		.wpcf7-spinner{
			display: none;
		}
			input{
				color: var(--dark);
				border: none;
				width: 50rem;
			}
			textarea{
				color: var(--dark);
				border: none;
				width: 50rem;
			}
	}
	}
	
}


/* PAGE PALMARES*/
.page_palmares{
	border-bottom: 1px solid var(--dark);
	  margin: 0 10% 5rem 10%;
	gap: 0;
	padding-bottom: 4rem;
	img{
		max-width: 34rem;
	}
	figure{
		   margin: 0;
	}
	p{
		margin: 0.5rem 0;
	}
	
}

.page_palmares_laureats{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.bloc_layer{
	padding: 0 5rem;
	column-gap: 2rem;
}

.bloc_img img{
	width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 0;
    min-height: 0;
	position: absolute;
}
.bloc_wrapper{
	position: relative;
}

/* PHOTOS */

.photo_col{
	padding: 0 3rem;
	gap: 5rem;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (width < 1280px){
	.header{
		padding: 0 1rem;
		ul{
			a{
				min-width: 5rem;
			}
		}
	}
	.laureat{
		padding: 2rem 0;
		a{
			display: flex;
			flex-direction: column-reverse;
			align-items: center;
			row-gap: 2rem;
		}
	}
	.propos{
		padding: 0 5rem;
	}
	.epreuves{
		padding: 0 4rem;
		column-gap: 1rem;
		h2{
			font-size: 1.5rem;
		}
		p{
			font-size: 1rem;
		}
	}
	.partenaire{
		article{
			p{
			padding: 0 5rem;
		}
		}
		
	}
}


@media (width < 1024px){
	.rs_grid{
		grid-column: span 12;
	}
	.bloc_layer{
		padding: 0px 2rem 0 5rem;
		column-gap: 1rem;
	}
	.bloc_wrapper{
		grid-column: span 4;
	}
	.bloc_text{
		grid-column: span 8;
	}
	.countdown{
		bottom: -26%;
	}
	.layer_section{
		height: 44.5rem;
		article{
			padding: 13rem 5rem 0 5rem;
		}
	}
	
	.rs{
		article{
			grid-column: span 12;
		}
	}
	.propos{
		flex-direction: column;
		align-items: center;
		row-gap: 2rem;
		display: flex;
	}
	.epreuves{
		row-gap: 2rem;
		article{
			grid-column: span 6;
		}
	}
	.partenaire_logo{
		grid-column: span 4;
	}
}

@media (width < 768px){
	.bloc_layer{
		padding: 0 3rem;
	}
	.bloc_wrapper{
		grid-column: span 12;
	}
	.bloc_text{
		grid-column: span 12;
	}
	.bloc_img img{
		position: unset;
	}
	.page_flex_contact{
		div{
			form{
				input{
			width: unset;
			}
			textarea{
				width: unset;
			}
			}
		}
	}
	.countdown{
		bottom: -13%;
        width: 100%;
		justify-content: center;
	}
	.laureat{
		img{
			display: none;
		}
	}
	:root{
		--h2: 2rem;
	}
	.header{
		display: flex;
    	justify-content: space-between;
		padding: 0 3rem;
		ul{
			display: none;
		}
	}
	.header_burger{
		display: flex;
		cursor: pointer;
	}
	.epreuves{
		padding: 0 0.5rem;
		column-gap: 0.5rem;
	}
	.layer_section{
		height: 46rem;
		article{
			padding: 11rem 1.5rem 0 1.5rem;
			h1{
			font-size: 3rem
		}
	}
		
	}
	.propos{
		padding: 0;
		img{
			padding: 0 1.5rem;
		}
	}
	.partenaire{
		article{
			p{
			padding: 0 2rem;
		}
		}
		
	}
}

@media (width < 630px){
	.bloc_layer{
		padding: 0 1.5rem;
	}
	.countdown_second{
		display: none !important;
	}
	.countdown{
		
		column-gap: 2rem;
		bottom: -12.5%;
		.count_number{
			font-size: 3.5rem;
		}
	}
	.epreuves{
		article{
			grid-column: span 12;
			img{
				max-width: unset;
			}
		}
	}
	.header_img{
		display: none;
	}
	.layer_section {
        height: 48rem;
		article{
			padding: 10rem 1.5rem 0 1.5rem;
    	}
	}
	.rs{
		padding: 0 1rem;
	}
	.header{
		img{
			width: 5rem;
		}
	}
	.laureat{
		.laureat_footer_img{
		padding-left: 1rem;
		}
	}
	.laureat_footer{
		justify-content: space-between;
	}
	.laureat_section{
		padding: 0 1rem;
	}
	.partenaire_logo{
		grid-column: span 6;
	}
	.header{
		padding: 0 0.5rem;
	}
	.propos{
		img{
			padding: 0;
		}
	}
	img{
		max-width: 22rem;
	}
	footer{
		padding-top: 2rem;
		a{
			margin: 0.5rem 0;
		}
		ul{
			flex-direction: column;
			padding: 0 0 3rem 0;
		}
		div{
			background-color: var(--primary);
			padding-bottom: 3rem;
		}
	}
	
}





