@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS VARIABLES & THEME
   ========================================================================== */
:root {
  --font-main: 'Outfit', sans-serif;
  --bg-primary: #EFEEE9;
  --bg-dark: #111111;
  --bg-section-alt: #F8F7F4;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4E54;
  --text-on-dark: #F8F7F4;
  --accent: #E8614D;
  --accent-hover: #D4533F;
  --accent-light: rgba(232, 97, 77, 0.1);
  --accent-glow: rgba(232, 97, 77, 0.18);
  --card-bg: #FFFFFF;
  --card-border: rgba(0, 0, 0, 0.1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --container-max: 1200px;
  --section-py: clamp(64px, 10vw, 140px);
  --nav-height: 64px;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.14);
  --shadow-card-hover: 0 20px 40px rgba(0,0,0,0.1);
  --shadow-accent: 0 8px 30px rgba(232, 97, 77, 0.3);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100dvh;
}

body.nav-open { overflow: hidden; }

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

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

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
}

::selection {
  background-color: var(--accent);
  color: var(--bg-primary);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  margin-bottom: 1rem;
  line-height: 1.6;
}

p:last-child { margin-bottom: 0; }

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

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

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

.section-alt {
  background: var(--bg-section-alt);
}

.section-heading {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-desc {
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  background-color: var(--card-bg);
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  padding: 14px 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
  border-radius: var(--radius-pill);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-block { width: 100%; }

.btn i { font-size: 1.1em; }

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 16px;
}

.nav {
  max-width: 900px;
  margin: 0 auto;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 20px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-dot { color: var(--accent); }

.nav-links {
  display: none;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta { display: none; }

@media (min-width: 1025px) {
  .nav {
    padding: 0 24px;
  }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none !important; }
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle:active {
  background: rgba(0,0,0,0.05);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 150;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i, 0) * 0.06s + 0.1s);
}

.mobile-menu.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-link.btn {
  margin-top: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(232, 97, 77, 0.06) 0%, transparent 50%);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-visual {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-3d-wrapper {
  perspective: 1000px;
}

.hero-3d-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.hero-card-shine {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 60%);
  z-index: 5;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-card-logo {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-card-title {
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.hero-card-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #e8f5e9;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 600;
  color: #2e7d32;
  white-space: nowrap;
}

.status-dot {
  width: 6px; height: 6px;
  background: #4caf50;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-card-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.hero-card-stats {
  display: flex;
  gap: 8px;
}

.stat-item {
  flex: 1;
  background: var(--bg-primary);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.6rem;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
}

.stat-ok { color: #4caf50; }

/* Hero desktop */
@media (min-width: 1025px) {
  .hero { padding-top: calc(var(--nav-height) + 80px); }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
  }

  .hero-content {
    text-align: left;
    margin: 0;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    max-width: 460px;
  }

  .hero-3d-card {
    transform: rotateY(-6deg) rotateX(3deg);
    padding: 20px;
  }

  .hero-card-logo { width: 36px; height: 36px; font-size: 18px; }
  .hero-card-title { font-size: 0.9rem; }
  .hero-card-status { font-size: 0.7rem; padding: 4px 12px; }
  .status-dot { width: 8px; height: 8px; }
  .stat-label { font-size: 0.68rem; }
  .stat-value { font-size: 1.1rem; }
  .stat-item { padding: 12px; }
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.pain-card {
  background: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pain-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pain-card { padding: 32px; }
}

/* ==========================================================================
   HOW IT WORKS (Steps)
   ========================================================================== */
.steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.step-card {
  width: 100%;
  max-width: 400px;
  background: var(--card-bg);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  position: relative;
  transition: var(--transition-smooth);
  text-align: center;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-accent);
}

.step-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 12px auto 12px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.step-connector {
  display: none;
}

.connector-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.connector-arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

@media (min-width: 1025px) {
  .steps-row {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  .step-card {
    flex: 1;
    max-width: 320px;
    padding: 32px;
  }
  .step-connector {
    display: flex;
    align-items: center;
    padding: 0 8px;
    margin-top: 40px;
  }
}

/* ==========================================================================
   DIFFERENTIALS (Bento Grid)
   ========================================================================== */
.diff-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diff-card {
  background: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  transition: var(--transition-smooth);
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.diff-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.diff-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.diff-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

.gateway-logos {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gateway-badge {
  padding: 5px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .diff-card { padding: 32px; }
  .diff-large { grid-column: span 2; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  scrollbar-width: none;
}

.pricing-scroll::-webkit-scrollbar { display: none; }

.pricing-grid {
  display: flex;
  gap: 16px;
  min-width: max-content;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  width: 260px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-highlight {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-catalog {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.plan-setup {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  border: 1px solid var(--card-border);
  white-space: nowrap;
}

.plan-setup i {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.plan-setup strong {
  color: var(--text-primary);
}

.plan-price {
  margin-bottom: 16px;
  white-space: nowrap;
}

.price-currency {
  font-size: 0.9rem;
  font-weight: 600;
}

.price-counter {
  font-size: 2rem;
  font-weight: 800;
}

.price-period {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.plan-extra {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 5px 0;
}

.plan-features li i {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

@media (min-width: 1200px) {
  .pricing-scroll {
    overflow-x: visible;
    margin: 0;
    padding: 0 0 16px;
  }
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    min-width: 0;
  }
  .pricing-card {
    width: auto;
    padding: 36px 24px;
  }
  .pricing-highlight {
    transform: scale(1.04);
  }
  .pricing-highlight:hover {
    transform: scale(1.06);
  }
  .price-counter { font-size: 2.25rem; }
}

/* ==========================================================================
   TRUST / SECURITY
   ========================================================================== */
.trust-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--section-py) 0;
}

.trust-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.trust-item {
  text-align: center;
  max-width: 300px;
}

.trust-icon {
  width: 56px; height: 56px;
  background: rgba(232, 97, 77, 0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-on-dark);
}

.trust-item p {
  font-size: 0.85rem;
  color: rgba(248, 247, 244, 0.6);
}

@media (min-width: 768px) {
  .trust-grid {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
  }
  .trust-icon { width: 64px; height: 64px; font-size: 1.8rem; }
}

/* ==========================================================================
   SOCIAL PROOF
   ========================================================================== */
#prova-social {
  padding: var(--section-py) 0;
}

.social-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 32px 24px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0,0,0,0.1);
}

.social-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.social-text {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .social-card { padding: 48px 40px; }
}

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

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--card-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.faq-icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 50%; left: 0;
  width: 18px; height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0; left: 50%;
  width: 2px; height: 18px;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ==========================================================================
   CTA & CONTACT FORM
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, rgba(232, 97, 77, 0.04) 0%, rgba(232, 97, 77, 0.12) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.cta-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-text p {
  font-size: clamp(0.9375rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-check i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--card-bg);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.input-wrapper {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  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='%235F6368' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.input-wrapper.error .form-control {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.input-wrapper.error::after {
  content: 'Campo obrigatório';
  display: block;
  color: #ef4444;
  font-size: 0.7rem;
  margin-top: 4px;
}

.form-success-message {
  text-align: center;
  padding: 32px 20px;
}

@media (min-width: 1025px) {
  .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .contact-form { padding: 40px; }
  .form-control { padding: 14px 16px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 60px 0 32px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(248, 247, 244, 0.55);
  max-width: 260px;
  line-height: 1.5;
}

.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(248, 247, 244, 0.8);
}

.footer-nav a {
  display: block;
  font-size: 0.8rem;
  color: rgba(248, 247, 244, 0.55);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(248, 247, 244, 0.35);
}

@media (min-width: 768px) {
  .site-footer { padding: 80px 0 40px; }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
}

/* ==========================================================================
   PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-3d-card {
    animation: none;
    transform: none;
  }
}
