/*
Theme Name: Direitos Porto Alegre
Theme URI: https://advogadotrabalhista-enricorotter.com
Author: Dr. Enrico Rotter
Author URI: https://advogadotrabalhista-enricorotter.com
Description: WordPress theme for labor law attorney website in Porto Alegre. Professional, modern design focused on conversion and client trust.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: direitos-porto-alegre
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, flexible-header, accessibility-ready
*/

/* ==========================================================================
   Base Styles - Design System
   ========================================================================== */

:root {
  --background: 0 0% 100%;
  --foreground: 215 25% 15%;
  
  --card: 0 0% 100%;
  --card-foreground: 215 25% 15%;
  
  --primary: 215 45% 20%;
  --primary-foreground: 0 0% 98%;
  
  --secondary: 43 95% 65%;
  --secondary-foreground: 215 45% 20%;
  
  --muted: 210 30% 96%;
  --muted-foreground: 215 15% 50%;
  
  --accent: 185 65% 35%;
  --accent-foreground: 0 0% 98%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  
  --border: 215 15% 88%;
  --input: 215 15% 88%;
  --ring: 215 45% 20%;
  
  --radius: 0.75rem;
  
  --trust: 215 45% 20%;
  --trust-foreground: 0 0% 98%;
  
  --success: 142 71% 45%;
  --success-foreground: 0 0% 98%;
  
  --professional: 220 20% 25%;
  --warm-gold: 43 95% 65%;
  
  --shadow-soft: 0 2px 10px -2px hsl(215 25% 15% / 0.1);
  --shadow-medium: 0 8px 30px -4px hsl(215 25% 15% / 0.15);
  --shadow-strong: 0 20px 60px -10px hsl(215 25% 15% / 0.25);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: hsl(var(--accent));
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: hsl(var(--secondary));
}

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

/* ==========================================================================
   Container & Layout
   ========================================================================== */

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

.container-wide {
  max-width: 1400px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: hsl(215 45% 25%);
  color: hsl(var(--primary-foreground));
}

.btn-success {
  background-color: hsl(var(--success));
  color: hsl(var(--success-foreground));
  box-shadow: var(--shadow-medium);
}

.btn-success:hover {
  background-color: hsl(142 71% 40%);
  color: hsl(var(--success-foreground));
}

.btn-outline {
  background-color: transparent;
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background-color: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   Gradients
   ========================================================================== */

.gradient-hero {
  background: linear-gradient(135deg, hsl(215 45% 20%) 0%, hsl(185 65% 35%) 100%);
}

.gradient-subtle {
  background: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(210 30% 98%) 100%);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.section-padding {
  padding: 5rem 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .section-padding {
    padding: 3rem 0;
  }
}
