/* Estilos básicos sem rastreamento externo */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --primary: #0ea5e9;
  --primary-strong: #0284c7;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --container: 1180px;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.top-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: calc(var(--header-height) - 16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: hidden;
  transform: scale(3);
  transform-origin: left center;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.brand__title {
  margin: 0;
  font-weight: 700;
}

.brand__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.menu-btn {
  border: none;
  background: transparent;
  padding: 4px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #1f2937;
  cursor: pointer;
  margin-left: auto;
  flex: 0 0 auto;
}

.menu-btn svg {
  display: block;
  width: 26px;
  height: 26px;
  transform: translateY(-1px);
}

main {
  padding: 24px 0 60px;
}

.hero {
  padding: 20px 0 12px;
}

.hero__stack {
  display: grid;
  gap: 16px;
}

.hero__banner {
  background: #fdfcf8;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #f2efe6;
  position: relative;
}

.hero__banner img {
  width: 150%;
  max-width: none;
  margin-left: -25%;
  display: block;
  object-fit: cover;
}

.hero__content h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 34px);
  line-height: 1.15;
  color: #0b1b34;
}

.hero__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
  color: #4b5563;
  font-size: 15px;
}

.hero__meta li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__meta svg {
  color: #6b7280;
}

.hero__cta {
  margin-top: 4px;
}

.hero__cta .btn-primary {
  width: 100%;
  border-radius: 12px;
  height: 48px;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  background: #e0f2fe;
  color: #075985;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 8px 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
}

.lede {
  color: var(--muted);
  max-width: 640px;
  margin: 12px 0 18px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.video-card {
  background: var(--card);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-card__frame {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-card video {
  width: 100%;
  display: block;
}

.video-card__caption {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card__body {
  padding: 20px 22px 26px;
}

.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
}

.tab {
  border: 0;
  background: #e0f2fe;
  color: #075985;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

.tab.active {
  background: #0ea5e9;
  color: #fff;
}

.story h2 {
  margin-top: 0;
  font-size: 22px;
}

.story p {
  color: var(--muted);
}

.impacto {
  margin: 24px auto 0;
  background: linear-gradient(135deg, #fef6ec 0%, #fffaf5 100%);
  border: 1px solid #f4e2c8;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  max-width: 460px;
}

.impacto__header {
  text-align: center;
  margin-bottom: 14px;
}

.impacto__eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #d97706;
  font-weight: 700;
}

.impacto__header h3 {
  margin: 0;
  font-size: 20px;
  color: #1f2937;
}

.impacto__list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.impacto__card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #f0e5d6;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.impacto__valor {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 12px;
  min-width: 84px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.35);
}

.impacto__texto {
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
}

.story .btn-primary {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 14px auto 0;
  text-align: center;
}

@media (min-width: 768px) {
  .impacto {
    padding: 24px;
  }

  .impacto__header h3 {
    font-size: 22px;
  }

  .impacto__card {
    padding: 14px 16px;
  }

  .impacto__valor {
    font-size: 16px;
    padding: 11px 16px;
    min-width: 92px;
  }
}

.story ul {
  color: var(--text);
  padding-left: 18px;
}

.story li + li {
  margin-top: 6px;
}

.story__image {
  width: 100%;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  object-fit: cover;
}

.sidebar {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.progress {
  margin-bottom: 16px;
}

.progress__numbers {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress__value {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.progress__bar {
  margin-top: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.progress__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  transition: border-color 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.input-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.input-prefix input {
  border: none;
  padding: 0;
  box-shadow: none;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ca3e1, #0077b6);
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.btn-block {
  width: 100%;
}

.valor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.valor-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: all 0.15s ease;
}

.valor-btn:hover {
  border-color: var(--primary);
}

.valor-btn.active {
  background: #0ea5e9;
  color: #fff;
  border-color: #0284c7;
}

.valor-btn.span-2 {
  grid-column: span 2;
}

.pix {
  margin-top: 20px;
  padding-left: 0;
  padding-right: 0;
}

.pix-card {
  background: linear-gradient(160deg, #0f9f4f 0%, #0b7c44 70%, #0a6a3a 100%);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(12, 105, 60, 0.2);
  color: #ecfdf3;
  padding: 20px 18px 22px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.pix__logo {
  width: 140px;
  margin: 0 auto 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pix__logo img {
  width: 100%;
  display: block;
}

.pix__content {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 15px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pix__eyebrow {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.pix__steps {
  margin: 0;
  padding-left: 18px;
  color: #f3f5f4;
  display: grid;
  gap: 10px;
  font-size: 16px;
}

.pix__steps strong {
  color: #ffffff;
}

.pix__keycard {
  margin-top: 12px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 13px 16px;
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 6px;
}

.pix__key {
  padding: 13px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 800;
  color: #0f766e;
  text-align: center;
  word-break: break-all;
}

.pix__receiver {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

.pix__copy {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  font-size: 15px;
}

.pix__note {
  margin: 12px 0 0;
  font-size: 14px;
  color: #d6f5df;
  text-align: center;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

.center {
  text-align: center;
}

.gallery {
  margin-top: 28px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#toast {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #0ea5e9;
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 20;
}

#toast.show {
  opacity: 1;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .pix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .top-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .valor-grid {
    grid-template-columns: 1fr;
  }

  .badge {
    font-size: 13px;
  }
}
