@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

/* --- DESIGN SYSTEM --- */
:root {
  /* Alterado para Light Theme */
  --bg-main: #ffffff;
  --bg-alt: #e8f2ff; /* Fundo alternativo levemente cinza */
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #f1f5f9;

  /* Cores da Marca GestãoClick (azul) */
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.1);
  --primary-hover: #2563eb;

  --accent-success: #10b981;
  --accent-success-glow: rgba(37, 99, 235, 0.1);

  --accent-warning: #ef4444;
  --accent-warning-glow: rgba(239, 68, 68, 0.1);

  --accent-orange: #f97316;
  --accent-orange-glow: rgba(249, 115, 22, 0.1);

  /* Texto Escuro para contraste em fundo claro */
  --text-main: #2563eb;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-light: #e2e8f0;
  --border-focus: rgba(37, 99, 235, 0.5);

  --font-main: "Plus Jakarta Sans", sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container-width: 1200px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Custom Scrollbar Light */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}
.text-gradient {
  color: #003786; /* Sem gradiente no tema claro para visual mais sério/clean */
}
.text-gradient-orange {
  color: var(--primary);
}
.text-gradient-emerald {
  color: var(--accent-success);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
}
.badge-warning {
  background-color: var(--primary-glow);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.2);
}
.badge-primary {
  background-color: rgba(15, 23, 42, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 122, 229, 0.2);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 0, 0, 0.3);
  background: var(--primary-hover);
}

.btn-secondary {
  background: #b21512;
  color: white;
  border: 1px solid #b21512;
}
.btn-secondary:hover {
  background: #910e0c;
  border-color: #b21512;
  transform: translateY(-2px);
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 122, 229, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 122, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 229, 0);
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
nav a:hover {
  color: var(--primary);
}
.header-cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.25rem;
  color: #fff !important; /* Força cor branca no texto do botão */
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 80%, var(--bg-alt) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}
.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Hero Visual Card */
.hero-visual {
}
.visual-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}
.visual-card-wrapper:hover {
  transform: rotateY(0deg) rotateX(0deg);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.12);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}
.visual-dots {
  display: flex;
  gap: 6px;
}
.visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}
.visual-dot:nth-child(1) {
  background: #ef4444;
}
.visual-dot:nth-child(2) {
  background: #f59e0b;
}
.visual-dot:nth-child(3) {
  background: #10b981;
}

.visual-tab {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.visual-body {
  position: relative;
  height: 280px;
}

/* Simulation States */
.visual-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.visual-state.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0);
}

/* State: Chaos */
.state-chaos {
  transform: translateY(10px);
}
.chaos-item {
  background: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.chaos-item strong {
  color: var(--text-main);
}
.chaos-item.warning-pulse {
  animation: border-pulse 2s infinite alternate;
}
.chaos-icon-wrapper {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.chaos-details {
  flex-grow: 1;
}
.chaos-tag {
  font-size: 0.7rem;
  color: #ef4444;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes border-pulse {
  0% {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 0 rgba(239, 68, 68, 0);
  }
  100% {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1);
  }
}

/* State: Control */
.state-control {
  transform: translateY(-10px);
}
.control-dashboard {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}
.control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.control-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem;
}
.control-card-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.control-card-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.control-card-val.success {
  color: var(--accent-success);
}

.control-pipeline {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pipeline-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  position: relative;
}
.pipeline-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;
  height: 2px;
  background: rgba(16, 185, 129, 0.2);
  z-index: 1;
  transform: translateY(-50%);
}
.pipeline-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  z-index: 2;
  color: var(--text-muted);
}
.pipeline-step.active {
  border-color: var(--accent-success);
  color: var(--accent-success);
  background: rgba(16, 185, 129, 0.1);
}

.visual-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  padding: 4px;
  margin-top: 1rem;
}
.visual-toggle-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.visual-toggle-btn.active-chaos {
  background: var(--accent-warning);
  color: #fff;
}
.visual-toggle-btn.active-control {
  background: var(--accent-success);
  color: #fff;
}

/* --- SECTION HEADERS --- */
.section-header {
  max-width: 650px;
  margin: 0 auto 4rem auto;
}
.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* --- PAIN POINTS SECTION --- */
.pain-points {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-alt);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pain-card {
  background: var(--bg-card);
  border: 0px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0px;
  height: 100%;
  background: transparent;
  transition: var(--transition-fast);
}
.pain-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(229, 0, 0, 0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.pain-card:hover::before {
  background: var(--primary);
}

.pain-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ef444433;
  border: 1px solid rgba(229, 0, 0, 0.1);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.pain-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #818181;
}
.pain-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CALCULATOR SECTION --- */
.calculator {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
}
.calculator-box {
  background: linear-gradient(
    126deg,
    rgba(255, 250, 250, 1) 0%,
    rgba(59, 130, 246, 0.22) 54%,
    rgba(255, 250, 250, 1) 100%
  );
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.input-header label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}
.input-val {
  font-weight: 800;
  font-size: 1.15rem;
  color: #003786;
  background: #3b82f673;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Style Sliders */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(229, 0, 0, 0.3);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--primary-hover);
}

.calc-results {
  background: linear-gradient(
    126deg,
    rgba(59, 130, 246, 0.22) 0%,
    rgba(255, 250, 250, 1) 100%
  );
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  position: relative;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.result-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.result-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}
.result-val.lost {
  color: var(--accent-warning);
  font-size: 2.5rem;
}
.result-val.saved {
  color: var(--accent-success);
}
.calc-cta {
  width: 100%;
  color: #fff !important;
}

/* --- INTERACTIVE JOURNEY --- */
.journey {
  padding: 6rem 0;
  position: relative;
  background: #ffffff;
}

.journey-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}
.journey-flow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  right: 0;
  height: 3px;
  background: #3b82f680;
  z-index: 1;
}
.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  cursor: pointer;
  width: 100px;
}
.step-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #3b82f6;
  border: 2px solid #3b82f6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}
.journey-step span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  text-align: center;
}

.journey-step.active .step-dot {
  border-color: var(--primary);
  color: var(--primary);
  background: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(229, 0, 0, 0.15);
  transform: scale(1.1);
}
.journey-step.active span {
  color: var(--text-main);
  font-weight: 700;
}

.journey-details-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.journey-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 250px;
}
.journey-pane.active {
  display: grid;
}

.pane-side {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pane-side.chaos-side {
  background: rgba(232, 242, 255, 0.9);
  border-right: 1px solid var(--border-light);
}
.pane-side.control-side {
  background: rgba(225, 241, 255, 0.9);
}

.pane-side-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}
.pane-side-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
.pane-side-header .status-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.chaos-side .status-tag {
  background: var(--accent-warning-glow);
  color: #e53e3e;
}
.control-side .status-tag {
  background: var(--accent-success-glow);
  color: #059669;
}

.pane-icon {
  font-size: 1.25rem;
}
.chaos-side .pane-icon {
  color: var(--accent-warning);
}
.control-side .pane-icon {
  color: var(--accent-success);
}

.pane-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- FEATURES SECTION --- */
.features {
  padding: 6rem 0;
  background: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: #f4f8ff;
  border: 0px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}
.feature-card:hover {
  border-color: rgba(229, 0, 0, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(229, 0, 0, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 6rem 0;
  background: #ffffff;
}
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 950px;
  margin: 0 auto;
}
.testi-card {
  background: #f4f9ff;
  border: 0px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.00);
}
.testi-card::after {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 6rem;
  color: var(--bg-alt);
  font-family: serif;
  line-height: 1;
}
.testi-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  z-index: 2;
}
.testi-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.testi-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--text-main);
}
.testi-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- FAQ SECTION --- */
.faq {
  padding: 6rem 0;
  background: #fff;
}
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: #eeeeee;
  border: 0px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-question {
  padding: 1.5rem 2rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: #222;
}
.faq-question:hover {
  background: var(--bg-card-hover);
}
.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 2rem 1.5rem 2rem;
  transition: max-height 0.5s ease-in-out, padding 0.3s ease;
}

/* --- FINAL CTA SECTION --- */
.final-cta {
  padding: 8rem 0;
  position: relative;
  background: var(--bg-alt);
  text-align: center;
  overflow: hidden;
}
.final-cta-wrapper {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.final-cta-wrapper h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.final-cta-wrapper p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}
.final-cta-guarantee {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
#cta-btn-final-trial {
  color: #fff !important;
}

/* --- FOOTER --- */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
  color: var(--text-main);
}

/* Esta é a classe que estava faltando para o grid funcionar */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

/* Cor da logo no rodapé claro */
.footer-brand .logo {
  color: #1e3a8a;
}

.footer-links h5 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #1e3a8a;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  /* ... outras regras mobile ... */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .journey-flow {
    overflow-x: auto;
    padding-bottom: 1.5rem;
    justify-content: flex-start;
    gap: 1.5rem;
  }
  .journey-flow::before {
    display: none;
  }
  .journey-step {
    flex-shrink: 0;
  }
  .journey-pane {
    grid-template-columns: 1fr;
  }
  .pane-side.chaos-side {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .testi-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 0;
    background: #ffffff; /* Garante fundo claro no mobile */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
  }
  nav.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header-cta {
    display: none;
  }
  nav .header-cta {
    display: inline-flex;
    width: 100%;
  }
  .calculator-box {
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
