:root {
  --blue: #5ba1be;
  --blue-dark: #0a0727;
  --accent: #d3da00;
  --green: #21dd3b;
  --text: #1f2933;
  --muted: #667085;
  --white: #fff;
  --shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  background: #fff;
}

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

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.header-grid {
  min-height: 100px;
  display: grid;
  grid-template-columns: 210px 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.brand img {
  width: 190px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 15px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--blue);
}

.budget-button,
.primary-link,
.hero-button,
.whatsapp-button,
.newsletter-form button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.budget-button {
  color: #fff;
  background: var(--blue);
  text-transform: uppercase;
  font-size: 15px;
}

.budget-button:hover,
.whatsapp-button:hover,
.contact-form button:hover {
  background: var(--green);
}

.socials {
  display: flex;
  gap: 6px;
  align-items: center;
}

.socials a {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity .7s ease;
  z-index: -2;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 7, 39, .58), rgba(10, 7, 39, .28));
  z-index: -1;
}

.hero-content {
  width: min(1140px, calc(100% - 40px));
  text-align: center;
  color: #fff;
  padding: 30px 20px;
}

.hero h1,
.section-heading h2,
.service-copy h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "League Spartan", Arial, sans-serif;
  font-weight: 700;
  line-height: .95;
}

.hero h1 {
  font-size: clamp(45px, 6vw, 60px);
}

.hero p {
  margin: 12px 0 22px;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.hero-button {
  background: var(--accent);
  color: var(--blue-dark);
}

.hero-button:hover {
  background: var(--green);
  color: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 45px;
  height: 45px;
  border: 0;
  background: transparent;
  color: #c8c8c8;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  color: #ff3b61;
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.section {
  padding: 58px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) 1fr;
  gap: 44px;
  align-items: center;
}

.service-image img {
  border-radius: 4px;
}

.service-copy h2,
.section-heading h2,
.about h2,
.contact h2 {
  color: var(--blue);
  font-size: clamp(42px, 5vw, 60px);
}

.service-copy p,
.about p,
.contact p {
  margin: 14px 0 22px;
  line-height: 1.75;
  text-align: justify;
}

.primary-link,
.contact-form button {
  color: #fff;
  background: var(--blue);
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading p {
  margin: 8px 0 0;
  font-family: "League Spartan", Arial, sans-serif;
  color: var(--blue-dark);
  font-size: 28px;
  font-weight: 500;
}

.section-heading.light h2,
.section-heading.light p {
  color: #fff;
}

.process,
.site-footer {
  background: var(--blue-dark) url("../images/fundo_processos.webp") center / cover repeat-y;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  min-height: 126px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 2px solid #fff;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .02);
}

.process-card img {
  width: 80px;
}

.process-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.product-grid,
.portfolio-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card,
.portfolio-card,
.blog-card {
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-card img,
.portfolio-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}

.product-card:hover img,
.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-card h3 {
  margin: 0;
  padding: 16px;
  color: var(--blue-dark);
  font-size: 18px;
}

.newsletter {
  padding: 42px 0;
  color: #fff;
  background: var(--blue);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: .95fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.newsletter h2 {
  margin: 0;
  font-family: "League Spartan", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 46px);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.form-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.newsletter-form button {
  color: var(--blue-dark);
  background: var(--accent);
}

.form-message {
  min-height: 22px;
  margin: 8px 0 0;
  font-size: 14px;
}

.about-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-images img:first-child {
  grid-column: 1 / -1;
}

.faq {
  background: #f7fbfd;
}

.faq-image {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .07);
}

summary {
  padding: 16px 18px;
  color: var(--blue-dark);
  font-weight: 600;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  line-height: 1.65;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
}

.blog-copy {
  padding: 15px;
}

.blog-copy span,
.blog-copy time {
  display: inline-block;
  margin-right: 8px;
  color: var(--muted);
  font-size: 13px;
}

.blog-copy h3 {
  margin: 10px 0;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.3;
}

.blog-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  background: #f4f8fb;
}

.contact-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  line-height: 2;
}

.whatsapp-button {
  color: #fff;
  background: var(--blue);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 46px 0;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr;
  gap: 26px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 12px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #fff;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

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

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 260px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: #21dd3b;
  box-shadow: var(--shadow);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .header-grid {
    grid-template-columns: 180px auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 18px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .budget-button {
    justify-self: end;
  }

  .header-socials {
    display: none;
  }

  .process-grid,
  .product-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .header-grid {
    min-height: 88px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 165px;
  }

  .budget-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    min-height: 640px;
  }

  .hero-arrow {
    display: none;
  }

  .split,
  .newsletter-grid,
  .about-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .service-copy p,
  .about p,
  .contact p {
    text-align: left;
  }

  .process-grid,
  .product-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    grid-template-columns: 74px 1fr;
  }

  .process-card img {
    width: 64px;
  }

  .form-line {
    grid-template-columns: 1fr;
  }

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

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    text-align: center;
  }
}
