:root{
--c1:#0540F2;
--c2:#0554F2;
--c3:#056CF2;
--c4:#85B4F2;
--c5:#F2F0D5;
}

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

body{
font-family:'Poppins',sans-serif;
background:linear-gradient(120deg,
var(--c1),
var(--c2),
var(--c3),
var(--c4)
);
background-size:400% 400%;
animation:bgMove 18s ease infinite;
color:white;
overflow-x:hidden;
}

/* NAV */
.nav{
position:fixed;
top:0;
width:100%;
padding:20px 8%;
display:flex;
justify-content:space-between;
align-items:center;
backdrop-filter:blur(12px);
background:rgba(255,255,255,0.08);
z-index:100;
}

.nav a{
color:white;
margin-left:30px;
text-decoration:none;
font-weight:500;
}

/* HERO */
.hero{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center; /* ← centrage horizontal */
text-align:center;  /* ← centrage du texte */
padding:0 8%;
}

.hero h1{
font-size:3.5rem;
font-weight:800;
line-height:1.2;
}

.hero span{
background:linear-gradient(90deg,var(--c4),var(--c5));
-webkit-background-clip:text;
color:transparent;
}

.hero p{
margin:25px 0;
opacity:.9;
}

.cta{
display:inline-block;
padding:15px 35px;
border-radius:50px;
background:white;
color:var(--c1);
font-weight:600;
text-decoration:none;
}
.cta{
margin-top:20px;
}

/* SECTIONS */
.section{
padding:120px 8%;
background:transparent;
}

.section.dark{
background:rgba(0,0,0,0.15);
}

h2{
font-size:2.5rem;
margin-bottom:50px;
}

/* CARDS */
.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.card{
background:rgba(255,255,255,0.15);
backdrop-filter:blur(15px);
border-radius:25px;
padding:50px 30px;
font-size:1.2rem;
text-align:center;
transition:.4s;
}

.card:hover{
transform:translateY(-15px) scale(1.03);
background:rgba(255,255,255,0.25);
}
.card {
  width: 100%;
  max-width: 280px;

  padding: 1.5rem 1.2rem;
  box-sizing: border-box;

  text-align: center;
  white-space: normal;
  word-break: break-word;

  overflow: visible;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;

  overflow: visible;
}


/* SERVICES */
.services{
display:flex;
flex-wrap:wrap;
gap:20px;
}

.services span{
padding:15px 30px;
border-radius:40px;
background:linear-gradient(135deg,var(--c2),var(--c4));
}

/* CONTACT */
.contact form{
max-width:100%;
display:flex;
flex-direction:column;
gap:20px;
}
.contact{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
}
input,textarea{
padding:15px;
border-radius:12px;
border:none;
outline:none;
}

button{
padding:15px;
border:none;
border-radius:50px;
background:linear-gradient(90deg,var(--c4),var(--c5));
font-weight:700;
cursor:pointer;
}
.contact h2{
margin-bottom:20px;
}

.contact-info{
max-width:600px;
margin:0 auto 40px;
opacity:.85;
line-height:1.6;
text-align:center;
}

.contact form{
width:100%;
max-width:450px;
display:flex;
flex-direction:column;
gap:20px;
align-items:center;
}

.contact input,
.contact textarea{
width:100%;
}

.contact button{
width:60%;
}

/* FOOTER */
footer{
padding:40px;
text-align:center;
opacity:.7;
}

/* BACKGROUND SHAPES */
.bg-shape{
position:fixed;
border-radius:50%;
filter:blur(120px);
opacity:.4;
}

.shape-a{
width:400px;height:400px;
background:var(--c4);
top:-150px;left:-150px;
}

.shape-b{
width:300px;height:300px;
background:var(--c2);
bottom:-100px;right:-100px;
}

.shape-c{
width:250px;height:250px;
background:var(--c5);
top:40%;right:-120px;
}

/* RESPONSIVE */
@media(max-width:768px){
.hero h1{font-size:2.3rem}
.nav-links{display:none}
}
html {
  scroll-behavior: smooth;
}
@keyframes bgMove {
  0% { background-position:0% 50%; }
  50% { background-position:100% 50%; }
  100% { background-position:0% 50%; }
}
.popup {
  position: fixed;
  top: 0;
  left: 0;
    width: 100vw;
    height: 100vh;
 

  background: rgba(0, 0, 0, 0.65);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  /* IMPORTANT */
  cursor: pointer;
}

.popup.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes popupIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  cursor: pointer;
  font-size: 100px;
}

@keyframes popIn{
from{transform:scale(.7);opacity:0}
to{transform:scale(1);opacity:1}
}
.contact-info{
max-width:600px;
margin:0 auto 30px;
opacity:.85;
line-height:1.6;
}
.scroll-next {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.scroll-next button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.scroll-next button:hover {
  transform: translateY(6px);
  opacity: 0.8;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.scroll-next button {
  animation: bounce 2s infinite;
}
.nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0540f2, #056cf2);
}
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0540f2, #85b4f2);
  z-index: 9999;
}


.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8%;
    position: relative;
    min-height: 100vh;
    background-image: url(../img/img_bg_home.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

}

.typing-container {
  margin-top: 20px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  min-height: 32px;
  letter-spacing: 1px;
  background-color:black ;
  margin-left: 5px;
  margin-right: 5px;
}

#typing-text {
  border-right: 3px solid currentColor;
  padding-right: 10px;
  padding-left: 10px;
  animation: blinkCursor 0.8s infinite;
      color: white;
}

@keyframes blinkCursor {
  0%, 50%, 100% { border-color: transparent; }
  25%, 75% { border-color: currentColor; }
}

#typing-text {
  border-right: 3px solid currentColor;
  padding-right: 6px;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 50%, 100% { border-color: transparent; }
  25%, 75% { border-color: currentColor; }
}


@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    max-width: 90%;
    font-size: 1.1rem;
  }
}


.card {
  line-height: 1.4;
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: pointer;
    overflow: scroll;
}
p#popupText {
    margin: 70px;
}



/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.4s;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    z-index: 9998;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.4rem;
  }
}
.menu-toggle {
  position: relative;
  z-index: 10001;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(20px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;

    transition: right 0.4s ease;
    z-index: 10000; /* IMPORTANT */
  }

  .nav-links.active {
    right: 0;
  }
}

.nav-desktop {
  display: flex;
}

.nav-mobile {
  display: none;
}

/* =========================
   MENU MOBILE
========================= */

.nav-mobile {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(15px);
  z-index: 99999;
}

.burger {
  width: 32px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  height: 3px;
  background: white;
  border-radius: 3px;
}

/* MENU DÉROULANT */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: linear-gradient(135deg, var(--c1), var(--c3));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;

  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 99998;
}

.mobile-menu a {
  font-size: 2rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.mobile-menu.active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }
}

@media (min-width: 769px) {
  .nav-mobile {
    display: none;
  }
}

/* MENU MOBILE */
.menuResp {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;

  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(15px);

  list-style: none;
  padding: 40px 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;

  /* 👇 caché par défaut */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.35s ease;
}

.menuResp li a {
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 600;
}

/* 👇 visible UNIQUEMENT quand actif */
.menuResp.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.banger {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}
.menuResp {
  opacity: 0;
  pointer-events: none;
}

.menuResp.active {
  opacity: 1;
  pointer-events: auto;
}


@font-face {font-family: AMD;src: url(data:font/ttf;base64,AAEAAAAOAIAAAwBgRFNJRwAAAAEAAAgcAAAACE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FtZFJlZ3VsYXJDYWxsaWdyYXBociA6IEFtZCBSZWd1bGFyIDogMDYtMTItMjAyMUFtZCBSZWd1bGFyVmVyc2lvbiAwMDEuMDAxQW1kLVJlZ3VsYXJDcmVhdGVkIHdpdGggQ2FsbGlncmFwaHIuY29tAEEAbQBkAFIAZQBnAHUAbABhAHIAQwBhAGwAbABpAGcAcgBhAHAAaAByACAAOgAgAEEAbQBkACAAUgBlAGcAdQBsAGEAcgAgADoAIAAwADYALQAxADIALQAyADAAMgAxAEEAbQBkACAAUgBlAGcAdQBsAGEAcgBWAGUAcgBzAGkAbwBuACAAMAAwADEALgAwADAAMQBBAG0AZAAtAFIAZQBnAHUAbABhAHIAQwByAGUAYQB0AGUAZAAgAHcAaQB0AGgAIABDAGEAbABsAGkAZwByAGEAcABoAHIALgBjAG8AbQAAAAACAAAAAAAA/7UAMgAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAABAAIBAgADACQAJwAwAQMCQ1IEbmJzcAABAAH//wAPAAAAAQAAAAA=)} 
.site-logo {font-family: AMD, georgia, serif;} .logo{font-family: AMD, georgia, serif;}
    
.text-center{
  text-align: center;
}