/* Ajustes específicos para a página de contato */
.about-us-section {
    padding: 20px 0 0 0;
    text-align: center;
    background: #fff;
}
.section-title h2 {
    font-size: 42px;
    font-weight: bold;
    color: #222;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title p {
    font-size: 15px;
    color: #888;
    margin-bottom: 20px;
    margin-top: 5px;
}
.img-regiao {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 30px auto 30px auto;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
    border-radius: 12px;
}
.about-us-content {
    display: block;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 40px;
    width: auto;
}
.about-us-text {
    flex: 1 1 320px;
    min-width: 300px;
         max-width: 1000px;
         margin: 0 0 0 40px;
         padding-left: 0;
    align-self: flex-start;
}
.about-us-text h3 {
    font-size: 26px;
    font-weight: bold;
    color: #3D76C7;
    margin-bottom: 18px;
    margin-top: 0;
}
.about-us-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #444;
    text-align: justify;
}
.about-us-image {
    flex: 1 1 320px;
    min-width: 300px;
    max-width: 500px;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.about-us-image iframe {
    width: 100%;
    min-height: 320px;
    max-height: 450px;
    border-radius: 10px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    border: 0;
    margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 900px) {
  .about-us-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .about-us-text, .about-us-image {
    max-width: 100%;
    margin: 0;
  }
  .img-regiao {
    max-width: 100%;
  }
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top-bar {
    background-color: #3D76C7; /* Cor da paleta: Azul Principal */
    color: white;
    padding: 10px 0;
    font-size: 14px;
}
.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-bar a {
    color: white;
    text-decoration: none;
}
.header-main {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 80px;
    width: auto;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
    color: #333; /* Cor do texto do menu para fundo branco */
    text-decoration: none;
}
nav ul li a:hover {
    text-decoration: underline;
}
.menu-button {
    border: 1px solid #3D76C7; /* Cor da paleta: Azul Principal */
    color: #3D76C7; /* Cor da paleta: Azul Principal */
}
.menu-button:hover {
    background-color: #3D76C7; /* Cor da paleta: Azul Principal */
    color: #fff; /* Texto branco no hover */
    text-decoration: none;
}

/* --- Slider Styles --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px; /* Altura definida para o slider */
    overflow: hidden;
}
.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    display: block;
}
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}
.slider-button.prev {
    left: 10px;
}
.slider-button.next {
    right: 10px;
}
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: #3D76C7; /* Cor da paleta: Azul Principal */
}

/* --- Floating Flip Cards --- */
.floating-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
    margin-top: -150px; /* Ajustado para metade da nova altura do card */
    position: relative;
    z-index: 20;
}
.flip-card {
    background-color: transparent;
    width: 300px; /* Tamanho aumentado */
    height: 300px; /* Tamanho aumentado */
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.25);
    border-radius: 15px; /* Bordas arredondadas */
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 15px; /* Bordas arredondadas */
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.flip-card-front {
    background-color: #f1f1f1;
    color: black;
}
.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.flip-card-front h3 {
    position: absolute;
    bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 5px;
    margin: 0;
}
.flip-card-back {
    background-color: #3D76C7; /* Usa a cor principal da paleta */
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
}
.flip-card-back h3 {
    margin-top: 0;
}
.flip-card-back p {
    font-size: 15px;
}
.flip-card-back .card-button {
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.flip-card-back .card-button:hover {
    background-color: white;
    color: #3D76C7;
}

footer {
    background-color: #3D76C7; /* Cor da paleta: Azul Principal */
    color: white;
    padding: 30px 0;
    text-align: center;
}
footer a {
    color: white;
}
footer a:hover {
    text-decoration: underline;
}
.footer-content p {
    margin: 5px 0;
}

/* --- About Us Section --- */
.about-us-section {
    padding: 80px 0;
    text-align: center;
}

.section-title h2 {
    font-size: 15px;
    color: #888;
    margin-bottom: 20px;
    margin-top: 5px;
    text-align: justify;
    text-transform: uppercase;
/* Justifica textos nos cards das unidades */
.flip-card-back p {
    text-align: justify;
}
}

.section-title p {
    font-size: 16px;
    color: #777;
    margin-bottom: 50px;
}

.about-us-content {
    display: block;
    text-align: left;
    width: auto;
}

.about-us-image {
    flex: 1;
}

.about-us-image img {
    max-width: 100%;
    border-radius: 10px;
}

.about-us-text {
    flex: 1;
}

.about-us-text h3 {
    font-size: 28px;
    font-weight: bold;
    color: #3D76C7;
    margin-bottom: 20px;
}

.about-us-text h3 em {
    font-style: italic;
}

.about-us-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-saiba-mais {
    background-color: #3D76C7;
    color: white;
    padding: 15px 30px;
    border-radius: 5px; /* Reduced border-radius for a more rectangular shape */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.btn-saiba-mais:hover {
    background-color: #2c5aa2;
}

/* --- Seção de Contadores --- */
.counters-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.counters-section .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.counter-card {
    background-color: var(--card-color, #333);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.counter-value {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 18px;
    font-weight: 500;
}

/* --- Gallery Section (P04) Styles --- */
.gallery-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0; /* Light background for contrast */
}

.gallery-section .container {
    /* Para a galeria de teste, ela ocupará a largura total do container */
    display: block; /* Ou flex-wrap: wrap; se for ter mais de uma galeria no futuro */
}

.gallery-container {
    position: relative;
    width: 80%; /* Ajustado para ocupar mais espaço no centro */
    max-width: 900px; /* Limite máximo para a galeria */
    margin: 0 auto 30px auto; /* Centraliza e adiciona espaçamento inferior */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff; /* Fundo branco para a galeria */
}

.gallery-wrapper {
    display: flex;
    height: 400px; /* Altura fixa para as imagens da galeria */
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobrir a área, cortando se necessário */
    display: block;
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.gallery-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.gallery-button.prev {
    left: 10px;
}

.gallery-button.next {
    right: 10px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    border-radius: 15px;
}

.gallery-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery-dots .dot.active {
    background-color: #3D76C7; /* Usando a cor principal azul */
}


.img-regiao {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 20px auto 0;
}