/* =============================================================
   ConectaGD — Landing Page Styles
   Paleta: azul escuro (#0f2744), azul elétrico (#1a6bff),
           verde (#00c48c), cinza claro (#f4f6fa)
   ============================================================= */

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

:root {
  --primary:    #1a6bff;
  --primary-dk: #0f4fcf;
  --dark:       #0f2744;
  --green:      #00c48c;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --bg-light:   #f4f6fa;
  --white:      #ffffff;
  --error:      #ef4444;
  --warning:    #f59e0b;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(15,39,68,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,39,68,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 60px;
  width: auto;
}

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}

.btn-primary   { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-ghost { background: transparent; color: rgba(255,255,255,.7); }
.btn-ghost:hover { color: var(--white); }

.btn-sm  { padding: 6px 16px;  font-size: .85rem; }
.btn-lg  { padding: 14px 32px; font-size: 1rem;  }
.btn-full { width: 100%; padding: 14px; font-size: 1rem; }

/* ================================================================
   HERO
================================================================ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3660 100%);
  color: var(--white);
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(26,107,255,.25);
  border: 1px solid rgba(26,107,255,.5);
  color: #82b4ff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual / mockup */
.hero-visual { flex: 0 0 380px; }

.hero-mockup {
  background: #1e3a5f;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}

.mockup-bar {
  background: #162d4a;
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}

.mockup-body { padding: 16px; }

.mockup-map {
  background: #1b3a5c;
  border-radius: 8px;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.mockup-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,107,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.mockup-pin {
  position: absolute;
  font-size: 1.3rem;
  animation: float 3s ease-in-out infinite;
}
.pin-1 { top: 30%; left: 25%; animation-delay: 0s; }
.pin-2 { top: 55%; left: 60%; animation-delay: .7s; }
.pin-3 { top: 20%; left: 70%; animation-delay: 1.4s; }

.mockup-line {
  position: absolute;
  background: rgba(26,107,255,.4);
}
.line-h { width: 60%; height: 2px; top: 50%; left: 10%; }
.line-v { width: 2px; height: 50%; top: 20%; left: 40%; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ================================================================
   SOBRE
================================================================ */
.sobre {
  padding: 80px 0;
  background: var(--bg-light);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sobre-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.sobre-text p {
  color: var(--muted);
  margin-bottom: 14px;
}

.sobre-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.sobre-list li { color: var(--text); font-weight: 500; }

.sobre-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ================================================================
   FUNCIONALIDADES
================================================================ */
.funcionalidades {
  padding: 80px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-header p { color: var(--muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 2rem; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p { font-size: .9rem; color: var(--muted); }

/* ================================================================
   LOGIN
================================================================ */
.login-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1a3660 100%);
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}

.login-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.login-info > p {
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}

.login-info-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
}

.info-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.info-icon--svg {
  background: rgba(255,255,255,.15);
  color: #ffffff;
}

.info-icon--whatsapp {
  background: rgba(37,211,102,.2);
  color: #25d366;
}

.info-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .15s;
}

.info-link:hover { color: #ffffff; text-decoration: underline; }

.info-link--whatsapp { color: #25d366; }
.info-link--whatsapp:hover { color: #1fb859; }

/* Login card */
.login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.login-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .15s;
  outline: none;
  background: var(--white);
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,255,.15);
}

/* Alerts */
.alert {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fed7aa; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 48px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-desc {
  margin-top: 8px;
  font-size: .85rem;
  line-height: 1.6;
}

.footer-contact h4 {
  color: var(--white);
  font-size: .9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--primary);
  text-decoration: none;
  font-size: .9rem;
  display: block;
  margin-top: 4px;
}

.footer-contact a:hover { text-decoration: underline; }

.whatsapp-link {
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: #25d366 !important;
  margin-top: 8px !important;
}

/* ================================================================
   VÍDEO DE DEMONSTRAÇÃO
================================================================ */
.video-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.video-wrapper {
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--dark);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 32px;
}

.video-placeholder p {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

.video-placeholder span {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: .8rem;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 48px 24px;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: 100%; }

  .sobre-grid,
  .login-wrapper { grid-template-columns: 1fr; }

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

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .sobre-stats   { grid-template-columns: 1fr 1fr; }
  .login-card    { padding: 28px 20px; }
}
