:root{
  --red:#C1121F;
  --violet:#6C2BD9;
  --dark:#111;
  --light:#F8F9FC;
  --gray:#E5E7EB;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI',sans-serif;
}

body{
  background:var(--light);
  color:#111;
  line-height:1.6;
}

/* HEADER */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 10%;
  background:white;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  position:fixed;
  width:100%;
  z-index:1000;
}

.logo-site{
  display:flex;
  align-items:center;
}

.logo-site img{
  height:40px;
  width:auto;
  margin-right:12px;
}

.site-name{
  font-size:1.4rem;
  font-weight:bold;
  color:var(--red);
}

.nav a{
  margin-left:25px;
  text-decoration:none;
  color:#333;
  font-weight:500;
  transition:0.3s;
}
.nav img{
  size: 25px;
}
.nav a:hover{
  color:var(--violet);
}

.shop-btn{
  background:linear-gradient(45deg,var(--red),var(--violet));
  color:white !important;
  padding:8px 15px;
  border-radius:20px;
}

/* HERO */
.hero{
  height:90vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:0 10%;
  margin-top:70px;
  background:linear-gradient(135deg,#fff,#f3f4f6);
}

.hero h1{
  font-size:2.3rem;
  margin-bottom:15px;
}

.hero p{
  max-width:600px;
  margin:auto;
  margin-bottom:30px;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

.btn-primary{
  background:linear-gradient(45deg,var(--red),var(--violet));
  color:white;
  padding:14px 28px;
  border-radius:30px;
  font-weight:bold;
  cursor:pointer;
  transition:0.3s;
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.btn-secondary{
  border:2px solid var(--violet);
  padding:12px 25px;
  border-radius:30px;
  text-decoration:none;
  color:var(--violet);
}

/* SECTIONS */
.section-light{
  padding:120px 10%;
  background:white;
}

.section-dark{
  padding:120px 10%;
  background:var(--dark);
  color:white;
}

.section-sub{
  color:#666;
  margin-bottom:40px;
}

/* GRID CARDS */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.card{
  background:white;
  padding:30px;
  border-radius:15px;
  box-shadow:0 5px 20px rgba(0,0,0,0.05);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-5px);
}

/* FORMULAIRES */
form{
  display:grid;
  gap:15px;
  max-width:600px;
  margin:auto;
}

select,input,textarea{
  padding:12px;
  border-radius:8px;
  border:1px solid var(--gray);
  width:100%;
}

.total-box{
  font-size:1.8rem;
  color:var(--red);
  margin:20px 0;
}

/* FOOTER */
footer{
  padding:50px 10%;
  text-align:center;
  background:#111;
  color:white;
}
/* Header fixe */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 10%;
  background:white;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
}

/* Pour que le contenu ne passe pas sous le header */
body{
  padding-top:70px; /* hauteur du header */
}

/* Footer toujours en bas */
html, body{
  height:100%;
}
/* Wrapper pour que le footer reste en bas */
.wrapper {
  min-height: calc(100vh - 70px); /* 70px = header */
  display: flex;
  flex-direction: column;
}

/* Footer */
footer{
  margin-top:auto;
  padding:50px 10%;
  text-align:center;
  background:#111;
  color:white;
}

body{
  display:flex;
  flex-direction:column;
  margin:0;
  min-height:100vh;
}


footer{
  position:relative;
  bottom:0;
  width:100%;
  padding:50px 10%;
  text-align:center;
  background:#111;
  color:white;
}

footer a{
  color:var(--violet);
  text-decoration:none;
}

/* RESPONSIVE */
@media(max-width:768px){
  .logo-site img{
    height:35px;
  }
  .site-name{
    font-size:1.2rem;
  }
  .hero h1{
    font-size:2rem;
  }
  .grid{
    grid-template-columns:1fr;
  }
}
