/* Roteirizador — landing page. Tokens do manual de identidade Empire7Tech (tema escuro, roxo #6938EF). */
:root {
  --bg: #120C2B;
  --bg-elevated: #191136;
  --surface: #221848;
  --text: #F7F5FC;
  --text-muted: #B9B1D9;
  --text-dim: #8C83B3;
  --accent: #6938EF;
  --accent-rgb: 105, 56, 239;
  --accent-secondary: #D6C2FF;
  --accent-hover: #7C55F3;
  --accent-text: #A88BFF;
  --accent-secondary-rgb: 214, 194, 255;
  --accent-green: #00E676;
  --danger: #FF5C7A;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; }
p { margin: 0; }
.dim { color: var(--text-dim); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 820px; }

.gradient-text {
  background: linear-gradient(135deg, #A88BFF 0%, #E4D7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  margin-bottom: 12px;
}

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -0.03em; color: var(--accent-text); line-height: 1;
}
.logo-mark .seven { font-size: 1.16em; }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.logo-symbol { display: block; height: 30px; width: auto; }
.logo-full { display: block; height: 36px; width: auto; }
.logo-sep { width: 1px; height: 22px; background: var(--border-hover); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px; min-height: 44px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:not(:disabled):hover { background: var(--accent-hover); }
.btn-primary:hover { box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.3); }
.btn-primary:disabled { background: var(--surface); color: var(--text-dim); border-color: var(--border-hover); box-shadow: none; cursor: wait; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-hover); }
.btn-outline:hover { border-color: var(--accent); }
.btn-lg { padding: 14px 32px; min-height: 52px; }
.btn-sm { padding: 8px 16px; min-height: 38px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(25, 17, 54, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--accent-rgb), 0.16), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(var(--accent-secondary-rgb), 0.07), transparent 40%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.lead { color: var(--text-muted); font-size: 1.1rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--text-dim); font-size: 0.9rem; }
.badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; border: 1px solid var(--border-hover);
  font-size: 0.8rem; color: var(--text-muted); background: rgba(255, 255, 255, 0.03);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 8px rgba(0, 230, 118, 0.6); }

.hero-visual { position: relative; padding-bottom: 32px; }
.browser {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-hover); background: var(--bg-elevated);
  box-shadow: 0 24px 80px rgba(var(--accent-rgb), 0.12), 0 16px 48px rgba(0, 0, 0, 0.35);
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-hover); }
.phone {
  position: absolute; right: -8px; bottom: 0; width: 30%; max-width: 190px;
  border-radius: 26px; overflow: hidden; border: 5px solid #0A0619;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  aspect-ratio: 390 / 760;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-elevated); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--text-muted); margin-top: 12px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; transition: border-color 0.3s var(--transition), box-shadow 0.3s var(--transition);
}
.card:hover { border-color: var(--border-hover); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--text-muted); }
.icon {
  width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent-text);
}
.icon svg, .done-icon svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.grid-4 { display: grid; gap: 16px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--text-muted); }
.step-n {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #FFFFFF; font-family: var(--font-display); font-weight: 800;
}

/* features */
.features { display: flex; flex-direction: column; gap: 88px; }
.feature { display: grid; gap: 32px; align-items: center; }
.feature-copy p { color: var(--text-muted); margin-top: 16px; }
.shot {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-hover); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.shot-phone { max-width: 300px; margin-inline: auto; border-radius: 32px; border: 6px solid #0A0619; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 230, 118, 0.14)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E676' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* segments */
.segments { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.segments li {
  padding: 10px 18px; border-radius: 100px; border: 1px solid var(--border-hover);
  background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}

/* ---------- offer + form ---------- */
.offer { position: relative; overflow: hidden; }
.offer-bg { position: absolute; inset: 0; z-index: 0; }
.offer-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.offer-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(18, 12, 43, 0.82)); }
.offer-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: start; }
.offer-copy p { color: var(--text-muted); margin-top: 16px; }
.offer-copy strong { color: var(--text); }
.offer-copy .dim { margin-top: 20px; font-size: 0.9rem; }

.lead-form { display: flex; flex-direction: column; gap: 14px; background: var(--bg-elevated); }
.lead-form h3 { margin: 0; }
.lead-form > .dim { margin-top: -8px; font-size: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; color: var(--text-muted); }
.field span { font-family: var(--font-display); font-weight: 600; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: var(--radius); border: 1px solid var(--border-hover);
  background: var(--surface); color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color 0.3s var(--transition);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB6D6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field input::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-size: 0.9rem; }

.lead-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--bg-elevated); }
.lead-done p { color: var(--text-muted); }
.done-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 230, 118, 0.14); color: var(--accent-green);
}
.done-icon svg { width: 28px; height: 28px; }

/* ---------- FAQ ---------- */
details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary {
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent-text); font-size: 1.4rem; line-height: 1; transition: transform 0.3s var(--transition); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-muted); margin-top: 12px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 32px 0 96px; }
.footer-row { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--transition);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .container { padding-inline: 24px; }
}
@media (min-width: 1024px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1fr 1.15fr; }
  .phone { right: -28px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 1fr 1.25fr; gap: 56px; }
  .feature.reverse .feature-copy { order: 2; }
  .feature.reverse { grid-template-columns: 1.25fr 1fr; }
  .offer-grid { grid-template-columns: 1fr 440px; gap: 64px; }
}
