/* ==========================================================================
   iGreen Energy — Dark Version Stylesheet
   ========================================================================== */

:root {
  --bg-main: #060907;
  --bg-surface-1: #0c120e;
  --bg-surface-2: #121b14;
  --bg-card: rgba(15, 24, 18, 0.7);
  --bg-card-hover: rgba(20, 32, 24, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(74, 222, 128, 0.22);
  --border-emerald-glow: rgba(74, 222, 128, 0.5);
  
  --green-primary: #22c55e;
  --green-light: #4ade80;
  --green-dark: #15803d;
  --green-neon: #00ff66;
  --green-glow: rgba(34, 197, 94, 0.25);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.2);
  --shadow-button: 0 10px 25px -5px rgba(34, 197, 94, 0.4), 0 0 15px rgba(34, 197, 94, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Background Atmospheric Ambient Lights */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-glow-top {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100vw;
  height: 650px;
  background: radial-gradient(ellipse at top, rgba(34, 197, 94, 0.18) 0%, rgba(16, 185, 129, 0.08) 45%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow-mid {
  position: absolute;
  top: 45%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.07) 0%, transparent 65%);
  filter: blur(90px);
}

.ambient-glow-bottom {
  position: absolute;
  bottom: 0;
  left: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  filter: blur(100px);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 60%, transparent 100%);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 800px;
}

.container-form {
  max-width: 520px;
}

/* Typography & Headings */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--green-light);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
  margin-bottom: 1rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-light);
  box-shadow: 0 0 10px var(--green-light);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px 14px 26px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #16c753 0%, #10a844 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 3.2vw, 1.1rem);
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px -5px rgba(22, 199, 83, 0.55), 0 0 25px rgba(22, 199, 83, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  max-width: 96vw;
  box-sizing: border-box;
}

.btn-cta > span:first-of-type {
  white-space: nowrap;
  display: inline-block;
}

.btn-cta .btn-arrow-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-cta:hover .btn-arrow-badge {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.34);
}

.btn-cta .btn-arrow-badge svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  stroke-width: 2.6;
}

@media (max-width: 480px) {
  .btn-cta {
    font-size: clamp(0.68rem, 3.1vw, 0.88rem);
    padding: 11px 12px 11px 16px;
    gap: 8px;
    max-width: 98vw;
  }
  .btn-cta .btn-arrow-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }
  .btn-cta .btn-arrow-badge svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 360px) {
  .btn-cta {
    font-size: clamp(0.60rem, 2.8vw, 0.78rem);
    padding: 9px 8px 9px 12px;
    gap: 6px;
  }
  .btn-cta .btn-arrow-badge {
    width: 26px;
    height: 26px;
    min-width: 26px;
  }
  .btn-cta .btn-arrow-badge svg {
    width: 13px;
    height: 13px;
  }
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 0.6s ease;
  transform: skewX(-20deg);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -5px rgba(22, 199, 83, 0.75), 0 0 35px rgba(22, 199, 83, 0.45);
  filter: brightness(1.06);
}

.btn-cta:hover::before {
  transform: translateX(200%) skewX(-20deg);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta svg {
  transition: transform 0.3s ease;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 54px 0 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero-section {
    padding: 44px 0 34px;
  }
}

.hero-logo-wrapper {
  display: none;
}

.hero-title {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.25;
  max-width: 980px;
  margin: 18px auto 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.headline-highlight-box {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 12px;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: rotate(-1.5deg);
  margin: 0 6px;
  white-space: nowrap;
  vertical-align: baseline;
  line-height: inherit;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-br {
  display: block;
}

/* Hero Highlights & Subtitle */
.hero-highlights-container {
  margin: 0 auto 32px;
  max-width: 760px;
}

.hero-highlights-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.28);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.95rem;
  color: #f8fafc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.hero-highlight-pill:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(74, 222, 128, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.pill-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.hero-highlight-pill strong {
  color: var(--green-light);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* ==========================================================================
   Smart VSL Video Player (Zero Delay & Reference Aesthetics)
   ========================================================================== */
.video-wrapper {
  max-width: 860px;
  margin: 0 auto 36px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(34, 197, 94, 0.16);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.95), 0 0 50px rgba(34, 197, 94, 0.26);
}

/* ==========================================================================
   Funnel Progress Stepper (Mapeador de Etapas)
   ========================================================================== */
.stepper-back-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.stepper-back-wrapper.bottom-back-wrapper {
  margin-top: 24px;
  margin-bottom: 6px;
}

.btn-stepper-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #79a686;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(74, 222, 128, 0.18);
  transition: all 0.22s ease;
}

.btn-stepper-back:hover {
  color: #ffffff;
  background: rgba(0, 255, 102, 0.12);
  border-color: rgba(0, 255, 102, 0.4);
  transform: translateX(-2px);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
}

.btn-stepper-back svg {
  transition: transform 0.2s ease;
  color: #00ff66;
}

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

@media (max-width: 480px) {
  .stepper-back-wrapper {
    margin-bottom: 16px;
  }
  .btn-stepper-back {
    font-size: 0.72rem;
    padding: 5px 14px;
    gap: 6px;
  }
}

.funnel-stepper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 32px;
  padding: 0 12px;
  user-select: none;
}

.stepper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.stepper-node {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.35s ease;
}

.stepper-step.completed .stepper-dot {
  background: #00ff66;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.6), 0 0 20px rgba(0, 255, 102, 0.3);
}

.stepper-step.active .stepper-dot {
  width: 13px;
  height: 13px;
  background: #00ff66;
  box-shadow: 0 0 14px #00ff66, 0 0 28px rgba(0, 255, 102, 0.85);
  animation: stepperActiveGlow 2s infinite ease-in-out;
}

@keyframes stepperActiveGlow {
  0%, 100% {
    box-shadow: 0 0 12px #00ff66, 0 0 24px rgba(0, 255, 102, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px #00ff66, 0 0 36px rgba(0, 255, 102, 0.95);
    transform: scale(1.15);
  }
}

.stepper-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 6px 24px;
  position: relative;
  z-index: 1;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.stepper-line.completed {
  background: #00ff66;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.stepper-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: color 0.35s ease;
}

.stepper-step.completed .stepper-label {
  color: rgba(255, 255, 255, 0.65);
}

.stepper-step.active .stepper-label {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

@media (max-width: 480px) {
  .funnel-stepper {
    margin-bottom: 20px;
    padding: 0 4px;
  }
  .stepper-label {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }
  .stepper-node {
    width: 18px;
    height: 18px;
  }
  .stepper-dot {
    width: 8px;
    height: 8px;
  }
  .stepper-step.active .stepper-dot {
    width: 11px;
    height: 11px;
  }
  .stepper-line {
    margin: 0 3px 20px;
  }
}

.video-player-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  user-select: none;
}

.main-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  cursor: pointer;
  border-radius: inherit;
}

/* Smart Central Play Overlay */
.smart-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.smart-play-overlay.playing,
.video-player-box.has-started .smart-play-overlay {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.smart-play-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16c753 0%, #10a844 100%);
  border: 3px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 35px rgba(22, 199, 83, 0.8), 0 0 15px rgba(0, 255, 102, 0.5), 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  animation: smartPulsePlay 2s infinite ease-in-out;
}

.smart-play-btn::before,
.smart-play-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2.5px solid #00ff66;
  opacity: 0.85;
  animation: radarRipple 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
}

.smart-play-btn::after {
  animation-delay: 0.8s;
}

.smart-play-btn svg {
  margin: 0;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
  position: relative;
  z-index: 2;
}

@keyframes radarRipple {
  0% {
    transform: scale(1);
    opacity: 0.95;
    border-color: #00ff66;
  }
  60% {
    opacity: 0.45;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
    border-color: rgba(0, 255, 102, 0);
  }
}

@keyframes smartPulsePlay {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(22, 199, 83, 0.7), 0 0 15px rgba(0, 255, 102, 0.5), 0 8px 25px rgba(0, 0, 0, 0.6);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 55px rgba(22, 199, 83, 0.95), 0 0 30px rgba(0, 255, 102, 0.8), 0 12px 30px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 640px) {
  .smart-play-btn {
    width: 64px;
    height: 64px;
  }
  .smart-play-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* Bottom Controls Bar */
.smart-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  padding: 24px 16px 14px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-player-box:hover .smart-controls-bar,
.video-player-box.touch-active .smart-controls-bar,
.video-player-box.paused .smart-controls-bar {
  opacity: 1;
  pointer-events: auto;
}

/* Controls Row */
.smart-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smart-controls-left,
.smart-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.smart-ctrl-btn {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s, background 0.2s, transform 0.15s, border-color 0.2s;
}

.smart-ctrl-btn:hover {
  color: #00ff66;
  background: rgba(0, 255, 102, 0.15);
  border-color: rgba(0, 255, 102, 0.4);
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .hero-section {
    padding: 12px 0 20px;
  }
  .funnel-stepper {
    margin: 0 auto 12px;
    padding: 0 4px;
  }
  .hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .headline-highlight-box {
    padding: 2px 10px;
    border-radius: 8px;
    margin: 0 2px;
  }
  .hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .video-wrapper {
    margin: 0 auto 16px;
  }
  .video-top-badge {
    top: 8px;
    padding: 4px 10px;
    font-size: 0.65rem;
    gap: 5px;
  }
  .audio-equalizer {
    height: 10px;
  }
  .audio-equalizer span {
    width: 2px;
  }
  .video-play-content {
    gap: 10px;
  }
  .play-button-pulse {
    width: 68px;
    height: 68px;
  }
  .play-icon-circle {
    width: 60px;
    height: 60px;
  }
  .play-icon-circle svg {
    width: 26px;
    height: 26px;
  }
  .smart-controls-bar {
    padding: 12px 10px 8px;
    gap: 6px;
  }
  .smart-time-display {
    font-size: 0.72rem;
  }
}

/* Down scroll arrow */
.scroll-indicator {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ==========================================================================
   Section: Simulação (Formulário)
   ========================================================================== */
.section-simulacao {
  padding: 80px 0 90px;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.form-card-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.form-card-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-xl) + 1px);
  padding: 1px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.4) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(34, 197, 94, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(34, 197, 94, 0.08);
}

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

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.25s ease;
}

.form-input::placeholder {
  color: #52525b;
}

.form-input:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2), 0 0 20px rgba(34, 197, 94, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}

.form-select option {
  background-color: #121914;
  color: #ffffff;
}

.form-help {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Phone Confirmation Box */
.phone-confirm-box {
  margin-top: 12px;
  padding: 16px;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: confirmSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.phone-confirm-question {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.phone-confirm-question strong {
  color: var(--green-light);
  font-weight: 700;
}

.phone-confirm-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-confirm-yes {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: #22c55e;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.2s ease;
}

.btn-confirm-yes:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.btn-confirm-no {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-confirm-no:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.phone-confirmed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
}

.form-security {
  margin-top: 14px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.section-trust-bar {
  padding: 0 0 60px;
  position: relative;
  z-index: 1;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  width: 100%;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 10px 18px;
  border-radius: 9999px;
  color: #f8fafc;
  font-size: 0.96rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.trust-badge-item:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(74, 222, 128, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.trust-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  border: 1.5px solid var(--green-light);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

/* ==========================================================================
   Section: Como Funciona?
   ========================================================================== */
.section-como-funciona {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 14, 0.6) 100%);
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green-light), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-emerald);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 197, 94, 0.15);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 16px;
  display: inline-block;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Section: Por que escolher a iGreen
   ========================================================================== */
.section-features {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-emerald);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 197, 94, 0.12);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.08);
  background: rgba(34, 197, 94, 0.2);
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Section: Final CTA
   ========================================================================== */
.section-final-cta {
  padding: 100px 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.cta-box-glow {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 36px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(34, 197, 94, 0.15) 0%, rgba(12, 18, 14, 0.85) 70%);
  border: 1px solid rgba(74, 222, 128, 0.3);
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(34, 197, 94, 0.15);
  backdrop-filter: blur(20px);
}

.final-cta-btn {
  margin-top: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #070b08 0%, #030504 100%);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(74, 222, 128, 0.25));
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 20px;
}

.footer-legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-legal-pill svg {
  color: var(--green-light);
  flex-shrink: 0;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--green-light);
  transform: translateX(3px);
}

.footer-security-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.trust-ssl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #52525b;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   Modal / Success Notification
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-emerald-glow);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(34, 197, 94, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid var(--green-light);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.35);
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}

.modal-btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(37, 211, 102, 0.55);
}

.modal-close-btn {
  margin-top: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 30px 0 40px;
  }
  
  .hero-logo {
    height: 36px;
  }

  .hero-title {
    font-size: clamp(2rem, 6.8vw, 2.7rem);
    line-height: 1.16;
  }
  
  .video-top-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
    top: 10px;
    max-width: 92%;
    gap: 6px;
    letter-spacing: 0.03em;
  }

  .play-button-pulse {
    width: 76px;
    height: 76px;
  }
  
  .play-icon-circle {
    width: 72px;
    height: 72px;
  }
  
  .play-icon-circle svg {
    width: 28px;
    height: 28px;
  }
  
  .play-tag {
    font-size: 0.88rem;
    padding: 10px 20px;
    gap: 8px;
  }
  
  .form-card {
    padding: 26px 20px;
  }
  
  .trust-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .trust-badge-item {
    padding: 8px 14px;
    font-size: 0.88rem;
  }

  .headline-highlight-box {
    padding: 2px 10px;
    border-radius: 8px;
    margin: 2px 2px;
  }

  .hero-highlights-row {
    gap: 8px;
  }

  .hero-highlight-pill {
    padding: 6px 12px;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   Quiz Fullscreen Immersive View (Economia de Energia - 100% Branco / Montserrat)
   ========================================================================== */
body.quiz-active {
  overflow: hidden !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  touch-action: none;
}

body.quiz-active .hero-section,
body.quiz-active .ambient-bg,
body.quiz-active .main-stepper-container,
body.quiz-active header,
body.quiz-active main,
body.quiz-active footer {
  display: none !important;
}

.quiz-fullscreen-view {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  width: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  color-scheme: light !important;
  z-index: 999999 !important;
  display: none;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: contain !important;
  padding: 24px 20px calc(80px + env(safe-area-inset-bottom, 24px));
  box-sizing: border-box;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.quiz-fullscreen-view.active {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  animation: fullscreenFadeIn 0.3s ease-out forwards;
}

@media (min-width: 641px) and (min-height: 800px) {
  .quiz-fullscreen-view.active {
    justify-content: center !important;
  }
}

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

.quiz-card-fullscreen {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 0 50px;
  background: transparent;
  color: #000000;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Header do Quiz */
.quiz-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.quiz-progress-bar-bg {
  width: 100%;
  height: 5px;
  background: #eef0f3;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 46px;
}

.quiz-progress-bar-fill {
  height: 100%;
  background: #000000;
  width: 16%;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 9999px;
}

/* Pergunta */
.quiz-step {
  display: none;
  animation: stepFade 0.35s ease-out forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes stepFade {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

.quiz-question-title {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  font-weight: 900;
  color: #000000;
  text-align: center;
  line-height: 1.16;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.03em;
}

.quiz-question-desc {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #6b7280;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

/* Input Text */
.quiz-input-wrapper {
  margin-bottom: 42px;
}

.quiz-input {
  width: 100%;
  padding: 22px 28px;
  font-size: clamp(1.2rem, 2.3vw, 1.4rem);
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
  background-color: #ffffff !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 20px;
  outline: none;
  caret-color: #000000 !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color-scheme: light !important;
}

.quiz-input:hover {
  border-color: #cbd5e1 !important;
}

.quiz-input:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15) !important;
  background-color: #ffffff !important;
  color: #000000 !important;
}

.quiz-input::placeholder {
  color: #94a3b8 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400 !important;
}

.quiz-input:-webkit-autofill,
.quiz-input:-webkit-autofill:hover, 
.quiz-input:-webkit-autofill:focus, 
.quiz-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #000000 !important;
  color: #000000 !important;
  caret-color: #000000 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Opções em Grid com Destaque Verde e Checkmark */
.quiz-options-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

@media (max-width: 640px) {
  .quiz-options-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.quiz-option-btn {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  outline: none;
}

.quiz-option-btn:hover {
  border-color: #22c55e;
  background: #fcfdfc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.1);
}

.quiz-option-btn.selected {
  border: 2.5px solid #22c55e !important;
  background: #f0fdf4 !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2), 0 8px 20px rgba(34, 197, 94, 0.12) !important;
  transform: translateY(-1px);
}

.quiz-option-label {
  font-family: 'Montserrat', sans-serif;
  font-size: inherit;
  font-weight: 700;
  color: #000000;
  transition: color 0.2s ease;
  line-height: 1.25;
}

.quiz-option-btn.selected .quiz-option-label {
  color: #16a34a !important;
  font-weight: 800;
}

.quiz-option-indicator {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.quiz-option-indicator .check-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-option-btn.selected .quiz-option-indicator {
  border-color: #22c55e;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.quiz-option-btn.selected .quiz-option-indicator .check-icon {
  opacity: 1;
  transform: scale(1);
}

/* Toast de Erro Visual */
.quiz-error-toast-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.quiz-error-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  animation: errorShake 0.4s ease-in-out;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

.quiz-error-toast svg {
  flex-shrink: 0;
  color: #dc2626;
}

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

/* Footer de Navegação */
.quiz-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f3f4f6;
  padding-top: 28px;
}

.btn-quiz-back {
  background: transparent;
  border: none;
  color: #6b7280;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  transition: color 0.2s ease;
}

.btn-quiz-back:hover {
  color: #000000;
}

.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-quiz-next:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.btn-quiz-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.btn-quiz-next-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
}

/* Box de Confirmação */
.quiz-confirm-box {
  margin-top: 22px;
  padding: 24px 26px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  text-align: center;
  animation: revealGateFade 0.3s ease-out forwards;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quiz-confirm-question {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
}

.quiz-confirm-question strong {
  color: #000000;
  font-weight: 900;
  display: inline-block;
}

.quiz-confirm-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-quiz-confirm-yes {
  background: #000000;
  color: #ffffff;
  padding: 15px 32px;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-quiz-confirm-yes:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.btn-quiz-confirm-no {
  background: #f8fafc;
  color: #334155;
  padding: 15px 26px;
  border-radius: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quiz-confirm-no:hover {
  color: #000000;
  border-color: #000000;
  background: #ffffff;
}

@media (max-width: 640px) {
  .quiz-fullscreen-view {
    padding: 14px 14px calc(65px + env(safe-area-inset-bottom, 20px)) !important;
  }
  .quiz-card-fullscreen {
    padding: 0 0 30px;
  }
  .quiz-progress-header {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .quiz-progress-bar-bg {
    margin-bottom: 16px;
    height: 4px;
  }
  .quiz-question-title {
    font-size: clamp(1.25rem, 4.2vw, 1.48rem);
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .quiz-question-desc {
    font-size: 0.86rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .quiz-input-wrapper {
    margin-bottom: 18px;
  }
  .quiz-input {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: 14px;
  }
  .quiz-options-list {
    gap: 8px;
    margin-bottom: 16px;
  }
  .quiz-option-btn {
    padding: 11px 13px;
    font-size: 0.94rem;
    border-radius: 12px;
    gap: 10px;
    min-height: 46px;
  }
  .quiz-option-indicator {
    width: 24px;
    height: 24px;
  }
  .quiz-option-indicator .check-icon {
    width: 13px;
    height: 13px;
  }
  .quiz-nav-footer {
    padding-top: 14px;
    margin-bottom: 10px;
  }
  .btn-quiz-next {
    padding: 12px 22px;
    font-size: 0.98rem;
    border-radius: 12px;
  }
  .btn-quiz-back {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .quiz-confirm-box {
    margin-top: 14px;
    padding: 16px 16px;
    border-radius: 16px;
  }
  .quiz-confirm-question {
    font-size: 1.05rem;
    margin-bottom: 14px;
  }
  .quiz-confirm-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .btn-quiz-confirm-yes, .btn-quiz-confirm-no {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.98rem;
  }
}
