:root {
  --navy: #1c1638;
  --navy-light: #2c2454;
  --amber: #e8952c;
  --amber-dark: #c97a1c;
  --bg: #ffffff;
  --bg-soft: #f7f5f1;
  --text: #221c3d;
  --text-muted: #5b5570;
  --border: #e7e3f0;
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(232, 149, 44, 0.35);
}
.btn-primary:hover { background: var(--amber-dark); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
}
.logo img { height: 40px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
nav.main-nav a.active { color: var(--amber-dark); }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-actions .btn { padding: 0.6rem 1.4rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    overflow-y: auto;
    background: #fff;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 90;
  }
  nav.main-nav.open { transform: translateY(0); }
  nav.main-nav ul { flex-direction: column; gap: 1.2rem; }
  .nav-toggle { display: block; }
  .nav-actions .btn:not(.btn-primary) { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,149,44,0.35), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 560px; }
.hero .actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin: 0; }

/* Sections */
section { padding: 4.5rem 0; }
section.soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(28, 22, 56, 0.05);
}

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

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 149, 44, 0.15);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}
.split img { border-radius: 20px; box-shadow: 0 20px 50px rgba(28,22,56,0.15); }

.quote-block {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}
.quote-block p { color: rgba(255,255,255,0.9); font-size: 1.2rem; font-style: italic; }
.quote-block cite { color: var(--amber); font-style: normal; font-weight: 600; }

/* Team */
.team-card { text-align: center; }
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 4px solid var(--bg-soft);
}
.team-logo-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 4px solid var(--bg-soft);
  overflow: hidden;
}
.team-logo { width: 62%; height: auto; }
.team-role {
  color: var(--amber-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

/* Support ways */
.support-card { text-align: center; }

/* Donate band */
.donate-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-band::before {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,149,44,0.25), transparent 70%);
}
.donate-inner { position: relative; z-index: 1; }

/* Forms */
form.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

label { font-weight: 600; font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 0.35rem; }
input, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
textarea { min-height: 140px; resize: vertical; }

.newsletter-form { display: flex; gap: 0.7rem; max-width: 420px; }
.newsletter-form input { flex: 1; }
@media (max-width: 500px) { .newsletter-form { flex-direction: column; } }

.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.6rem; }

/* News */
.news-card img { border-radius: 14px 14px 0 0; }
.news-card { overflow: hidden; padding: 0; }
.news-card .body { padding: 1.6rem; }
.news-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: 16px;
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
footer .logo { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.6rem; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.badge-store img { height: 48px; }
.store-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.store-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--bg-soft);
  cursor: default;
}

/* Champ piège anti-spam (Netlify) : invisible pour les visiteurs */
.hidden-field { display: none; }
