*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0d1413;
  --bg-secondary: #131c1a;
  --accent: #1ddbb5;
  --accent-dim: rgba(29, 219, 181, 0.15);
  --accent-glow: rgba(29, 219, 181, 0.4);
  --text-primary: #ffffff;
  --text-muted: #6b7a77;
  --text-body: #c4d1cf;
  --border: rgba(29, 219, 181, 0.12);
}

html {
  scroll-behavior: smooth;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 57px;
  width: auto;
}

body {
  font-family: "Electrolize", monospace;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 15px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Electrolize", sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn-outline {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  background: transparent;
  color: var(--accent);
  font-family: "Electrolize", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px rgba(29, 219, 181, 0.1);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-images {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 3;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(29, 219, 181, 0.12) 0%,
    transparent 70%
  );
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(29, 219, 181, 0.08) 0%,
    transparent 70%
  );
  bottom: 10%;
  left: 5%;
  animation-delay: -3s;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(13, 20, 19, 0.6), rgba(13, 20, 19, 0.6)),
    radial-gradient(circle at center, rgba(29, 219, 181, 0.1), transparent 90%);
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;

  transition: opacity 3s ease-in-out;

  filter: grayscale(30%) brightness(0.45) contrast(1.15);
}

.hero-slide.active {
  opacity: 1;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero h1 .highlight {
  position: relative;
  color: var(--accent);
  display: inline-block;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 2px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide:nth-child(1) {
  background-image: url("/apps/assets/apps-agendamento.png");
}

.hero-slide:nth-child(2) {
  background-image: url("/apps/assets/apps-hfm4.png");
}

/* ── SECTIONS ── */
section {
  padding: 7rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.section-desc {
  color: var(--text-body);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.8;
}

.arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.section-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── networks ── */
.hfm4 {
  background: var(--bg-secondary);
  position: relative;
}
.hfm4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hfm4-image {
  width: 75%;
  height: auto;
  display: block;
}

.features-list {
  list-style: none;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.features-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 50%;
  margin-top: 2px;
  padding-top: 3px;

  color: #1ddbb5;
  font-size: 14px;
  font-weight: bold;
}

/* ── NEWS ── */
.news {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
}

.news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(29, 219, 181, 0.06) 0%,
    transparent 60%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-content .section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.cta-content .section-desc {
  max-width: 100%;
  margin: 0 auto 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-slide {
    background-position: 78% center;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    background-position: 85% center;
  }
  .hfm4-image {
    width: 70%;
    height: auto;
    display: block;
  }
  .hfm4-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .section-visual {
    height: 350px;
    order: 1;
  }
  .section-content {
    order: 2;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  section {
    padding: 5rem 0;
  }
}
