/* ============================================
   Code 369 — Migração Drupal 7
   Design System & Landing Page Styles
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --c-primary: #43286f;
  --c-primary-50: #f5f2f9;
  --c-primary-100: #e8e0f0;
  --c-primary-200: #d0c1e1;
  --c-primary-300: #b39bcb;
  --c-primary-400: #9272b3;
  --c-primary-500: #6f4b92;
  --c-primary-600: #56377b;
  --c-primary-700: #43286f;
  --c-primary-800: #352057;
  --c-primary-900: #271740;

  /* Neutrals */
  --c-text: #1a1a2e;
  --c-text-secondary: #4a4a6a;
  --c-text-muted: #8b8ba7;
  --c-text-inverse: #ffffff;
  --c-text-link: var(--c-primary-500);
  --c-bg: #ffffff;
  --c-bg-alt: #f7f8fa;
  --c-bg-subtle: #f0f2f5;
  --c-bg-dark: #0f1628;
  --c-bg-darker: #0a0f1c;

  /* Borders */
  --c-border: #e2e5ea;
  --c-border-light: #f0f1f4;
  --c-border-focus: var(--c-primary-500);

  /* Semantic */
  --c-success: #16a34a;
  --c-success-bg: #f0fdf4;
  --c-error: #dc2626;
  --c-error-bg: #fef2f2;
  --c-warning: #d97706;
  --c-warning-bg: #fffbeb;
  --c-info: #2563eb;

  /* Typography */
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --ff-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --fs-2xs: 0.6875rem;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;

  --ls-tight: -0.03em;
  --ls-normal: 0;
  --ls-wide: 0.02em;
  --ls-wider: 0.05em;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.3s;
  --t-slow: 0.5s;

  /* Layout */
  --header-h: 72px;
  --container-w: 1200px;
  --container-narrow: 720px;
  --container-wide: 1400px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
  -webkit-text-size-adjust: 100%;
}

@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;
  }
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--c-text-link); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-primary-700); }

ul, ol { list-style: none; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--c-border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-primary);
  color: var(--c-text-inverse);
  font-weight: var(--fw-semibold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--c-primary-300);
  outline-offset: 2px;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

/* ---------- Section ---------- */
.section {
  padding-block: var(--sp-20);
}
.section--alt { background: var(--c-bg-alt); }
.section--dark {
  background: var(--c-bg-dark);
  color: var(--c-text-inverse);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6,
.section--dark p,
.section--dark li,
.section--dark span,
.section--dark div,
.section--dark td,
.section--dark label {
  color: var(--c-text-inverse);
}
.section--dark .section-header__tag {
  color: var(--c-primary-200);
  background: rgba(255,255,255,0.1);
}
.section--dark a { color: var(--c-primary-200); }
.section--dark a:hover { color: #fff; }

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}
.section-header__tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-50);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}
.section-header__title {
  font-size: clamp(1.75rem, 3vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}
.section--dark .section-header__title { color: #fff; }
.section-header__text {
  font-size: var(--fs-lg);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}
.section--dark .section-header__text { color: var(--c-primary-200); }

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-body);
  line-height: var(--lh-tight);
  color: var(--c-text);
}
h1 {
  font-size: clamp(2rem, 4vw, var(--fs-5xl));
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
}
h2 {
  font-size: clamp(1.5rem, 3vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
}
h3 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
}
h4 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-primary-500);
  color: #fff;
  border-color: var(--c-primary-500);
}
.btn--primary:hover {
  background: var(--c-primary-700);
  border-color: var(--c-primary-700);
  color: #fff;
}

.btn--accent {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn--accent:hover {
  background: var(--c-primary-800);
  border-color: var(--c-primary-800);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--outline:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: #fff;
  color: var(--c-primary);
  border-color: #fff;
}

.btn--lg { padding: 1rem 2rem; font-size: var(--fs-base); }
.btn--xl { padding: 1.125rem 2.25rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }

.btn--icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ---------- Cards ---------- */
.card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: all var(--t-base) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-100);
}

.card--elevated {
  border: none;
  box-shadow: var(--shadow-sm);
}
.card--elevated:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Flex ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ---------- Text ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--c-text-muted); }
.text-secondary { color: var(--c-text-secondary); }
.text-primary { color: var(--c-primary); }
.text-inverse { color: var(--c-text-inverse); }
.text-sm { font-size: var(--fs-sm); }
.text-lg { font-size: var(--fs-lg); }
.text-xl { font-size: var(--fs-xl); }
.fw-medium { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold { font-weight: var(--fw-bold); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-light);
  transition: box-shadow var(--t-base) var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}

.header__logo-text {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-primary-700);
}
.header__logo-text span {
  color: var(--c-primary-400);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.header__nav a {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast) var(--ease);
}
.header__nav a:hover,
.header__nav a[aria-current="true"] {
  color: var(--c-primary);
  background: var(--c-primary-50);
}

.header__cta {
  margin-left: var(--sp-4);
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.header__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
}

@media (max-width: 1024px) {
  .header__toggle { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--c-bg);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + var(--sp-6)) var(--sp-6) var(--sp-6);
    gap: var(--sp-1);
    box-shadow: var(--shadow-xl);
    transition: right var(--t-base) var(--ease);
    z-index: 999;
    overflow-y: auto;
  }
  .header__nav.open { right: 0; }

  .header__nav a {
    padding: var(--sp-3) var(--sp-4);
    font-size: var(--fs-base);
  }

  .header__cta {
    margin-left: 0;
    margin-top: var(--sp-4);
  }
  .header__cta .btn { width: 100%; }

  .header__overlay.open { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  background: linear-gradient(135deg, var(--c-primary-900) 0%, var(--c-primary-700) 50%, var(--c-primary-600) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(111,75,146,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(146,114,179,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.hero__content { max-width: 600px; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-4);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-primary-200);
  margin-bottom: var(--sp-6);
}
.hero__tag i { font-size: var(--fs-sm); }

.hero__title {
  color: #fff;
  margin-bottom: var(--sp-6);
}
.hero__title span {
  color: var(--c-primary-200);
}

.hero__subtitle {
  font-size: var(--fs-xl);
  color: var(--c-primary-200);
  line-height: var(--lh-snug);
  margin-bottom: var(--sp-4);
  font-weight: var(--fw-medium);
}

.hero__text {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__visual img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.hero__badge {
  position: absolute;
  bottom: var(--sp-8);
  left: var(--sp-8);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero__badge-icon {
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  color: #fff;
}
.hero__badge-text {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: #fff;
  line-height: var(--lh-snug);
}

@media (max-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + var(--sp-10)); padding-bottom: var(--sp-12); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__visual { margin-top: var(--sp-8); }
  .hero__badge { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + var(--sp-8)); padding-bottom: var(--sp-10); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */
.card-problem {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  transition: all var(--t-base) var(--ease);
}
.card-problem:hover {
  border-color: var(--c-error);
  box-shadow: 0 0 0 1px var(--c-error), var(--shadow-md);
}

.card-problem__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--c-error-bg);
  color: var(--c-error);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
}
.card-problem__content { flex: 1; }
.card-problem__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}
.card-problem__text {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: var(--lh-normal);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.card-benefit {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  transition: all var(--t-base) var(--ease);
}
.card-benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-100);
}

.card-benefit__icon {
  width: 64px;
  height: 64px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  margin: 0 auto var(--sp-4);
  transition: all var(--t-base) var(--ease);
}
.card-benefit:hover .card-benefit__icon {
  background: var(--c-primary);
  color: #fff;
}

.card-benefit__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.card-service {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease);
}
.card-service:hover {
  border-color: var(--c-primary-200);
  background: var(--c-primary-50);
}

.card-service__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
}

.card-service__text {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-snug);
  font-weight: var(--fw-medium);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--c-primary), var(--c-primary-300));
  border-radius: var(--radius-full);
}

.timeline__item {
  position: relative;
  padding-left: 80px;
  padding-bottom: var(--sp-10);
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: 8px;
  top: 0;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 3px var(--c-primary-200);
  z-index: 1;
}
.section--dark .timeline__dot {
  border-color: var(--c-bg-dark);
  box-shadow: 0 0 0 3px var(--c-primary-700);
}

.timeline__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.section--dark .timeline__title { color: #fff; }

.timeline__text {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}
.section--dark .timeline__text { color: var(--c-primary-200); }

@media (max-width: 640px) {
  .timeline::before { left: 18px; }
  .timeline__item { padding-left: 56px; }
  .timeline__dot { left: 0; width: 38px; height: 38px; font-size: var(--fs-xs); }
}

/* ============================================
   TECHNOLOGIES
   ============================================ */
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

.tech-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text-secondary);
  transition: all var(--t-base) var(--ease);
}
.tech-item:hover {
  border-color: var(--c-primary-200);
  color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.tech-item i, .tech-item svg {
  font-size: var(--fs-xl);
  width: 24px;
  text-align: center;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: var(--sp-20) 0;
  background: linear-gradient(135deg, var(--c-primary-900), var(--c-primary-700));
  text-align: center;
  overflow: hidden;
  color: var(--c-text-inverse);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section p,
.cta-section span,
.cta-section div {
  color: var(--c-text-inverse);
}
.cta-section .section-header__title { color: #fff; }
.cta-section .section-header__text { color: var(--c-primary-200); }
.cta-section a { color: var(--c-primary-200); }
.cta-section a:hover { color: #fff; }
.cta-section .btn { color: #fff; }
.cta-section .btn:hover { color: #fff; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.faq-item:hover { border-color: var(--c-primary-200); }
.faq-item[open] { border-color: var(--c-primary-300); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary:hover { color: var(--c-primary); }

.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  transition: all var(--t-base) var(--ease);
}
.faq-item[open] summary .faq-icon {
  background: var(--c-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-relaxed);
}
.faq-item__answer p {
  color: var(--c-text-secondary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-wrapper {
  max-width: 800px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}
.form-label .required {
  color: var(--c-error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--t-fast) var(--ease);
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-primary-500);
  box-shadow: 0 0 0 3px rgba(111,75,146,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--c-text-muted);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b8ba7' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--c-error);
  margin-top: var(--sp-1);
  align-items: center;
  gap: var(--sp-1);
}
.form-group.has-error .form-error { display: flex; }
.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--c-error);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-primary);
  cursor: pointer;
}
.form-checkbox span {
  font-size: var(--fs-sm);
  color: var(--c-text-secondary);
  line-height: var(--lh-normal);
}
.form-checkbox a {
  color: var(--c-primary-500);
  text-decoration: underline;
}

/* Honeypot */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================================
   DIFERENCIAIS
   ============================================ */
.card-diff {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-base) var(--ease);
}
.card-diff:hover {
  border-color: var(--c-primary-200);
  box-shadow: var(--shadow-sm);
}

.card-diff__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
}
.card-diff__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}
.card-diff__text {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--c-bg-dark);
  color: var(--c-text-inverse);
  padding-top: var(--sp-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}

.footer__brand {
  max-width: 300px;
}
.footer__brand-logo {
  height: 32px;
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
}
.footer__brand-desc {
  font-size: var(--fs-sm);
  color: var(--c-primary-300);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}
.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  color: var(--c-primary-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  transition: all var(--t-base) var(--ease);
}
.footer__social a:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-primary-200);
  margin-bottom: var(--sp-4);
}

.footer__links li { margin-bottom: var(--sp-3); }
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--c-primary-300);
  transition: color var(--t-fast) var(--ease);
}
.footer__links a:hover { color: #fff; }

.footer__bottom {
  margin-top: var(--sp-12);
  padding: var(--sp-6) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-primary-400);
}
.footer__bottom a {
  color: var(--c-primary-300);
}

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--sp-3); text-align: center; }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  color: #fff;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease);
  box-shadow: var(--shadow-md);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--c-primary-700);
  transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thanks-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--header-h) + var(--sp-10));
}
.thanks-hero__icon {
  width: 80px;
  height: 80px;
  background: var(--c-success-bg);
  color: var(--c-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-4xl);
  margin: 0 auto var(--sp-6);
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
