:root {
    --red: #f44444;
    --orange: #ff9f1c;
    --yellow: #ffd044;
    --pink: #ffe7e7;
    --light-yellow: #fff3cd;
    --mint: #d8f4e3;
    --text-dark: #2d2d2d;
    --bg-light: #fefeff;
    --bg-blue: #d6faff;
    --bg-light-blue: #E8FCFB;
    --radius: 20px;
  }
  
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light-blue);
    color: var(--text-dark);
  }

/*---------------------------------------
  ANIMATION               
-----------------------------------------*/
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}


/*---------------------------------------
  LOADER              
-----------------------------------------*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 1.5s ease-in-out, opacity 0.8s ease-in-out;
}


.hidden {
  transform: scale(2);
  opacity: 0;
  pointer-events: none;
}


.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 61%;
  left: 50%;
  transform: translate(-50%, -90%);
  width: 80%;
  max-width: 200px;
}

/* SVG responsive */
#Logo {
  width: 100%;
  height: auto;
  max-width: 300px;
}


#Logo {
  position: absolute;
  width: 100%;
  height: auto;
  max-width: 300px;
  stroke-width: 4px;
  stroke-miterlimit: 0;
  z-index: 2;
}

#Draw-Top {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
}

.Animate-Draw {
  fill-opacity: 0; /* On commence avec un remplissage invisible */
  animation-fill-mode: forwards;
  animation-iteration: 1;
  animation-name: DrawLine, FadeStroke, FillIn;
  animation-duration: 3s, 0s, 1s;
  animation-delay: 0s, 2s, 2s;
}

@keyframes DrawLine {
  0% {
    stroke-dasharray: 0, 1000; 
  }
  100% {
    stroke-dasharray: 1000, 0;
  }
}

@keyframes FadeStroke {
  0% {
    stroke-opacity: 0; 
  }
  100% {
    stroke-opacity: 1;
  }
}

@keyframes FillIn {
  0% {
    fill-opacity: 0; 
  }
  100% {
    fill-opacity: 1;
  }
}

/*---------------------------------------
  NAVBAR               
-----------------------------------------*/

/* Navbar container */
.navbar {
  background: rgba(255, 255, 255, 0.2); /* Transparence */
  backdrop-filter: blur(10px);         /* Flou */
  -webkit-backdrop-filter: blur(10px); /* Pour Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optionnel : ligne légère */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Optionnel : petite ombre */
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--red, #ea4c89);
  left: 0;
  bottom: 0;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: var(--red, #ea4c89);
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1100;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Burger animation */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 75px;
    right: 20px;
    background-color: white;
    flex-direction: column;
    width: 220px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: flex;
  }
}

/*---------------------------------------
  HERO              
-----------------------------------------*/

.hero {
  padding: 7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center; /* Centrage horizontal */
  flex-wrap: wrap;
  gap: 2rem;
  background-color: var(--bg-blue);
}

.hero-content {
  max-width: 500px;
  flex: 1 1 300px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: var(--red);
  color: white;
}

.btn-primary:hover {
  background-color: #e02e2e;
}

.btn-secondary {
  background-color: var(--yellow);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background-color: #ffcb24;
}

.hero-can {
  width: 200px;
  flex-shrink: 0;
}

  
/*---------------------------------------
  FLAVORS              
-----------------------------------------*/
  .flavors {
    margin-top: -10rem;
    display: flex;
    justify-content: center;
    margin-left: -10px;
    gap: 4rem;
    padding: 3rem 2rem;
    flex-wrap: wrap;
    background: var(--bg-light-blue);
  }
  
  .flavor-card {
    width: 250px;
    border-radius: var(--radius);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: white;
    z-index: 10;
  }
  
  .fraise-kiwi {
    background-color: var(--pink);
  }
  
  .mangue-citron {
    background-color: var(--light-yellow);
  }
  
  .fruit-icon {
    width: 45%;
  }
  
  .flavor-card h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
/*---------------------------------------
  ABOUT              
-----------------------------------------*/
  .about {
    background: var(--bg-light-blue);
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .about p {
    max-width: 700px;
    margin: 1rem auto;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .icons {
    margin-top: 2rem;
    font-weight: bold;
    font-size: 1.1rem;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .hero {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .hero h1 {
      font-size: 2.2rem;
    }
  
    .hero-can {
      width: 160px;
    }
  
    .flavors {
      flex-direction: column;
      align-items: center;
    }
  
    .flavor-card {
      width: 100%;
      max-width: 300px;
    }
  }
  
  /*---------------------------------------
  PROCESS SECTION              
-----------------------------------------*/

.process {
  padding: 4rem 2rem;
  background: var(--mint);
  text-align: center;
}

.steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step img {
  height: 80px;
  margin-bottom: 1rem;
}

/*---------------------------------------
  TEAM SECTION              
-----------------------------------------*/

.team {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--bg-light-blue);
}

.team-members {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.member {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.form-box {
    max-width: 75%;
    margin: 80px auto;
    padding: 50px 30px;
    background: linear-gradient(135deg, #fff4e6 0%, #ffe9ec 100%);
    border: 2px solid #ffcbcb;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(255, 150, 150, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.form-description {
    font-size: 1.1rem;
    color: #8d4f32;
    margin-bottom: 40px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.form-input-group {
    display: flex;
    background: #ffffff;
    border: 1px solid #ffc9c9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(255, 192, 203, 0.2);
    width: 80%;
    max-width: 600px;
}

.form-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #333;
    padding: 15px;
    font-size: 1rem;
    outline: none;
}

.form-button {
    background: linear-gradient(135deg, #ffb347 0%, #ffcc33 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.form-button:hover {
    background: linear-gradient(135deg, #ffa502 0%, #ffbe0b 100%);
}

.form-message {
    font-size: 1rem;
    margin-top: 10px;
    color: #2ecc71;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 80%;
  max-width: 600px;
  font-size: 0.9rem;
  color: #8d4f32;
  text-align: left;
  line-height: 1.4;
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1.1);
  accent-color: #ff6b6b;
  cursor: pointer;
}

.form-checkbox-group label {
  cursor: pointer;
}

.form-checkbox-group a {
  color: #ff6b6b;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .form-checkbox-group {
      flex-direction: column;
      align-items: flex-start;
  }
}


@media (max-width: 600px) {
    .form-input-group {
        flex-direction: column;
    }

    .form-button {
        width: 100%;
        border-top: 1px solid #ffc9c9;
    }
}

/*---------------------------------------
  FOOTER              
-----------------------------------------*/

/* Styles généraux pour le footer (affiché uniquement sur mobile) */
footer {
  padding: 2rem;
  background: var(--bg-blue);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: none;
}

.desktop-svg {
  display: block; 
}

.desktop-text {
  display: block; 
}

@media (max-width: 767px) {
  .desktop-svg {
      display: block; 
  }
  
  .desktop-text {
      display: none; 
  }
  
  footer {
      display: block; 
  }
}
