/* ============================================================
   M Resolutiva — Landing Page
   Densidade: Alto impacto no hero, Regular no restante
   ============================================================ */

/* ── Navbar ─────────────────────────────────── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background-color: rgba(241, 233, 222, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-decorative);
  transition: background-color var(--motion-base) var(--ease-base),
              box-shadow var(--motion-base) var(--ease-base);
}

.landing-nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
  color: var(--neutral-700);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-terracotta-500);
  transition: width var(--motion-base) var(--ease-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--text-primary);
}

@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--surface-sand-100);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-16) var(--space-6);
    gap: var(--space-6);
    box-shadow: var(--shadow-xl);
    transition: right var(--motion-slow) var(--ease-slow);
    z-index: 200;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: block;
    z-index: 300;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(51, 41, 31, 0.5);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--motion-slow) var(--ease-slow);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── Hero — Densidade Espaçosa/Alto impacto ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* navbar height */
  background-color: var(--surface-sand-100);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  color: var(--brand-terracotta-700);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: var(--weight-semibold);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Decoração sutil — linhas no fundo */
.hero-decoration {
  position: absolute;
  top: 0;
  right: -5%;
  width: 50%;
  height: 100%;
  opacity: 0.06;
  pointer-events: none;
}

.hero-decoration::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-terracotta-500);
}

.hero-decoration::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 25%;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  border: 2px solid var(--action-petrol-700);
}

/* ── Seções genéricas ─────────────────────── */
.landing-section {
  padding-block: var(--space-20);
}

.landing-section-alt {
  background-color: var(--neutral-50);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-header .signature-question {
  justify-content: center;
  display: block;
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-body-lg);
}

/* ── Cards de Diferenciais ──────────────── */
.diff-card {
  background-color: var(--surface-elevated);
  border: var(--border-decorative);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--motion-fast) var(--ease-fast),
              transform var(--motion-fast) var(--ease-fast);
}

.diff-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.diff-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-terracotta-500);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}

.diff-card h3 {
  margin-bottom: var(--space-3);
  font-size: var(--text-h4);
}

.diff-card p {
  color: var(--text-secondary);
  font-size: var(--text-body-sm);
}

/* ── Seção Sobre ────────────────────────── */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

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

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--neutral-200);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: var(--space-4);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.about-value-item i {
  color: var(--action-petrol-700);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Seção Serviços ─────────────────────── */
.service-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
  background-color: var(--surface-sand-100);
  color: var(--brand-terracotta-500);
}

.landing-section-alt .service-card-icon {
  background-color: #FFFFFF;
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--text-secondary);
}

/* ── CTA Final ──────────────────────────── */
.cta-section {
  background-color: var(--ink-umber-900);
  padding-block: var(--space-20);
  text-align: center;
}

.cta-section h2 {
  color: var(--surface-sand-100);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: var(--neutral-400);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  font-size: var(--text-body-lg);
}

/* ── Footer ─────────────────────────────── */
.landing-footer {
  background-color: var(--neutral-950);
  padding-block: var(--space-10);
  color: var(--neutral-400);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-logo img {
  height: 32px;
  filter: brightness(0) invert(0.9);
}

.footer-text {
  font-size: var(--text-caption);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  color: var(--neutral-400);
  font-size: var(--text-body-sm);
  transition: color var(--motion-fast) var(--ease-fast);
}

.footer-links a:hover {
  color: var(--surface-sand-100);
}

/* ── Animações de scroll ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--motion-slow) var(--ease-base),
              transform var(--motion-slow) var(--ease-base);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
