/* ========================================
   ASSESSORIA JURÍDICA - ESTILOS
   ======================================== */

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

:root {
  --primary: #1d4ed8;
  --secondary: #047857;
  --accent: #fbbf24;
  --danger: #f97316;
  --dark: #0a0a0a;
  --light: #fafaf9;
  --gray: #6b7280;
  --border: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--dark);
}

.logo-circle {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo h1 {
  font-size: 1.2rem;
  margin: 0;
}

.logo p {
  font-size: 0.75rem;
  color: var(--gray);
  margin: 0;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* ========== HERO ========== */
.hero {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 50%;
  top: 2rem;
  right: 2rem;
}

.hero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(4, 120, 87, 0.1);
  bottom: 2rem;
  left: 2rem;
}

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

.hero-text h2 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 1rem;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--accent);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #f59e0b;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
}

/* ========== SERVIÇOS ========== */
.servicos {
  padding: 4rem 0;
  background: var(--light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 2px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.5rem;
}

.card p {
  padding: 0 1.5rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.btn-link {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.btn-link:hover {
  color: var(--secondary);
}

/* ========== SOBRE ========== */
.sobre {
  padding: 4rem 0;
  background: rgba(251, 191, 36, 0.05);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--gray);
}

.empresa-info {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 3rem;
  border-radius: 1.5rem;
  margin-top: 3rem;
}

.empresa-info h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-grid div strong {
  display: block;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.info-grid p {
  font-size: 1.1rem;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-cta {
  background: #25D366;
  color: white;
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
}

.btn-cta:hover {
  background: #20BA5A;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer p {
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 1;
  color: var(--accent);
}

.btn-footer {
  background: #25D366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
}

.btn-footer:hover {
  background: #20BA5A;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0.8;
}

/* ========== BOTÃO FLUTUANTE ========== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 40;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
  .header-content {
    height: 60px;
  }

  .hero {
    padding: 2rem 0;
    margin-top: 60px;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
