:root {
  /* Colors - Tema Light Premium */
  --bg-page: #f4f6f8;
  /* Soft off-white */
  --bg-panel: rgba(255, 255, 255, 0.7);
  /* Translucent white for glassmorphism */
  --bg-panel-hover: rgba(255, 255, 255, 0.95);

  --accent-primary: #10B981;
  /* Vivid Green (Botconversa style) */
  --accent-primary-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.2);

  --text-main: #0f172a;
  /* Slate 900 for high readability */
  --text-muted: #475569;
  /* Slate 600 */
  --text-white: #ffffff;
  /* Somente para textos sobre cores de destaque */

  --border-subtle: rgba(15, 23, 42, 0.08);
  /* Slate 900 com opacidade */
  --border-strong: rgba(15, 23, 42, 0.15);

  --neon-red: #ef4444;
  --neon-yellow: #f59e0b;
  --neon-green: #10b981;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --spacing-base: 1rem;
  --section-padding: 8rem 0;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --border-radius: 20px;
  /* Cantos bem arredondados */
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-white {
  color: var(--text-main);
}

/* Adaptação para Light Mode */
.text-strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.headline {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.subheadline {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-weight: 400;
}

.massive-text {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.med-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.large-text {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 400;
}

.med-text {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Accent Effects */
.neon-text {
  color: var(--accent-primary);
  font-weight: 700;
}

/* Moderna SVG Animada p/ Backgrounds de Títulos  */
.modern-svg-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 800 800'%3E%3Cdefs%3E%3Cfilter id='bbblurry-filter' x='-100%25' y='-100%25' width='400%25' height='400%25' filterUnits='objectBoundingBox' primitiveUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='70' x='0%25' y='0%25' width='100%25' height='100%25' in='SourceGraphic' result='blur'%3E%3C/feGaussianBlur%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23bbblurry-filter)'%3E%3Cellipse rx='150' ry='150' cx='350' cy='350' fill='rgba(16, 185, 129, 0.4)'%3E%3C/ellipse%3E%3Cellipse rx='150' ry='150' cx='550' cy='250' fill='rgba(14, 165, 233, 0.4)'%3E%3C/ellipse%3E%3Cellipse rx='150' ry='150' cx='450' cy='550' fill='rgba(59, 130, 246, 0.3)'%3E%3C/ellipse%3E%3Cellipse rx='150' ry='150' cx='250' cy='450' fill='rgba(16, 185, 129, 0.2)'%3E%3C/ellipse%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  animation: floatBg 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatBg {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(-48%, -52%) scale(1.1) rotate(5deg);
  }

  100% {
    transform: translate(-52%, -48%) scale(1) rotate(-5deg);
  }
}

.hero-radial-glow {
  position: absolute;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.glow-bottom {
  top: auto;
  bottom: -20vh;
}

/* Layout & Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  /* Força os containers a estarem acima dos SVGs */
}

.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
  /* Evita que o SVG vaze as seções */
}

.glass-panel {
  background: rgba(244, 246, 248, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 2.0rem;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.glass-card:hover {
  background: var(--bg-panel-hover);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08), 0 0 20px var(--accent-glow);
}

/* Navbar Estilo Modelo (Floating Pill) */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.3);
  /* Muito mais transparente */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  /* Borda "glass" mais suave */
  border-radius: 100px;
  z-index: 1000;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  width: 75%;
  padding: 0.8rem 2.5rem;
  top: 1rem;
  background: rgba(255, 255, 255, 0.5);
  /* Mantém o desfoque visível */
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.25rem;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Buttons and Badges */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  /* Cantos arredondados premium */
  transition: var(--transition-smooth);
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-white);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-glow {
  /* Mantido para legibilidade do HTML mas agora usa o style primário superior */
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
}

.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.neon-badge {
  background: var(--accent-glow);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero {
  min-height: auto;
  padding-top: 180px;
  /* Offset p/ header floating + ar inicial */
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

/* Imagem 3D Scroll Reveal (Fora do Hero) */
.hero-image-section {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: -80px;
  /* Sobe um pouco a imagem de volta pro Hero mantendo respiro */
  padding: 0 2rem;
  /* Mantém as bordas para celulares */
}

.hero-image-wrapper {
  width: 75%;
  max-width: 1250px;
  border-radius: 20px;
  margin-bottom: -150px;
  /* Provoca o vazamento e sobreposição na section debaixo */
  position: relative;
  /* Estado inicial definido via JS */
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  /* Borda muito sutil do app */
  display: block;
}

/* Problema */
.problem-section {
  padding-top: 16rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1;
}

.problem-text h3 {
  font-weight: 500;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.icon-cross {
  color: var(--neon-red);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Target Area */
.target-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.glass-badge {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.glass-badge:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}

/* Solution Section */
.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.icon-wrapper {
  color: var(--accent-primary);
  background: var(--accent-glow);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

/* Features */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse>* {
  direction: ltr;
}

.feature-info {
  max-width: 500px;
}

.feature-info h3 {
  color: var(--text-main);
}

.feature-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.feature-visual {
  height: 350px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Custom visual mockups */
.task-row {
  background: rgba(0, 0, 0, 0.02);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: monospace;
  color: var(--text-muted);
}

.task-row.active {
  border: 1.5px solid var(--accent-primary);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.neon-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-glow);
}

.terminal-mockup {
  width: 100%;
  height: 100%;
  background: #0f172a;
  /* Dark background kept for terminal realism */
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.terminal-header {
  padding: 1rem;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.bg-red {
  background: #ff5f56;
}

.bg-yellow {
  background: #ffbd2e;
}

.bg-green {
  background: #27c93f;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  color: #10B981;
  /* Hacker green */
  flex: 1;
}

.typewriter-text {
  list-style: none;
  font-size: 0.9rem;
}

.typewriter-text li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
  opacity: 0.9;
}

.scheduler-mockup {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.time-slot {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.time-slot.past {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text-muted);
}

.time-slot.canceled {
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: var(--neon-red);
  background: rgba(239, 68, 68, 0.05);
}

.time-slot.optimized {
  background: #ffffff;
  border: 1.5px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.time-slot.future {
  background: rgba(0, 0, 0, 0.02);
  color: var(--text-main);
}

.divider {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--text-muted), transparent);
  margin: 2rem auto;
  opacity: 0.3;
}

/* Protocol Section */
.protocol-section {
  background: #ffffff;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.protocol-step {
  padding-left: 2rem;
  border-left: 2px solid var(--border-subtle);
  position: relative;
}

.protocol-step h4 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--text-main);
}

.protocol-step p {
  color: var(--text-muted);
}

.step-num {
  font-family: monospace;
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.2rem;
  position: absolute;
  left: -20px;
  top: 0;
  background: var(--text-main);
  /* Contraste total */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Proof Section */
.proof-section {
  background: linear-gradient(to bottom, #f4f6f8, #ffffff);
}

.flex-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.proof-content {
  flex: 1;
}

.proof-stats {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  background: #ffffff;
}

.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.stat-item p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--text-main);
  /* Dark Background from Slate-900 */
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo img {
  filter: none;
  /* No footer escuro a logo branca deve aparecer */
}

.footer .text-muted {
  color: #94a3b8;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  color: #94a3b8;
}

.status-indicator .dot.blink {
  background: var(--neon-green);
  box-shadow: 0 0 8px var(--neon-green);
  animation: pulse 2s infinite;
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

  .problem-grid,
  .feature-block,
  .flex-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
    color: var(--text-main);
  }

  /* Ajustes de Navbar Tablet/Mobile e Compensação de Hero */
  .navbar,
  .navbar.scrolled {
    width: 95%;
    padding: 0.8rem 1.5rem;
    top: 1rem;
  }

  .hero {
    padding-top: 130px;
    /* Redução para compensar o limite do switch do Menu */
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 2.5rem;
  }

  .massive-text {
    font-size: 2rem;
  }

  .section {
    padding: 5rem 0;
  }

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

  /* Ajuste de Print do Sistema Mobile */
  .hero-image-wrapper {
    width: 100%;
    margin-bottom: -100px;
    /* Reduz vaze para caber melhor na proporção mobile */
  }

  .problem-section {
    padding-top: 10rem;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
}

/* Modal Styles */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.lead-modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.lead-modal-overlay.active .lead-modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--neon-red);
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-floating {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-floating input,
.form-floating select {
  width: 100%;
  height: 58px;
  padding: 1.625rem 1rem 0.625rem;
  font-size: 1rem;
  background-color: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-family);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-floating select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.form-floating input:focus,
.form-floating select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-floating label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 1rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  color: var(--text-muted);
  font-weight: 500;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:valid ~ label {
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
  opacity: 0.8;
  color: var(--text-main);
}

/* Ocultar o placeholder nativo até que o input esteja focado (para o label ficar legível) */
.form-floating input::placeholder {
  color: transparent;
}

.form-floating input:focus::placeholder {
  color: #cbd5e1;
}

.form-floating select option {
  background: #ffffff;
  color: var(--text-main);
}

.w-100 {
  width: 100%;
}

.form-feedback {
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--neon-red);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hidden {
  display: none !important;
}