:root {
  --bg-main: linear-gradient(180deg, #fffafc 0%, #fffef9 46%, #f4fff1 100%);
  --bg-soft: rgba(255, 255, 255, 0.76);
  --bg-strong: rgba(255, 255, 255, 0.92);
  --text: #6f3453;
  --text-soft: #8e5d74;
  --pink: #f49bc1;
  --pink-strong: #cb3f7f;
  --green: #b9e26e;
  --green-strong: #81a93d;
  --yellow: #fff0a8;
  --brown-soft: #9b735b;
  --line: rgba(230, 160, 193, 0.34);
  --shadow: 0 14px 35px rgba(225, 138, 177, 0.16);
  --shadow-strong: 0 22px 60px rgba(179, 100, 137, 0.2);
}

body.dark-theme {
  --bg-main: linear-gradient(180deg, #1d1520 0%, #17131d 50%, #142017 100%);
  --bg-soft: rgba(43, 31, 45, 0.82);
  --bg-strong: rgba(58, 39, 60, 0.94);
  --text: #ffe8f4;
  --text-soft: #e4c9d9;
  --pink: #ff99c6;
  --pink-strong: #ff62ab;
  --green: #b9ea6b;
  --green-strong: #9cd551;
  --yellow: #ffe89a;
  --brown-soft: #d1aa8f;
  --line: rgba(255, 180, 218, 0.18);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 24px 65px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Quicksand", sans-serif;
  background: var(--bg-main);
  color: var(--text);
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  cursor: none;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Baloo 2", cursive;
}

p, li {
  line-height: 1.75;
}

.section {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0;
  position: relative;
  z-index: 2;
}

/* Fond floral général */
.background-garden {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.55;
  animation: blobMove 16s ease-in-out infinite;
}

.blob-1 {
  width: 340px;
  height: 340px;
  top: -70px;
  left: -80px;
  background: radial-gradient(circle, rgba(185, 226, 110, 0.22), transparent 68%);
  animation-delay: 0s;
}

.blob-2 {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -140px;
  background: radial-gradient(circle, rgba(244, 155, 193, 0.2), transparent 68%);
  animation-delay: -4s;
}

.blob-3 {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 240, 168, 0.18), transparent 68%);
  animation-delay: -8s;
}

.blob-4 {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(185, 226, 110, 0.16), transparent 68%);
  animation-delay: -12s;
}

/* Curseur */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  z-index: 12000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 8px rgba(255, 111, 169, 0.35));
}

.custom-cursor span {
  font-size: 25px;
}

/* Loader */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background:
    radial-gradient(circle at 15% 20%, rgba(185, 226, 110, 0.45), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(244, 155, 193, 0.48), transparent 32%),
    linear-gradient(135deg, #fff7fb, #f7fff2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px 24px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(244, 155, 193, 0.26);
  box-shadow: 0 18px 55px rgba(220, 130, 171, 0.22);
  text-align: center;
  overflow: hidden;
  animation: ambientFloatSoft 5s ease-in-out infinite;
}

.loader-blur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.loader-blur-1 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(185, 226, 110, 0.35), transparent 70%);
  top: -40px;
  right: -40px;
}

.loader-blur-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(244, 155, 193, 0.28), transparent 70%);
  bottom: -70px;
  left: -50px;
}

.loader-icon {
  font-size: 60px;
  animation: floaty 2s ease-in-out infinite;
}

.loader-card h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 12px 0 8px;
  color: var(--pink-strong);
}

.loader-card p {
  margin: 0 0 16px;
  color: #8c5a72;
  font-weight: 700;
}

.loader-bar {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: #ffe7f1;
  border: 2px solid #ffd3e5;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--pink));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.loader-deco {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 24px;
  animation: bob 1.9s ease-in-out infinite;
}

/* Pétales */
.floating-petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floating-petals span {
  position: absolute;
  top: -100px;
  width: 16px;
  height: 16px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), transparent 35%),
    linear-gradient(135deg, #ffc2dc, #b9e26e);
  border-radius: 60% 40% 60% 40%;
  opacity: 0.45;
  animation: petalsFall linear infinite;
}

.floating-petals span:nth-child(1) { left: 3%; animation-duration: 11s; animation-delay: 0s; }
.floating-petals span:nth-child(2) { left: 10%; animation-duration: 13s; animation-delay: 2s; }
.floating-petals span:nth-child(3) { left: 18%; animation-duration: 12s; animation-delay: 1s; }
.floating-petals span:nth-child(4) { left: 28%; animation-duration: 14s; animation-delay: 3s; }
.floating-petals span:nth-child(5) { left: 39%; animation-duration: 10s; animation-delay: 1.4s; }
.floating-petals span:nth-child(6) { left: 50%; animation-duration: 15s; animation-delay: 2.7s; }
.floating-petals span:nth-child(7) { left: 61%; animation-duration: 12s; animation-delay: 0.6s; }
.floating-petals span:nth-child(8) { left: 72%; animation-duration: 14s; animation-delay: 2.2s; }
.floating-petals span:nth-child(9) { left: 81%; animation-duration: 11s; animation-delay: 1.1s; }
.floating-petals span:nth-child(10){ left: 88%; animation-duration: 13s; animation-delay: 2.9s; }
.floating-petals span:nth-child(11){ left: 94%; animation-duration: 15s; animation-delay: 1.8s; }
.floating-petals span:nth-child(12){ left: 97%; animation-duration: 10s; animation-delay: 3.1s; }

/* Navbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.15);
}

body.dark-theme .topbar {
  background: rgba(25, 19, 30, 0.68);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-brand {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: "Baloo 2", cursive;
  background: linear-gradient(90deg, var(--pink-strong), var(--green-strong));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 182, 214, 0.15);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.desktop-nav a {
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.desktop-nav a:hover {
  color: var(--pink-strong);
  transform: translateY(-1px);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--green));
  transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.icon-btn,
.theme-btn,
.btn,
.back-to-top {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--green));
  color: white;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}

.theme-btn {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244,155,193,0.16), rgba(185,226,110,0.18));
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Menu latéral */
.side-menu {
  position: fixed;
  left: -360px;
  top: 0;
  width: 320px;
  max-width: calc(100vw - 24px);
  height: 100vh;
  z-index: 600;
  background: var(--bg-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  transition: left 0.35s ease;
}

.side-menu.open {
  left: 0;
}

.side-menu-inner {
  padding: 22px 18px;
  height: 100%;
  overflow-y: auto;
}

.side-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.side-menu-top h2 {
  margin: 0;
  font-size: 1.8rem;
}

.close-btn {
  width: 42px;
  height: 42px;
}

.toc-nav {
  display: grid;
  gap: 10px;
}

.toc-nav a {
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244,155,193,0.14), rgba(185,226,110,0.14));
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.toc-nav a:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.menu-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.1));
  border: 1px solid var(--line);
  animation: ambientFloatSoft 6s ease-in-out infinite;
}

.menu-box h3 {
  margin-bottom: 8px;
  color: var(--pink-strong);
}

/* Hero */
.hero {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding-top: 24px;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero-logo-card,
.hero-text-card,
.card,
.wide-card,
.sommaire-card,
.social-card,
.rule-card,
.footer-inner,
.artist-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-logo-card,
.hero-text-card,
.card,
.wide-card,
.rule-card,
.footer-inner,
.artist-card {
  border-radius: 34px;
  background: var(--bg-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-logo-card {
  padding: 28px;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(185,226,110,0.18), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(244,155,193,0.18), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.65));
}

body.dark-theme .hero-logo-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(185,226,110,0.12), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(244,155,193,0.12), transparent 30%),
    linear-gradient(135deg, rgba(67,47,70,0.92), rgba(46,34,47,0.78));
}

.corner-plant {
  position: absolute;
  font-size: 2rem;
  z-index: 2;
  animation: bob 2.6s ease-in-out infinite;
}

.corner-plant-left {
  top: 18px;
  left: 18px;
}

.corner-plant-right {
  top: 18px;
  right: 18px;
}

.logo-shine {
  position: absolute;
  inset: auto auto -50px -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,226,110,0.22), transparent 70%);
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-logo {
  width: 100%;
  max-width: 760px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(225, 122, 166, 0.18));
}

.animated-logo {
  animation: logoFloat 4s ease-in-out infinite, logoGlow 3.6s ease-in-out infinite;
  transform-origin: center;
}

.hero-text-card {
  padding: 34px;
}

.hero-text-card::before,
.card::before,
.wide-card::before,
.rule-card::before,
.footer-inner::before,
.artist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(244,155,193,0.08), transparent 32%),
    radial-gradient(circle at bottom left, rgba(185,226,110,0.09), transparent 34%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244,155,193,0.16), rgba(185,226,110,0.2));
  border: 1px solid var(--line);
  font-weight: 800;
  margin-bottom: 14px;
  animation: subtleGlow 4.8s ease-in-out infinite;
}

.hero-text-card h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), #ffb6d6);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--green), #d8f69d);
  color: #536726;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
}

.hero-mini-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.22));
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  animation: ambientFloatSoft 6s ease-in-out infinite;
}

.hero-mini-info .mini-chip:nth-child(2) { animation-delay: -1s; }
.hero-mini-info .mini-chip:nth-child(3) { animation-delay: -2s; }
.hero-mini-info .mini-chip:nth-child(4) { animation-delay: -3s; }

.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
  animation: blobMove 18s ease-in-out infinite;
}

.deco-a {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 80px;
  background: radial-gradient(circle, rgba(185,226,110,0.18), transparent 70%);
}

.deco-b {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 100px;
  background: radial-gradient(circle, rgba(244,155,193,0.16), transparent 70%);
  animation-delay: -6s;
}

.deco-c {
  width: 260px;
  height: 260px;
  right: 20%;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 235, 162, 0.14), transparent 70%);
  animation-delay: -10s;
}

/* Titres */
.section-heading {
  text-align: center;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 6px;
}

.section-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
}

/* Séparateurs */
.section-divider {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding: 4px 0 0;
  position: relative;
  z-index: 2;
  animation: dividerShift 8s ease-in-out infinite;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 2px;
  flex: 1;
  max-width: 220px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244,155,193,0.55), rgba(185,226,110,0.55), transparent);
}

.section-divider span {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: bob 3s ease-in-out infinite;
}

.section-divider span:nth-child(2) { animation-delay: -0.4s; }
.section-divider span:nth-child(3) { animation-delay: -0.8s; }
.section-divider span:nth-child(4) { animation-delay: -1.2s; }
.section-divider span:nth-child(5) { animation-delay: -1.6s; }

/* Grilles */
.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.card.highlight {
  background:
    radial-gradient(circle at top right, rgba(255, 243, 187, 0.2), transparent 28%),
    linear-gradient(180deg, var(--bg-strong), var(--bg-soft));
}

.card-top-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 14px;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(244,155,193,0.2), rgba(185,226,110,0.24));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  animation: iconPulse 4s ease-in-out infinite;
}

.wide-card {
  padding: 30px;
  background: linear-gradient(180deg, var(--bg-strong), var(--bg-soft));
}

.pretty-list,
.link-list {
  padding-left: 18px;
  margin-bottom: 0;
}

/* Cartes Noise & Coffee */
.noise-card {
  background:
    radial-gradient(circle at top right, rgba(255, 240, 210, 0.25), transparent 28%),
    linear-gradient(180deg, var(--bg-strong), var(--bg-soft));
  border-color: rgba(160, 120, 95, 0.18);
}

/* Sommaire */
.sommaire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sommaire-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--bg-strong), var(--bg-soft));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sommaire-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.sommaire-card span {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(244,155,193,0.2), rgba(185,226,110,0.24));
  animation: iconPulse 4.5s ease-in-out infinite;
}

.sommaire-card h3 {
  margin: 0 0 2px;
  font-size: 1.4rem;
}

.sommaire-card p {
  margin: 0;
  color: var(--text-soft);
}

/* Règles */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rule-card {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-strong), var(--bg-soft));
}

.rule-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--green));
  animation: iconPulse 4s ease-in-out infinite;
}

/* Crédits améliorés */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.artist-card {
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.artist-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.artist-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.artist-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(244,155,193,0.2), rgba(185,226,110,0.24));
  animation: iconPulse 4s ease-in-out infinite;
}

.artist-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.artist-role {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-weight: 700;
}

.artist-description {
  margin-bottom: 16px;
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artist-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(244,155,193,0.14), rgba(185,226,110,0.16));
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.artist-links a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--pink-strong);
}

/* Réseaux */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--bg-strong), var(--bg-soft));
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.social-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.9rem;
  background: linear-gradient(135deg, rgba(244,155,193,0.2), rgba(185,226,110,0.24));
  animation: iconPulse 4s ease-in-out infinite;
}

.social-card h3 {
  margin: 0 0 2px;
  font-size: 1.45rem;
}

.social-card p {
  margin: 0;
  color: var(--text-soft);
}

/* Footer */
.footer {
  padding: 36px 20px 56px;
}

.footer-inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(244,155,193,0.16), rgba(185,226,110,0.16));
}

/* Bouton retour */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--green));
  color: white;
  font-size: 1.2rem;
  box-shadow: var(--shadow-strong);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Ambiances permanentes */
.ambient-float {
  animation: ambientFloat 7s ease-in-out infinite;
}

.ambient-float-soft {
  animation: ambientFloatSoft 8s ease-in-out infinite;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

/* Animations */
@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}

@keyframes petalsFall {
  0% {
    transform: translateY(-100px) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(110vh) translateX(28px) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.015);
  }
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 12px 20px rgba(225, 122, 166, 0.18));
  }
  50% {
    filter:
      drop-shadow(0 12px 24px rgba(225, 122, 166, 0.28))
      drop-shadow(0 0 22px rgba(185, 226, 110, 0.16));
  }
}

@keyframes blobMove {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate3d(18px, -14px, 0) scale(1.04);
  }
  50% {
    transform: translate3d(-10px, 18px, 0) scale(0.97);
  }
  75% {
    transform: translate3d(14px, 10px, 0) scale(1.03);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  50% {
    box-shadow: 0 0 22px rgba(255, 185, 216, 0.18);
  }
}

@keyframes ambientFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ambientFloatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes dividerShift {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,0.25),
      0 0 18px rgba(255, 194, 220, 0.18);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .cards-grid.two,
  .cards-grid.three,
  .sommaire-grid,
  .rules-grid,
  .social-grid,
  .artist-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }

  .section {
    width: min(100%, calc(100% - 18px));
    padding: 32px 0;
  }

  .theme-text {
    display: none;
  }

  .hero-text-card {
    padding: 24px;
  }

  .hero-text-card h1 {
    font-size: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .side-menu {
    width: 100%;
    max-width: 100%;
    left: -100%;
  }

  .sommaire-card,
  .social-card,
  .card,
  .rule-card,
  .artist-card {
    padding: 16px;
  }

  .section-divider::before,
  .section-divider::after {
    max-width: 70px;
  }

  .artist-links {
    gap: 8px;
  }

  .artist-links a {
    width: 100%;
    text-align: center;
  }
}