/* Page de présentation : charte du logo (ciel bleu, jaune « Bulle », contours cartoon) */
:root { --ink: #1d2433; --muted: #55627a; --blue: #2f8fe0; --sky: #8fd6ff; --yellow: #ffc21a; --orange: #ff9f0a; --green: #5cbf3a; --line: #1d2433;
  --font: "Baloo 2", "Fredoka", "Nunito", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #f3f8ff; }
a { color: var(--blue); }
.hidden { display: none !important; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 3px solid var(--line); border-radius: 16px; box-shadow: 0 5px 0 var(--line); background: #fff; color: var(--ink); font-weight: 800; padding: 10px 18px; text-decoration: none; transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--line); }
.btn.big { font-size: 1.15rem; padding: 13px 24px; }
.btn.gold { background: linear-gradient(#ffe066, #ffb20f); }

.hero { position: relative; overflow: hidden; text-align: center; padding: 18px 16px 70px; background: linear-gradient(#8fd6ff 0%, #4fb0f2 60%, #2f8fe0 100%); color: #fff; }
.hero::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -40px; height: 90px; background: #f3f8ff; border-radius: 50% 50% 0 0; }
.top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; }
.mini { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; text-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.logo { position: relative; z-index: 2; width: min(620px, 100%); height: auto; margin: 10px auto 0; display: block; filter: drop-shadow(0 10px 0 rgba(29, 36, 51, .18)); animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.lead { position: relative; z-index: 2; font-size: 1.35rem; font-weight: 700; margin: 6px auto 18px; max-width: 640px; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.cta { position: relative; z-index: 2; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.counters { position: relative; z-index: 2; list-style: none; display: flex; justify-content: center; gap: 12px; padding: 0; margin: 22px 0 6px; flex-wrap: wrap; }
.counters li { background: rgba(255, 255, 255, .92); color: var(--ink); border: 3px solid var(--line); border-radius: 14px; padding: 6px 14px; font-weight: 700; box-shadow: 0 4px 0 var(--line); }
.counters b { color: var(--blue); font-size: 1.2rem; }
.small { position: relative; z-index: 2; font-size: .9rem; opacity: .95; }
.clouds i { position: absolute; width: 260px; height: 80px; background: radial-gradient(circle at 25% 60%, #fff 0 22px, transparent 23px), radial-gradient(circle at 48% 40%, #fff 0 34px, transparent 35px), radial-gradient(circle at 72% 60%, #fff 0 26px, transparent 27px); opacity: .85; animation: nuages 70s linear infinite; }
.clouds i:nth-child(1) { top: 14%; left: -280px; }
.clouds i:nth-child(2) { top: 48%; left: -280px; animation-duration: 95s; animation-delay: -50s; }
.clouds i:nth-child(3) { top: 30%; left: -280px; animation-duration: 120s; animation-delay: -20s; transform: scale(.6); }
@keyframes nuages { to { left: 110%; } }

main { max-width: 1100px; margin: 0 auto; padding: 0 16px 40px; }
section { margin: 46px 0; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 8px; text-align: center; line-height: 1.2; }
.sub { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cards article { background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 6px 0 var(--line); transition: transform .15s; }
.cards article:hover { transform: translateY(-4px) rotate(-.4deg); }
.cards article span { font-size: 2.2rem; display: block; }
.cards article h3 { margin: 6px 0 4px; font-size: 1.2rem; }
.cards article p { margin: 0; color: var(--muted); }
.cards article img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; border: 2px solid var(--line); }
.rp { background: linear-gradient(135deg, #fff6d0, #ffe9a8); border: 3px solid var(--line); border-radius: 28px; padding: 26px 18px; box-shadow: 0 8px 0 var(--line); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.tier { background: #fff; border: 4px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 8px 0 var(--line); position: relative; }
.tier .badge { display: inline-block; font-weight: 800; font-size: 1.3rem; padding: 4px 16px; border-radius: 99px; border: 3px solid var(--line); margin-bottom: 8px; }
.tier.aff .badge { background: #cfe9ff; }
.tier.part .badge { background: linear-gradient(#ffe066, #ffb20f); }
.tier.part { background: linear-gradient(#fff, #fff8dc); }
.tier ul { padding-left: 20px; margin: 6px 0; }
.tier .need { list-style: none; padding: 0; }
.tier .need li { background: #f1f6fd; border-radius: 12px; padding: 6px 12px; margin: 6px 0; }
.tier .need b { color: var(--blue); }
.tier h4 { margin: 14px 0 0; }
.how { margin: 20px auto 0; max-width: 820px; background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 12px 18px; }
.how summary { font-weight: 800; cursor: pointer; }
.final { text-align: center; }
.final img { animation: flotte 3s ease-in-out infinite; }
footer { text-align: center; padding: 24px 16px 36px; background: var(--ink); color: #c9d3e6; }
footer a { color: #fff; }
body[data-theme="halloween"] .hero { background: linear-gradient(#4a2a7a, #2a1640); }
body[data-theme="noel"] .hero { background: linear-gradient(#a9dcff, #4a8fd8); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
