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

:root {
  --color-primary:      #1D5C5C;
  --color-primary-mid:  #1E6B6B;
  --color-secondary:    #1E6B6B;
  --color-accent:       #C9A882;
  --color-accent-dk:    #A8865E;
  --color-accent-dark:  #A8865E;
  --color-accent-hi:    #f0d898;
  --color-bg:           #F5F2EE;
  --color-bg-alt:       #EDE9E3;
  --color-light:        #F5F2EE;
  --color-surface:      #FFFFFF;
  --color-white:        #ffffff;
  --color-text:         #1A1A1A;
  --color-text-muted:   #5A5A5A;
  --color-muted:        #5A5A5A;
  --color-border:       rgba(29, 92, 92, 0.12);
  --font-heading:       'Playfair Display', Georgia, serif;
  --font-body:          'Inter', system-ui, sans-serif;
  --max-width:          1100px;
  --radius:             4px;
  --shadow:             0 2px 14px rgba(0,0,0,0.10);
  --transition:         0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-primary);
}
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.1rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.3rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition), transform var(--transition);
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
}
.btn:hover { opacity: 0.87; transform: translateY(-1px); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(29,92,92,0.25);
}
.btn-primary:hover {
  background: var(--color-primary-mid);
  opacity: 1;
  box-shadow: 0 4px 18px rgba(29,92,92,0.35);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -90%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: btnShine 4s ease-in-out 2.5s infinite;
  pointer-events: none;
}
.btn-block {
  background: var(--color-primary);
  color: #fff;
}
.btn-block:hover { background: var(--color-primary-mid); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}
.btn-whatsapp { background: var(--color-primary); color: #fff; }
.btn-whatsapp:hover { background: var(--color-primary-mid); opacity: 1; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 5rem 0; }

.section-dark { background: var(--color-primary); color: var(--color-white); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--color-white); }

.section-light { background: var(--color-bg-alt); color: var(--color-text); }

.section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.65rem;
  text-align: center;
}
.section-title { margin-bottom: 1.25rem; text-align: center; }
.section-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-dark .section-intro { color: rgba(255,255,255,0.7); }

/* ============================================
   HEADER
   ============================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary, #1D5C5C);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
  overflow: hidden;
}
#header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--color-accent-dk), var(--color-accent-hi), var(--color-accent));
  transform-origin: left center;
  transform: scaleX(0);
  animation: headerLine 1.4s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-img-card {
  line-height: 0;
  flex-shrink: 0;
}
.logo-img { height: 54px; width: auto; display: block; }
.logo-oab {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
  opacity: 0;
  animation: enterRight 0.9s cubic-bezier(0.22,1,0.36,1) 0.55s forwards;
}
@media (max-width: 500px) { .logo-oab { display: none; } }
.header-oab {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
}
.logo-wrap {
  animation: enterLeft 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both;
  opacity: 0;
}
.header-cta {
  display: flex;
  align-items: center;
  opacity: 0;
  animation: enterRight 0.9s cubic-bezier(0.22,1,0.36,1) 0.4s forwards;
}
.header-cta .btn { font-size: 0.9rem; padding: 0.55rem 1.1rem; }

#header .btn-whatsapp {
  background: var(--color-accent, #C9A882);
  color: var(--color-primary, #1D5C5C);
  font-weight: 600;
}
#header .btn-whatsapp:hover {
  background: var(--color-accent-dark, #A8865E);
}

.header-dashboard-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.40);
  transition: color 0.2s ease;
  padding: 0.25rem;
  margin-left: 0.5rem;
}
.header-dashboard-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   ANIMAÇÕES — ENTRADA E BRILHO DOURADO
   ============================================ */

/* Linha dourada do header se desenhando */
@keyframes headerLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Entrada pelo lado esquerdo */
@keyframes enterLeft {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Entrada pelo lado direito */
@keyframes enterRight {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Entrada de baixo para cima */
@keyframes enterUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Passagem de luz no botão dourado */
@keyframes btnShine {
  0%   { left: -90%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}

/* Gradiente em movimento no botão */
@keyframes goldBtnShimmer {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Pulso de brilho no texto dourado */
@keyframes goldGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50%       {
    text-shadow:
      0 0  8px rgba(240,216,152,0.65),
      0 0 18px rgba(196,168,130,0.35);
  }
}

/* Shimmer no texto via gradiente animado */
@keyframes goldTextShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: -200% center; }
}

/* Hero entra de baixo, seção por seção */
.hero-content {
  opacity: 0;
  animation: enterUp 1s cubic-bezier(0.22,1,0.36,1) 0.55s forwards;
}
#hero .lead-form-wrap {
  opacity: 0;
  animation: enterUp 1s cubic-bezier(0.22,1,0.36,1) 0.75s forwards;
}

/* Texto dourado em destaque com shimmer */
.text-accent {
  background: linear-gradient(90deg,
    var(--color-accent-dk) 0%,
    var(--color-accent)    30%,
    var(--color-accent-hi) 50%,
    var(--color-accent)    70%,
    var(--color-accent-dk) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldTextShimmer 5s ease-in-out 1.5s infinite;
}

/* Números de estatística com pulso de brilho */
.stat-number {
  animation: goldGlow 3.5s ease-in-out 2s infinite;
  color: var(--color-accent);
}

/* ============================================
   HERO
   ============================================ */
#hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(
    160deg,
    var(--color-bg) 0%,
    #EAE4DB 60%,
    #DDD5C8 100%
  );
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,130,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,92,92,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Textos do hero adaptados para fundo claro */
#hero h1,
#hero #hero-heading { color: var(--color-primary); }

#hero .text-accent {
  color: var(--color-accent-dark);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--color-accent-dark);
  animation: none;
}

#hero .hero-subtitle   { color: var(--color-text-muted); }
#hero .hero-content .section-label,
#hero .hero-eyebrow    { color: var(--color-accent-dark); text-align: inherit; }

#hero .badge {
  background: rgba(29,92,92,0.08);
  color: var(--color-primary);
  border: 1px solid rgba(29,92,92,0.18);
}

#hero .hero-inner,
#hero .hero-brand-banner { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 820px) {
  .hero-inner {
    grid-template-columns: 210px 1fr;
    align-items: start;
    gap: 2rem;
  }
  .hero-content  { grid-column: 2; grid-row: 1; }
  .hero-photo    { grid-column: 1; grid-row: 1; }
}
.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.1rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}
.badge {
  background: rgba(196,168,130,0.14);
  border: 1px solid rgba(196,168,130,0.55);
  color: var(--color-accent);
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.hero-photo {
  text-align: center;
  opacity: 0;
  animation: enterUp 1s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}
.hero-photo img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 3px solid var(--color-accent);
  display: block;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
@media (min-width: 820px) {
  .hero-photo img {
    max-width: 100%;
    width: 100%;
  }
}

/* LEAD FORM */
.lead-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(29,92,92,0.10);
}
.lead-form-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-privacy {
  font-size: 0.73rem;
  color: var(--color-muted);
  margin-top: 0.65rem;
  text-align: center;
}
.form-success {
  display: none;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #f0faf4;
  border: 1.5px solid #25d366;
  border-radius: var(--radius);
  color: #155a30;
}
.form-success h3 {
  color: #155a30;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* ============================================
   AUTORIDADE
   ============================================ */
#autoridade .stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 480px) {
  #autoridade .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) {
  #autoridade .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
}
.formacao-block {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--color-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.formacao-block h3 { margin-bottom: 1rem; }
.formacao-block ul { display: flex; flex-direction: column; gap: 0.6rem; }
.formacao-block li {
  font-size: 0.95rem;
  padding-left: 1.1rem;
  position: relative;
  color: var(--color-muted);
}
.formacao-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.quote-block {
  margin-top: 2.5rem;
  padding: 2rem 2.25rem;
  background: var(--color-primary);
  border-radius: var(--radius);
  position: relative;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.4;
  line-height: 1;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--color-white);
  padding-top: 1rem;
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   O QUE DEFENDO
   ============================================ */
#defendo { background: var(--color-primary); }
.crimes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 540px) {
  .crimes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .crimes-grid { grid-template-columns: repeat(3, 1fr); }
}
.crime-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.crime-card h3 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.crime-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}
.fases-title {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-align: center;
}
.fases-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.fase-tag {
  background: rgba(201,168,130,0.15);
  border: 1px solid rgba(201,168,130,0.45);
  color: var(--color-accent);
  padding: 0.38rem 0.85rem;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
#como-funciona { background: var(--color-white); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 680px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; color: var(--color-muted); margin: 0; }
.honorarios-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-light);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  text-align: center;
}
.honorarios-note strong { color: var(--color-primary); }

/* ============================================
   DIFERENCIAIS
   ============================================ */
#diferenciais { background: var(--color-light); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 560px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
}
.diferencial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.diferencial-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--color-primary); }
.diferencial-card p { font-size: 0.95rem; color: var(--color-muted); margin: 0; }

/* ============================================
   FAQ
   ============================================ */
#faq { background: var(--color-white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.35;
}
.faq-question:hover { color: var(--color-secondary); }
.faq-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 1.25rem; }
.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================
   CTA FINAL
   ============================================ */
#cta-final { background: var(--color-primary); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .cta-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
.cta-text h2 { color: var(--color-white); margin-bottom: 1rem; }
.cta-text p { color: rgba(255,255,255,0.72); margin-bottom: 1.5rem; }
.cta-text .divider { margin: 1.5rem 0; border-color: rgba(255,255,255,0.12); }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  text-decoration: none;
}
.whatsapp-link:hover { opacity: 0.87; }
.whatsapp-link svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.contact-info { margin-top: 1.5rem; }
.contact-info p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.3rem;
}
.contact-info strong { color: rgba(255,255,255,0.85); }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.87rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 680px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.footer-brand p,
.footer-info p { margin-bottom: 0.25rem; }
.footer-accent { color: var(--color-accent); font-weight: 600; }
.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.3);
}
.footer-credit {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
}
.footer-credit a {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--color-accent); }

/* ============================================
   WHATSAPP FLUTUANTE (MOBILE)
   ============================================ */
.whatsapp-fixed {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(29,92,92,0.45);
  transition: transform var(--transition);
  text-decoration: none;
}
.whatsapp-fixed:hover { transform: scale(1.08); background: var(--color-primary-mid); }
.whatsapp-fixed svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 799px) {
  .whatsapp-fixed { display: flex; }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================
   LOGIN
   ============================================ */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-card { width: 100%; max-width: 380px; }
.login-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dash-body {
  background: #f0eff5;
  min-height: 100vh;
  padding: 2rem 1.25rem;
}
.dash-header {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-accent);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 0;
}
.dash-header h1 {
  font-size: 1.2rem;
  color: #fff;
}
.dash-wrap {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-section { padding: 1.75rem 1.5rem; border-bottom: 1px solid var(--color-border); }
.dash-section:last-child { border-bottom: none; }
.dash-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 680px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border-top: 3px solid var(--color-accent);
}
.metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.metric-value.ok { color: #1a6b3c; }
.metric-value.pendente { color: #b45309; }
.metric-value.rapido { color: #1a6b3c; font-size: 1.1rem; }
.metric-value.urgente { color: #991b1b; }
.metric-label { font-size: 0.8rem; color: var(--color-muted); font-weight: 500; }

.dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.dash-filter-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-muted);
  transition: all var(--transition);
}
.dash-filter-btn:hover,
.dash-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.dash-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.leads-table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
thead th {
  text-align: left;
  padding: 0.65rem 0.85rem;
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--color-border); transition: background var(--transition); }
tbody tr:hover { background: #faf9f5; }
tbody tr.highlight-novo { background: #fffbeb; }
tbody tr.highlight-overdue { background: #fff7ed; }
td { padding: 0.75rem 0.85rem; vertical-align: middle; }
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-novo      { background: #dbeafe; color: #1e40af; }
.status-contatado { background: #dcfce7; color: #166534; }
.status-em_negociacao { background: #fef9c3; color: #854d0e; }
.status-fechado   { background: #d1fae5; color: #065f46; }
.status-perdido   { background: #fee2e2; color: #991b1b; }
.td-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.btn-sm {
  padding: 0.28rem 0.6rem;
  font-size: 0.77rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: opacity var(--transition);
}
.btn-sm:hover { opacity: 0.8; }
.btn-wa  { background: #25d366; color: #fff; }
.btn-edit { background: var(--color-secondary); color: #fff; }
.btn-detail { background: var(--color-light); color: var(--color-primary); }
.sla-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.sla-otimo    { background: #dcfce7; color: #166534; }
.sla-atencao  { background: #fef9c3; color: #854d0e; }
.sla-espera   { background: #ffedd5; color: #9a3412; }
.sla-atrasado { background: #fee2e2; color: #991b1b; }
.sla-neutro   { background: var(--color-light); color: var(--color-muted); }
.lead-detail-row td {
  background: #faf9f5;
  padding: 1rem 0.85rem 1.25rem;
}
.lead-detail-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .lead-detail-grid { grid-template-columns: 2fr 1fr; }
}
.lead-detail-grid label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}
.lead-detail-grid textarea,
.lead-detail-grid input[type="datetime-local"] {
  width: 100%;
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
}
.lead-detail-grid textarea { min-height: 80px; resize: vertical; }
.snooze-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.btn-snooze {
  padding: 0.28rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-snooze:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lead-detail-actions { margin-top: 0.85rem; display: flex; align-items: center; gap: 0.75rem; }
.lead-detail-status { font-size: 0.78rem; color: var(--color-muted); }
.select-status {
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  cursor: pointer;
}
.followup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.followup-stat {
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--color-border);
}
.followup-stat .count {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.followup-stat .label { font-size: 0.82rem; color: var(--color-muted); margin-top: 0.35rem; display: block; }
.stat-novo      { border-top: 3px solid #2563eb; }
.stat-novo .count { color: #2563eb; }
.stat-contatado { border-top: 3px solid #16a34a; }
.stat-contatado .count { color: #16a34a; }
.stat-negoc     { border-top: 3px solid #d97706; }
.stat-negoc .count { color: #d97706; }
.stat-fechado   { border-top: 3px solid #059669; }
.stat-fechado .count { color: #059669; }
.stat-perdido   { border-top: 3px solid #dc2626; }
.stat-perdido .count { color: #dc2626; }
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}
.empty-state p { font-size: 1rem; }

/* ===== HERO BRAND BANNER ===== */
.hero-brand-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(29, 92, 92, 0.10);
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 12px rgba(29, 92, 92, 0.15));
  animation: heroBannerFade 0.8s ease both;
}

@keyframes heroBannerFade {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .hero-brand-banner {
    padding: 2.5rem 1rem 1.75rem;
    margin-bottom: 1.75rem;
  }
  .hero-logo {
    max-width: 190px;
  }
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
}

/* ================================================
   SPRINT 2 — Símbolo + frase de impacto no hero
   ================================================ */

.hero-brand-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 1.5rem 3rem;
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(29, 92, 92, 0.10);
}

/* --- Símbolo --- */
.hero-simbolo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: simboloEntrada 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-simbolo {
  position: relative;
  z-index: 3;
  width: 110px;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 4px 16px rgba(29, 92, 92, 0.18));
}

/* Anel dourado externo — gira lentamente */
.simbolo-anel {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 168, 130, 0.35);
  pointer-events: none;
}

.simbolo-anel-externo {
  width: 158px;
  height: 158px;
  border-top-color: rgba(201, 168, 130, 0.70);
  animation: anelGiro 12s linear infinite;
  z-index: 1;
}

.simbolo-anel-interno {
  width: 130px;
  height: 130px;
  border-bottom-color: rgba(29, 92, 92, 0.40);
  animation: anelGiro 8s linear reverse infinite;
  z-index: 2;
}

@keyframes anelGiro {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes simboloEntrada {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* --- Frase --- */
.hero-impact-phrase {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-primary, #1D5C5C);
  max-width: 520px;
  margin: 0;
  animation: fraseEntrada 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-impact-phrase span {
  font-size: 0.9em;
  color: var(--color-text-muted, #5A5A5A);
  font-style: normal;
  font-weight: 400;
  display: block;
  margin-top: 0.4rem;
}

/* --- Linha decorativa --- */
.hero-impact-line {
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-accent, #C9A882),
    transparent
  );
  animation: fraseEntrada 1s ease 0.5s both;
}

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

/* --- Mobile --- */
@media (max-width: 640px) {
  .hero-simbolo-wrap { width: 130px; height: 130px; }
  .hero-simbolo { width: 88px; }
  .simbolo-anel-externo { width: 128px; height: 128px; }
  .simbolo-anel-interno { width: 106px; height: 106px; }
  .hero-brand-banner { padding: 3rem 1.25rem 2rem; gap: 1.5rem; }
}

/* ================================================
   SPRINT 3 — Investigação Defensiva
   ================================================ */

#investigacao-defensiva {
  background: var(--color-bg-alt, #EDE9E3);
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-dark, #A8865E);
  margin-bottom: 0.6rem;
}

.investigacao-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted, #5A5A5A);
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}

.investigacao-lista {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.investigacao-lista li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-text, #1A1A1A);
  line-height: 1.5;
}

.investigacao-icone {
  color: var(--color-accent, #C9A882);
  font-size: 0.55rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ================================================
   SPRINT 5 — Foto + currículo centralizados (desktop)
   ================================================ */

/* Desktop: coluna única, foto centralizada acima do H1 */
@media (min-width: 1024px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 3px solid var(--color-accent, #C9A882);
    box-shadow: 0 8px 32px rgba(29, 92, 92, 0.15);
    display: block;
    margin: 0 auto;
  }

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

.hero-curriculo {
  text-align: center;
  margin-top: 0.75rem;
}
.curriculo-cargo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary, #1D5C5C);
  margin: 0 0 0.25rem;
}
.curriculo-detalhe {
  font-size: 0.8rem;
  color: var(--color-text-muted, #5A5A5A);
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1023px) {
  .hero-curriculo { display: none; }
}
