:root {
  --bg: #050505;
  --bg-glow: radial-gradient(ellipse 80% 50% at 20% -10%, rgba(249, 115, 22, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(249, 115, 22, 0.08), transparent 50%);
  --surface: #111111;
  --surface-2: #181818;
  --surface-elevated: #1f1f1f;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(249, 115, 22, 0.45);
  --text: #fafafa;
  --muted: #a3a3a3;
  --muted-dim: #737373;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.35);
  --success: #4ade80;
  --error: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.25), 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px var(--border-accent), 0 20px 50px var(--accent-glow);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image: var(--bg-glow);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 1.5rem 0 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.9;
}

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

/* Carrossel promocional */
.hero-carousel {
  margin-bottom: 1.75rem;
}

.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1200 / 420;
  max-height: 280px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
  z-index: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carousel-btn:hover {
  background: rgba(249, 115, 22, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Touch: sem hover — setas discretas; swipe e bolinhas seguem disponíveis */
@media (hover: none) {
  .carousel-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.carousel-btn--prev {
  left: 0.65rem;
}

.carousel-btn--next {
  right: 0.65rem;
}

.carousel-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .carousel {
    max-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
  }

}

/* Hero grid */
.hero {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 4.5rem;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 3.5rem;
    padding-top: 2.5rem;
  }

  .card-form {
    position: sticky;
    top: 1.5rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid var(--border-accent);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 1rem;
  max-width: 42ch;
  line-height: 1.65;
}

.hero .status {
  color: var(--muted-dim);
  font-size: 0.9rem;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border-accent);
}

.live-meta {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.live-meta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.live-meta strong {
  color: var(--accent);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.live-meta .date {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.live-meta .time {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.hero-cta {
  margin-top: 1.75rem;
  max-width: 280px;
}

.hero-cta .btn {
  width: 100%;
}

/* Form card */
.card-form {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.card-form::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, var(--border-accent), transparent 40%, transparent);
  -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;
}

.card-form h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-form .card-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: var(--muted-dim);
}

.form-group input:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: #0a0a0a;
  width: 100%;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

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

.btn-primary:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.privacy {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted-dim);
  text-align: center;
  line-height: 1.4;
}

.features {
  list-style: none;
  padding: 1.25rem 0 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.features li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.alert ul {
  margin: 0;
  padding-left: 1.1rem;
}

.alert-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--success);
}

.alert-error {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: var(--error);
}

/* About section */
.section-about {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--border);
}

.section-about h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-about p {
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.benefit-card strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 6rem;
  border-top: 1px solid var(--border);
  color: var(--muted-dim);
  font-size: 0.85rem;
}

.site-footer .brand {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
  z-index: 50;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.hero-banner {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
