/* ============================================================
   Draxovante — site de fãs de um joguinho da rã (Frog Jump)
   Handwritten CSS. Base theme: sweetgreen (farm-stand),
   adaptado para um verde vivo de charco, com fundo full-bleed.
   Tipografia: Unbounded (display) + Onest (texto).
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --green:        #3aa856;   /* fundo full-bleed */
  --green-deep:   #2c7f43;   /* banda alternativa / rodapé */
  --green-shade:  #24693a;   /* linhas, contornos subtis */
  --forest:       #0e2a1c;   /* tinta principal sobre creme */
  --cream:        #f4f3e7;   /* superfície de cartão */
  --white:        #ffffff;
  --lime:         #e6ff55;   /* ação / destaque */
  --lime-deep:    #d3ef3a;
  --sage:         #d8e5d6;   /* superfície suave */
  --sand:         #e8dcc6;   /* superfície quente */
  --lilac:        #dcd2f0;   /* acento frio pontual */
  --coral:        #ff9d6b;   /* acento quente pontual */
  --ink-soft:     #33463c;   /* texto secundário sobre creme */
  --on-green:     #eafce7;   /* texto sobre verde */

  --font-display: "Unbounded", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-body:    "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-card: 26px;
  --r-lg: 38px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 14px 34px -20px rgba(8, 30, 18, 0.55);
  --shadow-lift: 0 22px 48px -22px rgba(8, 30, 18, 0.62);

  --gap-section: clamp(56px, 8.5vw, 116px);
  --pad-x: clamp(18px, 5vw, 76px);
  --measure: 62ch;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--on-green);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--green);
  /* textura muito ténue de "charco" para o verde não ler como bloco morto */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.06) 0 22%, transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(14,42,28,0.10) 0 26%, transparent 26%);
  background-attachment: fixed;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: absolute; left: 14px; top: -64px; z-index: 200;
  background: var(--forest); color: var(--lime); padding: 11px 18px;
  border-radius: 12px; font-weight: 600; text-decoration: none; transition: top .18s;
}
.skip-link:focus { top: 14px; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--gap-section); }
.band { background: var(--green-deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--forest); background: var(--lime);
  border-radius: var(--r-pill); padding: 7px 16px;
}
.eyebrow.on-dark { background: rgba(234,252,231,0.14); color: var(--on-green); }

/* ---- Lily-pad divider ---- */
.lilyline { display: flex; gap: 14px; justify-content: center; padding: clamp(10px,3vw,26px) 0; opacity: .9; }
.lilyline span {
  width: clamp(20px, 4vw, 34px); height: clamp(14px, 2.6vw, 22px);
  background: var(--green-deep); border-radius: 50% 50% 48% 48% / 60% 60% 40% 40%;
  box-shadow: inset 0 -3px 0 rgba(14,42,28,.22);
  transform: rotate(-6deg);
}
.lilyline span:nth-child(even) { background: #379a53; transform: rotate(7deg); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 100;
  padding: 12px var(--pad-x);
  background: color-mix(in srgb, var(--green) 88%, transparent);
  backdrop-filter: blur(8px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; max-width: 1180px; margin-inline: auto;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  text-decoration: none; color: var(--on-green); letter-spacing: -0.02em;
}
.brand svg { width: 38px; height: 38px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--on-green);
  padding: 9px 14px; border-radius: var(--r-pill);
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover { background: rgba(234,252,231,0.16); }
.nav-links a[aria-current="page"] { background: var(--cream); color: var(--forest); font-weight: 600; }
.nav-cta { display: inline-flex; }

.burger {
  display: none; background: var(--cream); border: 0;
  border-radius: 14px; width: 48px; height: 48px; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.burger span { display: block; width: 21px; height: 2.6px; background: var(--forest); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 21px; height: 2.6px; background: var(--forest); border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: var(--pad-x); right: var(--pad-x); top: 76px;
    background: var(--cream); border-radius: 24px; padding: 14px; gap: 4px;
    box-shadow: var(--shadow-lift);
  }
  .nav.open .nav-links a { color: var(--forest); font-size: 17px; padding: 13px 16px; }
  .nav.open .nav-links a:hover { background: var(--sage); }
  .nav.open .nav-cta { display: flex; margin-top: 8px; }
}

/* ============================================================
   Buttons — pill (sweetgreen)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 0;
  border-radius: var(--r-pill); padding: 15px 28px;
  background: var(--cream); color: var(--forest);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .18s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn:active { transform: translateY(0); }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: var(--lime-deep); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: #143a26; }
.btn-ghost { background: transparent; color: var(--on-green); box-shadow: inset 0 0 0 2px rgba(234,252,231,.5); }
.btn-ghost:hover { background: rgba(234,252,231,0.14); box-shadow: inset 0 0 0 2px var(--on-green); }
.btn-lg { font-size: clamp(17px, 2.2vw, 21px); padding: 18px 36px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(26px, 5vw, 56px) var(--gap-section); }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 4.5vw, 60px); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(38px, 7.4vw, 78px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; color: var(--white);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-lead {
  margin-top: 22px; font-size: clamp(16.5px, 2vw, 20px); max-width: 48ch; color: var(--on-green);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust-line {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 14.5px; font-weight: 500; color: var(--on-green);
}
.trust-line svg { width: 20px; height: 20px; flex: none; }

/* mascot stage */
.hero-stage {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 40px);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  isolation: isolate;
}
.hero-stage::before {
  content: ""; position: absolute; inset: auto -20% -30% -20%; height: 58%;
  background: var(--sage); border-radius: 50% 50% 0 0; z-index: 0;
}
.hero-stage .lily-a, .hero-stage .lily-b {
  position: absolute; z-index: 0; background: var(--green);
  border-radius: 50% 50% 48% 48% / 62% 62% 38% 38%;
  box-shadow: inset 0 -4px 0 rgba(14,42,28,.18);
}
.hero-stage .lily-a { width: 96px; height: 60px; right: 8%; bottom: 12%; transform: rotate(10deg); }
.hero-stage .lily-b { width: 62px; height: 40px; left: 10%; bottom: 6%; transform: rotate(-12deg); }
.frog-hero { position: relative; z-index: 1; width: min(360px, 82%); height: auto; margin: 0 auto; }
.mascot-tag {
  position: absolute; z-index: 2; top: clamp(16px,3vw,26px); left: clamp(16px,3vw,26px);
  background: var(--lime); color: var(--forest);
  border-radius: var(--r-pill); padding: 7px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  transform: rotate(-4deg);
}

@media (prefers-reduced-motion: no-preference) {
  .frog-hero { animation: hop 3.6s ease-in-out infinite; transform-origin: 50% 90%; }
  @keyframes hop { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  .hero-stage:hover .frog-hero { animation-play-state: paused; transform: translateY(-6px); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; }
  .frog-hero { width: min(300px, 66%); }
}

/* ============================================================
   PLAY block — big redirect CTA
   ============================================================ */
.play-plate {
  background: var(--cream); border-radius: var(--r-lg);
  padding: clamp(30px, 5vw, 68px) clamp(24px, 4vw, 60px);
  color: var(--forest); text-align: center;
  box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.play-plate .eyebrow { margin-bottom: 18px; }
.play-plate h2 { font-size: clamp(28px, 5vw, 52px); letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto; color: var(--forest); }
.play-plate p { margin: 18px auto 0; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 52ch; }
.play-frog { width: clamp(96px, 16vw, 150px); height: auto; margin: 0 auto clamp(6px,2vw,14px); }
.play-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.play-note { margin-top: 22px !important; font-size: 13.5px !important; color: var(--ink-soft); }
.play-plate .dash {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 34px, transparent 34px 62px);
  opacity: .7;
}

/* ============================================================
   Section heads
   ============================================================ */
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4.5vw, 52px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow { margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(28px, 5vw, 50px); letter-spacing: -0.032em; color: var(--white); }
.band .sec-head h2, .band h2 { color: var(--white); }
.sec-head p { margin-top: 16px; font-size: clamp(16px, 1.9vw, 18px); color: var(--on-green); max-width: var(--measure); }
.sec-head.center p { margin-inline: auto; }

/* ============================================================
   SPLIT — sobre o jogo
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.split.rev { grid-template-columns: 0.95fr 1.05fr; }
.split-card {
  background: var(--cream); color: var(--forest);
  border-radius: var(--r-lg); padding: clamp(26px, 3.6vw, 48px);
  box-shadow: var(--shadow-soft);
}
.split-card .eyebrow { margin-bottom: 16px; }
.split-card h2 { font-size: clamp(26px, 4vw, 42px); letter-spacing: -0.03em; color: var(--forest); }
.split-card p { margin-top: 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 54ch; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 24px 0 0; padding: 0; }
.tags li {
  font-family: var(--font-display); font-weight: 500; font-size: 12.5px;
  background: var(--sage); color: var(--forest);
  border-radius: var(--r-pill); padding: 6px 14px;
}

/* scene panel (inline SVG) */
.scene {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  background: var(--green-deep);
}
.scene svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .scene { order: -1; }
}

/* ============================================================
   STEPS — como se joga
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.step {
  background: var(--cream); color: var(--forest);
  border-radius: var(--r-card); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; margin-bottom: 18px; background: var(--lime); color: var(--forest);
}
.step:nth-child(2) .num { background: var(--sage); }
.step:nth-child(3) .num { background: var(--sand); }
.step h3 { font-size: clamp(19px, 2.4vw, 23px); margin-bottom: 8px; color: var(--forest); }
.step p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   COLOURS & SCENES — palette band
   ============================================================ */
.scenes-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.scene-card {
  border-radius: var(--r-card); padding: clamp(22px, 2.6vw, 30px);
  color: var(--forest); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s var(--ease-out);
}
.scene-card:hover { transform: translateY(-4px); }
.scene-card .swatch { width: 46px; height: 46px; border-radius: 14px; }
.scene-card h3 { font-size: clamp(18px, 2.2vw, 22px); color: var(--forest); }
.scene-card p { font-size: 15px; color: var(--ink-soft); }
.sc-a { grid-column: span 7; background: var(--cream); }
.sc-b { grid-column: span 5; background: var(--sage); }
.sc-c { grid-column: span 5; background: var(--sand); }
.sc-d { grid-column: span 7; background: var(--cream); }
.sc-a .swatch { background: var(--lime); }
.sc-b .swatch { background: var(--coral); }
.sc-c .swatch { background: var(--lilac); }
.sc-d .swatch { background: var(--green); }
.scene-card .wide-scene { margin-top: 6px; border-radius: 16px; overflow: hidden; }
@media (max-width: 800px) {
  .scenes-grid { grid-template-columns: 1fr; }
  .sc-a, .sc-b, .sc-c, .sc-d { grid-column: span 1; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq-item { background: var(--cream); color: var(--forest); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 2.1vw, 19px);
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--forest);
}
.faq-q .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sage); position: relative; transition: background .16s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--forest); left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 2px; }
.faq-q .plus::before { width: 13px; height: 2.6px; }
.faq-q .plus::after { width: 2.6px; height: 13px; transition: transform .2s; }
.faq-q[aria-expanded="true"] .plus { background: var(--lime); }
.faq-q[aria-expanded="true"] .plus::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-a p { padding-bottom: 22px; font-size: 15.5px; color: var(--ink-soft); }
.faq-item.open .faq-a { max-height: 460px; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ============================================================
   Subscribe / contact form
   ============================================================ */
.form-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.form-intro h2 { font-size: clamp(26px, 4vw, 44px); color: var(--white); letter-spacing: -0.03em; }
.form-intro p { margin-top: 16px; color: var(--on-green); font-size: 17px; max-width: 42ch; }
.form-intro .frog-mini { width: 78px; height: auto; margin-bottom: 18px; }
.form-plate { background: var(--cream); color: var(--forest); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lift); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--forest); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--forest);
  border: 2px solid #cdd6c8; border-radius: 12px; padding: 13px 15px; background: var(--white);
  transition: border-color .16s ease;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--green); }
.field textarea { min-height: 128px; resize: vertical; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.check label { font-family: var(--font-body); font-weight: 400; margin: 0; }
.check a { color: var(--green-deep); font-weight: 600; }
.form-plate .btn { margin-top: 6px; width: 100%; }
.form-ok { display: none; margin-top: 18px; background: var(--lime); border-radius: 16px; padding: 16px 18px; font-weight: 600; color: var(--forest); }
.form-ok.show { display: block; }
@media (max-width: 820px) { .form-wrap { grid-template-columns: 1fr; } }

/* ============================================================
   Generic pages (sobre / legal / contactos)
   ============================================================ */
.page-hero { padding-block: clamp(38px, 6vw, 72px) clamp(20px, 3vw, 34px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(34px, 6.4vw, 66px); letter-spacing: -0.035em; color: var(--white); max-width: 16ch; }
.page-hero p { margin-top: 18px; font-size: clamp(16px, 2vw, 19px); color: var(--on-green); max-width: 56ch; }

.prose {
  max-width: 780px; background: var(--cream); color: var(--ink-soft);
  border-radius: var(--r-lg); padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow-soft);
}
.prose h2 { font-size: clamp(22px, 3.2vw, 30px); color: var(--forest); margin-top: 36px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--forest); margin-top: 26px; margin-bottom: 8px; }
.prose p, .prose li { font-size: 16px; color: var(--ink-soft); }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li { margin-top: 8px; }
.prose a { color: var(--green-deep); font-weight: 600; }
.prose .updated { font-size: 13.5px; color: #6a7a6f; margin-top: 4px; }
.prose strong { color: var(--forest); }

/* info cards */
.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.info-card {
  background: var(--cream); color: var(--forest); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease-out);
}
.info-card:hover { transform: translateY(-4px); }
.info-card h3 { font-size: 19px; margin-bottom: 8px; color: var(--forest); }
.info-card p { font-size: 15px; color: var(--ink-soft); }
.info-card a { color: var(--green-deep); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.info-card.accent { background: var(--lime); }
.info-card.sage { background: var(--sage); }
@media (max-width: 800px) { .info-row { grid-template-columns: 1fr; } }

/* principles row */
.princ { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.2vw,24px); margin-top: clamp(26px,4vw,44px); }
.princ article { background: var(--cream); color: var(--forest); border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow-soft); }
.princ h3 { font-size: 18px; margin-bottom: 8px; color: var(--forest); }
.princ p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 800px) { .princ { grid-template-columns: 1fr; } }

/* ============================================================
   404
   ============================================================ */
.err {
  min-height: 66vh; display: grid; place-items: center; text-align: center;
  padding-block: clamp(50px, 8vw, 100px);
}
.err .frog-mini { width: 150px; height: auto; margin: 0 auto 26px; }
.err h1 { font-size: clamp(64px, 18vw, 150px); color: var(--white); line-height: .9; }
.err p { font-size: 18px; margin: 16px auto 30px; max-width: 44ch; color: var(--on-green); }

/* ============================================================
   Footer
   ============================================================ */
.site-foot { background: var(--forest); color: var(--on-green); margin-top: var(--gap-section); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; padding-block: clamp(44px, 6vw, 68px); }
.foot-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--white); }
.foot-brand svg { width: 46px; height: 46px; flex: none; }
.site-foot h4 { font-family: var(--font-display); color: var(--lime); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.site-foot a { color: var(--on-green); text-decoration: none; }
.site-foot a:hover { color: var(--lime); text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-about { font-size: 14px; color: #b9d0be; margin-top: 14px; max-width: 42ch; }
.foot-disclaimer { border-top: 1px solid rgba(234,252,231,.16); padding-block: 24px 34px; }
.foot-disclaimer p { font-size: 12.5px; color: #9db8a4; line-height: 1.65; max-width: 96ch; }
.foot-copy { font-size: 13px; color: #b9d0be; margin-top: 12px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step:hover, .info-card:hover, .scene-card:hover { transform: none; }
}

/* ============================================================
   Logótipo do jogo (Frog Jump)
   ============================================================ */
.game-logo { display: block; height: auto; max-width: 100%; user-select: none; -webkit-user-drag: none; }
.game-logo-hero { width: 340px; max-width: 82%; margin: 0 0 20px; filter: drop-shadow(0 8px 20px rgba(6,26,16,.28)); }
.game-logo-play { width: 300px; max-width: 78%; margin: 4px auto 14px; filter: drop-shadow(0 8px 18px rgba(6,26,16,.24)); }
@media (max-width: 760px) {
  .game-logo-hero { width: 260px; margin-inline: auto; }
  .game-logo-play { width: 230px; }
}

/* ============================================================
   EXTRAS v2 — secções animadas, cheias de rãs e cor
   (mantém a mesma paleta charco; tudo respeita reduced-motion)
   ============================================================ */

/* -- keyframes partilhados -- */
/* usam a propriedade `translate` (não `transform`) para poderem
   compor com transformações já postas via atributo/rotate sem as apagar */
@keyframes bob      { 0%,100%{ translate: 0 0 }  50%{ translate: 0 -10px } }
@keyframes bob-soft { 0%,100%{ translate: 0 0 }  50%{ translate: 0 -6px } }
@keyframes sway     { 0%,100%{ transform: rotate(-4deg) }      50%{ transform: rotate(4deg) } }
@keyframes wiggle   { 0%,100%{ transform: rotate(0) } 25%{ transform: rotate(-3.5deg) } 75%{ transform: rotate(3.5deg) } }
@keyframes ripple   { 0%{ transform: translate(-50%,-50%) scale(.35); opacity:.5 } 100%{ transform: translate(-50%,-50%) scale(1.5); opacity:0 } }
@keyframes bubble   { 0%{ transform: translateY(0) scale(.6); opacity:0 } 12%{ opacity:.8 } 100%{ transform: translateY(-190px) scale(1); opacity:0 } }
@keyframes marquee  { from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
@keyframes blink    { 0%,90%,100%{ transform: scaleY(0) } 94%,97%{ transform: scaleY(1) } }
@keyframes twinkle  { 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
@keyframes rainfall { 0%{ transform: translateY(-16px); opacity:0 } 20%{ opacity:.8 } 100%{ transform: translateY(46px); opacity:0 } }
@keyframes floaty   { 0%,100%{ transform: translateY(0) rotate(var(--rot,0deg)) } 50%{ transform: translateY(-14px) rotate(var(--rot,0deg)) } }

/* -- rã do herói: pisca os olhos e abana ao passar o rato -- */
@media (prefers-reduced-motion: no-preference) {
  .frog-hero .lid { transform-box: fill-box; transform-origin: center top; animation: blink 6s ease-in-out infinite; }
  .hero-stage:hover .frog-hero { animation: wiggle 1.1s var(--ease-out); }
  .hero-stage .lily-a { animation: bob-soft 4.2s ease-in-out infinite; }
  .hero-stage .lily-b { animation: bob-soft 5.1s ease-in-out .4s infinite; }
}

/* ============================================================
   HOP BAND — fita de rãs em marcha (full-bleed marquee)
   ============================================================ */
.hop-band { background: var(--green-deep); border-block: 2px solid rgba(14,42,28,.18); overflow: hidden; }
.hop-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.hop-group { display: inline-flex; align-items: center; }
.hop-band:hover .hop-track { animation-play-state: paused; }
.hop-item {
  display: inline-flex; align-items: center; gap: 14px; padding: 15px 30px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(15px,2vw,19px);
  color: var(--on-green); white-space: nowrap; letter-spacing: -0.01em;
}
.hop-item svg { width: 34px; height: 34px; flex: none; }
.hop-item .pad { width: 16px; height: 11px; background: #379a53; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .hop-item svg { animation: bob 1.9s ease-in-out infinite; transform-origin: 50% 90%; }
  .hop-item:nth-child(even) svg { animation-delay: .5s; }
}
@media (prefers-reduced-motion: reduce) { .hop-track { animation: none; } }

/* ============================================================
   A RÃ — cartão de personagem
   ============================================================ */
.char { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px,4vw,58px); align-items: center; }
.char-stage {
  position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #bfe0f2 0 42%, #3f9ed6 42% 100%);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
  min-height: clamp(320px, 42vw, 460px);
  display: grid; place-items: center; padding: clamp(24px,4vw,44px);
}
.char-stage .frog-char { position: relative; z-index: 3; width: min(300px, 74%); height: auto; }
.char-lily {
  position: absolute; z-index: 2; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 62%; height: 46px; background: #2f9e50; border-radius: 50%;
  box-shadow: inset 0 -6px 0 rgba(14,42,28,.2);
}
.char-stage .ripple {
  position: absolute; z-index: 1; left: 50%; bottom: 20%; width: 220px; height: 84px;
  border: 3px solid rgba(255,255,255,.6); border-radius: 50%;
}
.char-stage .bubble {
  position: absolute; z-index: 2; bottom: 22%; width: 14px; height: 14px;
  background: rgba(255,255,255,.65); border-radius: 50%;
}
.char-sun { position: absolute; z-index: 0; top: 8%; right: 12%; width: 60px; height: 60px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 10px rgba(230,255,85,.28); }
@media (prefers-reduced-motion: no-preference) {
  .char-stage .frog-char { animation: bob 3.4s ease-in-out infinite; transform-origin: 50% 85%; }
  .char-stage:hover .frog-char { animation: wiggle 1.1s var(--ease-out); }
  .frog-char .lid { transform-box: fill-box; transform-origin: center top; animation: blink 4.8s ease-in-out infinite; }
  .char-stage .r1 { animation: ripple 3.6s ease-out infinite; }
  .char-stage .r2 { animation: ripple 3.6s ease-out 1.8s infinite; }
  .char-stage .b1 { left: 34%; animation: bubble 4.2s ease-in .2s infinite; }
  .char-stage .b2 { left: 60%; animation: bubble 5s ease-in 1.1s infinite; }
  .char-stage .b3 { left: 48%; width: 9px; height: 9px; animation: bubble 3.6s ease-in 2s infinite; }
}
.char-card { background: var(--cream); color: var(--forest); border-radius: var(--r-lg); padding: clamp(26px,3.6vw,48px); box-shadow: var(--shadow-soft); }
.char-card .eyebrow { margin-bottom: 16px; }
.char-card h2 { font-size: clamp(26px,4vw,44px); letter-spacing: -0.03em; color: var(--forest); }
.char-card > p { margin-top: 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 52ch; }
.traits { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 22px 0 0; padding: 0; }
.traits li { font-family: var(--font-display); font-weight: 500; font-size: 12.5px; background: var(--sage); color: var(--forest); border-radius: var(--r-pill); padding: 6px 14px; }
.traits li:nth-child(3n+1) { background: var(--lime); }
.traits li:nth-child(3n+2) { background: var(--sand); }
.meters { margin-top: 24px; display: grid; gap: 13px; }
.meter { display: grid; grid-template-columns: 1fr; gap: 6px; }
.meter .lbl { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--forest); }
.meter .lbl span:last-child { color: var(--green-deep); }
.meter .bar { display: block; height: 12px; border-radius: var(--r-pill); background: #e2e8dd; overflow: hidden; }
.meter .fill { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--green) 0%, var(--lime) 100%); width: var(--v, 80%); }
@keyframes grow { from { width: 0 } }
.char-card.in .fill { animation: grow 1.1s var(--ease-out); }
@media (max-width: 860px) { .char { grid-template-columns: 1fr; } .char-stage { order: -1; } }

/* ============================================================
   MOMENTOS DO CHARCO — galeria bento de cenas
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2vw, 22px); }
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  min-height: clamp(200px, 26vw, 300px); box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  margin: 0;
}
.bento-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.bento-card svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bento-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px 20px 18px; color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(8,26,16,.72) 78%);
}
.bento-card figcaption b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px,2.2vw,21px); letter-spacing: -0.02em; }
.bento-card figcaption span { font-size: 13.5px; color: #dfeadd; line-height: 1.5; }
.b-morning { grid-column: span 3; }
.b-noon    { grid-column: span 3; }
.b-dusk    { grid-column: span 2; }
.b-night   { grid-column: span 2; }
.b-rain    { grid-column: span 2; }
.bento-card .float { transform-box: fill-box; transform-origin: 50% 60%; }
@media (prefers-reduced-motion: no-preference) {
  .b-morning .float { animation: bob 3.8s ease-in-out infinite; }
  .b-noon .float    { animation: bob 3.2s ease-in-out .3s infinite; }
  .b-dusk .float    { animation: bob-soft 4.4s ease-in-out infinite; }
  .b-night .float   { animation: bob-soft 4s ease-in-out .5s infinite; }
  .b-rain .float    { animation: bob 3.6s ease-in-out .2s infinite; }
  .b-night .star    { animation: twinkle 2.6s ease-in-out infinite; }
  .b-night .star:nth-of-type(2) { animation-delay: .7s; }
  .b-night .star:nth-of-type(3) { animation-delay: 1.3s; }
  .b-rain .drop     { animation: rainfall 1.1s linear infinite; }
  .b-rain .drop:nth-of-type(2) { animation-delay: .35s; }
  .b-rain .drop:nth-of-type(3) { animation-delay: .7s; }
  .b-rain .drop:nth-of-type(4) { animation-delay: .5s; }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-morning, .b-noon, .b-dusk, .b-night, .b-rain { grid-column: span 1; }
  .b-morning { grid-column: span 2; }
}

/* ============================================================
   CURIOSIDADES — factos fofos sobre rãs
   ============================================================ */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.fact {
  background: var(--cream); color: var(--forest); border-radius: var(--r-card);
  padding: clamp(24px,3vw,32px); box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.fact:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.fact .ic {
  width: 56px; height: 56px; border-radius: 18px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--sage);
}
.fact:nth-child(3n+1) .ic { background: var(--lime); }
.fact:nth-child(3n+2) .ic { background: var(--sand); }
.fact .ic svg { width: 34px; height: 34px; }
.fact:hover .ic svg { animation: wiggle 1s var(--ease-out); }
.fact h3 { font-size: clamp(18px,2.2vw,21px); margin-bottom: 8px; color: var(--forest); }
.fact p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* -- rã decorativa a flutuar no fundo de algumas secções -- */
.deco-frog { position: absolute; z-index: 0; opacity: .08; pointer-events: none; width: clamp(80px, 10vw, 130px); }
.deco-frog.tl { top: 5%; left: -3%; --rot: -12deg; }
.deco-frog.br { bottom: 3%; right: -3%; --rot: 10deg; }
@media (prefers-reduced-motion: no-preference) { .deco-frog { animation: floaty 7s ease-in-out infinite; } .deco-frog.br { animation-delay: 1.5s; } }
.section { position: relative; }

/* -- evitar overflow horizontal: itens de grelha podem encolher -- */
.char-card, .char-stage, .bento-card, .fact, .scene-card, .step, .meter, .meter .lbl { min-width: 0; }
.meter .lbl span { white-space: nowrap; }
