/* Variáveis CSS */
:root {
    --cor-dourado: #EEC044;
    --cor-preto: #000000;
    --cor-branco: #FFFFFF;
}

/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cor-preto);
}

/* Componentes Reutilizáveis */
.botao-principal {
    background-color: var(--cor-dourado);
    color: var(--cor-preto);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-principal:hover {
    opacity: 0.9;
    color: #000000;
    transform: translateY(-2px);
}
.botao-servicos {
    background-color: var(--cor-dourado);
    color: var(--cor-preto);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
}
.botao-servicos:hover {
    opacity: 0.9;
    color: #ffffff;
    background: #000000;
    transform: translateY(-2px);
}

.botao-fantasma {
    background-color: transparent;
    color: var(--cor-branco);
    padding: 12px 24px;
    border: 2px solid var(--cor-branco);
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-fantasma:hover {
    background-color: var(--cor-branco);
    color: var(--cor-preto);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--cor-preto);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-dourado);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--cor-dourado);
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--cor-branco);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--cor-dourado);
}

/* Seção Início */
#inicio {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-background.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--cor-branco);
}

#inicio h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--cor-dourado);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

#inicio h1 .slogan {
    font-size: 0.6em;
    font-weight: 300;
    display: block;
    margin-top: 0.5rem;
}

/* Seções gerais */
section {
    padding: 5rem 2rem;
}

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

.duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Seção Nossa História */
#nossa-historia {
    background-color: var(--cor-branco);
}

#nossa-historia img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

#nossa-historia h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--cor-preto);
}

#nossa-historia p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Seção Serviços */
#servicos {
    background-color: var(--cor-branco);
    text-align: center;
}

#servicos h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#servicos .subtitulo {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.grade-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Seção Contato */
#contato {
    background-color: var(--cor-branco);
}

#contato h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.info-contato {
    font-size: 1.1rem;
    line-height: 2;
}

.info-contato strong {
    color: var(--cor-dourado);
}

.mapa-container {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Rodapé */
footer {
    background-color: var(--cor-dourado);
    color: var(--cor-preto);
    padding: 2rem;
}

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

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--cor-branco);
    margin: 3px 0;
    transition: 0.3s;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.servico-selecionado {
    background-color: #f8f9fa;
    border-left: 4px solid var(--cor-dourado);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.servico-selecionado p {
    margin: 0;
    color: #2c3e50;
}

.servico-selecionado span {
    color: var(--cor-preto);
    font-weight: 400;
}



#nomeUsuario {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#nomeUsuario:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

#nomeUsuario.erro {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.erro-validacao {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.erro-validacao::before {
    content: "⚠️";
    font-size: 12px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-cancelar,
.btn-enviar {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancelar {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.btn-cancelar:hover {
    background-color: #e9ecef;
    color: #495057;
}

.btn-enviar {
    background-color: #25d366;
    color: white;
    min-width: 150px;
}

.btn-enviar:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-enviar:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--cor-preto);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    nav.active {
        display: flex;
    }

    header {
        padding: 1rem;
    }

    #inicio h1 {
        font-size: 2.5rem;
    }

    .duas-colunas {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .grade-servicos {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 95%;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn-cancelar,
    .btn-enviar {
        width: 100%;
    }
    #inicio {
        background-attachment: scroll;
      }
}