:root {
  --bg: #020617;
  --bg-alt: #0b1120;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --glow: #22d3ee;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section,
.hero {
  scroll-margin-top: 80px;
}

.section {
  padding: 8.5rem 1.5rem;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section:nth-of-type(even) {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  transition: background .3s ease, padding .3s ease, backdrop-filter .3s ease;
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--bg) !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: box-shadow .2s;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  padding: 9rem 1.5rem 5rem;
}

.hero-intro {
  text-align: center;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(120deg, var(--text) 20%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-role {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.hero-tagline {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.hero-media {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-cue-line {
  width: 40px;
  height: 1px;
  background: rgba(148, 163, 184, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: cueMove 1.6s ease-in-out infinite;
}

@keyframes cueMove {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-reel {
  flex: 1;
  width: 100%;
  background: rgba(11, 17, 32, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.hero-reel .reel-player {
  flex: 1;
}

.hero-reel-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.reel-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

/* ---------- Video facade (thumbnail -> click to play) ---------- */
.video-facade {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.35);
  transition: background .2s;
}

.video-facade:hover::before {
  background: rgba(2, 6, 23, 0.15);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.45);
  transition: transform .2s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--bg);
  margin-left: 3px;
}

.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Carousel (1 vídeo por vez) ---------- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.carousel-viewport {
  overflow: hidden;
  width: min(340px, 100%);
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.carousel-card {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-card-media {
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(11, 17, 32, 0.6);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.carousel-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all .2s;
}

.carousel-dot.active {
  width: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* ---------- Ferramentas ---------- */
.tools-group {
  margin-bottom: 2.5rem;
}

.tools-group:last-child {
  margin-bottom: 0;
}

.tools-group-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tool-card {
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(11, 17, 32, 0.55);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all .25s;
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}

/* ---------- Sobre ---------- */
.sobre-content {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}

.sobre-photo {
  flex: 0 0 320px;
  position: relative;
  border-radius: 24px;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.3);
  aspect-ratio: 3 / 4;
}

.sobre-photo img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
}

.sobre-text {
  flex: 1;
}

.sobre-text p {
  max-width: 640px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sobre-text p:first-of-type {
  color: var(--text);
}

/* ---------- Contato ---------- */
.contato-inner {
  text-align: center;
}

.contato-inner .section-subtitle {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contato-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contato-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(11, 17, 32, 0.5);
  font-weight: 500;
  transition: all .25s;
}

.contato-link svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.contato-link:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-linktree {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color .2s;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sobre-content {
    flex-direction: column;
    text-align: center;
  }

  .sobre-photo {
    flex-basis: auto;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: all .3s ease;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .carousel-viewport {
    width: min(280px, 100%);
  }
}
