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

/* CSS Reset minimal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  line-height: 1.6;
  color: #333;
}
.img-fuild{max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: Poppins, sans-serif;
}

/* Variables couleurs */
:root {
  --primary: #FF8D5A;
  --primary-dark: #D1460A;
  --gray-dark: #4B4645;
  --gray-light: #D7CDC9;
  --white: #FFFFFF;
}

/* Classes utilitaires essentielles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.m-4 { margin: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-900 { background-color: #111827; }

.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-gray-600 { color: #6b7280; }
.text-gray-900 { color: #111827; }

.border { border: 1px solid #e5e7eb; }
.border-gray-200 { border-color: #e5e7eb; }
.border-primary { border-color: var(--primary); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

/* Navigation */
nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

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

.nav-link {
  color: #6b7280;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

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

/* Cards */
.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.3s;
}

.card:hover {
  border-color: var(--primary);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.card p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Article cards avec images */
.article-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s;
}

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

.article-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.article-card-content {
  padding: 1.5rem;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.tag-primary {
  background-color: rgba(255, 141, 90, 0.1);
  color: var(--primary);
}

.tag-orange {
  background-color: rgba(255, 237, 213, 1);
  color: #9a3412;
}

.tag-gray {
  background-color: #f3f4f6;
  color: #374151;
}

/* Footer */
footer {
  background: #111827;
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Transitions simples */
a {
  transition: color 0.3s ease;
}

.card,
.article-card {
  transition: all 0.3s ease;
}