/* PLO Oullins — maquette vitrine */

:root {
  --navy: #182849;
  --navy-deep: #0f1c34;
  --coral: #FF6B45;
  --coral-dark: #E34E26;
  --gold: #E8A93C;
  --cream: #FDF8F0;
  --cream-dim: #c9d2e2;
  --paper: #FBF6EE;
  --ink: #1A1C22;
  --ink-soft: #52576a;
  --border: rgba(24,40,73,0.1);
  --shadow-lg: 0 30px 60px -20px rgba(15,28,52,0.25);
  --shadow-sm: 0 10px 24px -12px rgba(15,28,52,0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 14px 30px -10px rgba(227,78,38,.55); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -10px rgba(227,78,38,.65); background: var(--coral-dark); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }

.tag-pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: rgba(255,107,69,.12);
  color: var(--coral-dark); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-pill-light { background: rgba(232,169,60,.18); color: var(--gold); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--coral-dark); margin-top: 6px; transition: gap .2s ease; }
.link-arrow:hover { gap: 12px; }
.link-arrow-light { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500; background: rgba(253,248,240,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -14px rgba(15,28,52,.25); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-family: "Fraunces", serif; }
.brand-text strong { font-size: 1.15rem; color: var(--navy); }
.brand-text span { font-size: .72rem; color: var(--ink-soft); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; letter-spacing: .03em; }

.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a { font-weight: 600; font-size: .94rem; color: var(--navy); position: relative; padding: 6px 0; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--coral); transition: width .25s ease; }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }
.nav-desktop a.active { color: var(--coral-dark); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px 24px 20px; background: var(--cream); border-top: 1px solid var(--border); }
.mobile-nav a { padding: 10px 6px; font-weight: 600; color: var(--navy); border-radius: 10px; }
.mobile-nav a.active { background: rgba(255,107,69,.1); color: var(--coral-dark); }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; width: 480px; height: 480px; opacity: .22; filter: blur(2px); }
.blob-1 { color: var(--coral); top: -160px; right: -140px; animation: float1 18s ease-in-out infinite; }
.blob-2 { color: var(--gold); bottom: -200px; left: -160px; width: 420px; height: 420px; animation: float2 22s ease-in-out infinite; }
.blob-3 { color: var(--navy); top: 30%; left: 55%; width: 320px; height: 320px; opacity: .1; animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(-30px,40px) rotate(15deg); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) rotate(0deg); } 50% { transform: translate(40px,-30px) rotate(-12deg); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,-30px) scale(1.08); } }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: var(--navy); }
.accent-text { color: var(--coral); position: relative; white-space: nowrap; }
.hero .lead { font-size: 1.12rem; max-width: 520px; margin-top: 18px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

.hero-visual { position: relative; }
.hero-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; transform: rotate(2deg); transition: transform .4s ease; }
.hero-card:hover { transform: rotate(0deg) scale(1.01); }
.hero-card img { width: 100%; height: 420px; object-fit: cover; }
.hero-card-badge {
  position: absolute; left: 20px; bottom: 20px; background: rgba(15,28,52,.78); backdrop-filter: blur(6px);
  color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 2px;
}
.hero-card-badge strong { font-family: "Fraunces", serif; font-size: 1.05rem; }
.hero-card-badge span { font-size: .78rem; color: var(--cream-dim); }

.hero-float-chip {
  position: absolute; background: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow-sm); animation: bob 5s ease-in-out infinite;
}
.chip-1 { top: -10px; left: -20px; animation-delay: 0s; }
.chip-2 { bottom: 60px; right: -30px; animation-delay: 1.2s; }
.chip-3 { bottom: -18px; left: 30%; animation-delay: 2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 50px auto 0; width: fit-content; font-size: .78rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .05em; text-transform: uppercase; position: relative; z-index: 1; }
.hero-scroll span { width: 1px; height: 32px; background: linear-gradient(var(--coral), transparent); animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- Counters ---------- */
.counters { background: var(--navy); padding: 50px 0; position: relative; }
.counters-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.counter { display: flex; flex-direction: column; gap: 6px; }
.counter .num { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.counter .label { color: var(--cream-dim); font-size: .88rem; font-weight: 600; }

/* ---------- Sections generic ---------- */
.section { padding: 90px 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark p { color: var(--cream-dim); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.reveal, .section-head { text-align: left; }
.section h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); color: var(--navy); }
.section-dark h2 { color: var(--cream); }

.intro-grid, .solidarity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-image img, .solidarity-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 380px; object-fit: cover; }
.section-solidarity { background: var(--navy); color: var(--cream); }
.section-solidarity p { color: var(--cream-dim); }
.section-solidarity h2 { color: var(--cream); }

/* ---------- Sections grid (home teaser) ---------- */
.sections-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.section-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.section-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.section-card img { height: 160px; object-fit: cover; width: 100%; }
.section-card-body { padding: 18px 18px 22px; }
.section-card-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.section-card-body p { font-size: .88rem; margin: 0; }

/* ---------- Activity grid (full sections page) ---------- */
.activity-category { margin-bottom: 56px; }
.activity-category h2 { color: var(--navy); border-left: 5px solid var(--coral); padding-left: 16px; margin-bottom: 28px; }
.activity-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.activity-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.activity-img img { height: 180px; object-fit: cover; width: 100%; }
.activity-body { padding: 20px; }
.activity-body h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.activity-body p { font-size: .9rem; margin: 0; }

/* ---------- Agenda / events ---------- */
.agenda-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.agenda-grid-full { grid-template-columns: repeat(3,1fr); }
.event-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.event-card-img { position: relative; height: 220px; }
.event-card-img img { height: 100%; width: 100%; object-fit: cover; }
.event-date { position: absolute; top: 14px; left: 14px; background: var(--coral); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.event-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.event-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); margin-bottom: 8px; }
.event-card-body h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.event-meta { font-size: .82rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 10px; }
.event-card-body p:last-child { font-size: .9rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%); color: #fff; }
.cta-band-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band-inner h2 { color: #fff; }
.cta-band-inner p { color: rgba(255,255,255,.88); margin-bottom: 26px; }
.cta-band .btn-outline-light:hover { color: var(--coral-dark); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: 64px 0 70px; overflow: hidden; background: var(--cream); }
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); color: var(--navy); }
.page-hero .lead { font-size: 1.08rem; margin-top: 12px; max-width: 540px; }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 140px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: "Fraunces", serif; font-size: 1.3rem; font-weight: 700; color: var(--gold); }
.timeline-content p { color: var(--cream-dim); margin: 0; }

/* ---------- Stats row ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 10px; }
.stat-box { background: var(--cream); border-radius: var(--radius-md); padding: 32px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.stat-box .num { display: block; font-family: "Fraunces", serif; font-size: 2.2rem; font-weight: 700; color: var(--coral-dark); margin-bottom: 6px; }
.stat-box .label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step-card { background: #fff; border-radius: var(--radius-md); padding: 28px 22px; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s ease; }
.step-card:hover { transform: translateY(-6px); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: .88rem; margin: 0; }

/* ---------- Donate card ---------- */
.donate-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 640px; margin: 0 auto; overflow: hidden; }
.donate-card-body { padding: 40px; }
.amount-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pill-btn { padding: 10px 20px; border-radius: 999px; border: 2px solid var(--border); background: var(--paper); font-weight: 700; cursor: pointer; transition: all .2s ease; }
.pill-btn:hover, .pill-btn:focus { border-color: var(--coral); color: var(--coral-dark); }

/* ---------- Forms ---------- */
.demo-form { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: .85rem; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  padding: 13px 16px; border-radius: var(--radius-sm); border: 2px solid var(--border); font-family: inherit; font-size: .95rem;
  background: var(--paper); transition: border-color .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--coral); }
.form-note { font-size: .78rem; color: var(--ink-soft); font-style: italic; margin: 0; }
.form-success { display: none; color: #1e7d45; font-weight: 700; background: rgba(30,125,69,.1); padding: 12px 16px; border-radius: var(--radius-sm); margin: 0; }
.form-success.show { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-dark); }
.contact-list a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .72rem; transition: background .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--coral); transform: translateY(-3px); }
.map-placeholder { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-top: 28px; box-shadow: var(--shadow-sm); }
.map-placeholder img { height: 220px; object-fit: cover; width: 100%; filter: saturate(.85); }
.map-placeholder span { position: absolute; bottom: 14px; left: 14px; background: rgba(15,28,52,.78); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream-dim); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand p { color: var(--cream-dim); font-size: .9rem; margin: 16px 0 18px; }
.site-footer h4 { color: var(--cream); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: .88rem; }
.site-footer a:hover { color: var(--coral); }
.footer-bottom { padding: 22px 24px; text-align: center; font-size: .78rem; color: rgba(255,255,255,.4); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .intro-grid, .solidarity-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-image { order: -1; }
  .sections-grid { grid-template-columns: repeat(2,1fr); }
  .activity-grid, .agenda-grid, .agenda-grid-full { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .counters-grid { grid-template-columns: repeat(2,1fr); }
  .stats-row { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .sections-grid, .activity-grid, .agenda-grid, .agenda-grid-full, .steps-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .hero { padding: 40px 0 40px; }
  .hero-card img { height: 300px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .donate-card-body { padding: 26px; }
}
