/* ================================================
   Bruno Javorski — Neurofeedback
   CSS Principal
   Desenvolvido por Digital Bloom
================================================ */

/* ------------------------------------------------
   VARIÁVEIS
------------------------------------------------ */
:root {
  --green:        #00a64f;
  --green-dark:   #008540;
  --green-light:  #00c860;
  --green-glow:   rgba(0, 166, 79, 0.18);
  --green-subtle: rgba(0, 166, 79, 0.08);

  --dark:         #070d1a;
  --dark-2:       #0d1525;
  --dark-3:       #131e32;
  --dark-surface: #1a2438;
  --dark-border:  rgba(255, 255, 255, 0.07);

  --text:         #0f172a;
  --text-2:       #475569;
  --text-3:       #94a3b8;
  --text-white:   #ffffff;
  --text-white-70: rgba(255, 255, 255, 0.7);
  --text-white-40: rgba(255, 255, 255, 0.4);

  --surface:      #ffffff;
  --surface-2:    #f8fafc;
  --surface-3:    #f1f5f9;
  --border:       #e2e8f0;
  --border-2:     #cbd5e1;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --header-h:     72px;
  --section-y:    100px;
  --section-y-sm: 64px;
  --container:    1200px;
  --container-md: 960px;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.07);
  --shadow-green: 0 8px 28px rgba(0, 166, 79, 0.30);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* ------------------------------------------------
   TIPOGRAFIA
------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.bg-white  { background: var(--surface); }
.bg-light  { background: var(--surface-2); }
.bg-dark   { background: var(--dark); }

.text-white { color: var(--text-white); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-white-70); }

/* ------------------------------------------------
   SECTION HEADER
------------------------------------------------ */
.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto 64px;
  gap: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text);
}

.section-title.text-white { color: var(--text-white); }

.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
}

.section-desc.text-muted { color: var(--text-white-70); }

/* Label tag */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-subtle);
  border: 1px solid rgba(0, 166, 79, 0.2);
  padding: 6px 14px;
  border-radius: var(--r-full);
}

.label-green { color: var(--green); }

/* ------------------------------------------------
   BUTTONS
------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: var(--r-md);
  padding: 12px 24px;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-sm  { padding: 9px 20px; font-size: 14px; }
.btn-lg  { padding: 15px 30px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* Loading state */
.btn-loading { display: none; }
.btn.is-loading .btn-label,
.btn.is-loading .btn-ico { display: none; }
.btn.is-loading .btn-loading { display: inline; }

/* ------------------------------------------------
   HEADER / NAV
------------------------------------------------ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-slow) var(--ease),
              box-shadow var(--t-slow) var(--ease),
              backdrop-filter var(--t-slow) var(--ease);
}

#header.scrolled {
  background: rgba(7, 13, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.3);
}

.nav {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 32px;
}

/* Logo */
.nav-logo,
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 11px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white-70);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.active { color: var(--green); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.menu-toggle:hover { background: rgba(255,255,255,0.07); }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease),
              opacity var(--t-base) var(--ease),
              width var(--t-base) var(--ease);
}

.hamburger span:last-child { width: 14px; }

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  width: 22px;
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(7, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--t-slow) var(--ease),
              opacity var(--t-slow) var(--ease);
  pointer-events: none;
  z-index: 99;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-white-70);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
}

.mobile-nav-link:hover {
  color: var(--text-white);
  background: rgba(255,255,255,0.07);
}

/* ------------------------------------------------
   LOGO IMG
------------------------------------------------ */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

/* ------------------------------------------------
   HERO
------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--header-h);
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0,166,79,0.06) 0%, transparent 70%),
              linear-gradient(180deg, transparent 60%, var(--dark) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Hero content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-white-70);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: var(--r-full);
  width: fit-content;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-white-70);
  max-width: 540px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--dark-border);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-white-40);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--dark-border);
  flex-shrink: 0;
}

/* Hero visual — foto */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scroll-drop 2s infinite;
}

@keyframes scroll-drop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* ------------------------------------------------
   PAINS GRID
------------------------------------------------ */
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.pain-card:hover {
  border-color: rgba(0,166,79,0.3);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,166,79,0.1);
  transform: translateY(-3px);
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
  transition: background var(--t-base);
}

.pain-card:hover .pain-icon { background: rgba(0,166,79,0.14); }

.pain-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.pain-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ------------------------------------------------
   SOLUTION SECTION
------------------------------------------------ */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
}

.solution-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.solution-body p {
  font-size: 16px;
  color: var(--text-white-70);
  line-height: 1.75;
}

.solution-body strong { color: var(--text-white); }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-white-70);
}

.check-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-subtle);
  border: 1px solid rgba(0,166,79,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
}

/* Solution visual — foto */
.solution-visual { display: flex; justify-content: center; align-items: center; }

.solution-photo {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

/* ------------------------------------------------
   HOW IT WORKS — STEPS
------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}

.step-card:hover {
  border-color: rgba(0,166,79,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.step-ico {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto 20px;
  transition: background var(--t-base);
}

.step-card:hover .step-ico { background: rgba(0,166,79,0.14); }

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--text-3);
  margin-top: 40px;
}

/* ------------------------------------------------
   DIFFERENTIALS GRID
------------------------------------------------ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all var(--t-base);
}

.diff-card:hover {
  background: var(--surface);
  border-color: rgba(0,166,79,0.3);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0,166,79,0.1);
  transform: translateY(-3px);
}

.diff-ico {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(0,166,79,0.07);
  border: 1px solid rgba(0,166,79,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--t-base);
}

.diff-card:hover .diff-ico {
  background: rgba(0,166,79,0.12);
  border-color: rgba(0,166,79,0.3);
}

.diff-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.diff-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ------------------------------------------------
   PROFILES GRID
------------------------------------------------ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.profile-card {
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  transition: all var(--t-base);
}

.profile-card:hover {
  border-color: rgba(0,166,79,0.25);
  background: var(--dark-3);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.profile-ico {
  width: 64px;
  height: 64px;
  border-radius: var(--r-lg);
  background: rgba(0,166,79,0.1);
  border: 1px solid rgba(0,166,79,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}

.profile-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.profile-card p {
  font-size: 14px;
  color: var(--text-white-70);
  line-height: 1.7;
  margin-bottom: 20px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  background: rgba(0,166,79,0.1);
  border: 1px solid rgba(0,166,79,0.2);
  padding: 4px 12px;
  border-radius: var(--r-full);
}

/* ------------------------------------------------
   ABOUT SECTION
------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface-3);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--t-slow);
}

.about-photo-wrap:hover .about-photo { transform: scale(1.03); }

/* Placeholder when no photo */
.about-photo-wrap::after {
  content: 'BJ';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: var(--text-3);
  z-index: 0;
}

.about-photo { position: relative; z-index: 1; }

.about-photo-border {
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,166,79,0.4), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  justify-content: center;
}

.about-badge-sep { color: var(--text-3); }

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
}

.about-body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--text); }

.about-quote {
  border-left: 3px solid var(--green);
  padding: 20px 0 20px 24px;
  background: var(--green-subtle);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.about-quote p {
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}

.about-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--green);
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--surface-3);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}

.tag:hover {
  border-color: rgba(0,166,79,0.3);
  color: var(--green);
  background: var(--green-subtle);
}

/* ------------------------------------------------
   CTA SECTION
------------------------------------------------ */
.section-cta {
  background: var(--dark-2);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0,166,79,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-white-70);
  max-width: 480px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ------------------------------------------------
   CONTACT FORM
------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 16px 0 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-ico {
  width: 40px;
  height: 40px;
  background: var(--green-subtle);
  border: 1px solid rgba(0,166,79,0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 3px;
}

.contact-item span,
.contact-item a {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

.contact-item a:hover { color: var(--green); }
.contact-item a { color: var(--text-2); transition: color var(--t-fast); line-height: 1.55; font-size: 15px; }

/* Form styles */
.form-wrap {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.required-mark { color: var(--green); }

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  line-height: 1.5;
}

.form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,166,79,0.12);
}

.form-input.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-input::placeholder { color: var(--text-3); }

.form-textarea {
  resize: vertical;
  min-height: 112px;
}

.form-error {
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
  min-height: 18px;
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.55;
}

/* ------------------------------------------------
   FOOTER
------------------------------------------------ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dark-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo .logo-name { font-size: 18px; }

.footer-about {
  font-size: 14px;
  color: var(--text-white-70);
  line-height: 1.7;
  max-width: 280px;
}

.footer-crp {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,166,79,0.08);
  border: 1px solid rgba(0,166,79,0.2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  width: fit-content;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-white-70);
  transition: color var(--t-fast);
}

.footer-link:hover { color: var(--green); }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-white-70);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; opacity: 0.6; }

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-cta-col p {
  font-size: 14px;
  color: var(--text-white-70);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-white-40);
}

/* ------------------------------------------------
   FLOATING WHATSAPP
------------------------------------------------ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-2);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
  border: 1px solid var(--dark-border);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark-2);
}

.wa-float:hover .wa-tooltip { opacity: 1; }

/* ------------------------------------------------
   SCROLL ANIMATIONS
------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

/* ------------------------------------------------
   REDUCED MOTION
------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------
   RESPONSIVE — 1280px
------------------------------------------------ */
@media (max-width: 1280px) {
  .hero-grid { grid-template-columns: 1fr 360px; gap: 48px; }
  .solution-grid { grid-template-columns: 1fr 380px; gap: 56px; }
  .about-grid { grid-template-columns: 360px 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.8fr 1fr 1.3fr 1.3fr; gap: 36px; }
}

/* ------------------------------------------------
   RESPONSIVE — 1024px
------------------------------------------------ */
@media (max-width: 1024px) {
  :root {
    --section-y: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0 60px;
    min-height: auto;
    gap: 36px;
  }

  .hero-visual {
    display: flex;
    order: -1;
  }

  .hero-photo {
    max-width: 100%;
    border-radius: 16px;
  }

  .hero-content {
    align-items: center;
  }
  .hero-subtitle { max-width: 100%; }

  .section-header { margin-bottom: 48px; }

  .solution-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .solution-visual {
    display: flex;
    order: -1;
  }

  .solution-photo {
    max-width: 100%;
  }

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

  .about-text-col .section-header { align-items: center; text-align: center; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-arrow { display: none; }

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

  .footer-brand { grid-column: 1 / -1; }
}

/* ------------------------------------------------
   RESPONSIVE — 768px
------------------------------------------------ */
@media (max-width: 768px) {
  :root {
    --section-y: var(--section-y-sm);
    --header-h: 64px;
  }

  .container { padding: 0 20px; }

  /* Nav */
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-actions {
    margin-left: auto;
  }
  .nav-actions .btn-primary { display: none; }

  /* Hero */
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .hero-stats {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }

  .stat-sep { height: 28px; }

  /* Pains */
  .pains-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Differentials */
  .diff-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Profiles */
  .profiles-grid { grid-template-columns: 1fr; gap: 16px; }

  .profile-card { padding: 28px 24px; }

  /* About */
  .about-grid { gap: 32px; }
  .about-text-col .section-header { align-items: flex-start; text-align: left; }

  /* CTA */
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Contact */
  .contact-grid { gap: 40px; }
  .form-wrap { padding: 28px 20px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: auto; }
  .footer-about { max-width: 100%; }

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

  /* Float button */
  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-tooltip { display: none; }
}

/* ------------------------------------------------
   RESPONSIVE — 480px
------------------------------------------------ */
@media (max-width: 480px) {
  .hero-stats { gap: 12px; }
  .stat-sep   { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: flex-start; gap: 16px 24px; }

  .section-header { gap: 12px; }
  .section-title  { font-size: clamp(24px, 6vw, 34px); }

  .pain-card,
  .diff-card  { padding: 22px 18px; }

  .step-card  { padding: 24px 20px; }

  .about-quote { padding: 16px 0 16px 18px; }

  .form-wrap { padding: 24px 16px; }

  .contact-details { gap: 16px; }
}
