@font-face {
	/* Font face debug par guillou 01/10 */
	font-family: "Shining Monday";
	src: local("Shining-Monday"), url("../font/Shining-Monday.otf");
}

/* GLOBAL PROPERTIES */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background-color: #ffffed;
	font-family: "Sriracha", cursive;
	font-weight: 400;
	font-style: normal;
	margin: auto;
}

@media (max-width: 767px) {
	body.blocked {
		overflow: hidden;
	}
}

a {
	text-decoration: none;
}

body main {
	max-width: 1920px;
	margin: auto;
}

body main section {
	background-image: url(../img/forme1.svg);
	background-repeat: no-repeat;
	background-position-y: 50%;
	background-size: cover;
	min-height: 80vh;
	margin-bottom: 0;
	width: 100%;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 50px auto;
}

body main section:not(:first-child) {
	flex-direction: column;
}

.section-title {
	font-family: "Shining Monday", sans-serif;
	color: #95c6a9;
	font-size: 30px;
	font-weight: 400;
	position: relative;
	width: 100%;
	max-width: 500px;
	display: flex;
	justify-content: center;
}

.section-title::before {
	content: url(../img/fleur.svg);
	position: absolute;
	left: 0;
	top: -120%;
}

.section-title::after {
	content: url(../img/fleur2.svg);
	position: absolute;
	top: -120%;
	right: 0;
}

@media (max-width: 767px) {
	body main section {
		flex-direction: column;
		flex-wrap: wrap;
	}
}

/* HEADER */

body header {
	background-image: url(../img/nuage-nav.svg);
	background-repeat: no-repeat;
	background-position-y: -50px;
	background-size: cover;
	display: flex;
	justify-content: center;
	gap: 20px;
	width: 100%;
	padding: 20px;
	align-items: center;
	position: fixed;
	z-index: 99;
	top: 0;
}

body header nav {
	width: 85%;
}

/* ici faire le menu burger */

body header nav ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2%;
	list-style: none;
}

/* Tous les nuages de la nav */
body header nav ul li {
	width: calc(100% / 4);
	max-width: 200px;
	height: 85px;
	background-size: cover;
	background-repeat: no-repeat;
	text-align: center;
	padding: 20px;
	display: flex;
	align-items: center;
	transition: 0.5s ease-in-out;
}

/* FOND DES LI */

body header nav ul li.rose {
	background-image: url(../img/nuages-nav/rose.svg);
}

body header nav ul li#bleu {
	background-image: url(../img/nuages-nav/bleu.svg);
}

body header nav ul li.vert {
	background-image: url(../img/nuages-nav/vert.svg);
}

body header nav ul li.peche {
	background-image: url(../img/nuages-nav/peche.svg);
}

body header nav ul li.jaune {
	background-image: url(../img/nuages-nav/jaune.svg);
}

body header nav ul li:hover {
	transform: scale(0.95);
}

/* hover bouton rose */
header nav ul li.rose a.bouton {
	transition: all ease 0.3s;
}

body header nav ul li.rose a.bouton:hover {
	color: #412639;
}

/* hover bouton vert */

body header nav ul li.vert a.bouton:hover {
	color: #2c5a3f;
}

/* hover bouton peche */

body header nav ul li.peche a.bouton:hover {
	color: #6b3a2c;
}

/* hover bouton jaune */

body header nav ul li.jaune a.bouton:hover {
	color: #504413;
}

body header nav ul li a.bouton {
	font-family: Shining Monday;
	color: #555555;
	font-size: 18px;
	display: block;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all ease 0.3s;
}

/* MENU MOBILE */

body header nav ul.mobile-menu {
	transition: 0.5s ease-in-out;
	display: none;
	opacity: 0;
}
.mobile-menu-button {
	cursor: pointer;
}

.menu-burger {
	background-image: url(../img/bouton-nuage.svg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 200px;
	max-width: 80%;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555555;
	z-index: 1;
	cursor: pointer;
}

.menu-burger span {
	font-size: 30px !important;
}

.menu-burger,
.mobile-logo {
	display: none;
}

@media (max-width: 1100px) {
	.menu-burger {
		display: flex;
		position: relative;
		top: -10px;
		left: -50px;
	}
	.mobile-logo {
		display: inline;
	}
	body header {
		background-position-y: -50px;
	}

	.desktop-logo,
	body header nav ul:not(.mobile-menu) {
		display: none;
	}

	body header nav {
		width: 100%;
		padding: 30px 10px;
	}

	body header nav ul li {
		max-width: none;
	}

	body header nav ul li.mobile-logo {
		display: flex;
		justify-content: center;
	}

	body header nav ul li.rose,
	body header nav ul li.vert,
	body header nav ul li.peche,
	body header nav ul li.jaune {
		background-size: contain;
		background-position: center;
	}

	body header nav ul.mobile-menu.visible {
		opacity: 1;
		display: flex;
	}
	body header nav ul.mobile-menu {
		flex-wrap: wrap;
		justify-content: center;
		column-gap: 30px;
	}
}

@media (max-width: 767px) {
	body header nav ul.mobile-menu {
		flex-direction: column;
	}
	.mobile-logo a img {
		width: 264px;
		height: auto;
	}
	body header nav ul li {
		width: 100%;
		height: 13vh;
	}
	body header {
		background-position-y: -80px;
		width: 100vw;
	}

	body header.menu-opened {
		background-color: #e9f4ee;
		height: 110vh;
		align-items: flex-start;
		justify-content: flex-start;
	}
}

body header nav ul.mobile-menu {
	row-gap: 20px;
}

/* SECTION 1 */

body main section#presentation {
	gap: 50px;
	margin-top: 10%;
	margin-bottom: -10vh;
}

body main section#presentation div.img-part {
	position: relative;
}

body main section#presentation div.img-part img {
	max-width: 100%;
	height: auto;
}

body main section#presentation div.img-part::before {
	content: url(../img/deco-vert.svg);
	position: absolute;
	left: -50px;
	transform: scale(0.8);
}

body main section#presentation div.img-part::after {
	content: url(../img/deco-vert2.svg);
	position: absolute;
	right: -60px;
	top: 58%;
	transform: scale(0.8) rotate(8deg);
}

@media (max-width: 767px) {
	body main section#presentation div.img-part::after {
		right: 5%;
		top: 75%;
		transform: scale(0.8) rotate(40deg);
	}
}

body main section#presentation div.img-part h1 {
	position: absolute;
	right: 40px;
	bottom: 0px;
	background: url(../img/forme-vert.svg);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	padding: 20px;
	text-align: center;
	font-family: "Shining Monday", sans-serif;
	font-weight: 400;
	color: #555555;
}

body main section#presentation div.designer {
	width: 30%;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 30px;
}

@media (max-width: 767px) {
	body main section#presentation div.designer {
		width: 100%;
		padding: 20px;
	}
}

body main section#presentation div.designer h2 {
	color: #ba95b0;
	font-family: "Shining Monday", sans-serif;
	font-weight: 400;
	font-size: 40px;
	width: 100%;
	text-align: center;
}

body main section#presentation div.designer a {
	color: #90c8f1;
	margin-top: -30px;
	font-weight: 400;
	font-family: Shining Monday;
	font-size: 30px;
	animation: pulse 2s infinite;
	position: relative;
	/* Pulsation continue */
}

body main section#presentation div.designer a::before {
	content: url(../img/etoile.svg);
	position: absolute;
	left: -85px;
	top: -130%;
	transform: scale(0.9);
}

body main section#presentation div.designer a::after {
	content: url(../img/etoile2.svg);
	position: absolute;
	right: -85px;
	top: -150%;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}
}

body main section#presentation div.designer p {
	width: 100%;
	text-align: center;
	color: #555555;
	font-weight: 400;
	font-size: 20px;
	display: flex;
	position: relative;
	cursor: pointer;
}

body main section#presentation div.designer p::before {
	content: url(../img/guillemet.svg);
	position: absolute;
	top: -30%;
	left: -12%;
}

body main section#presentation div.designer p::after {
	content: url(../img/guillemet2.svg);
	position: absolute;
	bottom: -30%;
	right: -9%;
}

@keyframes shake-rotate {
	0%,
	100% {
		transform: rotate(0deg); /* Pas de rotation au départ */
	}
	25% {
		transform: rotate(-10deg); /* Rotation à gauche */
	}
	50% {
		transform: rotate(10deg); /* Rotation à droite */
	}
	75% {
		transform: rotate(-10deg); /* Rotation à gauche */
	}
}

body main section#presentation div.designer  p:hover::before,
body main section#presentation div.designer  p:hover::after {
	display: inline-block;
	animation: shake-rotate 0.5s ease-in-out;
	animation-iteration-count: infinite;
}
/* SECTION 2 */

body main section#competence {
	flex-direction: column;
	gap: 70px;
}

body main section#competence div.icon {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: auto;
	gap: 20px;
	justify-items: center;
}

@media (max-width: 767px) {
	body main section#competence div.icon {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	body main section#competence div.icon .conteneur {
		width: 40%;
	}
}

body main section#competence div.icon {
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

body main section#competence div.icon svg path {
	margin: 10px;
	/* fill: #90c8f1;
	transition: fill 0.5s ease; */
}

body main section#competence div.icon div.conteneur svg path {
	fill: #90c8f1;
	transition: fill 0.5s ease;
}
body main section#competence div.icon div.conteneur:hover svg path {
	fill: #ffad95;
}

body main section#competence a,
body main section#derniere a.voir-tt {
	background-image: url(../img/bouton-nuage.svg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 300px;
	max-width: 80%;
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555555;
	font-size: 35px;
	z-index: 1;
	cursor: pointer;
}

body main section#competence a::after {
	content: url(../img/dl.svg);
	position: relative;
	left: 10px;
	top: 5px;
}

body main section#competence a:active {
	transform: scale(0.95);
}

/* SECTION 3 */

body main section#derniere {
	flex-direction: column;
}

/* carousel */

.carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease-in-out;
	align-items: center;
}

.carousel-item {
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 33%;
}

.carousel-item.active {
	transform: scale(1);
}

.carousel-item img {
	width: 100%;
	border-radius: 50%;
	display: block;
	transition: transform 0.5s ease;
}

/* Boutons de contrôle */
.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #95c6a9;
	padding: 10px;
	cursor: pointer;
	font-size: 65px;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

.carousel-indicators {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	gap: 20px;
}

.dot {
	border: none;
	width: 15px;
	height: 15px;
	background-color: #ffe888;
	border-radius: 50%;
	margin: 0 5px 20px 0;
	cursor: pointer;
}

.dot.active {
	background-color: #95c6a9;
}

body main section#derniere a.voirtt {
	color: #555555;
	font-size: 30px;
	background-image: url(../img/btn-nuage2.svg);
	background-repeat: no-repeat;
	background-size: contain;
	width: 30%;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-position: center;
}
body main section#derniere a.voirtt:active {
	transform: scale(0.95);
}
/* SECTION 4 */

body main section#apropos {
	flex-direction: column;
}

.boite-about {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 50px;
	width: 100%;
	margin-top: 100px;
}

.grid {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
/* Animation  */
@keyframes slideIn {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.grid {
	opacity: 0;
	animation: slideIn 1s ease forwards;
}

/* Ajout de délais pour chaque élément */
.grid:nth-child(1) {
	animation-delay: 0s;
}

.grid:nth-child(2) {
	animation-delay: 0.3s;
}

.grid:nth-child(3) {
	animation-delay: 0.6s;
}

.grid:nth-child(4) {
	animation-delay: 0.9s;
}

.grid:nth-child(5) {
	animation-delay: 1.2s;
}

.grid img {
	width: 100px;
	margin-bottom: 20px;
}

.grid p {
	color: #555555;
	font-size: 18px;
	font-family: "Shining Monday", sans-serif;
	display: flex;
}

body main section#apropos p,
span {
	font-family: "Shining Monday", sans-serif;
	color: #555555;
	font-size: 18px;
}

body main section#apropos p#text {
	text-align: center;
	margin-top: 50px;
	font-size: 22px;
	width: 75%;
}

body main section#apropos p#apercu {
	margin-top: 30px;
	font-size: 22px;
	width: 75%;
	text-align: center;
}

body main section#apropos span#dynamique {
	margin-top: 80px;
	font-size: 50px;
	position: relative;
}

body main section#apropos span#dynamique::before {
	content: url(../img/rainbow1.svg);
	position: absolute;
	right: -60%;
	bottom: -650%;
	transform: scale(0.2);
}

body main section#apropos span#dynamique::after {
	content: url(../img/rainbow2.svg);
	position: absolute;
	left: -60%;
	bottom: -650%;
	transform: scale(0.2);
}

@media (max-width: 767px) {
	body main section#apropos span#dynamique::before,
	body main section#apropos span#dynamique::after {
		transform: scale(0.15);
	}
	body main section#apropos span#dynamique::after {
		left: -70%;
	}
}

/* SECTION 5 */

body main section#contact {
	flex-direction: column;
}
/* FORMULAIRE */

.form-boite {
	display: flex;
	justify-content: center;
	width: 70%;
}

.form-boite form {
	width: 50%;
}

.form label {
	font-size: 18px;
	color: #95c6a9;
	margin-left: 15px;
	font-family: "Shining Monday", sans-serif;
}

.form input:not(#envoyer, #terms),
.form textarea {
	width: 100%;
	max-height: 500px;
	max-width: 500px;
	padding: 15px;
	border: none;
	border-radius: 25px;
	font-size: 18px;
	background-color: rgba(230, 230, 230, 0.5);
	margin-bottom: 20px;
}

.form input::placeholder,
.form textarea::placeholder {
	color: rgb(186, 149, 176, 0.5);
	font-style: italic;
	font-weight: 400;
	font-family: "Sriracha", cursive;
}

.form.rgpd {
	display: flex;
	margin-left: 15px;
	flex-direction: row-reverse;
	justify-content: flex-end;
	align-items: center;
}

input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #555;
	border-radius: 5px;
	background-color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

input[type="checkbox"]:hover {
	border-color: #333;
}

/* Case cochée : couleur et remplissage */
input[type="checkbox"]:checked {
	background-color: #774468; /* Couleur personnalisée (pas bleu par défaut) */
	border-color: #333;
}

/* Effet "rempli" avec un pseudo-élément */
input[type="checkbox"]:checked::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-color: #774468;
	border-radius: 3px; /* Légèrement moins arrondi pour créer un effet */
}

/* BOUTON ENVOYER */

body main section#contact div.form-boite form div#btn-envoyer.form {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

body main section#contact div.form-boite form div.form input#envoyer {
	padding: 15px;
	cursor: pointer;
	position: absolute;
	background-color: transparent;
	border: none;
	font-size: 25px;
	color: #ffffed;
	font-family: "Shining Monday", sans-serif;
	transition: color 0.3s ease-in-out;
	z-index: 9;
}

body main section#contact div.form-boite form div#btn-envoyer.form input#envoyer:hover {
	color: #774468;
}

body main section#contact div.form-boite form div#btn-envoyer.form img {
	cursor: pointer;
	transition: color 0.9s ease;
}

body main section#contact div.form-boite form div#btn-envoyer.form:active {
	transform: scale(0.95);
}

/* CONTACT */
body main section#contact div.form-contact {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
	padding: 30px;
	margin-bottom: -200px;
	width: 100%;
}

@media (max-width: 767px) {
	body main section#contact div.form-contact {
		flex-direction: column;
		width: 100%;
	}
}
.contact {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 50%;
}

.contact-info {
	width: 100%;
	height: 100%;
}

.picto a {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.picto a img {
	width: 70px;
	height: 70px;
	margin-right: 10px;
}

.picto a span {
	font-size: 18px;
	color: #555555;
	cursor: pointer;
}

.reseaux {
	display: flex;
	align-items: center;
	gap: 50px;
	width: 30%;
	margin-right: 80px;
}

@media (max-width: 767px) {
	.reseaux {
		gap: 20px;
		width: 100%;
	}
}

.reseaux img {
	width: 70px;
	height: 70px;
}

body main section#contact div.form-contact div.contact div.reseaux img#insta {
	width: 90px;
	height: 150px;
}

/* FOOTER */
body footer {
	background-image: url(../img/nuage-nav.svg);
	background-repeat: no-repeat;
	background-size: cover;
	rotate: 180deg;
	width: 100%;
	min-height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row-reverse;
	padding-bottom: 50px;
	column-gap: 200px;
	margin-top: 250px;
}

@media (max-width: 767px) {
	body footer {
		flex-direction: column;
	}
}

body footer img {
	rotate: 180deg;
	margin-top: 10px;
}

body footer p {
	rotate: 180deg;
	color: #555555;
}

body footer div.mentions {
	display: flex;
	gap: 50px;
	padding-bottom: 20px;
}

body footer div.mentions p#mention {
	cursor: pointer;
}
body footer div.mentions p#mention:hover {
	color: #774468;
}

.separateur {
	height: 40px;
	width: 2px;
	background-color: #555555;
	margin: 0 10px;
	border-radius: 100px;
}

/* notification 02/10 */
.notification {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 15px;
	width: 100%;
	text-align: center;
	border-radius: 5px;
	display: none;
	/* Cacher par défaut */
	z-index: 1000;
	border-radius: 0 0 20px 20px;
}

.success {
	width: 100%;
	text-align: center;
	background-color: #b4e7c8;
	color: #333;
}

.error {
	background-color: #ffd1c3;
	color: #333;
}

#backToTop{
	position: fixed;
	left: 10%;
	bottom: 5%;
	opacity: 0;
	transition: .5s ease-in-out;
	font-size: 50px;
	color: #ffad95;
}

/* RESPONSIVE MOBILE 06/10 */

@media (max-width: 767px) {
	body main section#presentation div.img-part::after {
		top: 80%;
	}
	body main section#presentation div.designer {
		row-gap: 10px;
		padding: 10px;
	}
	body main section#presentation div.designer h2 {
		font-size: 32px;
	}
	body main section#presentation div.designer a {
		margin-top: 0;
		font-size: 26px;
	}
	body main section#presentation div.designer div {
		margin-top: 50px;
		width: 100%;
		padding: 0;
	}
	.section-title::before {
		left: -10%;
		width: 50px;
		height: 50px;
	}
	.section-title::after {
		right: 19%;
		width: 50px;
		height: 50px;
	}
	body main section#contact div.form-contact {
		padding: 5px;
	}

	.contact {
		width: 100%;
	}

	.form-boite {
		width: 100%;
	}
	.picto a {
		max-width: 260px;
	}
	body main section {
		padding: 10px;
	}
	.form-boite form {
		width: 90%;
	}
	.carousel-item {
		min-width: 100%;
	}
	.grid {
		width: 35%;
	}
	body main section#presentation div.designer p::after {
		right: 5%;
	}
	body main section#presentation div.designer p::before {
		left: -3%;
		top: -25%;
	}
}

/* outils de débug* {
  outline: 1px solid red;
}

 *::before,*::after{
  display: none!important;
}  */
