:root {
  --primary: #1a365d;
  --accent: #e07a5f;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-dark); line-height: 1.6; background: var(--white); }

/* Navigation */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1100px; margin: auto; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; }
.logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 1.5rem; }
nav a { text-decoration: none; color: var(--text-dark); font-weight: 500; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--accent); }

/* Hero & Bannière */
.hero { background: linear-gradient(rgba(26, 54, 93, 0.88), rgba(26, 54, 93, 0.88)), url('https://unsplash.com') center/cover; color: var(--white); padding: 5rem 1.5rem; text-align: center; }
.hero h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem; color: #e2e8f0; }

.page-header { background: var(--primary); color: var(--white); padding: 3rem 1.5rem; text-align: center; }
.page-header h1 { font-size: 2rem; }

/* Boutons */
.btn { display: inline-block; background: var(--accent); color: var(--white); padding: 0.85rem 1.8rem; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background 0.3s; border: none; cursor: pointer; }
.btn:hover { background: #c96449; }

/* Conteneurs & Grilles */
.container { max-width: 1100px; margin: auto; padding: 4rem 1.5rem; }
.bg-light { background: var(--bg-light); }
.section-title { text-align: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 2.5rem; }

.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(350px, 1fr)); gap: 2.5rem; }

.card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 8px; padding: 2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.03); }
.card h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.25rem; }
.card p { color: var(--text-muted); }

/* Formulaire */
.form-group { margin-bottom: 1.2rem; }
label { display: block; margin-bottom: 0.4rem; font-weight: 600; color: var(--primary); }
input, select, textarea { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 5px; font-family: inherit; font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { background: var(--primary); color: #cbd5e1; text-align: center; padding: 2.5rem 1.5rem; margin-top: auto; }
footer p { margin-bottom: 0.5rem; font-size: 0.9rem; }

@media (max-width: 768px) {
  .nav-container { flex-direction: column; gap: 1rem; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero h1 { font-size: 1.8rem; }
}
