@charset "utf-8";
/* CSS Document */
:root {
  /* Light Theme */
  --bg-color: #fcfcfc;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --accent: #2563eb;
  --nav-bg: rgba(252, 252, 252, 0.85);
  --nav-border: rgba(0, 0, 0, 0.08);
  --card-bg: #fff;
  --btn-bg: #1a1a1a;
  --btn-text: #ffffff;
  --btn-hover: #333333;
  --btn-sec-bg: transparent;
  --btn-sec-text: #1a1a1a;
  --btn-sec-border: #e5e5e5;
  --btn-sec-hover: #f5f5f5;
}
[data-theme="dark"] {
  /* Dark Theme */
  --bg-color: #0d0d0d;
  --text-main: #f2f2f2;
  --text-muted: #a1a1aa;
  --accent: #60a5fa;
  --nav-bg: rgba(13, 13, 13, 0.85);
  --nav-border: rgba(255, 255, 255, 0.08);
  --card-bg: #161616;
  --btn-bg: #f2f2f2;
  --btn-text: #0d0d0d;
  --btn-hover: #d4d4d4;
  --btn-sec-bg: transparent;
  --btn-sec-text: #f2f2f2;
  --btn-sec-border: #333333;
  --btn-sec-hover: #1a1a1a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
::selection {
  background: var(--accent);
  color: #fff;
}
/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  z-index: 998;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    padding 0.3s ease;
}
.nav-container {
  width: 100%;
  max-width: 1214px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: white;
	border: 2px solid white;
	border-radius: 30px;
	padding: 2px 16px 5px 17px;
  background: #db25b1;
  background: linear-gradient(90deg,rgba(219, 37, 177, 1) 0%, rgba(0, 7, 133, 1) 100%);
	transition: all 0.3s ease;
}
.nav-brand:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}
/* Premier Lien EXPLORE */
.slide-line{
	font-family: sans-serif;
	color: var(--text-muted);
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.3s ease;
	position: relative;
	text-decoration: none;
}
.slide-line::before{
	content: "";
	position: absolute;
	background: var(--text-main);
	width: 100%;
	height: 4px;
	bottom: 0;
	transform-origin: 100% 0;
	transform: scaleX(0);
	transition: transform 0.4s;
}
.slide-line:hover::before{
	transform-origin: 0 0;
	transform: scaleX(1);
	color: var(--text-main);
}
.slide-line.active{
	color: var(--text-main);
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.theme-toggle:hover {
  background-color: var(--nav-border);
  transform: scale(1.05);
}
.theme-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}
/* Main Content (Hero) */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero {
  max-width: 1214px;
  padding: 1.2rem 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  text-align: left;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-content {
  flex: 1;
  max-width: 600px;
}
.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--btn-sec-border);
  animation: blob-morph 12s ease-in-out infinite;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease;
}
.hero-image:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent);
}
@keyframes blob-morph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  66% {
    border-radius: 73% 27% 41% 59% / 40% 58% 42% 50%;
  }
}
.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}
.hero-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: block;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  color: var(--text-main);
}
.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions,
.hero-actions-about{
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-actions-about{
	justify-content: center;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
	margin-bottom: 0.85rem;
}
.btn-primary {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-bg);
}
.btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-primary svg {
  transition: transform 0.3s ease;
}
.btn-primary:hover svg {
  transform: translateX(5px);
}
.btn-secondary {
  background-color: var(--btn-sec-bg);
  color: var(--btn-sec-text);
  border: 1px solid var(--btn-sec-border);
}
.btn-secondary:hover {
  background-color: var(--btn-sec-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
/* Faqs */
#faq{
	width: 80%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 0 100px 0;
}
.title{
	font-size: 1.9rem;
	margin: 2rem 0rem;
	text-align: center;
}
.faq{
	max-width: 765px;
	margin-top: 2rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #fff;
	cursor: pointer;
}
.question{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.question h3{
	font-size: 1.8rem;
}
.answer{
	max-height: 0;
	overflow: hidden;
	transition: max-height .7s ease;
}
.answer p{
	padding-top: 1rem;
	line-height: 1.6;
	font-size: 1.4rem;
}
.faq.active .answer{
	max-height: 300px;
	animation: fade 1s ease-in-out;
}
.faq.active svg{
	transform: rotate(180deg);
}
svg{
	transition: transform 0.5s ease-in;
}
/* Animation Faqs */
@keyframes fade{
	from{
		opacity: 0;
		transform: translateY(-10px);
	}
	to{
		opacity: 1;
		transform: translateY(0px);
	}
}
/* Passbot */
#passbot{
	text-align: center;
	align-items: center;
	justify-content: center;
	display: flex;
}
#passbot .item-form{
	padding: 10px 0 20px 0;
	display: flex;
	/*transform: rotate(10deg);*/
}
#passbot .bloc-item-form{
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
	border-radius: 18px;
	width: 100%;
	max-width: 350px;
}
#passbot #password-form{
	text-align: left;
	background: var(--card-bg);
	padding: 18px;
	border-radius: 18px;
	font-size: 20px;
	line-height: 2rem;
	color: var(--text-muted);
}
#passbot #output{
	display: flex;
	width: 100%;
	max-width: 350px;
	border: none;
	border-radius: 8px;
	font-size: 20px;
	background: var(--bg-card);
	padding-top: 8px;
	color: var(--text-muted);
	font-weight: 600;
	field-sizing: content;
	resize: none;
}
#passbot #output::placeholder{
	font-weight: 500;
	color: var(--text-muted);
}
#passbot #output:focus{
	 outline: none;
}
#passbot input[type="range"]#length::-webkit-slider-runnable-track{
	width: 100%;
	-webkit-appearance: none;
	background: var(--text-muted);
	height: 100%;
  border: none;
  border-radius: 0;
  background-color: transparent;
}
#passbot input[type="range"]#length::-webkit-slider-thumb{
	-webkit-appearance: none;      
  width: 100%;
  height: inherit;               
  border: none;
  border-radius: 0;               
  background: currentColor;
	box-shadow: 0 4px 10px rgba(109, 40, 217, 0.3);
}
.slider{
	appearance: none;
	width: 350px;
	height: 8px;
	background: #ebe9e7;
	outline: none;
	border-radius: 5px;
}
.slider::-webkit-slider-thumb{
	appearance: none;
	width: 20px;
	height: 20px;
	background: #8758ff;
	border-radius: 50%;
	cursor: pointer;
}
.slider::-moz-range-thumb{
	appearance: none;
	width: 20px;
	height: 20px;
	background: #8758ff;
	border-radius: 50%;
	cursor: pointer;
}
.value{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
	margin-left: 1rem;
	background: #8758ff;
	color: #fff;
	width: 50px;
	height: 50px;
	border-radius: 50px;
	margin-bottom: 10px;
}
.container{
	display: flex;
}
.options{
	margin-top: 30px;
}
.four-options{
	display: flex;
}
.two-options{
	display: grid;
}
.container .icon{
	position: relative;
	top: 0;
	height: 100%;
	width: 120px;
	display: flex;
	align-items: center;
}
.icon i{
	width: 55px;
	height: 55px;
	cursor: pointer;
	font-size: 1.2rem;
	text-align: center;
	line-height: 55px;
	border-radius: 50%;
	background: #d8d5f2;
}
.icon i:hover{
	background: #efedfb;
}
.icon:first-child i{
	margin-left: 15px;
}
.icon:last-child i{
	margin-right: 15px;
}
.container-checkbox{
	padding: 8px;
}
.container-checkbox input{
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.container-checkbox .caixa-selecao{
	cursor: pointer;
	-webkit-appearance: none;
	width: 17px;
	height: 17px;
	background: var(--color-input);
  border: 1px solid var(--nav-border);
	display: inline-flex;
}
.container-checkbox .caixa-selecao::before{
	content: "";
}
.container-checkbox .caixa-selecao svg{
	width: 0;
	height: 0;
	color: var(--text-muted);
	z-index: 1;
}
.container-checkbox input:checked ~ .caixa-selecao svg{
	width: 18px;
	height: 18px;
}
.container-checkbox::after,
.container-checkbox::before{
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--cor-checkbox);
	opacity: 0;
	transition: all 0.5s;
}
.container-checkbox::before{
	left: -10px;
	top: 50%;
}
.container-checkbox::after{
	right: -10px;
	top: 50%;
}
.container-checkbox:hover::before{
	opacity: 1;
	transform: translateX(-10px);
	box-shadow: 0 0 10px var(--cor-checkbox);
}
.container-checkbox:hover::after{
	opacity: 1;
	transform: translateX(10px);
	box-shadow: 0 0 10px var(--cor-checkbox);
}
.details,
.generate{
	padding-top: 20px;
}
.details{
	display: flex;
}
/* Animation */
@keyframes fade{
	from{
		opacity: 0;
		transform: translateY(-10px);
	}
	to{
		opacity: 1;
		transform: translateY(0px);
	}
}
button[type="button"]{
	cursor: pointer;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--btn-bg);
	background-color: var(--btn-bg);
  color: var(--btn-text);
}
.button:hover{
	background-color: var(--accent);
  border-color: var(--btn-hover);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	border: 0;
}
.button svg {
  transition: transform 0.3s ease;
}
.button:hover svg {
  transform: translateX(5px);
}
.fa-arrows-spin{
	padding-right: 8px;
	font-size: 22px;
}
/* qrbot */
#qrbot{
	text-align: center;
	align-items: center;
	justify-content: center;
	display: flex;
	
}
#qrbot .item-qrbot{
	text-align: center;
	align-items: center;
	justify-content: center;
	display: flex;
	
}
#qrbot .qrbot-container{
	width: 400px;
	padding: 18px;
	background: var(--card-bg);
	border-radius: 18px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
}
#qrbot .qrbot-container p{
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 8px;
}
#qrbot .qrbot-container input{
	width: 100%;
	height: 50px;
	border: 1px solid var(--color-border);
	outline: 0;
	padding: 0 14px;
	margin: 10px 0 20px;
	border-radius: 20px;
	background-color: var(--bg-color);
	color: var(--text-muted);
}
#qrbot .qrbot-container input::placeholder{
	color: var(--color-placeholder);
	margin-right: 10px;
}
#qrbot .qrbot-container input:focus{
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
#qrbot .qrbot-container button{
	width: 100%;
	height: 50px;
	border: 0;
	outline: 0;
	border-radius: 50px;
	box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	margin: 20px 0;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	background-color: var(--btn-bg);
  color: var(--btn-text);
}
#qrbot .qrbot-container button:hover{
	background-color: var(--accent);
  border-color: var(--btn-hover);
	transform: translateY(-2px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
#imgBox{
	width: 200px;
	border-radius: 5px;
	max-height: 0;
	overflow: hidden;
	text-align: center;
	transition: max-height 1s;
}
#imgBox.show-img{
	max-height: 300px;
	margin: 10px auto;
	border: none;
}
.error{
	animation: shake 0.1s linear 10;
}
@keyframes shake{
	0%{
		transform: translate(0);
	}
	25%{
		transform: translate(-2px);
	}
	50%{
		transform: translate(0);
	}
	75%{
		transform: translate(2px);
	}
	100%{
		transform: translate(0);
	}
}
/* formulaire de contact */
.form{
	align-items: center;
	justify-content: center;
	text-align: center;
	display: flex;
}
.form-contact {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
 max-width: 400px;
  width: 100%;
	 transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
	z-index: 997;
}
.form-contact:hover {
transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent);
}
.form-contact label {
	font-size: 1.1rem;
	margin: 16px;
	text-align: left;
}
.form-contact input {
  height: 55px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
  padding: 0 14px;
	background-color: var(--bg-color);
	color: var(--text-muted);
}
.form-contact input:focus {
  outline: none;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}
::placeholder {
  color: #777;
  font-size: 1.063rem;
}
.form-contact textarea{
	height: 300px;
	resize: none;
 	width: 100%;
  	border: 1px solid #ccc;
  border-radius: 20px;
  margin-bottom: 20px;
  font-size: 1rem;
	padding: 12px 14px;
	color: var(--text-muted);
	background-color: var(--bg-color);
}
.form-contact textarea:focus {
	outline: none;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}
.link {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 15px;
}
.link .submit {
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--btn-bg);
  padding: 15px 0;
  border-radius: 50px;
  color: var(--btn-text);
  font-size: 1.25rem;
  font-weight: 600;
  transition: 0.2s ease;
}
.link .submit:hover {
  background: var(--accent);
	transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.success{
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	transition: .7s;
	z-index: 999;
}
.success .box-success{
	background: white;
	padding: 1.5em 2em;
	width: 500px;
	max-width: 90%;
	border-radius: 4px;
	position: relative;
	z-index: 1000;
}
.success .box-success a{
	color: black;
}
.success .box-success a:hover{
	cursor: pointer;
}
.success .box-success .modal_close{
	position: absolute;
	right: 15px;
	top: 15px;
	color: grey;
}
/* Footer */
footer {
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--nav-border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-center {
	text-align: center;
	display: grid;
}
.mentions{
	display: flex;
}
.mentions a{
	text-decoration: none;
	padding-right: 5px;
	color: var(--text-muted);
}
.mentions a:hover{
	cursor: pointer;
	 color: var(--text-main);
}
.mentions p{
	padding-right: 5px;
}
.domain{
	padding-top: 6px;
	font-size: 1rem;
	font-weight: 600;
}
.socials {
  display: flex;
  gap: 1.25rem;
	visibility: hidden;
}
.socials a {
  color: var(--text-muted);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  display: flex;
}
.socials a:hover {
  color: var(--text-main);
  transform: translateY(-2px);
}
/* Page Shared Layout */
.page-main {
  padding: 1rem 0;
}
.page-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}
.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: -1px;
}
.section-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}
.section-heading.mt-2 {
  margin-top: 2rem;
}
.section-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.text-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}
/* About Page Specific Layout */
.about-grid {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.about-image-col {
  flex: 0 0 35%;
  position: sticky;
  top: 8rem;
}
.about-text-col {
  flex: 1;
}
.image-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
}
.stack-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--btn-sec-border);
  transition: transform 0.3s ease;
}
.stack-img:hover {
  transform: scale(1.02);
}
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.exp-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--nav-bg);
  border: 1px solid var(--nav-border);
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.exp-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--nav-border);
}
.exp-year {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  white-space: nowrap;
}
.exp-details h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  margin-top: -0.3rem;
  color: var(--text-main);
}
.exp-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
/* Projects Page Layout */
.projects-grid {
  display: flex;
	align-items: center;
	justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 1rem;
}
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--nav-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}
.project-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img {
  transform: scale(1.05);
}
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.project-card:hover .project-overlay {
  opacity: 1;
}
.overlay-btn {
  background: var(--bg-color);
  color: var(--text-main);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(20px);
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  text-decoration: none;
}
.project-card:hover .overlay-btn {
  transform: translateY(0);
}
.overlay-btn:hover {
  background: var(--accent);
  color: #fff;
}
.project-status-overlay {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  display: inline-block;
}
.project-card:hover .project-status-overlay {
  transform: translateY(0);
}
.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  line-height: 1.3;
}
.project-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}
.tag {
  background: var(--btn-sec-border);
  border: 1px solid var(--nav-border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Banner Cookies */
#popup{
	position: fixed;
	border-radius: 20px;
	bottom: -100%;
	background-color: var(--card-bg);
  	color: var(--text-main);
	padding: 20px;
	margin: 20px 0 70px 10px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
	z-index: 8;
	transition: 400ms;
	font-weight: 500;
	width: 350px;
	display: grid;
	align-items: center;
	border: 1px solid var(--nav-border);
}
#popup:hover{
	transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent);
}
#popup .contenu-cookie-box{
	display: grid;
}
#popup.active{
	bottom: 0;
}
.conteneur-fermer{
	right: 0;
	text-align: right;
	padding: 0;
	margin: 3px 23px 0 0;
}
.fermer-popup{
	color: lightgrey;
	cursor: pointer;
	text-align: center;
	align-items: center;
	justify-content: center;
}
.fermer-popup:hover{
	color: black;
}

.paragraphe-cookie{
	margin-bottom: 18px;
}
.contenu-cookie-box{
	display: grid;
}

.cookie-container .contenu-cookie-box .paragraphe-cookie a{
	color: var(--text-main);
	text-decoration: underline;
}
.contenu-btn{
	display: grid;
	padding-right: 0;
}
 .contenu-btn .conteneur-cookie-btn .cookie-btn{
	font-size: 18px;
	margin: 0;
	cursor: pointer;
	font-weight: 600;
	padding-right: 0;
	width: 150px;
	height: 50px;
	padding: 10px;
	 border-radius: 50px;
	 background-color: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-bg);
	 transition: all 0.3s ease;
}
.cookie-btn:hover{
	cursor: pointer;
	background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-cookies{
	color: var(--text-main);
}
.modal_close{
	font-size: 18px;
	margin: 0;
	cursor: pointer;
	font-weight: 600;
	padding-right: 0;
	width: 150px;
	height: 50px;
	padding: 13px 25px 13px 25px;
	 border-radius: 50px;
	 transition: all 0.3s ease;
	text-decoration: none;
	background-color: var(--btn-sec-bg);
  color: var(--btn-sec-text);
  border: 1px solid var(--btn-sec-border);
}
.modal_close:hover{
	background-color: var(--btn-sec-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.fade-in {
  -webkit-animation-name: fadeInOpacity;
          animation-name: fadeInOpacity;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: ease-in;
          animation-timing-function: ease-in;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
/* Responsive */
@media (max-width: 1880px) {
	/* Banner Cookies */
#popup{
	position: fixed;
	border-radius: 20px 20px 0 0;
	bottom: -100%;
	background-color: var(--bg-color);
  	color: var(--text-main);
	padding: 10px 20px;
	margin: 0;
	box-shadow: 0 -2px 10px rgba(47, 54, 64, 0.39);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	z-index: 8;
	transition: 400ms;
	font-weight: 500;
	width: 100%;
	display: grid;
	align-items: center;
	
}
	#popup:hover{
		transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent);
}
}
@media (max-width: 992px) {
	.navbar .nav-container {
    padding: 1rem 5%;
  }
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(252, 252, 252, 1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 900;
  }
  [data-theme="dark"] .nav-links {
    background: rgba(13, 13, 13, 1);
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 2rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-muted);
    transition:
      color 0.3s ease,
      transform 0.3s ease;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--text-main);
    transform: translateX(10px);
  }
  .mobile-toggle {
    display: block;
    z-index: 999;
  }
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 3rem;
    padding-block: 4rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions,
	.hero-actions-about{
    align-items: center;
  }
	.projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
		display: grid;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
	footer {
    flex-direction: column-reverse;
    gap: 1.5rem;
    text-align: center;
  }
	.footer-center {
	display: grid;
		text-align: center;
  }
  .footer-center p{
	display: none;
  }
  .mentions{
	display: grid;
  }
  .domain{
	padding-top: 20px;
  }
}
@media (max-width: 768px) {
  
  .hero-title {
    font-size: 3rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-actions,
	.hero-actions-about{
    flex-direction: column;
    align-items: center;
		margin-bottom: 0.95rem;
  }
  .hero-image {
    max-width: 250px;
    height: 250px;
  }
  .about-grid {
    flex-direction: column;
    gap: 2rem;
  }
  .about-image-col {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
  .exp-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form{
	display: grid;
}
	.hero-actions-contact{
		margin-top: 100px;
	}
}

@media (max-width: 460px) {
	.page-container, .hero {
    width: 100%;
  }
	.hero-subtitle{
		font-size: 1.2rem;
	}
	.page-title, .hero-title {
    font-size: 2.5rem;
  }
  .hero-desc {
    font-size: 1.2rem;
  }
	.contenu-btn .conteneur-cookie-btn{
		display: grid;
	}
	#passbot .bloc-item-form{
		max-width: 280px;
	}
	#passbot #output{
		max-width: 275px;
	}
	#qrbot .qrbot-container{
		width: 285px;
	}
}
	
	
	
	
	
	
	
	
