/*
Theme Name: North Assessoria
Theme URI: https://northassessoria.com.br
Author: North Assessoria
Description: Tema institucional focado em geração de leads para negócios locais.
Version: 1.0.0
Text Domain: north-assessoria
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: 222 47% 7%;
  --foreground: 210 40% 98%;
  --card: 222 47% 10%;
  --card-foreground: 210 40% 98%;
  --primary: 221 100% 56%;
  --primary-foreground: 0 0% 100%;
  --secondary: 217 32% 17%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 32% 14%;
  --muted-foreground: 215 20% 68%;
  --accent: 194 100% 50%;
  --accent-foreground: 222 47% 7%;
  --border: 217 32% 17%;
  --surface-elevated: 222 47% 12%;
  --success: 160 84% 39%;
  --success-foreground: 210 40% 98%;
  --shadow-soft: 0 16px 60px hsla(222, 47%, 3%, 0.45);
  --shadow-glow: 0 0 24px hsla(221, 100%, 56%, 0.24);
  --radius: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, hsl(var(--primary) / 0.16), transparent 24%),
    radial-gradient(circle at left center, hsl(var(--accent) / 0.1), transparent 22%),
    hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title,
.hero-title,
.cta-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-title {
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  max-width: 12ch;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.section-subtitle,
.hero-copy,
.cta-copy {
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
  line-height: 1.75;
}

.highlight {
  color: hsl(var(--primary));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: hsl(var(--background) / 0.76);
  border-bottom: 1px solid hsl(var(--border) / 0.8);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.brand span {
  color: hsl(var(--primary));
}

.menu-toggle {
  display: none;
  border: 1px solid hsl(var(--border) / 0.9);
  background: hsl(var(--card) / 0.92);
  color: hsl(var(--foreground));
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

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

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu a {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.menu a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: hsl(var(--foreground));
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-cta {
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}

.button-ghost {
  border-color: hsl(var(--primary) / 0.34);
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--foreground));
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

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

.hero-visual {
  position: relative;
}

.surface-card {
  position: relative;
  background: linear-gradient(180deg, hsl(var(--surface-elevated)) 0%, hsl(var(--card)) 100%);
  border: 1px solid hsl(var(--border) / 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 28px;
}

.kpi-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.kpi-icon,
.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.kpi-label {
  margin: 0;
  font-weight: 700;
}

.kpi-sub {
  margin: 4px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
}

.bar-chart {
  height: 188px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
}

.bar {
  border-radius: 10px 10px 4px 4px;
  background: hsl(var(--primary) / 0.18);
  overflow: hidden;
}

.bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, hsl(var(--accent)) 0%, hsl(var(--primary)) 100%);
}

.hero-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.metric-copy {
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
}

.metric-value {
  color: hsl(var(--accent));
  font-size: 1.7rem;
  font-weight: 800;
}

.map-panel {
  position: absolute;
  left: -36px;
  bottom: -28px;
  width: min(310px, 78%);
  padding: 22px;
}

.pulse-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: hsl(var(--accent));
  box-shadow: 0 0 0 0 hsl(var(--accent) / 0.45);
  animation: pulse 2s infinite;
}

.map-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 30px;
}

.card h3,
.step h3,
.testimonial-author {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 12px;
}

.card p,
.step p,
.testimonial-text,
.niche-meta,
.metric-note {
  margin: 0;
  color: hsl(var(--muted-foreground));
}

.stat-value,
.kpi-number {
  color: hsl(var(--accent));
  font-weight: 800;
}

.metric-card {
  text-align: center;
}

.metric-card .kpi-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 6px;
}

.steps {
  position: relative;
}

.step {
  position: relative;
  padding: 28px;
}

.step-number {
  color: hsl(var(--primary));
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.niche-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.niche-name {
  margin: 0 0 4px;
  font-weight: 700;
}

.testimonial-stars {
  color: hsl(var(--accent));
  margin-bottom: 16px;
  letter-spacing: 0.16em;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 22px;
}

.cta-band {
  padding: 34px;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.16), hsl(var(--accent) / 0.06));
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.lead-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.form-card {
  padding: 34px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-control {
  width: 100%;
  min-height: 56px;
  border: 1px solid hsl(var(--border) / 1);
  background: hsl(var(--muted) / 0.95);
  color: hsl(var(--foreground));
  border-radius: 14px;
  padding: 0 18px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: hsl(var(--primary) / 0.9);
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.14);
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.92rem;
  color: hsl(var(--muted-foreground));
}

.alert {
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.alert-success {
  background: hsl(var(--success) / 0.12);
  border-color: hsl(var(--success) / 0.34);
  color: hsl(var(--foreground));
}

.alert-error {
  background: hsla(0, 75%, 55%, 0.12);
  border-color: hsla(0, 75%, 55%, 0.28);
  color: hsl(var(--foreground));
}

.site-footer {
  border-top: 1px solid hsl(var(--border) / 0.8);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.footer-copy,
.footer-links a,
.footer-contact a,
.footer-contact p,
.footer-legal {
  color: hsl(var(--muted-foreground));
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-legal {
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border) / 0.8);
  text-align: center;
  font-size: 0.92rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 hsl(var(--accent) / 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px hsl(var(--accent) / 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsl(var(--accent) / 0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
  }

  .map-panel {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
    background: hsl(var(--card) / 0.98);
    border: 1px solid hsl(var(--border) / 1);
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .card,
  .step,
  .hero-panel,
  .cta-band,
  .form-card {
    padding: 22px;
  }
}
