/* ===== Tokens ===== */
:root {
  --ink: #1C1A17;
  --paper: #FAF6EF;
  --paper-dim: #F1EAD9;
  --red: #C81E2C;
  --red-dark: #9E1521;
  --forest: #14532D;
  --forest-dark: #0E3B20;
  --moss: #3F7D58;
  --clay: #8B5E34;
  --gold: #E3A72E;
  --muted: #7A756B;
  --line: #E4DCC8;

  --font-display: "Archivo", sans-serif;
  --font-body: "Work Sans", sans-serif;

  --wrap: 1140px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.pillar-photo img,
.mini-photo img,
.photo-frame img,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
h4 { font-family: var(--font-display); font-size: 0.95rem; margin: 0 0 8px; }

p { margin: 0 0 1em; color: var(--ink); max-width: 62ch; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section-lead { color: var(--muted); margin-top: -8px; }

/* ===== Alert bar ===== */
.alert-bar {
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  text-align: center;
}
.alert-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; flex: none;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== Header ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.logo img { height: 56px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.site-nav a:hover { border-color: var(--gold); }
.btn-nav { border: none; padding: 10px 20px; }

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 4px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 7px 14px;
  cursor: pointer;
}
.lang-btn.active {
  background: var(--forest);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 60;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-full { width: 100%; text-align: center; border: none; }

/* ===== Hero ===== */
.hero {
  padding: 60px 0 76px;
  background: radial-gradient(ellipse at top right, rgba(200,30,44,0.06), transparent 55%), var(--paper);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-text h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.hero-lead { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }

.hero-figure { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.pulse-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: pulse 2.8s ease-out 1; }
.ring-1 { width: 140px; height: 140px; animation-delay: 0s; }
.ring-2 { width: 140px; height: 140px; animation-delay: 0.5s; }
.ring-3 { width: 140px; height: 140px; animation-delay: 1s; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; opacity: 0.15; } }

.hero-number {
  position: relative;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  width: 210px; height: 210px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  box-shadow: 0 20px 40px rgba(20,83,45,0.25);
}
.hero-number-label { font-size: 0.75rem; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.hero-number-value { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.hero-number-sub { font-size: 0.72rem; color: #E8E4D8; margin-top: 6px; max-width: 150px; }

/* ===== Concept ===== */
.concept { padding: 84px 0; }
.concept-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; }

/* ===== Pillars table ===== */
.pillars { background: var(--paper-dim); padding: 84px 0; }
.pillar-table { margin-top: 32px; border-top: 1px solid var(--line); }
.pillar-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 1.4fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pillar-head { align-items: end; }
.pillar-head-photo { display: block; }
.pillar-photo {
  width: 56px; height: 56px;
  border-radius: 8px;
  border: 1.5px dashed var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.pillar-photo .photo-icon { width: 26px; height: 26px; margin: 0; opacity: 0.7; }
.pillar-head { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.pillar-zone { font-family: var(--font-display); font-weight: 700; color: var(--forest); }
.pillar-row span { font-size: 0.92rem; }
.pillar-row:not(.pillar-head) span:not(.pillar-zone) { color: var(--muted); }

/* ===== Actions / Axes ===== */
.actions { padding: 88px 0; }
.axes { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.axe { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px; }
.axe:last-child { border-right: none; }
.axe-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--red); margin-bottom: 10px; }
.axe-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--paper-dim);
  border-radius: 50%;
  color: var(--forest);
  margin-bottom: 14px;
}
.axe-icon svg { width: 24px; height: 24px; }
.axe h3 { margin-bottom: 12px; }
.axe-list { margin: 0; padding: 0; list-style: none; }
.axe-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.axe-list li:last-child { margin-bottom: 0; }
.mini-photo {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 6px;
  border: 1.5px dashed var(--line);
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.mini-photo svg { width: 18px; height: 18px; opacity: 0.7; }
.axe-list li span:last-child { color: var(--muted); font-size: 0.9rem; padding-top: 2px; }

.axe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
  max-width: 420px;
}

.axe-card {
  position: relative;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.axe-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.axe-card:hover img {
  transform: scale(1.1);
}

/* ===== Team ===== */
.team { padding: 84px 0; background: var(--paper-dim); }
.team-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.team-photo svg { width: 46px; height: 46px; }
.team-card h3 { font-size: 1rem; margin-bottom: 2px; }
.team-role { font-size: 0.82rem; color: var(--muted); }

/* ===== Map ===== */
.map-section { padding: 84px 0; background: var(--paper-dim); }
.map-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.map-placeholder {
  height: 320px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Logistics ===== */
.logistics { padding: 60px 0; }
.chip-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip-list li {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--clay);
  color: var(--clay);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
}
.chip-list li svg { flex: none; }

/* ===== Signalement ===== */
.signalement { background: var(--ink); color: #fff; padding: 88px 0; }
.signalement-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.signalement h2 { color: #fff; }
.signalement-text p { color: #C7C2B4; }
.signalement-note { font-size: 0.88rem; color: var(--gold) !important; }

.alert-form { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 32px; }
.form-row { margin-bottom: 16px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 12px; font-family: var(--font-body); font-size: 0.94rem;
  background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--forest); outline-offset: 1px;
}
.form-confirm { margin: 14px 0 0; font-size: 0.88rem; font-weight: 600; color: var(--forest); min-height: 1.2em; }

/* ===== Medias ===== */
.medias { padding: 88px 0; }
.gallery-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-frame {
  margin: 0;
  aspect-ratio: 4/3;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  background: var(--paper-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--muted);
}
.photo-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 10px;
}
.photo-icon svg { width: 100%; height: 100%; }
.photo-frame figcaption { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.photo-frame figcaption span { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 4px; }

.temoignage {
  margin: 40px 0 0;
  padding-left: 24px;
  border-left: 4px solid var(--gold);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}
.temoignage span { display: block; margin-top: 10px; font-size: 0.85rem; font-style: normal; color: var(--muted); }

/* ===== Rejoindre ===== */
.rejoindre { background: var(--forest); color: #fff; padding: 88px 0; }
.rejoindre-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.rejoindre h2 { color: #fff; }
.rejoindre-text p { color: #DCE7DF; }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { padding-left: 26px; position: relative; color: #EFEAD9; font-size: 0.95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--gold); border-radius: 2px; }

.join-form { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 32px; }

/* ===== Dons ===== */
.dons { padding: 88px 0; background: var(--paper-dim); }
.inline-link { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.don-scale { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.don-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.don-amount { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--forest); }
.don-sub { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.don-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.don-methods { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.don-methods p { font-size: 0.9rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #E8E4D8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.logo-footer { color: var(--gold); display: block; margin-bottom: 12px; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; }
.logo-footer img { height: 64px; width: auto; display: block; }
.site-footer p { color: #C7C2B4; font-size: 0.92rem; }
.site-footer a { color: var(--gold); text-decoration: none; }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #2A261F;
  color: #E8E4D8;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-links a:hover { background: var(--gold); color: var(--ink); }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1; border: 1px solid #4A4538; border-radius: 4px; padding: 10px 12px;
  background: #2A261F; color: #fff; font-family: var(--font-body); font-size: 0.88rem;
}
.newsletter-form button {
  background: var(--gold); color: var(--ink); border: none; border-radius: 4px;
  padding: 10px 16px; font-family: var(--font-display); font-weight: 700; cursor: pointer; font-size: 0.85rem;
}

.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #34302A; font-size: 0.82rem; color: #8C877A; }
.footer-bottom p { margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; min-height: 200px; }
  .concept-inner { grid-template-columns: 1fr; }
  .pillar-row { grid-template-columns: 1fr; gap: 10px; }
  .pillar-head { display: none; }
  .pillar-row:not(.pillar-head) { padding: 18px 0; }
  .pillar-photo { width: 48px; height: 48px; }
  .axes { grid-template-columns: 1fr; }
  .axe { border-right: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .map-inner { grid-template-columns: 1fr; }
  .signalement-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .rejoindre-inner { grid-template-columns: 1fr; }
  .don-scale { grid-template-columns: 1fr; }
  .don-methods { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .btn-nav { text-align: center; margin-top: 10px; }
  .lang-switch { align-self: flex-start; margin: 12px 0 0; }
  .nav-toggle { display: flex; }

  .alert-bar { font-size: 0.76rem; text-align: left; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form { flex-direction: column; }

  .hero-number { width: 170px; height: 170px; }
  .hero-number-value { font-size: 2.1rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
