/* ============================================================
   IMPACT 7000 — Friends of Jireh Cameroon
   Charte : indigo profond + or, inspiration vitrail & lumière
   ============================================================ */

:root {
  --indigo-900: #0F1642;
  --indigo-800: #1A237E;
  --indigo-700: #283593;
  --indigo-100: #E8EAF6;
  --gold:       #C5A021;
  --gold-light: #E3C766;
  --cream:      #FAF8F2;
  --ink:        #1B1B29;
  --ink-soft:   #4A4A5C;
  --line:       #E4E0D4;
  --success:    #27AE60;
  --purple:     #8E44AD;
  --white:      #FFFFFF;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p  { color: var(--ink-soft); }
a  { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 1rem;
}

.verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--indigo-700);
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(4rem, 10vw, 7rem) 0; }

/* ---------- Header / Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--indigo-800); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold));
  display: grid; place-items: center;
  color: var(--indigo-900); font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(197,160,33,0.35);
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--indigo-800); }
.nav-cta {
  background: var(--indigo-800); color: var(--white) !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 600 !important;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--indigo-700); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--indigo-800); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(197,160,33,0.12), transparent 60%),
    linear-gradient(160deg, var(--indigo-900), var(--indigo-700) 70%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(6rem, 14vw, 10rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 78px, rgba(255,255,255,0.03) 78px, rgba(255,255,255,0.03) 80px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; max-width: 900px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold-light); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.82); margin: 1.5rem 0 2.5rem; max-width: 620px; }
.hero-devise {
  font-family: var(--serif); font-style: italic;
  font-size: 1.15rem; color: var(--gold-light);
  border-left: 2px solid var(--gold); padding-left: 16px; margin-top: 3rem;
  display: inline-block;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; border: none;
}
.btn-gold { background: var(--gold); color: var(--indigo-900); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,160,33,0.35); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-indigo { background: var(--indigo-800); color: var(--white); }
.btn-indigo:hover { background: var(--indigo-700); transform: translateY(-2px); }

/* ---------- Sections génériques ---------- */
.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 1rem; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,22,66,0.08); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; color: var(--indigo-800); }
.card .verse { display: block; margin-top: 16px; font-size: 0.95rem; }

.ic-indigo { background: var(--indigo-100); color: var(--indigo-800); }
.ic-gold   { background: #FBF3D8; color: var(--gold); }
.ic-purple { background: #F3E5F5; color: var(--purple); }

/* ---------- Régimes de dons ---------- */
.regime {
  display: flex; align-items: baseline; gap: 18px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.regime:last-child { border-bottom: none; }
.regime-pct { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); min-width: 90px; }
.regime-body h3 { color: var(--indigo-800); margin-bottom: 4px; }

/* ---------- Bande citation ---------- */
.quote-band {
  background: var(--indigo-900); color: var(--white); text-align: center;
}
.quote-band .wrap { max-width: 780px; }
.quote-band blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-style: italic; line-height: 1.4; }
.quote-band cite { display: block; margin-top: 1.5rem; font-family: var(--sans); font-style: normal; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; font-family: var(--serif); font-size: 1.4rem;
  color: var(--gold); min-width: 48px; height: 48px; border: 1.5px solid var(--gold);
  border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
}
.step-num::before { content: counter(step); }
.step h3 { color: var(--indigo-800); margin-bottom: 6px; }

/* ---------- Dons coordonnées ---------- */
.don-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.don-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--white);
}
.don-card .label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.don-card .val { font-family: var(--serif); font-size: 1.15rem; color: var(--indigo-800); word-break: break-word; }
.bank-highlight { border-color: var(--gold); background: linear-gradient(180deg, #FBF3D8 0%, var(--white) 100%); }

/* ---------- Footer ---------- */
.footer { background: var(--indigo-900); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer a { color: rgba(255,255,255,0.75); transition: color .2s; }
.footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-top: 1rem; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ---------- Page header (pages secondaires) ---------- */
.page-head {
  background: linear-gradient(160deg, var(--indigo-900), var(--indigo-700));
  color: var(--white); padding: clamp(4rem,9vw,6rem) 0 clamp(3rem,7vw,4.5rem);
}
.page-head h1 { color: var(--white); }
.page-head .eyebrow { color: var(--gold-light); }
.page-head p { color: rgba(255,255,255,0.8); max-width: 620px; margin-top: 1rem; font-size: 1.1rem; }

/* ---------- Prose (confidentialité, CGU) ---------- */
.prose { max-width: 760px; }
.prose h2 { color: var(--indigo-800); margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.2rem; }
.prose .updated { font-size: 0.9rem; color: var(--gold); font-weight: 600; margin-bottom: 2.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .don-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line);
  }
}
