/* ================================
   NFOUBANE - Design Professionnel
   ================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================
   HEADER
   ================================ */
.header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-text .name {
  font-size: 20px;
  font-weight: 700;
  color: #1a5d3a;
  display: block;
  line-height: 1.2;
}

.logo-text .tagline {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 15px;
  color: #444;
  border-radius: 4px;
  transition: 0.2s;
}

.nav-link:hover {
  background: #f5f5f5;
  color: #1a5d3a;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #1a5d3a;
  color: #fff;
}

.btn-primary:hover {
  background: #14472d;
}

.btn-outline {
  background: transparent;
  border: 2px solid #1a5d3a;
  color: #1a5d3a;
}

.btn-outline:hover {
  background: #1a5d3a;
  color: #fff;
}

.btn-white {
  background: #fff;
  color: #1a5d3a;
}

.btn-white:hover {
  background: #f0f0f0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ================================
   HERO
   ================================ */
.hero {
  background: linear-gradient(rgba(26, 93, 58, 0.75), rgba(26, 93, 58, 0.75)),
              url('gallery/1.jpg') center/cover;
  color: #fff;
  padding: 100px 0 80px;
}

.hero-content {
  max-width: 700px;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
}

.hero-stat span {
  font-size: 14px;
  opacity: 0.8;
}

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

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-label {
  display: inline-block;
  background: #e8f5e9;
  color: #1a5d3a;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.3;
}

.section-text {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
}

/* ================================
   MISSION
   ================================ */
.mission {
  background: #fafafa;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.mission-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.mission-content p {
  color: #555;
  margin-bottom: 15px;
  font-size: 16px;
}

.mission-content strong {
  color: #1a5d3a;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  text-align: center;
}

.stat-card .value {
  font-size: 36px;
  font-weight: 700;
  color: #1a5d3a;
  display: block;
}

.stat-card .label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-top: 5px;
  display: block;
}

.stat-card .desc {
  font-size: 13px;
  color: #888;
  margin-top: 3px;
}

/* ================================
   LES 3R
   ================================ */
.trois-r-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.trois-r-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px 25px;
  border-top: 4px solid #1a5d3a;
}

.trois-r-card.orange {
  border-top-color: #e67e22;
}

.trois-r-card.blue {
  border-top-color: #2980b9;
}

.trois-r-card .icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.trois-r-card .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a5d3a;
  margin-bottom: 8px;
}

.trois-r-card.orange .label {
  color: #e67e22;
}

.trois-r-card.blue .label {
  color: #2980b9;
}

.trois-r-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.trois-r-card ul {
  padding-left: 18px;
  list-style: disc;
}

.trois-r-card li {
  color: #555;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Health Banner */
.health-banner {
  background: #1a5d3a;
  color: #fff;
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.health-banner .label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.health-banner h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.health-banner p {
  opacity: 0.9;
  margin-bottom: 15px;
  font-size: 15px;
}

.health-banner ul {
  padding-left: 18px;
  list-style: disc;
}

.health-banner li {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.health-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.health-resources span {
  background: rgba(255,255,255,0.1);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
}

/* ================================
   ACTIONS
   ================================ */
.actions {
  background: #fafafa;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.action-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px;
}

.action-card .tag {
  display: inline-block;
  background: #1a5d3a;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.action-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.action-card p {
  color: #555;
  font-size: 14px;
  margin-bottom: 10px;
}

.action-card .meta {
  color: #1a5d3a;
  font-weight: 600;
  font-size: 13px;
}

/* ================================
   S'ENGAGER
   ================================ */
.engager-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.engager-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  transition: 0.2s;
}

.engager-card:hover {
  border-color: #1a5d3a;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.engager-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.engager-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.engager-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.engager-card a {
  color: #1a5d3a;
  font-weight: 600;
  font-size: 14px;
}

.engager-card a:hover {
  text-decoration: underline;
}

/* ================================
   ACTUALITES
   ================================ */
.actualites {
  background: #fafafa;
}

.actualites-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 25px;
}

.news-card .tag {
  display: inline-block;
  background: #e8f5e9;
  color: #1a5d3a;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.news-card .date {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.news-card p {
  color: #555;
  font-size: 14px;
}

/* Sidebar */
.sidebar-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.sidebar-block h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a5d3a;
}

.event-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.event-item:last-child {
  border-bottom: none;
}

.event-item .date {
  font-weight: 700;
  color: #1a5d3a;
  font-size: 13px;
}

.event-item .name {
  color: #555;
  font-size: 14px;
}

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

.gallery-grid img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

/* ================================
   CONTACT
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}

.contact-info {
  background: #1a5d3a;
  color: #fff;
  border-radius: 8px;
  padding: 35px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item .label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.contact-item .value {
  font-size: 16px;
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
}

.contact-form {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 35px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1a5d3a;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 15px;
}

.footer-brand .logo-img {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
}

.footer-brand .name {
  color: #fff;
}

.footer-brand p {
  color: #999;
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: #999;
  font-size: 14px;
  transition: 0.2s;
}

.footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #666;
  font-size: 13px;
}

.footer-bottom a {
  color: #666;
  font-size: 13px;
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: #999;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 34px;
  }

  .mission-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trois-r-grid {
    grid-template-columns: 1fr;
  }

  .health-banner {
    grid-template-columns: 1fr;
  }

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

  .actualites-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  section {
    padding: 50px 0;
  }

  .hero {
    padding: 70px 0 50px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-title {
    font-size: 26px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
