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

header {
    background-color: #001f3f;
    color: white;
    padding-right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: fit-content; /* Ajusta a largura do contêiner ao conteúdo */
    max-width: 100%; /* Garante que o contêiner não ultrapasse a largura da página */
    max-height: 85px;
    min-height: 85px;
    border: 0px solid #ccc; /* Apenas para visualização */
    overflow: hidden; /* Garante que o conteúdo não ultrapasse o contêiner */
    margin-left: 0; /* Alinha o contêiner à esquerda */
    margin-right: auto; /* Garante que o contêiner não ultrapasse a largura da página */
    padding-left: 4rem;
    padding-right: 10px;
}

.fallback-image {
    width: 100%;
    height: auto;
    max-height: 80px; /* Altura máxima */
    object-fit: cover; /* Ajusta a imagem para cobrir todo o contêiner */
    border-radius: 5px; /* Borda arredondada opcional */
    padding-right: 10px; /* Adiciona padding de 10px no lado direito */
}

.fallback-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 18px;
    text-align: center;
}

.image-container img:not([src]) + .fallback-text,
.image-container img[src=""] + .fallback-text,
.image-container img[src][src*="broken"] + .fallback-text {
    display: block;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding-right: 20px
}

header nav ul li a {
    color: white;
    text-decoration: none;
}

.hero {
    background: url('imagens/escritorio.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
    padding-bottom: 85px;
}

.hero-text { /* fundo quadro branco*/
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 5px;
    width: 400px;
    height: 200px;
    color: #001f3f;
    margin-left: 30px; /* Alinha o contêiner à esquerda */
    margin-right: auto; /* Garante que o contêiner não ultrapasse a largura da página */
    text-align: left;
    margin-top: 10px;
}

.hero-text h1 {
    margin: 0;
}

.hero-text .subtext {
    margin-top: 1rem;
    color: #001f3f;
    font-weight: bold;
    line-height: normal; /* altura da linha */
}
.title {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 20px;
}

/* Adiciona uma linha azul abaixo do título */
.title::after {
    content: "";
    display: block;
    width: 60px; /* Largura da linha */
    height: 4px; /* Altura da linha */
    background-color: #00bcd4; /* Cor da linha */
    margin-top: 10px; /* Espaço acima da linha */
}

/* Estilo para o subtítulo */
.subtitle {
    margin-top: 1rem;
    color: #001f3f;
    font-weight: bold;
    line-height: normal; /* altura da linha */ 
}

.section {
    padding: 2rem 0;
}

.about-us {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: transparent; /* Background color similar to the image */
}

.image-about-us {
    flex: 1;
    max-width: 50%;
    margin-right: 20px;
}

.image-about-us img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-about-us {
    flex: 1;
    max-width: 50%;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.text-about-us h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #001f3f
}

.text-about-us hr {
    width: 50px;
    border: 2px solid #26a69a;
    margin: 20px auto;
}

.text-about-us p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.marketing-section {
    position: relative;
    background-image: url('imagens/quebra-cabeca.jpg'); /* Caminho para a imagem */
    background-size: cover; /* Ajusta a imagem para cobrir toda a área */
    background-position: center; /* Centraliza a imagem */
    height: 600px; /* Altura da seção */
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-text {
    position: absolute;
    top: 50%;
    left: 50px; /* Alinhamento à esquerda */
    transform: translateY(-50%);
    background-color: #ffffff;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 300px;
}

.marketing-text h1 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #001f3f
}

.marketing-text hr {
    width: 50px;
    border: 2px solid #26a69a;
    margin: 10px 0;
}

.marketing-text p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    text-align: center;
}

.services {
    text-align: center;
    margin-top: 30px;
    height: 500px; /* Altura da seção */
}

.services-container {
    margin-top: 30px;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.services h2 {
    font-style: italic;
    font-size: 50px;
    color: #001f3f
}

.service-box {
    background: white;
    padding: 1rem;
    border-radius: 10%;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease; /* Transição suave */
}

.service-box:hover {
    transform: translateY(-10px); /* Move o container 10px para cima */
}

.service-box img {
    width: 180px; /* Ajuste o tamanho conforme necessário */
    height: 180px; /* Ajuste o tamanho conforme necessário */   
    border-radius: 50%;
    object-fit: cover; /* Garante que a imagem se encaixe bem no container circular */
    box-shadow: 0px 30px 30px rgba(0, 0, 0, 0.1); /* Opcional: adiciona uma sombra */
}

.testimonial-carousel {
    max-width: 80%;
    margin: auto;
}

.depoiments {
    text-align: center;
    margin-top: 30px;
    height: 500px; /* Altura da seção */
}

.depoiments h2 {
    font-style: italic;
    font-size: 50px;
    color: #001f3f
}

.testimonial {
    padding: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border-radius: 8px;
    width: auto;
}

.testimonial p {
    font-size: 16px;
    color: #555;
    text-align: justify; /* justifica o alinhamento do texto */
}

.testimonial .author {
    margin-top: 10px;
    font-weight: bold;
}

.testimonial img {
    width: 200px; /* ajuste o tamanho conforme necessário */
    height: 200px;
    border-radius: 50%; /* torna a imagem redonda */
    object-fit: cover; /* mantém a proporção da imagem */
    margin-bottom: 20px; /* espaço entre a imagem e o texto */
    margin-right: 30px;
}

.testimonial-text {
    flex: 1; /* ocupa todo o espaço disponível */
    max-width: 400px; /* largura máxima para o texto */
    text-align: justify; /* justifica o alinhamento do texto */
    word-wrap: break-word; /* quebra palavras longas ou URLs em várias linhas */
}

.testimonial-content {
    display: flex; /* usar flexbox para alinhar os elementos */
    align-items: center; /* alinha verticalmente */
    margin: auto;
    justify-content: center; /* centraliza horizontalmente o conteúdo */
    max-width: 80%;
}

.contact-section {
    background-color: transparent;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 90%;
    margin: auto;
}

.contact-section h2 {
    font-style: italic;
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
    color: #001f3f
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px; /* Adiciona espaço entre as colunas */
    width: 100%; /* Garante que a largura da linha seja 100% */
}

.form-group {
    flex: 1 1 calc(50% - 15px); /* Cada form-group ocupa cerca de 48% da largura, menos a margem */
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
}

.form-group button {
    padding: 15px;
    font-size: 16px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width:fit-content;
}

.form-group button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .form-group {
        flex: 1 1 100%; /* Em telas menores, cada form-group ocupa 100% da largura */
    }
    
    /* Ajuste para form-row com uma única form-group */
    .form-row .form-group {
        flex: 1 1 calc(100% - 15px); /* Cada form-group ocupa cerca de 96% da largura, menos a margem */
    }
}

.contact-info {
    display: flex;
    padding: 30px;
    align-items: center; /* alinha verticalmente */
}

.contact-info img {
    max-width: 20px;
    margin-right: 0.5rem;
}

.contact-info iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
}

.element1 {
    justify-content: flex-end;
    flex: 0 0 80%; /* flex-grow: 0, flex-shrink: 0, flex-basis: 70% */
}

.element2 {
    justify-content: flex-start;
    flex: 0 0 20%; /* flex-grow: 0, flex-shrink: 0, flex-basis: 30% */
}

.element2 img {
    width: 50px;
    height: auto;
}

footer {
    background: transparent;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

footer nav ul li a {
    color: #001f3f;
    text-decoration: none;
}

.polpri {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    min-height: 100vh; /* Para ocupar pelo menos toda a altura da viewport */
}

.content {
    background-color: rgb(254, 254, 255, 0.75); /* Azul com 50% de transparência */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    text-align: justify;
}

.content h1, h2 {
    text-align: center;
    color: #0fa549;
    text-shadow: #070e09;
}

.content b {
    color: #0fa549;
}

.content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.content h2 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-text p {
    margin: 10px 0;
}

.footer {
    background-color: #001f3f;
    color: white;
}

footer nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding-right: 20px
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

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

.titulo {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 18px;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #007BFF;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.grid img {
    width: 30px;
    height: 30px;
    justify-content: center;
}

.grid li{
    display: flex;
    align-items: center; /* Alinha a imagem e o texto verticalmente */
    margin: 3px 0; /* Espaçamento entre os itens da lista */
    padding: 2px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.grid h4 {
    text-align: center;
    color: #f73707;
    text-shadow: #070e09;
    font-size: 1.5rem;
}

.vantagem {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.vantagem img {
    width: 180px; /* Ajuste o tamanho conforme necessário */
    height: 180px; /* Ajuste o tamanho conforme necessário */   
    border-radius: 50%;
    object-fit: cover; /* Garante que a imagem se encaixe bem no container circular */
    box-shadow: 0px 30px 30px rgba(0, 0, 0, 0.1); /* Opcional: adiciona uma sombra */
}

.vantagem:hover {
    transform: translateY(-10px); /* Move o container 10px para cima */
}

.vantagem-title {
    font-size: 24px;
    color: #007BFF;
    margin-bottom: 10px;
}

.vantagem-text {
    font-size: 16px;
    line-height: 1.6;
}

.licenca {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.licenca:hover {
    transform: translateY(-10px); /* Move o container 10px para cima */
}

.licenca-title {
    font-size: 24px;
    color: #007BFF;
    margin-bottom: 10px;
}

.licenca h3 {
    font-size: 24px;
    color: #f81111;
    margin-bottom: 10px;
}

.licenca ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.button-like {
    display: inline-block;
    padding: 3px 10px;
    font-size: 16px;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.button-like:hover {
    background-color: #fafc95;
    transform: scale(1.05);
}

.button-like:active {
    background-color: #d1da57;
    transform: scale(0.95);
}