/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    background: linear-gradient(135deg, #6383FF 0%, #772FC4 47%, #381161 100%);
    min-height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Header */
header {
    padding: 30px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.btn-entrar {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-entrar:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Form Section */
.form-section {
    flex: 1;
    max-width: 600px;
}

.form-section h1 {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

#rotating-word {
    color: #5DD9C1;
    transition: opacity 0.5s ease;
}

.subtitle {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 50px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

label {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 18px 25px;
    font-size: 16px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background: linear-gradient(90deg, #5DD9C1 0%, #64C5DD 100%);
    border: none;
    color: white;
    padding: 20px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(93, 217, 193, 0.3);
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(93, 217, 193, 0.4);
}

/* Phone Section */
.phone-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-image {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: rotatePhone 2s ease-in-out forwards;
    display: block;
}



/* Animação de rotação do celular */
@keyframes rotatePhone {
    0% {
        transform: rotateY(-180deg) rotateZ(-10deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotateY(0deg) rotateZ(0deg);
        opacity: 1;
    }
}

/* Footer */

footer {
    padding: 6px 0;
    display: flex;

}

.copywrite {
    font-size: 14px;
    opacity: 0.4;
    gap: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 10px;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    flex-direction: row;
    margin-left: 2%;
    gap: 50px;

}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        gap: 40px;
    }

    .phone-image {
        max-width: 380px;
    }

    .form-section h1 {
        font-size: 40px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 60px;
    }

    .form-section {
        max-width: 100%;
    }



    .phone-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 20px 0;
    }

    .logo img {
        height: 32px;
    }

    .btn-entrar {
        padding: 10px 30px;
        font-size: 14px;
    }

    .form-section h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    form {
        gap: 15px;
    }

    input {
        padding: 16px 20px;
        font-size: 15px;
    }

    .btn-enviar {
        padding: 18px;
        font-size: 16px;
        margin-top: 20px;
    }

    .phone-image {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links {
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .form-section h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }

    .phone-image {
        display: none;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}