/* ========================================
   Rafael Abi-Saber Advocacia — Landing Page v2
   Identidade: Navy #0C0A3B | Gold #A17D49 | Light Gold #F0D586
   Fontes: Playfair Display (display) + Inter (body)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0C0A3B;
  --navy-rgb: 12, 10, 59;
  --gold: #A17D49;
  --light-gold: #F0D586;
  --white: #FFFFFF;
  --off-white: #F8F7F4;
  --gray-light: #E8E6E1;
  --gray-text: #6B6B6B;
  --dark-text: #1A1A1A;
  --whatsapp-green: #25D366;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Geometria', Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Tipografia --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.1rem; font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/* --- Botoes CTA --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp-green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: #20BA5A;
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* (outline btn removido — único CTA é WhatsApp) */

/* (header removido — a página começa direto no hero) */

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(161, 125, 73, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--light-gold), var(--gold));
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(161, 125, 73, 0.15);
  color: var(--light-gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(161, 125, 73, 0.25);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 580px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--light-gold);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-image {
  flex: 0 0 340px;
}

.hero-image img {
  width: 340px;
  height: 340px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(161, 125, 73, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero { padding: 50px 0; }
  .hero .container { flex-direction: column-reverse; gap: 32px; text-align: center; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-image { flex: none; }
  .hero-image img { width: 220px; height: 220px; margin: 0 auto; }
}

/* ========================================
   BARRA DE LOCALIZAÇÃO
   ======================================== */
.location-bar {
  background: var(--off-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-light);
}

.location-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.location-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-bar-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.location-bar-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-text);
  font-weight: 600;
}

.location-bar-cities {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.location-chip {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 8px;
  letter-spacing: 0.2px;
}

.location-bar-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  padding-left: 20px;
  border-left: 2px solid var(--gray-light);
}

.location-mode-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: mode-pulse 2s infinite;
}

@keyframes mode-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  .location-bar-inner {
    flex-direction: column;
    gap: 14px;
  }
  .location-bar-cities { gap: 6px; }
  .location-chip { font-size: 0.78rem; padding: 5px 12px; }
  .location-bar-mode {
    padding-left: 0;
    border-left: none;
    padding-top: 8px;
    border-top: 1px solid var(--gray-light);
  }
}

/* ========================================
   SEÇÃO — Elementos reutilizáveis
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header p {
  color: var(--gray-text);
  font-size: 1.02rem;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* ========================================
   SERVIÇOS
   ======================================== */
.servicos {
  padding: 90px 0;
  background: var(--off-white);
}

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

.servico-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--gray-light);
  transition: transform 0.3s, box-shadow 0.3s;
}

.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(12, 10, 59, 0.08);
}

.servico-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), #1a1852);
  color: var(--light-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.servico-icon svg {
  stroke: var(--light-gold);
}

.servico-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.servico-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .servicos-grid { grid-template-columns: 1fr; gap: 14px; }
  .servicos { padding: 60px 0; }
}

/* ========================================
   DIFERENCIAIS
   ======================================== */
.diferenciais {
  padding: 90px 0;
  background: var(--white);
}

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

.dif-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 16px;
  background: var(--off-white);
  border: 1px solid var(--gray-light);
}

.dif-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.dif-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.dif-item p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .dif-grid { grid-template-columns: 1fr; gap: 14px; }
  .diferenciais { padding: 60px 0; }
}

/* ========================================
   SOBRE / BIO
   ======================================== */
.sobre {
  padding: 90px 0;
  background: var(--navy);
}

.sobre .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.sobre-img img {
  width: 320px;
  height: 400px;
  border-radius: 20px;
  object-fit: cover;
  border: 3px solid rgba(161, 125, 73, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.sobre-content { flex: 1; }

.sobre-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.sobre-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.sobre-list {
  list-style: none;
  margin: 24px 0 32px;
}

.sobre-list li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
  padding: 8px 0 8px 28px;
  position: relative;
}

.sobre-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .sobre .container { flex-direction: column; gap: 32px; text-align: center; }
  .sobre-img img { width: 240px; height: 300px; margin: 0 auto; }
  .sobre-list li { text-align: left; }
  .sobre { padding: 60px 0; }
}

/* ========================================
   COMO FUNCIONA
   ======================================== */
.como-funciona {
  padding: 90px 0;
  background: var(--off-white);
}

.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.passo {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-light);
}

.passo-num {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--light-gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.passo h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.passo p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .passos-grid { grid-template-columns: 1fr; gap: 16px; }
  .como-funciona { padding: 60px 0; }
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
  padding: 90px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--light-gold));
  border-radius: 2px;
}

.cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .cta-btn {
  font-size: 1.1rem;
  padding: 18px 40px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #060422;
  padding: 48px 0 28px;
  text-align: center;
}

.footer-logo img {
  height: 80px;
  margin: 0 auto 20px;
}

.footer-info {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.9;
}

.footer-info a {
  color: var(--light-gold);
  transition: opacity 0.2s;
}

.footer-info a:hover { opacity: 0.8; }

.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px auto;
  opacity: 0.3;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.72rem;
  line-height: 1.7;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: float-pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

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

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.6); }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
