:root {
  --bg: #56b5e8;
  --bg2: #3b82f6;
  --text: #1f2937;
  --white: #ffffff;
  --purple: #7c3aed;
  --blue: #0ea5e9;
  --orange: #f97316;
  --yellow: #facc15;
  --radius: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #b39878;
  color: var(--text);
}
.app { min-height: 100vh; }
.header {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(15,23,42,0.12);
  z-index: 100;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--purple);
  font-weight: 900;
  font-size: 1.6rem;
  cursor: pointer;
}
.desktop-nav { display: none; gap: 14px; }
.nav-btn, .mobile-nav-btn { background: transparent; border: 0; color: #334155; font-weight: 600; cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.nav-btn:hover, .mobile-nav-btn:hover { color: var(--purple); background: rgba(124,58,237,0.1); }
.mobile-menu-btn { display: flex; align-items: center; justify-content: center; border: 0; background: transparent; font-size: 1.6rem; padding: 8px; cursor: pointer; }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px;
  background: var(--white);
  border-top: 1px solid #e2e8f0;
}
.main-content { padding-top: 80px; max-width: 1100px; margin: 0 auto; }
.section { padding: 60px 18px; }
.accueil h1 { font-size: 2.8rem; color: var(--white); margin: 0; }
.accueil p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.postit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; justify-items: center; }
.postit {
  width: 160px; height: 160px;
  border: 0;
  border-radius: 16px;
  background: #1e3a8a;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 16px 28px rgba(0,0,0,.27);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.postit:hover { transform: scale(1.05) rotate(-2deg); box-shadow: 0 20px 30px rgba(0,0,0,.3); }
.postit.badge { border-radius: 999px; background: #1e3a8a; }
.postit.stripes { background: #1e3a8a; position: relative; overflow: hidden; }
.postit.stripes::before { content: ''; position: absolute; inset: 0; background: none; }
.postit.flag { clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%); background: #1e3a8a; }
.postit.pill { width: 208px; height: 144px; border-radius: 60px; background: #1e3a8a; }
.card-section .title-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.card-section .title-wrap.center { justify-content: center; }
.card-section .title-wrap .icon { font-size: 1.4rem; color: var(--white); }
.card-section h2 { margin: 0; font-size: 2rem; color: var(--white); }
.card-grid { display: grid; gap: 16px; }
.info-column { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: rgba(255,255,255,0.85); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 20px rgba(0,0,0,.2); position: relative; }
.info-placeholder { text-align: center; border: 2px dashed rgba(0,0,0,0.18); }
.info-placeholder .icon-large { font-size: 3rem; opacity: .4; margin-bottom: 8px; }
.info-card .tag { position: absolute; top: -14px; left: -14px; width: 40px; height: 40px; background: var(--orange); border-radius: 100%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: bold; transform: rotate(-15deg); }
.info-card h3 { margin: 8px 0; color: #6d28d9; }
.info-card p { color: #334155; line-height: 1.5; }
.agenda-grid { display: grid; gap: 42px; }
.agenda-scroll { display: flex; flex-direction: column; gap: 12px; padding: 10px 0; }
.agenda-btn { 
  background: #d97706; 
  color: #fff; 
  border: none; 
  border-radius: 18px; 
  padding: 16px 18px; 
  box-shadow: 0 10px 20px rgba(0,0,0,0.25); 
  font-weight: 800; 
  font-size: 1.15rem; 
  cursor: pointer; 
  transition: all .25s ease;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50px;
  height: auto;
}
.agenda-btn:hover { transform: scale(1.05); }
.agenda-btn.active { background: #f59e0b; color: #1f2937; }
.images-container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.images-container img { width: 100%; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); object-fit: cover; }
.reminder-card { background: #f59e0b; color: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
.reminder-icon { font-size: 2rem; margin-bottom: 10px; }
.activities-section h2 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.activities-note { color: rgba(255,255,255,0.9); margin-bottom: 16px; font-style: italic; }
.activities-list { display: flex; flex-direction: column; gap: 12px; }
.activity-entry { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.activity-btn { 
  flex: 1 1 250px; 
  padding: 14px; 
  border: none; 
  border-radius: 999px 16px 16px 999px; 
  background: #7c3aed; 
  color: #fff; 
  font-weight: 700; 
  cursor: pointer; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  min-height: 50px;
  height: auto;
  transition: transform .25s ease, background .25s ease; 
}
.activity-btn.open { background: #5b21b6; transform: translateX(-0.8rem); }
.activity-btn:hover { background: #6d28d9; }
.activity-details { 
  flex: 2 1 330px; 
  background: #f97316; 
  color: #fff; 
  border-radius: 12px; 
  padding: 14px; 
  overflow: auto;
  max-height: 0; 
  opacity: 0; 
  transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
}
.activity-details.open { max-height: 800px; opacity: 1; margin-top: 0; }
.activity-details p { margin: 4px 0; }
.activity-details ul { margin: 10px 0 0 20px; padding-left: 15px; }
.footer-section { border-top: 1px solid rgba(255,255,255,0.2); text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 12px; }
.cta-btn { border: none; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; }
.cta-btn.donate { background: #fff; color: #7c3aed; }
.cta-btn.mail { background: #fff; color: #0ea5e9; }
.cta-btn:hover { opacity: 0.9; }
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-nav { display: none !important; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agenda-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .header-inner { padding: 10px; }
  .postit-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
}