/* Definição das variáveis de cor e fonte base */
:root {
    --brand-blue: #2E76BA;
    --brand-coral: #FF8676;
    font-family: 'Titillium Web', sans-serif;
}

/* Estilo do corpo da página */
body {
    background-image: linear-gradient(to bottom right, #f0f9ff, #eff6ff, #dbeafe);
    color: #1e293b; /* slate-800 */
}

/* Containers principais */
.main-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 36rem; /* lg */
    padding: 2.5rem;
    border-radius: 1.5rem; /* 2xl */
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Cores personalizadas para textos */
.text-brand-blue { color: var(--brand-blue); }
.text-brand-coral { color: var(--brand-coral); }

/* Estilos de formulário */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569; /* slate-600 */
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #cbd5e1; /* slate-300 */
    border-radius: 0.5rem;
    transition: all 0.3s;
}
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-blue);
    background-color: white;
}

.form-checkbox-blue {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 0.25rem;
    color: var(--brand-blue);
    border-color: #94a3b8; /* slate-400 */
}
.form-checkbox-blue:focus {
    box-shadow: 0 0 0 2px var(--brand-blue);
}

.form-checkbox-coral {
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 0.25rem;
    color: var(--brand-coral);
    border-color: #94a3b8; /* slate-400 */
}
.form-checkbox-coral:focus {
    box-shadow: 0 0 0 2px var(--brand-coral);
}

/* Botão de submissão */
.submit-button {
    width: 100%;
    background-color: var(--brand-blue);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.submit-button:hover {
    box-shadow: 0 10px 15px -3px rgba(46, 118, 186, 0.4), 0 4px 6px -2px rgba(46, 118, 186, 0.2);
    transform: translateY(-4px);
}
.submit-button:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
}

/* Secção de "Porquê Viajar Connosco?" */
.features-section {
    width: 100%;
    padding: 6rem 1rem;
}
.feature-item {
    text-align: center;
    padding: 1.5rem;
}
.feature-icon {
    height: 5rem;
    width: 5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

/* NOVA SECÇÃO WHATSAPP */
.whatsapp-section {
    background-color: var(--brand-blue);
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}
.whatsapp-button {
    background-color: var(--brand-coral);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}
.whatsapp-button:hover {
    box-shadow: 0 10px 15px -3px rgba(255, 134, 118, 0.4), 0 4px 6px -2px rgba(255, 134, 118, 0.2);
    transform: translateY(-4px);
}


/* Modal de Notificação */
.notification-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
    backdrop-filter: blur(4px);
}
.notification-modal-content {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    padding: 2rem;
    max-width: 24rem;
    width: 100%;
    text-align: center;
}
.modal-close-button {
    background-color: var(--brand-coral);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}
.modal-close-button:hover {
    opacity: 0.9;
}

/* Classe para esconder elementos */
.hidden {
    display: none !important;
}

/* Efeito de transição para o texto rotativo */
#variable-part-before, #variable-part-after {
    transition: opacity 0.5s ease-in-out;
}

/* Estilos do Autocomplete */
.autocomplete-container {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d1d5db; /* gray-300 */
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-items div {
    padding: 0.75rem;
    cursor: pointer;
    background-color: white;
}

.autocomplete-items div:hover {
    background-color: #f3f4f6; /* gray-100 */
}

.autocomplete-active {
    background-color: #e5e7eb !important; /* gray-200 */
}
