@font-face {
  font-family: "ReadHat";
  src: url(../fonte/RedHatText-Regular.ttf);
}

@font-face {
  font-family: "Limelight";
  src: url(../fonte/Limelight-Regular.ttf);
}

:root {
  --bg-dark: #030a09;
  --bg-darker: #020606;
  --purple: #943ade;
  --purple-dark: #6c27a7;
  --purple-soft: #dbc0ed;
  --white: #ffffff;
  --text-soft: #d7d7d7;
  --text-muted: #bdbdbd;
  --heading-dark: #111111;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-main: 0 16px 40px rgba(0, 0, 0, 0.25);
  --shadow-purple: 0 0 0 1px rgba(148, 58, 222, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "ReadHat", sans-serif;
  background-color: var(--bg-dark);
  color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

section {
  position: relative;
}

/*********************************************/
/*------------- Header ----------------------*/
/*********************************************/

.site-header {
  background: rgba(3, 10, 9, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 58, 222, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
}

.navbar {
  padding: 12px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

#logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logoRalky {
  margin: 0;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar-nav {
  gap: 8px;
}

.nav-link {
  font-size: 0.98rem;
  color: var(--white) !important;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: var(--purple) !important;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-collapse {
  transition: 0.3s ease;
  margin-top: 14px;
  background: rgba(3, 10, 9, 0.95);
  padding: 16px;
  border-radius: 14px;
}

/*********************************************/
/*------------- Hero / Banner ---------------*/
/*********************************************/

.banner {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(3, 10, 9, 0.88), rgba(3, 10, 9, 0.55)),
    url("../imagem/testeescuro4.jpeg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  padding: 90px 0 80px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(148, 58, 222, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(148, 58, 222, 0.18),
      transparent 25%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.badge-tech {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(148, 58, 222, 0.35);
  background: rgba(148, 58, 222, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  color: var(--purple-soft);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-family: "Limelight", sans-serif;
  font-size: 1.7rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 100%;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-cta.primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(148, 58, 222, 0.24);
}

.btn-cta.primary:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.btn-cta.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-cta.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-main), var(--shadow-purple);
  backdrop-filter: blur(14px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hero-card-header {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-soft);
}

.hero-card-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-card-body {
  padding: 24px 18px;
}

.code-line {
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.code-line span {
  color: var(--purple-soft);
  font-weight: 700;
  margin-right: 10px;
}

/*********************************************/
/*------------- Títulos ---------------------*/
/*********************************************/

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-title.left {
  text-align: left;
  margin: 0 0 24px 0;
}

.section-title.light h2,
.section-title.light p {
  color: var(--white);
}

.section-tag {
  display: inline-block;
  color: var(--purple-soft);
  background: rgba(148, 58, 222, 0.12);
  border: 1px solid rgba(148, 58, 222, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.section-title h2 {
  font-family: "Limelight", sans-serif;
  font-size: 1.75rem;
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.3;
}

.section-title p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

/*********************************************/
/*------------- Serviços --------------------*/
/*********************************************/

.services {
  background:
    linear-gradient(180deg, rgba(2, 6, 6, 0.98), rgba(7, 12, 14, 0.98)),
    url("../imagem/fundoserviescuro.jpeg") no-repeat center center/cover;
  padding: 90px 0 80px;
}

.service-link {
  color: inherit;
  text-decoration: none !important;
  display: block;
  height: 100%;
}

.service-item {
  height: 100%;
  background: #151A1B; 
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Uma borda sutil para não sumir no fundo preto */
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 28px rgba(148, 58, 222, 0.28);
}

.services .imagem {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-content {
  padding: 18px;
}

.tipoServico {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-soft);
  margin-bottom: 10px;
}

.service-desc {
  display: block;
  color: var(--white);
  line-height: 1.7;
  font-size: 0.96rem;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--purple-soft);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.cta-link i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.service-link:hover .cta-link {
  color: var(--white);
}

.service-link:hover .cta-link i {
  transform: translateX(4px);
}

.tech-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-main), var(--shadow-purple);
}

.highlight-card i {
  font-size: 2rem;
  color: var(--purple-soft);
  margin-bottom: 16px;
}

.highlight-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--white);
}

.highlight-card p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

/*********************************************/
/*------------- Projeto / Vídeo -------------*/
/*********************************************/

.container-video-apresenta {
  background: linear-gradient(
    135deg,
    rgba(2, 6, 6, 0.97),
    rgba(17, 10, 24, 0.95)
  );
  padding: 90px 0 80px;
}

.apresenta {
  display: flex;
  justify-content: center;
}

#meuVideo {
  width: min(100%, 980px);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  background: #000;
}

/*********************************************/
/*------------- Contato / Sobre -------------*/
/*********************************************/

.contato {
  background:
    linear-gradient(135deg, rgba(3, 10, 9, 0.9), rgba(3, 10, 9, 0.78)),
    url("../imagem/fc2.jpeg") no-repeat center center/cover;
  padding: 90px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-bottom: 48px;
}

.about-text {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: var(--shadow-main), var(--shadow-purple);
}

.txt-contato {
  color: var(--white);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 18px;
  text-align: left;
}

.about-side-card {
  background: linear-gradient(
    135deg,
    rgba(148, 58, 222, 0.18),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(148, 58, 222, 0.22);
  border-radius: 24px;
  padding: 22px 18px;
  box-shadow: var(--shadow-main), var(--shadow-purple);
}

.about-side-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--white);
}

.about-side-card ul {
  padding-left: 18px;
  margin: 0;
}

.about-side-card li {
  margin-bottom: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

.btn-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: center;
}

.btn-social button {
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(148, 58, 222, 0.24);
  transition: 0.3s ease;
}

.btn-social button:hover {
  transform: translateY(-3px) scale(1.03);
  cursor: pointer;
}

.team-section {
  margin-top: 12px;
}

.team-title {
  font-family: "Limelight", sans-serif;
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 28px;
  color: var(--white);
}

.equipe {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  perspective: 1000px;
}

.team-card {
  width: 100%;
  height: 240px;
  position: relative;
  cursor: pointer;
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.team-card.flipped .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team-card-front {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: none;
  padding: 0;
  border-radius: 20px;
}

.team-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.team-card-front::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

.team-name {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2;
}

.team-card-back {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  transform: rotateY(180deg);
  text-align: center;
  padding: 24px;
  justify-content: center;
}

.team-card-back p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: var(--white);
}

.team-card-back p strong {
  color: var(--white);
}

.team-social {
  display: flex;
  gap: 14px;
}

.team-social a {
  color: var(--white);
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.team-social a:hover {
  transform: scale(1.12);
  color: #f3e7ff;
}

/*********************************************/
/*------------- Rodapé ----------------------*/
/*********************************************/

footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

.rodape {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
  margin: 0;
}

#texto,
.txt_logo p {
  color: var(--white);
  margin: 0;
}

/*********************************************/
/*------------- Tablet ----------------------*/
/*********************************************/

@media (min-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .badge-tech,
  .section-tag {
    font-size: 0.84rem;
  }

  .btn-cta {
    width: auto;
    min-width: 190px;
  }


}

@media (min-width: 768px) {
  .banner,
  .services,
  .container-video-apresenta,
  .contato {
    padding-top: 100px;
    padding-bottom: 90px;
  }

  .hero-text h1 {
    font-size: 2.4rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-content {
    padding: 22px 20px 26px;
  }

  .tipoServico {
    font-size: 1.35rem;
  }

  .tech-highlights {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .equipe {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .team-card {
    height: 270px;
  }

  .rodape {
    flex-direction: column;
  }
}

/*********************************************/
/*------------- Desktop médio ---------------*/
/*********************************************/

@media (min-width: 992px) {
  .navbar {
    padding: 14px 0;
  }

  #logo {
    width: 64px;
    height: 64px;
  }

  .logoRalky {
    font-size: 1.45rem;
  }

  .navbar-collapse {
    margin-top: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }

  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
  }

  .hero-card {
    max-width: 420px;
    margin-left: auto;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .hero-text p {
    font-size: 1.08rem;
  }

  .section-title h2 {
    font-size: 2.3rem;
  }

  .tech-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .equipe {
    grid-template-columns: repeat(3, 1fr);
  }

  .btn-social {
    justify-content: flex-start;
  }

  .about-text,
  .about-side-card {
    padding: 28px;
  }

  .team-title {
    font-size: 1.9rem;
  }

  .rodape {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/*********************************************/
/*------------- Desktop grande --------------*/
/*********************************************/

@media (min-width: 1200px) {
  .hero-text h1 {
    font-size: 3.2rem;
  }

  .equipe {
    grid-template-columns: repeat(5, 1fr);
  }

  .services .imagem {
    height: 240px;
  }

  .team-card {
    height: 270px;
  }
}
