/* DigitaKids — site marketing (estático) */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap");

:root {
  --bg-top: #1e3799;
  --bg-mid: #15307a;
  --bg-bottom: #0c2461;
  --accent: #c4a4f8;
  --accent-soft: rgba(196, 164, 248, 0.18);
  --text: #f5f6fa;
  --muted: #d0d4e0;
  --cta: #00b894;
  --cta-hover: #55efc4;
  --secondary: #ffeaa7;
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.12);
  --max: 980px;
  --font-display: "Nunito", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(196, 164, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(0, 184, 148, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  animation: fadeDown 0.6s ease-out;
}

.site-header .logo {
  height: 52px;
  width: auto;
  transition: transform 0.2s ease;
}

.site-header .logo:hover {
  transform: scale(1.04);
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.lang-switch a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(196, 164, 248, 0.45);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.75rem;
  text-align: center;
  animation: fadeUp 0.7s ease-out 0.05s both;
}

.hero-logo {
  width: min(400px, 82vw);
  height: auto;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.4));
  animation: logoFloat 4.5s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.7rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta), #019875);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 184, 148, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-hover), var(--cta));
  color: #0c2461;
  box-shadow: 0 10px 28px rgba(85, 239, 196, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background: rgba(255, 234, 167, 0.14);
}

.breadcrumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.35rem 1.25rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.breadcrumbs a {
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.hero-compact {
  padding-bottom: 0.5rem;
}

.hero-compact h1 {
  margin-bottom: 0;
}

.prose ol {
  margin: 0.75rem 0 0 1.25rem;
  color: var(--muted);
}

.prose ol li {
  margin-bottom: 0.4rem;
}

.prose .btn {
  margin: 0.35rem 0.5rem 0.35rem 0;
}

@media print {
  .site-header,
  .breadcrumbs,
  .site-footer,
  .no-print,
  .lang-switch {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  .prose,
  .print-sheet,
  .prose h2,
  .prose p,
  .prose li {
    color: #111 !important;
    max-width: 100%;
  }

  .print-sheet {
    padding: 0;
  }
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 1.1rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose a {
  font-weight: 600;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  animation: fadeUp 0.6s ease-out both;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.section > p {
  color: var(--muted);
  max-width: 46rem;
}

.section p + p { margin-top: 0.75rem; }

.section strong {
  color: var(--text);
  font-weight: 700;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.grid-3 {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .phases-grid { grid-template-columns: repeat(5, 1fr); }
}

.panel {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.panel:hover {
  border-color: rgba(196, 164, 248, 0.35);
  transform: translateY(-2px);
}

.panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.panel p {
  color: var(--muted);
  font-size: 0.98rem;
}

.phase {
  text-align: center;
  padding: 1.1rem 0.75rem;
}

.phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.55rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}

.phase h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.phase p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.seo-block {
  margin-top: 0.5rem;
}

.seo-block ul {
  margin: 0.85rem 0 0 1.15rem;
  color: var(--muted);
}

.seo-block li {
  margin-bottom: 0.45rem;
}

.seo-block li strong {
  color: var(--secondary);
}

.faq details {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.55rem;
  border: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: rgba(196, 164, 248, 0.28);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.25rem;
  color: var(--accent);
  font-weight: 800;
}

.faq details[open] summary::before {
  content: "–";
}

.faq p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.25rem;
}

.site-footer {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding: 1.5rem 1.25rem 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.site-footer a {
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}

.donate-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (min-width: 720px) {
  .donate-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.donate-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pix-key {
  margin: 1rem 0;
}

.pix-key code {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: var(--text);
  word-break: break-all;
}

.donate-card .btn {
  margin-top: 0.35rem;
}

.donate-free {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 214, 168, 0.35);
  background: rgba(46, 125, 90, 0.22);
  color: var(--text);
}

.donate-paypal-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.75rem 0 0.35rem;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
