/* ==========================================================================
   LM Advogados — Landing Page Direito Trabalhista
   CSS enxuto, sem frameworks, mobile-first.
   ========================================================================== */

:root {
  --navy-deep: #081b32;
  --navy: #0d2a4a;
  --navy-soft: #14355c;
  --bronze: #a9803c;
  --bronze-light: #c79f5e;
  --cream: #f6f4ef;
  --white: #ffffff;
  --text: #1b2430;
  --text-muted: #5b6670;
  --border: #e4e1d8;
  --whatsapp: #25d366;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(8, 27, 50, 0.08);
  --container: 1180px;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  margin: 0;
  line-height: 1.25;
  color: var(--navy-deep);
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--cream);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.36);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-info a,
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.topbar-info svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar-oab {
  display: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

@media (min-width: 768px) {
  .topbar-oab {
    display: inline-flex;
  }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-deep);
}

.logo span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--bronze);
}

.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  padding: 8px 20px 20px;
}

.mobile-nav li {
  border-top: 1px solid var(--border);
}

.mobile-nav a {
  display: block;
  padding: 14px 4px;
  font-weight: 500;
}

.mobile-nav .btn {
  margin-top: 14px;
}

@media (min-width: 960px) {
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(199, 159, 94, 0.16), transparent 45%),
    radial-gradient(circle at 12% 82%, rgba(199, 159, 94, 0.1), transparent 40%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(199, 159, 94, 0.4);
  background: rgba(199, 159, 94, 0.1);
  color: var(--bronze-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 460px;
}

@media (min-width: 540px) {
  .hero-trust {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-trust-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.hero-trust-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 700;
}

.hero-trust-item span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.hero-card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero-card svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--bronze-light);
  margin-top: 2px;
}

/* ---------- Situações trabalhistas ---------- */
.situations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .situations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .situations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.situation-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.situation-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(169, 128, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.situation-card .icon svg {
  width: 22px;
  height: 22px;
  color: var(--bronze);
}

.situation-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.situation-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.situations-note {
  margin-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.lawyers {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 480px) {
  .lawyers {
    grid-template-columns: 1fr 1fr;
  }
}

.lawyer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.lawyer-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.lawyer-card span {
  font-size: 0.82rem;
  color: var(--bronze);
  font-weight: 600;
}

.about-panel {
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
}

.about-panel h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.about-panel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-panel-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.about-panel-list svg {
  width: 18px;
  height: 18px;
  color: var(--bronze-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Diferenciais ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diff-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--cream);
}

.diff-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.diff-card .icon svg {
  width: 20px;
  height: 20px;
  color: var(--bronze-light);
}

.diff-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.diff-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 28px 20px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--bronze-light);
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

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

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bronze);
  transition: transform 0.2s ease;
}

.faq-item[data-open="true"] .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 56px 28px;
  margin: 0 20px;
}

.cta-final h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 28px;
}

@media (min-width: 768px) {
  .cta-final {
    margin: 0 auto;
    max-width: var(--container);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 24px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--bronze-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 780px;
  line-height: 1.6;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  font-weight: 600;
  font-size: 0.86rem;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-float .label {
  display: none;
}

@media (min-width: 640px) {
  .whatsapp-float .label {
    display: inline;
  }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
