/*
Theme Name: Dominghini Advocacia
Theme URI: https://dominghiniadvocacia.com.br
Author: Rightflows
Author URI: https://rightflows.com.br
Description: Landing page institucional do escritório Dominghini Advocacia, especializado em direito previdenciário e Auxílio-Acidente do INSS.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Uso privado
Text Domain: dominghini-advocacia
*/

/* ==========================================================================
   Original site styles below
   ========================================================================== */

/* =========================================================
   ZAPZEN — Estilo aplicado a partir do design system
   de Nicolodi & Kura Advogados (tokens, tipografia, botões)
   ========================================================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-fade {
  opacity: 0;
  transition: opacity .7s ease;
}
.reveal-fade.revealed { opacity: 1; }

:root {
  --accent: #8B1538;
  --accent-hover: #A6193F;
  --accent-text: #FFFFFF;
  --font-heading: "Montserrat", "Inter", sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;

  --bg: #0D0B08;
  --surface: #161210;
  --surface-2: #1E1916;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .15);
  --text: #F5F0E8;
  --text-muted: #FFFFFF;
  --text-subtle: #7A6B4E;
  --badge-bg: rgba(255, 255, 255, .05);
  --radius: 4px;
}

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

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

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

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--accent-text); }

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
@media (min-width: 768px) {
  .container { padding-inline: 0; }
}

/* ---------- LABELS / SECTION INTROS ---------- */
.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  text-align: center;
}

.section-intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  text-align: center;
}
.section-intro--tight { margin-bottom: 2rem; font-size: 1rem; }

.highlight { color: var(--text); }

section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 6px clamp(24px, 5vw, 80px);
  background: #646f5f;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
}
.container-nav {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-brand { display: flex; align-items: center; }
.logo-image { height: 87px; width: auto; }
.footer-brand { margin-top: 0; margin-bottom: 0; }
.footer-info-divider { width: 1px; height: 90px; background: rgba(255, 255, 255, .3); }
.footer-info-list { display: flex; flex-direction: column; gap: 10px; }
.footer-info-item { display: flex; align-items: center; gap: 10px; color: #FFFFFF; font-size: .9rem; }
@media (max-width: 767px) {
  .footer-inner { flex-direction: column; }
  .footer-info-divider { display: none; }
}
.footer-logo-image { height: 185px; }
.hero-mobile-logo { display: none; }

.navbar-oab {
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: color-mix(in srgb, #25D366 15%, transparent);
  border: 1px solid color-mix(in srgb, #25D366 45%, transparent);
  color: #25D366;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.cta-button:hover {
  background: color-mix(in srgb, #25D366 25%, transparent);
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 95vh;
  height: 95svh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 20px clamp(24px, 5vw, 80px) 100px;
  background: url("images/hero_cel.jpg") center 65% / cover no-repeat;
}
@media (min-width: 768px) {
  .hero {
    background: url("images/hero.jpg") right center / cover no-repeat;
  }
  .footer-logo-image { height: 240px; }
}
.hero-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.hero-content { max-width: 780px; }
.hero-content h1 {
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-lead-p { color: var(--text-muted); }

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 56px;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}
.hero-trust-item svg { color: #FFFFFF; flex-shrink: 0; width: 18px; height: 18px; }
.hero-trust-item + .hero-trust-item { position: relative; padding-left: 14px; }
.hero-trust-item + .hero-trust-item::before {
  content: "|";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}

.cta-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(to bottom, #2ECC71, #0F7A3D);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17.6px;
  border-radius: 20px 0 20px 0;
  padding: 15px 32px;
  white-space: nowrap;
  transition: filter .2s ease, transform .15s ease;
}
.cta-nav-button svg { flex-shrink: 0; }
.cta-nav-button:hover { filter: brightness(1.08); transform: translateY(-1px); }

.scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
  margin-top: -30px;
  height: 60px;
  background: linear-gradient(to bottom, transparent 50%, #F1F3F0 50%);
}
.scroll-indicator-ball {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, #646f5f 30%, transparent);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  display: flex; align-items: center; justify-content: center;
  color: #646f5f;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- PAIN SECTION ---------- */
.pain-section {
  padding: 120px 0;
  background: #F1F3F0;
  --bg: #F1F3F0;
  --surface: #FBF9F6;
  --border: rgba(13, 11, 8, .1);
  --border-strong: rgba(13, 11, 8, .18);
  --text: #17130F;
  --text-muted: #55493A;
  --text-subtle: #8A7C68;
}
.pain-section-title { text-align: center; }
.pain-buraco-copy { font-size: 1rem; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
.pain-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .pain-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pain-grid--4 { grid-template-columns: 1fr; }
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px 0 32px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  padding: 32px 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.pain-card.revealed { opacity: 1; transform: translateY(0); }
.pain-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.155rem;
  font-weight: 600;
  text-align: center;
  color: #525b4e;
}
.pain-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  text-align: center;
}
.pain-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: color-mix(in srgb, #646f5f 12%, transparent);
  border: 1px solid color-mix(in srgb, #646f5f 30%, transparent);
  color: #646f5f;
}
.pain-card-icon svg { width: 36px; height: 36px; }
.pain-highlight-box {
  font-size: .85rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  line-height: 1.5;
}
.pain-card--red .pain-highlight-box strong,
.pain-card--orange .pain-highlight-box strong { color: var(--accent); }

/* ---------- CHAT DEMO ---------- */
.chat-demo-section {
  padding: 120px 0;
  background: #646f5f;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  --bg: color-mix(in srgb, #646f5f 82%, black 18%);
  --text: #FFFFFF;
  --text-muted: #FFFFFF;
}
.chat-window {
  width: 380px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.chat-name { font-weight: 600; font-size: .92rem; color: var(--text); }
.chat-status { font-size: .75rem; color: var(--text-subtle); }
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 420px;
}
.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.5;
  position: relative;
  opacity: 0;
  animation: msgIn .4s ease forwards;
}
.chat-window.in-view .msg { animation-play-state: running; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.msg.agent {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--accent-text);
  border-bottom-right-radius: 4px;
}
.msg-time { font-size: .65rem; opacity: .55; margin-top: 4px; text-align: right; }

.chat-feature-card {
  background: var(--bg);
  border: none;
  border-radius: 32px 0 32px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  padding: 20px 22px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.chat-feature-card.revealed { opacity: 1; transform: translateY(0); }
.feature-label {
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.chat-feature-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- PILLARS / NICHES ---------- */
.pillars-section { padding: 120px 0; background: var(--bg); }
.pillars-label { text-align: center; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px; }
.pillars-title { text-align: center; }
.pillars-intro { text-align: center; max-width: 640px; margin: 0 auto 1rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-title { color: var(--text); }

/* ---------- NEXT STEP CTA ---------- */
.next-step-section {
  padding: 140px 0;
  background: #F1F3F0;
  text-align: center;
  --bg: #F1F3F0;
  --surface: #FBF9F6;
  --border: rgba(13, 11, 8, .1);
  --border-strong: rgba(13, 11, 8, .18);
  --text: #525b4e;
  --text-muted: #55493A;
  --text-subtle: #8A7C68;
}
.next-step-section .hero-trust-item,
.next-step-section .hero-trust-item svg { color: #55493A; }
.next-step-section .hero-trust-bar { border-top-color: rgba(13, 11, 8, .18); border-bottom-color: rgba(13, 11, 8, .18); }
.next-step-title { margin-bottom: 20px; }
.next-step-kicker { font-size: 1.3rem; }
.next-step-title em { color: var(--text); font-style: normal; }
.next-step-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.next-step-cta { display: flex; flex-direction: column; align-items: center; }
.next-step-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--text-subtle);
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 36px clamp(24px, 5vw, 80px) 32px;
  background: #646f5f;
  border-top: 1px solid var(--border);
  --bg: color-mix(in srgb, #646f5f 82%, black 18%);
  --surface: color-mix(in srgb, #646f5f 82%, black 18%);
  --text-muted: #FFFFFF;
}
.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  transition: color .2s ease;
}
.footer-contact-item:hover { color: var(--accent); }
.footer-contact-item + .footer-contact-item { position: relative; padding-left: 20px; }
.footer-contact-item + .footer-contact-item::before {
  content: "|";
  position: absolute;
  left: 0;
  color: var(--border-strong);
}
.footer-socials { display: flex; gap: 12px; }
.footer-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease;
}
.footer-social-icon:hover { color: var(--accent); border-color: var(--accent); }
.footer-divider { height: 1px; background: rgba(255, 255, 255, .25); margin: 28px 0; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: .78rem; color: #FFFFFF; line-height: 1.6; }
.footer-disclaimer-box {
  max-width: 720px;
  margin: 70px auto 0;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  background: var(--surface);
}
.footer-disclaimer-box p { font-size: .78rem; color: #FFFFFF; line-height: 1.6; margin: 0; }

/* ---------- BACK TO TOP ---------- */
#backToTop {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #525b4e;
  color: var(--accent-text);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
#backToTop.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

#whatsappFloat {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  z-index: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
#whatsappFloat:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: 1fr; }
  .chat-demo-row { flex-direction: column; }
}
@media (max-width: 767px) {
  #whatsappFloat { bottom: 12px; right: 12px; }
  .navbar-oab { display: none; }
  .cta-button { margin-left: auto; }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-content h1 { font-size: clamp(28px, 4vw, 56px); }
  .hero-content .cta-nav-button { align-self: center !important; }
  .hero-cta-btn { font-size: 14px; padding: 11px 22px; gap: 7px; }
  .hero-cta-btn svg { width: 16px; height: 16px; }
  .hero-mobile-logo { display: block; height: 150px; width: auto; margin-top: 40px; }
  .logo-image { height: 48px; }
  .hero { padding-top: 30px; padding-bottom: 40px; height: auto; min-height: 100svh; }
  .footer { padding: 36px clamp(24px, 5vw, 80px) 32px; }
  .desktop-break { display: none; }
  .section-intro {
    font-size: clamp(15px, 1.8vw, 17px);
    color: #FFFFFF;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 16px;
    max-width: 640px;
  }
  .section-intro--tight { margin-top: 16px !important; }
  .next-step-desc {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 16px;
    max-width: 640px;
  }
  .pain-card p {
    font-size: clamp(15px, 1.8vw, 17px);
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 16px;
    max-width: 640px;
    text-align: center;
    margin-inline: auto;
  }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }
  .footer-links-row { justify-content: center !important; flex-direction: column; }
  .pain-buraco-copy { font-size: 0.92rem; }
  .next-step-kicker { font-size: 1.05rem; }
  .hero-cta-meta { font-size: 13px !important; }
}
