/* ==========================================================================
   BAR À COCO — Nouvelles parties & animations au défilement
   Histoire de la Somone, Oiseaux, Activités, Nos actions, Baobab Horizon.
   Les animations sont activées par effets.js (classe .fx-ready sur <html>) :
   sans JavaScript, tout le contenu reste visible.
   ========================================================================== */

/* ---------- Barre de progression de lecture ---------- */
.fx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100000;
  pointer-events: none;
}

.fx-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-sun-yellow), var(--color-terracotta), #2CA58D);
  box-shadow: 0 0 12px rgba(244, 179, 56, 0.6);
}

/* ---------- Apparition au défilement ----------
   On anime « translate » et « scale » (et non « transform ») : les effets de survol
   des cartes, écrits avec transform, continuent donc de marcher après l'apparition. */
.fx-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    rotate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s, 0s, 0s;
}

.fx-ready [data-reveal="up"] { translate: 0 40px; }
.fx-ready [data-reveal="left"] { translate: -60px 0; }
.fx-ready [data-reveal="right"] { translate: 60px 0; }
.fx-ready [data-reveal="zoom"] { translate: 0 30px; scale: 0.88; }

.fx-ready [data-reveal].is-in {
  opacity: 1;
  translate: none;
  scale: none;
}

/* Rien ne doit dépasser sur le côté pendant les apparitions (« clip » garde l'en-tête collant) */
html,
body {
  overflow-x: clip;
}

@media (max-width: 991px) {
  .fx-ready [data-reveal="left"]:not(.is-in),
  .fx-ready [data-reveal="right"]:not(.is-in) {
    translate: 0 40px;
  }
}

/* Titre du haut qui apparaît lettre par lettre (effets.js découpe le texte) */
.fx-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(6deg);
  animation: fxLetterIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 28ms + 150ms);
}

@keyframes fxLetterIn {
  to { opacity: 1; transform: none; }
}

.fx-ready .hero-bg-img {
  will-change: transform;
  transition: none; /* l'effet de profondeur suit le doigt sans retard */
}

.fx-word {
  display: inline-block;
  white-space: nowrap;
}

/* Liens de la carte « La Somone » */
a.somone-pill {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

a.somone-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Bandeau de chiffres ---------- */
.sm-stats-band {
  position: relative;
  padding: 46px 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(44, 165, 141, 0.35), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(244, 179, 56, 0.22), transparent 55%),
    var(--color-green-dark);
  color: #FFFFFF;
  overflow: hidden;
}

.sm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.sm-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sm-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 1px;
  color: var(--color-sun-yellow);
}

.sm-stat-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Histoire : frise ---------- */
.sm-history {
  background: var(--color-cream-bg);
}

.sm-timeline {
  position: relative;
  list-style: none;
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.sm-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: rgba(17, 61, 47, 0.12);
}

.sm-timeline-progress {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 0;
  transform: scaleY(0);
  border-radius: 3px;
  background: linear-gradient(180deg, #2CA58D, var(--color-sun-yellow), var(--color-terracotta));
}

.sm-step {
  position: relative;
  width: 50%;
  padding-right: 44px;
}

.sm-step:nth-child(odd) {
  align-self: flex-end;
  padding-right: 0;
  padding-left: 44px;
}

.sm-step-dot {
  position: absolute;
  top: 26px;
  right: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-cream-bg);
  border: 4px solid var(--color-terracotta);
  box-shadow: 0 0 0 6px rgba(217, 91, 48, 0.12);
  z-index: 1;
}

.sm-step:nth-child(odd) .sm-step-dot {
  right: auto;
  left: -11px;
}

.sm-step-card {
  background: #FFFFFF;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sm-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sm-step-when {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-sun-soft);
  color: #9A6A0E;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sm-step-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-green-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.sm-step-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Oiseaux ---------- */
.sm-birds {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #EAF4F1 0%, var(--color-cream-bg) 70%);
}

/* Vol d'oiseaux qui traverse la section */
.sm-flock {
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  pointer-events: none;
}

.sm-flock-bird {
  position: absolute;
  left: -60px;
  width: 38px;
  fill: rgba(17, 61, 47, 0.22);
  animation: smFly 22s linear infinite, smFlap 0.9s ease-in-out infinite alternate;
}

.sm-flock-bird.b1 { top: 40px; animation-delay: 0s, 0s; }
.sm-flock-bird.b2 { top: 70px; width: 28px; animation-delay: -4s, -0.3s; }
.sm-flock-bird.b3 { top: 25px; width: 22px; animation-delay: -9s, -0.5s; }
.sm-flock-bird.b4 { top: 110px; width: 32px; animation-delay: -14s, -0.2s; }
.sm-flock-bird.b5 { top: 55px; width: 18px; animation-delay: -18s, -0.7s; }

@keyframes smFly {
  0% { transform: translate(0, 0); }
  50% { transform: translate(55vw, -30px); }
  100% { transform: translate(115vw, 10px); }
}

@keyframes smFlap {
  from { scale: 1 1; }
  to { scale: 1 0.55; }
}

.sm-birds .container {
  position: relative;
}

.sm-birds-track-wrap {
  margin: 0 -20px;
}

.sm-birds-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 14px 20px 26px;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}

.sm-birds-track::-webkit-scrollbar {
  display: none;
}

.sm-birds-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.sm-bird-card {
  --bird: var(--color-green-primary);
  position: relative;
  flex: 0 0 270px;
  scroll-snap-align: start;
  padding: 24px 22px 22px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid rgba(17, 61, 47, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  user-select: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.sm-bird-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--bird) 30%, transparent) 0, transparent 48%);
  pointer-events: none;
}

.sm-bird-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.sm-bird-rank {
  position: absolute;
  top: 14px;
  left: 18px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(17, 61, 47, 0.12);
}

.sm-bird-sil {
  position: relative;
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  fill: var(--bird);
  filter: drop-shadow(0 8px 14px rgba(17, 61, 47, 0.18));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sm-bird-card:hover .sm-bird-sil {
  transform: scale(1.08) rotate(-3deg);
}

.sm-bird-card h3 {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--color-green-primary);
}

.sm-bird-card em {
  display: block;
  margin: 4px 0 10px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.sm-bird-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.sm-bird-season {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-green-soft);
  color: var(--color-green-primary);
  font-size: 0.76rem;
  font-weight: 800;
}

.sm-birds-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
}

.sm-birds-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-primary);
  color: #FFFFFF;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.sm-birds-arrow:hover {
  background: var(--color-terracotta);
  transform: scale(1.06);
}

.sm-birds-progress {
  width: min(260px, 50vw);
  height: 4px;
  border-radius: 4px;
  background: rgba(17, 61, 47, 0.12);
  overflow: hidden;
}

.sm-birds-progress span {
  display: block;
  height: 100%;
  width: 30%;
  border-radius: 4px;
  background: var(--color-terracotta);
  transition: transform 0.15s linear;
}

.sm-birds-more {
  margin-top: 46px;
  text-align: center;
}

.sm-subtitle {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-green-primary);
  margin-bottom: 16px;
}

.sm-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

.sm-chips li {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: var(--border-light);
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.sm-chips li:hover {
  transform: translateY(-2px);
  background: var(--color-green-primary);
  color: #FFFFFF;
}

.sm-chips small {
  opacity: 0.7;
}

.sm-birds-tips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.sm-tip {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: var(--border-light);
  backdrop-filter: blur(6px);
}

.sm-tip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--color-green-primary);
  color: var(--color-sun-yellow);
}

.sm-tip h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-green-primary);
  margin-bottom: 6px;
}

.sm-tip p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.sm-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* ---------- Activités ---------- */
.sm-act-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sm-act-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: var(--border-light);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow var(--transition-normal);
}

.sm-act-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Reflet qui suit la souris (effets.js règle --mx / --my) */
.sm-act-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(244, 179, 56, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.sm-act-card:hover::after {
  opacity: 1;
}

.sm-act-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-sun-gold));
  color: #FFFFFF;
  box-shadow: var(--shadow-warm);
}

.sm-act-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--color-green-primary);
  line-height: 1.05;
  margin-bottom: 8px;
}

.sm-act-card p {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.sm-act-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px dashed rgba(17, 61, 47, 0.16);
}

.sm-act-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.sm-act-contact {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-green-primary);
  text-decoration: none;
}

a.sm-act-contact:hover {
  color: var(--color-terracotta);
}

.sm-act-contact.is-pending {
  color: var(--color-text-light);
  font-style: italic;
  font-weight: 600;
}

/* ---------- Nos partenaires (Baobab Horizon + Les Aventuriers du Saloum) ---------- */
.sm-partners {
  margin-top: 36px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-green-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.sm-partners-head {
  margin-bottom: 18px;
}

.sm-partners-head h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin-top: 2px;
}

.sm-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sm-partner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sm-partner-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.sm-partner-text {
  flex: 1;
  min-width: 0;
}

.sm-partner-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-sun-yellow);
}

.sm-partner h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 4px 0 6px;
}

.sm-partner p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.sm-partner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--color-sun-yellow);
  color: var(--color-green-dark);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.sm-partner-btn:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.partner-excursion {
  margin-top: 10px;
}

.partner-excursion a {
  color: var(--color-sun-yellow);
  font-weight: 700;
}

@media (max-width: 760px) {
  .sm-partners {
    padding: 22px 16px;
  }
  .sm-partners-grid {
    grid-template-columns: 1fr;
  }
  .sm-partner {
    padding: 18px 16px;
  }
  .sm-partner-btn {
    width: 100%;
    justify-content: center;
  }
}
/* ---------- Nos actions (dans Solidarité) ---------- */
.sm-actions {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sm-actions-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.sm-actions-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-sun-yellow);
}

.sm-actions-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.sm-actions-head p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.sm-actions-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.sm-action {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.sm-action-date {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-sun-yellow);
}

.sm-action h4 {
  margin: 6px 0;
  font-size: 1.05rem;
}

.sm-action p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.sm-action-place {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.sm-actions-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.sm-actions-empty-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(244, 179, 56, 0.18);
  color: var(--color-sun-yellow);
  animation: smPulse 2.4s ease-in-out infinite;
}

@keyframes smPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 179, 56, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(244, 179, 56, 0); }
}

.sm-actions-empty p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Baobab Horizon ---------- */
.bh-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: #071A14;
  color: #FFFFFF;
  isolation: isolate;
}

.bh-aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: bhFloat 16s ease-in-out infinite alternate;
}

.bh-blob-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -120px;
  background: #1E5C47;
}

.bh-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  right: -80px;
  background: var(--color-terracotta);
  opacity: 0.35;
  animation-delay: -5s;
}

.bh-blob-3 {
  width: 320px;
  height: 320px;
  top: 30%;
  left: 45%;
  background: var(--color-sun-yellow);
  opacity: 0.18;
  animation-delay: -9s;
}

@keyframes bhFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

.bh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.bh-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}

.bh-phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.bh-phone {
  position: relative;
  width: 290px;
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(145deg, #1D2B26, #0B1411);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-14deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  animation: bhHover 6s ease-in-out infinite;
}

@keyframes bhHover {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.bh-phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 92px;
  height: 24px;
  margin-left: -46px;
  border-radius: 14px;
  background: #050A08;
  z-index: 2;
}

.bh-phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF6EE, #F1E8D6);
  padding: 50px 18px 22px;
}

.bh-voucher {
  text-align: center;
  color: var(--color-green-primary);
}

.bh-voucher-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.bh-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #15803D;
}

.bh-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: smPulse 1.8s ease-in-out infinite;
}

.bh-voucher-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.bh-voucher-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 10px 0 14px;
  line-height: 1;
}

.bh-qr {
  position: relative;
  display: block;
  width: 180px;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(17, 61, 47, 0.15);
  overflow: hidden;
}

.bh-qr img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.bh-qr-scan {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-terracotta), transparent);
  box-shadow: 0 0 14px 4px rgba(217, 91, 48, 0.45);
  animation: bhScan 2.6s ease-in-out infinite;
}

@keyframes bhScan {
  0%, 100% { top: 10px; }
  50% { top: calc(100% - 13px); }
}

.bh-qr-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--color-green-primary);
}

.bh-qr-corner.c1 { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.bh-qr-corner.c2 { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.bh-qr-corner.c3 { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.bh-qr-corner.c4 { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

.bh-voucher-code {
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.bh-voucher-hint {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.bh-phone-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  width: 220px;
  height: 30px;
  margin-left: -110px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(18px);
  animation: bhShadow 6s ease-in-out infinite;
}

@keyframes bhShadow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(0.85); opacity: 0.4; }
}

.bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-sun-yellow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  backdrop-filter: blur(6px);
}

.bh-title {
  margin: 18px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bh-gradient-text {
  background: linear-gradient(90deg, var(--color-sun-yellow), var(--color-terracotta), #F4B338, #2CA58D);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bhShine 7s linear infinite;
}

@keyframes bhShine {
  to { background-position: 300% 0; }
}

.bh-lead {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.bh-lead strong {
  color: #FFFFFF;
}

.bh-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.bh-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.bh-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.bh-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(244, 179, 56, 0.16);
  color: var(--color-sun-yellow);
}

.bh-feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.bh-feature p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.bh-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.bh-btn-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-sun-yellow), var(--color-terracotta));
  color: #FFFFFF;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(217, 91, 48, 0.4);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.bh-btn-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: bhGlint 3.5s ease-in-out infinite;
}

@keyframes bhGlint {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

.bh-btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(217, 91, 48, 0.5);
}

.bh-btn-ghost {
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.bh-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

.bh-btn-link {
  padding: 10px 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.bh-btn-link:hover {
  color: var(--color-sun-yellow);
}

/* ==========================================================================
   ANCIENNES PARTIES MODERNISÉES
   (effets.js leur ajoute data-reveal, data-tilt, data-parallax et fx-shine)
   ========================================================================== */

/* ---------- Menu : soulignement animé ---------- */
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-sun-yellow), var(--color-terracotta));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.site-header.scrolled {
  background-color: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

/* ---------- Boutons : reflet lumineux qui passe ---------- */
.fx-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.fx-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  animation: fxShine 5s ease-in-out infinite;
}

.fx-shine:hover::after {
  animation-duration: 1.1s;
}

@keyframes fxShine {
  0%, 70% { left: -75%; }
  100% { left: 130%; }
}

/* ---------- Haut de page : bulles de lumière qui montent ---------- */
.fx-bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.fx-bubbles span {
  position: absolute;
  bottom: -30px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(244, 179, 56, 0.35) 60%, transparent 70%);
  opacity: 0;
  animation: fxBubble var(--t) linear var(--delay) infinite;
}

@keyframes fxBubble {
  0% { translate: 0 0; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% { translate: var(--drift) -105vh; opacity: 0; }
}

/* ---------- Bandeau qui défile ---------- */
.fx-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 9px 0;
  background: var(--color-green-primary);
}

.fx-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  white-space: nowrap;
  animation: fxMarquee 32s linear infinite;
  will-change: transform;
}

.fx-marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 2px;
  line-height: 1;
  color: #FFFFFF;
}

.fx-marquee-track span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-sun-yellow);
}

.fx-marquee-track i {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--color-terracotta);
}

@keyframes fxMarquee {
  to { transform: translateX(-50%); }
}

/* ---------- Effet « projecteur » qui suit la souris sur les cartes ---------- */
.fx-spot {
  position: relative;
}

.fx-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 179, 56, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.fx-spot:hover::before {
  opacity: 1;
}

/* ---------- Valeurs (4 piliers) ---------- */
.pillar-card {
  position: relative;
  overflow: hidden;
}

.pillar-card .pillar-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2CA58D, var(--color-sun-yellow), var(--color-terracotta));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover .pillar-content::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  box-shadow: var(--shadow-lg);
}

/* ---------- Concept : photo qui se dévoile + badge qui flotte ---------- */
.fx-ready .experience-visual-col .visual-card-wrapper {
  clip-path: inset(0 100% 0 0 round 20px);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1) 0.15s;
}

.fx-ready .experience-visual-col.is-in .visual-card-wrapper {
  clip-path: inset(0 0 0 0 round 20px);
}

.floating-badge-glass {
  animation: fxBob 5s ease-in-out infinite;
}

@keyframes fxBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.experience-point-item {
  transition: transform var(--transition-normal);
}

.experience-point-item:hover {
  transform: translateX(8px);
}

.point-number-bullet {
  transition: background var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}

.experience-point-item:hover .point-number-bullet {
  background: var(--color-terracotta);
  color: #FFFFFF;
  transform: rotate(-8deg) scale(1.08);
}

/* Photos avec effet de profondeur (effets.js règle « translate ») */
[data-parallax] {
  scale: 1.14;
  will-change: translate;
}

/* ---------- L'expérience en 4 étapes ---------- */
.step-img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 38, 29, 0.55));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.step-card:hover .step-img-box::after {
  opacity: 1;
}

.step-number-badge {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition-normal);
}

.step-card:hover .step-number-badge {
  transform: rotate(360deg) scale(1.12);
  background: var(--color-terracotta);
}

/* ---------- Spot photo : cartes façon polaroïd ---------- */
.insta-feed-grid .insta-card:nth-child(odd) { rotate: -2.5deg; }
.insta-feed-grid .insta-card:nth-child(even) { rotate: 2deg; }

.insta-feed-grid .insta-card:hover {
  rotate: 0deg;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.insta-action-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-terracotta), #E8843F, var(--color-terracotta));
  background-size: 200% 100%;
  animation: fxBannerFlow 8s ease-in-out infinite alternate;
}

@keyframes fxBannerFlow {
  to { background-position: 100% 0; }
}

.btn-tag {
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-tag:hover {
  transform: translateY(-2px) scale(1.04);
}

/* ---------- La Somone ---------- */
.somone-photo-card .lagoon-caption-badge {
  animation: fxBob 6s ease-in-out infinite;
}

/* ---------- Engagements éco ---------- */
.eco-card {
  position: relative;
  overflow: hidden;
}

.eco-card .eco-card-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-sun-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.eco-card:hover {
  background-color: var(--color-green-primary);
  box-shadow: var(--shadow-lg);
}

.eco-card:hover .eco-card-number {
  transform: scale(1.25) rotate(-6deg);
}

.eco-card .eco-card-title,
.eco-card .eco-card-desc {
  transition: color var(--transition-normal);
}

.eco-card:hover .eco-card-title {
  color: var(--color-sun-yellow);
}

.eco-card:hover .eco-card-desc {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Solidarité ---------- */
.highlight-stat-banner .stat-number {
  text-shadow: 0 0 30px rgba(244, 179, 56, 0.45);
}

.btn-amount-match {
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-amount-match:hover {
  transform: translateY(-2px);
}

.btn-amount-match.active {
  box-shadow: 0 0 0 4px rgba(244, 179, 56, 0.25);
}

/* ---------- Événements ---------- */
.event-type-card .event-badge-num {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-type-card:hover .event-badge-num {
  transform: scale(1.15) rotate(-8deg);
}

.booking-form .form-input {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.booking-form .form-input:focus {
  box-shadow: 0 0 0 4px rgba(217, 91, 48, 0.15);
  transform: translateY(-1px);
}

/* ---------- Galerie : reflet qui traverse la photo au survol ---------- */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.gallery-item:hover::after {
  left: 130%;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

/* ---------- Pied de page : sans la frise à motifs (on garde l'espace) ---------- */
.pattern-divider-footer {
  height: 0;
  background: none;
}

/* ---------- Pied de page : rosace qui tourne lentement ---------- */
.footer-mandala-img {
  animation: fxSpin 40s linear infinite;
}

@keyframes fxSpin {
  to { rotate: 360deg; }
}

/* ---------- Petits losanges des titres qui apparaissent un par un ---------- */
.fx-ready [data-reveal] .diamond-divider span {
  display: inline-block;
  scale: 0;
  rotate: -180deg;
  transition: scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), rotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fx-ready [data-reveal].is-in .diamond-divider span {
  scale: 1;
  rotate: 0deg;
}

.fx-ready [data-reveal].is-in .diamond-divider span:nth-child(1) { transition-delay: 0.3s; }
.fx-ready [data-reveal].is-in .diamond-divider span:nth-child(2) { transition-delay: 0.42s; }
.fx-ready [data-reveal].is-in .diamond-divider span:nth-child(3) { transition-delay: 0.54s; }

/* ---------- Badge flottant Baobab Horizon (remplace l'ancien style) ---------- */
.baobab-widget.bh-float {
  padding: 0;
  gap: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  box-shadow: 0 14px 34px rgba(7, 26, 20, 0.35);
  animation: bhFloatIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s backwards;
}

@keyframes bhFloatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: none; }
}

.baobab-widget.bh-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 26, 20, 0.45);
}

.bh-float-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(7, 26, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  overflow: hidden;
  isolation: isolate;
}

/* Bordure lumineuse qui tourne autour du badge */
.bh-float-ring {
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: conic-gradient(from var(--bh-angle, 0deg), #2CA58D, var(--color-sun-yellow), var(--color-terracotta), #2CA58D);
  animation: bhSpin 4s linear infinite;
}

.bh-float-link::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: #0B211A;
}

@property --bh-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes bhSpin {
  to { --bh-angle: 360deg; }
}

.bh-float-icon.baobab-svg-container {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #FAF6EE, #EFE4CF);
  color: var(--color-terracotta);
}

.bh-float-icon .baobab-svg {
  transform-origin: 50% 100%;
  animation: bhSway 4s ease-in-out infinite;
}

@keyframes bhSway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

.bh-float-text.baobab-text span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-sun-yellow);
}

.bh-float-text.baobab-text strong {
  font-size: 1rem;
  line-height: 1.15;
  color: #FFFFFF;
}

.bh-float-text em {
  max-height: 0;
  overflow: hidden;
  font-style: normal;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
  transition: max-height var(--transition-normal);
}

.bh-float-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  transition: background var(--transition-fast), transform var(--transition-normal);
}

.bh-float-link:hover .bh-float-text em {
  max-height: 20px;
}

.bh-float-link:hover .bh-float-arrow {
  background: var(--color-terracotta);
  transform: rotate(45deg);
}

/* Téléphone / tablette : le badge reste visible, en version compacte,
   à gauche au-dessus de la barre du bas (la bulle WhatsApp est à droite) */
@media (max-width: 991px) {
  .baobab-widget.bh-float {
    display: flex;
    left: 12px;
    bottom: 84px;
  }
  .bh-float-link {
    gap: 8px;
    padding: 5px 8px 5px 5px;
  }
  .bh-float-icon.baobab-svg-container {
    width: 34px;
    height: 34px;
  }
  .bh-float-text.baobab-text span {
    font-size: 0.55rem;
    letter-spacing: 1px;
  }
  .bh-float-text.baobab-text strong {
    font-size: 0.86rem;
  }
  .bh-float-arrow {
    width: 24px;
    height: 24px;
    margin-left: 0;
  }
}

/* ---------- Tablette ---------- */
@media (max-width: 991px) {
  .sm-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .sm-birds-tips,
  .sm-act-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bh-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .bh-content {
    text-align: center;
  }
  .bh-lead {
    margin: 0 auto;
  }
  .bh-actions {
    justify-content: center;
  }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
  /* Frise sur une seule colonne, ligne à gauche */
  .sm-timeline-line {
    left: 11px;
  }
  .sm-step,
  .sm-step:nth-child(odd) {
    width: 100%;
    align-self: stretch;
    padding-left: 38px;
    padding-right: 0;
  }
  .sm-step-dot,
  .sm-step:nth-child(odd) .sm-step-dot {
    left: 0;
    right: auto;
  }
  .fx-ready .sm-step[data-reveal="left"],
  .fx-ready .sm-step[data-reveal="right"] {
    translate: 0 40px;
  }
  .fx-ready .sm-step.is-in {
    translate: none;
  }
  .sm-step-card {
    padding: 18px;
  }
  .sm-bird-card {
    flex-basis: 78%;
  }
  .sm-birds-tips,
  .sm-act-grid,
  .bh-features {
    grid-template-columns: 1fr;
  }
  .bh-section {
    padding: 80px 0;
  }
  .bh-phone {
    width: 250px;
    transform: none;
  }
  .bh-voucher-top {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }
  .bh-feature {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .bh-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .bh-btn-main {
    justify-content: center;
  }
  .sm-actions-empty {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Si la personne a demandé moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-ready [data-reveal] {
    opacity: 1;
    translate: none;
    scale: none;
    transition: none;
  }
  .fx-letter {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .sm-flock,
  .bh-qr-scan,
  .bh-btn-main::before,
  .fx-bubbles,
  .fx-shine::after {
    display: none;
  }
  .fx-marquee-track,
  .floating-badge-glass,
  .lagoon-caption-badge,
  .insta-action-banner,
  .footer-mandala-img {
    animation: none;
  }
  .fx-ready .experience-visual-col .visual-card-wrapper {
    clip-path: none;
  }
  .fx-ready [data-reveal] .diamond-divider span {
    scale: 1;
    rotate: 0deg;
  }
  [data-parallax] {
    scale: 1;
  }
  .bh-blob,
  .bh-phone,
  .bh-phone-shadow,
  .bh-float-ring,
  .bh-float-icon .baobab-svg,
  .baobab-widget.bh-float,
  .bh-gradient-text,
  .sm-actions-empty-icon,
  .bh-live i {
    animation: none;
  }
}

/* ==========================================================================
   SITE PLUS COURT (téléphone surtout) — novembre 2026
   ========================================================================== */

/* --- Éléments masqués pour l'instant (retirer la classe/l'attribut pour réafficher) --- */
.sm-actions[hidden],
.sl-extra {
  display: none !important;
}

/* --- Boutons « Voir toute l'histoire » / « En savoir plus » --- */
.sm-fold-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.sm-fold-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-green-primary);
  background: transparent;
  color: var(--color-green-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.sm-fold-btn:hover {
  background: var(--color-green-primary);
  color: #FFFFFF;
}

.sm-fold-btn svg {
  transition: transform var(--transition-normal);
}

.sm-fold-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* --- Histoire : seules les 2 premières étapes au départ --- */
.sm-timeline.is-collapsed .sm-step:nth-child(n+4) {
  display: none;
}

/* Ordinateur : les cartes de gauche et de droite s'emboîtent (frise 2 fois moins haute) */
@media (min-width: 641px) {
  .sm-timeline {
    gap: 0;
  }
  .sm-step + .sm-step {
    margin-top: -70px;
  }
  .sm-step-card {
    padding: 18px 22px;
  }
  .sm-step-card h3 {
    font-size: 1.5rem;
  }
  .sm-step-card p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* --- Oiseaux : bloc du bas --- */
/* Ordinateur : toujours ouvert, « On peut aussi y observer » à gauche, les conseils à droite */
.sm-fold-mobile-only {
  display: none;
}

@media (min-width: 992px) {
  .sm-fold {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 34px;
    align-items: start;
    margin-top: 40px;
  }
  .sm-fold .sm-birds-more {
    margin-top: 0;
    text-align: left;
  }
  .sm-fold .sm-chips {
    justify-content: flex-start;
  }
  .sm-fold .sm-birds-tips {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .sm-fold .sm-tip {
    padding: 16px 18px;
  }
  .sm-fold .sm-tip-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }
  .sm-fold .sm-note {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}

/* Téléphone / tablette : fermé par défaut, s'ouvre avec le bouton */
@media (max-width: 991px) {
  .sm-fold-mobile-only {
    display: flex;
  }
  .sm-fold.is-collapsed {
    display: none;
  }
}

/* --- Pied de page : nos partenaires --- */
.footer-partners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer-partner:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.footer-partner-logo {
  flex: 0 0 74px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 10px;
  background: #FFFFFF;
}

.footer-partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-partner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.footer-partner-text strong {
  font-size: 0.86rem;
}

.footer-partner-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- Scan QR plus compact --- */
.bh-features-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.bh-features-compact .bh-feature {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-pill);
}

.bh-features-compact .bh-feature p {
  display: none;
}

.bh-features-compact .bh-feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.bh-features-compact .bh-feature strong {
  font-size: 0.82rem;
  margin: 0;
}

@media (min-width: 992px) {
  .bh-section {
    padding: 70px 0;
  }
}

@media (max-width: 991px) {
  .bh-features-compact {
    justify-content: center;
  }
}

/* --- Téléphone --- */
@media (max-width: 640px) {
  /* Activités : on fait glisser les cartes du doigt */
  .sm-act-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 6px 20px 18px;
    scrollbar-width: none;
  }
  .sm-act-grid::-webkit-scrollbar {
    display: none;
  }
  .sm-act-card {
    flex: 0 0 76%;
    scroll-snap-align: center;
  }
  .fx-ready .sm-act-grid [data-reveal] {
    translate: none;
    opacity: 1;
  }

  /* Scan QR : téléphone plus petit, boutons côte à côte */
  .bh-section {
    padding: 56px 0;
  }
  .bh-layout {
    gap: 26px;
  }
  .bh-phone {
    zoom: 0.72;
  }
  .bh-title {
    font-size: 2.3rem;
  }
  .bh-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .bh-actions > a,
  .bh-actions > button {
    flex: 1 1 140px;
  }
  .bh-hide-mobile {
    display: none !important;
  }

  /* Spot photo : 2 colonnes, légendes plus courtes */
  .insta-header-layout {
    gap: 18px;
    margin-bottom: 26px;
  }
  .insta-feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
  }
  .insta-card-caption {
    padding: 10px;
  }
  .insta-card .caption-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.75rem;
  }

  /* Galerie : 2 colonnes, vignettes plus petites */
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery-item {
    height: 150px;
  }

  /* Solidarité : photo moins haute */
  .community-img {
    height: 170px;
  }

  /* Histoire : cartes plus serrées */
  .sm-timeline {
    gap: 18px;
  }
  .sm-step-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
/* --- Téléphone : allègements complémentaires --- */
@media (max-width: 575px) {
  /* Les 4 valeurs en 2 colonnes */
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .pillar-card {
    padding: 14px 12px;
  }
  .pillar-title {
    font-size: 1.05rem;
  }
  .pillar-desc {
    font-size: 0.74rem;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  /* Une coco, une expérience : on garde les titres des 3 points, sans le petit texte */
  .experience-point-item .point-text p {
    display: none;
  }
  .coconut-photo {
    max-height: 300px;
    object-fit: cover;
  }

  /* Spot photo : on retire le bloc hashtags et la bannière (déjà dit au-dessus) */
  .insta-header-right,
  .insta-action-banner {
    display: none;
  }

  /* Solidarité : le chiffre 80 % sans le long paragraphe */
  .highlight-stat-banner .stat-explanation p {
    display: none;
  }

  /* Pied de page : liens sur 2 colonnes, sans la rosace */
  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
  }
  .mandala-col {
    display: none;
  }
}
/* Bouton principal de la partie scan (bouton et non plus lien) */
button.bh-btn-main {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
}
