/* ==========================================================================
   DIOGO CREMA — CORRETOR RURAL | CRECI-TO 5265
   Official Design System & Stylesheet
   Direction: Verde Floresta Claro + Preto Orgânico + Branco Luminoso
   ========================================================================== */

/* --- TOKENS DE CORES & TIPOGRAFIA --- */
:root {
  /* Paleta Florestal & Orgânica */
  --forest-dark: #070B08;
  --forest-deep: #0D140E;
  --forest-surface: #131E15;
  --forest-card: rgba(22, 36, 25, 0.75);
  --forest-border: rgba(94, 184, 114, 0.22);
  
  --forest-primary: #388E4E;
  --forest-light: #52B76C;
  --forest-neon: #71D88C;
  --forest-soft: #A8E6B8;
  --forest-glow: rgba(82, 183, 108, 0.35);

  /* Tons Claros & Respiro */
  --light-bg: #F4F8F4;
  --light-surface: #FFFFFF;
  --light-border: rgba(56, 142, 78, 0.16);
  --light-text-main: #0B130D;
  --light-text-muted: #3D4E41;

  /* Neutros Escuros */
  --text-primary: #FFFFFF;
  --text-secondary: #B6C9B9;
  --text-muted: #7E9682;

  /* Tipografia */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Raios de Borda */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transições & Curvas */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s var(--ease-smooth);
  --transition-med: 0.45s var(--ease-smooth);
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--forest-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--forest-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Background Canvas Three.js */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

/* Container Responsivo Padronizado */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Foco Acessível */
:focus-visible {
  outline: 2px solid var(--forest-neon);
  outline-offset: 4px;
}

/* --- NAVBAR CANÔNICA --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 100;
  background: rgba(7, 11, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(82, 183, 108, 0.12);
  transition: height var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  height: 68px;
  background: rgba(7, 11, 8, 0.92);
  border-bottom-color: rgba(82, 183, 108, 0.24);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Oficial Diogo Crema — Minimalista & Elegante */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover .brand-name {
  opacity: 0.9;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--forest-light);
  box-shadow: 0 0 8px var(--forest-neon);
}

/* Menu Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--forest-light);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #FFFFFF;
}

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

/* Botão Header Desktop */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--forest-primary);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(46, 111, 64, 0.35);
  border: 1px solid rgba(130, 199, 138, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--forest-light);
  box-shadow: 0 6px 20px var(--forest-glow);
}

/* Botão Mobile Hamburger */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Drawer Mobile Fullscreen */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(7, 11, 8, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  text-align: center;
}

.mobile-drawer-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:active {
  color: var(--forest-light);
}

.mobile-drawer-cta {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

/* --- BOTÕES COM SHINY SWEEP GLOW --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--forest-light) 0%, var(--forest-primary) 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--forest-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  z-index: 1;
}

/* Efeito Shiny Sweep Glow */
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shinySweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 14px 34px rgba(82, 183, 108, 0.5);
  background: linear-gradient(135deg, var(--forest-neon) 0%, var(--forest-light) 100%);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(22, 36, 25, 0.6);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  border: 1px solid var(--forest-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(30, 50, 34, 0.85);
  border-color: var(--forest-light);
  color: var(--forest-soft);
}

@keyframes shinySweep {
  0% {
    left: -75%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  35% {
    left: 140%;
    opacity: 0;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

/* --- HERO SECTION 100% CENTRALIZADA COM PAISAGEM GRAMADA RURAL --- */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background-color: var(--forest-dark);
  overflow: hidden;
}

/* Background Fotográfico de Paisagem Rural com Efeito Parallax */
.hero-landscape-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-landscape-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: brightness(0.72) saturate(1.28) contrast(1.08);
  transform: scale(1.06);
  will-change: transform;
}

.hero-landscape-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(
      ellipse 88% 70% at 50% 45%,
      rgba(7, 11, 8, 0.40) 0%,
      rgba(7, 11, 8, 0.68) 58%,
      rgba(7, 11, 8, 0.94) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 11, 8, 0.75) 0%,
      rgba(7, 11, 8, 0.16) 28%,
      rgba(7, 11, 8, 0.30) 62%,
      rgba(7, 11, 8, 0.98) 100%
    );
}

.hero-ambient-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, var(--forest-glow) 0%, rgba(46, 111, 64, 0.12) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headline Monumental Centralizada */
.hero-title {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-top: 8px;
  margin-bottom: 22px;
  max-width: 840px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--forest-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-highlight {
  color: var(--forest-neon);
  -webkit-text-fill-color: var(--forest-neon);
  text-shadow: 0 0 28px var(--forest-glow), 0 2px 14px rgba(0, 0, 0, 0.9);
}

/* Subtitle Factual & Escaneável */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.65;
  color: #E4EFE6;
  max-width: 680px;
  margin-bottom: 38px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

/* Grupo de Ações Centralizado (CTAs com Shiny Sweep Glow) */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  margin-bottom: 48px;
}

/* Barra de Confiança e Credenciais */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(82, 183, 108, 0.18);
  padding-top: 24px;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #D2E4D6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.trust-item svg {
  color: var(--forest-neon);
  flex-shrink: 0;
}

/* --- FAIXA EDITORIAL DE TRANSIÇÃO (MARQUEE 100% VISÍVEL E SEM CORTES) --- */
.marquee-container {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 0;
  background: linear-gradient(90deg, #071008 0%, #112515 50%, #071008 100%);
  border-top: 1px solid rgba(82, 183, 108, 0.3);
  border-bottom: 1px solid rgba(82, 183, 108, 0.3);
  overflow: hidden;
  z-index: 5;
  margin: 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
}

.marquee-item {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.marquee-separator {
  color: var(--forest-neon);
  font-size: 0.72rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- SEÇÃO INSTITUCIONAL: SOBRE DIOGO CREMA --- */
.section-about {
  position: relative;
  padding: 110px 0 110px;
  background: linear-gradient(180deg, #070B08 0%, #0B130E 40%, #070B08 100%);
  overflow: hidden;
  z-index: 6;
}

.about-ambient-glow {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--forest-glow) 0%, rgba(46, 111, 64, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.about-frame-glow {
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(82, 183, 108, 0.25) 0%, rgba(56, 142, 78, 0.08) 50%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 1;
}

.about-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #122416 0%, #070B08 100%);
  border: 1.5px solid rgba(82, 183, 108, 0.35);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  filter: brightness(1.02) contrast(1.04);
  transition: transform 0.6s var(--ease-smooth);
}

.about-photo-frame:hover .about-photo-img {
  transform: scale(1.025);
}

.about-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 8, 0.94) 75%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
}

.caption-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.caption-creci {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--forest-neon);
  text-transform: uppercase;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-title {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.65;
  color: #E2ECE4;
  margin-bottom: 18px;
}

.about-lead strong {
  color: var(--forest-neon);
}

.about-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 28px;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.credential-box {
  background: linear-gradient(145deg, #101E13 0%, #080D09 100%);
  border: 1px solid rgba(82, 183, 108, 0.24);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.credential-box:hover {
  transform: translateY(-2px);
  border-color: var(--forest-light);
}

.credential-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(82, 183, 108, 0.16);
  color: var(--forest-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential-reg {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.credential-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* CTA Único do Instagram Oficial — Acabamento Editorial & Sofisticado */
.about-actions {
  display: flex;
  align-items: center;
  margin-top: 14px;
}

.about-instagram-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px 14px 18px;
  min-height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(22, 38, 26, 0.95) 0%, rgba(11, 18, 12, 0.98) 100%);
  border: 1px solid rgba(94, 184, 114, 0.38);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.65), 0 0 18px rgba(82, 183, 108, 0.15);
  color: #FFFFFF;
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--transition-med), border-color var(--transition-fast), box-shadow var(--transition-med);
  z-index: 1;
}

.about-instagram-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 40%,
    rgba(113, 216, 140, 0.28) 50%,
    rgba(255, 255, 255, 0.12) 60%,
    transparent 100%
  );
  transform: skewX(-24deg);
  transition: left 0.75s ease;
  pointer-events: none;
  z-index: 2;
}

.about-instagram-btn:hover::before,
.about-instagram-btn:active::before {
  left: 140%;
}

.about-instagram-btn:hover {
  transform: translateY(-3px);
  border-color: var(--forest-neon);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.75), 0 0 26px rgba(82, 183, 108, 0.35);
}

.instagram-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(82, 183, 108, 0.18);
  border: 1px solid rgba(113, 216, 140, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest-neon);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.about-instagram-btn:hover .instagram-icon-box {
  transform: scale(1.08);
  background: rgba(82, 183, 108, 0.28);
}

.instagram-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.instagram-meta-label {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-soft);
  line-height: 1.2;
}

.instagram-meta-handle {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  line-height: 1.2;
}

.instagram-arrow {
  color: var(--forest-light);
  margin-left: 6px;
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.about-instagram-btn:hover .instagram-arrow {
  color: var(--forest-neon);
  transform: translate(3px, -3px);
}

/* --- TRANSIÇÃO DE ATMOSFERA: FRENTES DE ATUAÇÃO (SOMBREAMENTO CONTÍNUO) --- */
.section-solutions {
  position: relative;
  padding: 140px 0 130px;
  background-color: var(--light-bg);
  color: var(--light-text-main);
  transition: background-color var(--transition-med);
  z-index: 6;
  margin-top: 0;
  overflow: hidden;
}

/* Sombreamento Superior: transição gradual do escuro (#070B08) para o claro (#F4F8F4) */
.section-solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(
    180deg,
    #070B08 0%,
    rgba(7, 11, 8, 0.88) 18%,
    rgba(13, 20, 14, 0.65) 40%,
    rgba(40, 75, 48, 0.35) 65%,
    rgba(82, 183, 108, 0.15) 82%,
    rgba(244, 248, 244, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Sombreamento Inferior: transição gradual do claro (#F4F8F4) para o escuro (#070B08) */
.section-solutions::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(
    0deg,
    #070B08 0%,
    rgba(7, 11, 8, 0.88) 18%,
    rgba(13, 20, 14, 0.65) 40%,
    rgba(40, 75, 48, 0.35) 65%,
    rgba(82, 183, 108, 0.15) 82%,
    rgba(244, 248, 244, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.solutions-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title-dark {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--light-text-main);
  margin-bottom: 18px;
}

.section-subtitle-dark {
  font-size: 1.05rem;
  color: var(--light-text-muted);
  line-height: 1.6;
}

/* Grade de Soluções & Especialidades (3 Frentes) */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.solution-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 30px rgba(11, 19, 13, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(46, 111, 64, 0.12);
  border-color: rgba(56, 142, 78, 0.35);
}

.solution-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(82, 183, 108, 0.14);
  color: var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.solution-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--light-text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.solution-desc {
  font-size: 0.98rem;
  color: var(--light-text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--light-text-main);
}

.solution-features li svg {
  color: var(--forest-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.solution-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest-primary);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.solution-cta-link:hover {
  color: var(--forest-light);
  border-bottom-color: var(--forest-light);
  gap: 12px;
}

/* --- SCROLL STACK: OS 4 PILARES DA INTERMEDIAÇÃO --- */
.section-pillars {
  position: relative;
  padding: 120px 0 110px;
  background: linear-gradient(180deg, #070B08 0%, #0A120B 35%, #0E1A10 65%, #070B08 100%);
  color: #FFFFFF;
  z-index: 7;
}

.pillars-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 72px;
}

.section-title-light {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.section-subtitle-light {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stack de Cards */
.stack-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.stack-card {
  position: sticky;
  top: 110px;
  background: linear-gradient(135deg, #112014 0%, #080D09 100%);
  border: 1px solid rgba(82, 183, 108, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(46, 111, 64, 0.1);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stack-card:hover {
  border-color: rgba(130, 199, 138, 0.5);
}

.stack-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--forest-neon);
  opacity: 0.9;
  letter-spacing: -0.04em;
}

.stack-body h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.stack-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- SEÇÃO DE CONTATO DIRETO & CONVERSÃO (SOMBREAMENTO AMBIENTAL) --- */
.section-contact {
  position: relative;
  padding: 120px 0 110px;
  background: radial-gradient(ellipse 90% 70% at 50% 35%, #152518 0%, #0A120B 55%, var(--forest-dark) 100%);
  box-shadow: inset 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  z-index: 8;
  text-align: center;
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(19, 30, 21, 0.7);
  border: 1px solid var(--forest-border);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.contact-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.contact-channel {
  background: rgba(7, 11, 8, 0.6);
  border: 1px solid rgba(82, 183, 108, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-channel:hover {
  transform: translateY(-3px);
  border-color: var(--forest-light);
  background: rgba(19, 30, 21, 0.9);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(82, 183, 108, 0.15);
  color: var(--forest-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.channel-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- FAQ SECTION (ACCORDION - TRANSIÇÃO SUAVE) --- */
.section-faq {
  position: relative;
  padding: 110px 0 115px;
  background: linear-gradient(180deg, var(--forest-dark) 0%, var(--forest-deep) 35%, var(--forest-dark) 100%);
  box-shadow: inset 0 30px 60px -25px rgba(0, 0, 0, 0.65);
  z-index: 8;
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--forest-surface);
  border: 1px solid var(--forest-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--forest-light);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--forest-soft);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--forest-light);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
}

.faq-item.active .faq-body {
  max-height: 280px;
}

.faq-content {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- RODAPÉ CANÔNICO (SOMBREAMENTO PROGRESSIVO FINAL) --- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--forest-dark) 0%, #050805 100%);
  box-shadow: inset 0 25px 50px -20px rgba(0, 0, 0, 0.7);
  padding: 72px 0 40px;
  z-index: 9;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .brand-name {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 340px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-list a:hover {
  color: var(--forest-neon);
}

.footer-bottom {
  border-top: 1px solid rgba(82, 183, 108, 0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- RESPONSIVIDADE RIGOROSA (MOBILE-FIRST & FLUIDEZ TOTAL) --- */

/* Telas Grandes & Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets & Telas Médias (≤ 991px) */
@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 380px;
    margin: 0 auto;
  }

  .about-credentials-grid {
    grid-template-columns: 1fr;
  }

  .stack-card {
    grid-template-columns: 60px 1fr;
    padding: 36px 30px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile Universal (≤ 767px) - Eliminação Real de Cortes & Vácuos */
@media (max-width: 767px) {
  .site-header {
    height: 56px !important;
  }

  .site-header.scrolled {
    height: 56px !important;
  }

  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .hero-section {
    padding: 96px 18px 48px;
    min-height: auto;
  }

  .hero-landscape-img {
    object-position: center 58%;
    filter: brightness(0.70) saturate(1.28) contrast(1.08);
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.2;
    margin-top: 4px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 340px;
    padding: 15px 20px;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .hero-trust-bar {
    gap: 12px;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    margin-top: 0;
    width: 100%;
  }

  .marquee-container {
    padding: 18px 0;
  }

  .marquee-item {
    font-size: 0.8rem;
    gap: 10px;
  }

  .marquee-content {
    gap: 28px;
    padding-right: 28px;
  }

  /* Seção Sobre Diogo Crema */
  .section-about {
    padding: 68px 0 60px;
  }

  .about-visual {
    max-width: 320px;
    margin: 0 auto 8px;
  }

  .about-title {
    font-size: 1.7rem;
  }

  .about-credentials-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-actions {
    width: 100%;
    margin-top: 10px;
  }

  .about-instagram-btn {
    width: 100%;
    max-width: 360px;
    justify-content: space-between;
    padding: 14px 20px;
  }

  .section-solutions {
    padding: 85px 0 80px;
  }

  .section-solutions::before,
  .section-solutions::after {
    height: 75px;
  }

  .solution-card {
    padding: 30px 20px;
  }

  /* Desativar Sticky no Mobile para Evitar Travamentos e Vácuos */
  .stack-card {
    position: relative !important;
    top: 0 !important;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 22px;
  }

  .stack-number {
    font-size: 2.2rem;
  }

  .contact-options {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card {
    padding: 36px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Telas Ultra Pequenas (≤ 360px) */
@media (max-width: 360px) {
  .hero-section {
    padding-top: 86px;
    padding-bottom: 40px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    max-width: 100%;
    font-size: 0.86rem;
    padding: 14px 16px;
  }

  .about-visual {
    max-width: 260px;
  }

  .about-instagram-btn {
    padding: 12px 16px;
    gap: 12px;
  }

  .instagram-meta-handle {
    font-size: 0.94rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }
}

/* Acessibilidade: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .marquee-track {
    animation: none !important;
  }
  
  .btn-primary::before {
    animation: none !important;
  }
}

