/*=============== GOOGLE FONTS ===============*/
/* As fontes agora são carregadas no HTML (<link rel="preconnect">) para melhor Performance/SEO */

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(25, 90%, 52%);
  --second-color: hsl(30, 90%, 65%);
  --first-gradient: linear-gradient(
    90deg,
    hsl(25, 90%, 52%),
    hsl(30, 90%, 62%)
  );
  --title-color: hsl(220, 15%, 12%);
  --text-color: hsl(220, 10%, 28%);
  --text-color-light: hsl(220, 8%, 65%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(225, 65%, 12%);
  --gray-border: hsl(220, 10%, 90%);
  --black-border: hsl(225, 40%, 25%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --big-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 768px) {
  :root {
    --big-font-size: 2.75rem; /* Intermediário para não parecer formiga */
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.35rem;
    --h3-font-size: 1.15rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.85rem;
  }
}

@media screen and (min-width: 1150px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}
.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--second-color);
  margin-bottom: 0.5rem;
}

.main {
  overflow-x: hidden;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: background-color 0.4s;
}
.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.nav__logo span {
  color: var(--white-color);
  font-weight: var(--font-bold);
  transition: color 0.4s;
}

.nav__logo-img,
.footer__logo-img {
  width: 80px; /* Aumentado para compensar as margens da imagem */
  height: auto;
  margin-left: -1.5rem; /* Puxa para a esquerda para compensar o espaço vazio da imagem */
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
  transition: color 0.4s;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--black-color);
    width: 80%;
    height: 100%;
    padding: 7.5rem 3.5rem 0;
    border-left: 2px solid var(--black-border);
    transition: right 0.4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.nav__link {
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  transition: color 0.4s;
}

.nav__link:hover {
  color: var(--first-color);
}

.active-link {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Change background header */
.bg-header {
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.1);
}

.bg-header .nav__logo span,
.bg-header .nav__toggle {
  color: var(--title-color);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home {
  position: relative;
  background: var(--black-color);
  overflow: hidden;
  min-height: 100vh;
}

.home__container {
  position: relative;
  row-gap: 3rem;
  padding-block: 3.5rem 6rem;
}

.home__content {
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white-color);
  font-size: var(--big-font-size);
  font-weight: 800; /* Extra Bold para impacto editorial */
  line-height: 1.1; /* Texto mais compacto e profissional */
  letter-spacing: -0.02em; /* Estilo premium */
  margin-bottom: 0.75rem; /* Reduzido para aproximar da descrição */
}

.home__subtitle {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

.home__title-color {
  color: var(--first-color);
}

.home__description {
  margin-bottom: 3rem;
  color: var(--text-color-light);
  line-height: 1.65; /* Melhor legibilidade */
  max-width: 440px; /* Evita linhas cansativas */
  margin-inline: auto; /* Centraliza no mobile */
}

.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.home__info {
  display: flex;
  justify-content: center;
  column-gap: 4.5rem;
}

.home__info-title {
  color: var(--second-color);
  font-size: var(--big-font-size);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.home__info-description {
  color: var(--white-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Técnica de Empilhamento em Grid (mais robusto que position absolute puro) */
.home__images {
  display: grid;
  justify-items: center; /* Centraliza o conjunto no layout */
  position: relative;
}

.home__img-1, 
.home__img-2 {
  grid-area: 1/1; /* Ambas imagens ocupam a mesma célula, ficando uma sobre a outra */
}

.home__img-1 {
  width: 650px;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem; /* Reduzido: menos 'adesivo', mais fotográfico */
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.home__img-2 {
  justify-self: end;
  align-self: start;
  width: 140px; /* Aumentado proporcionalmente */
  height: auto;
  margin: 2rem;
  filter: brightness(1.5) drop-shadow(0 2px 12px rgba(0,0,0,0.7));
  z-index: 10;
}

.home__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, 0.3);
  color: var(--white-color);
}

.button__link {
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--first-color);
}

.button__link span {
  font-weight: var(--font-semi-bold);
}

.button__link i {
  font-size: 1.25rem;
  transition: transform 0.4s;
}

.button__link:hover i {
  transform: translateX(0.25rem);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 6rem;
}
.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 2rem;
}

.about__list {
  text-align: initial;
  grid-template-columns: repeat(2, 130px);
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about__list-item {
  display: flex;
  column-gap: 0.5rem;
  color: var(--title-color);
}

.about__list-item i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.about__images {
  position: relative;
  justify-self: center;
}

.about__img-1 {
  width: 200px;
  border: 5px solid var(--body-color);
  position: absolute;
  top: -5rem;
  left: 6rem;
}

.about__img-2 {
  width: 250px;
  margin-right: 2.5rem;
}
/*=============== SERVICES ===============*/
.services {
  position: relative;
}

.services__container {
  position: relative;
  row-gap: 4rem;
}

.services__data {
  text-align: center;
  margin-bottom: 0;
}

.services__description {
  margin-bottom: 2rem;
}

.services__card {
  width: 290px;
  max-width: 100%;
  background-color: var(--container-color);
  border: none;
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.05);
  padding: 0;
  transition:
    box-shadow 0.4s,
    transform 0.4s ease;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.services__card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 16px 40px hsla(0, 0%, 0%, 0.1);
}

.services__card:hover .services__img {
  transform: scale(1.05);
}

.services__img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.services__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.services__content {
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.services__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--first-gradient);
  color: var(--white-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  z-index: 10;
}

.services__card-description {
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.services__stat {
  display: flex;
  align-items: center;
  column-gap: 0.4rem;
  color: var(--first-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1.5rem;
}

.services__stat i {
  font-size: 1rem;
}

.services__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-top: auto;
  width: 100%;
  transition:
    box-shadow 0.4s,
    transform 0.4s;
}

.services__cta i {
  font-size: 1.25rem;
  transition: transform 0.4s;
}

.services__cta:hover {
  box-shadow: 0 8px 24px hsla(18, 95%, 55%, 0.3);
  color: var(--white-color);
}

.services__cta:hover i {
  transform: translateX(0.3rem);
}

/* Ícones removidos intencionalmente para estética arquitetônica */

.services__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1rem;
}

/* .swiper-container removido — wrapper desnecessário eliminado do HTML */

.services__swiper {
  margin-top: 3rem;
  padding-bottom: 6rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  display: none !important;
}

.swiper-button-prev,
.swiper-button-next {
  display: none; /* Vamos manter escondidos, usando apenas paginação */
}

.swiper-pagination {
  bottom: 2rem !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--text-color-light);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

/* Services Shape */
.services__shape {
  position: absolute;
  width: 100%;
  height: 245px; /* Altura fixa em pixels */
  background-color: var(--black-color);
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* Para mobile */
@media screen and (max-width: 768px) {
  .services__swiper {
    padding-bottom: 4rem;
  }
}
/*=============== PROJECTS ===============*/
.projects {
  background-color: var(--black-color);
}

.projects .section__title {
  color: var(--white-color);
}

.projects__container {
  padding-block: 1.5rem 3rem;
}

.projects__card {
  background-color: var(--container-color);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: border-color 0.4s;
}

.projects__card:hover {
  border-color: var(--first-color);
}

.projects__data {
  padding: 1.5rem 1rem 3rem;
}

.projects__title {
  font-size: var(--h2-font-size);
  margin-block: 0.5rem;
}

.projects__date {
  display: block;
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

/*=============== CONTACT ===============*/
.contact {
  background-color: hsl(220, 20%, 98%);
}

.contact__container {
  row-gap: 3rem;
  padding-block: 2rem 4rem;
}

.contact__img {
  width: 100%;
  max-width: 480px;
  height: 420px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px hsla(225, 65%, 12%, 0.1);
  margin: 0 auto;
}

.contact__data {
  grid-template-columns: minmax(300px, 380px);
  justify-content: center;
  row-gap: 0;
}

.contact__card {
  background-color: var(--container-color);
  border: 1px solid var(--gray-border);
  box-shadow: 0 12px 48px hsla(225, 65%, 12%, 0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  transition:
    box-shadow 0.4s,
    border-color 0.4s,
    transform 0.4s;
  display: flex;
  flex-direction: column;
}

/* Unified card overrides */
.contact__unified {
  padding: 0;
  text-align: left;
  border-color: hsla(18, 95%, 55%, 0.1);
}

@media (hover: hover) {
  .contact__unified:hover {
    transform: translateY(-0.25rem);
    border-color: hsla(18, 95%, 55%, 0.3);
    box-shadow: 0 24px 64px hsla(18, 95%, 55%, 0.1);
  }
}

/* Horizontal rows inside unified card */
.contact__row {
  display: flex;
  align-items: center;
  column-gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  transition: transform 0.3s;
}

@media (hover: hover) {
  .contact__row:hover {
    transform: translateX(0.25rem);
  }

  .contact__row-link:hover {
    background-color: hsl(220, 20%, 95%);
    transform: translateX(0.4rem);
  }

  .contact__row-link:hover .contact__row-label i {
    transform: translate(0.15rem, -0.15rem);
  }
}

.contact__row-icon {
  width: 48px;
  height: 48px;
  background-color: var(
    --black-color
  ); /* Retorno ao Preto Sólido (Maior Contraste) */
  color: var(--first-color); /* Ícone Laranja forte brilhante no centro */
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s;
}

.contact__row:hover .contact__row-icon {
  transform: translateY(-0.15rem); /* Flutuação sutil, sem girar */
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.2); /* Sombra densa */
}

.contact__row-text {
  text-align: left;
}

.contact__row-label {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.2rem;
  transition: color 0.3s;
  white-space: nowrap;
}

/*=============== COOKIE BANNER ===============*/
.cookie__banner {
  position: fixed;
  bottom: -100%; /* Escondido inicialmente */
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  box-shadow: 0 -4px 16px hsla(225, 65%, 12%, 0.1);
  padding: 1.5rem;
  z-index: var(--z-fixed);
  transition: bottom 0.4s;
}

.show-cookie {
  bottom: 0;
}

.cookie__content {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  align-items: center;
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.cookie__content p {
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.cookie__btn {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border: none;
  font-family: var(--body-font);
}

@media screen and (min-width: 768px) {
  .cookie__content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}


.contact__row:hover .contact__row-label {
  color: var(--first-color); /* Highlight elegante só na tipografia */
}

.contact__row-text address,
.contact__row-text p {
  font-style: normal;
  font-size: var(--small-font-size);
  color: var(--text-color);
  line-height: 1.5;
}

.contact__row-divider {
  height: 1px;
  background-color: hsl(220, 10%, 94%);
  margin-inline: 1.75rem;
}

/* Perks / Diferenciais */
.contact__perks {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  padding: 2rem 1.75rem;
}

.contact__perk {
  display: flex;
  column-gap: 1rem;
  align-items: flex-start;
}

.contact__perk i {
  font-size: 1.25rem;
  color: var(--first-color);
  margin-top: 0.2rem;
}

.contact__perk-title {
  font-size: var(--small-font-size);
  font-weight: var(--font-bold);
  color: var(--title-color);
  margin-bottom: 0.15rem;
}

.contact__perk-description {
  font-size: 0.75rem;
  color: var(--text-color-light);
  line-height: 1.4;
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
  color: var(--title-color);
}

.contact__info {
  font-style: normal;
  color: var(--text-color);
  font-size: var(--normal-font-size);
}

.contact__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact__social-link {
  width: 44px;
  height: 44px;
  background-color: var(--container-color);
  color: var(--first-color);
  border: 2px solid hsla(18, 95%, 55%, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
}

.contact__social-link:hover {
  transform: translateY(-0.35rem) rotate(-10deg);
  background: var(--first-gradient);
  color: var(--white-color);
  border-color: transparent;
  box-shadow: 0 8px 24px hsla(18, 95%, 55%, 0.3);
}

/* WhatsApp CTA Pill (Clean & Robust) */
.contact__btn-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  font-size: var(--normal-font-size);
  padding: 1rem 2rem;
  margin: 0 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px hsla(25, 90%, 52%, 0.2);
  transition:
    transform 0.4s,
    box-shadow 0.4s,
    filter 0.4s;
}

.contact__btn-whatsapp:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 12px 32px hsla(25, 90%, 52%, 0.3);
  filter: brightness(1.1);
}

.contact__btn-whatsapp i {
  font-size: 1.5rem;
  transition: transform 0.4s;
}

.contact__btn-whatsapp:hover i {
  transform: scale(1.1);
}

.contact__btn-whatsapp:hover {
  background: var(--first-gradient); /* Acende pro Laranja ao passar o mouse */
  box-shadow: 0 8px 24px hsla(18, 95%, 55%, 0.4);
  transform: translateY(-0.15rem);
}

.contact__btn-whatsapp:hover i {
  color: var(--white-color); /* Vira branco focado */
}

/* Instagram footer link */
.contact__social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.4rem;
  padding: 1.25rem 1.75rem 1.75rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__social-footer-link {
  display: inline-flex;
  align-items: center;
  column-gap: 0.3rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
}

.contact__social-footer-link i {
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contact__social-footer-link:hover,
.contact__social-footer-link:hover i {
  color: var(--first-color);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--black-color);
  color: var(--text-color-light);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2rem 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--black-border);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.footer__brand-social {
  margin-top: 0.5rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
}

.footer__logo span {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.footer__logo i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.footer__description {
  line-height: 1.6;
}

.footer__email,
.footer__info {
  font-style: normal;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  gap: 2rem 3rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  color: var(--white-color);
  margin-bottom: 1rem;
}

.footer__links,
.footer__list {
  list-style: none;
  padding: 0;
  display: grid;
  row-gap: 0.5rem;
}

.footer__link {
  color: var(--text-color-light);
  transition: color 0.4s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__info {
  color: var(--text-color-light);
  line-height: 1.5;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--first-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 1.25rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.footer__social-link:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 8px 20px hsla(18, 95%, 55%, 0.4);
}

.footer__copy {
  margin-top: 2rem;
  text-align: center;
  font-size: var(--small-font-size);
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.footer__credit-link {
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: color 0.3s;
}

.footer__credit-link:hover {
  color: var(--second-color);
}

@media screen and (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
  }

  .footer__content {
    grid-template-columns: repeat(2, max-content);
  }
}

@media screen and (min-width: 1150px) {
  .footer__container {
    grid-template-columns: 1.5fr 2fr;
  }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 6px;
  background-color: hsl(255, 5%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(255, 5%, 65%);
}

::-webkit-scrollbar-thumb-hover {
  background-color: hsl(255, 5%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, 0.15);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition:
    bottom 0.4s,
    transform 0.4s;
}

.contact__row-link {
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }
  .section__title {
    font-size: 1.25rem;
  }

  .home__title {
    font-size: 1.75rem;
  }

  .home__buttons {
    flex-direction: column;
  }

  .home__img-1 {
    width: 200px;
    margin-left: 1.5rem;
  }

  .home__list {
    grid-template-columns: repeat(1, 200px);
  }

  .about__img-1 {
    width: 150px;
    left: 4rem;
  }

  .about__img-2 {
    width: 200px;
    margin-right: 0;
  }

  .footer__content {
    grid-template-columns: repeat(1, max-content);
  }
}

/* For medium devices */
@media screen and (min-width: 540px) {
  .home__container,
  .about__container,
  .services__container,
  .projects__container,
  .contact__container {
    grid-template-columns: min(360px, 100%);
    justify-content: center;
  }

  .footer__content {
    grid-template-columns: repeat(3, max-content);
  }

  @media screen and (min-width: 768px) {
    .nav__menu {
      width: 50%;
    }

    .projects__container {
      grid-template-columns: repeat(2, 330px);
    }

    /* GLOBAL RESPONSIVE SCALING: Tablets and Small Laptops */
    .about__container,
    .services__container {
      grid-template-columns: min(
        720px,
        100%
      ); /* Safer scaling without horizontal overflow risk */
    }

    .home__container {
      grid-template-columns: min(720px, 100%);
      padding-block: 5rem 8rem; /* Extra vertical breathing room */
    }

    /* HOME COMPONENT SCALING */
    .home__img-1 {
      width: 520px;
      margin-left: 2.5rem;
    }

    .home__img-2 {
      width: 300px;
      border-width: 8px;
      left: 0;
      bottom: -4rem;
    }

    /* ABOUT US COMPONENT SCALING */
    .about__img-1 {
      width: 340px;
      left: 8.5rem;
      top: -4rem;
      border-width: 8px;
    }

    .about__img-2 {
      width: 460px;
    }

    /* SERVICES COMPONENT SCALING (Prevents Swiper Squish) */
    .services__card {
      width: 340px;
    }

    .services__img-wrapper {
      height: 240px;
    }

    /* contact__data: single unified card, no multi-column override needed */

    .contact__container {
      grid-template-columns: 100%; /* Destrava o container dos 360px de celulares grandes */
    }

    .contact__content {
      grid-template-columns: repeat(
        2,
        1fr
      ); /* Coloca Imagem e Card lado a lado */
      align-items: stretch;
      column-gap: 2rem;
    }

    .contact__img {
      width: 100%;
      height: 520px;
      object-fit: cover;
      border-radius: 1.5rem;
    }

    .footer__container {
      grid-template-columns: repeat(2, max-content);
      justify-content: space-between;
    }
  }
}

/* For large devices */

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 7rem 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__menu {
    width: initial;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    column-gap: 4rem;
  }

  .bg-header .nav__link {
    color: var(--text-color);
  }

  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--first-color);
  }

  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white-color);
  }

  /* min-height movido para o CSS base de .home */

  .home__container {
    grid-template-columns: 475px 650px;
    column-gap: 6rem;
    align-items: flex-start;
    padding-top: 5.5rem;
    padding-bottom: 10rem;
  }

  .home__content {
    row-gap: 4.5rem;
  }

  .home__data {
    text-align: initial;
  }

  .home__description {
    margin-bottom: 3rem;
    margin-inline: 0;
  }

  .home__buttons {
    justify-content: initial;
    column-gap: 2rem;
  }

  .home__info {
    justify-content: initial;
    column-gap: 4rem;
  }

  .home__info-description {
    font-size: var(--small-font-size);
  }

  .home__img-1 {
    width: 650px;
    margin-left: 0;
  }

  .home__img-2 {
    width: 150px;
    top: 2rem;
    right: 2rem;
  }

  .home__lines {
    object-position: center;
  }

  .about__container {
    grid-template-columns: 460px 500px;
    column-gap: 6rem;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .about__images {
    order: -1;
  }

  .about__data {
    text-align: initial;
  }

  .about__description {
    margin-bottom: 3rem;
  }

  .about__list {
    grid-template-columns: repeat(2, max-content);
    column-gap: 3rem;
    justify-content: initial;
    margin-bottom: 3rem;
  }

  .about__img-1 {
    width: 330px;
    top: -6rem;
    left: 8rem;
    border-width: 10px;
  }

  .about__img-2 {
    width: 430px;
    margin-right: 0;
  }

  .services__container {
    grid-template-columns: initial;
  }

  .services__data {
    margin-bottom: 5rem;
  }

  .services__data .section__title {
    margin-bottom: 1.5rem;
  }

  .services__description {
    margin-bottom: 2.5rem;
  }

  .services__swiper {
    max-width: 1100px;
  }

  .services__card {
    width: 348px;
    border-width: 3px;
    padding: 0;
  }

  .services__img-wrapper {
    height: 250px;
  }

  .services__content {
    padding: 2.5rem 2rem 3rem;
  }

  .services__shape {
    height: 330px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: flex;
    bottom: 3rem;
  }

  .projects__container {
    grid-template-columns: repeat(3, 350px);
    column-gap: 2rem;
    padding-block: 5rem 4rem;
  }

  .projects__card {
    border-width: 3px;
  }

  .projects__data {
    padding: 2rem 1rem;
  }

  .contact__container {
    padding-block: 0;
  }

  .contact__content {
    grid-template-columns: 530px 515px;
    justify-content: initial;
    align-items: stretch;
    column-gap: 4rem;
  }

  .contact__img {
    width: 530px;
    height: 600px;
    object-fit: cover;
    border-radius: 1.5rem;
  }

  .contact__data {
    gap: 2rem;
  }

  .contact__card {
    border-width: 3px;
  }

  .contact__title {
    font-size: var(--h3-font-size);
  }

  .footer {
    padding-block: 4.5rem 3rem;
  }

  .footer__container {
    padding-bottom: 6rem;
  }

  .footer__content {
    column-gap: 7rem;
  }

  .footer__description {
    margin-block: 1.5rem;
  }

  .footer__title {
    margin-bottom: 1.5rem;
  }

  .footer__links,
  .footer__list {
    row-gap: 1rem;
  }

  .scrollup {
    right: 3rem;
  }
}
