/* Global Styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;600&display=swap');

:root {
  --primary: #007A2E; /* vert foncé */
  --secondary: #7CCB40; /* vert clair */
  --accent: #E6F417; /* jaune lumineux */
  --text-dark: #2D2D2D; /* gris anthracite */
  --bg-light: #F1F1F1; /* gris très clair */
  --white: #ffffff;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  margin-bottom: 0.5em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

/* Navigation */
nav {
  width: 100%;
  background-color: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  display: flex;
  align-items: center;
}

nav .logo img {
  height: 50px;
  margin-right: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav li {
  margin-left: 1.5rem;
}

nav .language-switch {
  margin-left: 2rem;
  border-left: 1px solid var(--bg-light);
  padding-left: 1rem;
}

nav .burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

nav .burger span {
  height: 2px;
  width: 25px;
  background: var(--primary);
  margin-bottom: 4px;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: -2;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: -1;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--accent);
  background-color: var(--accent);
  color: var(--text-dark);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Sections */
section {
  padding: 4rem 2rem;
  margin-top: 4rem;
}

section.light {
  background-color: var(--white);
}

section.dark {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card p {
  font-size: 0.95rem;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stats .stat {
  text-align: center;
  flex: 1 1 150px;
}

.stats .stat h2 {
  font-size: 2rem;
  color: var(--primary);
}

.stats .stat span {
  display: block;
  color: var(--text-dark);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem 2rem;
}

footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

footer .footer-col {
  flex: 1 1 200px;
}

footer h4 {
  margin-bottom: 1rem;
  color: var(--accent);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--white);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  nav .burger {
    display: flex;
  }

  nav.active ul {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem;
  }

  nav.active li {
    margin: 0;
    margin-bottom: 1rem;
  }

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

  .hero p {
    font-size: 1rem;
  }
}
