/* ============================================================
   SYNAPSE STRATEG.IA -STYLES
   ============================================================ */

:root {
  --font-title:   'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-display: 'Bebas Neue', 'Sora', sans-serif;

  --bg:        #0A0A0F;
  --bg-alt:    #0E0E16;
  --surface:   #14141F;
  --surface-2: #191926;
  --border:    rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --violet:    #7C3AED;
  --violet-2:  #A78BFA;
  --cyan:      #6D8FF5;

  --text:      #F4F4F7;
  --muted:     #A2A2B2;
  --muted-2:   #6E6E7C;

  --grad: linear-gradient(115deg, #A78BFA 0%, #6D8FF5 100%);

  --radius:   16px;
  --radius-sm: 10px;
  --maxw:     1180px;

  --shadow: 0 20px 60px -20px rgba(124, 58, 237, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

h1, h2, h3, h4, .logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Grão de filme -textura cinematográfica sutil sobre todo o site */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============ FUNDO DINÂMICO ============ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1100px 760px at 50% -12%, rgba(76, 29, 149, 0.16), transparent 60%),
    linear-gradient(180deg, #08080e 0%, #0a0813 50%, #08080e 100%);
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  will-change: transform, opacity;
  animation: glow-pulse 16s ease-in-out infinite;
}
.bg-glow-a {
  width: 62vw; height: 62vw; top: 2%; left: -16%;
  background: radial-gradient(circle, rgba(99, 64, 184, 0.55), transparent 64%);
  transform: translate3d(0, calc(var(--sy, 0) * -0.05px), 0);
}
.bg-glow-b {
  width: 58vw; height: 58vw; top: 46%; right: -22%;
  background: radial-gradient(circle, rgba(38, 70, 116, 0.5), transparent 64%);
  transform: translate3d(0, calc(var(--sy, 0) * -0.1px), 0);
  animation-delay: -5s;
}
.bg-glow-c {
  width: 54vw; height: 54vw; bottom: -12%; left: 22%;
  background: radial-gradient(circle, rgba(82, 50, 150, 0.5), transparent 64%);
  transform: translate3d(0, calc(var(--sy, 0) * -0.03px), 0);
  animation-delay: -10s;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.66; }
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hide-mobile { display: inline; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 24px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-sm  { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg  { padding: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(120deg, #1e40af 0%, #16307a 100%);
  color: #fff;
  border-color: rgba(96, 130, 220, 0.35);
  box-shadow: 0 10px 30px -10px rgba(23, 48, 122, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); background: linear-gradient(120deg, #2148c4 0%, #1b3a92 100%); box-shadow: 0 16px 40px -12px rgba(30, 64, 175, 0.7); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--violet-2); background: rgba(124, 58, 237, 0.08); transform: translateY(-2px); }

.btn-whatsapp {
  background: #25D366;
  color: #06281a;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.6); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { color: var(--violet-2); display: inline-flex; }
.logo-img { height: 34px; width: auto; display: block; }
.logo-text { font-size: 1.15rem; }
.logo-accent { color: var(--violet-2); }

.nav-desktop { display: flex; gap: 30px; }
.nav-desktop a { font-family: var(--font-title); color: var(--muted); font-size: 0.94rem; font-weight: 500; transition: color .2s; }
.nav-desktop a:hover { color: var(--text); }

.nav-cta { display: inline-flex; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: var(--font-title); color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.nav-mobile a.btn { color: #fff; border: 0; margin-top: 12px; justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.22; }
.orb-1 { width: 660px; height: 660px; background: radial-gradient(circle, #5b3fa6, transparent 66%); top: -220px; left: -160px; animation: float 28s ease-in-out infinite; }
.orb-2 { width: 560px; height: 560px; background: radial-gradient(circle, #28456e, transparent 66%); bottom: -240px; right: -140px; opacity: 0.18; animation: float 34s ease-in-out infinite reverse; }
.orb-3 { width: 720px; height: 720px; background: radial-gradient(circle, #4a2f86, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.15; }

.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 40%, transparent 42%, rgba(5,5,9,0.6) 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 40px); }
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 1020px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4dafb;
  padding: 9px 18px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 8px;
  background: #2e1268;
  margin-bottom: 26px;
}

.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 24px; }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 300; color: var(--muted); max-width: 640px; margin: 0 auto 38px; }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.social-proof { margin-top: 10px; }
.proof-label { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 22px; }
.proof-label strong { color: var(--text); }

.logo-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { display: flex; gap: 56px; width: max-content; animation: scroll-x 32s linear infinite; }
.client-logo {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  opacity: 0.65;
  white-space: nowrap;
  transition: color .2s, opacity .2s;
}
.client-logo:hover { color: var(--text); opacity: 1; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTIONS GENERIC ============ */
.section { padding: 110px 0; position: relative; }
.section-alt { background: rgba(8, 8, 14, 0.5); }

.section-title { font-size: clamp(1.8rem, 4vw, 2.9rem); text-align: center; margin-bottom: 18px; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 56px; }
.section-title + .pain-grid, .section-title + .case-grid { margin-top: 56px; }

/* ============ GRADES FLUTUANTES (aspecto tecnológico) ============ */
#dores { overflow: hidden; }
#dores .container { position: relative; z-index: 1; }
.float-grids { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.float-grids .fg {
  position: absolute;
  border: 1px solid rgba(135, 95, 255, 0.32);
  border-radius: 10px;
  background-image:
    linear-gradient(rgba(160, 140, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 140, 255, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  box-shadow: inset 0 0 40px rgba(124, 58, 237, 0.10);
  opacity: 0.8;
  animation: floaty 16s ease-in-out infinite;
}
.fg-1 { width: 120px; height: 120px; top: 8%; left: 3%; animation-duration: 18s; }
.fg-2 { width: 90px;  height: 90px;  top: 10%; right: 5%; animation-duration: 14s; animation-delay: -3s; }
.fg-3 { width: 64px;  height: 64px;  bottom: 12%; left: 8%; animation-duration: 20s; animation-delay: -6s; }
.fg-4 { width: 150px; height: 150px; bottom: 6%; right: 4%; animation-duration: 22s; animation-delay: -2s; opacity: 0.6; }
.fg-5 { width: 90px; height: 90px; top: 44%; left: 48%; animation-duration: 17s; animation-delay: -8s; opacity: 0.5; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(4deg); }
}

/* ============ PAIN CARDS ============ */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, border-color .25s, background .25s;
}
.pain-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.pain-icon { display: inline-flex; padding: 11px; border-radius: 12px; background: rgba(124, 58, 237, 0.12); color: var(--violet-2); margin-bottom: 18px; }
.pain-icon svg { width: 24px; height: 24px; }
.pain-card p { font-size: 1.05rem; color: #e7e7f0; font-weight: 500; }

/* ============ PILLARS ============ */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.pillar-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pillar-card:hover::before { opacity: 1; }
.pillar-num { position: absolute; top: 22px; right: 24px; font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; color: var(--muted-2); opacity: 0.45; }
.pillar-icon { display: inline-flex; padding: 12px; border-radius: 12px; background: rgba(0, 212, 255, 0.1); color: var(--cyan); margin-bottom: 20px; }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.pillar-card p { color: var(--muted); font-size: 0.96rem; }

/* ============ SOBRE A SYNAPSE ============ */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: center; }
.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: 0 48px 90px -34px rgba(0, 0, 0, 0.85);
}
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; filter: contrast(1.06) saturate(0.9) brightness(0.97); }

/* Variante: logo grande no lugar da foto */
.about-media-logo {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 42%, rgba(124, 58, 237, 0.16), transparent 70%), #0b0b13;
}
.about-media-logo::after { display: none; }
.about-biglogo { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,10,15,0.15) 0%, transparent 35%, rgba(8,8,12,0.55) 100%); }
.about-photo-fallback { display: none; }
.about-media.no-img { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 35%, rgba(124,58,237,0.18), transparent 70%), var(--surface); }
.about-media.no-img::after { display: none; }
.about-media.no-img .about-photo { display: none; }
.about-media.no-img .about-photo-fallback { display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; color: var(--muted); letter-spacing: 0.02em; }

.about-copy .eyebrow { margin-bottom: 22px; }
.about-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.about-logo {
  width: 66px; height: 66px; flex-shrink: 0;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 34px -14px rgba(124, 58, 237, 0.55);
}
.about-title { text-align: left; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 26px; }
.about-heading .about-title { margin-bottom: 0; }
.about-copy p { color: var(--muted); font-size: 1.06rem; line-height: 1.75; margin-bottom: 18px; max-width: 580px; }
.about-copy p strong { color: var(--text); font-weight: 600; }
.about-quote {
  position: relative;
  font-family: var(--font-title);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.32;
  color: var(--text);
  margin-top: 32px;
  padding-left: 24px;
}
.about-quote::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--grad); }

/* ============ SOLUTIONS / TABS ============ */
.solutions {
  display: grid;
  grid-template-columns: minmax(280px, 350px) 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 16px;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .2s ease;
}
.tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.03); transform: translateX(2px); }
.tab.active {
  color: var(--text);
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.20), rgba(30, 64, 175, 0.14));
  border-color: rgba(124, 58, 237, 0.4);
}
.tab-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--violet-2);
  font-size: 0.82rem;
  transition: background .25s, color .25s;
}
.tab.active .tab-num { background: var(--grad); color: #fff; }

.tab-panels { padding: 48px; display: flex; align-items: center; }
.tab-panel { display: none; width: 100%; animation: fadeUp .4s ease; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 1.7rem; margin-bottom: 16px; }
.panel-desc { color: var(--muted); font-size: 1.08rem; max-width: 680px; margin-bottom: 28px; }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-bottom: 32px; }
.deliverables li { position: relative; padding-left: 30px; color: #dcdce6; }
.deliverables li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--grad); border-radius: 5px;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 70% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 70% no-repeat;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ============ TIMELINE ============ */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 7px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.4;
}
.step { position: relative; padding-top: 38px; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-alt); border: 3px solid var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,0.15);
}
.step-week { display: inline-block; font-family: var(--font-title); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ============ CASES ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; }
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.case-tag { align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-2); background: rgba(124,58,237,0.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; font-weight: 600; }
.case-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.case-line { color: var(--muted); font-size: 0.93rem; margin-bottom: 8px; }
.case-line strong { color: #d6d6e2; font-weight: 600; }
.case-result { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); }
.case-metric { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 5vw, 3.8rem); line-height: 0.95; letter-spacing: 0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-metric-label { display: block; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }

/* ============ TESTIMONIAL ============ */
.testimonial {
  max-width: 820px; margin: 0 auto 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.testimonial blockquote { font-size: 1.3rem; line-height: 1.55; color: #ededf5; font-weight: 300; font-style: italic; margin-bottom: 26px; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-title); font-weight: 700; color: #fff; }
.t-meta { display: flex; flex-direction: column; }
.t-meta strong { font-size: 1rem; }
.t-meta span { color: var(--muted); font-size: 0.88rem; }

/* ============ METRICS ============ */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { text-align: center; padding: 30px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.metric-num { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(3.6rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: 0.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric-label { display: block; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; }

/* ============ WHY ============ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; text-align: left; overflow: hidden; transition: transform .25s, border-color .25s; }
.why-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .25s; }
.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.why-card:hover::before { opacity: 1; }
.why-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(30, 64, 175, 0.10));
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #cdbcff;
  margin-bottom: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px -16px rgba(124, 58, 237, 0.6);
}
.why-icon svg { width: 32px; height: 32px; }
.why-card h3 { font-size: 1.28rem; margin-bottom: 14px; }
.why-card p { color: var(--muted); }

/* ============ CTA FINAL ============ */
.cta-final { overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy .section-title, .cta-copy .section-sub { text-align: left; margin-left: 0; }
.cta-copy .section-sub { margin-bottom: 32px; }

.cta-form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.cta-form h3 { font-size: 1.4rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(124,58,237,0.18); }
.field input.invalid { border-color: #ff5470; box-shadow: 0 0 0 3px rgba(255,84,112,0.15); }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 14px; text-align: center; }
.form-privacy { font-size: 0.8rem; color: var(--muted-2); margin-top: 6px; text-align: center; }
.form-privacy a { color: var(--violet-2); }
.cta-copy .btn-whatsapp { margin-top: 4px; }

/* ============ FOOTER ============ */
.site-footer { background: #07070B; border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-tag { color: var(--muted); max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; padding: 9px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); transition: color .2s, border-color .2s, transform .2s; }
.footer-social a:hover { color: var(--text); border-color: var(--violet-2); transform: translateY(-2px); }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--text); }
.footer-col a, .footer-line { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { color: var(--muted-2); font-size: 0.85rem; text-align: center; }

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #06281a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37,211,102,0.5);
  transition: transform .2s;
  animation: pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .pillar-grid, .timeline, .metrics { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .case-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 440px; margin: 0 auto; }
  .about-copy p { max-width: none; }
  .solutions { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--border); }
  .tab { width: auto; flex: 1 1 200px; }
  .tab-panels { padding: 36px 32px; }
}

@media (max-width: 760px) {
  .nav-desktop, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hide-mobile { display: none; }
  .section { padding: 76px 0; }
  .pain-grid, .pillar-grid, .case-grid, .why-grid, .metrics, .deliverables { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; }
  .tab { flex: 1 1 auto; }
  .tab-panels { padding: 28px 22px; }
  .tab-panel h3 { font-size: 1.45rem; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Hero -título em 2 linhas + CTAs em largura total */
  .hero { padding: 104px 0 56px; }
  .hero-title { font-size: clamp(1.3rem, 5.6vw, 2.2rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.1em; padding: 8px 14px; }

  /* Títulos de seção mais compactos */
  .section-title { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .section-sub { font-size: 1rem; }

  /* Metodologia em 1 coluna */
  .timeline { grid-template-columns: 1fr; gap: 26px; }

  /* Grades flutuantes mais discretas no mobile */
  .float-grids .fg { opacity: 0.35; }
  .fg-5 { display: none; }

  /* Sobre -logo um pouco menor */
  .about-media-logo { max-width: 320px; }
}

@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: clamp(1.2rem, 5.6vw, 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
