/* ========================================
   ALPHA ADVOCACIA - DESIGN SYSTEM
   Paleta: Azul Escuro (#0B1F3B) + Dourado (#C4A05A)
   ======================================== */

/* ========== RESET E VARIÁVEIS ========== */
:root {
  --primary: #0B1F3B;
  --primary-light: #1a3a5c;
  --secondary: #C4A05A;
  --secondary-light: #d4b06a;
  --background: #ffffff;
  --foreground: #0B1F3B;
  --muted: #F5F7FA;
  --border: #DFE4EA;
  --text-light: #666666;
  --success: #10b981;
  --error: #ef4444;
  
  --font-serif: 'Lora', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  font-size: 16px;
}

/* ========== TIPOGRAFIA ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--font-sans);
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.btn-block {
  width: 100%;
}

/* ========== CARDS ========== */
.card {
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* ========== SEÇÕES ========== */
.section {
  padding: 3rem 0;
}

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

.section-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.section-hero-content {
  position: relative;
  z-index: 1;
}

.section-muted {
  background-color: var(--muted);
}

/* ========== GRID ========== */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

/* ========== FLEXBOX ========== */
.flex {
  display: flex;
  gap: 1rem;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

/* ========== HEADER ========== */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  display: none;
}

.logo-text h3 {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.2;
  color: var(--primary);
}

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

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

/* ========== NAVEGAÇÃO ========== */
nav {
  display: none;
}

nav.active {
  display: block;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--border);
  padding: 1rem;
}

nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-weight: 500;
}

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

@media (min-width: 1024px) {
  nav {
    display: flex;
    gap: 2rem;
    position: static;
  }

  nav.active {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background-color: transparent;
    border-top: none;
    padding: 0;
  }

  nav a {
    display: inline;
    padding: 0;
  }
}

/* ========== MENU TOGGLE ========== */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

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

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== FLOATING WHATSAPP ========== */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 99;
}

.whatsapp-button:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

.whatsapp-button svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* ========== TRUST BADGE ========== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(196, 160, 90, 0.1);
  border: 1px solid rgba(196, 160, 90, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* ========== ACCORDION ========== */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-button {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: white;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.accordion-button:hover {
  background-color: var(--muted);
}

.accordion-button.active {
  background-color: var(--muted);
  color: var(--primary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--secondary);
}

.accordion-button.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: rgba(245, 247, 250, 0.5);
}

.accordion-content.active {
  max-height: 500px;
  padding: 1rem 1.5rem;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 2rem 0;
  }

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

  .section-hero {
    padding: 4rem 0;
  }
}

/* ========== UTILITÁRIOS ========== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-muted {
  color: var(--text-light);
}

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

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

.pt-4 { padding-top: 2rem; }
.pb-4 { padding-bottom: 2rem; }

.hidden {
  display: none;
}

.main-content {
  margin-top: 80px;
}

