/* ============================================================
   POSITIVA CRED — Stylesheet
   Cor primária: #00c3ab
   Fontes: Inter Regular (400) · Sora SemiBold (600-900)
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2');
}

/* weight 700 = Sora SemiBold (cobre 600, 700, 800, 900) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('../fonts/sora-semibold.woff2') format('woff2');
}

:root {
  --primary:          #00c3ab;
  --primary-dark:     #009e8c;
  --primary-light:    #00e5cc;
  --primary-fg:       #041a17;
  --bg:               #141f1c;
  --bg2:              #1a2825;
  --card:             #1e2e2a;
  --card2:            #243430;
  --fg:               #f0f7f5;
  --fg-muted:         #8aaba4;
  --border:           rgba(255,255,255,0.08);
  --border-primary:   rgba(0,195,171,0.3);
  --gradient-brand:   linear-gradient(135deg, #00c3ab, #00e5cc);
  --shadow-glow:      0 0 0 1px rgba(0,195,171,0.25), 0 20px 60px -10px rgba(0,195,171,0.35);
  --shadow-card:      0 1px 0 0 rgba(255,255,255,0.04) inset, 0 20px 40px -20px rgba(0,0,0,0.6);
  --radius-sm:        0.5rem;
  --radius:           0.875rem;
  --radius-lg:        1.25rem;
  --radius-xl:        1.75rem;
  --radius-2xl:       2rem;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1 { font-size: 2em;   font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: 1.5em; font-weight: 800; line-height: 1.2;  letter-spacing: -0.02em; }
h3 { font-size: 1.2em; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1em;   font-weight: 600; }
p  { font-size: 1em;   line-height: 1.5em; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4em 1em;
}
.container--narrow { max-width: 960px; }
.container--text   { max-width: 720px; }

/* ── Utility ─────────────────────────────────────────────── */
.text-primary  { color: var(--primary); }
.text-muted    { color: var(--fg-muted); }
.text-center   { text-align: center; }
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 1em;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
  border: none;
}
.btn:hover { transform: scale(1.02); }

.btn--primary {
  background: var(--gradient-brand);
  color: var(--primary-fg);
  box-shadow: var(--shadow-glow);
}

.btn--outline {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--fg);
  backdrop-filter: blur(4px);
}
.btn--outline:hover { background: var(--card); }

.btn svg { width: 1em; height: 1em; flex-shrink: 0; transition: transform 0.2s; }
.btn--primary:hover svg.arrow { transform: translateX(3px); }

/* ── Badge / Tag ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border-primary);
  background: rgba(0,195,171,0.1);
  color: var(--primary);
  font-size: 0.75em;
  font-weight: 600;
  padding: 0.375rem 1rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--gradient-brand);
  color: var(--primary-fg);
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.topbar__inner svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: relative;
  z-index: 20;
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem;
}
.header__logo img { height: 3rem; width: auto; }
.header__cta {
  display: none;
  border-radius: 999px;
  border: 1px solid var(--border-primary);
  padding: 0.5rem 1.25rem;
  font-size: 0.875em;
  font-weight: 700;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
.header__cta:hover {
  background: var(--primary);
  color: var(--primary-fg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,195,171,0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0,195,171,0.12), transparent 70%),
    linear-gradient(180deg, #121e1a, #171f1d);
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding: 3rem 1rem 6rem;
}
.hero__title { margin-top: 1.5rem; }
.hero__desc {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: var(--fg-muted);
  font-size: 1em;
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875em;
  color: var(--fg-muted);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__trust-item svg { width: 1rem; height: 1rem; color: var(--primary); }

/* Specialist card */
.hero__card-wrap {
  position: relative;
}
.hero__card-glow {
  position: absolute;
  inset: -1.5rem;
  z-index: -1;
  border-radius: 2rem;
  opacity: 0.6;
  filter: blur(3rem);
  background: var(--gradient-brand);
}
.hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-primary);
  background: var(--card);
  box-shadow: var(--shadow-glow);
}
.hero__card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.hero__card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-primary);
  background: rgba(20,31,28,0.7);
  padding: 0.375rem 0.75rem;
  font-size: 0.75em;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.hero__card-badge svg { width: 1rem; height: 1rem; color: var(--primary); }
.hero__card-badge span.label { font-size: 0.65em; color: var(--fg-muted); display: block; line-height: 1.2; }
.hero__card-stars {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 10;
  border-radius: var(--radius);
  border: 1px solid var(--border-primary);
  background: rgba(20,31,28,0.7);
  padding: 0.5rem 1rem;
  backdrop-filter: blur(4px);
}
.hero__card-stars .stars {
  display: flex;
  gap: 2px;
  color: var(--primary);
}
.hero__card-stars .stars svg { width: 0.875rem; height: 0.875rem; }
.hero__card-stars p { font-size: 0.7em; color: var(--fg-muted); margin-top: 2px; }
.hero__ig {
  margin-top: 1.25rem;
  text-align: center;
}
.hero__ig a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875em;
  font-weight: 700;
}
.hero__ig a svg { width: 1rem; height: 1rem; color: var(--primary); }
.hero__ig p { font-size: 0.875em; color: var(--fg-muted); margin-top: 0.25rem; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  padding: 1.5rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--fg-muted);
}
.marquee-track span.dot { color: var(--primary); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { padding: 5rem 1rem; }
.video-section__header { text-align: center; }
.video-section__eyebrow {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.video-section__title { margin-top: 1rem; }
.video-section__desc {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  color: var(--fg-muted);
}
.video-wrap {
  margin-top: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-primary);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services { padding: 5rem 1rem 7rem; }
.services__header { text-align: center; }
.services__eyebrow {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.services__title { margin-top: 1rem; }
.services__desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: var(--fg-muted);
}
.services__grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--border-primary); }
.service-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--gradient-brand);
  flex-shrink: 0;
}
.service-card__icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary-fg); }
.service-card__title { margin-top: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
.service-card__desc  { margin-top: 0.5rem; font-size: 0.875em; color: var(--fg-muted); }
.service-card__list  { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.service-card__list li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.875em;
  color: rgba(240,247,245,0.9);
}
.service-card__list li svg { width: 1rem; height: 1rem; margin-top: 0.125rem; flex-shrink: 0; color: var(--primary); }
.service-card__quote {
  margin-top: 1.5rem;
  border-left: 2px solid rgba(0,195,171,0.6);
  padding-left: 0.75rem;
  font-size: 0.875em;
  font-style: italic;
  color: var(--fg-muted);
}
.service-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.service-card__footer .label {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.service-card__footer .price {
  font-size: 1.25em;
  font-weight: 800;
}

/* ============================================================
   BUNDLE OFFER
   ============================================================ */
.bundle { padding: 5rem 1rem 7rem; }
.bundle__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-primary);
  background: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-glow);
}
.bundle__glow {
  pointer-events: none;
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(3rem);
  background: var(--gradient-brand);
}
.bundle__pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.7em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
}
.bundle__title { margin-top: 1.25rem; }
.bundle__desc { margin-top: 1rem; color: var(--fg-muted); }
.bundle__items {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.625rem;
}
.bundle__items li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875em;
  color: rgba(240,247,245,0.9);
}
.bundle__items li svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.125rem; color: var(--primary); }
.bundle__pricing {
  margin-top: 2rem;
}
.bundle__pricing .from-label {
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.bundle__pricing .from-price {
  font-size: 1.125em;
  color: var(--fg-muted);
  text-decoration: line-through;
}
.bundle__pricing .to-label {
  margin-top: 0.5rem;
  font-size: 0.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.bundle__pricing .to-price {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.bundle__pricing .installment {
  margin-top: 0.25rem;
  font-size: 0.75em;
  color: var(--fg-muted);
}
.bundle__bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.bundle__secure {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75em;
  color: var(--fg-muted);
}
.bundle__secure svg { width: 1rem; height: 1rem; color: var(--primary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 5rem 1rem 7rem; }
.faq__header { text-align: center; }
.faq__eyebrow {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.faq__title { margin-top: 1rem; }
.faq__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item.open { border-color: var(--border-primary); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1em;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5em;
}
.faq__trigger svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq__item.open .faq__trigger svg { transform: rotate(45deg); }
.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.25rem;
  font-size: 0.875em;
  line-height: 1.7;
  color: var(--fg-muted);
}
.faq__item.open .faq__content {
  max-height: 20rem;
  padding: 0 1.25rem 1.25rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { padding: 5rem 1rem 7rem; text-align: center; }
.final-cta__eyebrow {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}
.final-cta__title { margin-top: 1rem; }
.final-cta__desc {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--fg-muted);
}
.final-cta__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.footer__main {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem 1rem;
}
.footer__brand img { height: 2.5rem; width: auto; }
.footer__brand p { margin-top: 0.75rem; max-width: 28rem; font-size: 0.875em; color: var(--fg-muted); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875em;
  color: var(--fg-muted);
}
.footer__links a:hover { color: var(--fg); }
.footer__bottom {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  font-size: 0.75em;
  color: var(--fg-muted);
  text-align: center;
}
.footer__dev {
  color: var(--bg);
}
.footer__dev a {
  color: var(--bg);
}

/* ============================================================
   GOVERNANCE PAGES (privacidade, termos, cookies)
   ============================================================ */
.governance-page { padding: 6rem 1rem; }
.governance-page h1 { margin-bottom: 2rem; }
.governance-page h2 { margin: 2rem 0 0.75rem; font-size: 1.2em; }
.governance-page p  { margin-bottom: 1rem; color: var(--fg-muted); }
.governance-page ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; color: var(--fg-muted); }
.governance-page ul li { margin-bottom: 0.4rem; }
.governance-page a  { color: var(--primary); }

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 767px) {
  h1 { font-size: 8vw; }
  h2 { font-size: 6vw; }
  h3 { font-size: 4.5vw; }
  h4 { font-size: 4vw; }
  p, .btn, .service-card__desc, .faq__trigger, .faq__content { font-size: 4vw; }

  .container { padding: 12vw 3vw; }

  .hero__inner { padding: 8vw 3vw 12vw; }
  .video-section, .services, .bundle, .faq, .final-cta { padding: 12vw 3vw; }

  .bundle__pricing .to-price { font-size: 14vw; }
}

/* ============================================================
   RESPONSIVE — Desktop
   ============================================================ */
@media (min-width: 768px) {
  .header__cta { display: inline-flex; }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    padding: 4rem 1rem 6rem;
    gap: 4rem;
  }

  .services__grid { grid-template-columns: repeat(3, 1fr); }

  .bundle__card { padding: 3rem; }
  .bundle__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
  .bundle__items { grid-template-columns: repeat(3, 1fr); }

  .footer__main { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }

  .bundle__pricing .to-price { font-size: 3.75rem; }
}
