/* =========================================================
   OSOJO — feuille de style principale
   Police: le site utilise "Daytona Light" (texte courant, y compris
   les titres) et "Daytona" (nom "OSOJO") comme demandé. Ces polices
   ne sont pas des polices web libres/embarquées dans le fichier
   PowerPoint fourni : en attendant que les fichiers de police réels
   soient fournis, Poppins (Google Fonts) est utilisée comme
   substitut proche — Poppins Light (300) pour le corps du texte et
   les titres, Poppins Bold (700) uniquement pour le nom "OSOJO".
   Voir README pour l'instruction de remplacement.
   ========================================================= */

:root {
  --garnet: #C02854;
  --garnet-dark: #8F1D3E;
  --garnet-tint: #F8DEE5;
  --orange: #FF9933;
  --orange-dark: #E07F14;
  --orange-soft: #FFCB8A;
  --orange-tint: #FFE9CC;
  --ink: #201A1D;
  --ink-soft: #5B5257;
  --white: #FFFFFF;
  --alt: #F6F2F0;
  --alt-2: #F1E4E9;
  --border: #E8E0DD;
  --warm-gray: #D8CEC4;
  --warm-gray-border: rgba(32, 26, 29, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(32, 26, 29, 0.10);
  --shadow-sm: 0 4px 14px rgba(32, 26, 29, 0.08);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.4rem); }
.title-accent { position: relative; padding-bottom: 10px; }
.title-accent .accent-initial::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: min(72px, calc(1em + 24px));
  height: 2px;
  background: var(--orange);
  transform: translateX(-100%);
}
h2 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 400; }

p { margin: 0 0 1em; color: var(--ink-soft); font-weight: 300; }

a { color: var(--garnet); text-decoration: none; }
a:hover { text-decoration: underline; }

.brand-font { font-family: var(--font); font-weight: 700; color: var(--garnet); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--garnet);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 64ch;
  font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--garnet); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--garnet-dark); color: var(--white); }
.btn-donate { background: var(--orange); color: var(--white); border-color: var(--garnet); box-shadow: var(--shadow-sm); }
.btn-donate:hover { background: var(--orange-dark); color: var(--white); }
.btn-get-involved { background: var(--white); color: var(--garnet); border-color: var(--garnet); }
.btn-outline { background: transparent; border-color: var(--garnet); color: var(--garnet); }
.btn-outline:hover { background: var(--garnet); color: var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.75); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--garnet); }
.btn-outline-light-on-light:not(:hover) { background: var(--garnet); }
.btn-outline-light-on-light:hover { border-color: var(--garnet); }
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-accent:hover { background: var(--orange-dark); color: var(--white); }
.btn-lg { padding: 0.9em 2em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px 2px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: nowrap;
}
.site-commitment {
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0 auto 5px;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--garnet);
  background: var(--white);
  color: var(--garnet);
  text-align: center;
  font-size: clamp(0.85rem, 1vw, 0.93rem);
  font-weight: 400;
  line-height: 1.4;
  text-wrap: balance;
}
.site-commitment strong { font-weight: 700; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 0; color: var(--garnet); flex-shrink: 0; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 40px; width: auto; flex-shrink: 0; transform: rotate(-10deg); margin-bottom: -3px; }
.brand strong { font-size: 1.02rem; letter-spacing: 0.05em; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  width: 42px; height: 38px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }

.primary-nav { display: flex; align-items: center; flex: 1 1 auto; justify-content: space-evenly; gap: 0; min-width: 0; }
.primary-nav a, .primary-nav .nav-newsletter {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 5px;
  border-radius: 999px;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--alt); text-decoration: none; }
.primary-nav a.active { color: var(--garnet); background: var(--garnet-tint); }

.nav-ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-ctas .btn { padding: 0.55em 1.1em; font-size: 0.74rem; white-space: nowrap; }

.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 0.72rem; font-weight: 600; }
.lang-switch button {
  background: none; border: none; cursor: pointer; padding: 3px 4px; color: var(--ink-soft);
  font-family: var(--font); font-weight: 600; font-size: 0.72rem;
}
.lang-switch .lang-current { color: var(--garnet); cursor: default; }
.lang-switch .lang-soon { color: var(--ink-soft); opacity: 0.45; cursor: not-allowed; }
.lang-switch .lang-sep { color: var(--border); }
.footer-bottom .lang-switch button { color: var(--ink-soft); }
.footer-bottom .lang-switch .lang-current { color: var(--garnet); }
.footer-bottom .lang-switch .lang-sep { color: var(--warm-gray-border); }

@media (min-width: 761px) and (max-width: 1180px) {
  .nav-wrap { flex-wrap: wrap; gap: 12px; }
  .nav-ctas { margin-left: auto; }
  .primary-nav { order: 3; flex: 1 0 100%; width: 100%; justify-content: space-evenly; }
}

@media (max-width: 760px) {
  .primary-nav {
    order: 3; width: 100%; justify-content: flex-start; flex-direction: column; align-items: stretch;
    max-height: 0; overflow: hidden; transition: max-height 0.28s ease; flex: none;
  }
  .primary-nav a, .primary-nav .nav-newsletter { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
  .primary-nav.open { max-height: 640px; }
  .nav-toggle { display: flex; }
  .nav-wrap { flex-wrap: wrap; row-gap: 5px; }
  .nav-ctas { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav-ctas .btn { padding: 0.5em 0.8em; font-size: 0.66rem; }
  .lang-switch { display: none; }
}

/* ---------- Hero sections ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(150deg, var(--garnet-dark) 0%, var(--garnet) 58%, var(--orange-dark) 130%); }
.hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 88px 24px 76px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 2;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--orange-soft); font-weight: 500; margin-bottom: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.3em; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.1; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255,153,51,0.30), transparent 55%); z-index: 1; }

.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero.theme-garnet { padding-block: max(0px, calc(var(--hero-padding-top, 64px) - 1cm)) max(0px, calc(var(--hero-padding-bottom, 48px) - 1cm)); }
.page-hero .lede { margin-top: 0.6em; }

.theme-white  { background: var(--white); }
.theme-alt    { background: var(--alt); }
.theme-garnet {
    background: radial-gradient(circle at 85% 20%, rgba(255,153,51,0.30), transparent 55%),
                linear-gradient(150deg, var(--garnet-dark) 0%, var(--garnet) 58%, var(--orange-dark) 130%);
}
.theme-garnet h1, .theme-garnet h2 { color: var(--white); }
.theme-garnet .lede, .theme-garnet p { color: rgba(255,255,255,0.9); }
.theme-garnet .eyebrow { color: #FFE1E9; }
.theme-garnet .breadcrumb, .theme-garnet .breadcrumb a { color: rgba(255,255,255,0.65); }
.theme-garnet .breadcrumb .current { color: var(--white); font-weight: 700; }
.theme-orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); }
.theme-orange h1, .theme-orange h2 { color: var(--ink); }
.theme-orange .lede, .theme-orange p { color: rgba(32,26,29,0.82); }
.theme-orange .eyebrow { color: var(--garnet); }
.theme-orange .tag-list span { background: rgba(255,255,255,0.55); border-color: rgba(32,26,29,0.15); }
.theme-orange .breadcrumb, .theme-orange .breadcrumb a { color: rgba(32,26,29,0.62); }
.theme-orange .breadcrumb .current { color: var(--garnet); font-weight: 700; }

/* ---------- Sections / layout helpers ---------- */
section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-head { max-width: 700px; margin: 0 0 2.4em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 0.4em; }
.card .meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--garnet); font-weight: 700; margin-bottom: 0.6em; }

/* ---------- Icon rows ---------- */
.icon-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.icon-badge { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.icon-row h4 { margin: 0 0 4px; font-weight: 600; font-size: 1.02rem; }
.icon-row p { margin: 0; font-size: 0.95rem; }

/* ---------- Photo placeholders ---------- */
.photo-slot {
  border: 2px dashed var(--border); border-radius: var(--radius); background: var(--alt);
  min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--ink-soft); text-align: center; padding: 20px;
}
.photo-slot .ph-icon { font-size: 1.8rem; opacity: 0.55; }
.photo-slot small { font-size: 0.76rem; letter-spacing: 0.03em; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid .photo-slot { min-height: 150px; aspect-ratio: 1/1; }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.4rem; margin-bottom: 16px; }
.team-card .tag-list { margin-top: 6px; }

/* ---------- Timeline (events) ---------- */
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--garnet); border: 3px solid var(--white); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
input, textarea, select {
  font-family: var(--font); font-weight: 300; font-size: 0.96rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--garnet); outline-offset: 1px; }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-weight: 600; display: none; }
.form-status.ok { color: #1E7A3C; display: block; }
.form-status.err { color: var(--garnet-dark); display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Info / donate panels ---------- */
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }

/* "legal status" blocks — deliberately different presentation from .team-card / .card
   (no shadow, no white card look) so the two kinds of information read as distinct. */
.legal-block { background: var(--orange-tint); border-left: 4px solid var(--orange); border-radius: var(--radius-sm); padding: 22px 26px; }
.legal-block-outline { background: transparent; border: 1.5px solid var(--orange); border-radius: var(--radius-sm); padding: 22px 26px; }
.legal-heading { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--garnet); margin: 0 0 0.9em; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.94rem; }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--ink-soft); }
.kv span:last-child { font-weight: 600; text-align: right; }

.qr-slot {
  width: 220px; height: 220px; margin: 0 auto; border: 3px dashed var(--orange); border-radius: var(--radius-sm);
  background: var(--orange-tint); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  color: var(--ink-soft); text-align: center; padding: 12px;
}
.qr-slot .ph-icon { font-size: 2.2rem; }

.badge-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--alt); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--garnet); color: var(--white); border-radius: var(--radius); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 0.2em; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.2em; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.6; }
.breadcrumb .current { color: var(--garnet); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { --footer-unit: 1rem; background: var(--warm-gray); color: var(--ink-soft); padding: 30px 0 18px; margin-top: 60px; line-height: 1.35; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--garnet); font-size: calc(0.85 * var(--footer-unit)); letter-spacing: 0.04em; margin-bottom: 0.6em; font-weight: 700; text-transform: uppercase; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--garnet); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: calc(0.92 * var(--footer-unit)); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 14px; line-height: 1.65; }
.footer-brand .brand-mark { height: 46px; transform: rotate(-10deg); margin-bottom: -4px; }
.footer-brand strong { font-size: calc(1.18 * var(--footer-unit)); letter-spacing: 0.05em; }
.footer-brand + p { font-size: calc(0.8125 * var(--footer-unit)); }
.footer-brand + p { margin-bottom: 8px; }
.site-footer .stack-lines p:not(:last-child) { margin-bottom: 3px; }
.footer-bottom { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--warm-gray-border); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: calc(0.8 * var(--footer-unit)); color: var(--ink-soft); }
.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-row a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--garnet); display: flex; align-items: center; justify-content: center; font-size: calc(0.85 * var(--footer-unit)); }
.site-footer .stack-lines p { font-size: calc(0.95 * var(--footer-unit)); }
.site-footer .small { font-size: calc(0.85 * var(--footer-unit)); }
.site-footer > .container > p.small { font-size: calc(0.8125 * var(--footer-unit)); }
.site-footer .lang-switch, .site-footer .lang-switch button { font-size: calc(0.72 * var(--footer-unit)); }
.social-row a:hover { background: var(--orange-tint); text-decoration: none; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.85rem; }
.divider { height: 1px; background: var(--border); border: none; margin: 48px 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }
.lowercase-head { text-transform: none; }
.stack-lines p { margin: 0 0 6px; color: var(--ink-soft); font-size: 0.95rem; }
.stack-lines p:last-child { margin-bottom: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; }
.tag-list span { background: var(--alt); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-media { order: -1; }
}

/* Home photograph: full image with more space beside the text. */
.hero-inner-home { max-width: 1440px; grid-template-columns: 0.85fr 1.55fr; gap: 40px; align-items: center; }
.hero-media-home img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; filter: brightness(1.08); }
.mission-image { width: 50%; height: auto; margin: 0 auto; border-radius: var(--radius); }
.how-started-photo img { height: auto; aspect-ratio: auto; }
@media (min-width: 861px) {
  .how-started-photo { position: relative; align-self: stretch; min-height: 0; }
  .how-started-photo .hero-media { display: contents; }
  .how-started-photo img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
}
@media (max-width: 860px) {
  .hero-inner-home { grid-template-columns: 1fr; }
}
