/* ============================================
   Lovable Destravado — Landing Page
   ============================================ */

:root {
  --bg: #09090B;
  --bg-2: #111114;
  --surface: #161619;
  --border: #29292E;
  --text: #F7F7F8;
  --muted: #A1A1AA;
  --orange: #FF6A12;
  --pink: #FF4B9A;
  --purple: #8B6CFF;
  --blue: #5B8CFF;
  --violet: #FF5C8A;
  --coral: #FF6A12;
  --accent-text: #FFFFFF;
  --yes: #FF7AB8;
  --lovable: linear-gradient(120deg, #FF6A12 0%, #FF4B9A 46%, #8B6CFF 78%, #5B8CFF 100%);
  --header-h: 72px;
  --wrap: 1200px;
  --ease: 160ms ease;
  --font: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  font-family: inherit;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100vw - 40px), var(--wrap));
  margin-inline: auto;
}

#vsl,
#ideia,
#beneficios,
#posicao,
#para-quem,
#recebe,
#autoridade,
#oferta,
#faq,
#final {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgb(9 9 11 / 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-mark,
.brand-mark.lovable-heart {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

.brand-mark .lovable-heart {
  width: 100%;
  height: 100%;
  vertical-align: 0;
}

.lovable-heart {
  display: inline-block;
  width: 1em;
  height: 1em;
  object-fit: contain;
  flex: 0 0 auto;
  vertical-align: -0.16em;
}

.heading-heart {
  width: 0.72em;
  height: 0.72em;
  margin-right: 0.18em;
  vertical-align: -0.08em;
}

.lovable-inline {
  white-space: nowrap;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-by {
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.btn-ghost {
  height: 40px;
  padding: 0 12px;
  border-color: var(--border);
  background: transparent;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 6px;
  flex: 0 0 auto;
}

.btn-ghost:hover {
  border-color: #3f3f46;
  background: rgb(255 255 255 / 0.03);
}

.btn-primary {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--lovable);
  color: var(--accent-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgb(255 75 154 / 0.28);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

.badge .lovable-heart {
  width: 14px;
  height: 14px;
  vertical-align: 0;
}

.badge-quiet {
  color: var(--muted);
  letter-spacing: 0.1em;
  border-color: var(--border);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(1.95rem, 1.05rem + 4.2vw, 4.35rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 100%;
}

.hero h1 em {
  font-style: normal;
  background: var(--lovable);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero h1 .lovable-heart {
  width: 0.72em;
  height: 0.72em;
  vertical-align: -0.06em;
}

.hero-lead {
  margin-top: 22px;
  max-width: 100%;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.hero-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.hero-facts li {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.hero-facts li:last-child {
  color: var(--pink);
  border-left-color: rgb(255 75 154 / 0.55);
}

.hero-cta {
  margin-top: 36px;
}

.hero-cta .btn {
  width: 100%;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- VSL ---------- */

.vsl-section {
  padding: 48px 0 72px;
}

.vsl-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #09090B;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.vsl-placeholder,
.vsl-player {
  position: absolute;
  inset: 0;
}

.vsl-player {
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.vsl-placeholder {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  border: 0;
  background: #09090B;
  color: var(--text);
  cursor: pointer;
  padding: 16px;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.vsl-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(9 9 11 / 0.28) 0%, rgb(9 9 11 / 0.52) 48%, rgb(9 9 11 / 0.78) 100%);
  pointer-events: none;
}

.vsl-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.vsl-stage,
.vsl-copy {
  position: relative;
  z-index: 2;
}

.vsl-placeholder:hover .vsl-play {
  background: #fff;
}

.vsl-placeholder:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: -2px;
}

.vsl-stage {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.vsl-lock {
  display: none;
  width: 100%;
  opacity: 0.42;
}

.vsl-lock .lovable-heart {
  width: 100%;
  height: 100%;
}

.vsl-play {
  position: static;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(247 247 248 / 0.96);
  color: var(--bg);
}

.vsl-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.vsl-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  max-width: 100%;
  padding-inline: 8px;
}

.vsl-title {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.vsl-sub {
  color: var(--muted);
  font-size: 0.9375rem;
}

.vsl-player iframe,
.vsl-player video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: #09090B;
  color-scheme: dark;
}

.vsl-frame.is-playing .vsl-placeholder {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vsl-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 28px;
  text-align: center;
}

.vsl-cta .btn {
  width: 100%;
}

.vsl-cta-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- Pattern break ---------- */

.break-section {
  padding: 24px 0 96px;
}

.break-section h2,
.benefits-title,
.stance-section h2,
.audience-section h2,
.deliver-section h2,
.authority-section h2,
.offer-panel h2,
.faq-section h2,
.final-inner h2 {
  font-size: clamp(1.55rem, 1rem + 2.3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.038em;
  max-width: 100%;
}

.break-section p {
  margin-top: 18px;
  max-width: 100%;
  color: var(--muted);
}

.break-question {
  margin-top: 40px !important;
  color: var(--text) !important;
  font-size: clamp(1.45rem, 1rem + 2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 100%;
}

.break-note {
  font-size: 1.0625rem;
}

/* ---------- Benefits ---------- */

.benefits-section {
  padding: 24px 0 96px;
}

.benefits-title {
  max-width: 100%;
  margin-bottom: 48px;
}

.benefits-grid {
  display: grid;
  border-top: 1px solid var(--border);
}

.benefit {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--violet);
  margin-bottom: 16px;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.benefit p {
  color: var(--muted);
  max-width: 100%;
}

/* ---------- Stance ---------- */

.stance-section {
  background: var(--bg-2);
  padding: 88px 0;
  border-block: 1px solid var(--border);
}

.stance-list {
  margin-top: 48px;
}

.stance-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.stance-list li:first-child {
  border-top: 1px solid var(--border);
}

.stance-term {
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.stance-verdict {
  font-size: 1.0625rem;
  font-weight: 500;
  white-space: nowrap;
}

.stance-verdict.is-no {
  color: var(--muted);
}

.stance-verdict.is-yes {
  color: var(--yes);
}

.stance-text {
  margin-top: 32px;
  color: var(--muted);
  max-width: 100%;
}

/* ---------- Audience ---------- */

.audience-section {
  padding: 96px 0;
}

.audience-inner {
  display: grid;
  gap: 36px;
}

.audience-section h2 {
  max-width: 100%;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--violet);
  font-size: 0.95rem;
}

.check-list-compact {
  margin-top: 28px;
  text-align: left;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.check-list-compact li {
  color: var(--muted);
}

/* ---------- Deliverables ---------- */

.deliver-section {
  padding: 24px 0 96px;
}

.deliver-kicker {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.deliver-section h2 {
  margin-bottom: 48px;
}

.deliver-list {
  display: grid;
}

.deliver-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.deliver-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.deliver-num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 5px;
}

.deliver-list h3 {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.deliver-list p {
  margin-top: 6px;
  color: var(--muted);
}

/* ---------- Authority ---------- */

.authority-section {
  padding: 24px 0 96px;
}

.authority-section h2 {
  margin-top: 18px;
}

.authority-section p {
  margin-top: 18px;
  color: var(--muted);
}

.authority-highlight {
  color: var(--text) !important;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  max-width: 100%;
}

/* ---------- Offer ---------- */

.offer-section {
  padding: 24px 0 96px;
}

.offer-wrap {
  width: min(calc(100vw - 40px), 37.5rem);
}

.offer-panel {
  text-align: center;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.offer-panel h2 {
  margin-top: 16px;
}

.offer-price {
  margin: 32px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-old {
  color: var(--muted);
  font-size: 1rem;
  text-decoration: line-through;
}

.price-now {
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.offer-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------- FAQ ---------- */

.faq-section {
  padding: 24px 0 96px;
}

.faq-section h2 {
  margin-bottom: 36px;
}

.faq-item {
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.faq-trigger:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform var(--ease), opacity var(--ease);
}

.faq-icon::before {
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 6px;
  width: 1px;
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
}

.faq-panel {
  padding: 0 32px 22px 0;
}

.faq-panel p {
  color: var(--muted);
  max-width: 100%;
}

/* ---------- Final CTA ---------- */

.final-section {
  padding: 48px 0 112px;
}

.final-inner {
  text-align: center;
}

.final-inner h2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
}

.final-inner .btn {
  width: 100%;
  max-width: 420px;
}

.final-note {
  margin-top: 16px;
}

.final-note a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
}

.final-note a:hover {
  color: var(--text);
}

body[data-offer="back"] .hero {
  padding-bottom: 48px;
}

body[data-offer="back"] .offer-section {
  padding-top: 40px;
}

body[data-offer="back"] .hero h1 em,
body[data-offer="back"] .hero h1 {
  max-width: 16em;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.brand-footer {
  color: var(--muted);
}

.brand-footer .brand-name {
  color: var(--text);
}

.footer-note {
  color: var(--muted);
  font-size: 0.75rem;
  max-width: 100%;
  line-height: 1.5;
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) {
  .wrap {
    width: min(calc(100vw - 64px), var(--wrap));
  }

  .hero {
    padding: 88px 0 32px;
  }

  .hero-facts {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .hero-facts li {
    padding: 0 18px;
    border-left: 0;
    border-right: 1px solid var(--border);
  }

  .hero-facts li:first-child {
    padding-left: 0;
  }

  .hero-facts li:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .hero-cta .btn,
  .vsl-cta .btn,
  .final-inner .btn {
    width: auto;
    min-width: 280px;
  }

  .hero h1,
  .break-section h2,
  .benefits-title,
  .final-inner h2 {
    text-wrap: balance;
  }

  .vsl-placeholder {
    gap: 28px;
    padding: 24px;
  }

  .vsl-stage {
    width: min(42%, 220px);
    height: auto;
    aspect-ratio: 1;
  }

  .vsl-lock {
    display: block;
  }

  .vsl-play {
    position: absolute;
    width: 84px;
    height: 84px;
  }

  .vsl-section {
    padding: 56px 0 96px;
  }

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

  .benefit {
    padding: 36px 36px 40px 0;
  }

  .benefit:nth-child(odd) {
    padding-right: 40px;
    border-right: 1px solid var(--border);
  }

  .benefit:nth-child(even) {
    padding-left: 40px;
    padding-right: 0;
  }

  .benefit:nth-child(-n + 2) {
    border-top: 0;
  }

  .audience-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .offer-wrap {
    width: min(calc(100vw - 64px), 37.5rem);
  }

  .offer-panel {
    padding: 48px 48px 44px;
  }
}

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

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.8125rem;
  }

  .site-header .btn-ghost {
    font-size: 0.75rem;
    padding: 0 10px;
  }

  .btn-label-long {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 1100px) {
  :root {
    --header-h: 76px;
  }

  .hero {
    padding: 104px 0 40px;
  }

  .break-section,
  .benefits-section,
  .deliver-section,
  .authority-section,
  .offer-section,
  .faq-section {
    padding-bottom: 120px;
  }

  .stance-section,
  .audience-section {
    padding-block: 112px;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

::selection {
  background: rgb(255 75 154 / 0.28);
  color: var(--text);
}
