:root {
  --rose: #e9b9dc;
  --rose-soft: #f6e3f1;
  --rose-deep: #d287bd;
  --cream: #f7ecc9;
  --paper: #fdf8ef;
  --ink: #2a2320;
  --ink-soft: #5b5049;
  --white: #ffffff;
  --twitch: #9146ff;
  --radius-blob: 255px 20px 225px 20px / 20px 225px 20px 255px;
  --shadow: 0 6px 24px rgba(42, 35, 32, 0.12);
  --font-display: "Shadows Into Light Two", "Comic Sans MS", cursive;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(253, 248, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
}

.brand-name em {
  font-style: normal;
  color: var(--rose-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
}

.site-nav a:hover:not(.btn),
.site-nav a.active:not(.btn) {
  color: var(--rose-deep);
  text-decoration: underline wavy var(--rose-deep) 2px;
  text-underline-offset: 5px;
}

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.1rem 0.55rem;
  cursor: pointer;
  color: var(--ink);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  border: 3px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-pink { background: var(--rose); }
.btn-outline { background: var(--cream); }
.btn-small { padding: 0.4rem 1rem; font-size: 0.9rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-big { font-size: 1.15rem; padding: 0.9rem 2rem; }
.btn-twitch { background: var(--twitch); color: var(--white); }


.btn-verrouille {
  background: #e6e1db;
  color: var(--ink-soft);
  border-color: var(--ink-soft);
  box-shadow: 3px 3px 0 var(--ink-soft);
  cursor: not-allowed;
  opacity: 0.9;
}

.btn-verrouille:hover {
  transform: none;
  box-shadow: 3px 3px 0 var(--ink-soft);
}

.hero {
  text-align: center;
  padding: 3.5rem 1.2rem 0;
  background:
    radial-gradient(ellipse at 20% 10%, var(--rose-soft) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, #fdf3d8 0%, transparent 50%),
    var(--paper);
  overflow: hidden;
}

.hero-inner { max-width: 820px; margin: 0 auto; }

.hero-kicker {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rose-deep);
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0.2rem 0 1rem;
}

.hero-title.small { font-size: clamp(2.6rem, 7vw, 4rem); margin-top: 0; }

.hero-title .four {
  color: var(--rose-deep);
  text-shadow: 3px 3px 0 var(--cream);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.count-box {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px 8px 22px 8px;
  box-shadow: 4px 4px 0 var(--rose);
  padding: 0.7rem 1rem;
  min-width: 92px;
}

.count-box span {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}

.count-box small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.countdown-done {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-deep);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-banner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow);
}

.section { padding: 4.5rem 1.2rem; }

.section-alt { background: var(--rose-soft); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }

.container { max-width: 1060px; margin: 0 auto; }

.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 2rem;
}

.center .section-intro { margin-left: auto; margin-right: auto; }

.cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cols.reverse { grid-template-columns: 1fr 1.2fr; }
.cols.reverse .col-text { order: 1; }
.cols.reverse .col-media { order: 0; }

.col-text p { margin-bottom: 1rem; }

.fact-list {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
}

.fact-list li {
  padding: 0.45rem 0;
  border-bottom: 2px dashed var(--rose);
}

.rounded-img {
  border-radius: var(--radius-blob);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}

.card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.stat-cards { display: grid; gap: 1rem; }

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px 8px 20px 8px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border: 2px solid var(--ink);
  border-radius: 14px 5px 14px 5px;
  padding: 6px;
}

.asso-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem 1.4rem;
  border-radius: 20px 8px 20px 8px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease;
}

.link-card:hover { transform: translateY(-4px) rotate(-0.5deg); }

.link-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-deep);
}

.link-desc { font-size: 0.92rem; color: var(--ink-soft); }

.asso-card p { margin-bottom: 1.4rem; font-size: 1.08rem; }

.defisc {
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  background: var(--rose-soft);
  border: 2px dashed var(--rose-deep);
  border-radius: 16px 6px 16px 6px;
  font-size: 0.95rem;
  color: var(--ink);
}

.defisc a { color: var(--ink); }

.asso-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 1.2rem;
}

.section-cagnotte { background: var(--cream); border-bottom: 3px solid var(--ink); text-align: center; }
.section-cagnotte .section-intro { margin-left: auto; margin-right: auto; }

.global-goal { max-width: 720px; margin: 0 auto; }

.goal-amounts {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.goal-raised {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--rose-deep);
  line-height: 1;
}

.goal-target { color: var(--ink-soft); font-size: 1.05rem; }

.progress {
  height: 22px;
  background: var(--rose-soft);
  border: 3px solid var(--ink);
  border-radius: 60px;
  overflow: hidden;
}

.progress.big { height: 30px; }

.progress-fill {
  height: 100%;
  background: repeating-linear-gradient(45deg, var(--rose), var(--rose) 12px, var(--rose-deep) 12px, var(--rose-deep) 24px);
  border-radius: 60px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.goal-note { margin: 0.7rem 0 1.5rem; font-weight: 700; color: var(--ink-soft); }

.goal-hint { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-soft); font-style: italic; }

.section-cta {
  background:
    radial-gradient(ellipse at 80% 80%, var(--rose-soft) 0%, transparent 55%),
    var(--paper);
}

.page-head {
  text-align: center;
  padding: 3.5rem 1.2rem 1rem;
  background: radial-gradient(ellipse at 50% 0%, var(--rose-soft) 0%, transparent 60%), var(--paper);
}

.page-head .section-intro { margin: 0 auto 2rem; }

.global-mini { max-width: 640px; margin: 0 auto; padding: 1.2rem 1.6rem; }
.global-mini .goal-raised { font-size: 2.2rem; }
.global-mini .goal-amounts { margin-bottom: 0.7rem; }

.streamer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}

.streamer-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  border-radius: 26px 10px 26px 10px;
  transition: transform 0.15s ease;
}

.streamer-card:hover { transform: translateY(-4px) rotate(-0.5deg); }

.streamer-head { display: flex; align-items: center; gap: 0.9rem; }

.streamer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

.streamer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.streamer-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9ada5;
  border: 2px solid var(--ink);
  flex-shrink: 0;
}

.live-badge.is-live { color: #c22730; }

.live-badge.is-live .dot {
  background: #e5484d;
  animation: live-pulse 1.6s ease-out infinite;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}

.update-status {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
}

.streamer-goal-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.streamer-goal-line strong { color: var(--rose-deep); font-size: 1.25rem; font-family: var(--font-display); }

.paliers { border-top: 2px dashed var(--rose); padding-top: 0.7rem; }

.paliers summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--rose-deep);
  list-style-position: inside;
}

.paliers summary:hover { text-decoration: underline wavy var(--rose-deep) 2px; text-underline-offset: 4px; }

.palier-list {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.palier {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 14px 6px 14px 6px;
  background: var(--paper);
}

.palier-state {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.palier-state svg { width: 14px; height: 14px; }

.palier-body { display: flex; flex-direction: column; gap: 0.1rem; }

.palier-montant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.palier-titre { font-size: 0.9rem; }

.palier-statut {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.palier.done { background: var(--rose-soft); }
.palier.done .palier-state { background: var(--rose); color: var(--ink); }
.palier.done .palier-statut { color: var(--rose-deep); }

.palier.current { border-width: 3px; box-shadow: 3px 3px 0 var(--rose); }
.palier.current .palier-statut { color: var(--ink); }

.palier.todo { opacity: 0.75; }

.streamer-links { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: auto; }

.streamer-links .btn { flex: 1; text-align: center; font-size: 0.88rem; padding: 0.55rem 0.8rem; box-shadow: 3px 3px 0 var(--ink); }

.sommaire {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sommaire a {
  padding: 0.4rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 60px;
  background: var(--white);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.sommaire a:hover { background: var(--rose); }

.legal { max-width: 820px; }

.legal h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 2rem 0 0.5rem;
  color: var(--rose-deep);
}

.legal p { margin-bottom: 0.9rem; }

.legal .chapeau {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--rose);
}

.a-completer {
  background: var(--cream);
  border: 2px dashed var(--ink);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font-style: italic;
}

.a-completer-en-ligne {
  background: var(--cream);
  border-bottom: 2px dashed var(--ink);
  padding: 0 0.3rem;
  font-style: italic;
}

.coordonnees {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  line-height: 1.7;
}

.tableau-defilant { overflow-x: auto; margin: 1.2rem 0; }

.tableau {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  overflow: hidden;
}

.tableau caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  padding-bottom: 0.5rem;
}

.tableau th,
.tableau td {
  padding: 0.6rem 0.9rem;
  text-align: left;
  border-bottom: 2px solid var(--rose-soft);
  font-size: 0.95rem;
}

.tableau thead th {
  background: var(--rose);
  border-bottom: 3px solid var(--ink);
  font-weight: 800;
}

.tableau tbody tr:last-child td { border-bottom: none; }

.site-footer {
  text-align: center;
  padding: 3rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--paper);
}

.site-footer a { color: var(--rose); }

.footer-small { margin-top: 1rem; font-size: 0.85rem; opacity: 0.7; }

@media (max-width: 820px) {
  .cols, .cols.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .cols.reverse .col-text { order: 0; }
  .cols.reverse .col-media { order: 1; }

  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
    padding: 1.2rem;
    gap: 1rem;
  }

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

  .count-box { min-width: 74px; padding: 0.5rem 0.7rem; }
  .count-box span { font-size: 2rem; }
}
