/* ============================================================
   RACINES ET AILES — Feuille de style principale
   style.css
============================================================ */

/* ============================================================
   VARIABLES & RESET
============================================================ */
:root {
  --navy:       #0d2240;
  --navy-mid:   #1a3a5c;
  --red:        #c0392b;
  --red-soft:   #d9534f;
  --teal:       #2a7a7a;
  --teal-light: #e8f4f4;
  --cream:      #faf8f4;
  --warm:       #f5f0e8;
  --text:       #2a2a2a;
  --text-mid:   #555;
  --text-light: #888;
  --border:     rgba(13,34,64,.10);
  --gold:       #b8963e;

  --ff-title: 'Cormorant Garamond', Georgia, serif;
  --ff-body:  'DM Sans', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--navy); color: #fff; }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.tag {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 4px 0;
}
.tag::before {
  content: '—';
  margin-right: 8px;
  color: var(--gold);
}

.section-title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .5em;
}
.section-title em {
  font-style: italic;
  color: var(--red);
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.8;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 20px 0 28px;
  border-radius: 2px;
}

/* ============================================================
   BOUTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease-out);
}
.btn .arrow {
  font-size: 1.1em;
  transition: transform .3s var(--ease-spring);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,34,64,.2);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  padding: 16px 36px;
}
.btn-red:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,.28);
}

/* ============================================================
   IMAGE PLACEHOLDERS
============================================================ */
.img-holder {
  width: 100%;
  background: var(--warm);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.img-holder:hover img { transform: scale(1.03); }

.placeholder-bg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: rgba(255,255,255,.4);
  font-family: var(--ff-title);
  font-style: italic;
  font-size: .88rem;
}

/* ============================================================
   ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .6; }
}

/* ============================================================
   HEADER / NAVIGATION
============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .4s, box-shadow .4s, padding .3s;
  padding: 20px 0;
}
#header.scrolled {
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(13,34,64,.08);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo PNG horizontal (ratio ~3:1 — 4140×1338px)
   Le fond est transparent, les couleurs du logo (navy + rouge) s'intègrent
   parfaitement sur le header clair */
.nav-logo-img {
  height: 44px;       /* hauteur fixe — largeur auto selon ratio */
  width: auto;
  display: block;
  object-fit: contain;
  /* Légère transition pour l'effet scroll */
  transition: height .3s var(--ease-out);
}

/* Logo légèrement réduit quand le header est scrollé */
#header.scrolled .nav-logo-img {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-mid);
  letter-spacing: .02em;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 500 !important;
  font-size: .85rem !important;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #a93226 !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s var(--ease-out);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease-out);
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.nav-mobile a {
  font-family: var(--ff-title);
  font-size: 2.2rem;
  color: #fff;
  padding: 14px 0;
  font-weight: 500;
  opacity: .85;
  transition: opacity .2s;
}
.nav-mobile a:hover { opacity: 1; }

/* ============================================================
   HERO
   Fond crème unifié des deux côtés — l'image s'intègre
   naturellement sans découpe ni rupture de couleur.
   Image : 1448 × 1086 px (ratio 4:3), fond beige clair.
============================================================ */
#accueil {
  background: var(--cream);
  padding-top: 80px;       /* compense le header fixe */
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 80px);
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 48px;
}

/* --- Gauche : texte --- */
.hero-left {
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13,34,64,.06);
  border: 1px solid rgba(13,34,64,.12);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-badge span {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-title {
  font-family: var(--ff-title);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 24px;
}
.hero-title .line-red {
  color: var(--red);
  font-style: italic;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero-pill {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 18px 6px 0;
  margin-right: 18px;
  position: relative;
  letter-spacing: .02em;
}
.hero-pill::after {
  content: '·';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 1.2em;
}
.hero-pill:last-child::after { display: none; }
.hero-pill:last-child { margin-right: 0; }

/* --- Droite : image ---
   contain = l'image entière est visible, sans rognage
   Le fond crème de la section est identique au fond de l'image  */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  /* Pas de object-fit : l'image s'affiche dans ses proportions natives */
  border-radius: 0;
  /* Légère ombre douce pour ancrer l'image sans la découper */
  filter: drop-shadow(0 8px 32px rgba(13,34,64,.08));
}

/* ============================================================
   SECTION À PROPOS
============================================================ */
#association {
  padding: 120px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img { position: relative; }
.about-img .img-holder { height: 520px; }
.about-img-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 200px; height: 200px;
  border: 3px solid var(--red);
  border-radius: 4px;
  opacity: .15;
  pointer-events: none;
}
.about-img-tag {
  position: absolute;
  top: 28px; left: -20px;
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-title);
  font-size: .85rem;
  font-style: italic;
  padding: 10px 20px;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(13,34,64,.2);
}

.about-text { padding-right: 20px; }
.about-text p {
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1.02rem;
}
.about-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stat-num {
  font-family: var(--ff-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-stat-label {
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   SECTION MISSION
============================================================ */
#mission {
  padding: 120px 0;
  background: var(--warm);
  position: relative;
  overflow: hidden;
}
#mission::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,122,122,.06) 0%, transparent 70%);
  pointer-events: none;
}

.mission-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}
.mission-header .divider { margin: 20px auto 28px; }

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mission-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,34,64,.06);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(13,34,64,.12);
}

.mission-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.mission-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .5s var(--ease-out);
}
.mission-card:hover .mission-card-img img {
  transform: scale(1.05);
}
.mission-card-num {
  position: absolute;
  bottom: 16px; right: 20px;
  font-family: var(--ff-title);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,.12);
  line-height: 1;
}

.mission-card-body { padding: 28px 28px 32px; }
.mission-card-body h3 {
  font-family: var(--ff-title);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.mission-card-body p { font-size: .93rem; color: var(--text-mid); line-height: 1.75; }
.mission-card-line { width: 32px; height: 2px; background: var(--red); margin-bottom: 16px; }

/* ============================================================
   SECTION VALEURS
============================================================ */
#valeurs {
  padding: 120px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#valeurs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(184,150,62,.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(42,122,122,.08) 0%, transparent 50%);
  pointer-events: none;
}

.valeurs-header { text-align: center; margin-bottom: 72px; }
.valeurs-header .section-title { color: #fff; }
.valeurs-header .tag { color: rgba(184,150,62,.9); }
.valeurs-header .tag::before { color: rgba(255,255,255,.3); }
.valeurs-header .divider { margin: 20px auto 0; background: linear-gradient(90deg, rgba(255,255,255,.3), transparent); }

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.valeur-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.valeur-item:hover { background: rgba(255,255,255,.07); }
.valeur-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.valeur-item:hover::before { transform: scaleX(1); }

.valeur-num {
  font-family: var(--ff-title);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,.05);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
}
.valeur-icon-line { width: 36px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.valeur-title {
  font-family: var(--ff-title);
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.valeur-text { font-size: .92rem; color: rgba(255,255,255,.6); line-height: 1.8; }

/* ============================================================
   SECTION ÉVÉNEMENT
   2 colonnes : texte à gauche / image à droite
   Image recommandée : 800 × 1000 px (portrait)
============================================================ */
#evenement {
  padding: 120px 0;
  background: var(--warm);
}

.event-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Colonne texte */
.event-text { }

.event-intro {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 520px;
}

.event-details {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.event-detail-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.event-detail-row:last-child { border-bottom: none; }

.event-detail-label {
  width: 120px;
  flex-shrink: 0;
  background: var(--cream);
  padding: 15px 18px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.event-detail-value {
  padding: 15px 22px;
  font-size: .95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.event-detail-value strong { font-weight: 500; }
.event-address {
  font-size: .82rem;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
}
.event-tarif {
  font-family: var(--ff-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.event-note {
  font-size: .78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 14px;
}
.event-note code {
  background: rgba(13,34,64,.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .78rem;
}

/* Colonne image */
.event-img-col { }

.event-img-frame {
  width: 100%;
  /* Ratio 1053:1493 ≈ 0.705 → on laisse l'image dicter sa hauteur */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(13,34,64,.18);
  position: relative;
}
.event-img-frame img {
  display: block;
  width: 100%;
  height: auto;        /* hauteur auto = pas de rognage, ratio respecté */
  object-fit: unset;
  border-radius: 8px;
}

/* ============================================================
   SECTION SOUTENIR
============================================================ */
#soutenir {
  padding: 120px 0;
  background: var(--cream);
}

.soutenir-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.soutenir-text .section-lead { margin-bottom: 40px; }

.soutenir-ways { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.soutenir-way { display: flex; align-items: flex-start; gap: 20px; }
.soutenir-way-num {
  font-family: var(--ff-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
}
.soutenir-way-content h4 {
  font-family: var(--ff-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.soutenir-way-content p { font-size: .88rem; color: var(--text-mid); }

.soutenir-visual { position: relative; }
.soutenir-img-main {
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
}
.soutenir-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .6s var(--ease-out);
}
.soutenir-visual:hover .soutenir-img-main img {
  transform: scale(1.03);
}

.soutenir-quote-card {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--navy);
  color: #fff;
  padding: 24px 28px;
  border-radius: 8px;
  max-width: 260px;
  box-shadow: 0 16px 40px rgba(13,34,64,.2);
}
.soutenir-quote-mark {
  font-family: var(--ff-title);
  font-size: 3rem;
  color: var(--gold);
  line-height: .8;
  margin-bottom: 8px;
}
.soutenir-quote-text {
  font-family: var(--ff-title);
  font-size: .95rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

/* ============================================================
   SECTION CONTACT
============================================================ */
#contact {
  padding: 120px 0;
  background: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info .section-lead { margin-bottom: 48px; }

.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-item-body strong {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.contact-item-body a,
.contact-item-body span {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 400;
  transition: color .2s;
}
.contact-item-body a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  font-family: var(--ff-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: 14px 18px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,34,64,.07);
  background: #fff;
}
.form-group textarea { min-height: 140px; }
.form-note { font-size: .78rem; color: var(--text-light); font-style: italic; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}

/* Logo dans le footer — fond navy foncé, le PNG transparent s'intègre
   mais les textes navy du logo seront peu visibles : on applique un filtre
   brightness pour les rendre blancs sur fond sombre */
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  /* Inverser les tons sombres pour lisibilité sur fond navy */
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-brand .nav-logo-name { color: #fff; font-size: 1.3rem; }
.footer-brand .nav-logo-slogan { color: rgba(255,255,255,.45); }
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }

.footer-contact-item { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-assoc-label { font-size: .78rem; color: rgba(255,255,255,.25); font-style: italic; }

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13,34,64,.25);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  z-index: 500;
  font-size: 1.1rem;
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top:hover { background: var(--red); transform: translateY(-2px); }

/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   Positionné à gauche, centré verticalement
   Ne gêne pas le contenu — z-index mesuré
============================================================ */
.whatsapp-btn {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 0 40px 40px 0;
  padding: 10px 16px 10px 10px;
  box-shadow: 2px 4px 20px rgba(37,211,102,.3);
  text-decoration: none;
  overflow: hidden;
  max-width: 48px;           /* replié par défaut — icône seule visible */
  transition: max-width .4s cubic-bezier(0.16,1,0.3,1),
              padding .4s cubic-bezier(0.16,1,0.3,1),
              box-shadow .3s;
  white-space: nowrap;
}

.whatsapp-btn:hover {
  max-width: 180px;          /* s'étend sur hover pour révéler le label */
  padding: 10px 20px 10px 10px;
  box-shadow: 4px 6px 28px rgba(37,211,102,.4);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.whatsapp-label {
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s .1s, transform .3s .1s;
  pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

/* Sur mobile : bouton plus petit, toujours visible */
@media (max-width: 768px) {
  .whatsapp-btn {
    top: auto;
    bottom: 90px;           /* au-dessus du scroll-top */
    transform: none;
    border-radius: 0 32px 32px 0;
    padding: 8px 12px 8px 8px;
    max-width: 44px;
  }
  .whatsapp-btn:hover {
    max-width: 160px;
    padding: 8px 16px 8px 8px;
  }
  .whatsapp-icon { width: 26px; height: 26px; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
    gap: 32px;
  }
  .hero-left { padding: 40px 0 0; }
  .hero-right { justify-content: flex-start; padding: 0 0 40px; }
  .hero-img { max-width: 100%; }

  /* Sections 2 colonnes → 1 colonne */
  .about-grid,
  .event-grid,
  .soutenir-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .about-img { order: -1; }
  .about-img .img-holder { height: 360px; }
  .about-img-accent { display: none; }

  .valeurs-grid { grid-template-columns: 1fr; }
  .mission-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .soutenir-quote-card { position: static; margin-top: 24px; max-width: 100%; }

  /* Événement : image en premier sur mobile */
  .event-img-col { order: -1; }
  .event-img-frame { aspect-ratio: 3 / 2; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #association, #mission, #valeurs, #evenement, #soutenir, #contact { padding: 80px 0; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .about-stats { flex-direction: column; gap: 20px; }
  .valeur-item { padding: 36px 24px; }
}
