/*
Theme Name: CalAI - Direitos Trabalhistas
Description: Tema WordPress profissional para escritórios de advocacia trabalhista, inspirado no design moderno do CalAI
Author: CalAI Team
Version: 1.0
License: GPL v2 or later
Text Domain: calai
*/

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

/* ==================== ITAÚ BRAND COLORS ==================== */
:root {
  /* Itaú Brand Colors */
  --itau-blue: hsl(220, 100%, 35%);
  --itau-blue-light: hsl(220, 100%, 45%);
  --itau-blue-dark: hsl(220, 100%, 25%);
  
  --itau-orange: hsl(25, 100%, 60%);
  --itau-orange-light: hsl(25, 100%, 70%);
  --itau-orange-dark: hsl(25, 100%, 50%);
  
  --itau-yellow: hsl(55, 100%, 65%);
  --itau-yellow-light: hsl(55, 100%, 75%);
  --itau-yellow-dark: hsl(55, 100%, 55%);
  
  /* Legacy colors for compatibility */
  --legal-blue: hsl(220, 100%, 35%);
  --legal-blue-light: hsl(220, 100%, 45%);
  --legal-blue-dark: hsl(220, 100%, 25%);
  
  /* Success/Action Colors */
  --success-green: hsl(134, 61%, 41%);
  --success-green-light: hsl(134, 61%, 51%);
  
  /* Trust/Neutral Colors */
  --trust-gray: hsl(215, 16%, 47%);
  --trust-gray-light: hsl(215, 16%, 65%);
  --trust-gray-dark: hsl(215, 16%, 25%);
  
  /* Accent Colors */
  --accent-gold: hsl(55, 100%, 65%);
  --accent-gold-light: hsl(55, 100%, 75%);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(25, 100%, 60%) 0%, hsl(220, 100%, 35%) 100%);
  --gradient-success: linear-gradient(135deg, hsl(134, 61%, 41%) 0%, hsl(134, 61%, 35%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(215, 16%, 98%) 100%);
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(220, 100%, 35%, 0.3);
  --shadow-glow: 0 0 40px hsl(55, 100%, 75%, 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 193, 7, 0.2);
  color: var(--accent-gold);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-title .highlight {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: bold;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==================== BUTTONS ==================== */
.btn-whatsapp {
  background: var(--gradient-success);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-elegant);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.4);
  text-decoration: none;
  color: white;
}

/* ==================== TRUST INDICATORS ==================== */
.trust-indicators {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.trust-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.trust-indicator.blue { background-color: var(--legal-blue); }
.trust-indicator.gold { background-color: var(--accent-gold); }
.trust-indicator.gray { background-color: var(--trust-gray); }
.trust-indicator.green { 
  background-color: var(--success-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.trust-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

/* ==================== CONTENT SECTIONS ==================== */
.content-sections {
  padding: 5rem 0;
  background: linear-gradient(to bottom, #f9fafb, white);
}

.section-card {
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.section-card.bg-blue { background-color: rgba(59, 130, 246, 0.05); }
.section-card.bg-green { background-color: rgba(34, 197, 94, 0.05); }
.section-card.bg-gold { background-color: rgba(255, 193, 7, 0.05); }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.section-icon {
  padding: 1rem;
  border-radius: 0.75rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-icon.blue {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--legal-blue);
}

.section-icon.green {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--success-green);
}

.section-icon.gold {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--accent-gold);
}

.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--legal-blue);
  margin-bottom: 1rem;
}

.section-points {
  list-style: none;
  padding: 0;
}

.section-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.point-indicator {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--success-green);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--legal-blue);
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--gradient-hero);
  padding: 5rem 0;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ==================== WHATSAPP FIXED BUTTON ==================== */
.whatsapp-fixed {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  animation: pulse 2s infinite;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
  }
}

/* ==================== WORDPRESS SPECIFIC ==================== */
.wp-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.wp-post-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--legal-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.wp-post-meta {
  text-align: center;
  color: var(--trust-gray);
  margin-bottom: 2rem;
}

.wp-sidebar {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 1rem;
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--legal-blue);
  margin-bottom: 1rem;
}