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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* Páginas */
.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    animation: fadeIn 0.3s ease-in;
}

.page.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Containers */
.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 20px;
    text-align: center;
}

.container-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.btn-back {
    background: none;
    border: none;
    font-size: 28px;
    color: #D4AF37;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
}

.btn-back:hover {
    transform: scale(1.2);
}

/* Logo e Ícones */
.logo-container {
    margin-bottom: 30px;
}

.logo-container-small {
    margin-bottom: 20px;
}

.location-icon-3d {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
    transform: rotate(180deg);
}

.location-icon-3d.blue {
    width: 100px;
    height: 100px;
}

.location-icon-3d.red {
    width: 100px;
    height: 100px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Tipografia */
h1 {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-top: 15px;
}

.subtitle {
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-bottom: 20px;
}

.disclaimer {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    margin-top: 40px;
}

.disclaimer-en {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Botões */
.btn-enter {
    background: linear-gradient(135deg, #4a4a4a 0%, #2a2a2a 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-enter:hover {
    background: linear-gradient(135deg, #5a5a5a 0%, #3a3a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #4a7c59 0%, #2d5a3d 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a8c69 0%, #3d6a4d 100%);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #E4BF47 0%, #C89B1B 100%);
}

/* Cards de Perfil */
.profile-options {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    padding: 20px;
}

.profile-card:hover {
    transform: scale(1.05);
}

.profile-card h3 {
    font-size: 16px;
    margin-top: 15px;
    text-transform: uppercase;
}

.profile-card p {
    font-size: 12px;
    color: #999;
}

/* Formulários */
.form-group {
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.code-input {
    text-align: center;
    font-size: 20px;
    letter-spacing: 5px;
    font-weight: bold;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    width: 100%;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    color: #999;
}

.tab-btn.active {
    color: #000;
    border-bottom-color: #D4AF37;
}

.form-content {
    display: none;
    width: 100%;
}

.form-content.active {
    display: block;
}

/* Mapa */
.map-container {
    flex: 1;
    width: 100%;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
}

/* Popup */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
}

.popup-content {
    position: relative;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close-popup:hover {
    color: #000;
}

#popup-title {
    margin-bottom: 15px;
    color: #000;
}

.popup p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.popup-message {
    background-color: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #D4AF37;
    margin-top: 15px;
    font-style: italic;
    color: #555;
}

/* Seção de Localização */
.location-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

.location-section p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* Responsivo */
@media (max-width: 600px) {
    h1 {
        font-size: 22px;
    }

    .location-icon-3d {
        width: 100px;
        height: 100px;
    }

    .profile-options {
        gap: 20px;
    }

    .container-form {
        padding: 20px 15px;
    }

    .disclaimer {
        font-size: 12px;
    }
}
