/* ==========================================================
   E.V.A — Entraide et Valorisation des Associations
   Feuille de style principale
   ========================================================== */

:root {
  --purple-dark: #241350;
  --purple-darker: #1a0e3d;
  --purple-mid: #2f1c63;
  --purple-accent: #4b2fae;
  --blue-accent: #2851d6;
  --text-light: #cfc3f2;
  --text-lighter: #ffffff;
  --bg-light: #f7f6fb;
  --bg-white: #ffffff;
  --text-dark: #241350;
  --text-muted: #5b5470;
  --radius: 10px;
  --max-width: 1120px;
  --shadow: 0 10px 30px rgba(36, 19, 80, 0.08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  transition: opacity 0.35s ease;
}

/* Transitions de page (dégradées si JS désactivé : la classe has-js
   n'est alors jamais posée et le corps reste toujours visible) */
html.has-js body {
  opacity: 0;
}

html.has-js body.page-loaded {
  opacity: 1;
}

html.has-js body.page-leaving {
  opacity: 0;
}

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

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

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid #ece8f7;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo .logo-mark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple-dark);
}

.logo .logo-mark span {
  color: var(--blue-accent);
}

.logo .logo-sub {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.logo .logo-sub strong {
  color: var(--blue-accent);
  font-weight: 600;
}

.logo-img {
  height: 64px;
  width: auto;
}

.hero-logo-img {
  height: 260px;
  width: auto;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .hero-logo-img {
    height: 170px;
  }
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: #f1edfb;
  color: var(--purple-dark);
}

.nav-links a.active {
  background: var(--purple-dark);
  color: #fff;
}

/* ---------- Aperçu illustré au survol du menu ---------- */

.nav-item {
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links:hover .nav-item > a:not(.active) {
    opacity: 0.5;
  }

  .nav-links .nav-item:hover > a {
    opacity: 1 !important;
  }

  .nav-links a {
    transition: background 0.15s ease, color 0.15s ease, opacity 0.25s ease;
  }
}

.nav-preview {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 220px;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-white);
  border-radius: var(--radius);
  border-top: 4px solid var(--blue-accent);
  box-shadow: 0 22px 48px rgba(36, 19, 80, 0.2);
  padding: 22px 18px 20px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.nav-preview::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg-white);
  border-top: 4px solid var(--blue-accent);
  border-radius: 2px 0 0 0;
}

.nav-preview-visual {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f1edfb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.nav-preview-visual svg {
  width: 32px;
  height: 32px;
}

.nav-preview p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-preview,
  .nav-item:focus-within .nav-preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

@media (hover: none), (pointer: coarse), (max-width: 860px) {
  .nav-preview {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-preview {
    transition: opacity 0.15s ease;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--purple-dark);
  margin: 5px 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--purple-mid);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--purple-dark);
}

.btn-outline-light {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--purple-dark);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero .logo-mark {
  font-size: 64px;
}

.hero-logo-img {
  position: relative;
  z-index: 2;
}

.hero-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -140px;
  background: var(--blue-accent);
  animation: float-blob-1 14s ease-in-out infinite;
}

.hero-blob-2 {
  width: 360px;
  height: 360px;
  top: 20px;
  right: -160px;
  background: var(--purple-accent);
  animation: float-blob-2 18s ease-in-out infinite;
}

.hero-blob-3 {
  width: 260px;
  height: 260px;
  bottom: -140px;
  left: 45%;
  background: var(--blue-accent);
  opacity: 0.22;
  animation: float-blob-1 20s ease-in-out infinite reverse;
}

@keyframes float-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 25px) scale(1.08); }
}

@keyframes float-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, 20px) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob {
    animation: none;
  }
}

/* ---------- Formes décoratives réutilisables (autres sections) ---------- */

.section-decor {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-decor > .container {
  position: relative;
  z-index: 1;
}

.bg-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.bg-blob-blue {
  background: var(--blue-accent);
  opacity: 0.1;
}

.bg-blob-purple {
  background: var(--purple-accent);
  opacity: 0.12;
}

.bg-blob-tr {
  top: -130px;
  right: -160px;
  width: 400px;
  height: 400px;
}

.bg-blob-bl {
  bottom: -140px;
  left: -150px;
  width: 380px;
  height: 380px;
}

.bg-blob-tl {
  top: -100px;
  left: -130px;
  width: 320px;
  height: 320px;
}

.bg-blob-br {
  bottom: -110px;
  right: -130px;
  width: 340px;
  height: 340px;
}

.bg-blob-ml {
  top: 50%;
  left: -140px;
  width: 280px;
  height: 280px;
  transform: translateY(-50%);
}

.bg-blob-mr {
  top: 50%;
  right: -140px;
  width: 280px;
  height: 280px;
  transform: translateY(-50%);
}

.section-dark .bg-blob-blue,
.section-dark .bg-blob-purple {
  opacity: 0.18;
}

/* ---------- Petites formes flottantes dans les marges (grands écrans) ---------- */

.side-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.side-shape.circle {
  border-radius: 50%;
}

.side-shape.ring {
  border-radius: 50%;
  border: 2px solid;
  background: none !important;
}

.side-shape-a { top: 12%; left: 3%; width: 14px; height: 14px; background: var(--blue-accent); opacity: 0.4; animation: float-side-1 7s ease-in-out infinite; }
.side-shape-b { top: 55%; right: 4%; width: 22px; height: 22px; border-color: var(--purple-accent); opacity: 0.4; animation: float-side-2 9s ease-in-out infinite; }
.side-shape-c { top: 82%; left: 5%; width: 10px; height: 10px; background: var(--purple-accent); opacity: 0.35; animation: float-side-1 8s ease-in-out infinite reverse; }
.side-shape-d { top: 32%; right: 3%; width: 16px; height: 16px; background: var(--blue-accent); opacity: 0.3; animation: float-side-2 6.5s ease-in-out infinite; }
.side-shape-e { top: 68%; left: 4%; width: 20px; height: 20px; border-color: var(--blue-accent); opacity: 0.35; animation: float-side-1 10s ease-in-out infinite; }
.side-shape-f { top: 20%; right: 5%; width: 12px; height: 12px; background: var(--purple-accent); opacity: 0.4; animation: float-side-2 7.5s ease-in-out infinite reverse; }
.side-shape-g { top: 45%; left: 2%; width: 8px; height: 8px; background: var(--blue-accent); opacity: 0.45; animation: float-side-1 6s ease-in-out infinite reverse; }
.side-shape-h { top: 8%; right: 2.5%; width: 18px; height: 18px; border-color: var(--purple-accent); opacity: 0.3; animation: float-side-2 11s ease-in-out infinite; }
.side-shape-i { top: 90%; right: 6%; width: 9px; height: 9px; background: var(--blue-accent); opacity: 0.4; animation: float-side-1 8.5s ease-in-out infinite; }
.side-shape-j { top: 40%; right: 1.5%; width: 13px; height: 13px; border-color: var(--blue-accent); opacity: 0.3; animation: float-side-2 6s ease-in-out infinite reverse; }

@keyframes float-side-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 14px); }
}

@keyframes float-side-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 10px); }
}

@media (max-width: 1300px) {
  .side-shape {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .side-shape {
    animation: none;
  }
}

/* ---------- Séparateurs fluides entre sections ---------- */

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: 70px;
}

@media (max-width: 640px) {
  .wave-top svg {
    height: 40px;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
}

.section-dark {
  background: var(--purple-dark);
  color: var(--text-lighter);
}

.section-dark p {
  color: var(--text-light);
}

.section-light {
  background: var(--bg-light);
}

.section-blue {
  background: var(--purple-dark);
  color: var(--text-lighter);
}

.section-blue p {
  color: rgba(255, 255, 255, 0.85);
}

.section-blue .kicker {
  color: rgba(255, 255, 255, 0.85);
}

.section-blue .bg-blob-blue,
.section-blue .bg-blob-purple {
  opacity: 0.2;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-accent);
  text-align: center;
  margin-bottom: 14px;
}

.section-dark .kicker {
  color: var(--text-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 16px;
  color: inherit;
}

h1.section-title {
  font-size: 50px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

h3 {
  font-family: var(--font-display);
}

.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 18px;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

.section-blue .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* ---------- Cards / grids ---------- */

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

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 14px 34px rgba(36, 19, 80, 0.12);
  border-top: 4px solid var(--blue-accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(36, 19, 80, 0.16);
}

.card:nth-child(3n+2) {
  border-top-color: var(--purple-accent);
}

.card:nth-child(3n+3) {
  border-top-color: #7a4fd6;
}

.card h3 {
  margin-top: 0;
  color: var(--purple-dark);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f1edfb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-icon svg {
  width: 38px;
  height: 38px;
}

/* ---------- Association cards ---------- */

.assoc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid #ece8f7;
}

.assoc:last-of-type {
  border-bottom: none;
}

.assoc-media {
  border-radius: var(--radius);
  min-height: 260px;
  background: linear-gradient(135deg, var(--purple-accent), var(--blue-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  padding: 24px;
}

.illustration {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  min-height: 260px;
  background: linear-gradient(160deg, #e4ecfc 0%, #f1edfb 55%, #ebe1fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.illustration > svg {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
}

.illustration.has-photo {
  padding: 0;
  min-height: 0;
}

.illustration-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.illustration-bubble {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  background: var(--blue-accent);
}

.illustration-bubble-1 {
  width: 110px;
  height: 110px;
  top: -30px;
  left: -30px;
  opacity: 0.14;
  animation: float-side-1 10s ease-in-out infinite;
}

.illustration-bubble-2 {
  width: 56px;
  height: 56px;
  bottom: 22px;
  right: 14px;
  background: var(--purple-accent);
  opacity: 0.18;
  animation: float-side-2 7.5s ease-in-out infinite;
}

.illustration-bubble-3 {
  width: 28px;
  height: 28px;
  top: 38%;
  right: 22%;
  opacity: 0.22;
  animation: float-side-1 12s ease-in-out infinite reverse;
}

.illustration-bubble-4 {
  width: 16px;
  height: 16px;
  bottom: 34%;
  left: 16%;
  background: var(--purple-accent);
  opacity: 0.25;
  animation: float-side-2 8.5s ease-in-out infinite reverse;
}

.illustration-wave-shape {
  position: absolute;
  z-index: 1;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .illustration-bubble {
    animation: none;
  }
}

.assoc-body h3 {
  font-size: 26px;
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.assoc-body p {
  color: var(--text-muted);
}

.assoc-placeholder {
  text-align: center;
  border: 2px dashed #d8d0f2;
  border-radius: var(--radius);
  padding: 48px 24px;
  color: var(--text-muted);
}

.assoc-placeholder h3 {
  color: var(--purple-dark);
  margin-top: 0;
}

/* ---------- Carrousel photo association ---------- */

.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ece8f7;
  min-height: 260px;
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36, 19, 80, 0.55);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.carousel-arrow:hover {
  background: rgba(36, 19, 80, 0.85);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
}

.form-row input[type="text"],
.form-row input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d8d0f2;
  font-size: 15px;
  font-family: inherit;
}

.form-row input:focus {
  outline: none;
  border-color: var(--purple-accent);
}

.tier-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.tier-option {
  border: 2px solid #d8d0f2;
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.tier-option strong {
  display: block;
  font-size: 20px;
  color: var(--purple-dark);
}

.tier-option span {
  font-size: 13px;
  color: var(--text-muted);
}

.tier-option input {
  display: none;
}

.tier-option.selected {
  border-color: var(--purple-accent);
  background: #f5f2fd;
}

.custom-amount {
  margin-top: 8px;
}

.freq-note {
  background: #f1edfb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--purple-dark);
  margin-bottom: 20px;
}

.placeholder-notice {
  border: 1px dashed #d8d0f2;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 18px;
  display: none;
}

.placeholder-notice.visible {
  display: block;
}

/* ---------- Transparency box ---------- */

.transparency-box {
  background: var(--bg-white);
  border-left: 4px solid var(--blue-accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  max-width: 780px;
  margin: 40px auto 0;
}

.transparency-box h3 {
  margin-top: 0;
  color: var(--purple-dark);
}

.transparency-box ul {
  padding-left: 20px;
  color: var(--text-muted);
}

.transparency-box li {
  margin-bottom: 8px;
}

/* ---------- Case contact : carte de contact avec QR code au clic ---------- */

.contact-card-flip {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1.75 / 1;
  margin: 32px auto 0;
  perspective: 1400px;
  cursor: pointer;
}

.contact-card-flip:focus {
  outline: none;
}

.contact-card-flip:focus-visible .contact-card-inner {
  box-shadow: 0 0 0 3px rgba(40, 81, 214, 0.4);
  border-radius: 20px;
}

.contact-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.1, 0.2, 1);
  transform-style: preserve-3d;
}

.contact-card-flip.is-flipped .contact-card-inner {
  transform: rotateY(180deg);
}

.contact-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(36, 19, 80, 0.16);
  transition: box-shadow 0.3s ease;
}

.contact-card-flip:hover .contact-card-face {
  box-shadow: 0 22px 44px rgba(36, 19, 80, 0.2);
}

.contact-card-front {
  padding: 0;
  overflow: hidden;
  border: 1px solid #ece8f7;
}

.contact-card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card-hint {
  position: absolute;
  left: 24px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.2px;
}

.contact-card-back {
  background: var(--purple-dark);
  color: #fff;
  transform: rotateY(180deg);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.contact-card-top {
  display: flex;
  align-items: center;
}

.contact-card-logo {
  height: 34px;
  width: auto;
}

.contact-card-body {
  margin: 4px 0;
}

.contact-card-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 6px;
}

.contact-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--purple-dark);
}

.contact-card-details p {
  margin: 3px 0;
  font-size: 15px;
  color: var(--text-muted);
}

.contact-card-details a {
  color: var(--purple-dark);
  font-weight: 600;
}

.contact-card-details a:hover {
  text-decoration: underline;
}

.contact-card-qr {
  width: 150px;
  height: 150px;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
}

.contact-card-back-text {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .contact-card-inner {
    transition: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--purple-darker);
  color: var(--text-light);
  padding: 84px 0 40px;
  text-align: center;
  font-size: 14px;
}

.site-footer .wave-top svg {
  height: 60px;
}

@media (max-width: 640px) {
  .site-footer {
    padding: 56px 0 32px;
  }

  .site-footer .wave-top svg {
    height: 36px;
  }
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 8px;
  color: var(--text-light);
  text-decoration: none;
}

/* ---------- Utility ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.text-center {
  text-align: center;
}

/* ---------- Micro-animations au scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid .card.reveal:nth-child(2) { transition-delay: 90ms; }
.grid .card.reveal:nth-child(3) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .assoc,
  .two-col {
    grid-template-columns: 1fr;
  }

  .assoc-media {
    order: -1;
  }

  .tier-options {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid #ece8f7;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero .logo-mark {
    font-size: 44px;
  }

  .section-title {
    font-size: 26px;
  }
}
