/* ========================================
   LOPES ARAÚJO ADVOCACIA — Design System
   ======================================== */

/* ── 1. CUSTOM PROPERTIES ────────────────── */
:root {
  /* Brand */
  --primary: #21608A;
  --primary-dark: #1A4D6E;
  --primary-light: #4BA3C3;
  --accent: #86DCEE;
  --accent-soft: rgba(134, 220, 238, 0.12);

  /* Neutrals */
  --dark: #0F2B3C;
  --dark-soft: #163A50;
  --text: #2D3748;
  --text-light: #64748B;
  --text-muted: #94A3B8;

  /* Backgrounds */
  --bg: #FAFBFC;
  --bg-warm: #F0F4F8;
  --bg-card: #FFFFFF;

  /* Accents */
  --gold: #C9A84C;
  --gold-soft: rgba(201, 168, 76, 0.15);
  --green-wp: #25D366;

  /* Borders & Shadows */
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(15, 43, 60, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 43, 60, 0.08);
  --shadow-lg: 0 8px 32px rgba(15, 43, 60, 0.10);
  --shadow-xl: 0 16px 48px rgba(15, 43, 60, 0.12);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --nav-height: 80px;
  --section-py: clamp(64px, 8vw, 120px);
  --container: 1200px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}


/* ── 2. RESET & BASE ─────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}


/* ── 3. TYPOGRAPHY ───────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
  font-family: var(--ff-body);
  font-weight: 600;
}

p {
  color: var(--text-light);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 600px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}


/* ── 4. LAYOUT ───────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-py) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}


/* ── 5. COMPONENTS ───────────────────────── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 96, 138, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(33, 96, 138, 0.35);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-wp {
  background: var(--green-wp);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.btn-wp:hover {
  background: #20BD5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

.btn-gold:hover {
  background: #b8963f;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  transition: all var(--duration) var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.card-dark {
  background: var(--dark);
  border-color: var(--dark-soft);
  color: #fff;
}

.card-dark h3,
.card-dark h4 {
  color: #fff;
}

.card-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.card-dark:hover {
  border-color: var(--primary-light);
  background: var(--dark-soft);
}

/* Tags / Badges */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.tag-primary {
  background: rgba(33, 96, 138, 0.1);
  color: var(--primary);
}

.tag-gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--primary);
}

.tag-light {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

/* Dividers */
.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Image Placeholders */
.img-placeholder {
  background: linear-gradient(135deg, var(--bg-warm) 0%, #dce4ed 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}

.img-placeholder i {
  font-size: 2.5rem;
  opacity: 0.5;
}

.img-placeholder.placeholder-sm {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.img-placeholder.placeholder-sm i {
  font-size: 1.5rem;
}


/* ── 6. HEADER & NAVIGATION ─────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: var(--primary-light);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration) var(--ease);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-wp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: var(--green-wp);
  font-size: 1.25rem;
  transition: all var(--duration) var(--ease);
}

.nav-wp:hover {
  background: var(--green-wp);
  color: #fff;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

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

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

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


/* ── 7. HERO ─────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--bg) 0%, var(--bg-warm) 50%, rgba(134, 220, 238, 0.06) 100%);
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(75, 163, 195, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold-soft);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.hero-image .hero-img-wrapper {
  width: 100%;
  max-width: 440px;
  height: 520px;
  border-radius: var(--radius-xl);
  position: relative;
}

.hero-image .hero-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-xl) + 4px);
  border: 2px solid rgba(75, 163, 195, 0.15);
  pointer-events: none;
}

.hero-image .hero-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  pointer-events: none;
}

.hero-image .hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xl);
  display: block;
}

/* Social Proof Bar */
.social-proof {
  background: var(--bg-card);
  border-radius: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 32px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-bottom: 20px;
  z-index: 2;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--primary-light));
  border-radius: 0;
}

.proof-item {
  text-align: center;
  position: relative;
}

.proof-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}

.proof-number {
  font-family: var(--ff-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.proof-item.oab-item .proof-number {
  font-size: 1.25rem;
  color: var(--gold);
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* ── 8. AUTHORITY BAR ────────────────────── */
.authority {
  background: var(--bg-warm);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 40px;
}

.authority-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.authority-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.authority-item:hover {
  opacity: 1;
}

.authority-item i {
  font-size: 1.5rem;
  color: var(--primary-light);
}


/* ── 9. ABOUT / O ADVOGADO ───────────────── */
.about {
  background: var(--bg-card);
}

.about-profile {
  margin-bottom: 80px;
}

.about-image .about-img-wrapper {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
}

.about-image .about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  display: block;
}

.about-text .section-label {
  margin-bottom: 12px;
}

.about-name {
  margin-bottom: 8px;
}

.about-role {
  font-size: 1rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-bio {
  margin-bottom: 24px;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.about-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.about-detail-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Timeline */
.timeline-section {
  padding-top: 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--primary-light), var(--primary));
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 32px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 32px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--bg-card);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 1;
}

.timeline-content {
  background: var(--bg-warm);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ── 10. ÁREAS DE ATUAÇÃO ────────────────── */
.areas {
  background: var(--bg);
}

.area-card {
  padding: 40px 32px;
  text-align: left;
  position: relative;
  border-radius: 0;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 0;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.area-card:hover::before {
  opacity: 1;
}

.area-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(33, 96, 138, 0.08);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--duration) var(--ease);
}

.area-card:hover .area-icon {
  background: var(--primary);
  color: #fff;
}

.area-card h3 {
  margin-bottom: 12px;
}

.area-card > p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Bancário card dark variant */
.area-card.card-dark .area-icon {
  background: rgba(134, 220, 238, 0.15);
  color: var(--accent);
}

.area-card.card-dark:hover .area-icon {
  background: var(--accent);
  color: var(--dark);
}

.area-card.card-dark::before {
  background: var(--gold);
}

.area-card.card-dark .area-tags .tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}


/* ── 11. COMO FUNCIONA ───────────────────── */
.process {
  background: var(--bg-warm);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary-light) 0,
    var(--primary-light) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--duration) var(--ease);
}

.step-number i {
  font-size: 1.75rem;
  color: var(--primary);
  transition: color var(--duration) var(--ease);
}

.step-card:hover .step-number {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(33, 96, 138, 0.3);
}

.step-card:hover .step-number i {
  color: #fff;
}

.step-num-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.step-card h4 {
  margin-bottom: 8px;
  color: var(--dark);
}

.step-card p {
  font-size: 0.9rem;
  max-width: 220px;
  margin: 0 auto;
}


/* ── 12. RESULTADOS & DEPOIMENTOS ────────── */
.results {
  background: var(--bg-card);
}

.results-cases {
  margin-bottom: 80px;
}

.case-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.case-card .case-area {
  margin-bottom: 16px;
}

.case-card h4 {
  margin-bottom: 8px;
}

.case-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.case-result {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

.case-result i {
  color: var(--green-wp);
  font-size: 1.2rem;
}

/* Testimonials */
.testimonials-wrapper {
  background: var(--bg-warm);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
}

.testimonials-wrapper .section-header {
  margin-bottom: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.testimonial-author .img-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author-info .author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-author-info .author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Swiper customization */
.testimonials-swiper {
  padding-bottom: 48px;
}

.testimonials-swiper .swiper-pagination-bullet {
  background: var(--primary-light);
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
  width: 24px;
  border-radius: 5px;
}

.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  color: var(--primary);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  top: 40%;
}

.testimonials-swiper .swiper-button-next::after,
.testimonials-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}


/* ── 13. ARTIGOS ─────────────────────────── */
.articles {
  background: var(--bg);
}

.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-thumb {
  height: 200px;
  position: relative;
}

.article-thumb .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}

.article-thumb .tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
}

.article-body {
  padding: 24px;
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-card h4 {
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card h4 a:hover {
  color: var(--primary);
}

.article-excerpt {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.article-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}

.article-link:hover {
  gap: 12px;
}

.articles-footer {
  text-align: center;
  margin-top: 48px;
}


/* ── 14. FAQ ─────────────────────────────── */
.faq {
  background: var(--bg-warm);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.faq-intro h2 {
  margin-bottom: 16px;
}

.faq-intro p {
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
  font-size: 1rem;
  color: var(--text-light);
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}


/* ── 15. CONTATO ─────────────────────────── */
.contact {
  background: var(--bg-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px 48px;
}

.contact-grid .contact-form-card {
  grid-column: 1;
  grid-row: 1;
}

.contact-grid .wp-highlight {
  grid-column: 1;
  grid-row: 2;
}

.contact-grid .contact-info {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.contact-form-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  height: fit-content;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(75, 163, 195, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.contact-info-card i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 96, 138, 0.08);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-card p {
  font-size: 0.875rem;
}

/* WhatsApp highlight card */
.wp-highlight {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--dark-soft);
}

.wp-highlight i.wp-icon {
  font-size: 2.5rem;
  color: var(--green-wp);
  margin-bottom: 12px;
  display: block;
  background: none;
  width: auto;
  height: auto;
}

.wp-highlight h4 {
  color: #fff;
  margin-bottom: 8px;
}

.wp-highlight p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Map */
.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ── 16. FOOTER ──────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.footer-brand .logo span {
  color: var(--primary-light);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-brand .oab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.footer h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: var(--ff-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--duration) var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.15rem;
  transition: all var(--duration) var(--ease);
}

.footer-socials a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-legal {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ── 17. BACK TO TOP ─────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--duration) var(--ease);
  z-index: 900;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}


/* ── 18. ANIMATIONS ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}


/* ── 19. RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-image .img-placeholder {
    max-width: 360px;
    height: 420px;
    margin: 0 auto;
  }

  .social-proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 28px 32px;
  }

  .proof-item:nth-child(2)::after {
    display: none;
  }

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

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

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

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
    flex-direction: row;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-dot {
    left: 8px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --section-py: clamp(48px, 6vw, 80px);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 8px;
    box-shadow: var(--shadow-xl);
    transition: right var(--duration) var(--ease);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 16px;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 60, 0.5);
    z-index: 998;
  }

  .mobile-overlay.active {
    display: block;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-image .img-placeholder {
    height: 360px;
  }

  .social-proof {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
  }

  .proof-item::after {
    display: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .authority-logos {
    gap: 24px;
  }

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

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-dot {
    left: 8px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
    flex-direction: row;
  }

  .testimonials-wrapper {
    padding: 32px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .social-proof {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-image .img-placeholder {
    height: 300px;
  }

  .contact-form-card {
    padding: 24px;
  }
}
