@import url(./variables.css);
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');
@import url('http://fonts.cdnfonts.com/css/amsterdam-2');
* {
  margin: 0;
  padding: 0;
  outline: 0;
  appearance: none;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;

  text-align: center; /* Alinha todo texto à direita */
}


main {
    display: block;
}

/* Parallax */
section.module.parallax {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

section.module.parallax-1 {
    background-image: url(./Imagens/1.png);
}

section.module.parallax-2 {
    background-image: url(./Imagens/2.png);
}

section.module.parallax-3 {
    background-image: url(./Imagens/3.png);
}

section.module.parallax::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 8;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 50%, #453646 100%);
}

section.module.parallax h1 {
    font-family: 'Amsterdam', sans-serif;
    color: var(--color-white);
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 100;
    text-align: center;
}

/* Segunda secção - module */
.wrapper {
    width: 100%;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

section.module p {
    margin-bottom: 20px;
}

section.module:last-child {
    margin-bottom: 0;
}

section.module h2 {
    margin-bottom: 20px;
    font-size: 30px;
    text-align: center;
}

section.module.content {
    padding: 40px 0;
    background: var(--color-primary);
}


/* Seção de serviços */
.section-servicos {
  padding-top: 2rem;     /* Espaçamento superior responsivo */
  text-align: center;
  margin-top: 2rem;
}

/* Telas médias (tablets) */
@media (max-width: 768px) {
  .section-servicos {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

/* Telas pequenas (celulares) */
@media (max-width: 480px) {
  .section-servicos {
    padding-top: 1rem;
    margin-top: 3rem;
  }
}


/* Logo */
#logo {
  display: block;
  margin: 20px auto 40px; /* aumentei o espaçamento inferior */
  max-width: 200px;
  margin-top: -44px;
}

#logo1 {
  display: block;
  margin: 20px auto 40px; /* aumentei o espaçamento inferior */
  max-width: 200px;
  margin-top: -126px;
}


#logo2 {
  display: block;
  margin: 20px auto 40px; /* aumentei o espaçamento inferior */
  max-width: 200px;
  margin-top: -115px;
}
#logo3 {
  display: block;
  margin: 20px auto 40px; /* aumentei o espaçamento inferior */
  max-width: 200px;
  margin-top: -85px;
}


/* Título principal */
.sub-title {
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 10px;
  margin: 0 auto 20px; /* Aproxima o título dos cards */
  font-family: "Raleway Bold", sans-serif;
  color: var(--color-dark);
  margin-top: -67px;
}
.section-cards {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 0px 0;
  margin-top: 45.5px
}

.card-grid {
  display: flex;                /* Mude de grid para flex no mobile */
  flex-wrap: wrap;              /* Permite que os cards quebrem linha */
  justify-content: center;      /* Centraliza os cards */
  gap: 24px;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #fff;
  height: 460px;                /* altura fixa no desktop */
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 360px;             /* como os outros cards do seu site */
}

/* RESPONSIVO: um embaixo do outro no mobile */
@media (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    align-items: center;        /* centraliza os cards verticalmente */
    gap: 20px;
    padding: 0 12px;
  }

  .card {
    width: 100%;
    height: auto;               /* deixa crescer conforme o conteúdo */
    max-width: 100%;            /* ocupa toda a largura disponível */
  }
}

.card:hover {
  transform: translateY(-8px);
}

.image-content {
  background-color: #2a335c;
  color: #fff;
  padding: 46px 20px 24px;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  width: 100%;       /* garante que pegue toda a largura */
  max-width: 360px;  /* limite visual em telas grandes */
  margin: 0 auto;    /* centraliza nos desktops */
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .image-content {
    max-width: 100%;  /* ocupa toda a tela no mobile */
    padding: 32px 16px 20px;
  }
}


@media (max-width: 480px) {
     .image-content {
    max-width: 100%;  /* ocupa toda a tela no mobile */
    padding: 32px 16px 20px;
  }
}

.image-content .name {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* Imagem circular */
.card-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 5px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: contain;
}

/* Parte laranja com conteúdo flexível */
.card-content {
  background-color: #f68631;
  padding: 20px 24px;
  color: #fff;
  flex-grow: 1; /* ocupa o espaço restante */
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  line-height: 1.5;
  overflow: hidden;
  text-align: left;
}

/* Parágrafos com limite de linhas para evitar expansão */
.card-content .description {
  margin-bottom: 12px;
  -webkit-line-clamp: 5; /* limita a 5 linhas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}
.name {
    font-size: 18px;
    font-weight: 500;
    color: #26335f;
}

.description {
    font-size: 14px;
    color: #26335f;
    text-align: center;
}

.button {
    border: none;
    font-size: 16px;
    color: aliceblue;
    padding: 8px 16px;
    background-color: var(--color-primary);
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: var(--color-dark);
}

.swiper-navBtn {
    color: var(--color-shadow);
    transition: color 0.3s ease;
}

.swiper-navBtn:hover {
    color: #4070F4;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 35px;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: var(--color-shadow);
    opacity: 1;
}

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

/* Footer */

/* Responsividade */
@media (max-width: 1024px) {
    .card {
        width: 280px;
        margin-left: 10px;
    }

    .swiper-navBtn::before,
    .swiper-navBtn::after {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    section.module.parallax h1 {
        font-size: 60px;
    }

    .card {
        width: 220px;
        margin-left: 5px;
    }

    .slide-content {
        margin: 0 20px;
    }

    .swiper-navBtn::before,
    .swiper-navBtn::after {
        font-size: 25px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-right {
        text-align: center;
        margin-top: 20px;
    }

    .footer-right .copyright {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    section.module.parallax h1 {
        font-size: 40px;
    }

    .card {
        width: 100%;
        margin-left: 0;
    }

    .swiper-navBtn::before,
    .swiper-navBtn::after {
        font-size: 20px;
    }

    .slide-container {
        padding: 20px 0;
    }

    .slide-content {
        margin: 0 10px;
    }

    .button {
        font-size: 14px;
        padding: 6px 12px;
        margin: 10px;
    }

    .footer-right .copyright {
        font-size: 16px;
    }
}
