/* ============================================
   Marcio do SEO - Estilos Principais
   Paleta: Azul Escuro (#0f172a), Verde SEO (#16a34a), Branco
   Fontes: DM Serif Display + Nunito Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Nunito+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --azul-900: #0f172a;
  --azul-800: #1e293b;
  --azul-700: #334155;
  --azul-600: #475569;
  --azul-500: #64748b;
  --azul-400: #94a3b8;
  --azul-300: #cbd5e1;
  --azul-200: #e2e8f0;
  --azul-100: #f1f5f9;
  --azul-50: #f8fafc;
  --verde: #16a34a;
  --verde-escuro: #15803d;
  --verde-claro: #22c55e;
  --verde-suave: #f0fdf4;
  --verde-border: #bbf7d0;
  --branco: #ffffff;
  --sombra: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --sombra-md: 0 4px 6px -1px rgba(15,23,42,0.1), 0 2px 4px -1px rgba(15,23,42,0.06);
  --sombra-lg: 0 10px 25px -5px rgba(22,163,74,0.12), 0 4px 6px -2px rgba(15,23,42,0.06);
  --transicao: all 0.3s ease;
  --radius: 10px;
  --radius-lg: 14px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--azul-700);
  line-height: 1.75;
  background-color: var(--azul-50);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transicao);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.header {
  background: var(--branco);
  box-shadow: 0 1px 0 var(--azul-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-logo h2 {
  font-size: 1.35rem;
  color: var(--azul-900);
  font-weight: 400;
}

.header-logo h2 strong {
  color: var(--verde);
  font-weight: 400;
}

.header-logo span {
  color: var(--azul-500);
  font-size: 0.78rem;
  display: block;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-list a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--azul-600);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: var(--verde);
}

.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--azul-900);
  border-radius: 2px;
  transition: var(--transicao);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ============ HERO ============ */
.hero {
  background: var(--azul-900);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(22,163,74,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--branco);
  margin-bottom: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: var(--verde-claro);
}

.hero p {
  font-size: 1.1rem;
  color: var(--azul-400);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: inline-block;
  background: var(--verde);
  color: var(--branco);
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transicao);
}

.hero-cta:hover {
  background: var(--verde-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22,163,74,0.3);
}

/* ============ SECOES ============ */
.secao {
  padding: 75px 0;
}

.secao-titulo {
  text-align: center;
  margin-bottom: 50px;
}

.secao-titulo h2 {
  font-size: 2.1rem;
  color: var(--azul-900);
  margin-bottom: 12px;
}

.secao-titulo p {
  color: var(--azul-500);
  font-size: 1rem;
  max-width: 550px;
  margin: 0 auto;
}

.secao-tag {
  display: inline-block;
  background: var(--verde-suave);
  color: var(--verde);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ SERVICOS ============ */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.servico-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--sombra);
  transition: var(--transicao);
  border: 1px solid var(--azul-200);
}

.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-lg);
  border-color: var(--verde-border);
}

.servico-icon {
  width: 55px;
  height: 55px;
  background: var(--verde-suave);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--verde);
}

.servico-card h3 {
  font-size: 1.2rem;
  color: var(--azul-900);
  margin-bottom: 12px;
}

.servico-card p {
  color: var(--azul-500);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============ RESULTADOS / METRICAS ============ */
.metricas-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.metrica-item {
  text-align: center;
  padding: 30px 15px;
  background: var(--branco);
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra);
}

.metrica-numero {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--verde);
  display: block;
  margin-bottom: 5px;
}

.metrica-label {
  color: var(--azul-500);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ PROCESSO ============ */
.processo-steps {
  max-width: 800px;
  margin: 0 auto;
}

.processo-step {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--azul-200);
}

.processo-step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: var(--azul-900);
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-content h3 {
  font-size: 1.15rem;
  color: var(--azul-900);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--azul-500);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============ CONTEUDO ============ */
.conteudo-section {
  background: var(--branco);
  padding: 75px 0;
}

.conteudo-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.conteudo-wrapper h2 {
  font-size: 2rem;
  color: var(--azul-900);
  margin-bottom: 25px;
}

.conteudo-wrapper h3 {
  font-size: 1.35rem;
  color: var(--verde);
  margin-top: 35px;
  margin-bottom: 15px;
}

.conteudo-wrapper p {
  margin-bottom: 20px;
  color: var(--azul-600);
  font-size: 0.98rem;
  line-height: 1.9;
}

.conteudo-wrapper ul {
  margin: 20px 0 30px;
  padding-left: 20px;
}

.conteudo-wrapper li {
  margin-bottom: 12px;
  color: var(--azul-600);
  line-height: 1.7;
}

.conteudo-wrapper li::marker {
  color: var(--verde);
}

/* ============ CTA ============ */
.cta-section {
  background: var(--azul-900);
  padding: 70px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.2rem;
  color: var(--branco);
  margin-bottom: 15px;
}

.cta-section p {
  color: var(--azul-400);
  margin-bottom: 30px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--azul-900);
  color: var(--azul-400);
  padding: 55px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--verde-claro);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--azul-400);
  font-size: 0.88rem;
}

.footer-col ul li a:hover {
  color: var(--verde);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--azul-800);
  padding-top: 25px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--azul-500);
}

.footer-bottom a {
  color: var(--verde);
}

.footer-links-autoridade {
  margin-top: 12px;
}

.footer-links-autoridade a {
  color: var(--azul-500);
  font-size: 0.78rem;
  margin: 0 8px;
}

.footer-links-autoridade a:hover {
  color: var(--verde);
}

/* ============ WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transicao);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

/* ============ SITEMAP ============ */
.sitemap-page {
  padding: 60px 0;
  min-height: 60vh;
}

.sitemap-page h1 {
  font-size: 2.2rem;
  color: var(--azul-900);
  margin-bottom: 30px;
}

.sitemap-list {
  list-style: none;
  max-width: 600px;
}

.sitemap-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--azul-200);
}

.sitemap-list li a {
  color: var(--azul-700);
  font-weight: 600;
  font-size: 1rem;
}

.sitemap-list li a:hover {
  color: var(--verde);
}

/* ============ ANIMACOES ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVO ============ */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    box-shadow: var(--sombra-md);
  }

  .nav-list.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .secao {
    padding: 50px 0;
  }

  .secao-titulo h2 {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .processo-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .metricas-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .metrica-numero {
    font-size: 1.8rem;
  }

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

  .hero-cta {
    width: 100%;
    text-align: center;
  }
}
