:root {
  --bg-body: #050816;
  --bg-hero: linear-gradient(135deg, #221f52, #3c2d7b, #0b1024);
  --color-primary: #4b6bff;
  --color-primary-soft: #6f63ff;
  --color-accent: #26e0c0;
  --color-text-main: #f5f5f5;
  --color-text-muted: #c0c3d7;
  --color-surface: #0b1024;
  --radius-lg: 32px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
  --header-height: 72px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--color-text-main);
  line-height: 1.5;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  padding-inline: 1.5rem;
  margin-inline: auto;
}

/* Header */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: conic-gradient(from 140deg, #4b6bff, #7a4bff, #26e0c0, #4b6bff);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.logo-text {
  letter-spacing: 0.03em;
}

/* Navegação */

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-link {
  position: relative;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--color-text-main);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--contact {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-main);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.nav-link--contact::after {
  display: none;
}

.nav-link--contact:hover {
  background: var(--color-accent);
  color: #041016;
  border-color: transparent;
  transform: translateY(-1px);
}

/* Hero */

.hero {
  min-height: calc(100vh - var(--header-height));
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  background-image: var(--bg-hero);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy {
  max-width: 540px;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  max-width: 32rem;
}

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

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease,
    color 0.2s ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--color-accent), #1be0ff);
  color: #020b11;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Área visual do hero */

.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0.2px);
}

.hero-shape--one {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at top, #ffc857, #ff7b57);
  top: -10%;
  right: 0;
  opacity: 0.85;
}

.hero-shape--two {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle at bottom,
    var(--color-primary-soft),
    #9b5bff
  );
  bottom: -12%;
  left: -6%;
  opacity: 0.9;
}

.hero-photo-placeholder {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 45% 55% 60% 40%;
  background: linear-gradient(135deg, #101631, #151b3e);
  border: 4px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 5rem 0;
}

.section-about {
  background: radial-gradient(circle at top left, #ffffff, #f5f5fb);
  color: #151b3e;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.5rem;
}

/* Bloco visual (lado esquerdo) */

.about-media {
  display: flex;
  justify-content: center;
}

.about-card {
  position: relative;
  width: 280px;
  padding: 1.5rem 1.75rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, #ffffff, #f4f2ff);
  box-shadow: 0 18px 45px rgba(36, 42, 97, 0.25);
  overflow: hidden;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(75, 107, 255, 0.08);
  color: #4b6bff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-screen {
  position: relative;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #f9f0ff, #f6fbff);
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 10px 25px rgba(45, 55, 130, 0.15);
}

.about-screen--top {
  transform: translateX(-6%);
}

.about-screen--bottom {
  transform: translateX(10%);
}

.about-screen-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2a2f55;
}

/* Bolinhas decorativas */

.about-badge {
  position: absolute;
  border-radius: 999px;
}

.about-badge--one {
  width: 34px;
  height: 34px;
  background: #ffc857;
  top: 14%;
  right: -8px;
}

.about-badge--two {
  width: 22px;
  height: 22px;
  background: #4b6bff;
  bottom: 18%;
  left: -6px;
}

.about-badge--three {
  width: 18px;
  height: 18px;
  background: #26e0c0;
  bottom: 6%;
  right: 18%;
}

/* Texto (lado direito) */

.about-copy {
  max-width: 520px;
}

.section-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #8a8fb8;
  margin: 0 0 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #151b3e;
}

.section-text {
  margin: 0 0 0.75rem;
  color: #646a86;
  font-size: 0.95rem;
}

/* Botão dessa seção */

.btn-about {
  margin-top: 1.5rem;
  background: #ffc857;
  color: #1a1420;
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.55);
}

.btn-about:hover {
  background: #ffb635;
  box-shadow: 0 18px 40px rgba(255, 182, 53, 0.6);
}

/* Seção Serviços */

.section-services {
  background: #f5f5fb;
}

.services-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 3.5rem;
}

.services-copy {
  max-width: 520px;
}

.btn-services {
  margin-top: 1.5rem;
  background: #ffc857;
  color: #1a1420;
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.55);
}

.btn-services:hover {
  background: #ffb635;
  box-shadow: 0 18px 40px rgba(255, 182, 53, 0.6);
}

/* Cards de serviço */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 16px 40px rgba(30, 38, 80, 0.16);
  border: 1px solid rgba(180, 186, 220, 0.3);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: #151b3e;
}

.service-icon--build {
  background: linear-gradient(135deg, #e3ecff, #f3f0ff);
  color: #4b6bff;
}

.service-icon--migration {
  background: #e8f9ff;
  color: #12a4ff;
}

.service-icon--support {
  background: #e9fffb;
  color: #09b48e;
}

.service-icon--consulting {
  background: #fff3df;
  color: #f29b1d;
}

.service-title {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  color: #151b3e;
}

.service-text {
  margin: 0;
  font-size: 0.9rem;
  color: #676d8d;
}

/* Seção Depoimentos */

.section-testimonials {
  background-image: linear-gradient(135deg, #221f52, #3c2d7b, #0b1024);
  color: var(--color-text-main);
  padding-bottom: 6rem;
}

.testimonials-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.7);
}

.section-title--light {
  color: #ffffff;
}

.testimonials-layout {
  margin-top: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.testimonials-orbit {
  position: relative;
  max-width: 640px;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card principal de depoimento */

.testimonial-card {
  position: relative;
  background: #ffffff;
  color: #1b1f3b;
  border-radius: 1.7rem;
  padding: 2.2rem 2.4rem;
  max-width: 420px;
  box-shadow: 0 18px 50px rgba(7, 3, 46, 0.6);
  z-index: 2;
}

.testimonial-text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #4a4f73;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.testimonial-initials {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4b6bff, #26e0c0);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #151b3e;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #7b80a4;
}

.testimonial-rating {
  font-size: 1.1rem;
  color: #ffc857;
}

/* Avatares em volta do card */

.testimonial-avatar {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(11, 16, 36, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.avatar-1 {
  top: 4%;
  left: 8%;
}
.avatar-2 {
  top: 8%;
  right: 10%;
}
.avatar-3 {
  bottom: 10%;
  left: 4%;
}
.avatar-4 {
  bottom: 6%;
  right: 16%;
}
.avatar-5 {
  top: 50%;
  left: -4%;
  transform: translateY(-50%);
}
.avatar-6 {
  top: 58%;
  right: -4%;
  transform: translateY(-50%);
}

/* Seção de contato */

.section-contact {
  background: #f8f8ff;
  position: relative;
  padding-bottom: 6rem;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.contact-copy {
  max-width: 520px;
}

/* Card do formulário */

.contact-form-card {
  background: #ffffff;
  border-radius: 1.8rem;
  padding: 2rem 2.1rem;
  box-shadow: 0 20px 55px rgba(45, 54, 120, 0.22);
  border: 1px solid rgba(210, 214, 240, 0.6);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7c80a1;
}

.field-input,
.field-textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(180, 186, 220, 0.9);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  color: #151b3e;
  background: #fdfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: #b5b9d3;
}

.field-textarea {
  resize: vertical;
  min-height: 120px;
}

.field-input:focus,
.field-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(75, 107, 255, 0.14);
  background: #ffffff;
}

/* Botão do formulário */

.btn-contact {
  margin-top: 0.6rem;
  width: 100%;
  background: #ffc857;
  color: #1a1420;
  box-shadow: 0 14px 30px rgba(255, 200, 87, 0.6);
}

.btn-contact:hover {
  background: #ffb635;
  box-shadow: 0 18px 40px rgba(255, 182, 53, 0.7);
}

/* Rodapé */

.site-footer {
  background-image: linear-gradient(135deg, #221f52, #3c2d7b, #0b1024);
  color: var(--color-text-main);
  padding: 3.5rem 0 2.5rem;
  border-radius: 2.5rem 2.5rem 0 0;
  margin-top: -2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  row-gap: 2rem;
  column-gap: 2.5rem;
  align-items: center;
}

.footer-brand .logo {
  margin-bottom: 0.6rem;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(240, 242, 255, 0.8);
}

/* Navegação do rodapé */

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(235, 238, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* Parte de baixo do rodapé */

.footer-meta {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 1.2rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(230, 235, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social-link {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.footer-social-link:hover {
  background: var(--color-accent);
  border-color: transparent;
  color: #041016;
  transform: translateY(-1px);
}

/* Responsivo contato e rodapé */

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section-contact {
    padding-bottom: 4rem;
  }

  .site-footer {
    border-radius: 1.8rem 1.8rem 0 0;
    padding-top: 3rem;
  }
}


@media (max-width: 900px) {
  .services-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .testimonial-card {
    padding: 2rem 1.7rem;
  }

  .testimonials-orbit {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .testimonial-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-avatar {
    display: none;
  }
}

/* Responsivo para a seção About */

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .about-copy {
    order: -1;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 3.5rem 0;
  }

  .about-card {
    width: 100%;
    max-width: 260px;
  }
}

/* Responsivo */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }

  .main-nav {
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-photo-placeholder {
    width: 230px;
    height: 230px;
  }
}
