/* =========================================
   1. RESET E VARIÁVEIS GERAIS
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary-blue: #004494;
  --dark-blue: #001e50;
  --cyan-glow: #0ea5e9;
  --orange: #ff6b00;
  --orange-hover: #e65100;
  --green-success: #10b981;
  --green-neon: #22c55e;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  background: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #0f172a 60%, #020617 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text, .btn-primary, .fake-notification, .limit-value {
  font-family: 'Montserrat', sans-serif;
}

/* =========================================
   2. NAVBAR
   ========================================= */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  position: fixed; width: 100%; top: 0; z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--primary-blue); text-transform: uppercase; letter-spacing: -1px; }
.secure-badge {
  background: rgba(16, 185, 129, 0.1); color: #059669; padding: 5px 10px;
  border-radius: 20px; font-size: 0.7rem; font-weight: 700; border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex; align-items: center; gap: 5px;
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
  position: relative; min-height: 100vh;
  padding-top: 90px; padding-bottom: 40px;
  display: flex; align-items: center;
}

.center-content { justify-content: center; flex-direction: column; }
.card-center { margin: 0 auto; max-width: 550px; width: 100%; text-align: center; }

/* Grid Index */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text-content { color: white; text-align: left; }
.highlight-tag {
  background: rgba(14, 165, 233, 0.2); color: #7dd3fc; padding: 5px 12px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px;
  display: inline-block; border: 1px solid rgba(14, 165, 233, 0.3);
}
.hero-text-content h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-description { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 30px; max-width: 90%; }
.benefits-list { list-style: none; margin-bottom: 30px; }
.benefits-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1rem; color: #e2e8f0; }
.check-icon {
  background: var(--green-success); color: white; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: bold; flex-shrink: 0;
}
.trust-badges { display: flex; gap: 20px; font-size: 0.85rem; color: #94a3b8; font-weight: 600; }
.form-wrapper { width: 100%; max-width: 450px; margin-left: auto; }

/* =========================================
   4. GLASS CARD
   ========================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 25px; border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  color: var(--text-dark); opacity: 0; animation: fadeInUp 0.8s ease-out forwards;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.card-header h2 { color: var(--primary-blue); font-size: 1.3rem; font-weight: 800; margin-bottom: 5px; }

/* =========================================
   5. FORM ELEMENTS
   ========================================= */
.form-control, .form-select {
  width: 100%; padding: 12px;
  border: 1px solid #cbd5e1; background-color: #fff; border-radius: 8px;
  font-size: 0.95rem; color: #333; outline: none;
}
.form-control:focus, .form-select:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 68, 148, 0.15); }
label { font-size: 0.85rem; font-weight: 700; color: #334155; display: block; margin-bottom: 5px; text-align: left; }

.btn-primary {
  width: 100%; background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid #bae6fd; color: white; padding: 14px; border-radius: 8px;
  font-size: 1rem; font-weight: 700; cursor: pointer; margin-top: 15px;
  text-transform: uppercase; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(2, 132, 199, 0.2);
}
.btn-primary:active { transform: scale(0.98); }
.btn-pulse-soft { animation: pulseSoft 2s infinite; }
@keyframes pulseSoft { 0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(2, 132, 199, 0); } 100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); } }
.btn-pulse { background: linear-gradient(90deg, var(--orange), var(--orange-hover)); border: none; animation: pulseButton 2s infinite; }
@keyframes pulseButton { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); } }
.btn-secondary-small { background: white; border: 1px solid var(--primary-blue); color: var(--primary-blue); padding: 8px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 0.85rem; }
.btn-secondary-small:hover { background: var(--primary-blue); color: white; }
.terms-check { font-size: 0.75rem; line-height: 1.3; color: #64748b; }

/* =========================================
   6. DESTAQUE VALOR E LAYOUT PAGAMENTO
   ========================================= */
.limit-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border: 2px solid var(--green-neon);
  border-radius: 16px; padding: 25px 10px; margin: 25px 0;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4); animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform: scale(0.9); opacity: 0;
}
.currency { font-size: 1.8rem; color: #16a34a; font-weight: 700; vertical-align: top; margin-right: 5px; display: inline-block; margin-top: 5px; }
.limit-value { font-size: 3.5rem; font-weight: 800; color: #15803d; letter-spacing: -2px; line-height: 1; }
@keyframes popIn { 0% { opacity: 0; transform: scale(0.5); } 100% { opacity: 1; transform: scale(1); } }

/* SPLIT LAYOUT (PAGAMENTO) */
.split-layout {
  display: flex; flex-direction: row; align-items: flex-start;
  justify-content: center; gap: 20px; max-width: 900px; margin: 0 auto;
}
.main-column { flex: 1.3; min-width: 300px; }
.reviews-column {
  flex: 0.9; /* Coluna um pouco mais estreita */
  display: flex; flex-direction: column; gap: 10px; /* Gap reduzido */
  text-align: left; padding-top: 5px;
}

/* --- REVIEWS (COMPACTOS) --- */
.review-card {
  background: rgba(0, 30, 80, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px; /* Borda menos arredondada */
  padding: 10px 12px; /* Padding reduzido */
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 0.8rem; /* Fonte base menor */
}
.review-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }

.review-header { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.review-avatar {
  width: 24px; height: 24px; /* Avatar menor */
  border-radius: 50%; color: white; font-weight: bold;
  font-size: 0.7rem; /* Fonte avatar menor */
  display: flex; align-items: center; justify-content: center;
}
.review-header strong { font-size: 0.8rem; line-height: 1; }
.stars { color: #fbbf24; font-size: 0.65rem; letter-spacing: 0.5px; }
.review-time { margin-left: auto; font-size: 0.65rem; color: rgba(255,255,255,0.5); }

.review-card p {
  font-size: 0.75rem; /* Fonte comentário menor */
  line-height: 1.3; opacity: 0.9; font-style: italic; margin: 0;
}
/* ---------------------------- */

/* STATUS & TIMELINE */
.status-label { padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 0.75rem; color: white; display: inline-block; }
.status-label--pending { background-color: #fbbf24; color: #78350f; }
.status-label--confirming { background-color: #3b82f6; }
.status-label--in-review { background-color: #f97316; }
.status-label--approved { background-color: var(--green-success); }
.status-label--rejected { background-color: #ef4444; }

.timeline { padding-left: 20px; border-left: 2px solid #e2e8f0; margin: 25px 0; text-align: left; }
.timeline-item { position: relative; margin-bottom: 25px; padding-left: 15px; }
.timeline-dot { width: 14px; height: 14px; background: #fff; border: 3px solid #cbd5e1; border-radius: 50%; position: absolute; left: -8px; top: 2px; z-index: 2; }
.timeline-dot.complete { border-color: var(--green-success); background: var(--green-success); }
.timeline-dot.current { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,0.2); }

.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.summary-card { background: #f8fafc; padding: 12px; border-radius: 8px; border: 1px solid #e2e8f0; text-align: center; }
.summary-label { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.summary-value { font-size: 1rem; font-weight: 800; color: var(--primary-blue); margin-top: 4px; }

/* Loader */
.loader-wrapper { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.loader { width: 40px; height: 40px; border: 4px solid #e2e8f0; border-radius: 50%; border-top-color: var(--orange); animation: spin 1s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-container { width: 100%; background: #f1f5f9; border-radius: 20px; height: 8px; margin: 20px 0; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--orange), #ff9100); width: 0%; animation: fillProgress 4s ease-in-out forwards; }
@keyframes fillProgress { 0% { width: 0%; } 100% { width: 100%; } }
.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0.5; } }

/* Notifications & Util */
#notification-container { position: fixed; top: 70px; right: 10px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.fake-notification { background: #fff; border-left: 4px solid var(--green-success); padding: 10px 14px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 10px; min-width: 260px; font-family: 'Open Sans', sans-serif; pointer-events: auto; }
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background-color: #25d366; color: #FFF; border-radius: 50px; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 10000; }
.whatsapp-float img { width: 35px; height: 35px; }
footer { margin-top: auto; padding: 30px 20px; text-align: center; color: #94a3b8; font-size: 0.75rem; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.2); }
.hidden { display: none !important; }

/* =========================================
   7. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-text-content { text-align: center; padding: 0 10px; }
  .hero-text-content h1 { font-size: 2.2rem; }
  .benefits-list { display: inline-block; text-align: left; }
  .trust-badges { justify-content: center; }
  .form-wrapper { margin: 0 auto; width: 100%; }
  .hero-section { padding-top: 80px; padding-bottom: 80px; }

  /* Split Layout (Pagamento) - Empilha no mobile */
  .split-layout { flex-direction: column; align-items: center; }
  .reviews-column, .main-column { width: 100%; max-width: 480px; }
  
  /* Ajuste no mobile: Reviews ainda menores pra não tomar tela toda */
  .review-card { padding: 8px 10px; font-size: 0.75rem; }

  .glass-card { padding: 20px; }
  .limit-value { font-size: 2.8rem; }
  
  #notification-container { top: 10px; right: 0; left: 0; align-items: center; }
  .fake-notification { width: 92%; max-width: 360px; }
  .whatsapp-float { width: 50px; height: 50px; bottom: 15px; right: 15px; }
  .whatsapp-float img { width: 28px; height: 28px; }
}