/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonte e fundo */
body {
    font-family: sans-serif;
    background: url('../images/fundo.png') no-repeat center center fixed;
    background-size: cover;
    color: black;
    min-height: 100vh;
}

/* Header */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
}

.logo img {
    max-width: 250px;
    height: auto;
}

/* Menu Desktop */
nav {
    display: block;
}

.menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.menu li a {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.menu li a:hover {
    color: #5d3b3b;
}

/* Formulário */
.container {
    max-width: 600px;
    margin: 10px auto 60px auto; /* Reduz a margem de cima */
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Estilo específico para o título */
.container h2 {
    margin-top: 0;
    margin-bottom: 30px; /* Afasta o título dos campos */
    font-size: 32px;
    font-family: 'Playfair Display', serif;
    color: #5d3b3b;
}


.bloco {
    width: calc(100% - 20px);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    color: black;
}

textarea.bloco {
    resize: vertical;
    min-height: 120px;
}

.bloco::placeholder {
    color: #666;
}

/* Botão */
.enviar-btn {
    background-color: #5d3b3b;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.enviar-btn:hover {
    background-color: #7a4e4e;
}

/* Acessibilidade */
.visually-hidden {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* MENU HAMBÚRGUER - MOBILE */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .logo img {
        max-width: 120px;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .menu {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 0;
    }

    .menu li a {
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }

    .menu-toggle:checked ~ nav {
        display: block;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
.menu {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0;
}

.menu li a {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #333;
    text-decoration: none; /* <- Remover sublinhado */
}

.menu li:last-child a {
    border-bottom: none;
}
