/* ─────────────────────────────────────────
   MANHANINI ADVOCACIA — DESIGN SYSTEM
   Playfair Display + Montserrat · Navy + Ouro
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Navy */
  --navy:       #0F172A;
  --navy-mid:   #1E293B;
  --navy-light: #334155;
  --navy-soft:  rgba(15, 23, 42, 0.07);
  --navy-faint: rgba(15, 23, 42, 0.04);

  /* Ouro */
  --gold:       #D4AF37;
  --gold-dark:  #B8952A;
  --gold-light: #E8CB6A;
  --gold-faint: rgba(212, 175, 55, 0.12);
  --gold-line:  rgba(212, 175, 55, 0.28);

  /* Neutros */
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --light:      #F1F5F9;
  --border:     #E2E8F0;
  --text-main:  #0F172A;
  --text-soft:  #475569;
  --text-ghost: #94A3B8;

  /* Fontes */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  /* Shadows */
  --shadow-card:  0 2px 24px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 8px 40px rgba(15, 23, 42, 0.13);
  --shadow-gold:  0 4px 24px rgba(212, 175, 55, 0.28);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

/* ── LABEL ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
}
.label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.label--light { color: var(--gold-light); }
.label--light::before { background: var(--gold-light); }

/* ── TÍTULOS DE SEÇÃO ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
}
.section-title em {
  font-style: italic;
  color: var(--navy);
}
.section-title--light { color: white; }
.section-title--light em { color: var(--gold-light); }

.section-desc {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.80;
  font-weight: 300;
  max-width: 54ch;
}

/* ── BOTÕES ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-faint);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.30);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
}

.btn--sm  { padding: 10px 20px; font-size: 13px; border-radius: 6px; }
.btn--lg  { padding: 16px 36px; font-size: 15px; border-radius: 10px; }
.btn--full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 20px;
  transition: all 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding-block: 14px;
  box-shadow: 0 1px 20px rgba(15,23,42,0.06);
}
.nav.is-scrolled .nav__name { color: var(--navy); }
.nav.is-scrolled .nav__link { color: var(--text-soft); }
.nav.is-scrolled .nav__link:hover { color: var(--navy); }
.nav.is-scrolled .nav__toggle span { background: var(--text-main); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  transition: color 0.3s;
}
.nav__name span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.06em;
  font-style: normal;
}
.nav.is-scrolled .nav__name span { color: var(--text-ghost); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.70);
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav__link:hover { color: white; background: rgba(255,255,255,0.10); }

.nav__cta { margin-left: 16px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 24px;
  position: fixed;
  inset: 0;
  top: 65px;
  background: var(--white);
  padding: 32px 24px;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-links { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile-links a {
  font-size: 17px;
  font-weight: 500;
  font-family: var(--font-display);
  color: var(--text-main);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

/* ── WHATSAPP FLUTUANTE ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.40); }
.wa-float__label { white-space: nowrap; }

@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 768px) {
  .wa-float__label { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
