/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange:        #f26419;
  --gold:          #f6ae2d;
  --gradient:      linear-gradient(135deg, var(--orange), var(--gold));
  --glass-bg:      rgba(0, 0, 0, 0.45);
  --glass-border:  rgba(255, 255, 255, 0.08);
  --text-primary:  #ffffff;
  --text-muted:    rgba(255, 255, 255, 0.68);
  --radius-card:   20px;
  --radius-btn:    50px;
  --shadow-card:   0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-btn:    0 8px 24px rgba(0, 0, 0, 0.35);
  --transition:    0.25s ease;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d0d0d;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: var(--text-primary);
  padding: 40px 16px 64px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('CorreiadoNordeste.png') center top / cover no-repeat;
  background-color: #0d0d0d;
  filter: brightness(0.55) saturate(1.1);
  z-index: 0;
  animation: bgFadeIn 0.9s ease both;
}

/* ===== Overlay ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.60) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 0;
  animation: bgFadeIn 0.9s ease both;
}

/* ===== Main Card ===== */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-card);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* ===== Profile ===== */
.profile {
  text-align: center;
  margin-bottom: 28px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow:
    0 0 0 4px rgba(246, 174, 45, 0.5),
    0 0 0 7px rgba(242, 100, 25, 0.2),
    0 12px 36px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  background: var(--gradient);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

h1 {
  font-size: 2.6em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

.subtitle {
  font-size: 0.98em;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.bio {
  font-size: 0.93em;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Video Carousel ===== */
.carousel {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 88%;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.38s ease, opacity 0.38s ease;
  opacity: 0.5;
  transform: scale(0.94);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  overflow: hidden;
}

.slide-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-slide.active .slide-thumb {
  transform: scale(1.02);
}

.slide-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.slide-play:hover,
.slide-play:focus-visible {
  background: rgba(0, 0, 0, 0.55);
  outline: none;
}

.slide-play svg {
  width: 56px;
  height: 56px;
  color: #fff;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s;
}

.slide-play:hover svg {
  transform: scale(1.12);
}

.slide-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.slide-title {
  padding: 10px 14px 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Arrow buttons */
.carousel-btn {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, opacity 0.25s;
}

.carousel-btn:hover:not(:disabled) {
  background: rgba(242, 100, 25, 0.75);
  border-color: transparent;
}

.carousel-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-prev { left: 6px; }
.carousel-next { right: 6px; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 2px;
}

.carousel-dot {
  height: 7px;
  width: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
  background: var(--orange);
  width: 24px;
}

/* ===== Social Links ===== */
.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88em;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--gradient);
  box-shadow: var(--shadow-btn);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-social svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-social:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.btn-social:active:not(:disabled) {
  transform: translateY(-1px) scale(1.01);
}

/* Brand-color hovers */
.btn-tiktok:hover   { background: linear-gradient(135deg, #010101, #69C9D0); }
.btn-instagram:hover { background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45); }
.btn-youtube:hover  { background: linear-gradient(135deg, #FF0000, #CC0000); }

/* Kwai — disabled */
.btn-kwai {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.badge-soon {
  font-size: 0.68em;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: 10px;
}

/* Sobre button */
.btn-sobre {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.btn-sobre:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px) scale(1.03);
}

/* ===== Sponsor CTA ===== */
.sponsor-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(242, 100, 25, 0.1);
  border: 1px solid rgba(242, 100, 25, 0.28);
  border-radius: 14px;
  padding: 18px 20px;
}

.sponsor-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.sponsor-text {
  flex: 1;
  min-width: 0;
}

.sponsor-text strong {
  display: block;
  font-size: 0.93em;
  color: var(--gold);
  margin-bottom: 3px;
}

.sponsor-text p {
  font-size: 0.8em;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.btn-sponsor {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  background: var(--gradient);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-sponsor:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(242, 100, 25, 0.45);
}

/* ===== About Modal ===== */
.sobre {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.sobre.visible {
  opacity: 1;
  pointer-events: auto;
}

.sobre-inner {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.3s ease both;
  text-align: center;
}

.sobre-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow:
    0 0 0 3px rgba(246, 174, 45, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.5);
  background: var(--gradient);
}

.sobre-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sobre-inner h2 {
  font-size: 1.55em;
  font-weight: 700;
  margin-bottom: 22px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sobre-content {
  text-align: left;
}

.sobre-content p {
  font-size: 0.93em;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
}

.sobre-content p:last-child {
  margin-bottom: 0;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.close-btn svg {
  width: 18px;
  height: 18px;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ===== Floating WhatsApp ===== */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  z-index: 50;
  transition: transform var(--transition), box-shadow var(--transition);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #128C7E;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78em;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Animations ===== */
@keyframes bgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== Lead Modal ===== */
.lead-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.lead-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.lead-inner {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(12, 12, 12, 0.97);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.3s ease both;
}

/* Header */
.lead-header {
  text-align: center;
  margin-bottom: 28px;
}

.lead-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.lead-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.lead-header h2 {
  font-size: 1.45em;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.lead-header p {
  font-size: 0.87em;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Form fields */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group label span:not(.label-optional) {
  color: var(--gold);
}

.label-optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88em;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #ff6b6b;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Select custom */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  cursor: pointer;
  padding-right: 36px;
}

.select-wrapper select option {
  background: #1a1a1a;
  color: #fff;
}

.select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Field errors */
.field-error {
  display: block;
  font-size: 0.76em;
  color: #ff6b6b;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.field-error.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Submit button */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border: none;
  border-radius: var(--radius-btn);
  background: #25D366;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Success state */
.lead-success {
  text-align: center;
  padding: 20px 0 8px;
}

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: #fff;
}

.lead-success h2 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead-success p {
  font-size: 0.88em;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

.btn-success-close {
  background: var(--gradient);
  box-shadow: 0 8px 24px rgba(242, 100, 25, 0.35);
}

.btn-success-close:hover {
  box-shadow: 0 12px 32px rgba(242, 100, 25, 0.45);
}

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  body { padding: 24px 12px 52px; }

  .content { padding: 28px 18px 26px; }

  h1 { font-size: 2.1em; }

  .avatar { width: 74px; height: 74px; font-size: 1.9em; }

  .social-links { grid-template-columns: 1fr 1fr; }

  .sponsor-cta {
    flex-direction: column;
    text-align: center;
  }

  .sponsor-text { text-align: center; }

  .sobre-inner { padding: 28px 18px 24px; }
}
