/* ========================================
   NV Automações — Page Styles
   ======================================== */

/* ========================================
   HERO
   ======================================== */
.auto-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.auto-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auto-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,44,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,44,242,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
}
.auto-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.auto-hero-orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: rgba(107,44,242,0.12);
  animation: autoOrbFloat 9s ease-in-out alternate infinite;
}
.auto-hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: rgba(139,47,201,0.1);
  animation: autoOrbFloat 9s ease-in-out alternate-reverse infinite;
}
@keyframes autoOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -25px) scale(1.07); }
}

.auto-hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 820px;
}
.auto-hero-title {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}
.auto-hero-gradient {
  background: linear-gradient(135deg, #6B2CF2, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auto-hero-subtitle {
  font-size: 1.05rem;
  color: #8888aa;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
.auto-hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Fluxo visual */
.auto-flow-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.auto-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}
.auto-flow-icon {
  width: 52px; height: 52px;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}
.auto-flow-icon--active {
  background: rgba(107,44,242,0.2);
  border-color: rgba(107,44,242,0.5);
  box-shadow: 0 0 20px rgba(107,44,242,0.25);
  animation: autoPulse 2s ease-in-out infinite;
}
@keyframes autoPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(107,44,242,0.25); }
  50% { box-shadow: 0 0 32px rgba(107,44,242,0.5); }
}
.auto-flow-node span {
  font-size: 0.7rem;
  color: #8888aa;
  max-width: 100px;
  line-height: 1.35;
  white-space: nowrap;
}
.auto-flow-arrow {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ========================================
   O PROBLEMA
   ======================================== */
.auto-problema {
  background: #0d0d1a;
  border-top: 1px solid rgba(107,44,242,0.12);
}
.auto-problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.auto-problema-card {
  background: #111122;
  border: 1px solid rgba(255,85,85,0.12);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.3s;
}
.auto-problema-card:hover {
  border-color: rgba(255,85,85,0.25);
}
.auto-problema-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(255,85,85,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-problema-card p {
  font-size: 0.875rem;
  color: #c0c0d8;
  line-height: 1.6;
}
.auto-problema-conclusao {
  text-align: center;
  font-size: 1rem;
  color: #8888aa;
  font-style: italic;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 2rem;
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 14px;
  background: rgba(107,44,242,0.04);
}

/* ========================================
   EXEMPLOS DE AUTOMAÇÃO
   ======================================== */
.auto-exemplos { background: #08080f; }
.auto-exemplos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.auto-exemplo-card {
  background: #0f0f1e;
  border: 1px solid rgba(107,44,242,0.15);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s, transform 0.3s;
}
.auto-exemplo-card:hover {
  border-color: rgba(107,44,242,0.35);
  transform: translateY(-4px);
}
.auto-exemplo-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.auto-exemplo-icone {
  width: 44px; height: 44px;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-exemplo-header h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f0fa;
  line-height: 1.35;
}
.auto-exemplo-fluxo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.auto-exemplo-gatilho,
.auto-exemplo-acao {
  background: #08080f;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.auto-exemplo-gatilho { border: 1px solid rgba(255,85,85,0.12); }
.auto-exemplo-acao { border: 1px solid rgba(107,44,242,0.15); }
.auto-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.auto-tag--gatilho { color: #ff8888; background: rgba(255,85,85,0.1); }
.auto-tag--acao { color: #a78bfa; background: rgba(107,44,242,0.12); }
.auto-exemplo-gatilho p,
.auto-exemplo-acao p {
  font-size: 0.8rem;
  color: #a0a0c0;
  line-height: 1.5;
}
.auto-exemplo-seta {
  text-align: center;
  color: rgba(107,44,242,0.4);
  font-size: 1.1rem;
  line-height: 1;
}
.auto-exemplo-resultado {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #c0c0d8;
  line-height: 1.5;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(107,44,242,0.1);
}
.auto-exemplo-resultado svg { flex-shrink: 0; margin-top: 2px; }

/* ========================================
   COMO FUNCIONA
   ======================================== */
.auto-processo { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.auto-processo-grid {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.auto-processo-step {
  flex: 1;
  padding: 2rem;
  background: #111122;
  border: 1px solid rgba(107,44,242,0.15);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.auto-processo-connector {
  flex-shrink: 0;
  padding: 0 0.5rem;
}
.auto-processo-num {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #6B2CF2, #8B2FC9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}
.auto-processo-content h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f0f0fa;
  margin-bottom: 0.35rem;
}
.auto-processo-content p {
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.65;
}
.auto-processo-cta { text-align: center; }

/* ========================================
   PARA QUEM
   ======================================== */
.auto-para-quem { background: #08080f; }
.auto-para-quem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.auto-para-quem-col {
  background: #0f0f1e;
  border-radius: 16px;
  padding: 2rem;
}
.auto-sim { border: 1px solid rgba(107,44,242,0.2); }
.auto-nao { border: 1px solid rgba(120,120,150,0.15); }
.auto-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.25rem;
}
.auto-col-label--sim { color: #6B2CF2; background: rgba(107,44,242,0.1); }
.auto-col-label--nao { color: #888; background: rgba(120,120,150,0.1); }
.auto-para-quem-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.auto-para-quem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #c0c0d8;
  line-height: 1.55;
}
.auto-para-quem-list li svg { flex-shrink: 0; margin-top: 3px; }
.auto-honestidade {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #666688;
  font-style: italic;
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid rgba(120,120,150,0.1);
}

/* ========================================
   FAQ
   ======================================== */
.auto-faq { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.auto-faq-inner { max-width: 760px; }
.auto-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.auto-faq-item {
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #0f0f1e;
  transition: border-color 0.3s;
}
.auto-faq-item.open { border-color: rgba(107,44,242,0.3); }
.auto-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f0f0fa;
  line-height: 1.5;
}
.auto-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: #6B2CF2;
}
.auto-faq-item.open .auto-faq-chevron { transform: rotate(180deg); }
.auto-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.auto-faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.7;
}

/* Depoimentos — author no rodapé */
.depoimento-card {
  display: flex;
  flex-direction: column;
}
.depoimento-card .depoimento-author {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1024px) {
  .auto-exemplos-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-processo-grid { flex-direction: column; gap: 1rem; }
  .auto-processo-connector { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 768px) {
  .auto-hero-inner { padding-top: 7rem; padding-bottom: 4rem; }
  .auto-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .auto-hero-ctas { gap: 1rem; }

  .auto-flow-visual { gap: 0.25rem; }
  .auto-flow-node span { font-size: 0.6rem; max-width: 60px; }
  .auto-flow-icon { width: 42px; height: 42px; }

  .auto-problema-grid { grid-template-columns: 1fr; }
  .auto-exemplos-grid { grid-template-columns: 1fr; }
  .auto-para-quem-grid { grid-template-columns: 1fr; }

  .menu-toggle { display: flex; }
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
}

@media (max-width: 480px) {
  .auto-flow-visual { display: none; }
}
