@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Sora:wght@100..800&display=swap');
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sora", sans-serif;
}

.total {
    width: 100%;
}


/*Cabeçalho*/


/* -------------------------------------------
   ESTILOS DA SECÇÃO DE CABEÇALHO (PAGE HEADER)
------------------------------------------- */

.page-header-section {
    /* Altura da seção */
    min-height: 350px;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Imagem de Fundo e Overlay */
    background: url('../img/background-tile.jpg') no-repeat center center/cover;
    /* Adiciona um gradiente escuro para garantir que o texto branco seja legível */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    /* Flexbox para centralizar o conteúdo verticalmente */
    display: flex;
    align-items: center;
}


/* Container interno que limita a largura do texto */

.header-content-container {
    width: 90%;
    max-width: 1280px;
    /* Limite de largura */
    margin: 0 auto;
    /* Centraliza o container */
    padding-top: 20px;
    padding-bottom: 150px;
    /* Margem interna */
    color: white;
    /* Cor do texto */
    z-index: 10;
    /* Garante que fique acima da imagem */
}


/* Estilo do Título */

.header-content-container h1 {
    font-size: 3em;
    margin-bottom: 15px;
    line-height: 1.1;
}


/* Estilo do Resumo */

.summary-text {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    /* Limita a largura do texto para melhor leitura */
    /* Requisitos de Alinhamento */
    text-align: justify;
    /* Justificado */
    margin-left: 0;
    /* Alinhado à esquerda (garantido por max-width/margin) */
}


/*Wave*/

.wave-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wave-container_ {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.landing {
    min-height: 150px;
    background: #0053bf;
}

.hero-section {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(1, 7, 85, 0.774), rgba(3, 170, 162, 0.8));
    z-index: 1;
}

.content-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 1280px;
    height: 100%;
    margin: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
    padding: 0 20px;
}

.content {
    position: absolute;
    margin: 0 auto;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    padding: 0;
}

.text-container {
    margin-bottom: 20px;
}

.text-container h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    line-height: 1.1;
}

.text-container p {
    font-size: 1.2em;
    max-width: 600px;
}

.button-group {
    display: flex;
    gap: 15px;
}

.button {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
}

.button i {
    margin-right: 8px;
    font-size: 1em;
}

.button.primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.button.primary:hover {
    background-color: #0053bf;
}

.button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.button.secondary:hover {
    background-color: #ffffff;
    color: #000000;
}


/*Modal Video*/

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #000;
    margin: auto;
    padding: 0;
    /* Remove padding padrão */
    border: 1px solid #888;
    width: 90%;
    /* Largura máxima em telas menores */
    max-width: 960px;
    /* Largura máxima do modal */
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.video-wrapper {
    position: relative;
    width: 100%;
    /* Truque para garantir a proporção 16:9 (altura = 56.25% da largura) */
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    /* Aplica o raio da borda no vídeo */
}

.close-btn {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: -30px;
    /* Posição acima do container */
    right: 0px;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    /* Alinha o 'X' */
    z-index: 1001;
    /* Garante que fique acima de tudo */
}

.close-btn:hover,
.close-btn:focus {
    color: #ccc;
}

.modal.active {
    display: flex;
}


/* -------------------------------------------
   RESPONSIVIDADE 
------------------------------------------- */

@media (max-width: 768px) {
    .page-header-section {
        min-height: 250px;
        /* Reduz a altura em mobile */
    }
    .header-content-container h1 {
        font-size: 2em;
    }
    .summary-text {
        font-size: 1em;
    }
}