:root {
    --primary: #f77f00;       /* orange ivoirien */
    --primary-dark: #c96500;  /* orange foncé */
    --primary-light: #ff9f1c; /* orange clair */
  
    --green: #2e7d32;         /* vert ivoirien */
    --white: #ffffff;
  
    --bg-light: #fff8f0;      /* fond léger orangé */
    --text: #1f2937;
    --text-soft: #5b6470;
  
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 16px;
  }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: var(--bg-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
    background: #2e7d32;
    color: white;
    padding: 20px 0; /* 👉 augmente la hauteur */
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
  }
  
  .logo img {
    height: 70px; /* légèrement plus petit que le header */
    width: auto;
  }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar {
    display: flex;
    gap: 50px; /* espace encore plus large */
  }
  
  .navbar a:hover {
    opacity: 0.8;
  }
  .navbar a {
    font-size: 16px;
  }

  .navbar a {
    color: white;           /* couleur normale */
    text-decoration: none;  /* enlève le soulignement */
  }
  
  /* lien déjà visité (violet par défaut) */
  .navbar a:visited {
    color: white;
  }
  
  /* au survol */
  .navbar a:hover {
    color: #ffcc80; /* orange clair stylé */
  }
  
  /* quand on clique */
  .navbar a:active {
    color: white;
  }


/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-image: url("../IMAGE/1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.72),
    rgba(15, 23, 42, 0.35)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 0.95rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 28px;
}

/* BUTTON */
.btn {
    background: #f77f00;
    color: white;
  }
  
  .btn:hover {
    background: #c96500;
  }

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-heading span {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-soft);
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-soft);
}

/* RESULTS */
.results-section {
  background: #eef6ed;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-box p {
  color: var(--text-soft);
  font-weight: 600;
}

/* CONTACT */
.contact-box {
  background: var(--white);
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-box p {
  margin-bottom: 12px;
  color: var(--text-soft);
}

.contact-box a,
.contact-box a:visited,
.contact-box a:active {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

/* FOOTER */
.site-footer {
    background: linear-gradient(
      to right,
      #f77f00,   /* orange */
      #ffffff,   /* blanc */
      #2e7d32    /* vert */
    );
    color: #000;
    text-align: center;
    padding: 24px 0;
    font-weight: bold;
  }

  
  .footer-content {
    max-width: 1100px;
    margin: auto;
    text-align: center;
  }
  
  .footer-contact p {
    margin: 5px 0;
  }
  
  .footer-bottom {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
  }
  
  .footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
  }


/* TABLETTE */
@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar {
    gap: 14px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 75vh;
  }

  .hero-content {
    max-width: 100%;
  }
}

/* SMARTPHONE */
@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .site-header {
    position: static;
  }

  .header-container {
    align-items: flex-start;
    padding: 14px 0;
  }

  .logo {
    font-size: 1.2rem;
  }

  .navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    min-height: 70vh;
    background-position: center;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-badge {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-text {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 1.7rem;
  }

  .cards-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .stat-box,
  .contact-box {
    padding: 22px 18px;
  }
}

/* PETITS SMARTPHONES */
@media (max-width: 480px) {
  .hero {
    min-height: 65vh;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .stat-box h3 {
    font-size: 1.8rem;
  }
}