/* ═══════════════════════════════════════════════
   VARIÁVEIS
   ═══════════════════════════════════════════════ */
:root {
  --purple:        #620af4;
  --purple-light:  #7c2ff7;
  --purple-dark:   #4a08b8;
  --purple-glow:   rgba(98, 10, 244, 0.28);
  --dark:          #0d0d14;
  --dark-2:        #111119;
  --dark-3:        #18181f;
  --white:         #ffffff;
  --gray-50:       #f8f8fa;
  --gray-100:      #f2f2f5;
  --gray-200:      #e4e4ec;
  --gray-400:      #9898aa;
  --gray-600:      #55556a;

  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Bebas Neue', sans-serif;

  --radius:        14px;
  --radius-sm:     8px;
  --header-h:      72px;
  --pad:           100px;
  --max-w:         1200px;
  --gutter:        24px;

  --shadow-card:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover:  0 16px 48px rgba(98,10,244,0.22);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
em { font-style: normal; }

/* ═══════════════════════════════════════════════
   UTILITÁRIOS
   ═══════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-label--light { color: rgba(160, 110, 255, 0.9); }

/* ═══════════════════════════════════════════════
   BOTÕES
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn--primary:hover {
  background: var(--purple-light);
  border-color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--purple-glow);
}

.btn--outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn--outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--purple-glow);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}

.header.scrolled {
  background: rgba(13,13,20,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo { height: 42px; width: auto; }

.header__nav {
  display: flex;
  gap: 40px;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--purple);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header__nav a:hover { color: var(--white); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.jpg') center / cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.15); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(13,13,20,0.93) 0%,
    rgba(60,5,180,0.38) 48%,
    rgba(13,13,20,0.90) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 840px;
  animation: fadeUp 0.9s ease 0.15s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 44px;
}

.hero__logo-america {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}
.hero__logo-kalltec {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}
.hero__x {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--purple-light);
  line-height: 1;
  opacity: 0.85;
}

.hero__title {
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -2.5px;
  color: var(--white);
  margin-bottom: 18px;
}
.hero__title em {
  color: var(--purple-light);
  display: block;
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.hero__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.48);
  max-width: 460px;
  margin: 0 auto 44px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--purple-light);
  border-radius: 2px;
  animation: scrollBob 2.2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { opacity: 1; top: 6px; }
  60%       { opacity: 0.2; top: 18px; }
}

/* ═══════════════════════════════════════════════
   COUNTDOWN
   ═══════════════════════════════════════════════ */
.countdown {
  background: var(--white);
  padding: var(--pad) 0;
  text-align: center;
  color: var(--dark);
}

.countdown__title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 14px;
}

.countdown__subtitle {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto 64px;
}

.countdown__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.countdown__block { text-align: center; min-width: 110px; }

.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 110px);
  line-height: 1;
  color: var(--purple);
  letter-spacing: -3px;
}
.countdown__num.pulse {
  animation: numPulse 2.4s ease-in-out infinite;
}
@keyframes numPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

.countdown__unit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 10px;
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 90px);
  color: var(--gray-200);
  line-height: 1;
  align-self: flex-start;
  padding-top: 8px;
}

/* ═══════════════════════════════════════════════
   SOBRE O ESPAÇO
   ═══════════════════════════════════════════════ */
.about {
  background: var(--dark);
  padding: var(--pad) 0;
}

.about__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 64px;
  max-width: 600px;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about__feature {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.about__feature:hover {
  border-color: rgba(98,10,244,0.5);
  transform: translateY(-5px);
}

.about__icon {
  width: 52px;
  height: 52px;
  background: rgba(98,10,244,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--purple-light);
}
.about__icon svg { width: 26px; height: 26px; }

.about__feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.about__feature p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

.about__highlight {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.about__highlight-line {
  flex-shrink: 0;
  width: 4px;
  height: 52px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}
.about__highlight p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}
.about__highlight strong { color: var(--white); font-weight: 700; }

/* ═══════════════════════════════════════════════
   EQUIPAMENTOS
   ═══════════════════════════════════════════════ */
.equipment {
  background: var(--gray-100);
  padding: var(--pad) 0;
  color: var(--dark);
}

.equipment__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: var(--dark);
}
.equipment__subtitle {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 60px;
}

.equipment__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eq-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.eq-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.eq-card__img {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--gray-50);
}
.eq-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.eq-card:hover .eq-card__img img { transform: scale(1.07); }

.eq-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--purple);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 5px;
}

.eq-card__body { padding: 26px 24px 28px; }
.eq-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.eq-card__body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   DEPOIMENTOS
   ═══════════════════════════════════════════════ */
.testimonials {
  background: var(--dark-2);
  padding: var(--pad) 0;
}

.testimonials__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 60px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  background: var(--dark-3);
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 40px 32px;
  list-style: none;
  transition: transform 0.3s ease;
}
.t-card:hover { transform: translateY(-5px); }

.t-card__quote {
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--purple);
  line-height: 0.6;
  margin-bottom: 18px;
  display: block;
}

.t-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.t-card__author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.t-card__author span {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
}

/* ═══════════════════════════════════════════════
   PARALLAX
   ═══════════════════════════════════════════════ */
.parallax {
  position: relative;
  background: url('../assets/images/parallax-bg.jpg') center / cover no-repeat fixed;
  padding: 130px var(--gutter);
  text-align: center;
  color: var(--white);
}
.parallax__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,20,0.62);
}
.parallax__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.parallax__content h2 {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.18;
  margin-bottom: 20px;
}
.parallax__content p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════
   FORMULÁRIO
   ═══════════════════════════════════════════════ */
.contact {
  background: var(--white);
  padding: var(--pad) 0;
  color: var(--dark);
}

.contact__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  color: var(--dark);
}
.contact__subtitle {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 52px;
}

.contact__form {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-600);
}
.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.6;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(98,10,244,0.1);
}
.form-group textarea { resize: vertical; min-height: 88px; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 52px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
}
.footer__social a:hover {
  border-color: var(--purple);
  color: var(--white);
  background: rgba(98,10,244,0.15);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }
.footer__copy {
  width: 100%;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════
   WHATSAPP FLUTUANTE
   ═══════════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.22s, box-shadow 0.22s;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-btn svg { width: 30px; height: 30px; }

.wa-btn__tip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.wa-btn__tip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--dark);
}
.wa-btn:hover .wa-btn__tip { opacity: 1; }

/* ═══════════════════════════════════════════════
   RESPONSIVO — 1024px
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .equipment__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVO — 768px
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --pad: 72px; --gutter: 20px; }

  .header__hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: rgba(13,13,20,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 36px var(--gutter);
    gap: 28px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .header__nav a { font-size: 20px; }

  .about__features { grid-template-columns: 1fr; }
  .about__highlight { flex-direction: column; gap: 16px; padding: 32px 28px; }
  .about__highlight-line { width: 48px; height: 4px; }

  .equipment__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .parallax { background-attachment: scroll; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }

  .hero__logos { gap: 18px; }
  .hero__logo-america { height: 38px; }
  .hero__logo-kalltec { height: 48px; }

  .countdown__block { min-width: 72px; }
  .countdown__sep { font-size: 40px; padding-top: 4px; }

  .wa-btn { bottom: 24px; left: 20px; width: 52px; height: 52px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVO — 480px
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --pad: 56px; }

  .hero__logos { flex-wrap: wrap; gap: 12px; }
  .hero__logo-america { height: 32px; }
  .hero__logo-kalltec { height: 40px; }

  .countdown__timer { gap: 2px; }
  .countdown__block { min-width: 60px; }
  .countdown__num { letter-spacing: -1px; }

  .about__title { letter-spacing: -1px; }
}
