/* Fraunces + Work Sans sont chargées depuis le <head> de chaque page (plus rapide qu'un @import CSS) */

/* ============ TOKENS ============ */
:root{
  --forest: #1F4B37;
  --forest-deep: #12291D;
  --forest-soft: #2E6349;
  --gold: #B6975A;
  --gold-light: #E9DEC7;
  --cream: #FAF6EE;
  --cream-deep: #F1EADA;
  --ink: #23261F;
  --ink-soft: #565A4E;
  --olive: #6B7247;
  --white: #FFFFFF;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;

  --max: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px -16px rgba(18, 41, 29, 0.35);
  --shadow-sm: 0 4px 14px -6px rgba(18, 41, 29, 0.25);
}

/* ============ RESET ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; }
button{ font-family: inherit; }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background: var(--gold);
  display:inline-block;
}

section{ padding: 88px 0; }
@media (max-width: 720px){ section{ padding: 56px 0; } }

.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p{ color: var(--ink-soft); font-size: 1.08rem; }

/* ============ BUTTONS ============ */
.btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration:none;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover{ background: #c7a868; box-shadow: var(--shadow); }
.btn-outline{
  border-color: rgba(250,246,238,0.55);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(250,246,238,0.12); }
.btn-forest{
  background: var(--forest);
  color: var(--cream);
}
.btn-forest:hover{ background: var(--forest-deep); }
.btn-block{ width:100%; }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(250,246,238,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,75,55,0.1);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 78px;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ height: 42px; width:42px; border-radius: 50%; }
.brand-text{ font-family: var(--font-display); font-weight:700; font-size: 1.18rem; color: var(--forest-deep); line-height:1.05; }
.brand-text small{ display:block; font-family: var(--font-body); font-weight:500; font-size:0.62rem; letter-spacing:0.08em; text-transform:uppercase; color: var(--olive); margin-top:2px; }

.nav-links{ display:flex; align-items:center; gap: 6px; list-style:none; }
.nav-links a{
  text-decoration:none; color: var(--ink);
  font-weight:500; font-size:0.96rem;
  padding: 10px 14px; border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover{ background: var(--cream-deep); }
.nav-links a.active{ color: var(--forest-deep); font-weight:700; }
.nav-cta{ margin-left: 8px; }

.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border-radius: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background: var(--forest-deep);
  position:relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ transform: rotate(45deg); top:0; }
.nav-toggle[aria-expanded="true"] span::after{ transform: rotate(-45deg); top:0; }

@media (max-width: 900px){
  .nav-links{
    position:fixed; inset: 78px 0 0 0;
    background: var(--cream);
    flex-direction:column; align-items:stretch;
    gap:2px; padding: 18px;
    transform: translateY(-8px);
    opacity:0; pointer-events:none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .nav-links a{ padding:16px 14px; font-size:1.08rem; border-bottom:1px solid rgba(31,75,55,0.08); }
  .nav-cta{ margin-left:0; margin-top:10px; }
  .nav-cta a{ width:100%; }
  .nav-toggle{ display:flex; }
}

/* ============ HERO ============ */
.hero{
  position:relative;
  color: var(--white);
  overflow:hidden;
  min-height: 78vh;
  display:flex; align-items:flex-end;
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position: center 25%; }
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(18,41,29,0.55) 0%, rgba(18,41,29,0.55) 40%, rgba(18,41,29,0.94) 100%);
}
.hero-content{ position:relative; padding: 80px 0 64px; }
.hero-content .eyebrow{ color: var(--gold-light); }
.hero-content .eyebrow::before{ background: var(--gold); }
.hero-content h1{
  color: var(--white);
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  max-width: 15ch;
  margin-top: 0.3em;
}
.hero-content .lede{
  color: rgba(250,246,238,0.88);
  font-size: 1.18rem;
  max-width: 46ch;
  margin: 18px 0 32px;
}
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.page-hero{
  background: var(--forest-deep);
  color: var(--white);
  padding: 70px 0 56px;
}
.page-hero .eyebrow{ color: var(--gold-light); }
.page-hero .eyebrow::before{ background: var(--gold); }
.page-hero h1{ color: var(--white); font-size: clamp(2rem, 5vw, 3.1rem); max-width: 20ch; }
.page-hero p{ color: rgba(250,246,238,0.82); max-width: 56ch; font-size:1.08rem; }

/* ============ ROUTE / COUNTRIES (signature element) ============ */
.route{
  display:flex;
  overflow-x:auto;
  gap: 0;
  padding: 8px 4px 20px;
  scrollbar-width: thin;
}
.route-stop{
  flex: 0 0 auto;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
  width: 128px;
  position:relative;
  padding-top: 6px;
}
.route-stop:not(:last-child)::after{
  content:"";
  position:absolute;
  top: 34px; left: 50%;
  width: 100%;
  height:0;
  border-top: 2px dashed var(--gold);
  opacity:0.55;
  z-index:0;
}
.route-flag{
  width:64px; height:64px;
  border-radius:50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.7rem;
  position:relative; z-index:1;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.route-stop:hover .route-flag{ transform: scale(1.08); }
.route-name{ margin-top:12px; font-weight:600; font-size:0.92rem; color: var(--forest-deep); }
.route-stop.soon .route-flag{ border-style:dashed; background:var(--cream-deep); font-size:1.3rem; color:var(--olive); }
.route-stop.soon .route-name{ color: var(--olive); font-style:italic; font-weight:500; }

/* ============ CARDS ============ */
.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 860px){ .grid-2, .grid-3{ grid-template-columns: 1fr; } }

.action-card{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.action-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.action-card img{ width:100%; aspect-ratio: 3/2; object-fit:cover; object-position: center 25%; }
.action-card .body{ padding: 26px 26px 30px; }
.action-card h3{ font-size:1.3rem; margin-bottom:0.4em; }
.action-card p{ color: var(--ink-soft); margin-bottom:0; }

.value-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.value-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .mark{
  width:46px; height:46px; border-radius:50%;
  background: var(--forest); color: var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:1.2rem;
  margin-bottom:16px;
}
.value-card h3{ font-size:1.15rem; }
.value-card p{ color: var(--ink-soft); font-size:0.98rem; margin-bottom:0; }

/* ============ QUOTE / MISSION BAND ============ */
.mission-band{
  background: var(--forest);
  color: var(--cream);
  position:relative;
  overflow:hidden;
}
.mission-band::before{
  content:"";
  position:absolute; inset:-40% -10% auto auto;
  width:520px; height:520px;
  background: radial-gradient(circle, rgba(182,151,90,0.25), transparent 70%);
}
.mission-band blockquote{
  font-family: var(--font-display);
  font-style: italic;
  font-weight:500;
  font-size: clamp(1.4rem, 3.2vw, 2.15rem);
  line-height:1.35;
  max-width: 26ch;
  margin:0;
  position:relative;
}
.mission-band cite{ display:block; margin-top:22px; font-style:normal; font-family:var(--font-body); font-weight:600; color: var(--gold-light); font-size:0.95rem; }

/* ============ DONATE BAND ============ */
.donate-band{
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
}
.donate-band h2{ color:var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom:8px; }
.donate-band p{ color: rgba(250,246,238,0.82); margin-bottom:0; max-width:44ch; }

/* ============ GALLERY STRIP ============ */
.photo-frame{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 25%;
}
.photo-caption{ font-size:0.9rem; color: var(--ink-soft); margin-top:10px; }

/* ============ FOOTER ============ */
.site-footer{ background: var(--forest-deep); color: rgba(250,246,238,0.75); padding: 56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px){ .footer-grid{ grid-template-columns: 1fr; gap:32px; } }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:38px; width:38px; border-radius:50%; }
.footer-brand span{ font-family: var(--font-display); font-weight:700; color: var(--white); font-size:1.1rem; }
.site-footer h4{ color: var(--gold-light); font-family: var(--font-body); font-size:0.85rem; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:16px; }
.site-footer a{ text-decoration:none; color: inherit; }
.footer-links li{ list-style:none; margin-bottom:10px; }
.footer-links a:hover{ color: var(--white); }
.footer-bottom{ border-top:1px solid rgba(250,246,238,0.14); padding-top:22px; font-size:0.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ============ CONTACT CARD ============ */
.contact-card{ background: var(--white); border-radius: var(--radius); padding:30px; box-shadow: var(--shadow-sm); }
.contact-card .row{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
.contact-card .row .mark{ width:38px; height:38px; border-radius:50%; background:var(--cream-deep); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.05rem; }
.contact-card .row h4{ margin:0 0 3px; font-family:var(--font-body); font-size:0.98rem; }
.contact-card .row p{ margin:0; color: var(--ink-soft); font-size:0.95rem; }

/* ============ REVEAL (disabled) ============ */
/* The .reveal class is kept on elements in the HTML but intentionally
   does nothing here. Content must always render immediately and fully,
   with zero dependency on JavaScript timing or scroll position. */
.reveal{ opacity:1; }

/* ============ MISC ============ */
.tag-row{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{ background: var(--cream-deep); color: var(--forest-deep); font-size:0.85rem; font-weight:600; padding:7px 14px; border-radius:999px; }
.divider{ height:1px; background: rgba(31,75,55,0.12); border:none; margin: 0; }
.center{ text-align:center; }
.stack{ display:flex; flex-direction:column; gap:14px; }
