/* Reconstrução estrutural — header, hero, atividades, rodapé (2026-10-16) */

.nav-label-short { display: none; }

/* —— Header: uma única barra compacta e centralizada —— */
.site-header {
  position: absolute;
  z-index: 30;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  min-height: 64px;
  height: 68px;
  margin-inline: auto;
  border-radius: 999px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px 8px 12px;
  background: #fffffff8;
  box-shadow: 0 8px 24px #0b4a7a18;
  box-sizing: border-box;
  white-space: nowrap;
}

.header-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header .logo-link {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 132px;
  max-height: 52px;
  padding: 4px 8px;
  overflow: visible;
  flex-shrink: 0;
}

.site-header .brand {
  position: relative;
  display: block;
  transform: rotate(-4deg);
  line-height: 0.9;
  letter-spacing: -0.8px;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.site-header .brand > span {
  font-size: 18px !important;
  -webkit-text-stroke: 3.5px white;
  filter: drop-shadow(0 2px 0 #08265135);
}

.site-header .brand strong {
  font-size: 20px !important;
  text-align: center;
}

.site-header .brand > svg {
  width: 32px !important;
  height: 32px !important;
  top: -8px !important;
  left: 20px !important;
}

.site-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 14px;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.site-header .main-nav a {
  padding: 6px 2px;
  color: #123a63;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .main-nav a:hover {
  color: #0054a6;
}

.site-header .main-nav .active {
  color: #0054a6;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-actions .icon-button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef7ff;
  color: #0c4a6e;
  border: 1.5px solid #cfe7fb;
  padding: 0;
  flex-shrink: 0;
}

.header-actions .button {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-actions .login-button {
  padding: 0 12px;
}

.header-actions .start-button {
  padding: 0 16px;
  box-shadow: 0 3px 0 #e0a80055;
}

.site-header .menu-toggle {
  display: none !important;
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 72vh, 780px);
  height: auto;
  display: grid;
  align-items: stretch;
  background: linear-gradient(180deg, #8bd8f7 0%, #bfe9fb 55%, #fff9e9 100%);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-scene,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 55%;
  z-index: 0;
}

.hero-fallback {
  z-index: 0;
}

.hero-scene {
  z-index: 1;
}

.hero.is-static .hero-scene,
.hero-scene.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero.is-static .hero-fallback,
.hero:not(.is-video-ready) .hero-fallback {
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 120px 0 88px;
}

.hero-copy {
  width: min(520px, 48%);
  text-align: center;
}

.hero-rotator {
  display: grid;
  width: 100%;
}

.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.38s ease, transform 0.38s ease, visibility 0.38s;
  z-index: 0;
  /* Mantém altura estável: todos os slides participam do grid, sem display:none */
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 2;
}

.hero-slide.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  transform: rotate(-2deg);
  -webkit-text-stroke: 8px white;
  paint-order: stroke fill;
  filter: drop-shadow(0 4px 0 #0a48842b);
}

.hero h1 span {
  display: block;
  color: var(--orange);
  font-size: 0.94em;
}

.hero h1 strong {
  display: block;
  color: #006cc6;
  font-size: 1.45em;
  font-weight: 600;
  text-shadow: 0 4px 0 #00478e;
}

.hero h1.hero-title-compact {
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.02;
  letter-spacing: -1.2px;
  -webkit-text-stroke: 7px white;
  max-width: 14ch;
  margin-inline: auto;
}

.hero h1.hero-title-compact span {
  font-size: 0.92em;
}

.hero h1.hero-title-compact strong {
  font-size: 1.2em;
  text-shadow: 0 3px 0 #00478e;
}

.hero-slide--compact .hero-lead {
  margin-top: 14px;
  max-width: 34ch;
  font-size: clamp(15px, 1.15vw, 17px);
  padding: 6px 12px;
  border-radius: 18px;
  background: #fffef0e8;
  box-shadow: 0 0 20px 12px #fffef0e8;
}

.hero-lead {
  margin: 22px auto 0;
  max-width: 420px;
  font-weight: 800;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.45;
  color: #123a63;
  background: #fffef0cc;
  box-shadow: 0 0 28px 18px #fffef0cc;
  border-radius: 28px;
  padding: 4px 8px;
}

.hero-pack-chips {
  margin: 12px auto 0;
  max-width: 360px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fffffff2;
  border: 1px solid #cfe7fb;
  box-shadow: 0 4px 14px #0b4a7a12;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: #123a63;
  white-space: normal;
}

.hero-pack-note {
  margin: 10px auto 0;
  max-width: 280px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fffffff0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  color: #3d5f84;
}

.hero-slide--compact .hero-buttons {
  margin-top: 18px;
  gap: 10px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-buttons .button {
  min-height: 54px;
  padding: 12px 22px;
  font-size: 15px;
  white-space: nowrap;
  flex: 0 1 auto;
}

.hero-rotator-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fffffff0;
  border: 1px solid #d7ebf8;
  box-shadow: 0 4px 14px #0b4a7a12;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #b7d7ef;
  cursor: pointer;
}

.hero-dot.is-active {
  background: #006fc7;
  transform: scale(1.15);
}

.hero-rotator-pause {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  margin-left: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f4ff;
  color: #0054a6;
  cursor: pointer;
}

.hero-rotator-pause svg {
  width: 14px;
  height: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 64px;
  fill: var(--cream);
  z-index: 3;
  pointer-events: none;
}

.cloud {
  z-index: 1;
}

/* —— Atividades —— */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.activity-card {
  min-height: 100%;
}

.activity-preview {
  aspect-ratio: 4 / 3;
  padding: 12px 12px 0;
}

.activity-preview img {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px 16px 0 0;
}

.activity-title {
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.2;
}

.activity-desc {
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

.activity-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.activity-actions .button {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 10px 12px;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-actions .button .play-dot {
  flex-shrink: 0;
}

/* —— Rodapé —— */
.site-footer {
  background: linear-gradient(135deg, #0f3550 0%, #0a243c 100%);
  color: #e8f3ff;
  padding: 48px 24px 20px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 32px 28px;
  align-items: start;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #ffe08a;
  font-family: var(--font-display);
}

.footer-col a {
  display: block;
  color: #e8f3ff;
  font-size: 14px;
  line-height: 1.35;
  padding: 6px 0;
  text-decoration: none;
  min-height: 32px;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 8px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.footer-mission,
.footer-col-support p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #d5e7f7;
}

.footer-pix-pending,
.footer-pix-active {
  font-size: 13px;
  color: #fff;
}

.footer-pix-note {
  font-size: 12px !important;
  color: #b7d2ea !important;
}

.footer-col-support .button,
.site-footer .button.secondary {
  margin-top: 8px;
  white-space: nowrap;
  background: #ffd33f;
  color: #082651;
  border: 2px solid #ffd33f;
  font-weight: 800;
}

.footer-col-support .button:hover,
.site-footer .button.secondary:hover {
  background: #ffe08a;
  color: #082651;
  border-color: #ffe08a;
}

.footer-bottom {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid #ffffff22;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 12px;
  color: #c5dced;
}

.footer-bottom > span {
  margin-right: auto;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom-links a {
  color: #cfe5f8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .brand > span {
  color: #fff;
  -webkit-text-stroke: 4px #0a243c;
}

.site-footer .brand strong {
  color: #ffe08a;
}

/* Desktop médio: labels curtos para caber na barra max-content */
@media (max-width: 1100px) {
  .nav-label-full { display: none; }
  .nav-label-short { display: inline; }
  .site-header .main-nav { gap: 12px; font-size: 12px; }
  .site-header { gap: 10px; padding-inline: 10px 12px; }
  .hero-copy { width: min(480px, 52%); }
}

@media (max-width: 1024px) {
  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    width: max-content;
    max-width: calc(100vw - 20px);
    min-height: 56px;
    height: 56px;
    gap: 8px;
    padding: 6px 8px 6px 10px;
  }

  .site-header .logo-link {
    max-width: 120px;
    max-height: 42px;
    padding: 2px 4px;
  }

  .site-header .brand > span { font-size: 16px !important; }
  .site-header .brand strong { font-size: 18px !important; }
  .site-header .brand > svg {
    width: 28px !important;
    height: 28px !important;
    top: -7px !important;
    left: 16px !important;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 24px));
    background: #fffdf8;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 14px 36px #08265128;
    white-space: normal;
    font-size: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-header .main-nav.is-open {
    display: flex;
  }

  .site-header .main-nav a {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .nav-label-full { display: inline; }
  .nav-label-short { display: none; }

  .site-header .menu-toggle { display: inline-flex !important; }
  .login-button,
  .start-button { display: none !important; }

  .header-actions { gap: 6px; }

  .hero {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0;
    background: linear-gradient(180deg, #9adcf8 0%, #d9f2fc 42%, #fff9e9 100%);
    display: flex;
    flex-direction: column;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(250px, 64vw, 380px);
    min-height: 250px;
    margin-top: 0;
    overflow: hidden;
  }

  .hero-scene,
  .hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 42%;
    mask-image: none;
  }

  .cloud {
    display: none;
  }

  .hero-inner {
    width: 100%;
    min-height: 0;
    justify-content: center;
    align-items: flex-start;
    padding: 4px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .hero-copy {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 46px);
    -webkit-text-stroke: 0;
    filter: none;
    transform: none;
  }

  .hero h1 strong {
    color: #004f92;
    text-shadow: 0 3px 0 #08315f;
    font-size: 1.35em;
  }

  .hero h1 span {
    color: #c24100;
  }

  .hero-lead {
    background: #fffef0f0;
    box-shadow: 0 0 16px 10px #fffef0f0;
    padding: 6px 10px;
    margin-top: 12px;
    font-size: 14px;
    max-width: 32ch;
  }

  .hero-slide--compact .hero-lead {
    margin-top: 10px;
    font-size: 14px;
    max-width: 30ch;
  }

  .hero h1.hero-title-compact {
    font-size: clamp(28px, 7.6vw, 34px);
    -webkit-text-stroke: 0;
    filter: none;
    transform: none;
    max-width: 13ch;
    letter-spacing: -0.8px;
  }

  .hero h1.hero-title-compact strong {
    font-size: 1.15em;
  }

  .hero-pack-chips {
    margin-top: 10px;
    font-size: 12px;
    padding: 7px 12px;
    max-width: 300px;
  }

  .hero-pack-note {
    margin-top: 8px;
    font-size: 11px;
    background: #fffffff5;
  }

  .hero-slide--compact .hero-buttons {
    margin-top: 14px;
    gap: 8px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    margin-top: 22px;
  }

  .hero-buttons .button {
    width: 100%;
    min-height: 50px;
    white-space: nowrap;
    font-size: 14px;
    padding: 12px 16px;
  }

  .hero-rotator-nav {
    margin-top: 12px;
  }

  .hero-wave { height: 36px; }
}

@media (max-width: 700px) {
  .activities-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 18px;
  }

  .activity-actions {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom > span {
    margin-right: 0;
  }
}

@media (max-width: 380px) {
  .site-header {
    width: calc(100% - 16px);
    top: 10px;
    padding: 5px 6px 5px 8px;
  }

  .site-header .logo-link { max-width: 118px; }
  .site-header .brand > span { font-size: 15px !important; }
  .site-header .brand strong { font-size: 17px !important; }
  .site-header .brand > svg {
    width: 26px !important;
    height: 26px !important;
    left: 16px !important;
    top: -6px !important;
  }

  .hero-media {
    min-height: 220px;
    height: clamp(220px, 58vw, 300px);
  }

  .hero h1 { font-size: 34px; }
}

/* —— Shell mobile estilo app —— */
.app-tabbar {
  display: none;
}

.pwa-install-banner {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  max-width: 520px;
  margin-inline: auto;
  background: #ffffff;
  border: 2px solid #cfe7fb;
  border-radius: 22px;
  box-shadow: 0 16px 40px #08265128;
  padding: 14px 14px 12px;
}

.pwa-install-banner[hidden] {
  display: none !important;
}

.pwa-install-inner {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 12px;
  align-items: start;
}

.pwa-install-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px #006fc722;
  grid-row: 1 / 2;
}

.pwa-install-copy {
  min-width: 0;
}

.pwa-install-copy h2 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #082651;
}

.pwa-install-copy p {
  font-size: 13px;
  line-height: 1.4;
  color: #294e77;
}

.pwa-install-steps {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: #123a63;
}

.pwa-install-steps li + li {
  margin-top: 4px;
}

.pwa-install-actions {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  margin-top: 2px;
  grid-column: 1 / -1;
}

.pwa-install-actions .button {
  min-height: 46px;
  font-size: 13px;
  padding: 10px 12px;
}

.pwa-install-cta.primary,
.pwa-install-actions .button.primary {
  background: linear-gradient(#ffdf60, #ffcb27);
  color: #09264e;
  box-shadow: 0 4px 0 #f3a71a, inset 0 2px 0 #fff7b3;
}

.app-menu-links [data-pwa-menu-install][hidden] {
  display: none !important;
}

html.edj-standalone .pwa-install-banner,
html.edj-standalone [data-pwa-menu-install] {
  display: none !important;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.has-pwa-banner {
    padding-bottom: calc(250px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    position: fixed;
    top: calc(8px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 520px;
    height: 52px;
    min-height: 52px;
    justify-content: space-between;
    padding: 6px 8px 6px 10px;
    background: #fffffff2;
    backdrop-filter: blur(10px);
  }

  .site-header .main-nav,
  .site-header .menu-toggle,
  .login-button,
  .start-button {
    display: none !important;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .header-search,
  .header-actions .icon-button {
    width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .app-tabbar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: #fffdf8f5;
    border-top: 1px solid #d7ebf8;
    box-shadow: 0 -8px 24px #0b4a7a12;
    backdrop-filter: blur(12px);
  }

  .app-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #3d5f84;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    padding: 4px 2px;
    border-radius: 14px;
    font: 700 11px/1.1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .app-tab svg {
    width: 22px;
    height: 22px;
  }

  .app-tab.is-active,
  .app-tab[aria-current="page"] {
    color: #0054a6;
    background: #e8f4ff;
  }

  .app-tab.is-active span,
  .app-tab[aria-current="page"] span {
    color: #004f92;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .pwa-install-banner {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 901px) {
  .app-tabbar,
  .pwa-install-banner {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene {
    display: none !important;
  }

  .hero-fallback {
    z-index: 2;
  }
}

.app-menu-links {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.app-menu-links a,
.app-menu-links .app-menu-install {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3f9ff;
  border: 1px solid #d7ebf8;
  font: inherit;
  font-weight: 800;
  color: #123a63;
  text-align: left;
  cursor: pointer;
}

.app-menu-links .app-menu-install {
  background: #fff8d9;
  border-color: #f5d76a;
  color: #7a4d00;
}

.app-menu-sheet .button {
  width: 100%;
}

/* —— Tipografia UX (leitura infantil e pais) —— */
body {
  font-size: 17px;
  line-height: 1.55;
}

.main-nav {
  font-size: clamp(12px, 1vw, 14px);
}

.hero-copy > p {
  font-size: clamp(16px, 1.35vw, 18px);
}

.section-heading p,
.games-heading p {
  font-size: 16px;
  line-height: 1.5;
}

.activity-title {
  font-size: 19px;
  min-height: 2.5em;
}

.activity-theme {
  font-size: 13px;
}

.activity-desc {
  font-size: 14px;
  line-height: 1.55;
  min-height: 4.2em;
}

.activity-actions .button {
  font-size: 14px;
  min-height: 50px;
  height: 50px;
}

.about-copy p,
.family-band p,
.support-band p,
.pack-band p,
.footer-mission,
.footer-col-support p {
  font-size: 15px;
  line-height: 1.6;
}

/* —— Seções ilustradas (pack / apoio / pais) —— */
.about-section {
  max-width: 1180px;
  margin: 12px auto 28px;
  padding: 0 20px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 18px 28px;
}

.story-band.family-band,
.story-band.support-band,
.story-band.pack-band {
  display: block;
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  max-width: 1180px;
}

.about-art {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(120deg, #fff7e8, #eaf6ff);
}

.about-art img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: left center;
}

.about-copy {
  padding: 8px 8px 8px 0;
}

.story-band {
  max-width: 1180px;
  margin: 8px auto 36px;
  padding: 0 20px;
}

.story-band-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(280px, 1.15fr);
  align-items: center;
  gap: 18px 24px;
  padding: 16px 18px 16px 12px;
  border-radius: 28px;
  background: linear-gradient(145deg, #e8f4ff 0%, #f7fbff 55%, #fff8e8 100%);
  box-shadow: var(--shadow);
  border: 2px solid #cfe7fb;
  overflow: hidden;
}

.support-band .story-band-inner,
.support-band-inner {
  background: linear-gradient(135deg, #fff7ed, #e0f2fe);
  border-color: #fed7aa;
}

.family-band .story-band-inner,
.family-band-inner {
  background: #e8f7ff;
  border: 2px solid #cfe7fb;
}

.story-band--flip .story-band-inner {
  grid-template-columns: minmax(280px, 1.15fr) minmax(220px, 0.95fr);
}

.story-band--flip .story-band-art {
  order: 2;
}

.story-band--flip .story-band-body {
  order: 1;
}

.story-band-art {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fffdf8;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.story-band-art img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.story-band-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  padding: 8px 10px 8px 4px;
}

.pack-band-copy {
  width: 100%;
  min-width: 0;
}

.pack-band h2,
.support-band h2,
.family-band h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 6px 0 10px;
  color: #082651;
  max-width: 28ch;
}

.pack-band-lead {
  max-width: 48ch;
  color: #294e77;
  font-weight: 700;
  margin-bottom: 8px;
}

.pack-band-note {
  max-width: 48ch;
  font-size: 13px !important;
  color: #3d5f84;
  margin-bottom: 14px;
}

.pack-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pack-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #123a63;
  font-weight: 700;
}

.pack-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #ffffffcc;
  border: 1px solid #d7ebf8;
  color: #006fc7;
  flex-shrink: 0;
}

.pack-highlight-icon svg {
  width: 18px;
  height: 18px;
}

.pack-band-cta {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  max-width: none;
  container-type: inline-size;
  container-name: pack-cta;
}

.pack-band-cta > .button {
  flex: 1 1 auto;
  min-width: min(100%, 168px);
  max-width: 100%;
  justify-content: center;
  text-align: center;
}

.pack-cta {
  white-space: nowrap;
  text-align: center;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 15px;
  line-height: 1.25;
}

.pack-band-cta > .edj-share-btn {
  white-space: nowrap;
  min-height: 52px;
}

@container pack-cta (max-width: 380px) {
  .pack-band-cta > .button {
    flex: 1 1 100%;
    white-space: normal;
  }
}

.pack-cta-ready {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: #64748b !important;
  margin: 0;
  text-align: left;
}

.story-band-body > .button {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-art img {
    max-height: 260px;
    object-position: center 30%;
  }

  .about-copy {
    padding: 4px 2px 8px;
  }

  .story-band-inner,
  .story-band--flip .story-band-inner {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }

  .story-band--flip .story-band-art,
  .story-band--flip .story-band-body {
    order: initial;
  }

  .story-band-art {
    min-height: 0;
  }

  .story-band-art img {
    max-height: 220px;
    object-fit: cover;
    object-position: center 35%;
  }

  .story-band-body {
    padding: 0 2px 4px;
    gap: 14px;
  }

  .pack-band h2,
  .support-band h2,
  .family-band h2 {
    max-width: none;
  }

  .pack-band-cta {
    width: 100%;
    max-width: none;
  }

  .story-band-body > .button {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .pack-band-cta > .button {
    flex: 1 1 calc(50% - 6px);
    min-width: min(100%, 148px);
  }
}

@media (max-width: 560px) {
  .pack-band-cta > .button {
    flex: 1 1 100%;
    white-space: normal;
  }

  .pack-cta {
    white-space: normal;
  }
}

.footer-col a {
  font-size: 15px;
  min-height: 36px;
}

/* —— Pix / Apoie —— */
.pix-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 22px 0 8px;
}

.pix-qr-figure {
  margin: 0;
  text-align: center;
  max-width: 320px;
}

.pix-qr-image {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border: 3px solid #e0f2fe;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 8px 24px #08265118;
}

.pix-qr-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
  font-weight: 700;
}

.pix-key-line code {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f0f9ff;
  color: #0c4a6e;
  font-size: 15px;
  word-break: break-all;
}

.pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.footer-col-support .footer-pix-active {
  font-size: 14px;
  color: #fff;
  word-break: break-word;
}

/* —— FAQ (SEO + IA Search) —— */
.faq-section {
  max-width: 900px;
  margin: 0 auto 48px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  background: #fff;
  border: 2px solid #e0f2fe;
  border-radius: 18px;
  padding: 4px 18px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #0c4a6e;
  padding: 16px 0;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: #0284c7;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .activity-title { font-size: 18px; }
  .faq-item summary { font-size: 16px; }
}

/* —— Modal de apoio (Pix compacto + CTA inscrição) —— */
.dialog.dialog-support {
  width: min(100vw - 24px, 440px);
  max-height: min(90dvh, 720px);
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: #fffdf8;
  color: #082651;
  box-shadow: 0 18px 48px #08265133;
}

.dialog.dialog-support::backdrop {
  background: rgba(8, 38, 81, 0.48);
}

.dialog.dialog-support .dialog-inner {
  padding: 14px 16px 16px;
  max-height: min(90dvh, 720px);
  overflow: auto;
  overscroll-behavior: contain;
}

.dialog.dialog-support .dialog-heading {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.dialog.dialog-support .dialog-heading h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.support-modal {
  display: grid;
  gap: 10px;
}

.support-modal-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #294e77;
}

.support-modal-callout {
  margin: 4px 0 0;
  font-size: 17px;
  color: #082651;
}

.support-pix-block {
  margin-top: 4px;
  padding: 14px;
  border-radius: 18px;
  background: #f0f9ff;
  border: 2px solid #e0f2fe;
}

.dialog.dialog-support .pix-qr-image {
  width: min(100%, 160px);
}

.support-pix-receiver {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}

.support-pix-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-pix-actions .button {
  flex: 1 1 140px;
  min-height: 44px;
  justify-content: center;
  font-size: 13px;
  padding: 10px 12px;
}

.support-enroll-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #bae6fd;
  display: grid;
  gap: 8px;
}

.support-enroll-hint {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #294e77;
  text-align: center;
}

.support-enroll-cta {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.support-pix-pending {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 2px solid #ffedd5;
  font-size: 14px;
  line-height: 1.5;
}

.support-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.support-modal-actions .button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.support-btn-pix {
  background: linear-gradient(135deg, #ffd33f, #f56a08);
  color: #082651;
  border: 0;
  font-weight: 800;
}

.support-btn-pix:hover {
  filter: brightness(1.03);
}

.support-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #128c7e;
  color: #fff;
  border: 0;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
}

.support-btn-whatsapp:hover {
  background: #0e7a6e;
}

.support-btn-whatsapp:focus-visible {
  outline: 3px solid #005aab;
  outline-offset: 3px;
}

.support-btn-whatsapp .whatsapp-icon {
  width: 22px;
  height: 22px;
}

.support-btn-continue {
  font-weight: 700;
}

.support-modal-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #64748b;
  text-align: center;
}

.pix-status {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #0c4a6e;
}

@media (max-width: 600px) {
  .dialog.dialog-support {
    width: min(100vw - 16px, 520px);
    max-height: calc(100dvh - 12px);
  }

  .dialog.dialog-support .dialog-inner {
    padding: 14px 12px 16px;
    max-height: calc(100dvh - 12px);
  }

  .support-btn-whatsapp {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .support-btn-pix:hover,
  .support-btn-whatsapp:hover {
    filter: none;
  }
}

/* —— Growth: faixas premium + família + modal dual —— */
.premium-strip {
  grid-column: 1 / -1;
  margin: 8px 0 28px;
  border-radius: 22px;
  padding: 18px 20px;
  border: 2px solid #e0f2fe;
  background: linear-gradient(135deg, #fffdf6 0%, #eaf6ff 100%);
  box-shadow: 0 10px 28px #08265112;
}
.premium-strip--warm { background: linear-gradient(135deg, #fff8e7, #ffe8c8); border-color: #fde68a; }
.premium-strip--sky { background: linear-gradient(135deg, #eef8ff, #d9efff); border-color: #bae6fd; }
.premium-strip--garden { background: linear-gradient(135deg, #f3fff6, #e2f7e8); border-color: #bbf7d0; }
.premium-strip--light { background: linear-gradient(135deg, #ffffff, #f8fafc); border-color: #e2e8f0; }
.premium-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.premium-strip-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b45309;
}
.premium-strip-title {
  margin: 0 0 6px;
  font-family: var(--font-heading, "Fredoka", sans-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: #082651;
  line-height: 1.25;
}
.premium-strip-text {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #294e77;
  max-width: 52ch;
}
.premium-strip-price { margin: 8px 0 0; font-weight: 800; }
.premium-strip-compare {
  color: #64748b;
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 14px;
}
.premium-strip-now {
  color: #c2410c;
  font-size: 1.15rem;
}
.premium-strip-cta { min-height: 48px; white-space: nowrap; }
.pack-band-price { margin: 10px 0 0; font-weight: 800; }

.family-lead-section {
  padding: 28px 16px 48px;
}
.family-lead-card {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.88fr);
  gap: 22px 28px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, #fffef8, #e8f4ff);
  border: 2px solid #e0f2fe;
  box-shadow: 0 14px 34px #08265114;
}
.family-lead-intro {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}
.family-lead-kicker {
  margin: 0;
}
.family-lead-intro > #family-lead-title {
  margin: 0;
  font-family: var(--font-heading, "Fredoka", sans-serif);
  color: #082651;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  max-width: 22ch;
}
.family-lead-art {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #dbeafe;
  aspect-ratio: 16 / 11;
  max-height: 260px;
  width: 100%;
}
.family-lead-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.family-lead-aside {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}
.family-lead-lead {
  margin: 0;
  font-weight: 700;
  color: #294e77;
  line-height: 1.5;
  max-width: 46ch;
}
.family-lead-form {
  display: grid;
  gap: 11px;
  align-content: start;
  min-width: 0;
}
.family-lead-form label {
  display: grid;
  gap: 5px;
  font-weight: 800;
  font-size: 13.5px;
  color: #082651;
}
.family-lead-form .optional { font-weight: 700; color: #64748b; font-size: 12px; }
.family-lead-form input[type="text"],
.family-lead-form input[type="email"],
.family-lead-form input[type="tel"] {
  min-height: 46px;
  width: 100%;
  border: 2px solid #b3e3fb;
  border-radius: 14px;
  padding: 8px 12px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}
.family-lead-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #294e77 !important;
  line-height: 1.45;
}
.family-lead-consent input {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: #0b6bcb;
}
.family-lead-consent a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.family-lead-submit {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font-weight: 800;
  white-space: nowrap;
  justify-content: center;
  text-align: center;
}
.family-lead-status { margin: 0; min-height: 1.2em; font-size: 13.5px; font-weight: 800; }
.family-lead-status.is-ok { color: #0f766e; }
.family-lead-status.is-error { color: #b91c1c; }

.support-modal-col {
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.support-modal-col--pix { background: #f0f9ff; border-color: #bae6fd; }
.support-modal-col-title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #082651;
}
.support-pix-qr { text-align: center; margin: 6px 0; }
.support-pix-qr .pix-qr-image { width: min(100%, 160px); height: auto; }

@media (max-width: 980px) {
  .family-lead-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 20px;
  }
  .family-lead-intro > #family-lead-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .family-lead-card {
    padding: 16px;
    gap: 16px;
  }
  .family-lead-art {
    max-height: 200px;
    aspect-ratio: 16 / 10;
  }
  .family-lead-art img {
    object-position: center 35%;
  }
  .family-lead-submit {
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 820px) {
  .premium-strip-inner { flex-direction: column; align-items: stretch; }
  .premium-strip-cta { width: 100%; }
  .support-pix-actions { flex-direction: column; }
  .support-pix-actions .button { flex: 1 1 auto; width: 100%; }
}
@media (max-height: 720px) {
  .support-pix-qr .pix-qr-image { width: min(100%, 120px); }
  .dialog.dialog-support .dialog-inner { max-height: calc(100dvh - 8px); overflow: auto; }
}

/* —— Destaque Pintar Online na Home (2026-10-28) —— */
.pintar-home-strip {
  margin: 1.25rem auto 1.5rem;
  max-width: 1120px;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}
.activities-section .pintar-home-strip {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 1.35rem 0 1.5rem;
}
.pintar-home-card {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(120deg, #eaf5ff, #fff7ea);
  border: 2px solid #d7e8f8;
  border-radius: 24px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 10px 28px rgba(11, 74, 122, 0.08);
}
.pintar-home-card .pintar-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0054a6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pintar-home-card h2 {
  margin: 0 0 0.4rem;
  font-family: "Fredoka", "Nunito", sans-serif;
  color: #0f3d7a;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
}
.pintar-home-card p {
  margin: 0 0 0.85rem;
  color: #3d5470;
  line-height: 1.45;
}
.pintar-home-card__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #fff;
}
.pintar-home-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .pintar-home-card { grid-template-columns: 1fr; }
}
