/* ═══════════════════════════════════════════════════
   MoraiPY — Landing Page CSS
   ═══════════════════════════════════════════════════
   Padrões de ANIMAÇÃO extraídos de herbertcarnauba.com.br:
   - Hover: transform 0.3s ease-out + scale(1.05)
   - Light effect: opacity 0.3s ease-out, transform 0.2s ease-out
   - Spacing: gap 30px (desktop), 20px (mobile)
   - Border-radius: 20px
   - Scroll reveal: fadeInUp cubic-bezier(0.215, 0.61, 0.355, 1) ~1s
   ═══════════════════════════════════════════════════ */

/* ──── Tokens ──── */
:root {
  --black: #131312;
  --black-2: #1a1a19;
  --black-3: #222221;
  --gray: #7d7d7d;
  --gray-light: #a8a8a8;
  --gray-subtle: #b8b8b8;
  --cream: #f5e7c5;
  --cream-hover: #e8d6aa;
  --cream-10: rgba(245, 231, 197, 0.10);
  --cream-15: rgba(245, 231, 197, 0.15);
  --cream-06: rgba(245, 231, 197, 0.06);
  --white: #fafafa;
  --white-true: #ffffff;

  --ff: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-ref: cubic-bezier(0.215, 0.61, 0.355, 1);   /* animate.css bounce curve */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: ease-out;
  --dur-hover: 0.3s;    /* from reference site: transition 0.3s */
  --dur-light: 0.2s;    /* from reference site: light effect transform */
  --dur-reveal: 0.8s;   /* scroll reveal duration */

  --radius: 20px;        /* from reference site: border-radius 20px */
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 9999px;

  --gap: 30px;           /* from reference site: gap 30px */
  --gap-mobile: 20px;    /* from reference site: gap 20px */

  --nav-h: 104px;
  --container: 1140px;
}


/* ──── Reset ──── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff);
  font-weight: 700;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

::selection { background: var(--cream); color: var(--black); }


/* ──── Layout ──── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cream-hover);
  background: var(--cream-10);
  border: 1px solid var(--cream-15);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.tag-dark {
  background: rgba(245, 231, 197, 0.06);
  border-color: rgba(245, 231, 197, 0.12);
  color: var(--cream);
}

.tag-on-cream {
  background: rgba(19, 19, 18, 0.06);
  border-color: rgba(19, 19, 18, 0.12);
  color: var(--black);
}

/* Utils */
.text-cream { color: var(--cream); }
.text-cream-dark { color: var(--cream-hover); }

/* Section variants */
.section-light { background: var(--white); }

.section-dark {
  background: var(--black);
}
.section-dark h2, .section-dark h3 { color: var(--white-true); }
.section-dark p { color: var(--gray-subtle); }

.section-cream {
  background: var(--cream);
}
.section-cream h2, .section-cream h3, .section-cream strong { color: var(--black); }
.section-cream p, .section-cream span { color: var(--black-3); }

/* ──── Buttons ──── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--dur-hover) var(--ease-smooth);
  white-space: nowrap;
}

.btn-cream {
  background: var(--cream);
  color: var(--black);
}
.btn-cream:hover {
  background: var(--cream-hover);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(245, 231, 197, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white-true);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
  transform: scale(1.03);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline-light:hover {
  border-color: var(--cream);
  color: var(--cream);
  transform: scale(1.03);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }


/* ═══════════════
   NAVBAR
   ═══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 18, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
  transition: background var(--dur-hover) var(--ease-smooth);
}
.navbar.scrolled::before {
  background: rgba(19, 19, 18, 0.92);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 101;
  text-decoration: none;
}
.nav-img-logo { height: 80px; width: auto; object-fit: contain; }
.footer-img-logo { height: 120px; width: auto; object-fit: contain; }
.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white-true);
  letter-spacing: -0.04em;
}
.logo-accent { color: var(--cream); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-menu a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-subtle);
  transition: color var(--dur-hover) var(--ease-smooth);
}
.nav-menu a:hover { color: var(--white-true); }

.nav-btn {
  background: var(--cream) !important;
  color: var(--black) !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  transition: transform var(--dur-hover) var(--ease-smooth),
              background var(--dur-hover) var(--ease-smooth) !important;
}
.nav-btn:hover {
  background: var(--cream-hover) !important;
  transform: scale(1.04);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white-true);
  border-radius: 2px;
  transition: all var(--dur-hover) var(--ease-out);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ═══════════════
   HERO
   ═══════════════ */
.hero {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-subtle);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.badge-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white-true);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.hero-p {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--gray-subtle);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-val { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white-true);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-plus {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 500;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-mockup {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

.mockup-browser {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
  font-size: 0.65rem;
  color: var(--gray);
  background: rgba(255,255,255,0.04);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  flex: 1;
  text-align: center;
}

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mockup-nav {
  height: 10px; width: 100%;
  background: rgba(255,255,255,0.04);
  border-radius: 5px;
}
.mockup-hero-block {
  height: 60px; width: 100%;
  background: linear-gradient(135deg, var(--cream-10), var(--cream-06));
  border-radius: var(--radius-xs);
}
.mockup-text-group { display: flex; flex-direction: column; gap: 6px; }
.mockup-line {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.mockup-line.short { height: 8px; background: var(--cream-15); border-radius: 4px; }

.mockup-cards { display: flex; gap: 8px; }
.mockup-card {
  flex: 1; height: 50px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xs);
}

/* Floating cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 26, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  z-index: 2;
  animation: floatY 4s ease-in-out infinite;
}
.fc-icon { font-size: 1.2rem; }
.fc-text { display: flex; flex-direction: column; }
.fc-title { font-size: 0.7rem; color: var(--gray); font-weight: 500; }
.fc-val { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }

.fc-1 { top: 8%; left: -10%; animation-delay: 0s; }
.fc-2 { top: 40%; right: -12%; animation-delay: 1.3s; }
.fc-3 { bottom: 10%; left: -5%; animation-delay: 2.6s; }

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

.hero-gradient-blur {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245, 231, 197, 0.05) 0%, transparent 65%);
  pointer-events: none;
}


/* ═══════════════
   SERVICES
   ═══════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-mobile);
}

.svc-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  cursor: default;
  /* Reference site pattern: transition transform 0.3s ease-out */
  transition: transform var(--dur-hover) var(--ease-smooth),
              border-color var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
}

/* Light effect layer — reference site: radial-gradient + opacity transition */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(245, 231, 197, 0.08) 0%, transparent 60%
  );
  opacity: 0;
  /* Reference site: opacity 0.3s ease-out, transform 0.2s ease-out */
  transition: opacity var(--dur-hover) var(--ease-smooth);
  pointer-events: none;
  will-change: opacity;
}

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

/* Reference site hover: transform scale(1.05) */
.svc-card:hover {
  transform: scale(1.03);
  border-color: rgba(245, 231, 197, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.svc-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.svc-icon-wrap {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-10);
  border-radius: var(--radius-sm);
  color: var(--cream-hover);
  margin-bottom: 20px;
  transition: transform var(--dur-hover) var(--ease-smooth),
              background var(--dur-hover) var(--ease-smooth);
}
.svc-card:hover .svc-icon-wrap {
  background: var(--cream-15);
  transform: scale(1.05);
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.svc-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}


/* ═══════════════
   PROCESS
   ═══════════════ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-mobile);
}

.proc-step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(125, 125, 125, 0.08);
  background: var(--white);
  transition: transform var(--dur-hover) var(--ease-smooth),
              border-color var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
}
.proc-step:hover {
  transform: scale(1.03);
  border-color: rgba(245, 231, 197, 0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.proc-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cream-hover);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.4;
  transition: opacity var(--dur-hover) var(--ease-smooth);
}
.proc-step:hover .proc-num { opacity: 0.8; }

.proc-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.proc-step p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.proc-line {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 22px;
  background: rgba(125, 125, 125, 0.15);
}


/* ═══════════════
   PORTFOLIO
   ═══════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-mobile);
}

.folio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(125,125,125,0.08);
  background: var(--white);
  transition: transform var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
}
.folio-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.folio-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.folio-browser {
  width: 100%;
  max-width: 300px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: transform var(--dur-hover) var(--ease-smooth);
}
.folio-card:hover .folio-browser { transform: translateY(-6px); }

.fb-dots {
  display: flex; gap: 4px;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.fb-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.fb-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.fb-block {
  height: 35px; width: 100%;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.fb-block.accent { background: var(--cream-10); }
.fb-lines { display: flex; flex-direction: column; gap: 4px; }
.fb-line {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}
.fb-row { display: flex; gap: 5px; }
.fb-box {
  flex: 1; height: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
}
.fb-nav-bar {
  height: 12px; width: 100%;
  background: rgba(245, 231, 197, 0.06);
  border-radius: 3px;
}
.fb-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.fb-grid-item {
  height: 35px;
  background: rgba(245, 231, 197, 0.06);
  border-radius: 4px;
}
.fb-split { display: flex; gap: 6px; }
.fb-sidebar {
  width: 30%;
  height: 80px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.fb-main { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fb-block-sm {
  height: 24px; width: 100%;
  background: var(--cream-06);
  border-radius: 4px;
}

.folio-info { padding: 24px; }
.folio-type {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cream-hover);
  margin-bottom: 6px;
  display: block;
}
.folio-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.folio-info p {
  font-size: 0.875rem;
  line-height: 1.55;
}


/* ═══════════════
   TESTIMONIALS
   ═══════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-mobile);
}

.test-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--white-true);
  border: 1px solid rgba(19, 19, 18, 0.06);
  transition: transform var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
}
.test-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(19, 19, 18, 0.08);
}

.test-quote {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.15;
}

.test-card > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black-3);
  margin-bottom: 24px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.test-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--black);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.test-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
}
.test-author span {
  font-size: 0.78rem;
  color: var(--gray);
}


/* ═══════════════
   CTA
   ═══════════════ */
.section-cta {
  background: var(--black);
  padding: 100px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--black-2) 0%, var(--black-3) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 231, 197, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--white-true);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-box p {
  color: var(--gray-subtle);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-sub {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 20px;
  position: relative;
  z-index: 1;
}


/* ═══════════════
   FOOTER
   ═══════════════ */
.footer {
  background: var(--black);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: flex;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color var(--dur-hover) var(--ease-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col a svg {
  opacity: 0.6;
  transition: opacity var(--dur-hover) var(--ease-smooth);
}
.footer-col a:hover { color: var(--cream); }
.footer-col a:hover svg { opacity: 1; }

.footer-bottom {
  padding-top: 32px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}


/* ═══════════════
   REVEAL ANIMATIONS
   Reference site: fadeInUp with cubic-bezier(0.215, 0.61, 0.355, 1), ~1s
   ═══════════════ */
.anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-ref),
              transform var(--dur-reveal) var(--ease-ref);
}

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

/* Stagger delays for grid children */
.services-grid .anim:nth-child(1) { transition-delay: 0ms; }
.services-grid .anim:nth-child(2) { transition-delay: 80ms; }
.services-grid .anim:nth-child(3) { transition-delay: 160ms; }
.services-grid .anim:nth-child(4) { transition-delay: 240ms; }

.process-grid .anim:nth-child(1) { transition-delay: 0ms; }
.process-grid .anim:nth-child(2) { transition-delay: 80ms; }
.process-grid .anim:nth-child(3) { transition-delay: 160ms; }
.process-grid .anim:nth-child(4) { transition-delay: 240ms; }

.pain-grid .anim:nth-child(1) { transition-delay: 0ms; }
.pain-grid .anim:nth-child(2) { transition-delay: 100ms; }
.pain-grid .anim:nth-child(3) { transition-delay: 200ms; }

.testimonials-grid .anim:nth-child(1) { transition-delay: 0ms; }
.testimonials-grid .anim:nth-child(2) { transition-delay: 100ms; }
.testimonials-grid .anim:nth-child(3) { transition-delay: 200ms; }


/* ═══════════════
   RESPONSIVE
   ═══════════════ */
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .hero-content { text-align: left; }
  .hero-stats { justify-content: flex-start; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1.2fr 0.8fr; gap: 48px; }
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 72px; }
  .cta-box { padding: 96px 60px; }
  .proc-line {
    bottom: auto;
    right: -16px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 1px;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(19, 19, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
    z-index: 100;
  }
  .nav-menu.open { 
    transform: translateY(0); 
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { font-size: 1.15rem; color: var(--white-true); }

  .hero-stats { 
    flex-direction: row; 
    justify-content: space-between; 
    gap: 12px; 
    width: 100%;
  }
  .stat-num { font-size: 1.5rem; }
  .stat-plus { font-size: 1.5rem; }
  .stat-label { font-size: 0.65rem; }
  .stat-sep { width: 1px; height: 30px; }
  .float-card { display: none; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
}


/* ═══════════════
   PAIN / PROBLEM SECTION
   ═══════════════ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-mobile);
}

.pain-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--white-true);
  border-left: 4px solid var(--cream);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
}
.pain-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.pain-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: var(--radius-sm);
  color: var(--black);
  margin: 0 auto 24px;
  transition: transform var(--dur-hover) var(--ease-smooth);
}
.pain-card:hover .pain-icon {
  transform: scale(1.1) rotate(-5deg);
}

.pain-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.pain-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray);
}


/* ═══════════════
   CLIENT LOGOS PLACEHOLDER
   ═══════════════ */
.clients-logos {
  margin-top: 64px;
  text-align: center;
}

.logos-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black-3);
  opacity: 0.5;
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-placeholder {
  width: 100px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px dashed rgba(19, 19, 18, 0.12);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(19, 19, 18, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ═══════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--cream);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
              0 0 0 0 rgba(245, 231, 197, 0.3);
  transition: transform var(--dur-hover) var(--ease-smooth),
              box-shadow var(--dur-hover) var(--ease-smooth);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3),
              0 0 0 8px rgba(245, 231, 197, 0.12);
  animation: none;
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                0 0 0 0 rgba(245, 231, 197, 0.25);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25),
                0 0 0 10px rgba(245, 231, 197, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

