/* ============================================================
   I Feel Good (ASBL) — Feuille de style partagée
   Bien-être · thérapies douces · créativité · équilibre
   ============================================================ */

:root {
  --sage: #7C9885;
  --sage-dark: #6E8A76;
  --sage-deep: #4C6657;
  --sage-light: #E6EEE8;
  --lavender: #B4A7D6;
  --lavender-deep: #8F7FC0;
  --lavender-light: #EFECF6;
  --coral: #E88C7D;
  --coral-dark: #D97768;
  --coral-light: #FBEAE6;
  --cream: #F9F7F4;
  --white: #FFFFFF;
  --ink: #2B2B2B;
  --ink-soft: #555A56;
  --line: #E4DFD8;
  --shadow-sm: 0 2px 10px rgba(43, 43, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 43, 43, 0.10);
  --shadow-lg: 0 20px 50px rgba(43, 43, 43, 0.14);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-dark); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { color: var(--ink-soft); }
p + p { margin-top: 1rem; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--coral-dark);
  margin-bottom: .6rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(232, 140, 125, .35); }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }

.btn-sage { background: var(--sage); color: #fff; box-shadow: 0 8px 20px rgba(124, 152, 133, .35); }
.btn-sage:hover { background: var(--sage-dark); color: #fff; }

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

.btn-outline-dark { background: transparent; border-color: var(--sage); color: var(--sage-deep); }
.btn-outline-dark:hover { background: var(--sage-light); color: var(--sage-deep); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--sage);
  box-shadow: 0 2px 14px rgba(43,43,43,.12);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo:hover { color: #fff; opacity: .92; }
.logo svg { width: 40px; height: 40px; }

.nav-links ul { list-style: none; display: flex; align-items: center; gap: .4rem; }
.nav-links a {
  color: rgba(255,255,255,.92);
  font-weight: 600;
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .98rem;
}
.nav-links a:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav-links a.active { background: #fff; color: var(--sage-deep); }

.nav-donate { margin-left: .4rem; }
.nav-donate a.btn { background: var(--coral); color: #fff; padding: .6rem 1.3rem; font-size: .95rem; }
.nav-donate a.btn:hover { background: var(--coral-dark); color: #fff; transform: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: .4rem;
  border-radius: 8px;
}
.nav-toggle svg { width: 30px; height: 30px; stroke: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 45%, var(--lavender-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(180,167,214,.35) 0, transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(232,140,125,.25) 0, transparent 45%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding-top: 90px;
  padding-bottom: 100px;
}
.hero h1 { color: #fff; margin: .4rem 0 1.1rem; }
.hero p.lead { color: rgba(255,255,255,.92); max-width: 560px; }
.hero .eyebrow { color: #FFE9E4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-illustration { display: flex; justify-content: center; }
.hero-illustration svg { width: 100%; max-width: 460px; height: auto; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--lavender-light); }
.section-sage { background: linear-gradient(135deg, var(--sage-deep), var(--sage-dark)); }
.section-sage h2, .section-sage p { color: #fff; }
.section-sage p { color: rgba(255,255,255,.9); }
.section-white { background: var(--white); }

.section-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-bottom: .9rem; }
.section-head p { font-size: 1.05rem; }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card.coral-top { border-top-color: var(--coral); }
.card.sage-top { border-top-color: var(--sage); }
.card.lavender-top { border-top-color: var(--lavender); }

.card .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  background: var(--sage-light);
  color: var(--sage-deep);
}
.card .icon-circle svg { width: 30px; height: 30px; }
.card .icon-circle.lavender { background: var(--lavender-light); color: var(--lavender-deep); }
.card .icon-circle.coral { background: var(--coral-light); color: var(--coral-dark); }
.card h3 { margin-bottom: .6rem; }

/* ---------- Statistiques ---------- */
.stats {
  background: var(--lavender-deep);
  background: linear-gradient(135deg, var(--sage-deep), var(--lavender-deep));
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-label { color: rgba(255,255,255,.88); margin-top: .3rem; font-weight: 600; }

/* ---------- Bandeau don (CTA) ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--coral), var(--coral-dark));
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; }
.cta-band .btn { background: #fff; color: var(--coral-dark); }
.cta-band .btn:hover { background: var(--cream); color: var(--coral-dark); }

/* ---------- Panels (about / mission) ---------- */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem;
}
.panel + .panel { margin-top: 1.6rem; }
.panel h3 { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.panel h3 .icon-circle { margin-bottom: 0; width: 46px; height: 46px; }
.panel h3 .icon-circle svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-illustration { display: flex; justify-content: center; }
.split-illustration svg { width: 100%; max-width: 400px; height: auto; }

.list-check { list-style: none; margin-top: 1rem; }
.list-check li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: .7rem;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 1.1rem; height: 1.1rem;
  background: var(--sage) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="4 12 9 17 20 6"/></svg>') center/0.7rem no-repeat;
  border-radius: 50%;
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 3px; border-radius: 2px; background: var(--lavender); }
.timeline li { position: relative; margin-bottom: 1.6rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -2rem; top: .35em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--sage);
}
.timeline strong { color: var(--ink); }
.timeline time { display: block; font-weight: 700; color: var(--coral-dark); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Programmes ---------- */
.program-grid { grid-template-columns: repeat(2, 1fr); }
.program-card { display: flex; gap: 1.2rem; align-items: flex-start; }
.program-card .icon-circle { margin-bottom: 0; flex-shrink: 0; }
.program-card h3 { margin-bottom: .4rem; }

/* ---------- Formulaire ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(124,152,133,.15);
}
.field textarea { resize: vertical; min-height: 150px; }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: .3rem; }

.form-note {
  background: var(--sage-light);
  border-left: 4px solid var(--sage);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: .92rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* ---------- Carte ---------- */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); line-height: 0; }
.map-frame #map { width: 100%; height: 420px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Infos contact ---------- */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; }
.contact-card .icon-circle { margin-bottom: 0; flex-shrink: 0; width: 52px; height: 52px; }
.contact-card .icon-circle svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p { font-size: .95rem; }

/* ---------- Dons ---------- */
.donation-tier { text-align: center; }
.donation-tier .amount { font-size: 2rem; font-weight: 800; color: var(--coral-dark); margin: .4rem 0; }
.donation-tier .amount small { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }

.bank-details {
  background: var(--lavender-light);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  font-size: .95rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.bank-details strong { color: var(--ink); }

/* ---------- Appel ---------- */
.callout { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--coral-light); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-top: 1.6rem; }
.callout .icon-circle { margin-bottom: 0; background: #fff; color: var(--coral-dark); }
.callout p { margin: 0; }

/* ---------- Legal ---------- */
.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap h2 { margin: 2rem 0 .8rem; font-size: 1.5rem; }
.legal-wrap h3 { margin: 1.6rem 0 .6rem; font-size: 1.12rem; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); }
.legal-wrap ul, .legal-wrap ol { margin: .6rem 0 1rem 1.4rem; }
.legal-wrap .updated {
  display: inline-block;
  background: var(--sage-light);
  color: var(--sage-deep);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .3rem 1rem;
  margin-bottom: 1.2rem;
}
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.legal-table th { background: var(--sage-light); color: var(--sage-deep); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sage-deep);
  color: rgba(255,255,255,.88);
  padding-top: 60px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: .04em;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer p { color: rgba(255,255,255,.78); font-size: .94rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--coral); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .94rem; }

.footer-contact { list-style: none; }
.footer-contact li { margin-bottom: .7rem; font-size: .94rem; display: flex; gap: .6rem; }
.footer-contact svg { flex-shrink: 0; margin-top: .2rem; stroke: var(--coral); }

.social-links { display: flex; gap: .7rem; margin-top: 1.1rem; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-links a:hover { background: var(--coral); transform: translateY(-3px); }
.social-links svg { width: 20px; height: 20px; fill: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.4rem 0;
  font-size: .87rem;
  color: rgba(255,255,255,.7);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.8); }

.footer-brand p { margin-top: .8rem; }
.footer-brand svg.logo-mark { width: 52px; height: 52px; margin-bottom: .8rem; }

/* ---------- Page d'accueil : préview activités ---------- */
.home-activity { display: flex; align-items: center; gap: 1.4rem; background: var(--white); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm); }
.home-activity .icon-circle { margin-bottom: 0; flex-shrink: 0; }
.home-activity strong { display: block; color: var(--ink); }
.home-activity span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Page hero intérieure ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 55%, var(--lavender-deep) 100%);
  color: #fff;
  padding: 70px 0;
}
.page-hero h1 { color: #fff; margin-bottom: .7rem; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 720px; }
.page-hero .eyebrow { color: #FFE9E4; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: .6rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Boutons de secours JS (map) ---------- */
.js-hidden { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 70px; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-illustration { order: -1; }
  .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--sage-dark);
    box-shadow: var(--shadow-md);
    padding: 1rem 22px 1.4rem;
    display: none;
  }
  .nav-links.open { display: block; }
  .nav-links ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-links a { display: block; padding: .8rem 1rem; }
  .nav-links a.active { background: rgba(255,255,255,.18); color: #fff; }
  .nav-donate { margin: .6rem 0 0; }
  .nav-donate a.btn { width: 100%; justify-content: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .cta-band { padding: 2rem; justify-content: center; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .page-hero { padding: 48px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
}
