/* ============================================================
   La Prunelière — Feuille de style principale
   ============================================================ */

/* --- Variables --- */
:root {
  --green-dark:    #1E3A0F;
  --green-primary: #3D6B21;
  --green-medium:  #5C9432;
  --green-light:   #8CBF5B;
  --green-pale:    #EDF4E6;
  --gold:          #C8912A;
  --gold-light:    #F0C878;
  --cream:         #FBF8F1;
  --white:         #FFFFFF;
  --text-dark:     #1A2610;
  --text-medium:   #3D5028;
  --text-light:    #6A7D58;
  --border:        #D4E4C0;
  --shadow-xs: 0 1px 4px rgba(30,58,15,.06);
  --shadow-sm: 0 2px 10px rgba(30,58,15,.09);
  --shadow-md: 0 6px 24px rgba(30,58,15,.13);
  --shadow-lg: 0 12px 48px rgba(30,58,15,.18);
  --radius:    14px;
  --radius-sm: 8px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --transition: .3s var(--ease);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .875rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  gap: .5rem;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  flex-direction: column;
  gap: .2rem;
  text-align: center;
}
.btn-gold:hover {
  background: #a57020;
  border-color: #a57020;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-large { padding: 1.25rem 3rem; font-size: 1.125rem; }
.btn-full  { width: 100%; }

.btn-main-text { font-size: 1.125rem; font-weight: 600; }
.btn-sub-text  { font-size: .75rem; opacity: .85; font-weight: 400; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: .875rem 0;
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo { height: 38px; width: auto; }
.nav-brand-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.navbar.scrolled .nav-brand-text { color: var(--green-dark); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  display: block;
  padding: .5rem 1rem;
  color: rgba(255,255,255,.9);
  font-size: .9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.15);
}
.navbar.scrolled .nav-link      { color: var(--text-medium); }
.navbar.scrolled .nav-link:hover { color: var(--green-primary); background: var(--green-pale); }

.btn-don {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 2rem !important;
  font-weight: 600 !important;
  padding: .5rem 1.25rem !important;
}
.btn-don:hover { background: #a57020 !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--green-dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/pic-01.webp') center / cover no-repeat;
  background-color: var(--green-dark);
  color: var(--white);
  overflow: hidden;
}
.hero > .container {
  position: relative;
  z-index: 1;
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(30,58,15,.88) 0%,
    rgba(61,107,33,.6) 60%,
    rgba(30,58,15,.5) 100%
  );
}

.hero-content { max-width: 680px; }

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .375rem 1.125rem;
  border-radius: 2rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: .75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  font-style: italic;
  font-weight: 400;
  opacity: .9;
  margin-bottom: 1.5rem;
}
.hero-description {
  font-size: 1.0625rem;
  opacity: .85;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll-line {
  display: block;
  width: 2px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,.6), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Sections --- */
.section { padding: 6rem 0; }
.section-alt    { background: var(--cream); }
.section-green  {
  background: linear-gradient(140deg, var(--green-dark) 0%, var(--green-primary) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-primary);
  padding: .35rem 1rem;
  border-radius: 2rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag-light { background: rgba(255,255,255,.2); color: var(--white); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title-light { color: var(--white); }
.section-lead { font-size: 1.0625rem; color: var(--text-medium); line-height: 1.75; }

/* --- Phases --- */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.phase-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.phase-number {
  font-family: var(--font-head);
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  user-select: none;
}
.phase-icon { font-size: 2rem; margin-bottom: 1rem; }
.phase-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: .625rem;
}
.phase-card p { color: var(--text-medium); font-size: .9375rem; line-height: 1.65; }
.phase-progress { margin-top: 1.25rem; }
.progress-bar {
  background: var(--green-pale);
  border-radius: 2rem;
  height: 8px;
  overflow: hidden;
  margin-bottom: .4rem;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-medium), var(--green-light));
  border-radius: 2rem;
}
.phase-progress span { font-size: .8125rem; color: var(--text-light); font-weight: 500; }

/* Phase badges */
.phase-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 2rem;
  margin-bottom: .875rem;
  letter-spacing: .03em;
}
.badge-done     { background: #d4edda; color: #155724; }
.badge-progress { background: #fff3cd; color: #856404; }
.badge-pending  { background: #e9ecef; color: #6c757d; }

/* Done card: subtle green tint */
.phase-card.phase-done {
  border-color: #b8daab;
  background: linear-gradient(160deg, #ffffff 60%, #f2faea 100%);
}
/* Pending card: muted */
.phase-card.phase-pending {
  opacity: .85;
}
.phase-card.phase-pending .phase-number { color: #e9ecef; }

/* --- Parrainage CTA --- */
.parrainage-cta {
  background: linear-gradient(135deg, var(--green-pale) 0%, #d8eec4 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
}
.parrainage-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.parrainage-inner h3 {
  font-family: var(--font-head);
  font-size: 1.625rem;
  color: var(--green-dark);
  margin-bottom: .625rem;
}
.parrainage-inner p { color: var(--text-medium); max-width: 560px; font-size: .9375rem; }

/* --- Photo gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 240px 240px;
  gap: .75rem;
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--green-pale);
}
.gallery-item:first-child { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- Articles --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--green-light);
}
.article-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-meta {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.article-source {
  background: var(--green-pale);
  color: var(--green-primary);
  padding: .2rem .75rem;
  border-radius: 2rem;
  font-size: .8rem;
  font-weight: 600;
}
.article-date { color: var(--text-light); font-size: .8rem; }
/* Video card */
.article-card--video .video-thumb {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.article-card--video .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: opacity var(--transition);
}
.article-card--video .video-thumb:hover img { opacity: .65; }
.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.video-play-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  font-size: 1.25rem;
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform var(--transition), background var(--transition);
}
.video-thumb:hover .video-play-btn span {
  transform: scale(1.1);
  background: var(--white);
}
.article-source--video { background: #fde8e8; color: #c0392b; }

/* ppnm highlight link in footer */
.footer-link-highlight {
  color: var(--gold-light) !important;
  font-weight: 600 !important;
}
.footer-link-highlight:hover { color: var(--white) !important; }

.article-author {
  font-size: .8rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: .625rem;
}
.article-title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .625rem;
  line-height: 1.4;
}
.article-excerpt { color: var(--text-medium); font-size: .9rem; line-height: 1.65; margin-bottom: 1.25rem; flex: 1; }
.article-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  color: var(--green-primary);
  font-size: .9rem;
  font-weight: 600;
  margin-top: auto;
  transition: gap var(--transition);
}
.article-link:hover { gap: .625rem; color: var(--green-dark); }
.article-link::after { content: '→'; }

.articles-more {
  text-align: center;
  margin-top: 2.5rem;
}
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  padding: .875rem 2.25rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-green:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Partners --- */
.partners-track-container {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0;
}
.partners-track-container::before,
.partners-track-container::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners-track-container::before { left: 0;  background: linear-gradient(to right, var(--white), transparent); }
.partners-track-container::after  { right: 0; background: linear-gradient(to left,  var(--white), transparent); }
.section-alt .partners-track-container::before { background: linear-gradient(to right, var(--cream), transparent); }
.section-alt .partners-track-container::after  { background: linear-gradient(to left,  var(--cream), transparent); }

.partners-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 35s linear infinite;
  animation-play-state: paused; /* démarré par JS après mesure */
}
.partners-track:hover { animation-play-state: paused !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-shift, -50%)); }
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: 140px;
}
.partner-logo {
  height: 56px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(40%) opacity(.8);
  transition: filter var(--transition), transform var(--transition);
}
.partner-item:hover .partner-logo { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
.partner-name { font-size: .8rem; color: var(--text-light); font-weight: 500; text-align: center; }
.partner-placeholder {
  width: 140px;
  height: 56px;
  background: var(--green-pale);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .75rem;
  text-align: center;
  padding: .5rem;
}

/* --- Don Section --- */
.don-content {
  display: flex;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}
.don-text { flex: 1; min-width: 280px; }
.don-text p { opacity: .9; margin-bottom: 1.5rem; font-size: 1.0625rem; }
.don-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.don-liste li {
  opacity: .9;
  font-size: .9375rem;
  padding-left: 1.5rem;
  position: relative;
}
.don-liste li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-light); font-weight: 700; }
.don-action { flex-shrink: 0; }

/* --- Contact --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: .2rem; }
.contact-item strong { display: block; font-weight: 600; color: var(--green-dark); margin-bottom: .25rem; font-size: .9375rem; }
.contact-item a,
.contact-item span { color: var(--text-medium); font-size: .9375rem; line-height: 1.6; }
.social-links { display: flex; gap: .625rem; margin-top: .5rem; flex-wrap: wrap; }
.social-link {
  background: var(--green-pale);
  color: var(--green-primary);
  padding: .3rem .875rem;
  border-radius: 2rem;
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.social-link:hover { background: var(--green-primary); color: var(--white); }

/* --- Form --- */
.contact-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .425rem;
  margin-bottom: 1.5rem;
}
.form-group:last-child { margin-bottom: 0; }

label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark);
}
input, select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: auto;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(61,107,33,.12);
}
textarea { resize: vertical; min-height: 120px; }

.form-consent { margin-bottom: 1.5rem; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; pointer-events: none; }
.checkbox-label {
  display: flex;
  gap: .75rem;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-medium);
  line-height: 1.55;
  align-items: flex-start;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: .15rem;
  accent-color: var(--green-primary);
  cursor: pointer;
}

.form-message {
  padding: .875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1rem;
  display: none;
}
.form-message.success { display: block; background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error   { display: block; background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* --- Footer --- */
.footer { background: var(--green-dark); color: rgba(255,255,255,.8); }
.footer-main { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
}

.footer-logos { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
}
.footer-logo {
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-logo-slot.placeholder .footer-logo { display: none; }
.logo-slot-label {
  display: none;
  padding: .5rem 1rem;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.footer-logo-slot.placeholder .logo-slot-label { display: block; }

.footer-desc { font-size: .9rem; line-height: 1.75; opacity: .75; margin-bottom: .875rem; }
.footer-logo-slot { transition: opacity var(--transition); }
a.footer-logo-slot:hover { opacity: .75; }
.footer-assoc-link {
  display: block;
  color: var(--gold-light);
  font-size: .875rem;
  font-weight: 500;
  margin-bottom: .375rem;
}
.footer-assoc-link:hover { color: var(--white); }
.footer-email { color: rgba(255,255,255,.6); font-size: .875rem; }
.footer-email:hover { color: var(--white); }

.footer-nav h4,
.footer-infos h4,
.footer-creator h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.125rem;
  font-weight: 600;
}
.footer-nav ul li,
.footer-infos ul li { margin-bottom: .5rem; }
.footer-nav ul a,
.footer-infos ul a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-nav ul a:hover,
.footer-infos ul a:hover { color: var(--white); padding-left: .25rem; }

.footer-don-btn {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: .9rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
}
.footer-don-btn:hover { color: var(--white); }

.arost-link {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
  text-decoration: none;
}
.arost-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}
.arost-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.footer-creator-desc {
  font-size: .85rem;
  opacity: .7;
  line-height: 1.7;
}
.footer-creator-desc a { color: rgba(255,255,255,.8); text-decoration: underline; }
.footer-creator-desc a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .8125rem; opacity: .55; }
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: var(--white); }

/* --- HelloAsso Modal --- */
.ha-modal {
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px) brightness(.5);
  z-index: 9999;
}
.ha-modal-close {
  position: absolute;
  top: .75rem;
  right: 1.5rem;
  z-index: 10000;
  background: #EFEFF4;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: background var(--transition);
}
.ha-modal-close:hover { background: #E0E0E8; }
.ha-modal-close:focus-visible { outline: 3px solid var(--green-primary); }
.ha-modal-content {
  position: relative;
  width: 100%;
  max-width: 950px;
  height: 90vh;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 1rem;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-toggle { display: flex; z-index: 950; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    transition: right .3s var(--ease);
    box-shadow: -4px 0 24px rgba(0,0,0,.2);
    gap: .125rem;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: rgba(255,255,255,.9) !important; width: 100%; padding: .875rem 1rem; }
  .navbar.scrolled .nav-link { color: rgba(255,255,255,.9) !important; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .phases-grid { grid-template-columns: 1fr; }
  .parrainage-inner { flex-direction: column; align-items: flex-start; padding: 0; }
  .parrainage-cta { padding: 2rem 1.75rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 220px; }
  .gallery-item:first-child { grid-row: span 1; }

  .articles-grid { grid-template-columns: 1fr; }

  .don-content { flex-direction: column; gap: 2.5rem; text-align: center; }
  .don-liste { text-align: left; }
  .don-action { width: 100%; }
  .btn-gold.btn-large { width: 100%; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero > .container { padding-top: 6.5rem; padding-bottom: 3rem; }
  .hero-title { font-size: 2.75rem; }
  .contact-form { padding: 1.25rem; }
}

/* --- Print --- */
@media print {
  .navbar, .hero-scroll, .ha-modal, .btn { display: none !important; }
  .hero { min-height: auto; padding: 2rem 0; }
  .hero-overlay { display: none; }
  .hero-content, .hero-title, .hero-subtitle, .hero-description { color: var(--text-dark); text-shadow: none; }
}
