
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff; 
    color: #333; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.containermain {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.containerslide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.containerquadrado {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.containeruc {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

.containerpe {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

header {
    background-color: #003366; 
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s;
}

@media only screen and (max-width: 768px) {
    header {
        text-align: center;
    }

    .head-img {
        max-width: 80px; 
        margin-right: 10px; 
        margin-top: 10px; 
    }

    nav ul {
        margin-top: 10px; 
        margin-bottom: 10px; 
    }

    nav ul li {
        display: inline-block; 
        padding: 5px -10px;
    }

    nav ul li a {
        font-size: 7px; 
        margin: 0 -20px;
    }

}

.logo {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.logobutton {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
    height: 20px;
}

.head-img {
    max-width: 150px;
    height: auto;
    margin-right: 80%;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 0;
}

.logo-image {
    width: 100%;
    max-height: 500px;
    display: block;
    margin: 75px auto 10px;
    object-fit: cover;
}

.home-header nav ul {
 margin-top: 20px;   
}

.home-header nav ul li {
    position: relative;
    display: inline-block;
    margin-right: 20px; 
    top: 0px;
}

@media only screen and (max-width: 768px) {
    .home-header nav ul {
        margin-top: 40px; 
        margin-bottom: 10px; 
    }

    .home-header nav ul li {
        display: block; 
        margin-right: 0; 
        margin-bottom: 5px; 
        margin: 0 10px;
        top: 0; 
    }

    .logobutton {
        font-size: 10px; 
        margin-right: 10px; 
        margin-top: 10px;
    }

    .head-img {
        max-width: 80px; 
        margin-right: 10px; 
        margin-top: 5px; 
    }

    nav ul li a::before,
    nav ul li a::after {
        display: none; 
    }
}

nav ul {
    margin-top: 20px; 
}


nav ul li {
    position: relative;
    display: inline-block;
    margin-right: 20px; 
    top: 24px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    position: relative;
    transition: color 0.3s;
    font-size: 18px; 
    padding: 10px 20px;
}


nav ul li a::before,
nav ul li a::after {
    content: '';
    position: absolute;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    background-color: transparent;
    transition: background-color 0.3s;
    z-index: -1;
    top: -10px; 
    left: -10px;
}

nav ul li a::before {
    top: 0;
    left: 0;
}

nav ul li a::after {
    bottom: 0;
    right: 0;
}

nav ul li a:hover {
    color: #003366; 
}

nav ul li a:hover::before,
nav ul li a:hover::after {
    background-color: white; 
}


section {
    padding: 20px 0;
}


footer {
    background-color: #003366; 
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.slideshow-container {
    position: relative;
    max-width: 50%;
    overflow: hidden;
    margin-left: 0;
    margin-right: auto;
    margin-top: 15px;
}

.logo-slide {
    position: absolute;
    top: 60px;
    left: calc(60% + 10px);
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-top: 670px;
    max-width: 100%;
    height: auto;
}

.logo-slide.show {
    opacity: 1;
    width: 30%;
}

.logo-img {
    width: 100%;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .logo-img {
        display: none; 
    }

    .slideshow-container {
        position: relative;
    max-width: 50%; 
    overflow: hidden;
    margin-left: auto; 
    margin-right: auto; 
    margin-top: 15px;
    }

    .logo-slide {
        position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 400px; 
    opacity: 0;
    transition: opacity 0.5s ease;
    }

    .logo-slide.show {
        opacity: 1; 
    }

    .slides {
        list-style-type: none;
        margin: 0;
        padding: 0;
        margin-left: 0;
        width: 200%;
    }
    
    .slides li {
        display: none;
    }
    
    .slides img {
        width: 50%;
        height: 350px;
        margin: 0;
        border: 2px solid #003366;
        object-fit: cover;
    }
}


.slides {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-left: 0;
}

.slides li {
    display: none;
}

.area-historia {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff; 
    background-color: rgba(0, 51, 102, 1); 
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); 
}


.image-container {
    text-align: center; 
}

#imagem1 {
    max-width: 50%; 
    height: auto; 
    border: 4px solid #333; 
    border-radius: 10px; 
    display: block; 
    margin: 0 auto; 
    margin-top: 120px;
}


#imagem2 {
    max-width: 50%; 
    height: auto; 
    border: 4px solid #333; 
    border-radius: 10px; 
    display: block; 
    margin: 0 auto; 
    margin-top: 120px;
}


#imagem3 {
    max-width: 50%; 
    height: auto; 
    border: 4px solid #333; 
    border-radius: 10px; 
    display: block; 
    margin: 0 auto; 
    margin-top: 120px;
}

.image-story p {
    font-size: 18px; 
    line-height: 1.6; 
    color: #444; 
    margin-top: 20px; 
    text-align: center; 
}

.slides img {
    width: 50%;
    height: 350px;
    margin: 0;
    border: 2px solid #003366;
    object-fit: cover;
}

.prev, .next {
    background-color: #003366;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.prev:hover, .next:hover {
    background-color: #129701;
}

.container {
    position: relative;
}

.prev, .next {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #003366;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}


.tabcontent {
    display: none;
}


.link-text {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}



.link-text {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

h3 {
    display: inline-block;
    width: 20%; 
    margin: 0; 
    margin-left: 60px;

}



.link-text {
    text-align: left;
    font-weight: bold;
    margin-top: 10px;
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 2s ease-in-out forwards;
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-item {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    
    .container {
        width: 80%;
        margin: 0 auto;
    }

    .containerslide {
        width: 33%;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #000000f1; 
    color: #ffffff; 
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 9999; 
}

.cookie-banner p {
    margin: 0;
    font-size: 16px;
}

.cookie-buttons button,
.cookie-buttons a {
    margin-right: 10px;
    padding: 10px 20px; 
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px; 
    font-weight: bold; 
}

.cookie-buttons button {
    background-color: #003366; 
    color: #fff; 
}

.cookie-buttons a {
    background-color: #003366; 
    color: #fff; 
}

@media only screen and (max-width: 768px) {
    .cookie-banner {
        width: 90%;
        left: 5%; 
        bottom: 10px; 
    }

    .cookie-banner p {
        font-size: 14px; 
    }

    .cookie-buttons button,
    .cookie-buttons a {
        margin-right: 5px; 
        padding: 8px 15px; 
        font-size: 14px; 
    }
}

.img-missao {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.img-missao img {
    max-width: 50%;
    height: auto;
}

.img-qualidade {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.img-qualidade img {
    max-width: 40%;
    height: auto;
}

@media only screen and (max-width: 768px) {
    .img-missao img,
    .img-qualidade img {
        max-width: 100%; 
        height: auto; 
        margin-top: 20px; 
    }
}

.texto-qualidade {
    text-align: center;
    padding: 20px; 
    font-size: 18px;
    color: #333; 
}

.lgpd-container {
    margin-top: 100px;
}

.lgpd-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.lgpd-tabs button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 18px;
    color: #555;
    margin: 0 10px;
    border-radius: 5px;
}

.lgpd-tabs button.active {
    background-color: #003366;
    color: white;
}


.tab {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; 
}

.tablinks {
    background-color: #003366; 
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    padding: 20px 40px;
    transition: background-color 0.3s;
    cursor: pointer;
    border-radius: 30px; 
    margin-right: 20px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
}

.tablinks:hover {
    background-color: #002b4d; 
}

.tablinks.active {
    background-color: #001a33; 
}


.tabcontent {
    display: none;
    padding: 20px;
    border: 2px solid #003366;
    border-top: none;
    transition: display 0.3s ease;
    background-color: #f9f9f9;
}

.tabcontent.active {
    display: block;
}


@media screen and (max-width: 768px) {
    .tab {
        flex-direction: column; 
        align-items: center; 
    }

    .tablinks {
        margin-bottom: 10px; 
    }
}

.negrito {
    font-weight: bold;
}

.AZUL {
    color: #003366;
  }

  p a {
    word-wrap: break-word;
  width: 200px;
  }


  .home-button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    overflow: hidden;
    transition: color 0.3s ease;
    margin-left: 80%;
    top: -35px;
}


.home-button::before,
.home-button::after {
    content: '';
    position: absolute;
    background-color: white;
    z-index: -1;
    transition: all 0.3s ease;
}


.home-button::before {
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
}

.home-button::after {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 100%;
}


.home-button:hover::before,
.home-button:hover::after {
    left: 0;
    right: 0;
}

.home-button:hover {
    color: #003366; 
}

@media only screen and (max-width: 768px) {
    .home-button {
        display: inline-block;
        margin-left: 80%;
        top: -65px; 
    }

    .home-button::before,
    .home-button::after {
        width: 0; 
    }
}

.company-name {
    color: #ffffff;
    font-style: italic; 
    
}

#Unidades e Contatos {
    background-color: #f5f5f5;
    padding: 50px 0;
    text-align: center;
}

h2 {
    color: #003366;
    font-family: 'Montserrat', sans-serif;
}

.unidades {
    list-style-type: none;
    padding: 0;
}

.unidades li {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

h4 {
    color: #003366;
    font-weight: bold;
    margin-bottom: 5px;
}

.contato {
    margin-top: 40px;
}

.contato p {
    margin-bottom: 10px;
}

.contato strong {
    color: #003366;
    font-weight: bold;
}


.social-icons a i {
    color: white; 
    font-size: 24px; 
}



.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.modal-content {
    max-width: 500px; 
    margin: auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 50vh; 
    overflow-y: auto; 
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: inline-block;
    font-size: 16px; 
    margin-bottom: 8px;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px; 
    height: 350px; 
    background: #fff; 
    z-index: 2; 
}


.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.cookie-text {
    margin-top: 5px; 
    font-size: 16px; 
    color: #333; 
}

.cookie-title {
    
    margin-right: 10px; 
    font-size: 18px; 
    color: #003366; 
    font-weight: bold; 
}


.fechar-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}


#aceitarTodosCookies {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}


#salvarPreferencias {
    background-color: #008CBA;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px; 
}

@media only screen and (max-width: 768px) {
    .video-item iframe {
        width: 100%; 
        height: auto; 
    }
}

@media only screen and (max-width: 435px) {
    .table-wrapper table {
        width: 100%
    }
}
