/* ====================================================================
   METISIA LOCAL — LANDING PAGE
   Direção: "Premium Comercial Quente" + disciplina visual da Direção 1
   ==================================================================== */

/* ---------- TOKENS DE MARCA (editar cores aqui, em um único lugar) ---------- */
:root {
  --navy: #08111F;
  --blue-deep: #0F172A;
  --ice-white: #F8FAFC;
  --text-gray: #CBD5E1;
  --light-gray: #E2E8F0;
  --cyan: #38BDF8;
  --green: #22C55E;
  --green-hover: #15803D;
  --gold: #F59E0B;

  --muted-on-light: #64748B;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-btn: 8px;
  --radius-card: 12px;

  --transition-fast: 220ms ease-out;
  --transition-medium: 320ms ease-out;
}

/* ---------- RESET BÁSICO ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ice-white);
  color: var(--navy);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Respeita preferência de redução de movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 17, 31, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ice-white);
}

.brand-ia { color: var(--cyan); }
.brand-divider { color: var(--text-gray); opacity: 0.4; font-weight: 300; }
.brand-local { color: var(--text-gray); font-weight: 600; }

.header-cta { display: none; }

@media (min-width: 640px) {
  .header-cta { display: inline-flex; }
}

/* ====================================================================
   BOTÕES (estilo único e consistente em toda a página)
   ==================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: var(--green);
  color: var(--ice-white);
}
.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  animation: glow-pulse 3.2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

/* Outline sobre fundo claro precisa de contraste ajustado */
.section-light .btn-outline {
  color: #0E7490;
  border-color: #38BDF8;
}

.btn-small {
  padding: 12px 18px;
  font-size: 14px;
}

.product-card .btn-small { width: 100%; }

@media (max-width: 640px) {
  .hero { padding: 140px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .header-cta { padding: 11px 16px; font-size: 13px; }
}

@media (max-width: 480px) {
  .product-card { padding: 32px 22px 24px; }
  .product-card-featured { transform: none; margin-top: 8px; }
  .raiox-placeholder { min-height: 260px; padding: 24px 20px; }
  .accordion-trigger { padding: 20px 2px; gap: 12px; }
  .accordion-trigger span:first-child { font-size: 14.5px; }
}

/* ====================================================================
   BADGES (uso restrito do dourado — máx. 3 pontos na página)
   ==================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--gold);
}

.badge-gold svg { width: 14px; height: 14px; flex-shrink: 0; }

.badge-card {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--ice-white);
}

/* ====================================================================
   TÍTULOS DE SEÇÃO (padrão único de escala tipográfica)
   ==================================================================== */
.section { padding: 96px 0; }

.section-dark { background: var(--navy); color: var(--ice-white); }
.section-light { background: var(--ice-white); color: var(--navy); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section-title-dark { color: var(--navy); }

.section-heading { text-align: center; margin-bottom: 56px; }

.section-subtitle {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted-on-light);
}

/* ====================================================================
   1. HERO
   ==================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--ice-white);
  padding: 184px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(56,189,248,0.18) 0%, rgba(56,189,248,0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-copy { display: flex; flex-direction: column; gap: 28px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 560px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* ---------- Mockup de celular ---------- */
.phone-mockup {
  width: 300px;
  margin: 0 auto;
  background: var(--blue-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.6);
  will-change: transform;
  position: relative;
  z-index: 2;
}

.phone-notch {
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  margin: 0 auto 10px;
}

.phone-screen {
  background: #0B1422;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wa-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-header-text { display: flex; flex-direction: column; line-height: 1.2; }
.wa-header-text strong { font-size: 13px; color: var(--ice-white); }
.wa-header-text span { font-size: 11px; color: var(--green); }

.wa-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  animation: bubble-in 0.5s ease forwards;
}

.wa-bubble-in {
  align-self: flex-start;
  background: #1E2A3D;
  color: var(--ice-white);
  border-bottom-left-radius: 4px;
  animation-delay: 0.3s;
}

.wa-bubble-out {
  align-self: flex-end;
  background: var(--green);
  color: #06280F;
  border-bottom-right-radius: 4px;
  animation-delay: 1s;
}

.wa-bubble-delayed { animation-delay: 2.4s; }

.wa-bubble:nth-of-type(3) { animation-delay: 1.8s; }

@keyframes bubble-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Cards flutuantes (sensação de sistema inteligente) ---------- */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 600;
  color: var(--ice-white);
  white-space: nowrap;
  opacity: 0;
  animation: float-in 0.6s ease forwards;
}

.float-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.float-card--new {
  top: 6%;
  left: -8%;
  animation-delay: 0.6s;
}
.float-card--new .float-card-dot { background: var(--cyan); }

.float-card--budget {
  top: 46%;
  right: -14%;
  animation-delay: 1.4s;
}
.float-card--budget .float-card-dot { background: var(--gold); }

.float-card--followup {
  bottom: 8%;
  left: -4%;
  animation-delay: 2.2s;
}
.float-card--followup .float-card-dot { background: var(--green); }

@keyframes float-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .float-card { display: none; }
}

/* ====================================================================
   2. BARRA DE CONFIANÇA
   ==================================================================== */
.trust-bar {
  background: var(--blue-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    text-align: left;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-gray);
  opacity: 0;
  transform: translateY(8px);
  animation: fade-up 0.5s ease forwards;
}

@media (min-width: 960px) { .trust-item { justify-content: flex-start; } }

.trust-item svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ====================================================================
   3. BLOCO DE DOR
   ==================================================================== */
.pain-section .section-title { color: var(--ice-white); margin-bottom: 24px; }

.pain-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-gray);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
  background: var(--blue-deep);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  opacity: 0;
  transform: translateY(16px);
}

.pain-card.is-visible { animation: fade-up-card 0.6s ease forwards; }

@keyframes fade-up-card {
  to { opacity: 1; transform: translateY(0); }
}

.pain-icon { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 18px; }

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ====================================================================
   4. COMO RESOLVEMOS
   ==================================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .solution-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.solution-copy .section-title { text-align: left; margin: 0 0 32px; max-width: 100%; }

.pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-deep);
}

.pillar svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; }

.solution-visual {
  display: flex;
  justify-content: center;
}

.flow-diagram { width: 100%; max-width: 440px; }

.flow-line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.8s ease;
}

.flow-line.is-drawn { stroke-dashoffset: 0; }

/* ====================================================================
   5. PRODUTOS / OFERTAS
   ==================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  position: relative;
  background: var(--ice-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  padding: 36px 26px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(15, 23, 42, 0.14);
}

.product-card-featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.16), 0 18px 36px -16px rgba(245,158,11,0.28);
}

@media (min-width: 1100px) {
  .product-card-featured { transform: translateY(-10px); }
  .product-card-featured:hover { transform: translateY(-14px); }
}

.product-icon { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 18px; }

.product-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.product-benefits li {
  font-size: 13.5px;
  color: var(--muted-on-light);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.product-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ====================================================================
   6. MÉTODO LOCAL 360 (5 etapas)
   ==================================================================== */
.method-section .section-heading { margin-bottom: 64px; }

.method-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  position: relative;
}

@media (min-width: 1024px) {
  .method-timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }

  .method-timeline::before {
    content: '';
    position: absolute;
    top: 46px;
    left: 8%;
    right: 8%;
    height: 1.5px;
    background: linear-gradient(to right, rgba(56,189,248,0.6), rgba(56,189,248,0.15));
  }
}

.method-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.method-number {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.16);
  line-height: 1;
  margin-bottom: -8px;
}

.method-step-start .method-number { color: rgba(245, 158, 11, 0.28); }

.method-icon {
  width: 30px;
  height: 30px;
  color: var(--cyan);
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
  background: var(--navy);
}

.method-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.method-step p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.55;
}

/* ====================================================================
   7. RAIO-X GRATUITO
   ==================================================================== */
.raiox-section { position: relative; overflow: hidden; }

.raiox-container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 760px;
}

.raiox-title { color: var(--ice-white); margin: 0; }

.raiox-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 560px;
}

/* Container do Typebot — único elemento com borda dourada além do badge e do card */
.raiox-frame {
  width: 100%;
  margin-top: 12px;
  background: var(--ice-white);
  border: 1px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.45);
  padding: 4px;
}

.raiox-placeholder {
  min-height: 360px;
  border: 1.5px dashed var(--light-gray);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted-on-light);
  padding: 32px;
}

.raiox-placeholder svg { width: 36px; height: 36px; color: var(--cyan); }
.raiox-placeholder strong { color: var(--blue-deep); font-size: 15px; }
.raiox-placeholder span { font-size: 13px; }

.raiox-cta { margin-top: 8px; }

/* ====================================================================
   8. PARA QUEM É
   ==================================================================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ice-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-card);
  padding: 16px 14px;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color var(--transition-fast);
}

.audience-item svg {
  width: 20px;
  height: 20px;
  color: var(--muted-on-light);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.audience-item:hover { border-color: var(--cyan); }
.audience-item:hover svg { color: var(--cyan); }

/* ====================================================================
   9. FAQ
   ==================================================================== */
.faq-container { max-width: 720px; }

.faq-section .section-title { margin-bottom: 48px; }

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  color: var(--ice-white);
  font-size: 15.5px;
  font-weight: 600;
}

.accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.4);
  color: var(--cyan);
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--transition-fast);
}

.accordion-item.is-open .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.accordion-content p {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.65;
  max-width: 600px;
}

/* ====================================================================
   10. CHAMADA FINAL
   ==================================================================== */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.final-cta .section-title { color: var(--ice-white); }

.final-cta-note {
  font-size: 13.5px;
  color: var(--text-gray);
  opacity: 0.85;
}

/* ====================================================================
   RODAPÉ
   ==================================================================== */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ice-white); }

.footer-tagline { font-size: 13px; color: var(--text-gray); max-width: 420px; }

.footer-copy { font-size: 12px; color: var(--muted-on-light); margin-top: 8px; }
