/* ==========================================================================
   Space Protein - Design System & Modern Stylesheet
   Vanilla CSS with CSS Custom Properties, Glassmorphism & Micro-animations
   ========================================================================== */

/* --- 1. CSS VARIABLES & DESIGN TOKENS --- */
:root {
  /* Brand Green Spectrum */
  --verde-primario: #2e4d34;
  --verde-hover: #243d29;
  --verde-escuro: #1b2f20;
  --verde-fundo: #122016;
  --verde-claro: #4c8056;
  --verde-accent: #38a169;
  --verde-accent-hover: #2f855a;
  --verde-glow: rgba(56, 161, 105, 0.35);
  --verde-badge-bg: rgba(46, 77, 52, 0.08);

  /* Cream & Neutral Spectrum */
  --creme-bg: #faf9f5;
  --creme-card: #ffffff;
  --creme-alt: #f4f2e9;
  --creme-destaque: #e0ddc5;
  --creme-escuro: #c9c6ae;
  --creme-border: #e6e3d3;
  --creme-border-light: rgba(224, 221, 197, 0.3);

  /* Gold & Energy Accents */
  --dourado: #d4af37;
  --dourado-claro: #fef8e7;
  --dourado-border: rgba(212, 175, 55, 0.3);

  /* Text & Feedback */
  --texto-principal: #18241b;
  --texto-suave: #4a5c4e;
  --texto-muted: #5a6e5e;
  --texto-claro: #f4f6f4;
  --texto-creme: #e0ddc5;
  --erro: #e53e3e;
  --sucesso: #38a169;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(24, 36, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 36, 27, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 36, 27, 0.12);
  --shadow-xl: 0 24px 70px rgba(24, 36, 27, 0.16);
  --shadow-verde: 0 12px 32px rgba(46, 77, 52, 0.28);
  --shadow-glow: 0 0 40px rgba(56, 161, 105, 0.25);

  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Transitions */
  --trans-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--verde-fundo);
}

body {
  font-family: var(--font-body);
  background-color: var(--creme-bg);
  color: var(--texto-principal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --- 3. UTILITIES & CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--verde-badge-bg);
  color: var(--verde-primario);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  border: 1px solid rgba(46, 77, 52, 0.12);
}

.section-tag.light {
  background-color: rgba(224, 221, 197, 0.15);
  color: var(--creme-destaque);
  border-color: rgba(224, 221, 197, 0.25);
}

.section-tag.gold {
  background-color: var(--dourado-claro);
  color: #997300;
  border-color: var(--dourado-border);
}

.section-title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--texto-principal);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--texto-suave);
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.section-subtitle.light {
  color: rgba(248, 247, 242, 0.82);
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--trans-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-primario) 0%, var(--verde-escuro) 100%);
  color: var(--creme-destaque);
  box-shadow: var(--shadow-verde);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--verde-hover) 0%, var(--verde-fundo) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(46, 77, 52, 0.35);
  color: #ffffff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--verde-accent) 0%, #2f855a 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(56, 161, 105, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #2f855a 0%, #22543d 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(56, 161, 105, 0.45);
}

.btn-creme {
  background-color: var(--creme-destaque);
  color: var(--verde-escuro);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.btn-creme:hover {
  background-color: #ede9ce;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--creme-destaque);
  border: 1px solid rgba(224, 221, 197, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--creme-destaque);
  color: #ffffff;
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- 4. TOP ANNOUNCEMENT BAR --- */
.top-bar {
  background: linear-gradient(90deg, #182a1d 0%, #26422c 50%, #182a1d 100%);
  color: var(--creme-destaque);
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(224, 221, 197, 0.15);
  position: relative;
  z-index: 101;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.top-bar-badge {
  background-color: rgba(212, 175, 55, 0.2);
  color: #fce79a;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.top-bar a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.top-bar a:hover {
  color: var(--creme-destaque);
}

/* --- 5. NAVBAR HEADER --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(46, 77, 52, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 221, 197, 0.18);
  transition: all var(--trans-smooth);
}

.navbar.scrolled {
  background: rgba(27, 47, 32, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.navbar-logo img {
  height: 42px;
  width: auto;
  transition: transform var(--trans-fast);
}

.navbar-logo:hover img {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: rgba(248, 247, 242, 0.85);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--trans-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--creme-destaque);
  transition: width var(--trans-fast);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- 6. HERO SECTION --- */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background: radial-gradient(circle at 80% 30%, rgba(64, 105, 71, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(224, 221, 197, 0.3) 0%, transparent 50%),
              var(--creme-bg);
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 161, 105, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 77, 52, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 900;
  line-height: 1.04;
  color: var(--texto-principal);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--verde-primario);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(56, 161, 105, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto-principal);
}

.hero-bullet-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde-primario), var(--verde-claro));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(46, 77, 52, 0.2);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(46, 77, 52, 0.1);
  max-width: 520px;
}

.trust-avatars {
  display: flex;
}

.trust-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  background-color: var(--verde-primario);
  color: var(--creme-destaque);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 0.85rem;
  color: var(--texto-suave);
  line-height: 1.4;
}

.trust-text strong {
  color: var(--texto-principal);
}

/* Hero Media & Floating Badges (Subtle elegant frame) */
.hero-media-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, var(--verde-primario) 0%, var(--verde-escuro) 100%);
  box-shadow: 0 28px 80px rgba(24, 48, 28, 0.28);
  border: 3px solid rgba(46, 77, 52, 0.28);
}

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

.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(46, 77, 52, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.hero-float-badge-1 {
  bottom: 24px;
  left: -20px;
}

.hero-float-badge-2 {
  top: 30px;
  right: -20px;
  animation-delay: -2s;
}

.float-badge-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(56, 161, 105, 0.12);
  color: var(--verde-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.float-badge-text .val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--texto-principal);
  line-height: 1.2;
}

.float-badge-text .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--texto-muted);
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* --- 7. MARQUEE / TICKER --- */
.ticker-section {
  background: var(--verde-escuro);
  color: var(--creme-destaque);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(224, 221, 197, 0.15);
  border-bottom: 1px solid rgba(224, 221, 197, 0.15);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--verde-accent);
  box-shadow: 0 0 10px var(--verde-accent);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 8. MULTI-STEP LEAD FORM SECTION --- */
.lead-form-section {
  padding: 100px 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(64, 105, 71, 0.08) 0%, transparent 80%),
              var(--creme-alt);
  position: relative;
}

.form-wrapper-card {
  background: #ffffff;
  border: 1px solid var(--creme-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(46, 77, 52, 0.12);
  position: relative;
  overflow: hidden;
}

/* Progress indicator */
.form-progress-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.progress-segment {
  height: 6px;
  flex: 1;
  border-radius: var(--radius-pill);
  background-color: var(--creme-destaque);
  transition: background-color var(--trans-smooth);
}

.progress-segment.active {
  background-color: var(--verde-primario);
}

.form-step-container {
  display: none;
  animation: fadeIn 0.35s ease-out forwards;
}

.form-step-container.active {
  display: block;
}

.form-step-header {
  margin-bottom: 28px;
}

.form-step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-primario);
  margin-bottom: 6px;
}

.form-step-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--texto-principal);
  line-height: 1.2;
  margin-bottom: 8px;
}

.form-step-desc {
  font-size: 0.95rem;
  color: var(--texto-suave);
  line-height: 1.6;
}

.form-field-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--texto-principal);
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--texto-principal);
  background-color: var(--creme-bg);
  border: 2px solid var(--creme-border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--trans-fast), background-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--verde-primario);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(46, 77, 52, 0.12);
}

.form-input.has-error, .form-select.has-error {
  border-color: var(--erro);
  background-color: #fff5f5;
  animation: shake 0.35s ease-in-out;
}

.form-error-msg {
  color: var(--erro);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

/* Autocomplete de Cidades */
.form-autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid var(--creme-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(18, 32, 22, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
  max-height: 250px;
  overflow-y: auto;
  z-index: 999;
  list-style: none;
  padding: 6px;
  margin: 0;
  display: none;
  overscroll-behavior: contain;
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: var(--creme-border);
  border-radius: 999px;
}

.autocomplete-dropdown.is-open {
  display: block;
  animation: autocompleteFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texto-principal);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  user-select: none;
  transition: background-color var(--trans-fast), color var(--trans-fast);
}

.autocomplete-item:hover,
.autocomplete-item.is-active {
  background-color: rgba(46, 77, 52, 0.09);
  color: var(--verde-primario);
}

.autocomplete-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.autocomplete-item-icon {
  flex-shrink: 0;
  color: var(--verde-primario);
  opacity: 0.7;
}

.autocomplete-item:hover .autocomplete-item-icon,
.autocomplete-item.is-active .autocomplete-item-icon {
  opacity: 1;
}

.autocomplete-item mark {
  background-color: rgba(56, 161, 105, 0.18);
  color: var(--verde-primario);
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

.autocomplete-badge-uf {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background-color: rgba(46, 77, 52, 0.08);
  color: var(--verde-primario);
  flex-shrink: 0;
}

.autocomplete-empty {
  padding: 16px 14px;
  font-size: 0.88rem;
  color: var(--texto-muted);
  text-align: center;
}

.form-info-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--texto-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Success screen (Step 4) */
.form-success-content {
  text-align: center;
  padding: 20px 0;
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(56, 161, 105, 0.15);
  color: var(--verde-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(56, 161, 105, 0.2);
}

/* --- 9. COMPARISON MATRIX SECTION --- */
.comparison-section {
  padding: 100px 0;
  background-color: var(--creme-bg);
}

.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--verde-badge-bg);
  color: var(--verde-primario);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin: 0 auto 20px;
  text-align: center;
  border: 1px solid rgba(46, 77, 52, 0.14);
}

.table-scroll-hint svg {
  stroke: currentColor;
  flex-shrink: 0;
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--creme-border);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 620px;
}

.comparison-table th, .comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--creme-border);
}

.comparison-table th {
  font-size: 1rem;
  font-weight: 800;
  color: var(--texto-principal);
  background-color: var(--creme-alt);
}

/* No rounded corners on header cell to prevent white gaps */
.comparison-table th.col-space {
  background: linear-gradient(180deg, var(--verde-primario) 0%, var(--verde-escuro) 100%);
  color: var(--creme-destaque);
  border-radius: 0;
  text-align: center;
  position: relative;
}

.comparison-table td.col-space {
  background-color: rgba(46, 77, 52, 0.04);
  font-weight: 700;
  color: var(--verde-primario);
  text-align: center;
  border-left: 2px solid rgba(46, 77, 52, 0.15);
  border-right: 2px solid rgba(46, 77, 52, 0.15);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--verde-accent);
  font-weight: 700;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a0aec0;
}

/* --- 10. PRODUCT PORTFOLIO SHOWCASE --- */
.products-section {
  padding: 100px 0;
  background-color: var(--creme-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--creme-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--trans-smooth), box-shadow var(--trans-smooth), border-color var(--trans-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(46, 77, 52, 0.3);
}

.product-card:active {
  transform: scale(0.985);
}

.product-card:focus-visible {
  outline: 2px solid var(--verde-primario);
  outline-offset: 3px;
}

.product-image-box {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--creme-bg);
  overflow: hidden;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Focus positioning for Shake item */
.product-image-box img.img-shake-focus {
  object-position: center 10%;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

/* Fast and crisp badge tags */
.product-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(24, 36, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--creme-destaque);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 3;
  opacity: 1;
  transition: transform 0.15s ease, background 0.15s ease;
  pointer-events: none;
}

.product-card:hover .product-badge-tag {
  background: rgba(24, 36, 27, 0.98);
  transform: translateY(-1px);
}

.product-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(24, 36, 27, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  z-index: 3;
}

.product-card:hover .product-zoom-hint,
.product-card:focus-visible .product-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Dispositivos móveis e telas touch: Exibe permanentemente a dica de ampliação */
@media (hover: none), (max-width: 768px) {
  .product-zoom-hint {
    opacity: 1;
    transform: translateY(0);
    background: rgba(24, 36, 27, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 480px) {
  .product-zoom-hint {
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }
}

.product-info-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--texto-principal);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-footer-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.macro-pill {
  background-color: rgba(46, 77, 52, 0.08);
  color: var(--verde-primario);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* --- PRODUCT LIGHTBOX MODAL --- */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(18, 32, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overscroll-behavior: contain;
  touch-action: none;
}

.product-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--creme-border);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-modal-backdrop.is-open .product-modal-container {
  transform: scale(1) translateY(0);
}

/* Supressão estrita de Sticky CTA e WhatsApp enquanto o modal estiver aberto */
body.modal-open .mobile-sticky-cta,
body.modal-open .whatsapp-float {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(120%) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(24, 36, 27, 0.85);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.product-modal-close:hover {
  background: var(--verde-primario);
  transform: scale(1.1) rotate(90deg);
}

.product-modal-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  background: var(--creme-bg);
  overflow: hidden;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal-media img.img-shake-focus {
  object-position: center 12%;
}

.product-modal-media .modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}

.product-modal-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
}

.product-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--texto-principal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-modal-desc {
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-modal-macros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-modal-actions {
  margin-top: auto;
}

/* --- 11. PILLARS / ADVANTAGES SECTION --- */
.pillars-section {
  padding: 100px 0;
  background-color: var(--creme-bg);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--creme-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 77, 52, 0.2);
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46, 77, 52, 0.1) 0%, rgba(56, 161, 105, 0.15) 100%);
  color: var(--verde-primario);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.pillar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--texto-principal);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--texto-suave);
  line-height: 1.7;
}

/* --- 12. OPERATION MODELS (DE CASA OU LOJA) --- */
.models-section {
  padding: 100px 0;
  background-color: var(--creme-alt);
}

.model-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.model-image-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(24, 48, 28, 0.28);
  border: 3px solid rgba(46, 77, 52, 0.28);
  aspect-ratio: 1920 / 2240;
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--verde-primario) 0%, var(--verde-escuro) 100%);
}

.model-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.model-content-col {
  display: flex;
  flex-direction: column;
}

.model-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.model-step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.model-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--verde-primario);
  color: var(--creme-destaque);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(46, 77, 52, 0.25);
}

.model-step-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texto-principal);
  margin-bottom: 4px;
}

.model-step-text p {
  font-size: 0.92rem;
  color: var(--texto-suave);
  line-height: 1.6;
}

/* --- 13. MARKET STATS SECTION (BALANCED SPACING & TYPOGRAPHY) --- */
.market-section {
  padding: 100px 0;
  background-color: #122016; /* Base verde mineral profunda */
  background-image:
    /* L1: Mesh verde botânico difuso */
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(56, 161, 105, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(46, 77, 52, 0.25) 0%, transparent 60%),
    /* L2: Micro-pontos cremes suaves (estilo Ourograf/Healthy) */
    radial-gradient(circle, rgba(224, 221, 197, 0.10) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 28px 28px;
  background-position: 0 0, 0 0, 0 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Micro-noise overlay sutil na seção de mercado */
.market-section::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: url(#spaceGrain);
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}

.market-section .container {
  position: relative;
  z-index: 2;
}

.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(224, 221, 197, 0.20);
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  transition: transform var(--trans-fast), background var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(224, 221, 197, 0.40);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.stat-value {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--creme-destaque);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(248, 247, 242, 0.85);
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

.stat-source {
  display: block;
  font-size: 0.74rem;
  color: rgba(248, 247, 242, 0.55);
  margin-top: 4px;
  font-weight: 500;
}

/* --- 14. FAQ ACCORDION SECTION (PERFECTLY CENTERED TOGGLE ICON) --- */
.faq-section {
  padding: 100px 0;
  background-color: var(--creme-bg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--creme-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq-item.active {
  border-color: var(--verde-primario);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texto-principal);
  cursor: pointer;
  text-align: left;
  transition: color var(--trans-fast);
}

.faq-question:hover {
  color: var(--verde-primario);
}

/* Centered circular toggle icon with SVG */
.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--verde-badge-bg);
  color: var(--verde-primario);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--trans-smooth), background-color var(--trans-fast), color var(--trans-fast);
}

.faq-toggle-icon svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  margin: auto;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background-color: var(--verde-primario);
  color: #ffffff;
}

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

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--texto-suave);
  line-height: 1.8;
}

/* --- 15. FINAL CTA BANNER --- */
.final-cta-section {
  padding: 110px 0;
  background-color: #122016;
  background-image:
    radial-gradient(ellipse 70% 60% at center, #234029 0%, #122016 100%),
    radial-gradient(circle, rgba(224, 221, 197, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  filter: url(#spaceGrain);
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 161, 105, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

/* --- 16. FOOTER --- */
.footer {
  background: #142217;
  color: rgba(248, 247, 242, 0.7);
  padding: 70px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
  height: 44px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(248, 247, 242, 0.7);
  font-size: 0.9rem;
  transition: color var(--trans-fast);
}

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

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(248, 247, 242, 0.45);
}

/* --- 17. FLOATING ACTIONS & STICKY MOBILE CTA --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), bottom var(--trans-smooth), opacity var(--trans-fast), visibility var(--trans-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.6;
  animation: pingEffect 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes pingEffect {
  75%, 100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Sticky Bottom Bar on Mobile */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 34, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(224, 221, 197, 0.2);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
  z-index: 98;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.mobile-sticky-cta .btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
}

/* --- 18. SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* --- 19. RESPONSIVE BREAKPOINTS (ALL DEVICES & ULTRA-NARROW SCREENS) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bullets {
    align-items: flex-start;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-badge {
    justify-content: center;
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Flexibilidade Total: Title and text appear FIRST, image second */
  .model-showcase-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .model-content-col {
    order: 1;
  }

  .model-image-container {
    order: 2;
    margin: 10px auto 0;
    max-width: 440px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 0.78rem;
    padding: 12px 16px;
  }

  .top-bar-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    width: 100%;
  }

  .navbar-logo img {
    height: 32px;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .navbar-container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero {
    padding: 50px 0 70px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  }

  .hero-float-badge-1 {
    left: 4px;
    bottom: -12px;
  }

  .hero-float-badge-2 {
    right: 4px;
    top: -12px;
  }

  .table-scroll-hint {
    display: inline-flex;
  }

  .form-wrapper-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .form-step-title {
    font-size: 1.45rem;
  }

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

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

  .market-stats-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-backdrop {
    padding: 12px;
  }

  .product-modal-container {
    border-radius: var(--radius-lg);
  }

  .product-modal-body {
    padding: 22px 18px 20px;
  }

  .product-modal-title {
    font-size: 1.35rem;
  }

  .footer-top-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .mobile-sticky-cta {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* Ultra-Narrow Mobile Screens (320px to 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-bullets {
    max-width: 100%;
  }

  .hero-bullet {
    font-size: 0.92rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .hero-image-card {
    max-width: 310px;
  }

  .hero-float-badge {
    padding: 8px 12px;
  }

  .hero-float-badge-1 {
    left: 0;
    bottom: -10px;
  }

  .hero-float-badge-2 {
    right: 0;
    top: -10px;
  }

  .float-badge-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .float-badge-text .val {
    font-size: 0.92rem;
  }

  .float-badge-text .lbl {
    font-size: 0.68rem;
  }

  .section-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }

  .form-wrapper-card {
    padding: 22px 15px;
    border-radius: 18px;
  }

  .form-step-title {
    font-size: 1.3rem;
  }

  .form-input, .form-select {
    font-size: 1rem;
    padding: 12px 14px;
    min-height: 50px;
  }

  .comparison-table th, .comparison-table td {
    padding: 14px 12px;
    font-size: 0.82rem;
  }

  .pillar-card {
    padding: 26px 20px;
  }

  .stat-card {
    padding: 28px 16px;
    min-height: 180px;
  }

  .stat-value {
    font-size: 2.1rem;
  }

  .faq-question {
    padding: 18px 16px;
    font-size: 0.95rem;
    gap: 12px;
  }

  .faq-answer-inner {
    padding: 0 16px 18px;
    font-size: 0.88rem;
  }

  .product-modal-backdrop {
    padding: 10px;
  }

  .product-modal-container {
    border-radius: 18px;
    max-height: 88vh;
  }

  .product-modal-body {
    padding: 18px 14px;
  }

  .product-modal-title {
    font-size: 1.25rem;
  }

  .product-modal-desc {
    font-size: 0.88rem;
  }

  .product-modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .footer {
    padding: 50px 0 calc(95px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-sticky-cta {
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Form Shake Error */
@keyframes shakeReflow {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.form-input.has-error, .form-select.has-error {
  border-color: var(--erro) !important;
  animation: shakeReflow 0.4s ease-in-out;
}

.mobile-sticky-cta {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.mobile-sticky-cta.is-hidden {
  transform: translateY(150%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* --- Multi-step Form Navigation & Back Button --- */
.form-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-advance {
  flex: 1;
  justify-content: center;
}

.btn-back {
  background: transparent;
  color: var(--texto-suave);
  border: 1.5px solid var(--creme-border);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans-fast);
  white-space: nowrap;
  min-height: 52px;
  user-select: none;
}

.btn-back svg {
  flex-shrink: 0;
  transition: transform var(--trans-fast);
}

.btn-back:hover {
  background: rgba(46, 77, 52, 0.06);
  border-color: var(--verde-primario);
  color: var(--verde-primario);
}

.btn-back:hover svg {
  transform: translateX(-3px);
}

.btn-back:focus-visible {
  outline: 2px solid var(--verde-primario);
  outline-offset: 2px;
}

/* --- VS CARDS (COMPARISON) --- */
.vs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  margin-top: 40px;
}

.vs-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.vs-card-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.vs-bad {
  background: rgba(229, 62, 62, 0.03);
  border: 1px solid rgba(229, 62, 62, 0.1);
}

.vs-bad .vs-card-title {
  color: var(--texto-suave);
}

.vs-good {
  background: var(--verde-primario);
  border: 1px solid var(--verde-claro);
  box-shadow: var(--shadow-verde);
  transform: scale(1.02);
}

.vs-good .vs-card-title {
  color: var(--dourado);
}

.vs-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dourado);
  color: var(--verde-fundo);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.vs-bad .vs-list li {
  color: var(--texto-muted);
}

.vs-good .vs-list li {
  color: var(--texto-claro);
}

.cross {
  color: var(--erro);
  font-weight: bold;
}

.check {
  color: var(--dourado);
  font-weight: bold;
}

@media (max-width: 768px) {
  .vs-good {
    transform: none;
  }
}

@media (max-width: 480px) {
  .form-actions-row {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .btn-advance, .btn-back {
    width: 100%;
  }
  .vs-card {
    padding: 28px 20px;
  }
}

/* ── Acessibilidade Vestibular: Respeito a Movimento Reduzido ── */
@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;
  }
}

/* ── Acessibilidade: Live Regions & Screen Readers ── */
.sr-only-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


