/* ========= CONFIGURAÇÕES GLOBAIS E VARIÁVEIS ========= */
:root {
    --cor-laranja: #F39C12;
    --cor-verde: #00d065;
    --cor-texto: #000;
    --cor-fundo: #FFFFFF;
    --cor-cinza: #666666;
    --fonte-principal: 'Nunito', sans-serif;
}

/* ========= FONTES LOCAIS ========= */
@font-face {
    font-family: 'Achiko';
    src: url('fonts/achiko.otf') format('opentype');
}
@font-face {
    font-family: 'AvenirBlack';
    src: url('fonts/AvenirBlack.ttf') format('opentype');
}
@font-face {
    font-family: 'AvenirBook';
    src: url('fonts/AvenirBook.ttf') format('opentype');
}
@font-face {
    font-family: 'AvenirHeavy';
    src: url('fonts/AvenirHeavy.ttf') format('opentype');
}
@font-face {
    font-family: 'AvenirRegular';
    src: url('fonts/AvenirRegular.ttf') format('opentype');
}

/* ========= ESTILOS GLOBAIS ========= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    background: url(imgs/bg-header1.png);
}

img {
    max-width: 100%;
    display: block;
}

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

h1, h2, h3 {
    font-family: 'Achiko', var(--fonte-principal);
    font-weight: normal;
}

/* ========= COMPONENTES REUTILIZÁVEIS (BOTÕES) ========= */
.btn {
    display: inline-block;
    border: none;
    padding: 10px 80px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    font-family: 'AvenirRegular', sans-serif;
    text-decoration: none;
    text-align: center;
}
.btn b {
    font-family: 'AvenirBlack', sans-serif;
}
.btn.primary {
    background-color: var(--cor-laranja);
    color: white;
}
.btn.secondary {
    background-color: var(--cor-verde);
    color: white;
}

/* ========= CABEÇALHO SUPERIOR ========= */
.top-header {
    padding: 20px 0;
}
.top-header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.top-header .logo {
    max-width: 300px;
}
.top-header .instagram-link {
    max-width: 100px;
    position: absolute;
    right: 20px;
}

/* ========= SEÇÃO HERO ========= */
.hero-section {
    background: url(imgs/bg-banner.png) no-repeat center center;
    background-size: cover;
    text-align: center;
    padding: 120px 0;
    height: 425px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-section h1 {
    font-size: 2.2rem;
    color: #FFF;
    line-height: 1.3;
}
.hero-section h3 {
    font-size: 1.0rem;
    color: #FFF;
    line-height: 1.3;
    font-family: 'AvenirRegular', sans-serif;
    margin-top: 10px;
    margin-bottom: 20px;
}
.btn-hero {
    background-color: white;
    color: black;
    border: none;
    padding: 5px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
    font-family: 'AvenirRegular', sans-serif;
    text-decoration: none;
}

/* ========= SEÇÃO SUBHERO (SERVIÇOS) ========= */
.paragrafo-unico {
    font-size: 15px;
}
.servicos-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.subhero-section {
    padding: 40px 0;
    text-align: center;
}
.subhero-section h2 {
    margin-bottom: 20px;
}
.subhero-section p {
    padding: 10px 0 40px 0;
    font-size:22px;
    text-align: center;
    font-family: 'AvenirRegular', sans-serif;
}
.promo-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.servico {
    position: relative;
    transition: transform 0.3s ease;
}
.servico p {
    display: none;
}
.servico img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}
.servico-link {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.icon-search {
    width: 24px;
    height: 24px;
    background-image: url('imgs/icon-search.png');
    background-size: contain;
    background-repeat: no-repeat;
}
.servico:hover {
    transform: scale(1.05);
}
.servico:hover .servico-link {
    display: flex;
}
.subhero-disclaimer {
    margin-top: 40px;
}
.subhero-disclaimer h3 {
    padding: 20px 40px;
    font-family: 'AvenirBlack', sans-serif;
}

/* ========= SEÇÃO VÍDEO ========= */
.video-section {
    padding: 40px 0;
}
.video-section .video-wrapper {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden; 
}
.video-section .video-wrapper iframe {
    border: 0;
}
.video-instagram {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.video-instagram a {
    text-decoration: none;
    color: white;
}

/* ========= SEÇÃO REGIÕES DE ATENDIMENTO ========= */
.included-section {
    padding: 80px 0;
}
.included-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}
.features-list {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.features-list li {
    padding: 5px 10px 5px 35px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.6;
    background-color: #fff;
    border-radius: 50px;
    border:1px solid var(--cor-laranja);
    font-family: 'Achiko', sans-serif;
}
.features-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('imgs/icon-place.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========= SEÇÃO MOMENTOS ========= */
.momentos-section {
    background:url(imgs/bg-pagamento.png);
    padding: 80px 0;
    color: #FFF;
}
.momentos-section h2 {
    text-align: center;
    margin-bottom: 50px;
}
.momentos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.momento {
    width: 322px;
    height: 250px;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.momento-clickable {
    cursor: pointer;
}
.momento img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.momento h3 {
    position: relative; 
    z-index: 2;
    font-family: 'AvenirHeavy', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.momento:hover {
    transform: scale(1.05);
}

/* ========= RODAPÉ ========= */
footer {
    padding: 50px 20px;
}
footer .logo {
    max-width: 150px;
    margin: 0 auto;
}

/* ========= ESTILOS DOS MODAIS ========= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto; /* Permite rolar se o conteúdo do modal for grande */
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: none;
    margin: auto; /* Ajuda na centralização com overflow */
}
.modal-overlay.active .modal-content.active {
    display: block;
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
}
.modal-images {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-top: 20px;
}
.modal-images img {
    border-radius: 8px;
}

/* Estilos do Formulário do Modal */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-family: 'AvenirBook';
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--fonte-principal); 
    background-color: #fff;
    -webkit-appearance: none; 
    -moz-appearance: none;
    appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}
.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--cor-laranja);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Achiko';
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: -40px;
    margin-right: -15px;
}
.btn-submit:hover {
    background-color: #e88e0b;
}

/* Estilos do Modal de Sucesso */
#success-modal {
    text-align: center;
}
.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

/* Estilo para o Seletor de Idioma */
.top-header .container {
    position: relative; /* Necessário para posicionar o seletor */
}

.lang-switcher {
    position: absolute;
    top: 50%;
    right: 80px; /* Ajuste a distância da direita conforme necessário */
    transform: translateY(-50%);
    display: flex;
    gap: 5px;
}

.lang-switcher button {
    background-color: var(--cor-cinza);
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.lang-switcher button:hover {
    background-color: var(--cor-laranja);
    color: #333;
}

.lang-switcher button.active {
    background-color: black;
    color: #e55c3c; /* Cor laranja do seu botão principal */
    border-color: #fff;
}

/* ========= AJUSTES RESPONSIVOS ========= */
@media (max-width: 768px) {
    .top-header .instagram-link {
        margin-top: 20px;
        margin-right: 20px;
    }

    .top-header .instagram-link img {
        max-width: 40px;
    }
    .hero-section h1 {
        font-size: 1.8rem;
    }
    .promo-images {
        flex-direction: column;
        align-items: center;
    }
    .promo-images img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    .features-list {
        padding: 0 10px;
    }

    .lang-switcher {
        position: static;
        margin-top: -40px;
    }

    .subhero-section p {
        font-size: 18px;
    }
    
}

/* --- Estilização Geral do Contêiner --- */

.form-group {
    font-family: Arial, sans-serif; /* Define uma fonte padrão */
    margin-bottom: 25px; /* Espaçamento abaixo do grupo */
    color: #333;
}

.form-group > label {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px; /* Espaço entre o título e as opções */
}

.checkbox-group {
    display: flex;
    flex-direction: column; /* Organiza os itens em coluna */
    gap: 12px; /* Espaçamento entre cada item da lista */
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* --- Esconde o Checkbox Padrão --- */

.checkbox-item input[type="checkbox"] {
    display: none; /* Oculta o checkbox original do navegador */
}

/* --- Criação do Checkbox Personalizado --- */

.checkbox-item label {
    position: relative;
    padding-left: 30px; /* Espaço para o nosso checkbox falso */
    font-size: 1em;
    cursor: pointer;
    user-select: none; /* Impede que o texto seja selecionado ao clicar */
    transition: color 0.2s ease-in-out;
}

/* A "caixa" do nosso checkbox */
.checkbox-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

/* O "check" (símbolo de visto) - inicialmente oculto */
.checkbox-item label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg) scale(0); /* Começa invisível e rotacionado */
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transition: transform 0.2s ease-in-out;
}

/* --- Estilos de Interação (Hover e Checked) --- */

/* Efeito ao passar o mouse sobre o item */
.checkbox-item:hover label::before {
    border-color: var(--cor-laranja); /* Muda a cor da borda */
}

/* Quando o checkbox é MARCADO */
.checkbox-item input[type="checkbox"]:checked + label::before {
    background-color: var(--cor-laranja); /* Cor de fundo da caixa */
    border-color: var(--cor-laranja); /* Cor da borda da caixa */
}

/* Mostra o "check" quando o checkbox é marcado */
.checkbox-item input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) rotate(45deg) scale(1); /* Torna o check visível */
}

/* Efeito de foco para acessibilidade (quando se navega com TAB) */
.checkbox-item input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}