/**
 * style.css — Rafael França Advocacia | Site Principal
 * Design System: Dark Navy + Esmeralda/Petróleo
 * Versão: 3.0.0
 * ================================================
 */

/* ============================================
   1. TOKENS & VARIÁVEIS
   ============================================ */
:root {
  /* Cores Primárias */
  --navy:          #0A0F1E;
  --navy-mid:      #0F1830;
  --navy-card:     #111827;
  --navy-border:   rgba(255,255,255,0.07);

  /* Esmeralda / Teal — cor de destaque */
  --emerald:       #10B981;
  --emerald-light: #34D399;
  --emerald-dark:  #059669;
  --emerald-glow:  rgba(16,185,129,0.18);
  --emerald-subtle:rgba(16,185,129,0.08);

  /* Ouro — herança da marca */
  --gold:          #C3A166;
  --gold-light:    #D4AF6A;
  --gold-subtle:   rgba(195,161,102,0.12);

  /* Texto */
  --text-light:    #F1F5F9;
  --text-muted:    #94A3B8;
  --text-subtle:   #64748B;

  /* Tipografia */
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Montserrat', 'Inter', system-ui, sans-serif;

  /* Espaçamento */
  --section-pad:   120px;
  --container:     1200px;
  --radius:        12px;
  --radius-lg:     20px;

  /* Sombras */
  --shadow-card:   0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow:   0 0 40px rgba(16,185,129,0.15);

  /* Transições */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --dur:           0.35s;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   3. UTILITÁRIOS
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.text-emerald { color: var(--emerald); }
.text-gold    { color: var(--gold); }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

/* ============================================
   4. BOTÕES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
  box-shadow: 0 4px 24px rgba(16,185,129,0.35);
}
.btn--primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  box-shadow: 0 6px 32px rgba(16,185,129,0.5);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border-color: var(--emerald);
  color: var(--emerald);
}
.btn--outline:hover {
  background: var(--emerald);
  color: #fff;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  border-color: var(--navy-border);
  color: var(--text-muted);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-light);
}
.btn--large { padding: 18px 36px; font-size: 0.9rem; }
.btn--sm    { padding: 10px 20px; font-size: 0.8rem; }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================
   5. SEÇÃO HEADER
   ============================================ */
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 6px 16px;
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px;
  background: var(--emerald-subtle);
  margin-bottom: 20px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-light);
}
.section__title em {
  font-style: normal;
  color: var(--emerald);
}
.section__desc {
  max-width: 640px;
  margin: 20px auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================
   6. NAVBAR / HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(10,15,30,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--navy-border);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(16,185,129,0.4));
}
.header__logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}
.header__logo-text em {
  font-style: normal;
  color: var(--emerald);
}
.header__nav { margin-left: auto; }
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__nav-link {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.header__nav-link:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.05);
}
.header__cta { margin-left: 16px; }
.header__admin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-subtle);
  border-radius: 8px;
  border: 1px solid var(--navy-border);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  margin-left: 8px;
  flex-shrink: 0;
}
.header__admin-btn:hover {
  color: var(--emerald);
  border-color: rgba(16,185,129,0.3);
  background: var(--emerald-subtle);
}
.header__progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.04);
}
.header__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  width: 0%;
  transition: width 0.1s;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--navy-border);
  margin-left: 8px;
  flex-shrink: 0;
}
.hamburger__bar {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.mobile-menu__logo { display: flex; align-items: center; gap: 12px; }
.mobile-menu__logo-icon { width: 32px; height: 32px; object-fit: contain; }
.mobile-menu__logo-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}
.mobile-menu__logo-text em { font-style: normal; color: var(--emerald); }
.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--navy-border);
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu__close:hover { color: var(--text-light); background: rgba(255,255,255,0.05); }
.mobile-menu__divider { height: 1px; background: var(--navy-border); margin: 8px 0; }
.mobile-menu__nav { flex: 1; padding-top: 16px; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__item {}
.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu__link:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.04);
}
.mobile-menu__item-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--emerald);
  min-width: 24px;
}
.mobile-menu__item-label { flex: 1; }
.mobile-menu__item-arrow { color: var(--text-subtle); }
.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mobile-menu__bottom .btn { width: 100%; justify-content: center; }
.mobile-menu__tagline {
  font-size: 0.75rem;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}
.mobile-menu__watermark {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 260px; height: 260px;
  opacity: 0.03;
  pointer-events: none;
}
.mobile-menu__watermark img { width: 100%; }

/* ============================================
   7. HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  padding-top: 72px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(16,185,129,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(10,15,30,0.8) 0%, transparent 70%);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; }
.hero__mouse-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: left 0.15s, top 0.15s;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--emerald);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-light);
  margin-bottom: 28px;
}
.hero__title--accent {
  font-style: normal;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__rule {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--emerald), transparent);
  border-radius: 2px;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 40px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero__trust-sep {
  width: 1px; height: 40px;
  background: var(--navy-border);
  margin: 0 24px;
}
.hero__trust-item {}
.hero__trust-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}
.hero__trust-suffix {
  font-size: 1.1rem;
  color: var(--emerald);
  font-weight: 600;
}
.hero__trust-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-top: 4px;
}

/* Hero Photo */
.hero__photo-col { position: relative; }
.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__photo-img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.4s;
}
.hero__photo-frame:hover .hero__photo-img { filter: grayscale(0%); }
.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,30,0.7) 0%,
    rgba(10,15,30,0.1) 50%,
    transparent 100%
  );
}
.frame-corner {
  position: absolute;
  width: 28px; height: 28px;
  pointer-events: none;
}
.frame-corner--tl { top: -1px; left: -1px; border-top: 2px solid var(--emerald); border-left: 2px solid var(--emerald); border-radius: 4px 0 0 0; }
.frame-corner--br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--emerald); border-right: 2px solid var(--emerald); border-radius: 0 0 4px 0; }
.hero__photo-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.hero__photo-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(1.2)} }
.hero__photo-badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}
.hero__photo-badge-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Fade-up animation (JS init) */
.fade-up-init { opacity: 0; transform: translateY(30px); }
.fade-up-done { opacity: 1; transform: translateY(0); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* ============================================
   8. SERVIÇOS (BENTO GRID)
   ============================================ */
.services { background: var(--navy-mid); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover {
  border-color: rgba(16,185,129,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.bento-card:hover::before { opacity: 1; }
.bento-card--wide  { grid-column: span 2; }
.bento-card--full  { grid-column: 1 / -1; }
.bento-card--accent {
  background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, var(--navy-card) 100%);
  border-color: rgba(16,185,129,0.2);
}

.bento-card__icon {
  width: 48px; height: 48px;
  color: var(--emerald);
  flex-shrink: 0;
}
.bento-card__icon svg { width: 100%; height: 100%; }
.bento-card__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 4px;
  padding: 3px 10px;
  align-self: flex-start;
}
.bento-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}
.bento-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}
.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-top: 8px;
  transition: gap 0.2s;
}
.bento-card__link:hover { gap: 14px; }
.bento-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.bento-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.bento-card__list-item::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  margin-top: 7px;
  flex-shrink: 0;
}

/* Urgência card */
.urgency-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 12px;
}
.urgency-alert__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px rgba(239,68,68,0.7);
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}
.urgency-alert__text {
  font-size: 0.8rem;
  color: #FCA5A5;
  line-height: 1.4;
}
.urgency-alert__text strong { color: #F87171; }

/* ============================================
   9. COMO FUNCIONA
   ============================================ */
.process { background: var(--navy); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), rgba(16,185,129,0.1));
}
.process__step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy); /* Fundo sólido para ocultar a linha por trás */
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--ease);
}
.process__step:hover .process__step-num {
  background: var(--emerald);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}
.process__step-icon {
  width: 28px; height: 28px;
  color: var(--emerald);
  margin-bottom: 16px;
}
.process__step-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 12px;
}
.process__step-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   10. O ESPECIALISTA
   ============================================ */
.specialist {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.specialist__bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right center, rgba(16,185,129,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.specialist__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.specialist__image-col { position: relative; }
.specialist__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.specialist__frame-corner {
  position: absolute;
  width: 32px; height: 32px;
  pointer-events: none;
  z-index: 2;
}
.specialist__frame-corner--tl { top: -2px; left: -2px; border-top: 3px solid var(--emerald); border-left: 3px solid var(--emerald); border-radius: 6px 0 0 0; }
.specialist__frame-corner--br { bottom: -2px; right: -2px; border-bottom: 3px solid var(--emerald); border-right: 3px solid var(--emerald); border-radius: 0 0 6px 0; }
.specialist__photo-real {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease);
}
.specialist__photo-frame:hover .specialist__photo-real { transform: scale(1.02); }
.specialist__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,24,48,0.6) 0%, transparent 50%);
}

.specialist__content-col {}
.specialist__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}
.specialist__label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--emerald);
}
.specialist__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 24px;
}
.specialist__title em { font-style: normal; color: var(--emerald); }
.specialist__divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--emerald), transparent);
  border-radius: 2px;
  margin-bottom: 28px;
}
.specialist__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}
.specialist__quote {
  position: relative;
  padding: 20px 24px;
  border-left: 3px solid var(--emerald);
  background: var(--emerald-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}
.specialist__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.credential-card:hover { border-color: rgba(16,185,129,0.2); }
.credential-card__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--emerald);
  padding: 4px 8px;
  background: var(--emerald-subtle);
  border-radius: 4px;
  flex-shrink: 0;
}
.credential-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.credential-card__body strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}
.credential-card__body span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   11. DEPOIMENTOS — MARQUEE
   ============================================ */
.testimonials { background: var(--navy); overflow: hidden; }
.testimonials__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.testimonials__track {
  display: flex;
  gap: 20px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}
.testimonials__track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tcard {
  width: 320px;
  flex-shrink: 0;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.tcard:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-4px);
}
.tcard__result {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 5px 12px;
  border-radius: 4px;
  align-self: flex-start;
}
.tcard__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--navy-border);
  padding-top: 16px;
}
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.tcard__author-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}
.tcard__author-info span {
  font-size: 0.75rem;
  color: var(--text-subtle);
}
.tcard__stars { margin-left: auto; color: var(--gold); font-size: 0.75rem; }

/* ============================================
   12. ÁREAS LP — CARDS CALL-TO-ACTION
   ============================================ */
.lp-areas { background: var(--navy-mid); }
.lp-areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.lp-card {
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, var(--navy-card) 100%);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.lp-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16,185,129,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.lp-card:hover {
  border-color: rgba(16,185,129,0.5);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(16,185,129,0.18);
}
.lp-card:hover::after { opacity: 1; }
.lp-card--featured {
  background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, var(--navy-card) 100%);
  border-color: rgba(16,185,129,0.25);
}
.lp-card__icon {
  width: 56px; height: 56px;
  background: var(--emerald-subtle);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  position: relative;
  z-index: 1;
}
.lp-card__icon svg { width: 28px; height: 28px; }
.lp-card__category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  position: relative;
  z-index: 1;
}
.lp-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.lp-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
}
.lp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  transition: gap 0.2s;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}
.lp-card__link:hover { gap: 14px; }

/* ============================================
   13. FAQ (ACCORDION)
   ============================================ */
.faq { background: var(--navy); }
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item.is-open { border-color: rgba(16,185,129,0.3); }
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.4;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--emerald); }
.faq__item.is-open .faq__question { color: var(--emerald); }
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq__item.is-open .faq__icon {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-subtle);
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   14. BLOG PREVIEW
   ============================================ */
.blog-preview { background: var(--navy-mid); }
.blog-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.blog-card:hover {
  border-color: rgba(16,185,129,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.blog-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.blog-card__date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.35;
  transition: color 0.2s;
  flex: 1;
}
.blog-card:hover .blog-card__title { color: var(--emerald); }
.blog-card__excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald);
  transition: gap 0.2s;
  margin-top: 8px;
}
.blog-card:hover .blog-card__read { gap: 12px; }
.blog-preview__cta-wrap {
  display: flex;
  justify-content: center;
}

/* ============================================
   15. CTA FINAL
   ============================================ */
.cta-final {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(16,185,129,0.07) 0%, transparent 70%);
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-final__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}
.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}
.cta-final__title em { font-style: normal; color: var(--emerald); }
.cta-final__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-final__buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.cta-final__trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-final__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.cta-final__trust-item svg { width: 14px; height: 14px; color: var(--emerald); }

/* ============================================
   16. FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-border);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo-icon { width: 28px; height: 28px; object-fit: contain; }
.footer__logo-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.footer__logo-text em { font-style: normal; color: var(--emerald); }
.footer__nav-list-horizontal {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.footer__nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer__nav-link:hover { color: var(--emerald); }
.footer__bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.footer__oab {
  font-size: 0.72rem;
  color: var(--text-subtle);
  text-align: right;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  color: white;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ============================================
   17. BLOG PAGE
   ============================================ */
.blog-hero {
  background: var(--navy-mid);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--navy-border);
}
.blog-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}
.blog-hero__title em { font-style: normal; color: var(--emerald); }
.blog-hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
}

.blog-main { background: var(--navy); padding: var(--section-pad) 0; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.blog-grid--single { grid-template-columns: 1fr; }
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}
.blog-empty__icon { font-size: 3rem; margin-bottom: 16px; }
.blog-empty p { font-size: 0.9rem; }

/* Blog Sidebar */
.blog-sidebar { position: sticky; top: 92px; }
.sidebar-widget {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.sidebar-widget__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.sidebar-cta {
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, var(--navy-card) 100%);
  border-color: rgba(16,185,129,0.2);
}
.sidebar-cta__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.sidebar-recent-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-border);
}
.sidebar-recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent-post__thumb {
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.sidebar-recent-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-post__title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.sidebar-recent-post:hover .sidebar-recent-post__title { color: var(--emerald); }
.sidebar-recent-post__date { font-size: 0.7rem; color: var(--text-subtle); }

/* Blog post card (full) */
.blog-card--featured {
  grid-column: 1 / -1;
}
.blog-card--featured .blog-card__thumb {
  aspect-ratio: 2.5/1;
}

/* Single post page */
.post-hero {
  background: var(--navy-mid);
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--navy-border);
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: var(--section-pad) 0;
}
.post-content {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.post-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 32px 0 16px;
}
.post-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 24px 0 12px;
}
.post-content p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.post-content ul, .post-content ol {
  margin: 16px 0 20px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 8px; }
.post-content strong { color: var(--text-light); }
.post-content blockquote {
  border-left: 3px solid var(--emerald);
  background: var(--emerald-subtle);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  color: var(--text-light);
  font-style: italic;
  margin: 24px 0;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color 0.2s;
}
.post-back:hover { color: var(--emerald); }
.post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-meta__date {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-meta__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 3px 10px;
  border-radius: 4px;
}
.post-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 20px;
}
.post-hero__cover {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.post-hero__cover img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

/* ============================================
   18. REVEAL ANIMATION
   ============================================ */
[data-aos] { transition-duration: 0.7s; }

/* ============================================
   19. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero__photo-frame { width: 100%; }
  .hero__photo-img { height: 420px; }
  .hero__title { font-size: clamp(2rem, 6vw, 3rem); }
  .specialist__inner { grid-template-columns: 1fr; gap: 48px; }
  .specialist__image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .specialist__photo-frame { width: 100%; }
  .specialist__photo-real { max-height: 420px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--full { grid-column: 1 / -1; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process__step:not(:last-child)::after { display: none; }
  .lp-areas__grid { grid-template-columns: repeat(2, 1fr); }
  .lp-card--featured { grid-column: span 1; }
  .blog-preview__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: auto; }
  .process__steps { grid-template-columns: 1fr; }
  .lp-areas__grid { grid-template-columns: 1fr; }
  .blog-preview__grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: auto; }
  .blog-grid--single { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__trust { flex-direction: column; gap: 24px; align-items: flex-start; }
  .hero__trust-sep { display: none; }
  .cta-final__trust { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .post-content { padding: 28px 20px; }
}
