:root {
  --main-color: #000000;           /* Fond principal noir */
  --navbar-color: #ffffffed;       /* Navbar clair (blanc cassé) */
  --navbar-text-color: #000000;    /* Texte navbar foncé en noir */
  --text-color: #FFFFFF;           /* Texte global blanc */
  --accent-color: #1b8641;         /* Accent vert */
  --bg-color: #000000;             /* Fond global noir */
  --font-family: 'Poppins', sans-serif;
  --hover-blue: #1b8641;           /* Utilisé aussi pour hover : vert */

  --secondary-color: #166b33;      /* Vert foncé secondaire */
  --highlight-color: #23994d;      /* Vert plus clair */
  --shadow-color: rgba(0, 0, 0, 0.7);
  --light-bg: #ffffffed;            /* Fond clair blanc cassé */
  --button-bg: #1b8641;             /* Bouton vert */
  --button-hover-bg: #166b33;       /* Bouton hover vert foncé */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background: var(--bg-color);
  min-height: 100vh;
  transition: background 0.3s ease, color 0.3s ease;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
  padding-top: 110px; 
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 8px;
  border: 2px solid transparent;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;
  max-width: 1400px;
  height: 70px;
  padding: 0 40px;
  background: var(--navbar-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1100;
  transition: background-color 0.4s ease;
  color: var(--navbar-text-color);
}

/* LOGO */
.logo {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  user-select: none;
  cursor: default;
  text-shadow: 0 2px 6px rgba(27, 134, 65, 0.8);
  transition: color 0.3s ease;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 50px;
  flex: 1;
  justify-content: center;
}

/* LIENS SIMPLES */
.nav-links a {
  font-size: 1rem;           /* un peu plus petit */
  color: var(--navbar-text-color);
  padding: 10px 24px;        /* padding vertical réduit mais suffisant */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition:
    background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  display: inline-block;     /* garder l'affichage par défaut */
}

/* Hover & Focus */
.nav-links a:hover,
.nav-item-dropdown > a:hover,
.nav-links a:focus,
.nav-item-dropdown > a:focus {
  background-color: var(--navbar-color); /* blanc cassé */
  color: var(--navbar-text-color);      /* texte toujours noir */
  outline: none;
  transform: translateY(-5px) scale(1.05);
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* ombre noire légère portée 8 */
}
/* DROPDOWN PARENT */
.nav-item-dropdown {
  position: relative;
}

/* DROPDOWN MENU */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background-color: var(--navbar-color);
  border-radius: 10px;
  min-width: 240px;
  padding: 22px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  border: 1px solid rgba(27, 134, 65, 0.15);
  z-index: 1001;
  transform: translateY(15px);
  color: var(--navbar-text-color);
}

/* Affichage du menu déroulant au survol */
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* LIENS DANS LE DROPDOWN */
.dropdown-menu a {
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navbar-text-color);
  transition: background-color 0.3s ease;
  text-decoration: none;
  border-radius: 10px;
}

/* Hover & focus dropdown links : juste la flèche en vert, pas le texte */
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background-color: transparent;
  color: var(--navbar-text-color);
}

.dropdown-menu a:hover .arrow,
.dropdown-menu a:focus .arrow {
  background-color: var(--accent-color);
}

.dropdown-menu a:hover .arrow span,
.dropdown-menu a:focus .arrow span {
  color: #fff;
}

/* FLECHE */
.dropdown-menu a .arrow {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  transition: background-color 0.3s ease;
}

.dropdown-menu a .arrow span {
  color: #fff;
  font-size: 1.15rem;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.dropdown-menu a:hover .arrow span {
  transform: rotate(-30deg);
}

/* HERO */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: none;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-color);
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 800;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #eaeaea;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero button {
  background: linear-gradient(135deg, var(--hover-blue), var(--accent-color));
  color: var(--text-color);
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.4s ease;
  z-index: 0;
}

.hero button:hover::before {
  left: 0;
}

.hero button:hover {
  transform: translateY(-4px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .step {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .navbar {
    padding: 0 20px;
  }
}

/* NOUVELLE SECTION : POURQUOI CHOISIR VISUART */
.why-choose-section {
  max-width: 1000px;
  padding: 80px 60px;
  background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%); /* nuances très sombres/noir */
  color: var(--text-color); /* blanc */
  position: relative;
  overflow: visible;
  margin: 40px auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* bord clair transparent */
  font-family: var(--font-family);
  transition: background 0.4s ease;
  min-height: 520px;
}

.why-choose-section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-color); /* vert accent */
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-family: var(--font-family);
  position: relative;
}

.why-choose-section h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: var(--accent-color); /* vert accent */
  margin: 15px auto 0 auto;
  border-radius: 3px;
}

/* STEPS CONTAINER */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  color: var(--text-color); /* blanc */
}

.step {
  background: #222222; /* gris foncé/ presque noir */
  border-radius: 25px;
  padding: 40px 35px;
  flex: 1 1 calc(45% - 20px);
  min-width: 300px;
  max-width: 420px;
  transition: transform 0.35s ease;
  cursor: default;
}

.step:hover {
  transform: translateY(-12px);
  background: #2c2c2c; /* un peu plus clair au hover */
}

.step .step-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-color); /* vert accent */
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color); /* blanc */
  margin-bottom: 15px;
}

.step p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color); /* blanc */
}

/* Nouvelle section : AVIS GOOGLE */

.avis-google {
  max-width: 1200px;
  padding: 80px 30px;
  margin: 0 auto;
  color: white;
  font-family: 'Inter', sans-serif;
}

.avis-google h4 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 600;
}

.avis-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.avis {
  background: #222;
  border-radius: 20px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avis-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.avatar {
  background-color: #444;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

.avis-text {
  display: flex;
  flex-direction: column;
}

.avis-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.avis-name {
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}

.verified {
  color: #3ea6ff;
  font-size: 13px;
  margin: 0;
}

.avis-date {
  font-size: 12px;
  color: #aaa;
  margin-top: 2px;
}

.avis-number {
  margin: 10px 0;
  display: flex;
  gap: 2px;
}

.avis-description {
  font-size: 14px;
  line-height: 1.5;
}

.avis-description a {
  color: #3ea6ff;
  text-decoration: none;
  font-size: 13px;
}

.avis-logo {
  margin-top: 20px;
  width: 60px;
}







