/* ============================================
   ECO FONTE — CALCULADORA CARRO ELÉTRICO
   Design System & Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-primary: #FE8F00;
  --color-primary-hover: #E57E00;
  --color-primary-light: rgba(254, 143, 0, 0.12);
  --color-primary-glow: rgba(254, 143, 0, 0.35);
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-light-gray: #F5F5F5;
  --color-mid-gray: #E0E0E0;
  --color-text-gray: #6B6B6B;
  --color-dark: #1A1A1A;
  --color-darker: #111111;
  --color-black: #0D0D0D;

  /* Typography */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --font-size-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --font-size-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --font-size-md: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  --font-size-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --font-size-xl: clamp(1.4rem, 1.1rem + 1.5vw, 2rem);
  --font-size-2xl: clamp(1.8rem, 1.3rem + 2.5vw, 2.8rem);
  --font-size-3xl: clamp(2.2rem, 1.5rem + 3.5vw, 3.6rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 0 40px rgba(254, 143, 0, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

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

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

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- Section Base ---------- */
.section {
  padding: var(--space-4xl) 0;
}

/* ============================================
   HEADER (NON-FIXED, CENTERED LOGO)
   ============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: var(--space-lg) 0;
  background: transparent;
}

.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  display: block;
}

.header__logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ============================================
   HERO SECTION (ONE PAGE SPLIT SCREEN)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: 
    linear-gradient(to right, rgba(13, 13, 13, 0.85) 35%, rgba(13, 13, 13, 0.3) 100%), 
    url('../img/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 60px 0;
  overflow: hidden;
}

/* Fallback/Overlay grid patterns */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(254, 143, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(254, 143, 0, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

.hero__container-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: left;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: var(--color-primary-light);
  border: 1px solid rgba(254, 143, 0, 0.25);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease forwards;
}

.hero__badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero__title .highlight {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--font-size-base);
  color: #CCCCCC;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #AAA;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Form Wrapper on Right Column */
.hero__form-wrapper {
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
  width: 100%;
}

.form-card {
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  max-width: 500px;
  margin: 0 auto;
}

.form-card__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.form-card__title {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 4px;
}

.form-card__subtitle {
  font-size: var(--font-size-sm);
  color: #AAA;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #DDD;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: var(--color-primary);
}

.form-input,
.form-select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: #777;
  font-weight: 400;
}

.form-input:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-input.error,
.form-select.error {
  border-color: #DC3545;
  background: rgba(220, 53, 69, 0.05);
}

.form-error {
  font-size: var(--font-size-xs);
  color: #DC3545;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 4px;
}

.form-error.visible {
  display: flex;
}

.form-error svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Select styling */
.form-select {
  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='%23FE8F00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-select option {
  background: var(--color-darker);
  color: var(--color-white);
}

/* Custom Searchable Select */
.searchable-select {
  position: relative;
}

.searchable-select__trigger {
  width: 100%;
  height: 44px;
  padding: 0 36px 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
  position: relative;
  text-align: left;
}

.searchable-select__trigger::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  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='%23FE8F00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--transition-fast);
}

.searchable-select.open .searchable-select__trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.searchable-select__trigger.placeholder {
  color: #777;
  font-weight: 400;
}

.searchable-select__trigger:focus,
.searchable-select.open .searchable-select__trigger {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.searchable-select__trigger.error {
  border-color: #DC3545;
  background: rgba(220, 53, 69, 0.05);
}

.searchable-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--color-darker);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: none;
  overflow: hidden;
}

.searchable-select.open .searchable-select__dropdown {
  display: block;
  animation: dropdownOpen 0.2s ease forwards;
}

.searchable-select__search {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-white);
}

.searchable-select__search::placeholder {
  color: #666;
}

.searchable-select__options {
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.searchable-select__options::-webkit-scrollbar {
  width: 4px;
}

.searchable-select__options::-webkit-scrollbar-track {
  background: transparent;
}

.searchable-select__options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.searchable-select__option {
  padding: 8px 12px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #CCC;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.searchable-select__option:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.searchable-select__option.selected {
  background: var(--color-primary);
  color: var(--color-white);
}

.searchable-select__no-results {
  padding: 10px 12px;
  font-size: var(--font-size-sm);
  color: #777;
  text-align: center;
}

/* Toggle (Sim/Não) */
.toggle-group {
  display: flex;
  gap: var(--space-sm);
}

.toggle-option {
  flex: 1;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #AAA;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.toggle-option.active {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.toggle-option.error {
  border-color: #DC3545;
  background: rgba(220, 53, 69, 0.05);
}

/* Form submit button */
.form-submit {
  margin-top: var(--space-sm);
}

.btn-submit {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(254, 143, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(254, 143, 0, 0.5);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Loading spinner */
.btn-submit .spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading svg {
  display: none;
}

/* ============================================
   RESULT SECTION
   ============================================ */
.result-section {
  display: none;
  padding: var(--space-4xl) 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.result-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(254, 143, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(254, 143, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.result-section.visible {
  display: block;
}

.result-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.result-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--color-primary-light);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.result-header__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .result-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.result-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  min-height: 300px;
  display: flex;
}

.result-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.result-item {
  text-align: center;
  padding: var(--space-lg) 0;
}

.result-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.result-item__label {
  font-size: var(--font-size-sm);
  color: #888;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.result-item__value {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -1px;
}

.result-item__value--white {
  color: var(--color-white);
}

.result-item__unit {
  font-size: var(--font-size-base);
  color: #888;
  font-weight: 500;
}

/* Good news banner */
.result-banner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: var(--space-xl) auto 0;
  background: linear-gradient(135deg, var(--color-primary), #E57E00);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
}

.result-banner__text {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
}

.result-banner__icon {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-sm);
  color: var(--color-white);
}

.result-banner__icon svg {
  width: 100%;
  height: 100%;
}

/* CRM CTA */
.result-cta {
  text-align: center;
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.btn-cta-site {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  background: transparent;
  color: var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: 700;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-cta-site:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(254, 143, 0, 0.4);
}

.btn-cta-site svg {
  width: 20px;
  height: 20px;
}

.btn-cta-crm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 18px 36px;
  background: var(--color-white);
  color: var(--color-dark);
  font-size: var(--font-size-md);
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-cta-crm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  background: var(--color-off-white);
}

.btn-cta-crm svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
  display: none;
}

.why-section.visible {
  display: block;
}

.why-section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.why-section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--color-primary-light);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
}

.why-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto var(--space-2xl);
}

.why-card {
  background: var(--color-light-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.why-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.why-card__icon svg {
  width: 24px;
  height: 24px;
}

.why-card__title {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.why-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-gray);
  line-height: 1.7;
}

.why-explanation {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.why-explanation__text {
  font-size: var(--font-size-base);
  color: var(--color-text-gray);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.why-explanation__highlight {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.6;
  padding: var(--space-lg);
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #222222;
  padding: var(--space-3xl) 0 var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #DDDDDD;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: var(--space-2xl);
  align-items: start;
}

.footer__about {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__logo {
  display: flex;
  justify-content: flex-start;
}

.footer__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer__about-text {
  font-size: 14px;
  line-height: 1.7;
  color: #AAAAAA;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #CCCCCC;
}

.footer__list-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer__list-item a:hover {
  color: var(--color-primary);
}

.footer__cnpj {
  font-size: 14px;
  color: #CCCCCC;
  margin-bottom: var(--space-sm);
}

.footer__lgpd-box {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-sm);
}

.footer__lgpd-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__lgpd-text {
  font-size: 12px;
  line-height: 1.6;
  color: #999999;
}

.footer__bottom {
  margin-top: var(--space-3xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer__text {
  font-size: var(--font-size-xs);
  color: #666666;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes dropdownOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__container-grid {
    gap: var(--space-xl);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px 0;
    background-image: 
      linear-gradient(to bottom, rgba(13, 13, 13, 0.95) 60%, rgba(13, 13, 13, 0.85) 100%), 
      url('../img/background.png');
  }

  .hero__container-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__content {
    text-align: center;
  }
  
  .hero__badge {
    margin-bottom: var(--space-lg);
  }

  .hero__trust {
    align-items: center;
  }

  .form-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .result-card {
    padding: var(--space-lg);
  }

  .result-banner {
    padding: var(--space-md) var(--space-lg);
  }

  .btn-cta-crm {
    width: 100%;
    padding: 16px 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer__logo {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.5rem, 1.1rem + 2vw, 1.8rem);
  }

  .form-card {
    padding: var(--space-md);
  }

  .btn-submit {
    height: 44px;
  }

  .result-item__value {
    font-size: var(--font-size-xl);
  }
}
