/* ==========================================================================
   Rodrigo Sarruf Advocacia - Landing Page Comercial
   Cores e Estilos Inspirados no Modelo Referência (Clean, Jurídico & Sofisticado)
   ========================================================================== */

:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Paleta cromática idêntica à referência */
  --color-primary-dark: #0a111a;      /* Azul petróleo ultra profundo / Dark Navy */
  --color-primary-navy: #0d1826;      /* Fundo dos blocos escuros */
  --color-card-dark: #132235;         /* Cards dentro do bloco escuro */
  --color-card-dark-border: rgba(255, 255, 255, 0.08);

  --color-gold: #c5a880;              /* Dourado suave clássico */
  --color-gold-hover: #b59870;

  --color-bg-light: #f8fafc;          /* Off-white de fundo */
  --color-bg-white: #ffffff;

  --color-text-dark: #1a202c;         /* Texto principal em fundo claro */
  --color-text-muted: #4a5568;        /* Subtítulos e parágrafos */
  --color-text-light: #f1f5f9;        /* Texto em fundo escuro */
  --color-text-dim: #94a3b8;          /* Texto secundário em fundo escuro */

  /* Botão de conversão verde WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebc59;
  --color-whatsapp-dark: #1b8e45;

  --border-card: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 25px -5px rgba(10, 20, 35, 0.06), 0 8px 10px -6px rgba(10, 20, 35, 0.04);
  --shadow-card-hover: 0 20px 30px -10px rgba(10, 20, 35, 0.12), 0 10px 15px -5px rgba(10, 20, 35, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 40px;
}

/* Typography Helpers */
h1, h2, h3, h4, .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

.section-heading {
  margin-bottom: 52px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}

.text-white {
  color: #ffffff !important;
}

.text-muted-light {
  color: var(--color-text-dim);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 16px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-header {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.btn-header:hover {
  background-color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #218838;
  background: linear-gradient(135deg, #27ae60 0%, #1e824c 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.35);
  border-radius: var(--radius-sm);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp-card {
  background: #27ae60;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 0.92rem;
  width: 100%;
}

.btn-whatsapp-card:hover {
  background: #219653;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Pulse animation */
.pulse-effect {
  position: relative;
}

.pulse-effect::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  animation: pulse-green 2s infinite;
  pointer-events: none;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(39, 174, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  backdrop-filter: blur(10px);
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}

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

.header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.header-nav a:hover {
  color: #ffffff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 40%, #16293f 0%, #0d1724 50%, #080d14 100%);
  color: #ffffff;
  padding: 90px 0 110px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-watermark {
  position: absolute;
  left: -80px;
  top: -60px;
  width: 480px;
  opacity: 0.035;
  pointer-events: none;
  filter: grayscale(1);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
}

.hero-brand-top {
  margin-bottom: 24px;
}

.hero-logo-sm {
  height: 60px;
  width: auto;
  opacity: 0.95;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 22px;
}

.highlight-text {
  color: #b5c7dc;
  font-weight: 400;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin-bottom: 34px;
}

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

.hero-themis-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.themis-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.15) 0%, rgba(13, 24, 38, 0) 70%);
  border-radius: 50%;
  filter: blur(20px);
}

.themis-symbol {
  width: 240px;
  height: 240px;
  animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 85px 0;
}

/* ==========================================================================
   SITUAÇÕES TRABALHISTAS
   ========================================================================== */
.section-situacoes {
  background-color: #f8fafc;
}

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

.situacao-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.situacao-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.card-check-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  margin-bottom: 20px;
}

.card-check-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.card-item-title {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.card-item-desc {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.situacao-cta-card {
  background-color: #ffffff;
  border: 1px solid #bfdbfe;
  justify-content: space-between;
}

.card-cta-btn-box {
  margin-top: 24px;
}

/* ==========================================================================
   ÁREAS DE ATUAÇÃO
   ========================================================================== */
.section-atuacao {
  background-color: #ffffff;
}

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

.atuacao-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.atuacao-card:hover {
  border-color: #94a3b8;
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.atuacao-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a5f;
  transition: var(--transition);
}

.atuacao-card:hover .atuacao-icon-box {
  background: #1e3a5f;
  color: #ffffff;
}

.atuacao-icon-box svg {
  width: 24px;
  height: 24px;
}

.atuacao-card-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.atuacao-card-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   DARK SECTION: ANTES DE TOMAR UMA DECISÃO
   ========================================================================== */
.section-dark-guide {
  background-color: var(--color-primary-navy);
  color: #ffffff;
}

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

.guide-card {
  background-color: var(--color-card-dark);
  border: 1px solid var(--color-card-dark-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
}

.guide-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.guide-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  margin-bottom: 18px;
}

.guide-icon-box svg {
  width: 22px;
  height: 22px;
}

.guide-card-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.guide-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   SOBRE O ADVOGADO (RODRIGO SARRUF)
   ========================================================================== */
.section-about {
  background-color: #ffffff;
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.about-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 12px;
}

.about-title {
  font-size: 2.35rem;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.about-bio-paragraphs {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-bio-text {
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.68;
}

.about-lead {
  font-size: 1.05rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 14px;
}

.about-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 34px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e3a5f;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-text strong {
  display: block;
  font-size: 0.96rem;
  color: var(--color-text-dark);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about-image-wrapper {
  position: relative;
}

.lawyer-card-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 4px solid #ffffff;
  background-color: #0f172a;
}

.lawyer-img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.lawyer-card-photo:hover .lawyer-img {
  transform: scale(1.02);
}

.lawyer-card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 17, 26, 0.95) 0%, rgba(10, 17, 26, 0.75) 60%, transparent 100%);
  padding: 30px 24px 20px;
  color: #ffffff;
}

.badge-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-role {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* ==========================================================================
   COMO FUNCIONA O ATENDIMENTO
   ========================================================================== */
.section-steps-dark {
  background-color: var(--color-primary-navy);
  color: #ffffff;
}

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

.step-card {
  background-color: var(--color-card-dark);
  border: 1px solid var(--color-card-dark-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.step-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.step-card-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.step-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   PERGUNTAS FREQUENTES (FAQ)
   ========================================================================== */
.section-faq {
  background-color: #f8fafc;
}

.faq-container {
  max-width: 820px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.faq-item.active {
  border-color: #cbd5e1;
}

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

.faq-question:hover {
  background-color: #fafbfc;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: #64748b;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: 22px;
  transition: max-height 0.4s ease-in-out;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.section-cta-banner {
  background-color: var(--color-primary-navy);
  padding: 70px 0 85px;
  position: relative;
}

.cta-banner-card {
  background: linear-gradient(135deg, #162438 0%, #1e334d 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 55px 40px;
  text-align: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.cta-banner-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 2.25rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-info-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 14px;
}

.footer-info-address svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-info-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.footer-info-sub {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}

.footer-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-gold);
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

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

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--color-text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  background-color: var(--color-whatsapp-hover);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.float-icon {
  width: 30px;
  height: 30px;
}

.float-tooltip {
  position: absolute;
  right: 72px;
  background-color: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVO / MOBILE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-brand-top {
    display: flex;
    justify-content: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-image-area {
    display: none;
  }
  .situacoes-grid,
  .atuacao-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lawyer-img {
    height: 420px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative !important;
    top: auto !important;
  }
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .about-title {
    font-size: 1.95rem;
  }
  .situacoes-grid,
  .atuacao-grid,
  .guide-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   MOBILE BOTTOM BAR (FIXA NA PARTE INFERIOR)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Esconde o botão flutuante redondo clássico no mobile para não sobrepor */
  .whatsapp-float.desktop-only {
    display: none !important;
  }

  /* Compensa o padding no final do body para a barra não cobrir links do rodapé */
  body {
    padding-bottom: 74px;
  }

  .mobile-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 17, 26, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    animation: slideUpBar 0.35s ease-out;
  }

  @keyframes slideUpBar {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .mobile-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
  }

  .mobile-bottom-text {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .mobile-text-main {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .mobile-text-sub {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.2;
    margin-top: 2px;
  }

  .mobile-bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25d366 0%, #1ebc59 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
  }

  .mobile-bottom-btn:active {
    transform: scale(0.96);
  }

  .mobile-wa-icon {
    width: 20px;
    height: 20px;
  }
}
