/* ════════════════════════════════════════════
   NURIE MARKETING — Custom Stylesheet
   Complementa o Tailwind com estilos específicos
════════════════════════════════════════════ */

:root {
  --forest:      #1c3a2b;
  --forest-dark: #122618;
  --forest-light:#264d3a;
  --cream:       #f4efe4;
  --cream-warm:  #ede5d4;
  --sand:        #c8b99a;
  --ivory:       #faf8f3;
  --espresso:    #6b4226;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--ivory);
  color: var(--forest);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sand);
  color: var(--forest-dark);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--forest-dark); }
::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }

/* ════════════ NAV ════════════ */
#navbar {
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(18, 38, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

#navbar.scrolled .logo-text,
#navbar.scrolled .nav-link {
  color: rgba(255,255,255,0.9);
}


.mobile-menu-closed { max-height: 0; opacity: 0; pointer-events: none; visibility: hidden; }
.mobile-menu-open   { max-height: 280px; opacity: 1; pointer-events: all; visibility: visible; }

#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
/* ════════════ HERO ════════════ */
.hero-section {
  background-color: var(--forest-dark);
}

.hero-texture {
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,185,154,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(38, 77, 58, 0.25) 0%, transparent 60%);
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(18,38,24,0.3) 0%,
    rgba(18,38,24,0.1) 40%,
    rgba(18,38,24,0.6) 100%
  );
}

/* Hero animations on load */
.hero-badge    { opacity: 1 !important; animation: fadeUp 0.7s 0.3s ease both; }
.hero-title    { opacity: 1 !important; animation: fadeUp 0.8s 0.5s ease both; }
.hero-subtitle { opacity: 1 !important; animation: fadeUp 0.8s 0.7s ease both; }
.hero-cta      { opacity: 1 !important; animation: fadeUp 0.8s 0.9s ease both; }

/* ════════════ STATS ════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--cream-warm) 0%, #e8dece 100%);
}

.pill {
  position: relative;
  overflow: hidden;
}

.pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.pill:hover::after { transform: translateX(100%); }

/* ════════════ SOBRE ════════════ */
.sobre-section {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.sobre-photo-card {
  background: linear-gradient(135deg, var(--forest-light) 0%, var(--forest-dark) 100%);
  min-height: 420px;
}

/* ════════════ SERVIÇOS ════════════ */
.servicos-section {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
}

.servicos-texture {
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 35px,
      rgba(255,255,255,0.02) 35px,
      rgba(255,255,255,0.02) 70px
    );
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sand), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before { opacity: 1; }

/* ════════════ PARA QUEM ════════════ */
.para-quem-section {
  background: linear-gradient(160deg, #0f2019 0%, var(--forest-dark) 50%, #0a1a10 100%);
}

.para-quem-texture {
  background-image:
    radial-gradient(circle at 80% 20%, rgba(200,185,154,0.15) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(28, 58, 43, 0.5) 0%, transparent 40%);
}

.pq-card {
  border-color: rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

/* ════════════ CTA ════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-warm) 60%, #ddd0b8 100%);
}

.cta-bg {
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(28,58,43,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(200,185,154,0.12) 0%, transparent 60%);
}

/* ════════════ BUTTONS ════════════ */
.btn-primary {
  background: linear-gradient(135deg, var(--sand) 0%, #d4c4a7 100%);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.cta-btn {
  position: relative;
  overflow: hidden;
}

/* ════════════ ANIMATIONS ════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ════════════ SCROLL REVEAL ════════════ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* stagger delays via JS data-attr */
.reveal-up[style*="0.1s"]   { transition-delay: 0.1s; }
.reveal-up[style*="0.2s"]   { transition-delay: 0.2s; }
.reveal-up[style*="0.3s"]   { transition-delay: 0.3s; }
.reveal-up[style*="0.35s"]  { transition-delay: 0.35s; }
.reveal-up[style*="0.4s"]   { transition-delay: 0.4s; }
.reveal-left[style*="0.1s"] { transition-delay: 0.1s; }
.reveal-left[style*="0.2s"] { transition-delay: 0.2s; }
.reveal-left[style*="0.3s"] { transition-delay: 0.3s; }
.reveal-left[style*="0.35s"]{ transition-delay: 0.35s; }
.reveal-left[style*="0.4s"] { transition-delay: 0.4s; }
.reveal-right[style*="0.1s"]{ transition-delay: 0.1s; }
.reveal-right[style*="0.2s"]{ transition-delay: 0.2s; }
.reveal-right[style*="0.3s"]{ transition-delay: 0.3s; }
.reveal-right[style*="0.4s"]{ transition-delay: 0.4s; }

/* ════════════ DECORATIVE CIRCLES ════════════ */
.deco-circle {
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.deco-circle:nth-child(2) { animation-delay: 3s; }

/* ════════════ SCROLL LINE ════════════ */
.scroll-line {
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}

/* ════════════ MOBILE RESPONSIVE ════════════ */
@media (max-width: 640px) {
  .hero-section { min-height: 100svh; }

  .sobre-photo-card { min-height: 300px; }

  .service-card { padding: 1.5rem; }

  .pq-card { padding: 1.25rem; }
}

/* ════════════ REDUCED MOTION ════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

