html{scroll-behavior:smooth}
/* ==== reset.css ==== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');




p {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}



/* ==== home.css ==== */
nav a,
.botoes .btn {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5%;
}

/* EFEITO NO CABECALHO */
@keyframes slideDown {
    to {
        opacity: 5;
        transform: translateY(0);
    }
}

.cabecalho {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background-color: #1B3B5F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 0 solid #007b7d;
    opacity: 1;
    transform: translateY(0);
    z-index: 9999;
}


.cabecalho h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 50%;
    color: #e3fafa;
    letter-spacing: 5%;
}

.cabecalho .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    background-color: #1B3B5F;
    cursor: pointer;
}

.cabecalho nav {
    display: flex;
    gap: 20px;
    background-color: #1B3B5F;
    align-items: center;
}

.cabecalho,
.cabecalho div h1,
.cabecalho nav a,
.botoes {
    background-color: #1B3B5F;
}

.cabecalho nav a {
    color: #f2f2f2;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color .2s ease, color .2s ease;
}
.cabecalho nav a:hover {
    background-color: #007e80;
    color: #ffffff;
}

.cabecalho .logo img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

 
/* ===== HOME ===== */
#home {
    margin-top: 5%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
    background-image: url("img/fundo.jpeg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150%;
    color:#011a25
}

/* Conteúdo central */
.home-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

.home-content h1 span {
    color: #000;
}

.home-content p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

/* Animação suave ao carregar */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ==== sobre.css ==== */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;

}


.sobre {

    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;


}



.container-slide {
    width: 100vw;
    margin: 0 auto;
    overflow: hidden;
    align-items: center;

}



.paginas-slide {
    display: flex;
    width: max-content;
    animation: anima 20s linear infinite;
}

.paginas-slide img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;


    }
    .logo-parceiros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.logo-parceiros img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.logo-parceiros img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


@keyframes anima {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.conteudo {
    display: flex;
    flex: 1;

}


.imgs {
    position: relative;
    flex: 0 0 515px;
    margin-left: 1%;
    height: 625px;
}


.imgs .card {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 8px 15px rgba(0, 0, 0, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}


.imgs .img-1 {
    top: 0;
    left: 0;
}

.imgs .img-2 {
    top: 320px;
    left: 0;
}

.imgs .img-3 {
    top: 50%;
    left: 260px;
    transform: translateY(-40%);
}


.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}


.card .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
}

.card .info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.card .info,
.card .info h1,
.card .info p {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}


.card:hover .info,
.card:hover .info h1,
.card:hover .info p {
    opacity: 1;
    transform: translateY(0);
}



.card .info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    transform: translateY(20px);
    transition: all 0.4s ease;
}



.card .info h1 {
    font-size: 1.1rem;

    margin: 0;
}

.card .info p {
    font-size: 0.9rem;
    margin: 5px 0 0;
}

.card:hover img {
    transform: scale(1.1);
    filter: blur(10px);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.card:hover .layer {
    opacity: 0;
}

.card:hover .info {
    opacity: 1;
    transform: translateY(0);
}



.text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 50px;
    gap: 30px;

}

.text .titulo {
    height: 80px;
    display: flex;
    top: 0;
    justify-content: center;
}

.text .titulo h1 {
    font-size: 3.5em;
}

.text .titulo h1>span {
    position: relative;
    display: inline-block;
    color: #1B3B5F;
    height: 1.2em;
    vertical-align: bottom;
    overflow: hidden;
}

.text .titulo h1>span>span {
    display: block;
    animation: animatewords 5s infinite ease;
}

@keyframes animatewords {
    0% {
        transform: translateY(0%);
    }

    25% {
        transform: translateY(-100%);
    }

    50% {
        transform: translateY(-200%);
    }

    75% {
        transform: translateY(-300%);
    }

    100% {
        transform: translateY(-400%);
    }
}

.text .descricao {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
    line-height: 1.6;
    color: #111111;
    font-size: 15px;
    border-left: 1px solid;
}




/* ==== depoimento.css ==== */

.depoimento {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10%;
   
    
}
.titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    gap: 5%;
}

.titulo h1 {
    color: #1b3b5f;
}

.card {
    display: flex;
    align-items: stretch;
    text-align: justify;
    justify-content: center;
    gap: 0.5%;
    background-color: transparent;
    backdrop-filter: none;
}

.card-1 {
    height: 100%;
    width: 20%;
    background-color: #1b3b5f;
    border-radius: 20px;
    display: flex;
    text-align: justify;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2%;
    gap: 20px;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.card-1:hover {
    color: black;
    transform: scale(1.10);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25),
        0 8px 10px rgba(0, 0, 0, 0.1);
    transform: 0.1s;
}

/* ==== servicos.css ==== */
.servicos {
  background: #f2f2f2;
  color: #1b3b5f;
  font-family: Arial, Helvetica, sans-serif;
  padding: 24px 0;
}

.container-servicos {
  max-width: 1100px;
  margin: 0 auto 12px;
  padding: 0 16px;
}

.container-servicos h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: #1b3b5f;
  font-weight: 800;
}

.linha {
  width: 56px;
  height: 8px;
  border-radius: 8px;
  background: #1b3b5f;
  margin-top: 8px;
}

.container-servicos p {
  margin: 10px 0 0 0;
  color: #2b4a73;
  font-size: 14px;
}

.grid-servicos {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.grid-servicos table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 18px;
}

.card-servico {
  background: #ffffff;
  border: 1px solid #e0e6ef;
  border-radius: 16px;
  padding: 18px;
}

.icone-servico {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #2a5d9a 0%, #1b3b5f 70%);
  box-shadow: 0 8px 18px rgba(27, 59, 95, 0.28);
}

.texto-servico {
  margin-top: 12px;
}

.texto-servico h3 {
  font-weight: bold;
  color: #1b3b5f;
  font-size: 18px;
}

.texto-servico p {
  color: #3b5a86;
  font-size: 14px;
  margin-top: 6px;
}


/* ==== categoria.css ==== */
.categorias {
  background: #F2F2F2;
  color: #1B3B5F;
  font-family: Arial, Helvetica, sans-serif;
  padding: 24px 0;
}

.categorias-container {
  max-width: 1100px;
  margin: 0 auto 12px;
  padding: 0 16px;
}

.categorias-container h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  color: #1B3B5F;
  font-weight: 800;
}

.categorias-linha {
  width: 56px;
  height: 8px;
  border-radius: 8px;
  background: #1B3B5F;
  margin-top: 8px;
}

.categorias-container p {
  margin: 10px 0 0 0;
  color: #2b4a73;
  font-size: 14px;
}

.categorias-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.categorias-grid table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 18px;
}

.categoria-card {
  background: #ffffff;
  border: 1px solid #e0e6ef;
  border-radius: 16px;
  padding: 18px;
}

.categoria-icon {
  width: 56%;
  height: 56%;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #2a5d9a 0%, #1B3B5F 70%);
  box-shadow: 0 8px 18px rgba(27, 59, 95, 0.28);
}

.categoria-titulo {
  margin-top: 10px;
  font-weight: bold;
  color: #1B3B5F;
}

.categoria-texto {
  color: #3b5a86;
  font-size: 13px;
  margin-top: 4px;
}


/* ==== nosso-time.css ==== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 120px;
    }

    .content-full {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }


    .item-full {
    display: grid;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
    }

    /* Efeito quando aparece */
    .item-full.show {
        opacity: 1;
        transform: translateY(0);
    }

    /* Imagem */
    .item-full img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.6s ease;
    }




    .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s ease;
    }

    /* Alternar layout */
    .item:nth-child(even) {
        transform: translateX(-60px);
        flex-direction: row-reverse;
    }

    /* Efeito quando aparece */
    .item.show {
    opacity: 1;
    transform: translateX(0);
    }

    /* Imagem */
    .item img {
    width: 45%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.6s ease;
    }

    /* Texto */
    .content {
    width: 50%;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .content h2 {
    color: #1B3B5F;
    margin-bottom: 10px;
    font-size: 1.8rem;
    }

    .content p {
    color: #1B3B5F;
    line-height: 1.5rem;
    }

    /* Pequeno zoom quando o item entra */
    .item.show img {
    transform: scale(1.05);
    }

    /* Responsividade */
    @media (max-width: 100%) {
        .item {
            flex-direction: column;
        }

        .item:nth-child(even) {
            flex-direction: column;
        }

        .item img, .content {
            width: 100%;
        }
    }

    .carrossel {
        position: relative;
        width: 250%;
        height: 180%;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .comentario {
        position: absolute;
        opacity: 0;
        width: 80%;
        text-align: center;
        font-size: 16px;
        line-height: 1.5;
        transition: opacity 1s ease-in-out;
    }

    /* Define a animação */
    @keyframes trocarComentarios {
        0%, 33% {
        opacity: 1;
        z-index: 1;
        }
        34%, 100% {
        opacity: 0;
        z-index: 0;
        }
    }

    /* Cada comentário entra em um momento diferente */
    .comentario:nth-child(1) {
        animation: trocarComentarios 24s infinite;
    }

    .comentario:nth-child(2) {
        animation: trocarComentarios 24s infinite;
        animation-delay: 8s;
    }

    .comentario:nth-child(3) {
        animation: trocarComentarios 24s infinite;
        animation-delay: 16s;
    }

    /* Nome do cliente */
    .autor {
        margin-top: 10%;
        font-weight: bold;
        color: #1B3B5F;
    }

    .header{
        background-color: #474747;
        height: 20%;
        display: flex;
        width: 100%;
    }
    .paper{
        width: 100%;
    }
    .card{
        margin: 2rem;
        background-color: #f5f5f5;
        border-radius: 10px;
        padding: 3px;
    }
    .card-head{
        color: #1B3B5F;
        display:flex;
        justify-content: center;
        align-items: center;
        font-size: large;
    }

/* ==== contato.css ==== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    /* background: linear-gradient(180deg, #F2F2F2 0%, #BFC9D9 50%, #9AAAC1 100%); */
    background-color: #F2F2F2;
    color: #1B3B5F;
    margin: 0;
    padding: 0;
    text-align: center;
    min-height: 100vh;
}

/* ===== HEADER ===== */
/* header {
    background-color: #1B3B5F;
    padding: 30px 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
} */

header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #F2F2F2;
}

header p {
    margin: 5px 0 0;
    font-size: 1.1em;
    color: #F2F2F2;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.contato-container {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-container h2 {
    font-size: 1.8em;
    margin-bottom: 40px;
    color: #1B3B5F;
}

/* ===== CARDS ===== */
.opcoes-contato {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.contato-card {
    background-color: #ffffff;
    border: 2px solid #1B3B5F;
    border-radius: 15px;
    padding: 30px;
    width: 270px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, background 0.3s ease;
}

.contato-card:hover {
    transform: translateY(-8px);
    background-color: #1B3B5F;
    color: #F2F2F2;
}

.contato-card:hover a,
.contato-card:hover p,
.contato-card:hover h3 {
    color: #F2F2F2;
}

.contato-card img {
    width: 60px;
    margin-bottom: 15px;
    filter: invert(26%) sepia(9%) saturate(2783%) hue-rotate(177deg) brightness(93%) contrast(86%);
}

.contato-card h3 {
    margin: 10px 0;
    font-size: 1.4em;
    color: #1B3B5F;
}

.contato-card p {
    margin: 5px 0;
    font-size: 0.95em;
    color: #1B3B5F;
}

.contato-card a, .telefone {
    display: block;
    font-weight: bold;
    color: #1B3B5F;
    text-decoration: none;
    margin-top: 8px;
    font-size: 1em;
}

/* ===== RODAPÉ ===== */
footer {
    background-color: #1B3B5F;
    padding: 15px;
    font-size: 0.9em;
    color: #F2F2F2;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
}




/* Offset suave para ancoragem com header fixo */
:root{ --header-h: 80px; }
section { scroll-margin-top: var(--header-h); }

/* Responsivo básico do header */
@media (max-width: 768px){
  .cabecalho{
    padding: 10px 16px;
  }
  .cabecalho h1{
    font-size: 1.2rem;
  }
  .cabecalho nav{
    gap: 8px;
  }
  .cabecalho .logo img{
    width: 32px; height: 32px;
  }
}


/* === MENU MOBILE === */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  justify-content: space-between;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #1B3B5F;
    text-align: center;
    padding: 20px 0;
  }
  .menu.active {
    display: flex;
  }
  .menu a {
    padding: 10px;
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: flex;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
