  /*========== Google Fonts ==========*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");

  /*========== Design Tokens ==========*/
:root {
  /*---------- Layout ----------*/
  --header-height: 3.5rem;

  /*---------- Colors / Palette ----------*/
--color-primary: #d32f2f;        /* Vermelho principal */
--color-secondary: #b71c1c;      /* Vermelho escuro / destaques */
--color-gradient: linear-gradient(90deg, #d32f2f, #e53935); /* Degradê vermelho */

  --color-title: #1e1b2e;          /* Títulos */
  --color-text: #2e3340;           /* Texto principal */
  --color-text-light: #b3b3b8;     /* Texto secundário */

  --color-background: #ffffff;     /* Fundo principal */
  --color-surface: #ffffff;        /* Fundo de cards/containers */
  --color-border-light: #e5e5eb;   /* Bordas suaves */
  --color-border-dark: #2a2a33;    /* Bordas fortes */

  --white: #ffffff;
  --black: #1a1826;

  /*---------- Typography / Font Sizes & Weights ----------*/
  --font-family-base: "Montserrat", sans-serif;

  /* Font sizes (desktop first) */
  --font-size-xxl: 3.5rem;   /* Hero titles */
  --font-size-xl: 2.25rem;   /* Section titles */
  --font-size-lg: 1.5rem;    /* H1 */
  --font-size-md: 1.25rem;   /* H2 */
  --font-size-sm: 1rem;      /* H3 / Body */
  --font-size-xs: 0.875rem;  /* Captions */

  /* Font weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

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

  /*========== Responsive Typography ==========*/
@media screen and (max-width: 1150px) {
  :root {
    --font-size-xxl: 2.25rem; /* 36px */
    --font-size-xl: 1.5rem;   /* 24px */
    --font-size-lg: 1.25rem;  /* 20px */
    --font-size-md: 1rem;     /* 16px */
    --font-size-sm: 0.938rem; /* 15px */
    --font-size-xs: 0.813rem; /* 13px */
  }
}

  /*========== Reset & Base Styles ==========*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

  /*========== Utility & Layout 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(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-secondary);
  margin-bottom: .5rem;
}

.main {
  overflow: hidden;
}

  /*========== Header & Nav - Desktop ==========*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: background-color .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: .25rem;
}

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

.nav__logo i {
  color: var(--color-primary);
  font-size: 1.5rem;
}

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

  /*========== Header & Nav - Mobile ==========*/
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--black);
    width: 80%;
    height: 100%;
    padding: 7.5rem 3.5rem 0;
    border-left: 2px solid var(--color-border-dark);
    transition: right .4s;
  }
}

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

.nav__link {
  color: var(--color-text-light);
  font-weight: var(--font-weight-semibold);
  transition: color .4s;
}

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

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

.show-menu {
  right: 0;
}

  /*---------- Change background header ----------*/
.bg-header {
  background-color: var(--color-background);
  box-shadow: 0 4px 16px #0502261A;
}

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

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

  /*========== Home ==========*/
.home {
  position: relative;
  background-color: var(--black);
}

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

.home__content {
  row-gap: 2.5rem;
}

.home__data {
  text-align: center;
}

.home__title {
  color: var(--white);
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.home__description {
  margin-bottom: 2.5rem;
  color: var(--color-text-light);
}

.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(--color-secondary);
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-bold);
  margin-bottom: .5rem;
}

.home__info-description {
  font-size: var(--font-size-sm);
  color: var(--white);
}

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

.home__img-1 {
  width: 250px;
  margin-left: 3.5rem;
}

.home__img-2 {
  width: 150px;
  border: 5px solid var(--black);
  position: absolute;
  left: 0;
  bottom: -3.5rem;
}

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

  /*========== About ==========*/
.about__container {
  row-gap: 8rem;
}

.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: .5rem;
  color: var(--color-title);
}

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

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

.about__img-1 {
  width: 200px;
  border: 5px solid var(--color-background);
  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: 3rem;
}

.services__data {
  text-align: center;
}

.services__description {
  margin-bottom: 2rem;
}

.services__card {
  width: 260px;
  background-color: var(--color-surface);
  border: 2px solid var(--color-border-light);
  padding: 2rem 1rem 3.5rem;
  transition: border-color .4s;
}

.services__card:hover {
  border-color: var(--color-primary);
}

.services__icon {
  width: 70px;
  height: 70px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.services__title {
  font-size: var(--font-size-md);
  margin-bottom: .5rem;
}

.services__shape {
  position: absolute;
  width: 100%;
  height: 245px;
  background-color: var(--black);
  bottom: 0;
  left: 0;
}

  /*========== Projects ==========*/
.projects {
  background-color: var(--black);
}

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

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

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

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

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

.projects__title {
  font-size: var(--font-size-md);
  margin-block: .5rem;
}

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

  /*========== Contact ==========*/
.contact__container {
  row-gap: 3rem;
  padding-block: 1.5rem 3rem;
}

.contact__img {
  width: 320px;
  justify-self: center;
}

.contact__data {
  grid-template-columns: 230px;
  justify-content: center;
  row-gap: 1.5rem;
}

.contact__card {
  background-color: var(--color-surface);
  border: 2px solid var(--color-border-dark);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: border-color .4s;
}

.contact__card:hover {
  border-color: var(--color-primary);
}

.contact__icon {
  width: 48px;
  height: 48px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.contact__title {
  font-size: var(--font-size-md);
  margin-bottom: .5rem;
}

.contact__info {
  font-style: normal;
}

.contact__info a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  row-gap: 0;
  align-items: center;
  justify-content: center;
}

.contact__email {
  font-size: .9rem;
}

/*
.contact__social {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social-link {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .4s;
}

.contact__social-link:hover {
  transform: translateY(-.25rem);
}
*/

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

.footer__container {
  row-gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-border-dark);
}

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

.footer__logo span {
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

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

.footer__description {
  margin-block: 1rem;
}

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

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

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

.footer__links, .footer__list {
  display: grid;
  row-gap: .5rem;
}

.footer__links {
  color: var(--color-text-light);
  transition: color .4s;
}

.footer__links:hover {
  color: var(--color-primary);
}

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

.footer__social-link {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform .4s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
}

.footer__copy {
  display: block;
  text-align: center;
  font-size: var(--font-size-xs);
  margin-top: 2rem;
}

  /*========== Button ==========*/
.button {
  display: inline-flex;
  background: var(--color-gradient);
  color: var(--white);
  font-weight: var(--font-weight-semibold);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: box-shadow .4s;
}

.button:hover {
  box-shadow: 0 8px 32px #F25C054D;
  color: var(--white);
}

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

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

.button__link i {
  font-size: 1.5rem;
  transition: transform .4s;
}

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

  /*---------- Scroll Bar ----------*/
::-webkit-scrollbar {
  width: .6rem;
  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(--color-background);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .15);
  color: var(--color-title);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

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

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

  /*---------- Swiper Class ----------*/
.swiper {
  margin-inline: initial;
  padding-bottom: 4rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

.swiper-button-prev,
.swiper-button-next {
  top: initial;
  bottom: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-surface);
  box-shadow: 0 2px 8px #0A090A;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--color-title);
}

.swiper-button-prev {
  left: calc(50% - 3rem);
}

.swiper-button-next {
  right: calc(50% - 3rem);
}

  /*---------- Breakpoints - 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;
  }

  .about__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);
  }
}

  /*---------- Breakpoints - Medium Devices ----------*/
@media screen and (min-width: 540px) {
  .home__container,
  .about__container,
  .services__container,
  .projects__container,
  .contact__container {
    grid-template-columns: 360px;
    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);
  }

  .contact__data {
    grid-template-columns: repeat(2, 240px);
  }

  .footer__container {
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }
}
  /*---------- Breakpoints - Large Devices ----------*/
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

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

  .nav {
    height: calc(var(--) +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(--color-text);
  }
  .bg-header .active-link,
  .bg-header .nav__link:hover {
    color: var(--color-primary);
  }
  .bg-header .button,
  .bg-header .button:hover {
    color: var(--white);
  }

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

  .home__content {
    row-gap: 4.5rem;
  }
  .home__data {
    text-align: initial;
  }
  .home__description {
    margin-bottom: 3rem;
  }
  .home__buttons {
    justify-content: initial;
    column-gap: 3rem;
  }
  .home__info {
    justify-content: initial;
    column-gap: 5.5rem;
  }
  .home__info-description {
    font-size: var(--font-size-md);
  }
  .home__img-1 {
    width: 550px;
    margin-left: 0;
  }
  .home__img-2 {
    width: 350px;
    border-width: 10px;
    left: -7rem;
    bottom: -8rem;
  }
  .home__lines {
    object-position: center;
  }
  .about__container {
    grid-template-columns: repeat(2, 480px);
    column-gap: 9rem;
    padding-block: 9rem 2rem;
  }
  .about__images {
    order: -1;
  }
  .about__img-1 {
    width: 370px;
    border-width: 10px;
    top: -9rem;
    left: 11rem;
  }
  .about__img-2 {
    width: 470px;
  }
  .about__data,
  .about__data :is(.section__title, .section__subtitle) {
    text-align: initial;
  }
  .about__list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 3.5rem;
  }

  .services__container {
    grid-template-columns: initial;
    row-gap: 5rem;
    padding-bottom: 4.5rem;
  }
  .services__data {
    display: grid;
    grid-template-columns: 415px 370px max-content;
    justify-content: space-between;
    align-items: center;
  }
  .services__data :is(.section__title, .section__subtitle),
  .services__description {
    text-align: initial;
  }
  .services__data .section__title {
    margin-bottom: 0;
  }
  .services__swiper {
    max-width: 1100px;
  }
  .services__card {
    width: 348px;
    border-width: 3px;
    padding: 3.5rem 2rem 6rem;
  }
  .services__shape {
    height: 330px;
  }

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

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

  .contact :is(.section__title, .section__subtitle) {
    text-align: initial;
  }
  .contact__container {
    grid-template-columns: 530px 515px;
    justify-content: initial;
    align-items: flex-start;
    column-gap: 3.5rem;
    padding-block: 3.5rem 4rem;
  }
  .contact__img {
    width: 530px;
  }
  .contact__data {
    gap: 2rem;
  }
  .contact__card {
    border-width: 3px;
  }
  .contact__title {
    font-size: var(--font-size-sm);
  }

  .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;
  }
}
