/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variáveis de Cores */
:root {
    --primary-color: #0078d7;
    --primary-dark: #005ba1;
    --header-bg: #0066aa;
    --accent-color: #ff9800;
    --accent-light: #ffb74d;
    --text-color: #2c3e50;
    --text-light: #546e7a;
    --bg-color: #f5f7fa;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --input-border: #e0e0e0;
    --input-focus: #0078d7;
    --success-color: #4CAF50;
    --error-color: #e74c3c;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

@keyframes floatUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animações de scroll */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('images/santorini-bg.jpg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    animation: fadeIn 1s ease-out;
    flex: 1;
}

/* Header - Novo Estilo */
.main-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 30px 0;
    background-color: var(--header-bg);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('images/santorini-bg.jpg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-content::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #fff;
    margin: 15px auto 0;
}

.main-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.logo-subheading {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Pré-lançamento Badge - Novo Estilo */
.pre-launch-badge-container {
    text-align: center;
    position: relative;
    margin: -30px auto 30px;
    z-index: 10;
}

.pre-launch-badge {
    display: inline-block;
    background: linear-gradient(to right, var(--accent-color), #ff6b00);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    animation: pulse 2s infinite;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.pre-launch-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg) translateX(-100%);
}

.pre-launch-badge:hover::after {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: skewX(-25deg) translateX(-100%);
    }
    100% {
        transform: skewX(-25deg) translateX(300%);
    }
}

/* Seção de informações */
.info {
    text-align: center;
    margin-bottom: 40px;
    animation: slideInRight 0.8s ease-out;
}

.pre-launch-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.pre-launch {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

/* Mapa de localização */
.location-map {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.location-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.location-title {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.location-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.location-caption {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Seção de cadastro */
.cadastro {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    max-width: 600px;
    margin: 0 auto 50px;
}

.form-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
}

.form-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label, .renda-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.input-icon-wrapper {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    transition: color 0.3s;
    z-index: 1;
}

.input-icon-wrapper input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

.input-icon-wrapper input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Opções de rádio */
.renda-group {
    margin-top: 10px;
}

.radio-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.radio-option {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.radio-option:hover {
    background-color: #e9ecef;
}

.radio-option.selected {
    background-color: rgba(0, 123, 255, 0.1);
    border: 1px solid var(--primary-color);
}

.radio-option input[type="radio"] {
    margin-right: 8px;
}

/* Política de privacidade */
.privacy-policy {
    margin: 20px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #f8f9fa;
    border-radius: 3px;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.checkbox-container:hover .checkmark {
    background-color: #e9ecef;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.policy-link {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Botão de cadastro */
.btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-cadastrar {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
    display: inline-block;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-cadastrar:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-cadastrar:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

.btn-cadastrar:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-cadastrar .loading-spinner {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Estado de inválido */
.invalid .input-icon-wrapper {
    border: 1px solid #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.invalid label, .invalid .input-icon, .invalid .renda-label {
    color: #dc3545;
}

.invalid.privacy-policy .checkbox-container {
    color: #dc3545;
}

.invalid.privacy-policy .checkmark {
    border-color: #dc3545;
}

.invalid.renda-group .radio-options {
    border: 1px solid #dc3545;
    border-radius: 5px;
    padding: 5px;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Animação de shake para campos inválidos */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Mensagem de sucesso */
.success-message {
    background-color: #d4edda;
    color: #155724;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
}

.success-icon {
    background-color: #28a745;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

/* Spinner de carregamento */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Features section */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px auto;
    max-width: 1000px;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
    animation: floatUp 3s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 60px;
    animation: fadeIn 1s ease-out;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-info p {
    color: #666;
}

.footer-contact p {
    margin-bottom: 5px;
    color: #666;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #f5f5f5;
    color: #666;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .pre-launch {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-grid .form-group:last-child {
        grid-column: span 1;
    }
    
    .radio-option {
        min-width: 100%;
    }
    
    .features {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .renda-group {
        grid-column: 1 / span 2;
    }
} 