/* ───────────────────────────────────────────────────────────
   FRAME LP v2 — base styles (hero + cases preservados)
   ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:         #060115;
  --dark-2:       #0A041E;
  --dark-3:       #0F0828;
  --purple:       #2D1654;
  --purple-mid:   #4A2880;
  --purple-light: #9B7FD4;
  --accent:       #C4A8FF;
  --white:        #FFFFFF;
  --light-bg:     #F4F1FF;
  --light-bg-2:   #EDE8FF;
  --ink:          #150D30;
  --ink-mid:      rgba(21,13,48,0.6);
  --ink-faint:    rgba(21,13,48,0.38);
  --grey:         rgba(255,255,255,0.42);
  --max:          1180px;
  --grid-dark:
    linear-gradient(rgba(155,127,212,0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155,127,212,0.065) 1px, transparent 1px);
  --grid-light:
    linear-gradient(rgba(74,40,128,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,40,128,0.07) 1px, transparent 1px);
  --grid-sz: 44px 44px;
}

/* CTA color (tweakable) */
body { --cta-bg: #22C55E; --cta-bg-hover: #16A34A; --cta-glow: rgba(34,197,94,0.4); --cta-glow-hover: rgba(34,197,94,0.6); }
body[data-cta="roxo"] { --cta-bg: #6B3FC0; --cta-bg-hover: #7E4FD8; --cta-glow: rgba(107,63,192,0.45); --cta-glow-hover: rgba(155,127,212,0.6); }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.grid-dark  { background-image: var(--grid-dark);  background-size: var(--grid-sz); }
.grid-light { background-image: var(--grid-light); background-size: var(--grid-sz); }

.glass-dark {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(196,168,255,0.14);
}
.glass-light {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(74,40,128,0.14);
  box-shadow: 0 2px 24px rgba(74,40,128,0.08);
}

.glow-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }

.section { padding: 96px 40px; position: relative; overflow: clip; }
.section-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

/* ── EYEBROW ── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; height: 1px; width: 24px;
  background: currentColor; display: inline-block; opacity: 0.6;
}
.eyebrow-dark  { color: var(--purple-light); }
.eyebrow-light { color: var(--purple-mid); }
.eyebrow .idx { opacity: 0.55; font-weight: 800; }

/* ── SECTION TITLE / SUB ── */
.section-title {
  font-size: 30px; font-weight: 800; line-height: 1.12;
  text-wrap: pretty; margin-bottom: 16px; letter-spacing: -0.02em;
  text-align: center;
}
.section-sub {
  font-size: 14px; line-height: 1.8;
  max-width: 500px; margin: 0 auto 44px;
  text-align: center; text-wrap: pretty;
}
.section-sub-dark  { color: var(--grey); }
.section-sub-light { color: var(--ink-mid); }
.title-dark  { color: var(--white); }
.title-light { color: var(--ink); }
.hi    { color: var(--accent); }
.acc   { color: var(--accent); }
.acc-d { color: var(--purple-mid); }
.acc-m { color: var(--purple-light); }

/* ── BUTTONS ── */
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 8px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  text-decoration: none; cursor: pointer; border: none;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.cta-btn:hover { transform: translateY(-2px); }
.cta-primary {
  background: var(--purple-mid); color: var(--white);
  box-shadow: 0 0 24px rgba(74,40,128,0.5);
}
.cta-primary:hover { background: var(--purple-light); box-shadow: 0 0 40px rgba(155,127,212,0.55); }
.cta-green {
  background: var(--cta-bg); color: #fff;
  box-shadow: 0 0 24px var(--cta-glow);
}
.cta-green:hover { background: var(--cta-bg-hover); box-shadow: 0 0 40px var(--cta-glow-hover); }
.cta-ghost-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,168,255,0.25);
  color: var(--white);
}
.cta-ghost-dark:hover { background: rgba(196,168,255,0.1); box-shadow: 0 0 20px rgba(196,168,255,0.15); }
.section-cta { text-align: center; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,1,21,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(155,127,212,0.1);
  padding: 0 40px;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; border-radius: 6px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple-mid), #6B3FC0);
  color: var(--white); font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 7px;
  text-decoration: none; letter-spacing: 0.03em;
  box-shadow: 0 0 20px rgba(74,40,128,0.4);
  transition: box-shadow 0.2s, transform 0.15s;
}
.nav-cta:hover { box-shadow: 0 0 36px rgba(155,127,212,0.5); transform: translateY(-1px); }

/* ── HERO ── */
#hero { background: var(--dark); padding: 72px 40px 96px; }
#hero-form { scroll-margin-top: 80px; }
.hero-title {
  font-size: 44px; font-weight: 800; line-height: 1.07;
  text-wrap: pretty; margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.48); line-height: 1.8; margin-bottom: 0; }
.hero-cta-wrap { margin-top: 32px; }
.hero-inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 48px; align-items: center;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(196,168,255,0.14);
  border-radius: 20px; padding: 44px 48px;
  position: relative; z-index: 1;
  box-shadow: 0 20px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-card-title {
  font-size: 21px; font-weight: 800; line-height: 1.3;
  color: var(--white); margin-bottom: 28px;
}

/* ── HERO STEPS ── */
.hero-steps { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.hs-item { position: relative; }
.hs-sep {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 14px;
}
.hs-sep::before { content: ''; width: 20px; height: 1px; background: var(--purple-light); opacity: 0.55; }
.hs-body { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 28px; position: relative; }
.hs-body::after {
  content: ''; position: absolute;
  left: 19px; top: 44px; bottom: 0;
  width: 1px; background: rgba(196,168,255,0.12);
}
.hs-item:last-child .hs-body::after { display: none; }
.hs-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(74,40,128,0.45);
  border: 1px solid rgba(196,168,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 14px rgba(196,168,255,0.18);
}
.hs-icon svg { width: 17px; height: 17px; }
.hs-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.hs-desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.65; max-width: 340px; }

/* ── FORM ── */
.form-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(196,168,255,0.2);
  border-radius: 18px; padding: 28px 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.fg { margin-bottom: 12px; }
.fg input, .fg select {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,168,255,0.2);
  border-radius: 10px; font-size: 14px;
  font-family: inherit; color: var(--white); outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.fg input:focus, .fg select:focus { border-color: rgba(196,168,255,0.6); background: rgba(255,255,255,0.12); }
.fg input::placeholder { color: rgba(255,255,255,0.38); }
.fg select { color: rgba(255,255,255,0.38); }
.fg select option { background: var(--dark-3); color: var(--white); }
.fg select.sel-filled { color: var(--white); }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--cta-bg);
  color: var(--white); font-size: 15px; font-weight: 700;
  font-family: inherit; border: none; border-radius: 10px;
  cursor: pointer; letter-spacing: 0.03em; margin-top: 4px;
  box-shadow: 0 4px 24px var(--cta-glow);
  transition: box-shadow 0.2s, transform 0.1s, background 0.2s;
}
.form-submit:hover { background: var(--cta-bg-hover); box-shadow: 0 4px 40px var(--cta-glow-hover); transform: translateY(-1px); }

/* Phone field */
.phone-field { display: flex; gap: 0; position: relative; }
.phone-country { flex-shrink: 0; position: relative; }
.phone-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 10px 14px 14px; cursor: pointer;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,168,255,0.2);
  border-right: none; border-radius: 10px 0 0 10px;
  font-size: 15px; color: var(--white);
  user-select: none; white-space: nowrap;
  transition: background 0.2s;
  min-width: 64px;
}
.phone-trigger:hover { background: rgba(255,255,255,0.12); }
.phone-trigger .pt-code { font-size: 12px; color: rgba(255,255,255,0.55); }
.phone-trigger .pt-arrow { font-size: 10px; color: rgba(255,255,255,0.4); margin-left: 2px; }
.phone-dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: #1a0d3a; border: 1px solid rgba(196,168,255,0.25);
  border-radius: 10px; overflow: hidden; z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  min-width: 160px;
}
.phone-dropdown.open { display: block; }
.pd-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer; font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s;
}
.pd-option:hover { background: rgba(196,168,255,0.12); color: var(--white); }
.pd-option.selected { background: rgba(196,168,255,0.1); color: var(--white); }
.pd-flag { font-size: 18px; line-height: 1; }
.pd-name { flex: 1; font-size: 13px; }
.pd-code { font-size: 12px; color: rgba(255,255,255,0.45); }
.phone-field input[type="tel"] {
  flex: 1; padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,168,255,0.2);
  border-radius: 0 10px 10px 0;
  font-size: 14px; font-family: inherit;
  color: var(--white); outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.phone-field input[type="tel"]:focus { border-color: rgba(196,168,255,0.6); background: rgba(255,255,255,0.12); }
.phone-field input[type="tel"]::placeholder { color: rgba(255,255,255,0.38); }

/* ── CASES (light) ── */
#cases { background: var(--white); background-image: none; }
#cases .glow-orb { display: none; }

.clients-carousel { overflow: hidden; margin-bottom: 48px; padding: 14px 0; background: var(--white); }
.carousel-track {
  display: flex; gap: 20px; width: max-content;
  animation: carousel-scroll 28s linear infinite;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  width: 168px; height: 70px; padding: 0 26px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid rgba(21,13,48,0.1);
  border-radius: 10px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.client-logo:hover { transform: translateY(-1px); border-color: rgba(21,13,48,0.16); }
.client-logo img {
  position: relative; z-index: 1; max-height: 44px; max-width: 118px; width: auto;
  object-fit: contain; display: block;
}
.client-logo.logo-hb img { filter: brightness(0) saturate(100%) invert(12%) sepia(38%) saturate(1280%) hue-rotate(178deg) brightness(86%) contrast(96%); }
.client-logo.logo-wide img { max-width: 146px; }
.client-logo.logo-tall img { max-height: 56px; }

.cases-main {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; align-items: stretch;
  max-width: 1040px; margin: 0 auto 48px; padding: 0 80px;
}
.cases-left { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.case-card {
  flex: 1; padding: 26px 24px; border-radius: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.2s;
}
.case-card:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(74,40,128,0.12); }
.case-stars { font-size: 13px; letter-spacing: 2px; color: #F5A623; margin-bottom: 8px; }
.case-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; margin-bottom: 12px;
}
.case-quote { font-size: 14px; line-height: 1.72; font-style: italic; margin-bottom: 18px; color: var(--ink-mid); flex: 1; }
.case-author { display: flex; align-items: center; gap: 10px; }
.case-av {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(74,40,128,0.1);
  border: 1px solid rgba(74,40,128,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--purple-mid); flex-shrink: 0;
}
.case-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.case-role { font-size: 11.5px; color: var(--ink-faint); margin-top: 1px; }

.video-right { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.video-vert {
  height: 100%; width: auto; aspect-ratio: 9/16;
  min-height: 240px; max-width: 100%;
  border-radius: 20px; overflow: hidden;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; cursor: pointer;
  position: relative;
  border: 1px solid rgba(196,168,255,0.25);
  box-shadow: 0 0 40px rgba(74,40,128,0.28);
}
.video-vert::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(155,127,212,0.3) 0%, transparent 70%);
}
.play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; position: relative;
  box-shadow: 0 0 20px rgba(196,168,255,0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.video-vert:hover .play-btn {
  background: rgba(255,255,255,0.24);
  transform: scale(1.1);
  box-shadow: 0 0 36px rgba(196,168,255,0.6);
}
.video-cap { font-size: 12px; color: rgba(255,255,255,0.45); position: relative; text-align: center; padding: 0 24px; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(155,127,212,0.1);
  padding: 40px 40px 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-logo img { width: 40px; height: 40px; object-fit: contain; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-socials { display: flex; gap: 16px; align-items: center; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(196,168,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(196,168,255,0.08); }
.footer-social-link svg { width: 16px; height: 16px; }
.back-top {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.back-top:hover { color: var(--white); }
.back-top svg { width: 14px; height: 14px; }

/* ── DIVIDERS ── */
.divider-to-dark  { height: 2px; background: linear-gradient(90deg, transparent, rgba(196,168,255,0.4), transparent); }
.divider-to-light { height: 2px; background: linear-gradient(90deg, transparent, rgba(74,40,128,0.2), transparent); }
.divider-plain { background: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  .hero-title { font-size: 40px; }
  .cases-main { grid-template-columns: 1fr; padding: 0 12px; }
  .cases-left { height: auto; }
  .video-right { height: auto; }
  .video-vert { min-height: 260px; flex: none; }
  .section-title { font-size: 32px; }
}
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  #hero { padding: 48px 20px 64px; }
  .hero-title { font-size: 32px; }
  .footer-top { flex-wrap: wrap; gap: 16px; }
  .video-vert { min-height: 220px; }
}
