:root {
  --orange: #f26522;
  --dark: #0f172a;
  --dark-2: #111827;
  --gray: #6b7280;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  color: var(--dark);
}
.nav-mobile-cta {
  display: none;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.35s ease;
}
.navbar,
.nav-content {
  overflow: visible;
}

@media (max-width: 900px) {

  /* MENU LATÉRAL MOBILE */
  body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
  .nav-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;

    background: var(--white); /* fond blanc professionnel */
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 120px 40px;
    gap: 24px;

    transition: right 0.4s ease;
    z-index: 1001;
    transform: translateX(30px);
    opacity: 0;
    transition:
      right 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease;

  }

  /* LIENS DU MENU */
  .nav-menu a {
    display: block;
    width: 100%;

    margin: 0;
    padding: 12px 0;

    color: #ffffff;          /* 🔥 texte lisible */
    font-size: 18px;
    font-weight: 600;
    text-align: left;

    transition: color 0.3s ease;
    background:0.3s ease;
  }

  /* HOVER MOBILE */
  .nav-menu a:hover {
    background: rgba(242, 101, 34, 0.12);
    color: var(--orange);
  }

  /* LIEN ACTIF */
  .nav-menu a.active {
    color: var(--orange);
  }

  /* MENU OUVERT */
  .nav-menu.is-open {
    right: 0;
    transform: translateX(0);
    opacity: 1;
  }

  /* OVERLAY */
   .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;

    width: calc(100% - 320px); /* 🔥 CLÉ */
    background: rgba(15, 23, 42, 0.65);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

    z-index: 1000;
  }

  .menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
  }

  /* BURGER */
  .burger {
    display: flex;
    z-index: 1100;
  }

  /* CACHE BOUTON DESKTOP */
  .desktop-only {
    display: none;
  }
}

@media (max-width: 900px) {

  .nav-mobile-cta {
    display: block;
    margin-top: 10px; /* 🔥 pousse en bas */
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }

  .nav-mobile-cta .btn-primary {
    width: 100%;
    color: white;
    text-align: center;
    padding: 14px 0;
    font-size: 16px;
  }

}



.burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  height: 45px;        /* taille idéale pour une navbar pro */
  width: auto;         /* garde les proportions */
}

.logo2 img {
  height: 80px;        /* taille idéale pour une navbar pro */
  width: auto;         /* garde les proportions */
}


/* TOP BAR */
.top-bar {
  background: linear-gradient(
    90deg,
    #1f8f6a 0%,
    #0f6d4f 100%
  );
  color: white;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}


@media (max-width: 768px) {
  .top-bar {
    font-size: 12px;
  }

  .top-right {
    display: none; /* slogan masqué sur mobile */
  }
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.nav-content nav a {
  margin: 0 15px;
  padding: 10px 16px;              /* NOUVEAU */
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;              /* NOUVEAU */
  transition: all 0.3s ease;       /* NOUVEAU */
}
.nav-content nav a:hover {
  background: rgba(242, 101, 34, 0.1);
  color: var(--orange);
}

.nav-content nav a.active {
  background: rgba(242, 101, 34, 0.18);
  color: var(--orange);
}
 .nav-content nav a.active::after {
  display: none;
}

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #e2551f;              /* orange légèrement plus foncé */
  transform: translateY(-2px);      /* effet lift */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: var(--dark);
  transform: translateY(-2px);
}

.top-item i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.top-item:hover i {
  transform: scale(1.1);
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.75),
      rgba(15, 23, 42, 0.85)
    ),
    url("../images/hero-cajou.jpeg") center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 20px;
  color: white;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-content {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   HERO FEATURES (OVERLAP)
========================= */

.hero-features {
  position: relative;
  margin-top: -120px;   /* 🔥 FORCE LE CHEVAUCHEMENT */
  z-index: 20;          /* 🔥 PASSE AU-DESSUS DU HERO */
}

/* CONTENEUR BLANC FLOTTANT */
.hero-features-box {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* ITEM */
.hero-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-radius: 12px;
  transition: all 0.35s ease;
}

/* HOVER CARTE */
.hero-feature:hover {
  transform: translateY(-6px);
  background: #f9fafb;
}

/* ICÔNE */
.hero-feature i {
  font-size: 28px;
  color: var(--orange);
  background: rgba(242, 101, 34, 0.12);
  padding: 16px;
  border-radius: 12px;
  transition: all 0.35s ease;
}

/* HOVER ICÔNE */
.hero-feature:hover i {
  background: var(--orange);
  color: white;
  transform: scale(1.1);
}

/* TEXTE */
.hero-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.hero-feature:hover h4 {
  color: var(--orange);
}

.hero-feature p {
  font-size: 14px;
  color: var(--gray);
}
@media (max-width: 900px) {
  .hero-features {
    margin-top: -60px; /* overlap plus léger sur mobile */
  }

  .hero-features-box {
    grid-template-columns: 1fr;
  }
}


/* =========================
   SECTION EXPERTISE
========================= */

.expertise {
  padding: 80px 0;
  background: #ffffff;
}

/* Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--orange);
  margin: auto;
  border-radius: 4px;
}

/* Grid */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}


/* Carte */
.expertise-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-10px);
}

/* Image */
.expertise-image {
  position: relative;
}

/* Wrapper du zoom */
.expertise-image-inner {
  overflow: hidden;
}

/* Image */
.expertise-image-inner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Zoom au hover */
.expertise-card:hover .expertise-image-inner img {
  transform: scale(1.08);
}

/* Icône flottante */
.expertise-icon {
  position: absolute;
  bottom: -22px;
  right: 25px;

  width: 55px;
  height: 55px;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 22px;
  color: var(--white);

  background: rgba(242, 101, 34, 0.80); /* ORANGE TRANSPARENT */
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);

  transition: all 0.35s ease;
  z-index: 2;
}

/* Icône au hover de la carte */
.expertise-card:hover .expertise-icon {
  background: rgba(242, 101, 34, 1); /* ORANGE 100% */
}

/* Contenu */
.expertise-content {
  padding: 50px 30px 35px;
}

.expertise-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.expertise-content p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.expertise-content a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA SECTION */
.cta-section {
  background: var(--orange);
  padding: 90px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: auto;
  color: white;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
}

/* Bouton CTA */
.btn-cta {
  display: inline-block;
  background: white;
  color: var(--orange);
  padding: 16px 32px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #f9fafb;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}


.why-choose {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #111827 60%,
    #0b1220 100%
  );
  padding: 100px 0;
}

.why-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
  margin-right: 18px;
  flex-shrink: 0;
}
.why-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px; /* avant ~30px */
}


.why-item p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
}
.why-image img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.why-tag {
  display: inline-block;
  background: rgba(242, 101, 34, 0.18); /* orange léger */
  color: #f97316; /* orange clair lisible */
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.why-choose h2 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 5px;
}
.why-choose .section-line {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 30px;
}

.why-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* texte un peu plus large */
  gap: 60px;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .nav-content {
    position: relative;
  }

  .nav-menu {
    position: fixed;
  }
}


@media (max-width: 900px) {
  .why-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer {
  background: linear-gradient(135deg, #0f172a, #111827);
  padding: 90px 0 0;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.footer h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.logo-icon {
  background: var(--orange);
  color: white;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 6px;
  margin-right: 10px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

/* Liens */
.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--orange);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

/* Contact */
.footer-contact i {
  color: var(--orange);
  margin-right: 10px;
}

/* Réseaux sociaux */
.footer-socials a {
  margin-right: 12px;
  font-size: 18px;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* =========================
   SECTION TRUSTED (IMAGE UNIQUE)
========================= */

.trusted {
  background: #f9fafb;
  padding: 80px 0;
}

.trusted-image {
  background: white;
  padding: 40px;
  border-radius: 18px;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: all 0.4s ease;
}

.trusted-image img {
  max-width: 100%;
  height: auto;

  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.4s ease;
}

/* Hover subtil */
.trusted-image:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

