:root {
  --blue: #0036c9;
  --dark: #07111f;
  --yellow: #ffd12a;
  --gray: #f4f6fb;
  --text: #333;
  --white: #fff;
}

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

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  z-index: 99;
  box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

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

.logo {
  height: 110px;
  width: auto;
}

nav {
  display: flex;
  gap: 28px;
}

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

.btn-header,
.btn-primary,
.btn-secondary,
.btn-whats {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
}

.btn-header,
.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

.hero {
  position: relative;
  padding: 160px 0 100px;
  background:
    linear-gradient(120deg, rgba(7,17,31,.94), rgba(0,54,201,.78)),
    url("img/projeto-2.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}

.hero-text span,
.section-tag {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 18px 0;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 35px;
  border-radius: 28px;
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.about,
.services,
.instagram,
.cta {
  padding: 90px 0;
}

.about-content {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  color: var(--dark);
  margin-top: 12px;
}

.about p,
.instagram-text {
  font-size: 18px;
  line-height: 1.7;
}

.services {
  background: var(--gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.07);
  border-bottom: 5px solid var(--blue);
}

.service-card h3 {
  color: var(--blue);
  margin-bottom: 12px;
}

.insta-box {
  margin: 35px 0 25px;
  background: var(--gray);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.cta {
  background: linear-gradient(120deg, var(--blue), var(--dark));
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  margin: 15px 0 30px;
  font-size: 18px;
}

.btn-whats {
  background: #22c55e;
  color: var(--white);
}

.footer {
  background: var(--dark);
  color: var(--white);
  padding: 35px 0;
}

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

.footer img {
  height: 45px;
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero-content,
  .about-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .btn-header {
    display: none;
  }

  .hero {
    padding-top: 130px;
  }
}

.projects {
  padding: 90px 0;
  background: var(--white);
}

.projects-text {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  margin-top: 15px;
}

.projects-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.projects-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 22px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: .3s ease;
}

.projects-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}

.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 18px;
}

.lightbox span {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid img {
    height: 230px;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid img {
    height: 280px;
  }

  .hero {
    background-position: center top;
  }
}