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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-image: url("../img/buffet.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 40, 0.70);
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    background: rgba(18, 32, 80, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 44px 42px 38px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 48px rgba(0, 0, 0, 0.55);
    text-align: center;
}

/* Logo */
.logo img {
    max-height: 88px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
}

/* Título */
.container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.subtitulo {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
}

/* Divisor */
.divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.12);
    margin: 0 0 26px;
}

/* Alertas de erro */
.alert-erro {
    background: rgba(198, 40, 40, 0.18);
    border: 1px solid rgba(239, 83, 80, 0.55);
    border-left: 4px solid #ef5350;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: left;
}
.alert-erro p {
    color: #ffcdd2;
    font-size: 13.5px;
    margin: 3px 0;
}

/* Formulário */
form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.form-group input {
    padding: 11px 14px;
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.28);
    font-size: 13.5px;
}

.form-group input:focus {
    border-color: #FFD700;
    background: rgba(255,255,255,0.11);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.15);
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: rgba(72,199,120,0.65);
}

/* Checkbox WhatsApp */
.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 6px;
    cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 5px;
    background: rgba(255,255,255,0.07);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    flex-shrink: 0;
}

.checkbox-wrap input[type="checkbox"]:checked {
    background: #25D366;
    border-color: #25D366;
}

.checkbox-wrap input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.checkbox-wrap label {
    font-size: 13.5px;
    color: rgba(255,255,255,0.78);
    cursor: pointer;
    user-select: none;
}

/* Botão */
button[type="submit"] {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #1a1200;
    font-weight: 700;
    font-size: 15.5px;
    padding: 13px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    letter-spacing: 0.4px;
    margin-top: 6px;
    transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 18px rgba(255,215,0,0.28);
}

button[type="submit"]:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255,215,0,0.38);
}

button[type="submit"]:active {
    transform: translateY(0);
}

/* Link de login */
.login-link {
    margin-top: 22px;
    color: rgba(255,255,255,0.60);
    font-size: 13.5px;
    text-align: center;
}

.login-link a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Redes sociais */
.social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 18px;
    color: rgba(255,255,255,0.35);
    font-size: 11.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 600;
}
.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.12);
}

.social-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: filter .15s, transform .15s;
}
.social-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.social-wpp   { background: rgba(37,211,102,.15); color: #25D366; border-color: rgba(37,211,102,.35); }
.social-insta { background: rgba(225,48,108,.15);  color: #e1306c; border-color: rgba(225,48,108,.35); }
.social-email { background: rgba(212,70,56,.15);   color: #f28b82; border-color: rgba(212,70,56,.35); }

/* Responsivo */
@media (max-width: 560px) {
    .container {
        padding: 30px 20px 26px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-group {
        flex: 1 1 100%;
    }
    .container h2 {
        font-size: 21px;
    }
}
