/* Estilos gerais */
body {
font-family: Roboto, sans-serif;
margin: 0;
padding: 0;
background-color: #9fd6d0; 
color: #333;
}

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

.container img {
	border-radius: 15px;
	box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.3);
}

h1, h2, h3 {
color: #2c3e50;
}

a {
text-decoration: none;
color: #000;
transition: color 0.3s ease;
}

a:hover {
color: #2980b9;
}

.button {
 display: inline-block;
background-color: #3498db;
color: white;
 padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease;
}

.button:hover {
background-color: #2980b9;
}

/* Header */
header {
background-color: #9fd6d0;
padding: 20px 0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

header nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
color: #000;
}

header nav ul li {
margin-left: 20px;
}

header nav ul li:first-child {
margin-left: 0;
}

/* Hero Section */
.hero {
    /* Mantive o padding, mas pode ser ajustado */
    padding: 80px 0; 
    text-align: center;
    
    /* ESSENCIAL: Permite que o texto seja posicionado de forma absoluta sobre o vídeo */
    position: relative; 
    
    /* Garantir que o texto fique legível sobre o vídeo */
    color: #fff; 
    
    /* Garante que o container interno não atrapalhe o vídeo de fundo */
    overflow: hidden;
}

.background-video {
    position: absolute; /* Posiciona o vídeo em relação ao .hero */
    top: 50%;
    left: 50%;
    /* Truque para centralizar o vídeo */
    transform: translate(-50%, -50%); 
    
    /* Garante que o vídeo cubra toda a área do .hero */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    
    /* Garante que o vídeo fique no fundo (abaixo do texto) */
    z-index: 1; 
}

.hero-content-overlay {
    position: relative; /* Mantém o texto acima do vídeo */
    z-index: 2; 
    
    /* Centraliza o texto dentro do container */
    max-width: 800px; 
    margin: 0 auto;
    padding: 20px;
    
    /* Adicione um fundo semi-transparente para melhor legibilidade (opcional) */
    background-color: rgba(0, 0, 0, 0.4); 
    border-radius: 10px;
}

.hero-content-overlay h2 {
    /* Garante que o título seja branco ou outra cor clara */
    color: white; 
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-content-overlay p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-inner, .sobre-inner {
display: flex; /* Enable flexbox for positioning image and content */
align-items: center; /* Vertically align items in the center */
justify-content: space-between; /* Distribute space between image and content (adjust as needed) */
max-width: 1200px; /* Example max width for the container */
margin: 0 auto; /* Center the container */
padding: 0 20px; /* Add some side padding for smaller screens */
}

.hero-image-box, .sobre-image-box {
width: 40%; /* Adjust the width of the image box as needed */
border-radius: 10px; /* Add rounded corners */
overflow: hidden; /* Ensure the image respects the border-radius */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

.hero-image-box img, .sobre-image-box img {
display: block; /* Prevent extra space below the image */
width: 100%; /* Make the image fill its container */
height: auto; /* Maintain aspect ratio */
}

.hero-content, .sobre-content {
width: 55%; /* Adjust the width of the content area as needed */
}

.hero-content h2 {
font-size: 2.5em;
margin-bottom: 20px;
}

.hero-content p {
font-size: 1.2em;
margin-bottom: 30px;
}

.button {
display: inline-block;
background-color: #007bff; /* Example button color */
color: #fff;
padding: 12px 25px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.3s ease;
}

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

/* Sobre Nós */
.sobre {
padding: 60px 0;
}

.sobre p {
line-height: 1.7;
margin-bottom: 15px;
}

/* Serviços */
.servicos {
background-color: #9bd0d6;
padding: 60px 0;
}

.servicos-lista {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
}

.servico-item {
background-color: #f0f0f0;
padding: 20px;
border-radius: 5px;
box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.3);
}

.servico-item h3 {
margin-top: 0;
margin-bottom: 10px;
}

.servico-item p {
line-height: 1.6;
}

/* Benefícios */
.beneficios {
background-color: #8fc9c4;
padding: 60px 0;
}

.beneficios ul {
list-style: none;
padding: 0;
margin-top: 20px;
}

.beneficios ul li {
padding: 10px 0;
border-bottom: 1px solid #ddd;
}

.beneficios ul li:last-child {
border-bottom: none;
}

/* Contato */
.contato {
background-color: #b0e0d8;
padding: 60px 0;
text-align: center;
}

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

.form-contato {
max-width: 500px;
margin: 0 auto;
padding: 20px;
border-radius: 5px;
background-color: #f9f9f9;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group {
margin-bottom: 15px;
text-align: left;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
}

.form-group textarea {
resize: vertical;
}

.mensagem-sucesso, .mensagem-erro {
margin-top: 15px;
padding: 10px;
border-radius: 5px;
text-align: center;
display: none;
}

.mensagem-sucesso {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}

.mensagem-erro {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}

/* Footer */
footer {
background-color: #333;
color: white;
padding: 20px 0;
text-align: center;
font-size: 0.9em;
}

/* Estilos do Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #282828; /* Cor escura para destaque */
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex; /* Para centralizar conteúdo */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Garante que o banner esteja acima de outros elementos */
    opacity: 0; /* Começa oculto */
    transform: translateY(100%); /* Começa fora da tela */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-banner-content h2 {
    margin-top: 0;
    color: #ffd700; /* Dourado para destaque */
}

.cookie-banner-content p {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cookie-banner-content a {
    color: #87ceeb; /* Azul claro para links */
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px; /* Espaço entre os botões */
    flex-wrap: wrap; /* Quebra linha se a tela for pequena */
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #4CAF50; /* Verde para aceitar */
    color: white;
}

.btn-primary:hover {
    background-color: #45a049;
}

.btn-secondary {
    background-color: #007bff; /* Azul para configurações */
    color: white;
}

.btn-secondary:hover {
    background-color: #0056b3;
}

.btn-tertiary {
    background-color: #f44336; /* Vermelho para rejeitar */
    color: white;
}

.btn-tertiary:hover {
    background-color: #da190b;
}

/* Estilos do Modal de Configurações */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Acima do banner */
    visibility: hidden; /* Começa oculto */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

.cookie-settings-modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    color: #333;
}

.modal-content h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 15px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* Aumenta o tamanho do checkbox */
}

.cookie-category label {
    font-weight: bold;
    cursor: pointer;
    display: inline-block; /* Para alinhar com o checkbox */
}

.cookie-category .description {
    font-size: 0.85em;
    color: #666;
    margin-left: 25px; /* Alinha com o texto da label */
    margin-top: 5px;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
}

/* Responsividade básica */
@media (max-width: 600px) {
    .cookie-banner-content {
        align-items: center;
        text-align: center;
    }
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .modal-content {
        padding: 20px;
    }