/* ============================================================
   ENERGIUS — Landing Page Styles
   ============================================================ */

/* ── Reset & Variáveis ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:        #08122e;
  --navy-mid:    #0d1e54;
  --yellow:      #f5c400;
  --gold:        #d4aa00;
  --red:         #c0130f;
  --red-dark:    #9e0f0c;
  --white:       #ffffff;
  --text-muted:  rgba(255, 255, 255, 0.55);
  --card-bg:     #ffffff;
  --card-shadow: 0 12px 60px rgba(0, 0, 0, 0.5), 0 0 0 1.5px rgba(245, 196, 0, 0.2);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-pill: 999px;

  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 59px, rgba(255,255,255,.04) 59px, rgba(255,255,255,.04) 60px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(255,255,255,.04) 59px, rgba(255,255,255,.04) 60px);
  pointer-events: none;
  z-index: 0;
}

/* Luz radial no topo */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(245,196,0,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 72px;
}

/* ── Animações ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(245,196,0,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(245,196,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,196,0,0); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 56px 0 34px;
  animation: fadeDown .7s ease both;
}

.hero__title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(64px, 11.5vw, 134px);
  line-height: .92;
  color: var(--yellow);
  text-shadow:
    0 4px 32px rgba(0,0,0,.55),
    0 0 80px rgba(245,196,0,.12);
  letter-spacing: 1px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  margin-top: 22px;
  animation: pulse-ring 2.5s infinite;
}

.hero__badge svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* ── BANNERS ── */
.banners {
  animation: fadeUp .7s .12s ease both;
}

.banner {
  text-align: center;
  font-weight: 800;
  font-size: clamp(12px, 2.1vw, 14.5px);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
}

.banner--red {
  background: var(--red);
  color: var(--white);
  margin-bottom: 4px;
}

.banner--lite {
  background: var(--white);
  color: var(--red);
}

/* ── GRID PRINCIPAL ── */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 52px;
  animation: fadeUp .7s .22s ease both;
}

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

/* ── BENEFÍCIOS ── */
.benefits__title {
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 30px);
  color: var(--yellow);
  margin-bottom: 28px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.45;
}

.check-icon {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

sup {
  font-size: 11px;
  color: var(--yellow);
  vertical-align: super;
  font-weight: 700;
}

.tag-obra {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  margin-top: 32px;
  transition: border-color var(--transition);
}

.tag-obra:hover {
  border-color: rgba(245,196,0,.4);
}

/* ── FORMULÁRIO ── */
.form-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 38px 34px 30px;
  color: var(--navy);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

/* faixa decorativa no topo do card */
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--gold));
}

.form-card__title {
  font-weight: 800;
  font-size: clamp(17px, 2.3vw, 22px);
  text-align: center;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 7px;
  letter-spacing: .3px;
}

.form-group input {
  width: 100%;
  border: 1.5px solid #d4d9e8;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  color: #111;
  background: #f7f8fd;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245, 196, 0, .22);
  background: var(--white);
}

.form-group input::placeholder {
  color: #bbb;
}

/* Estado de erro no input */
.form-group input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192, 19, 15, .15);
}

/* ── BOTÃO ── */
.btn-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  padding: 18px;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 14.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

/* shimmer no botão */
.btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmer 2.2s infinite;
}

.btn-submit:hover:not(:disabled) {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 196, 0, .45);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.btn-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.btn-submit:disabled::after {
  display: none;
}

/* ── MENSAGENS ── */
.error-msg {
  display: none;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(192,19,15,.08);
  border-radius: var(--radius-sm);
}

.error-msg.is-visible {
  display: block;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 14px;
}

/* ── SUCESSO ── */
.success-msg {
  display: none;
  text-align: center;
  padding: 20px 0 8px;
}

.success-msg.is-visible {
  display: block;
}

.success-msg__icon {
  font-size: 56px;
  margin-bottom: 14px;
  display: block;
}

.success-msg h4 {
  font-size: 22px;
  font-weight: 800;
  color: #1a7a3c;
  margin-bottom: 10px;
}

.success-msg p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── LOGO ── */
.logo-wrap {
  text-align: center;
  margin-top: 60px;
  animation: fadeUp .7s .45s ease both;
}

.logo-wrap img {
  width: 200px;
  max-width: 100%;
}

/* ── RODAPÉ ── */
.footnotes {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 60px;
  padding-top: 28px;
  animation: fadeUp .7s .55s ease both;
}

.footnotes p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.fn-num {
  color: var(--yellow);
  font-weight: 700;
}

.copyright {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, .25);
}

/* ── RESPONSIVO ── */
@media (max-width: 480px) {
  .form-card { padding: 28px 20px 22px; }
  .hero__title { font-size: 58px; }
}
