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

@font-face {
  font-family: 'Bebas Neue';
  src: url('webfonts/BebasNeue-Regular.woff2') format('woff2'),
       url('webfonts/BebasNeue-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RecoletaAlt";
  src: url('webfonts/Recoleta-Alt-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #6366f1;
  --color-primary-dark: #0284c7;
  --color-secondary: #38bdf8;
  --color-dark: #0f172a;
  --color-dark-light: #20242F;
  --color-gray: #64748b;
  --color-gray-light: #cbd5e1;
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-black: #080506;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --transition: 0.4s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'RecoletaAlt', sans-serif;
  color: var(--color-dark);
  line-height: 1.6;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(10, 10, 10, 0.3);
  transition: transform 0.5s ease;
}

.cursor.is-hover .cursor-dot {
  transform: scale(1.8);
}

body.no-scroll {
  overflow: hidden !important;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

#mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100vh;
  background: var(--color-dark-light);
  transform: translateX(100%);
  opacity: 0;
  z-index: 1002;
  transition: all 0.5s ease;
}

#mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}

#mobile-menu img {
  width: 100%;
}

#mobile-menu i {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

.nav-menu-mobile {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1rem;
}

.nav-menu-mobile li a {
  font-size: 1.5rem;
}

#card {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  background: var(--color-dark-light);
  z-index: 1002;
  transition: all 0.5s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 1s ease;
}

#card img {
  width: 50%;
}

#card .meet-content {
  width: 60%;
}

#card .meet-content p {
  font-size: 1rem;
}

#card .social-link-container i {
  font-size: 3rem;
  cursor: pointer;
  color: white;
  transition: color 0.4s ease;
}

#card .social-link-container i:hover {
  color: var(--color-primary);
}

#card.visible {
  transform: translateX(0%);
  opacity: 1;
}

#close-card {
  color: var(--color-white);
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 1s ease;
  display: flex;
  justify-content: center;
}

.header.scrolled .nav {
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0;
  background-color: var(--color-dark);
}

.header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.nav {
  position: relative;
  width: 90%;
  border-radius: 0 0 300px 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 10px solid var(--color-primary);
  border-right: 10px solid var(--color-primary);
  border-radius: 0 0 50px 50px;
  padding: 0.2rem 0;
  transition: all 0.3s ease;
}

.nav-logo, .card-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20%;
}

.nav-logo {
  gap: 0.5rem;
  color: var(--color-white);
  font-family: 'RecoletaAlt', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-logo p {
  display: none;
}

.nav a img {
  width: 30%;
}

.header.scrolled .nav-logo, .header.scrolled .nav-link {
  color: var(--color-white);
}

.header.scrolled .nav-toggle span {
  background: var(--color-white);
}

.nav-menu {
  height: 100%;
  display: flex;
  list-style: none;
  width: 60%;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.contact-btn {
  background: var(--color-primary-dark);
  color: white;
  padding: 1rem;
  border-radius: 50px;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  animation: grow 3s ease-in-out infinite;
}

@keyframes grow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    background: var(--color-primary);
  }
  100% {
    transform: scale(1);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

.hero {
  background: url('assets/herobg.webp');
  background-position: center;
  background-size: cover;
  position: relative;
  min-height: 120vh;
  display: flex;
  overflow-x: hidden;
  padding: 2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  width: 100%;
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  margin-left: 5rem;
  z-index: 2;
}


.section-marker {
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-primary);
  border-radius: 15px;
  font-family: 'RecoletaAlt', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  width: fit-content;
  line-height: 1;
}

.hero-title {
  font-family: 'RecoletaAlt', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  font-size: 5rem;
}

.hero-subtitle-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-content img {
  width: 25%
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 1px;
  max-width: 600px;
  line-height: 1.6;
}

.socials-container {
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 2;
}

.social-title {
  font-size: 1.2rem;
  letter-spacing: 5px;
  font-weight: 500;
  text-transform: uppercase;
  transform: rotate(90deg);
  width: fit-content;
  margin-bottom: 7rem;
}


.social-title::after {
  content: "";
  position: absolute;

  /* position de départ de la ligne */
  left: calc(100% + 1rem);
  top: 50%;

  width: 60px;
  height: 1px;
  background-color: currentColor;

  transform: translateY(-50%);
}

.socials-container i {
  font-size: 2rem;
  color: var(--color-white);
  transition: color 0.4s ease;
}

.socials-container i:hover {
  color: var(--color-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: var(--transition);
  font-size: 1.1rem;
  border: 2px solid transparent;
  cursor: pointer;
  width: fit-content;
  height: fit-content;
  line-height: 1;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-black);

}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
  text-align: center;
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
}

#visual {
  position: absolute;
  bottom: 0px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-header .section-description {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 1rem;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  width: fit-content;
}

.section-header h2 {
  font-size: 5rem;
  text-transform: capitalize;
  line-height: 1.3;
  width: 70%;
}

.section-header p {
  color: var(--color-white);
  width: 90%;
  font-size: 1.2rem;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-white);
}

.section-description {
  font-size: 18px;
  color: var(--color-white);
  text-align: center;
}

.services {
  padding: 8rem 2rem;
  background: var(--color-black);
  color: var(--color-white);
}

.h2-btn {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.service-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.service-container:hover h3 span {
  background-size: 100% 100%;
  color: var(--color-primary);
}

.service-container:hover img {
  scale: 1.02;
  border: 1px solid var(--color-secondary);
}

.logo-h3 {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 40%;
}

.service-container img {
  width: 40%;
  border-radius: 500px;
  border: 1px solid transparent;
  transition: all 0.5s ease;
}

.service-container h3 span {
  font-size: 2rem;
  display: inline;
  text-decoration: none;
  color: var(--color-white);
  background-image: linear-gradient(
    transparent calc(100% - 2px),
    currentColor 2px
  );
  background-repeat: no-repeat;
  background-size: 0 100%;
  background-position-y: -1px;
  transition: background-size 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), color 0.5s ease;
}

.service-container p {
  font-size: 1.2rem;
  width: 35%;
  color: var(--color-light);
}

.service-container p span {
  color: var(--color-secondary);
}

.process {
  position: relative;
  background: rgb(18, 19, 24);
  padding: 8rem 2rem;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: rgba(99, 102, 241, 0.6);
  padding: 2rem;
  border-radius: 500px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-60%, -20%);
  z-index: 10;
}

.process-top, .process-bot {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.process-top .section-header, .process-bot-text {
  width: 45%;
}

.process-top .section-header {
  gap: 2rem;
}

.process-top .section-header h2 {
  width: 100%;
  font-size: 3rem;
}

.process-top-infos {
  width: 100%;
  background: rgb(30, 31, 37);
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.process-top-infos i {
  width: 40%;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  color: var(--color-primary);
}

.process-top-infos i span {
  font-family: 'RecoletaAlt', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--color-white);
}

.process-top-card, .process-bot-img {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.process-top-card h3 {
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
}

.process-top-card img {
  width: 10%;
}

.process-top-card p {
  font-size: 1.1rem;
  text-align: center;
}

.top-card-top, .top-card-bot {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.top-card-top {
  background: var(--color-dark);
  border-radius: 20px 20px 0 0;
}

.top-card-bot {
  background: var(--color-dark-light);
  border-radius: 0 0 20px 20px;
}

.process-bot-img img {
  border-radius: 20px;
}

.process-bot-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.process-bot-text p {
  font-size: 1.3rem;
  font-weight: 600;  
}

.process-bot-text p span {
  font-size: 2rem;
  color: var(--color-secondary);
}

.process-bot-text h3 {
  font-size: 2rem;
  color: var(--color-primary);
}

.process-bot-text h4 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
}

.prices {
  position: relative;
  padding: 8rem 2rem;
  background: url('assets/pricesbg.webp');
  background-position: center;
  background-size: cover;
  color: var(--color-white);
}

.prices-bgoverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.prices-content {
  position: relative;
  width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.prices-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.prices-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.price-card {
  position: relative;
  width: 30%;
  background: rgb(27, 31, 40);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: 0 0 50px 50px;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.price-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 70%;
  height: 100px;
  border-radius: 30px;
  background: var(--color-primary);
  z-index: -1;
}

.price-title {
  font-size: 1.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.price {
  padding: 1rem 1rem;
  font-size: 2.2rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.6);
  border-radius: 100px;
  border: 10px solid var(--color-primary);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
}

.price-infos {
  list-style: none;
}

.price-infos li {
  position: relative;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.price-infos li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    #1B1F28 0%,
    #FFFFFF 50%,
    #1B1F28 100%);
}

.portfolio {  
  padding: 8rem 2rem;
  color: var(--color-white);
  background: var(--color-black);
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5rem;
}

.portfolio-header h2 {
  text-align: center;
}

.portfolio-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.portfolio-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.project-card {
  width: 32%;
  background: rgb(18, 19, 24);
  border-radius: 16px;
  box-shadow: 2px 2px 20px var(--color-primary);
  transition: all 0.3s ease;
}

.project-preview {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.project-preview img {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 10s ease-in-out;
  will-change: transform;
}

.project-card:hover {
  box-shadow: 2px 2px 20px var(--color-secondary);
}

.project-card:hover img {
  transform: translateY(calc(-100% + 300px));
}

.project-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.2),
    transparent 30%,
    transparent 70%,
    rgba(0,0,0,1)
  );
  pointer-events: none;
}

.project-infos {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.project-infos h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

.project-infos p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-secondary);
}

.project-infos a {
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--color-white);
  transition: color 0.2s ease;
  width: fit-content;
  text-decoration: underline;
}

.project-infos a:hover {
  color: var(--color-primary);
}

.stats-container {
  width: 90%;
  background: rgba(30, 41, 59, 0.85);
  color: var(--color-white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 2px 2px 10px black;
  margin-top: 5rem;
}

.stats-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 2rem;
}

.stats-grid {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  padding: 0;
  color: var(--color-secondary);
}

.stat-item i {
  margin-top: 1rem;
  font-size: 5rem;
}

.stat-label {
  color: var(--color-gray-light);
  font-size: 16px;
  font-weight: 500;
}

.start-now {
  background: rgb(8, 9, 14);
  padding: 8rem 2rem;
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
}

.start-now-header, .start-now-img {
  width: 45%;
}

.start-now-header h2, .start-now-header p {
  width: 100%;
}

.start-now-header h2 {
  font-size: 4rem;
}

.start-now .btn {
  margin-top: 2rem;
}

.start-now-img {
  display: flex;
  justify-content: flex-end;
}

.start-now-img img {
  width: 100%;
  aspect-ratio: 1/1;
}

.contact {
  padding: 8rem 2rem;
  background: var(--color-black);
}

.contact-header i {
  font-size: 4rem;
  color: var(--color-white);
}

.contact .section-description {
  margin-bottom: 1rem;
}

.contact-container {
  background: rgba(31, 31, 31, 0.9);
  padding: 2rem;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.meet {
  width: 50%;
}

.contact-form-container {
  width: 45%;
  background: var(--color-white);
  border-radius: 50px;
  padding: 3rem;
}

.join-me {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-gray);
}

.meet-content {
  display: flex;
  justify-content: center;
}

.meet-visio, .meet-phone {
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: white;
}

.meet-phone:hover, .meet-visio:hover {
  cursor: pointer;
  opacity: 0.95;
}

.meet-phone {
  border-radius: 0 50px 50px 0;
  background: var(--color-primary);
}

.meet-visio {
  border-radius: 50px 0 0 50px;
  background: var(--color-primary-dark);
}

.meet-logo {
  width: 100px;
}

.meet-content p {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
}

.contactme-title {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  color: black;
}

.contact-header {
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: none;
  border-bottom: 1px solid var(--color-gray-light);
  font-size: 16px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: var(--color-gray);
  transition: var(--transition);
  pointer-events: none;
  background: var(--color-white);
  border-radius: 50px;
  padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  font-size: 12px;
  color: var(--color-primary);
  padding: 0 1rem;
}

.form-group textarea {
  resize: none;
  min-height: 200px;
}

.contact button {
  align-self: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  border-radius: 5px;
  padding: 2rem;
  gap: 1.5rem;
}

.contact-info-img {
  margin-top: -2rem;
  width: 300px;
}

.webmex-phone {
  margin-top: -2rem;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.webmex-mail {
  font-weight: 800;
}

.social-link-container {
  display: flex;
  gap: 2rem;
}

.social-link-container img {
  width: 60px;
  transition: all 0.3s ease;
}

.social-link-container img:hover {
  transform: scale(1.1);
}

/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Boîte */
.popup-box {
  background: var(--color-dark);
  border: 1px dashed var(--color-primary);
  padding: 25px;
  width: 50%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: relative;
}

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

.hidden {
  display: none;
}

.popup-box h2, .popup-box p {
  text-align: center;
  color: var(--color-white);
}

.popup-box h2 {
  margin-bottom: 1rem;
}

.close-popup {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.5s ease;
  color: var(--color-white);
}

.close-popup:hover {
  scale: 1.5;
}

.separator {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-top: 2px solid #ccc;
  width: 100%;
}

.separator2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgb(71, 71, 71);
  width: 100%;
}

/* Boutons */
.popup-btn {
  display: block;
  width: 50%;
  text-align: center;
  padding: 10px 0;
  font-size: 1rem;
  margin-top: 10px;
  background: var(--color-primary);
  color: black;
  font-weight: 800;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.popup-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background: var(--color-primary-dark);
  transition: all 0.7s ease;
  z-index: -1;
}

.popup-btn:hover::before {
  width: 100%;
}

.popup-options form {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-options input {
  width: 50%;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

input.error {
  border-color: red;
}

input.error:focus {
  outline: none;
}

.error-message {
  color: red;
  font-size: 12px;
  display: none;
}

.footer {
  background: var(--color-dark);
  color: var(--color-white);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-section img {
  width: 30%;
}

.footer-section p {
  color: var(--color-gray-light);
}

.footer-section a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin-left: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-dark-light);
  color: var(--color-gray-light);
}

[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.8s ease;
}

html.js-enabled [data-animate]:not(.animated) {
  opacity: 0;
  transform: translate(50px , 50px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 1200px) {
  .about img {
  right: 0px;
  opacity: 0.35;
}
}

@media (max-width: 1024px) {
  .cursor, .socials-container {
    display: none;
  }

  .section-header h2 {
    font-size: 3rem;
  }

  .logo-h3, .service-container p {
    width: 48%;
  }

  .process-top-infos {
    justify-content: space-between;
  }

  .process-bubble {
    display: none;
  }

  .process-card {
    width: 48%;
  }

  .prices-cards-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem 2rem;
  }

  .price-card {
    width: 45%;
  }

  .portfolio-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem 2rem;
  }

  .project-card {
    width: 45%;
  }
}

@media (max-width: 850px) {
  #mobile-menu {
    display: flex;
  }

  #card {
    display: none;
  }

  .header.scrolled .nav {
    border-radius: 0;
    padding: 1rem;
  }

  .nav {
    width: 100%;
    padding: 1rem;
    border: none;
  }

  .nav-logo {
    width: 30%;
  }

  .nav-logo p {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .card-contact {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
  }

  .hero {
    padding: 0;
    min-height: 100vh;
  }

  .hero-content {
    margin-left: 0;
    gap: 1rem;
    padding: 0.5rem;
  }

  .gradient-text {
    font-size: 4rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2.5rem;
  }

  .process-top-card p {
    font-size: 1.3rem;
  }

  .service-container {
    flex-direction: column;
    gap: 2rem;
  }

  .logo-h3, .service-container p {
    width: 90%;
  }

  .service-content {
    width: 100%;
  }

  .service-img {
    width: 100%;
  }

  .process {
    padding: 8rem 1rem;
  }

  .process-top, .process-bot {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .process-top .section-header, .process-top-card, .process-bot-img {
    width: 90%;
  }

  .process-bot-text {
    width: 80%;
  }

  .prices-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .price-card {
    width: 90%;
  }

  .portfolio-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .project-card {
    width: 80%;
  }

  .stats-container {
    width: 100%;
  }

  .start-now {
    flex-direction: column;
  }

  .start-now-header, .start-now-img {
    width: 100%;
  }

  .start-now-img {
    align-self: center;
    justify-content: center;
  }

  .start-now-img img {
    width: 50%;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .process-infos {
  flex-direction: column;
  }

  .process-infos-card {
    width: 100%;
    padding: 3rem;
  }

  .contact-container {
    flex-direction: column;
  }

  .meet, .contact-form-container {
    width: 100%;
  }

  .popup-box {
    width: 80%;
  }
}

@media (max-width: 480px) {

  .btn {
    font-size: 1rem;
  }

  .gradient-text {
    font-size: 3rem;
  }

  .hero img {
    display: none;
  }

  .hero .btn {
    margin-top: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-header h2 {
    width: 100%;
  }

  .h2-btn .btn {
    margin-top: 0;
  }

  .h2-btn {
    flex-direction: column;
  }

  .logo-h3, .service-container p {
    width: 100%;
  }

  .process-top .section-header, .process-top-card, .process-bot-img, .process-bot-text {
    width: 100%;
  }

  .service-title {
    font-size: 3rem;
    text-align: center;
  }

  .prices {
    padding: 8rem 1rem;
  }

  .price-card {
    width: 100%;
  }

  .project-card {
    width: 100%;
  }

  .stat-item i {
    font-size: 3rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .start-now {
    padding: 8rem 1rem;
    gap: 2rem;
  }

  .start-now-img img {
    width: 80%;
  }

  .contact {
    padding: 1rem;
  }

  .contact-container {
    padding: 1rem;
  }

  .contact-form-container {
    padding: 2rem;
  }

  .meet-content {
    flex-direction: column;
    align-items: center;
  }

  .meet-phone, .meet-visio {
    width: 90%;
  }

  .meet-phone {
    border-radius: 0 0 50px 50px;
  }

  .meet-visio {
    border-radius: 50px 50px 0 0;
  }

  .popup-box {
    width: 90%;
  }

  .popup-btn, .popup-options input {
    width: 80%;
  }
}
