/**
 * ADVOCACIA ESPECIALIZADA - BASE STYLES & RESET
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-deep);
  color: var(--color-text-primary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Text Selection */
::selection {
  background-color: var(--color-gold-primary);
  color: var(--color-text-on-gold);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-title);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-gold-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold-hover);
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 3px;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  position: relative;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  max-width: 100vw;
}

.section-alt {
  background-color: var(--color-bg-main);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  max-width: 100vw;
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-3xl) auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold-primary);
  margin-bottom: 0.75rem;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gradient-gold);
}

.section-title {
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

/* Textos em Destaque: Cor Sólida Obrigatória (Zero Gradiente) */
.gold-gradient-text {
  color: var(--color-gold-primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  display: inline;
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  user-select: none;
  min-height: 48px; /* Touch target accessibility */
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-text-on-gold);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
  color: #000000;
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  border: 1px solid var(--border-gold-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--color-gold-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold-light);
  border: 1px solid var(--border-gold-subtle);
}

.btn-outline:hover {
  border-color: var(--color-gold-primary);
  background: rgba(197, 160, 89, 0.08);
  color: #FFFFFF;
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: var(--text-xs);
  min-height: 40px;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: var(--text-base);
  min-height: 54px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Badges & Trust Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-gold {
  background: rgba(197, 160, 89, 0.12);
  color: var(--color-gold-light);
  border: 1px solid var(--border-gold-subtle);
}

.badge-google {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-gold-primary);
  box-shadow: 0 0 8px var(--color-gold-primary);
}

/* Ambient Subtle Background Elements */
.ambient-glow-gold {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(197, 160, 89, 0.15) 0%, rgba(11, 17, 30, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

