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

:root {
  --bg: #0b0b0d;
  --bg-soft: #151518;

  --panel: rgba(255, 0, 0, 0.06);
  --panel-strong: rgba(255, 0, 0, 0.12);

  --text: #f5f5f5;
  --text-soft: #a1a1aa;

  --line: rgba(255, 255, 255, 0.08);

  --accent: #c1121f;
  --accent-soft: #ff4d4d;

  --shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11, 11, 13, 0.85);
  border-bottom: 1px solid var(--line);
}

.header__container {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo__img {
  width: 60px;
  height: auto;
  object-fit: contain;
  transition: 0.3s ease;
}

.logo__img:hover {
  transform: scale(1.10);
}

.logo__text {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.titulo__logo {
  color: var(--accent);
}
.detail__text__logo{
  color: var(--text);
}

.nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  padding: 6rem 0 4rem;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow,
.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.hero__reference {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reference__line {
  width: 4px;
  background: var(--accent);
  border-radius: 999px;
  flex-shrink: 0;
}

.hero__reference h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero__description {
  color: var(--text-soft);
  margin-bottom: 2rem;
}

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

.btn {
  padding: 0.9rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn--primary {
  background: var(--accent);
  color: white;
  border: 1px solid transparent;
}

.btn--primary:hover {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border: 1px solid var(--text);
  background: var(--accent);
  color: var(--text);
}

/* CARD DIREITA */
.hero__panel {
  padding: 0.5rem;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  width: 100%;
  box-shadow: var(--shadow);
}

/* PROJETOS */
.projects {
  padding: 4rem 0;
}

.section__header {
  margin-bottom: 2rem;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project__card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.project__video {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.project__number {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding: 3rem 0;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer h3,
.footer h4 {
  color: var(--text);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--text-soft);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__logo {
  width: 70px;
  height: auto;
  object-fit: contain;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links {
  text-decoration: none;
  color: var(--text-soft);
  transition: 0.3s;
}

.footer__links:hover {
  color: var(--accent);
}
.projects-section {
  padding: 5rem 0;
}

/* 1 — fundo padrão escuro */
.projects-section--dark {
  background: var(--bg);
}

/* 2 — fundo mais claro */
.projects-section--soft {
  background: var(--bg-soft);
}

/* 3 — gradiente sutil */
.projects-section--gradient {
  background: linear-gradient(
    135deg,
    #0b0b0d 0%,
    #151518 100%
  );
}

/* 4 — destaque com vermelho sutil */
.projects-section--highlight {
  background: linear-gradient(
    135deg,
    rgba(193, 18, 31, 0.08),
    #0b0b0d
  );
}

/* RESPONSIVO */
@media (max-width: 992px) {
  .hero__container,
  .projects__grid,
  .footer__container {
    grid-template-columns: 1fr;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__panel {
    max-width: 100%;
  }

  .project__video {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .header__container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 1.2rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__reference {
    align-items: flex-start;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  .project__video {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .logo__img {
    width: 50px;
  }

  .logo__text {
    font-size: 0.85rem;
  }

  .nav {
    gap: 1rem;
  }

  .project__video {
    height: 240px;
  }

  .footer__logo {
    width: 60px;
  }
}