/* ==========================================================================
   ÓRBITA DIGITAL — STYLESHEET
   Design tokens, layout, componentes e responsividade (mobile-first).
   ========================================================================== */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
  /* Cores */
  --bg: #0a0a0f;
  --bg-elevated: #12121c;
  --bg-card: #14141f;
  --bg-card-hover: #191927;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4338ca;
  --accent: #22d3ee;

  --text: #f4f4f6;
  --text-muted: #a1a1ae;
  --text-faint: #6b6b7a;

  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-text: linear-gradient(90deg, #a5b4fc 0%, #22d3ee 100%);

  --success: #34d399;
  --error: #fb7185;

  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamento & layout */
  --container-w: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.15), 0 20px 60px -20px rgba(99, 102, 241, 0.35);
  --shadow-card: 0 10px 40px -20px rgba(0, 0, 0, 0.6);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

/* ---------- 3. BASE ELEMENTS ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

/* Foco visível para acessibilidade (WCAG) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

.section-head { max-width: 720px; margin-bottom: 56px; }

section { position: relative; padding: 100px 0; }

/* ---------- 4. SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(99,102,241,.25), 0 24px 60px -16px rgba(99,102,241,.55); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--primary-light); }

.btn--small { padding: 10px 20px; font-size: 0.85rem; }
.btn--large { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
}
.btn.is-loading .btn__label { opacity: 0.6; }
.btn.is-loading .btn__spinner { display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
  height: 68px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { position: relative; width: 32px; height: 32px; flex-shrink: 0; }
.logo__core {
  position: absolute; inset: 8px;
  background: var(--gradient-brand);
  border-radius: 50%;
}
.logo__ring {
  position: absolute; inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  transform: scaleY(0.55);
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo__text em { color: var(--primary-light); font-style: normal; font-weight: 600; }

.nav__list { display: flex; gap: 36px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width 0.25s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__list { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu__link { font-size: 1.05rem; font-weight: 600; }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora--1 {
  width: 520px; height: 520px;
  background: var(--primary);
  top: -180px; right: -120px;
}
.aurora--2 {
  width: 420px; height: 420px;
  background: var(--accent);
  bottom: -160px; left: -100px;
  animation-delay: -8s;
}
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(30px,-20px) scale(1.08); }
}

.orbit-system {
  position: absolute;
  top: 50%; right: 8%;
  width: 480px; height: 480px;
  transform: translateY(-50%);
  opacity: 0.5;
}
.orbit-ring {
  position: absolute; inset: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.orbit-ring--1 { inset: 60px; animation: spin-slow 30s linear infinite; }
.orbit-ring--2 { inset: 20px; animation: spin-slow 45s linear infinite reverse; }
.orbit-ring--3 { inset: 0; animation: spin-slow 60s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.orbit-dot--1 { top: 60px; left: 50%; animation: spin-slow 30s linear infinite; transform-origin: 0 180px; }
.orbit-dot--2 { top: 20px; left: 50%; background: var(--primary-light); box-shadow: 0 0 16px var(--primary-light); animation: spin-slow 45s linear infinite reverse; transform-origin: 0 220px; }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__trust li { display: flex; align-items: center; gap: 7px; }

/* Visual flutuante do Hero */
.hero__visual { position: relative; height: 420px; }

.float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.float-card--main {
  width: 100%;
  max-width: 400px;
  padding: 22px;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  animation: float 6s ease-in-out infinite;
}
.float-card__header { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.float-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.float-card__title { font-size: 0.8rem; color: var(--text-faint); margin-left: 6px; }
.float-card__chart { margin-bottom: 18px; }
.chart-svg { width: 100%; height: auto; }
.float-card__stats { display: flex; gap: 24px; }
.float-card__stats div { display: flex; flex-direction: column; gap: 4px; }
.float-card__stats span { font-size: 0.78rem; color: var(--text-faint); }
.float-card__stats strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }

.float-card--mini {
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-card--mini1 { bottom: 60px; left: -10px; animation: float 7s ease-in-out infinite 1s; }
.float-card--mini2 { bottom: 10px; right: -10px; animation: float 5.5s ease-in-out infinite 0.5s; }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-14px) translateX(-50%); }
}
.float-card--mini1, .float-card--mini2 { animation-name: float-mini; }
@keyframes float-mini {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 1;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: scroll-cue 1.8s ease infinite;
}
@keyframes scroll-cue {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- 8. MÉTRICAS ---------- */
.metrics { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.metrics__label {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 44px;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}
.metric { text-align: center; }
.metric__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric__label { display: block; margin-top: 8px; font-size: 0.88rem; color: var(--text-muted); }

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  opacity: 0.7;
}
.logos__item {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  font-size: 1.05rem;
}

/* ---------- 9. SERVIÇOS ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.4);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}
.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(99,102,241,0.12);
  color: var(--primary-light);
  margin-bottom: 20px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--gradient-brand);
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; line-height: 1.65; }
.service-card__list { display: flex; flex-direction: column; gap: 8px; }
.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-faint);
  padding-left: 18px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 10. DIFERENCIAIS ---------- */
.why { background: var(--bg-elevated); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
.why__list { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.why__item { display: flex; gap: 20px; }
.why__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-light);
  opacity: 0.5;
  flex-shrink: 0;
  width: 46px;
}
.why__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why__item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

.why__visual { display: flex; justify-content: center; }
.orbit-showcase {
  position: relative;
  width: 320px; height: 320px;
}
.orbit-showcase__ring {
  position: absolute;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
}
.orbit-showcase__ring--1 { inset: 0; animation: spin-slow 40s linear infinite; }
.orbit-showcase__ring--2 { inset: 34px; animation: spin-slow 55s linear infinite reverse; border-style: solid; border-color: var(--border); }
.orbit-showcase__ring--3 { inset: 68px; animation: spin-slow 70s linear infinite; }
.orbit-showcase__core {
  position: absolute; inset: 90px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff;
}
.orbit-showcase__core span { font-size: 0.75rem; opacity: 0.85; }
.orbit-showcase__core strong { font-family: var(--font-display); font-size: 1.6rem; }
.orbit-showcase__badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.orbit-showcase__badge--1 { top: -6px; left: 10px; }
.orbit-showcase__badge--2 { bottom: 30px; left: -30px; }
.orbit-showcase__badge--3 { bottom: 10px; right: -20px; }

/* ---------- 11. DEPOIMENTOS ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.35); }
.testimonial-card__stars { color: #fbbf24; letter-spacing: 2px; font-size: 0.95rem; }
.testimonial-card p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.7; font-style: italic; }
.testimonial-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card cite { display: block; font-style: normal; font-weight: 600; font-size: 0.9rem; }
.testimonial-card footer span { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- 12. CONTATO / FORMULÁRIO ---------- */
.contact { background: var(--bg-elevated); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact__points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact__points li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }

.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: rgba(99,102,241,0.06);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--error); }
.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--error);
}
.form-group.has-error .form-error { display: block; }

.form-group.is-valid input,
.form-group.is-valid select,
.form-group.is-valid textarea { border-color: var(--success); }

.form-success {
  display: none;
  text-align: center;
  font-size: 0.9rem;
  color: var(--success);
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
}
.form-success.is-visible { display: block; animation: fade-in 0.4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.form-privacy { text-align: center; font-size: 0.78rem; color: var(--text-faint); }

/* ---------- 13. FOOTER ---------- */
.footer { border-top: 1px solid var(--border); padding: 72px 0 28px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer__brand p { color: var(--text-muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 320px; line-height: 1.6; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.footer__col h4 { font-size: 0.9rem; margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }

/* ---------- 14. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, border-color 0.3s var(--ease);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   RESPONSIVIDADE — TABLET (≥ 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   RESPONSIVIDADE — DESKTOP (≥ 900px)
   ========================================================================== */
@media (min-width: 900px) {
  .nav { display: block; }
  .hamburger { display: none; }
  .mobile-menu { display: none; }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .why__grid { grid-template-columns: 1fr 0.8fr; }
  .contact__grid { grid-template-columns: 0.85fr 1.15fr; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

/* ==========================================================================
   RESPONSIVIDADE — MOBILE ONLY (< 900px): navegação e header
   ========================================================================== */
@media (max-width: 899px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn--small { display: none; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .float-card--main { max-width: 100%; }
  section { padding: 72px 0; }
}