/* Importação de fontes personalizadas -> Poppins */
@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;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*=================================================================================*/
/* RESET E ESTILOS GLOBAIS */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
   background-color: #f0f0f0; 
}

.titulo {
    color: darkblue;
    margin: 0px;
    font-size: 35px;
    text-decoration: none;
}
.titulo h1 {
    font-weight: 400;
}

/*=================================================================================*/
/* HEADER */
.header {
    background-color: darkblue;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* HEADER > Logo */
.logo img {
    width: 60px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.1);
}

/* HEADER > Menu */
.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu li a {
    text-decoration: none;
    color: rgb(200, 200, 200);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.menu li a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* MENU HAMBURGUER */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
    line-height: 1;
}
.menu-toggle.active {
    transform: rotate(90deg);
}

/*=================================================================================*/
/* FOOTER */
.custom-footer {
    background-color: darkblue;
    padding: 30px 20px;
    box-sizing: border-box;
}
.custom-footer h4 {
    color: white;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}
.custom-footer p {
    color: rgb(200, 200, 200);
    font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  gap: 40px;
}

.footer-column {
  flex: 1;
  text-align: center;
}
.footer-column ul {
    list-style: none;
}
.footer-column a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 14px;
}
.footer-column a:hover {
    text-decoration: underline;
}

.footer-image-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
}

/*=================================================================================*/
/* QUADRO - Quem Somos */
.quadro {
    background: rgb(253, 233, 119);
    padding: 8px;
}

.quadro-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* altura definida apenas pelo texto */
    flex-wrap: wrap;
    gap: 0;
}

.quadro-card {
    max-width: 675px;
    background-color: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px;
    flex: 1 1 300px;
}

.quadro-card .card-content {
    padding: 20px; 
    aspect-ratio: 5/4;
}

/* Imagem sempre quadrada, independente do texto */
.quadro-card img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
    display: block;
}

/*=================================================================================*/
/* CARROSSEL */
.carrossel {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.carrossel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}
.btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}
.prev { left: 20px; }
.next { right: 20px; }

/*=================================================================================*/
/* CARDS - Serviços / Documentação */
.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    margin-top: 5px;
}

.card {
    width: 100%;
    max-width: 600px;
    background-color: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 16px;
    flex: 1;
}
.card-content h3 {
    margin-bottom: 8px;
    color: darkblue;
    font-size: 16px;
}
.card-content p {
    color: #666;
    font-size: 16px;
    text-align: justify;
}
.card-content ul {
    padding-left: 20px;
    margin-top: 8px;
}
.card-content ul li p {
    font-size: 16px;
    color: #555;
}

.link-dou {
    padding: 12px 16px;
    border-top: 1px solid #ddd;
}
.link-dou a {
    color: darkblue;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}
.link-dou a:hover {
    text-decoration: underline;
}

/*=================================================================================*/
/* DEPOIMENTOS */
.depoimentos-container {
    background-color: #c7ffc8;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.depoimento-item {
    display: flex;
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    gap: 30px;
    align-items: flex-start;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.depoimento-item video,
.depoimento-item .video-container {
    width: 280px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.depoimento-texto h1 {
    font-size: 25px;
    color: #000000;
    line-height: 2;
    vertical-align: center;
}
.depoimento-texto p {
    font-size: 20px;
    color: #333;
    line-height: 1.5;
    vertical-align: middle;
}

/*=================================================================================*/
/* RESPONSIVIDADE */
/* Tablet */
@media (max-width: 900px) {
    .quadro-card {
        width: 100%;
        max-width: 100%;
        margin: 10px 20px;
    }
    .quadro-card img {
        max-height: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header: logo e hamburguer lado a lado com space-between */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    /* Menu hamburguer */
    .menu-toggle {
        display: block;
    }

    .navbar {
        width: auto;
        display: flex;
        align-items: center;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: darkblue;
        padding: 10px 0 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        z-index: 999;
    }
    .menu.active {
        display: flex;
    }
    .menu li {
        width: 100%;
        text-align: center;
    }
    .menu li a {
        display: block;
        padding: 14px;
        font-size: 15px;
    }

    /* Carrossel menor */
    .carrossel {
        height: 220px;
    }

    /* Quadro Quem Somos: empilha verticalmente */
    .quadro-container {
        flex-direction: column;
    }
    .quadro-card {
        width: calc(100% - 30px);
        max-width: 100%;
        margin: 10px 15px;
        flex: none;
    }
    .quadro-card img {
        max-height: 220px;
        min-height: 150px;
    }

    /* Cards: um por linha */
    .card-container {
        padding: 10px;
        gap: 15px;
    }
    .card {
        max-width: 100%;
    }

    /* Depoimentos: empilha vídeo + texto */
    .depoimento-item {
        flex-direction: column;
        width: 95%;
        padding: 15px;
    }
    .depoimento-item video,
    .depoimento-item .video-container {
        width: 100%;
        height: 200px;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-bottom: 25px;
    }
    .footer-image-container {
        order: -1;
    }
    .footer-column {
        width: 100%;
    }

    /* Título */
    .titulo {
        font-size: 24px;
    }
}

/* Telas muito pequenas */
@media (max-width: 400px) {
    .carrossel {
        height: 160px;
    }
    .menu li a {
        font-size: 14px;
        padding: 12px;
    }
}
