/* ----------- LANG-BTN INTERACTIF ----------- */
.lang-btn {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lang-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 8px var(--color-accent, #a90b4d);
}
/* Preload overlay styles */
#preload-vetiver {
  position: fixed !important;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #f6fff6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.4,1.4,.6,1), visibility 0.7s;
}
#preload-vetiver.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.preload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.preload-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: bold;
  color: #2ca84a;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 12px #b6e7c3;
  margin-bottom: 8px;
}
.preload-loader {
  width: 54px;
  height: 54px;
  border: 6px solid #2ca84a;
  border-top: 6px solid #b6e7c3;
  border-radius: 50%;
  animation: preload-spin 1.1s linear infinite;
  background: transparent;
  box-shadow: 0 0 16px #b6e7c3;
}
@keyframes preload-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
:root {
  --color-bg: #0a0a0a;
  --color-text: #ffffff;
  --color-accent: #00ff95;
  --spacing: clamp(4rem, 10vw, 10rem);
}

body, html {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  height: 100%;
  overflow-x: hidden;
  /* overflow-y: auto; */
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: opacity 0.7s cubic-bezier(.4,1.4,.6,1), visibility 0.7s;
}

canvas.vetiver-fadeout {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.scroll-container {
  position: relative;
  z-index: 2;
  overflow-y: auto;
  height: 100vh;
  scroll-behavior: smooth;
}

section.step {
  position: relative;
  min-height: 100vh;
  padding: var(--spacing);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  margin: 0;
  padding-top: 10vh;
  scroll-snap-align: start;
  align-items: center;
  text-align: center;
}

.step.active {
  opacity: 1;
}

.step:nth-child(even),
.step:nth-child(odd) {
  transform: none;
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--color-accent);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 
    0 0 20px rgba(0, 255, 149, 0.5),
    2px 2px 3px rgba(0, 0, 0, 0.7);
  mix-blend-mode: screen;
}

p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.6;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
  margin-left: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 100% !important;
  display: flex !important;

  justify-content: space-between !important;
  padding: 2rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.menu-btn {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  border: 2px solid var(--color-accent);
}

.menu-icon {
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  position: relative;
  transition: 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  transition: 0.3s ease;
}

.menu-icon::before { top: -8px; }
.menu-icon::after { bottom: -8px; }

.menu-btn.active .menu-icon {
  background: transparent;
}

.menu-btn.active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-btn.active .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.menu-items {
  position: absolute;
  top: 70px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: 0.3s ease;
  border: 1px solid var(--color-accent);
}

.menu-items.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.menu-items li {
  list-style: none;
  margin: 1rem 0;
}

.menu-items a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 2rem;
  transition: 0.3s ease;
  border-radius: 8px;
}

.menu-items a:hover {
  background: var(--color-accent);
  color: black;
}

/* ----------- LOGO FIXED TOP LEFT ----------- */
/* .logo-container {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 100;
} */

.site-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

/* .hero {
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 2;
  overflow: hidden;
} */

/* .hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
} */

/* .hero-text {
  max-width: 700px;
  margin: 0 auto;
  padding-right: 0;
  text-align: center;
  background-color: red;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  text-align: center;
  margin: 0 0 2rem 0;
  background: linear-gradient(135deg, var(--color-accent), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
} */

/* .hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  margin: 0 0 2rem 0;
  margin-left: 0;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.4;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  text-align: center;
  margin: 0 0 3rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border-right: 4px solid var(--color-accent);
  margin-left: auto;
  margin-right: auto;
} */

.scroll-prompt {
  text-align: center;
  margin-right: 0;
}

.scroll-prompt span {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
}

.scroll-arrow {
  font-size: 2rem;
  color: var(--color-accent);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .step {
    margin: 0.5rem;
    padding: 1.2rem;
  }

  section.step {
    padding-top: 18vh;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  p {
    margin-left: 0;
    padding: 1.1rem;
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 98vw;
  }

  h1 {
    font-size: 2.1rem;
    margin-bottom: 1.2rem;
  }

  h2, h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .hero-content {
    width: 100%;
    padding: 0.5rem;
  }
  
  .hero-text {
    padding-right: 0.5rem;
  }

  .contact-container {
    flex-direction: column;
    padding: 1rem;
    gap: 2rem;
    display: flex;
    max-width: 95vw;
    margin: 0 auto;
  }

  .contact-info {
    display: none;
  }

  /* .contact-form {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    width: 100%;
  } */
   .contact-form {
  width: 100%;
  max-width: 800px; /* élargissement du formulaire */
  padding: 2rem 1.5rem;
  margin: 0 auto;
  border-radius: 12px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem 1.2rem;
  max-width: 100%;
}


  /* .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.2rem;
  } */

  .form-group label {
    font-size: 0.9rem;
  }

  .contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem;
    margin-top: 0.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .product-card {
    padding: 1.2rem;
  }

  .product-card h3 {
    font-size: 1.15rem;
  }

  .product-details {
    font-size: 0.98rem;
    padding-top: 1rem;
  }

  .timeline-item {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .timeline-item h3 {
    font-size: 1.1rem;
  }

  .year {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    top: -18px;
    left: 18px;
  }

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

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .footer-tagline {
    font-size: 0.98rem;
  }

  .footer-contact li {
    font-size: 0.98rem;
  }

  .history-content {
    padding: 2rem 1rem;
  }

  .history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    margin-left: -35px;
  }

  .history-timeline::before {
  display: none;
  }

  .timeline-item {
    width: calc(100% - 50px);
    margin-left: 50px;
    border-left: 2px solid transparent;
  }

  .timeline-item::before {
   display: none;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50px;
    margin-right: 0;
  }

  .timeline-item:nth-child(even)::before {
    left: -38px;
    right: auto;
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.step:hover {
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--color-accent);
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  width: 100%;
  max-width: 1400px; /* élargissement du parent */
}

.contact-info {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--color-accent);
  width: 100%;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin: 1rem 0;
  font-size: 1.2rem;
}

.contact-item i {
  color: var(--color-accent);
  margin-right: 1rem;
  font-size: 1.5rem;
}

.contact-item span {
  color: var(--color-text);
}

.contact-form {
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem 3.5rem;
  border-radius: 18px;
  border-left: 6px solid var(--color-accent);
  max-width: 800px; /* élargissement du formulaire */
  width: 100%;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-group textarea + label {
  top: 1rem;
  transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -25px;
  left: 0;
  color: var(--color-accent);
  font-size: 0.9rem;
}

.contact-form button {
  background: var(--color-accent);
  color: var(--color-bg);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.products-grid {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  perspective: 1000px;
}

.product-card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  border-radius: 14px;
  padding: 0.7rem 0.7rem 1rem 0.7rem;
  border: 1px solid rgba(0, 255, 149, 0.1);
  transition: all 0.5s ease;
  transform-style: preserve-3d;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: 180px;
  height: 40vh;
}

.product-image {
  height: 56px;
  margin: -0.7rem -0.7rem 0.7rem -0.7rem;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--color-accent);
  font-family: 'Syne', sans-serif;
}
.product-card p{
  font-size: 1.2rem;
}

.product-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.view-all-btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  width:100%; 
  margin-top: 50px;
  border-radius: 10px;
}

/* Styles pour la section Histoire */
.history-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.history-timeline {
  display: grid;
  gap: 3rem;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, 
    transparent,
    var(--color-accent),
    transparent);
  transform: translateX(-50%);
}

.timeline-item {
  width: 45%;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 2.5rem;
  border-radius: 20px;
  border: none;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.timeline-item:nth-child(even) {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  box-shadow: 0 0 20px var(--color-accent);
}

.timeline-item:nth-child(even)::before {
  left: auto;
  right: -60px;
}

.year {
  background: var(--color-accent);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  position: absolute;
  top: -25px;
  left: 30px;
  box-shadow: 0 5px 15px rgba(0, 255, 149, 0.3);
}

.timeline-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  margin: 1rem 0;
  background: linear-gradient(90deg, #fff, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer Styles */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 6rem 0 2rem;
  min-height: 0 !important;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
}

.site-footer.step {
  justify-content: flex-end;
  padding-top: 8rem;
}

.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%2300ff95'/%3E%3C/svg%3E");
  background-size: 50% 100px;
}

.wave1 { animation: wave 30s linear infinite; opacity: 0.1; }
.wave2 { animation: wave 25s linear infinite reverse; opacity: 0.15; }
.wave3 { animation: wave 20s linear infinite; opacity: 0.2; }

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
  text-align: center;
  position: relative;
}

.footer-section {
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-section h4 {
  color: var(--color-accent);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-family: 'Syne', sans-serif;
  text-align: center;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 255, 149, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-3px) scale(1.08);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-nav li {
  margin-bottom: 0.8rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.footer-nav a::after {
  content: attr(data-hover);
  position: absolute;
  left: 0;
  width: 0;
  color: var(--color-accent);
  overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  justify-content: center;
}

.footer-contact i {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 4rem;
  padding: 2rem 0;
  width: 100%;
  text-align: center;
  width: 100%;

}
.footer-bottom h3{
  background-color: transparent !important;
  text-align: center;
}
.bxl-facebook::before{
  border-bottom: none !important;
}
/* Responsive footer alignement */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
  }
  .footer-section {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    align-items: center;
  }
  .footer-nav {
    align-items: center;
  }
  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .history-content {
    padding: 2rem 1rem;
  }
  .footer-contact{
    display: none;
  }

  .history-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
  }

  .history-timeline::before {
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-accent);
    position: absolute;
    content: '';
    transform: none;
  }

  .timeline-item {
    width: calc(100% - 50px);
    margin-left: 50px;
    border-left: 2px solid transparent;
  }

  .timeline-item::before {
    left: -38px;
    right: auto;
    transform: translateY(-50%);
  }

  .timeline-item:nth-child(even) {
    margin-left: 50px;
    margin-right: 0;
  }

  .timeline-item:nth-child(even)::before {
    left: -38px;
    right: auto;
  }
  .footer-nav{
    display: none;
  }
}

/* ----------- CONTACT FORM WIDTH FIX ----------- */
@media (min-width: 769px) {
  .contact-container {
    max-width: 1400px;
  }
  .contact-form {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-container {
    max-width: 95vw;
    flex-direction: column;
    padding: 1rem;
    gap: 2rem;
    display: flex;
    margin: 0 auto;
  }
  .contact-form {
    max-width: 95vw;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
.nav-menu {
  padding: 1em;
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* pour Safari */
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
}

/* Nettoyage des anciennes règles inutiles ou conflictuelles */
.contact-form {
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem 3.5rem;
  border-radius: 18px;
  border-left: 6px solid var(--color-accent);
  width: 100%;
  margin: 0 auto;
}

* {
  box-sizing: border-box;
}

.scroll-container, .step, section {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ----------- PRELOADER ANIMATED OVERLAY ----------- */
#preload-vetiver-loader {
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(.4,1.4,.6,1), visibility 0.7s;
}
#preload-vetiver-loader.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 4em;
  height: 4em;
  transform: rotate(165deg);
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 0.8em;
  height: 0.8em;
  border-radius: 0.4em;
  transform: translate(-50%, -50%);
}
.loader:before {
  animation: loader-before 2s infinite;
}
.loader:after {
  animation: loader-after 2s infinite;
}

@keyframes loader-before {
  0% {
    width: 0.5em;
    box-shadow:
      1em -0.75em hsla(337, 84%, 48%, 0.75),
      -1em 0.75em hsla(190, 61%, 65%, 0.75);
  }
  35% {
    width: 2.5em;
    box-shadow:
      0 -0.75em hsla(337, 84%, 48%, 0.75),
      0 0.75em hsla(190, 61%, 65%, 0.75);
  }
  70% {
    width: 0.5em;
    box-shadow:
      -1em -0.75em hsla(337, 84%, 48%, 0.75),
      1em 0.75em hsla(190, 61%, 65%, 0.75);
  }
  100% {
    box-shadow:
      1em -0.75em hsla(337, 84%, 48%, 0.75),
      -1em 0.75em hsla(190, 61%, 65%, 0.75);
  }
}
@keyframes loader-after {
  0% {
    height: 0.5em;
    box-shadow:
      0.75em 1em hsla(160, 50%, 48%, 0.75),
      -0.75em -1em hsla(41, 82%, 52%, 0.75);
  }
  35% {
    height: 2.5em;
    box-shadow:
      0.75em 0 hsla(160, 50%, 48%, 0.75),
      -0.75em 0 hsla(41, 82%, 52%, 0.75);
  }
  70% {
    height: 0.5em;
    box-shadow:
      0.75em -1em hsla(160, 50%, 48%, 0.75),
      -0.75em 1em hsla(41, 82%, 52%, 0.75);
  }
  100% {
    box-shadow:
      0.75em 1em hsla(160, 50%, 48%, 0.75),
      -0.75em -1em hsla(41, 82%, 52%, 0.75);
  }
}

/* Suppression du style du texte de bienvenue du preloader */
/* .preload-welcome { ... } supprimé */
canvas#scene {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.scroll-container, .step, section, .site-footer {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}
.language-selector {

  text-align: center;
}
.flags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.language-selector .flags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
}
.lang-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.lang-btn img {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 255, 149, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* .lang-btn:hover{
  background-color: #000;
} */

.lang-btn:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--color-accent);
}
.voir-tout-btn{
  background:#2ca84b90;
  color:#fff;
  padding:12px 28px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  transition:background 0.2s;
}
.voir-tout-btn:hover{
  font-size: 1.1rem;
  background: rgba(127, 255, 212, 0.861);
  color: #000;

}
@media (max-width: 768px) {
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    padding: 1rem;
  }
  .product-card {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    box-sizing: border-box;
  }
}