:root {
  --darkgray: #212329;
  --brightred: #f9423D;
  --white: #fff;
  --lightred: #f9433dcc;
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.4;
  background-image: url(media/1.png);
  background-size: cover;
  background-position: center center;
  padding-bottom: 80px;
}

/* ---------- Navegação ---------- */
.nav-container {
  width: 100%;
  background-color: var(--darkgray);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  width: 90%;
  max-width: 1720px;
  margin: 0 auto;
  position: relative;
}

#navbar-logo {
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.menu-toggle {
  display: none !important;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1002;
}

.menu-toggle i {
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-links {
  color: var(--white);
  text-decoration: none;
  padding: 6px 10px;
  position: relative;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.nav-links::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brightred);
  transition: width 0.3s ease;
}

.nav-links:hover {
  color: var(--brightred);
  transform: translateY(-1px);
}

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

/* ---------- Botão ---------- */
.btn {
  display: inline-block;
  background: var(--brightred);
  color: var(--white);
  padding: 8px 30px;
  margin: 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* ---------- Conteúdo ---------- */
.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Título e barra decorativa ---------- */
.section-header {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.section-header .line {
  width: 150px;
  height: 3px;
  background: var(--white);
  margin: 0 auto;
}

/* ---------- Cards de Serviço ---------- */
.cards-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.single-service {
  background: #fff;
  padding: 20px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  transition: box-shadow 0.3s ease;
  width: 100%;
  margin-bottom: 30px;
}

.single-service:hover {
  box-shadow: 0 30px 35px rgba(0, 0, 0, 0.3);
}

.single-service h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #262626;
  margin-bottom: 15px;
}

.single-service p {
  color: #262626;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.social {
  width: 60px;
  height: 60px;
  background: #262626;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social i {
  font-size: 28px;
  color: #fff;
}

/* ---------- Rodapé ---------- */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to right, #1a1a1a, #2c2c2c);
  color: #ffffff;
  text-align: center;
  padding: 14px 10px;
  font-size: 13px;
  border-top: 2px solid #CE6F0A;
  z-index: 1000;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.5;
  padding: 0 10px;
}

.footer-content p {
  margin: 4px 0;
  color: #ccc;
}

.footer a {
  color: #CE6F0A;
  text-decoration: none;
}

.footer a:hover {
  color: var(--brightred);
  text-decoration: underline;
}

.footer-content hr {
  border: none;
  border-top: 2px solid #CE6F0A;
  margin: 12px 0;
  width: 100%;
}

/* ---------- Desktop ---------- */
@media screen and (min-width: 1025px) {
  .cards-row {
    flex-wrap: nowrap;
  }

  .single-service {
    width: 32%;
    margin-bottom: 0;
  }

  .single-service.left {
    order: 1;
  }

  .single-service.center {
    order: 2;
  }

  .single-service.right {
    order: 3;
  }

  .menu-toggle {
    display: none !important;
  }
}

/* ---------- Tablet ---------- */
@media screen and (max-width: 1024px) {
  .cards-row {
    flex-direction: column;
  }

  .single-service {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 768px) {
  .menu-toggle {
  display: block !important;
  position: absolute;
  top: 16px;
  right: 5px; /* ajuste aqui para mover mais à direita */
  z-index: 1002;
}


  .nav-menu {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    width: 30%;
    position: fixed;
    top: 0;
    bottom: 18%;
    right: 0;
    padding: 20px 0;
    transition: all 0.5s ease;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    text-align: center;
    line-height: 50px;
    width: 100%;
    padding: 10px 0;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
  }

  .nav-links:hover {
    background-color: var(--brightred);
    color: var(--white);
    transition: all 0.4s ease-out;
  }

  .footer {
    font-size: 14px;
    padding: 16px 12px;
  }

  .footer-content p {
    white-space: normal;
  }

  .footer-content hr {
    margin: 8px 0;
    border-top: 1px solid #CE6F0A;
  }
}

@media screen and (max-width: 480px) {
  .nav-links {
    font-size: 14px;
  }

  .footer {
    font-size: 11px;
    padding: 12px 8px;
  }

  .footer-content p {
    font-size: 12px;
    white-space: normal;
  }

  .footer-content hr {
    margin: 6px 0;
    border-top: 1px solid #CE6F0A;
  }

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

    .single-service h3 {
    font-size: 18px;
  }

  .single-service p {
    font-size: 13px;
  }
}
