/* ===== Louane P'RETT pour la vie — styles communs ===== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Yellowtail&display=swap');

:root {
  --purple-900: #5B2A83;
  --purple-700: #8E44C3;
  --purple-600: #A055C9;
  --purple-500: #B88CD3;
  --purple-300: #C9A0DE;
  --lavender-100: #F3E6FA;
  --pink-100: #EECAF7;
  --green-800: #1F6F4A;
  --green-100: #E9F8F3;
  --teal-600: #029E82;
  --blue-600: #025DD7;
  --text-body: #4a4460;
  --text-muted: #6b6580;
  --bg-page: #fdfdfd;
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Quicksand', Arial, sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  line-height: 1.55;
}

.script {
  font-family: 'Yellowtail', cursive;
  color: var(--purple-700);
  line-height: 1.3;
}

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

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

a { color: inherit; text-decoration: none; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: relative;
  width: 100%;
}

.nav-pill {
  position: absolute;
  top: 22px;
  right: 32px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(90, 40, 130, 0.12);
  z-index: 10;
}

.nav-pill a {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--purple-900);
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.nav-pill a.active,
.nav-pill a:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
  color: #fff;
}

.header-leaf {
  position: relative;
  background-image: url('../img/header-leaf.png');
  background-size: cover;
  background-position: center;
  height: 130px;
}

.header-leaf .logo-mini {
  position: absolute;
  top: 14px;
  left: 24px;
  width: 100px;
  z-index: 10;
}

/* ---------- Icon list (soutenir / favoriser / encourager / offrir) ---------- */

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.icon-list svg { flex: none; width: 26px; height: 26px; }

.icon-list.on-photo { color: #fff; }
.icon-list.on-light { color: var(--purple-900); }

/* ---------- Hero (home) ---------- */

.hero-home {
  position: relative;
  background-image: url('../img/hero-home.png');
  background-size: cover;
  background-position: top center;
  min-height: 560px;
}

.hero-home .icon-list {
  position: absolute;
  top: 108px;
  right: 32px;
}

.hero-headline {
  position: absolute;
  top: 96px;
  left: 340px;
  max-width: 320px;
  font-size: 30px;
}

.hero-caption {
  position: absolute;
  bottom: 28px;
  right: 40px;
  font-size: 22px;
  text-align: right;
}

.hero-extra-card {
  position: relative;
  margin-top: -70px;
  padding: 40px 32px 10px;
  max-width: 560px;
}

.hero-extra-card .heart { font-size: 22px; }

.hero-extra-card h2 {
  font-family: 'Yellowtail', cursive;
  color: var(--purple-700);
  font-size: 32px;
  font-weight: 400;
  margin: 8px 0 16px;
}

.hero-extra-card p { font-size: 16px; }

/* ---------- Two-column info cards ---------- */

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 48px auto;
}

.info-card {
  border-radius: var(--radius-md);
  padding: 30px 32px;
  display: flex;
  gap: 18px;
}

.info-card.pink { background: var(--pink-100); }
.info-card.green { background: var(--green-100); }

.info-card .badge {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.6);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.info-card.pink h3 { color: var(--purple-900); }
.info-card.green h3 { color: var(--green-800); }

.info-card p { margin: 0; font-size: 15px; }

/* ---------- Projects row ---------- */

.section-title {
  text-align: center;
  color: var(--purple-700);
  font-size: 22px;
  margin: 56px 0 32px;
}

.projects-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.project-item { text-align: center; width: 110px; }

.project-item .circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-item p { margin: 0; font-size: 14px; font-weight: 600; }

.side-note {
  font-family: 'Yellowtail', cursive;
  color: var(--purple-700);
  font-size: 22px;
  text-align: center;
  margin: -20px 0 40px;
}

/* ---------- Support buttons ---------- */

.support-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-support {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  min-width: 220px;
  justify-content: center;
}

.btn-support.facebook { background: var(--blue-600); }
.btn-support.instagram { background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }
.btn-support.helloasso { background: var(--teal-600); }

.support-caption {
  text-align: center;
  font-size: 15px;
  margin-bottom: 8px;
}

/* ---------- Footer band ---------- */

.footer-band {
  background-image: url('../img/footer-band.png');
  background-size: cover;
  background-position: center;
  height: 280px;
  margin-top: 48px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .info-cards { grid-template-columns: 1fr; }
  .hero-headline { left: 24px; top: 90px; max-width: 60%; font-size: 22px; }
  .hero-home .icon-list { display: none; }
  .nav-pill { right: 16px; top: 14px; padding: 8px 8px; }
  .nav-pill a { padding: 8px 12px; font-size: 14px; }
  .hero-extra-card { padding-left: 20px; padding-right: 20px; }
}
