@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url("fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
:root {
  --grass: #58d85f; --grass-2: #4ccb55; --grass-deep: #1f5a26; --teal: #37b79e; --teal-deep: #24806e;
  --cream: #faf6ed; --beige: #efe8de; --paper: #f6efe3; --card: #fefdf9;
  --brown: #4f3a1b; --brown-soft: #7a6346; --gold: #d8a83a; --gold-light: #f0d58a; --sun: #f7b401;
  --radius: 26px;
  --font: "Nunito", ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic UI",
    "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--brown); background: var(--beige); line-height: 1.65; font-weight: 600; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.kicker { color: var(--teal-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 8px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 14px; }
.intro { max-width: 640px; margin: 0 auto 28px; color: var(--brown-soft); font-size: 1.05rem; }
.stitched { position: relative; }
.stitched::after { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(216, 168, 58, .7); border-radius: calc(var(--radius) - 7px); pointer-events: none; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 246, 237, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(216, 168, 58, .25); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font-weight: 900; font-size: 1.3rem; }
.brand img { border-radius: 10px; box-shadow: 0 2px 8px rgba(79, 58, 27, .25); }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--brown); padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: .95rem; }
.menu a:hover { background: var(--beige); }
.langs { display: flex; gap: 4px; flex-wrap: wrap; }
.langs a { text-decoration: none; color: var(--brown); font-size: .85rem; padding: 5px 11px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; }
.langs a[aria-current="page"] { border-color: var(--gold); background: var(--gold-light); }
.langs a:hover { border-color: var(--gold); }

/* ---------- Héros ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 80% 10%, #6ee375 0%, var(--grass) 45%, var(--grass-2) 100%); overflow: hidden; padding-bottom: 110px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; padding-top: 56px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .9); color: var(--grass-deep); font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); color: #fff; text-shadow: 0 3px 0 rgba(31, 90, 38, .45), 0 0 1px rgba(31, 90, 38, .6); margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #143d19; max-width: 34em; margin-bottom: 28px; font-weight: 700; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 900; font-size: 1.05rem; text-decoration: none; }
.btn svg { width: 22px; height: 22px; }
.btn.primary { background: var(--brown); color: #fff; box-shadow: 0 5px 0 #2f220f; }
.btn.ghost { background: var(--cream); color: var(--brown); box-shadow: 0 5px 0 rgba(31, 90, 38, .35); }
.btn.ghost:hover { transform: translateY(-2px); }
.btn.light { background: #fff; color: var(--grass-deep); box-shadow: 0 5px 0 rgba(31, 90, 38, .35); }

.stage { position: relative; width: min(440px, 92vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.phone { position: relative; z-index: 2; width: 44%; border-radius: 30px; border: 7px solid #1d1a14; background: #1d1a14; box-shadow: 0 24px 50px rgba(20, 61, 25, .45); transform: rotate(-4deg); }
.phone.back { position: absolute; z-index: 1; width: 38%; left: 52%; top: 12%; transform: rotate(8deg); opacity: .96; }
.medal { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 1.7rem; line-height: 1;
  background: radial-gradient(circle, #fdf8ee 57%, transparent 58%), linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 14px rgba(79, 58, 27, .22); flex: none; }
.medal.sm { width: 42px; height: 42px; font-size: 1.15rem; }
.stage .medal { position: absolute; z-index: 3; }
.m1 { top: 9%; left: 4%; } .m2 { top: 2%; right: 14%; width: 74px; height: 74px; background: radial-gradient(circle, #fff6d6 55%, transparent 56%), linear-gradient(135deg, #ffd54a, #f2a500); }
.m3 { top: 44%; right: -2%; } .m4 { bottom: 10%; right: 12%; } .m5 { top: 50%; left: -3%; }
.float { animation: float 5s ease-in-out infinite; } .m2 { animation-delay: -1s; } .m3 { animation-delay: -2s; } .m4 { animation-delay: -3s; } .m5 { animation-delay: -4s; }
.fl { position: absolute; width: 38px; height: 38px; z-index: 1; filter: drop-shadow(0 3px 3px rgba(20, 61, 25, .2)); }
.f1 { top: 0; left: 30%; } .f2 { top: 26%; right: 2%; width: 30px; height: 30px; } .f3 { bottom: 4%; left: 22%; width: 46px; height: 46px; } .f4 { bottom: 28%; left: 6%; width: 28px; height: 28px; } .f5 { bottom: 0; right: 32%; width: 32px; height: 32px; }
.pot-hero { position: absolute; z-index: 4; width: 30%; left: 4%; bottom: 2%; animation: bob 4s ease-in-out infinite; }
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; z-index: 1; }
.petals i { position: absolute; top: -20px; left: var(--x); width: 12px; height: 12px; background: #fff; border-radius: 80% 0 80% 0; opacity: .85; animation: fall var(--t) linear var(--d) infinite; z-index: 1; }

/* ---------- Chiffres ---------- */
.stats-band { margin-top: -40px; position: relative; z-index: 3; }
.stats { list-style: none; margin: 0 auto; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--card); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(79, 58, 27, .1); max-width: 900px; }
.stats li { text-align: center; display: grid; }
.stats strong { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--teal-deep); }
.stats span { font-size: .9rem; color: var(--brown-soft); }

/* ---------- Fonctions ---------- */
.features { padding-top: 80px; padding-bottom: 40px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; }
.row.flip .row-text { order: 2; }
.row-text h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 12px; }
.row-text > p:not(.kicker) { font-size: 1.07rem; color: var(--brown-soft); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grass); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 2px; }
.row-visual { position: relative; }
.fav-card { background: var(--cream); border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 16px 40px rgba(79, 58, 27, .16); max-width: 440px; margin: 0 auto; }
.fav-title { font-weight: 900; font-size: 1.15rem; margin-bottom: 12px; }
.fav-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fav-card li { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 8px 12px; }
.fav-card .nm { flex: 1; font-weight: 800; }
.fav-card .ct { color: var(--teal-deep); font-weight: 900; }
.fav-card .star { color: var(--sun); font-size: 1.2rem; }
.fav-card li.rare .medal { background: radial-gradient(circle, #fff6d6 55%, transparent 56%), linear-gradient(135deg, #ffd54a, #f2a500); }
.pill { display: inline-block; margin-top: 14px; background: var(--teal); color: #fff; font-weight: 900; padding: 8px 16px; border-radius: 999px; }

/* ---------- Captures dans les fonctions ---------- */
.duo { position: relative; height: clamp(440px, 52vw, 600px); }
.shot { position: absolute; border-radius: 34px; border: 7px solid #1d1a14; background: #1d1a14; box-shadow: 0 18px 40px rgba(79, 58, 27, .25); }
.shot.front { width: 48%; left: 10%; top: 0; transform: rotate(-3deg); z-index: 2; }
.shot.back { width: 44%; right: 6%; top: 46px; transform: rotate(5deg); }
.duo.solo .shot.front { left: 26%; transform: rotate(-2deg); }
video.shot { aspect-ratio: 552 / 1200; height: auto; object-fit: cover; }
.medal.big { position: absolute; width: 92px; height: 92px; font-size: 2.4rem; left: 6%; top: 30%; z-index: 3; animation: float 5s ease-in-out infinite; }
.count-badge { position: absolute; right: 6%; top: 18%; z-index: 3; background: var(--teal); color: #fff; border-radius: 22px; padding: 10px 16px; font-weight: 800; display: grid; text-align: center; box-shadow: 0 8px 18px rgba(36, 128, 110, .35); transform: rotate(4deg); }
.count-badge strong { font-size: 2rem; line-height: 1; }

/* ---------- Décors ---------- */
.decors-band { background: var(--paper); padding: 80px 0; margin-top: 40px; background-image: radial-gradient(rgba(216, 168, 58, .18) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto 28px; background: var(--card); border: 2px solid var(--gold-light); border-radius: 999px; padding: 10px 18px; color: var(--brown-soft); }
.search:focus-within { border-color: var(--gold); }
.search svg { width: 20px; height: 20px; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--brown); width: 100%; font-size: 1rem; }
.decor-grid { list-style: none; margin: 0; padding: 0; display: grid; align-items: start; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.decor { display: flex; gap: 12px; align-items: center; background: var(--card); border-radius: 20px; padding: 12px 14px; box-shadow: 0 2px 0 rgba(216, 168, 58, .35); }
.decor[hidden] { display: none; }
.decor .medal { width: 52px; height: 52px; font-size: 1.4rem; }
.decor h3 { font-size: 1rem; margin-bottom: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tags code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .7rem; background: var(--beige); color: var(--brown-soft); padding: 2px 6px; border-radius: 6px; font-weight: 500; }
.tags code.more { background: transparent; }
.empty { text-align: center; color: var(--brown-soft); margin-top: 20px; }

/* ---------- Étapes ---------- */
.how { padding-top: 90px; padding-bottom: 30px; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: -3px; left: 16%; right: 16%; height: 6px; background: radial-gradient(circle, var(--teal) 3px, transparent 3.5px) 0 0 / 18px 6px repeat-x; z-index: 0; }
.steps li { position: relative; z-index: 1; text-align: center; background: var(--card); border-radius: var(--radius); padding: 22px 18px 24px; box-shadow: 0 8px 22px rgba(79, 58, 27, .08); }
.num { display: grid; place-items: center; width: 56px; height: 56px; margin: -50px auto 12px; border-radius: 50%; background: var(--grass); color: #fff; font-weight: 900; font-size: 1.4rem; border: 5px solid var(--beige); }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--brown-soft); }

/* ---------- Comparaison ---------- */
.compare { padding-top: 90px; padding-bottom: 20px; }
.table-card { background: var(--card); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(79, 58, 27, .1); overflow: hidden; max-width: 820px; margin: 0 auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--beige); }
tbody th { text-align: left; font-weight: 700; }
thead th { font-weight: 900; font-size: .95rem; }
thead th.us { color: var(--teal-deep); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td:nth-child(2) { background: rgba(88, 216, 95, .08); }
.ck { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 900; }
.ck.yes { background: var(--grass); color: #fff; } .ck.no { background: var(--beige); color: #a9998a; } .ck.part { background: var(--gold-light); color: var(--brown); }
.note { display: flex; gap: 18px; align-items: center; max-width: 820px; margin: 36px auto 0; background: var(--cream); border-radius: var(--radius); padding: 24px 26px; }
.note-ico { width: 72px; height: 72px; flex: none; }
.note h3 { margin-bottom: 6px; }
.note p { color: var(--brown-soft); }

/* ---------- FAQ ---------- */
.faq-sec { padding-top: 80px; padding-bottom: 90px; }
.faq { max-width: 760px; margin: 24px auto 0; display: grid; gap: 10px; }
details { background: var(--card); border-radius: 20px; padding: 16px 20px; box-shadow: 0 2px 0 rgba(216, 168, 58, .3); }
summary { cursor: pointer; font-weight: 900; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--teal-deep); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 10px; color: var(--brown-soft); }

/* ---------- Final ---------- */
.final { position: relative; background: linear-gradient(180deg, var(--grass) 0%, var(--grass-2) 100%); color: #fff; text-align: center; padding: 120px 0 80px; overflow: hidden; }
.hills.top { top: -1px; bottom: auto; }
.final-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; }
.final-art { position: relative; width: 300px; height: 220px; }
.final-art .loop { position: absolute; inset: 0; width: 100%; height: 100%; }
.pot-final { position: absolute; width: 130px; left: 50%; top: 50%; transform: translate(-50%, -46%); animation: bob 4s ease-in-out infinite; }
.final h2 { color: #fff; text-shadow: 0 3px 0 rgba(31, 90, 38, .45); }
.final p { color: #143d19; font-size: 1.15rem; font-weight: 800; }

/* ---------- Pied de page ---------- */
.foot { background: #e4dccf; padding: 36px 0 44px; font-size: .88rem; color: var(--brown-soft); }
.foot-in { display: grid; gap: 12px; justify-items: start; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.pot-final { animation-name: bobc; }
@keyframes bobc { 0%, 100% { transform: translate(-50%, -46%) rotate(-2deg); } 50% { transform: translate(-50%, -52%) rotate(2deg); } }
@keyframes fall { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(820px) translateX(60px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .petals { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 36px; }
  .stage { width: min(380px, 88vw); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .row.flip .row-text { order: 0; }
  .menu { display: none; }
  .langs { margin-left: auto; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  th, td { padding: 12px 10px; font-size: .9rem; }
  .note { flex-direction: column; text-align: center; }
  .medal { width: 54px; height: 54px; font-size: 1.4rem; }
  .m2 { width: 62px; height: 62px; }
  .top-in { gap: 8px; }
  .brand { font-size: 1.15rem; }
}

/* ---------- Guide (textes explicatifs) ---------- */
.guide { padding-top: 90px; }
.g-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.g-card { background: var(--card); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 8px 22px rgba(79, 58, 27, .08); border-top: 5px solid var(--grass); }
.g-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.g-card p { color: var(--brown-soft); }
@media (max-width: 640px) { .g-grid { grid-template-columns: 1fr; } }
