/*!
Theme Name: yieldrix.org
Version: 3.1.0
Author: Yieldrix Team
Description: Design Minimaliste Brutaliste - Eau, Santé, Éducation.
*/

/* ═══════════════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════════════ */
:root {
  /* Palette Signature */
  --teal:       #00897B;
  --teal-dark:  #00695C;
  --teal-lt:    #E0F2F1;
  --amber:      #F59E0B;
  --navy:       #0D1B2A;
  --ink:        #1A2535;
  --muted:      #6B7B8D;
  --border:     #E2E8EF;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;

  /* Typographie Éditoriale */
  --f-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --f-serif:   'Lora', Georgia, serif; /* Pour les <em> et titres */

  /* Système */
  --container: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 12px;
  --shadow: 0 10px 30px -12px rgba(13, 27, 42, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ═══════════════════════════════════════════════════
   COMPOSANTS GÉNÉRIQUES
═══════════════════════════════════════════════════ */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.eyebrow {
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 12px; font-weight: 700; color: var(--teal);
  margin-bottom: 16px;
}
.s-title { font-family: var(--f-sans); font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.s-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); }

.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 700; display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost {
  border: 1px solid var(--border); padding: 14px 28px;
  border-radius: var(--radius-sm); font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════ */
.hero {
  min-height: 90vh; display: flex; align-items: center;
  background: var(--white); padding: 120px 0 60px;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center;
}
.hero-tag { font-weight: 700; font-size: 14px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1; margin-bottom: 24px; }
.hero-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--teal); }
.hero-desc { font-size: 18px; color: var(--muted); max-width: 500px; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; }

/* Hero Cards (Stats) */
.hero-cards { display: flex; flex-direction: column; gap: 20px; }
.hero-card {
  background: var(--bg); padding: 24px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 20px; border: 1px solid var(--border);
}
.hero-card-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.hero-card-icon.teal { background: var(--teal-lt); color: var(--teal); }
.hero-card-num { font-size: 24px; font-weight: 800; }
.hero-card-label { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ═══════════════════════════════════════════════════
   PROGRAMMES & CARTES
═══════════════════════════════════════════════════ */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
.prog-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.prog-card:hover { transform: translateY(-8px); border-color: var(--teal); box-shadow: var(--shadow); }
.prog-card-photo { position: relative; aspect-ratio: 4/3; }
.prog-card-photo img { width: 100%; height: 100%; object-fit: crop; }
.prog-card-badge {
  position: absolute; top: 16px; left: 16px; padding: 6px 12px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 20px;
}
.badge-teal { background: var(--teal); color: var(--white); }
.prog-card-body { padding: 32px; }
.prog-card-body h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.3; }
.prog-card-body p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.prog-card-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-top: 1px solid var(--border); pt: 20px; margin-top: auto;
}
.prog-budget span { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.prog-budget strong { font-size: 18px; color: var(--navy); }

/* ═══════════════════════════════════════════════════
   SITE FOOTER (NOUVEAU DESIGN COMPACT)
═══════════════════════════════════════════════════ */
.site-footer { background: var(--navy); color: var(--white); }

/* Bande CTA Don */
.footer-cta { background: linear-gradient(135deg, var(--teal-dark) 0%, #004D40 100%); padding: 60px 0; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.footer-cta-text h2 { font-family: var(--f-sans); font-size: 32px; margin-bottom: 8px; }
.footer-cta-text h2 em { font-family: var(--f-serif); font-style: italic; color: #a7f3d0; font-weight: 400; }
.footer-cta-actions { display: flex; align-items: center; gap: 24px; }
.amounts-row { display: flex; gap: 10px; }
.amount-btn {
  padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--white); border-radius: var(--radius-sm);
}
.amount-btn.active { background: var(--white); color: var(--navy); border-color: var(--white); font-weight: 700; }
.btn-don-main { background: var(--amber); color: var(--navy); padding: 14px 28px; font-weight: 800; border-radius: var(--radius-sm); }

/* Footer Links */
.footer-body { padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 80px; }
.footer-brand .logo-name { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.footer-brand .logo-dot { color: var(--teal); }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 20px 0; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { color: var(--muted); font-size: 18px; }
.footer-social a:hover { color: var(--white); }

.footer-col h6 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.5; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--muted); font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom-inner { display: flex; justify-content: space-between; }
.footer-bottom-links { display: flex; gap: 24px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-btns { justify-content: center; }
  .hero-cards { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .prog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cta-actions { flex-direction: column; width: 100%; }
  .amounts-row { width: 100%; justify-content: center; }
  .btn-don-main { width: 100%; justify-content: center; }
}
