/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --vert: #2D6A4F;
  --vert-clair: #52B788;
  --vert-pale: #1B4332;
  --vert-glow: rgba(82, 183, 136, 0.12);
  --bg: #0B0F0E;
  --bg-card: #111815;
  --bg-card2: #161D1A;
  --border: rgba(82, 183, 136, 0.15);
  --border-hover: rgba(82, 183, 136, 0.45);
  --text: #E8F0EC;
  --text-muted: #6B8F7A;
  --text-light: #A8C5B5;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--vert-clair); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--vert-clair);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--vert-clair);
  border-radius: 2px;
}

.nav-cta {
  padding: 8px 18px;
  background: var(--vert);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--vert-clair) !important;
  color: #0B0F0E !important;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--vert);
  color: #fff;
}

.btn-primary:hover {
  background: var(--vert-clair);
  color: #0B0F0E;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--vert-clair);
  border: 0.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--vert-glow);
  transform: translateY(-2px);
}

/* ===== BADGE ECO ===== */
.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(45, 106, 79, 0.2);
  border: 0.5px solid rgba(82, 183, 136, 0.3);
  font-size: 13px;
  color: var(--vert-clair);
  letter-spacing: 0.02em;
}

.eco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vert-clair);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
/* ===== À PROPOS ===== */
.apropos-bloc {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}

.apropos-photo {
  position: relative;
}

.apropos-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 0.5px solid var(--border);
  display: block;
}

.apropos-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 15, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 0.5px solid var(--border-hover);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--vert-clair);
  white-space: nowrap;
}

.apropos-titre {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.apropos-titre span { color: var(--vert-clair); }

.apropos-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.apropos-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--vert-glow);
  border: 0.5px solid var(--border);
  color: var(--vert-clair);
}

/* Supprimer l'ancien avatar */
.avatar { display: none; }

@media (max-width: 640px) {
  .apropos-bloc {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .apropos-photo img {
    height: 280px;
  }

  .apropos-titre { font-size: 24px; }
}

/* ===== SECTIONS ===== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 560px;
}

/* ===== DIVIDER ===== */
.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  max-width: 900px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

footer span { color: var(--vert-clair); }

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

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  color: var(--vert-clair);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== AVATAR INITIALES ===== */
.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vert), var(--vert-clair));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  border: 3px solid rgba(82, 183, 136, 0.3);
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 0.5px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
  }
  .section-title { font-size: 24px; }
  .footer-socials { flex-wrap: wrap; }
}