:root {
    --primary: #FF0076;
    --white: #FFFFFF;
    --gray: #F5F5F7;
    --text: #222;
    --muted: #888;
    --border: #E0E0E0;
    --modal-bg: rgba(34, 34, 34, 0.7);
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;
}

.side-image {
    width: 50vw;
    min-width: 320px;
    background: url('../img/foto2.png') center center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-image::after {
    display: none;
}

.main-content {
    width: 50vw;
    min-width: 320px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    position: relative;
}

.content-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 80vh;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.2rem;
    letter-spacing: 0.04em;
    text-align: left;
}

.main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.1rem;
    text-align: left;
    letter-spacing: 0.01em;
    line-height: 1.15;
    max-width: 520px;
}

.logo {
    max-width: 125px;
    object-fit: fill;
}

.subtitle {
    font-size: 1.15rem;
    margin-top: 0.6rem;
    color: var(--text);
    margin-bottom: 1.3rem;
    text-align: left;
    font-weight: 500;
    line-height: 1.2;
    max-width: 520px;
}

.desc {
    font-size: 1.08rem;
    color: #858484;
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.5;
    font-weight: 400;
    max-width: 360px;
}

.notify-form {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: 0;
    align-items: stretch;
    margin-bottom: 2.2rem;
    box-shadow: none;
    transition: border 0.2s;
}

.notify-form:focus-within {
    border: 1.5px solid var(--primary);
}

.notify-form input[type="email"] {
    flex: 1;
    padding: 1.1rem 1.2rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1.08rem;
    outline: none;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    min-width: 120px;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 0;
}

.notify-form input[type="email"]::placeholder {
    color: #bbb;
    opacity: 1;
    font-style: italic;
    transition: color 0.2s;
}

.notify-form button {
    padding: 0 1rem;
    border: none;
    border-radius: 0 8px 8px 0;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1.08rem;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    letter-spacing: 0.04em;
    text-transform: none;
    box-shadow: none;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
}

.notify-form button:hover,
.notify-form button:focus {
    background: #e60068;
}

.footer {
    margin-top: 2.5rem;
    text-align: left;
    color: #888;
    font-size: 0.95rem;
    padding-bottom: 1.5rem;
    width: 100%;
}

.social-icons {
    margin-top: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 0.7rem;
    align-items: center;
}

.social-icons a {
    color: var(--muted);
    font-size: 1.4rem;
    transition: color 0.2s, transform 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--primary);
    background: var(--gray);
    transform: scale(1.15) rotate(-8deg);
}

/* Modal styles melhorados */
.modal-bg {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--modal-bg);
    backdrop-filter: blur(4px) saturate(120%);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(.4, 0, .2, 1);
}

.modal-bg.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: modalFadeIn 0.45s cubic-bezier(.4, 0, .2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--white);
    color: var(--primary);
    border-radius: 20px;
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.18);
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    text-align: center;
    min-width: 280px;
    max-width: 95vw;
    font-size: 1.18rem;
    font-weight: 600;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    transform: scale(0.96) translateY(24px);
    opacity: 0;
    animation: modalPopIn 0.45s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal .close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.7rem;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal .close:hover,
.modal .close:focus {
    color: var(--white);
    background: var(--primary);
    outline: none;
}

.modal .icon {
    font-size: 3.2rem;
    margin-bottom: 0.7rem;
    color: var(--primary);
    background: linear-gradient(135deg, #ffe0f0 0%, #fff 100%);
    border-radius: 50%;
    width: 4.2rem;
    height: 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 12px 0 rgba(255, 0, 118, 0.08);
}

.modal #modalDesc {
    color: var(--primary);
    font-size: 1.18rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
        overflow-x: hidden;
    }

    .side-image {
        width: 100vw;
        min-width: unset;
        min-height: 180px;
        height: 180px;
        order: 1;
        border-radius: 0;
        left: 0;
        right: 0;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .main-content {
        width: 100vw;
        min-width: unset;
        min-height: 60vh;
        height: auto;
        padding: 0 4vw;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .content-wrapper {
        min-height: unset;
        padding: 32px 0 24px 0;
        max-width: 98vw;
        align-items: center;
    }

    .logo {
        margin-left: 0;
        margin-right: 0;
        display: block;
        margin-bottom: 1.5rem !important;
    }

    .main-title,
    .subtitle,
    .desc {
        text-align: center;
        max-width: 98vw;
        margin-left: auto;
        margin-right: auto;
    }

    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 0 2vw;
    }

    .logo {
        height: 36px !important;
        margin-bottom: 1.1rem !important;
    }

    .main-title {
        font-size: 1.05rem;
    }

    .subtitle,
    .desc {
        font-size: 0.98rem;
    }

    .content-wrapper {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
    }

    .notify-form {
        flex-direction: column;
        padding: 0.7rem 0.7rem 0.7rem 0.7rem;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .notify-form input[type="email"] {
        border-radius: 8px;
        margin-bottom: 0.7rem;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: visible;
        white-space: normal;
    }

    .notify-form button {
        border-radius: 8px;
        width: 100%;
        min-width: 100px;
        padding: 1.1rem 0;
        justify-content: center;
        font-size: 1.08rem;
        height: auto;
        box-sizing: border-box;
    }

    .footer,
    .main-title,
    .subtitle,
    .desc,
    .social-icons {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .modal {
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
        min-width: 0;
        font-size: 1.01rem;
    }

    .modal .icon {
        font-size: 2.2rem;
        width: 2.8rem;
        height: 2.8rem;
    }

    .modal .close {
        font-size: 1.2rem;
        width: 1.8rem;
        height: 1.8rem;
        top: 8px;
        right: 8px;
    }
}

.preloader {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
}

.preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.preloader-letter {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0;
    transform: translateY(24px);
    display: inline-block;
    animation: preloader-fadein 0.7s forwards;
}

.preloader-letter:nth-child(1) {
    animation-delay: 0.1s;
}

.preloader-letter:nth-child(2) {
    animation-delay: 0.5s;
}

.preloader-letter:nth-child(3) {
    animation-delay: 0.9s;
}

.preloader-letter:nth-child(4) {
    animation-delay: 1.3s;
}

.preloader-letter:nth-child(5) {
    animation-delay: 1.7s;
}

@keyframes preloader-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-letter.space {
    display: inline-block;
    width: 0.3em;
}