
/* ===========================================
   NEWSLETTER HERO — Full-viewport dark hero
   =========================================== */

/* Section */
.nl-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #EEEAE9;
}

/* ─── Video / Image Background ─── */
.nl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nl-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

/* Left-to-right gradient overlay (dark-left → transparent-right) */
.nl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.95) 5%,
        rgba(0, 0, 0, 0.6) 45%,
        rgba(0, 0, 0, 0) 80%
    );
    z-index: 1;
    pointer-events: none;
}

.nl-hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35vh;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(15, 15, 15, 0.6) 50%,
        rgba(15, 15, 15, 1) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ─── Content ─── */
.nl-hero-content {
    position: relative;
    z-index: 3;
    width: calc(100% - 40px);
    max-width: 1400px;
    margin: 8vh auto 0; /* margem top para dar espaço abaixo do header, e centralizar verticalmente em telas maiores */
    padding: 0 20px; /* Alinha exatamente com o logo TK dentro do header-pill */
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vh, 20px);
}

/* Title */
.nl-hero-title {
    color: #FFFFFF;
    font-family: Switzer, sans-serif;
    font-size: clamp(42px, 5vw, 56px); /* Escala suave em telas menores */
    letter-spacing: -0.02em;
    font-weight: 500; /*tamanho da fonte do titulo */
    line-height: 1.05;
    max-width: 600px;
}

/* Subtitle */
.nl-hero-subtitle {
    color: rgba(238, 234, 233, 0.75);
    font-family: Switzer, sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    max-width: 520px;
}

/* ─── Form ─── */
.nl-hero-form {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 16px);
    max-width: 440px;
    margin-top: 4px;
    backdrop-filter: blur(0px);
}

/* Email Row */
.nl-email-row {
    position: relative;
    display: flex;
    align-items: center;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(0px); /* Efeito de desfoque para o fundo */
    -webkit-backdrop-filter: blur(0px); /*mudar aqui também para compatibilidade com Safari */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px; /* Mesma borda da caixa de baixo */
    padding: 0 8px 0 24px;
    gap: 12px;
    transition: all 0.3s ease;
}

.nl-email-row:focus-within {
    border-color: rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.nl-email-icon {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.nl-email-row input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding: 0;
}

.nl-email-row input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Send Button */
.nl-send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px; /* Bordas arredondadas quadradas (menos redondo) */
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nl-send-btn:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}

.nl-send-btn:hover .nl-send-icon {
    color: #000000;
}

.nl-send-icon {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

/* Preferences Box */
.nl-prefs-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: clamp(16px, 2vh, 20px) 24px;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vh, 16px);
}

.nl-prefs-title {
    font-family: 'Switzer', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.1vw, 16px);
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Preference Item */
.nl-pref-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.nl-pref-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: -1px;
}

.nl-pref-label {
    font-family: 'Switzer', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1vw, 15px);
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.nl-pref-desc {
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 0.9vw, 13px);
    color: rgba(255, 255, 255, 0.5);
}

/* Custom Checkbox */
.nl-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1px;
    transition: all 0.2s ease;
}

.nl-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.nl-checkbox:checked {
    background: #FFFFFF;
    border-color: #FFFFFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Consent */
.nl-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 0 4px;
}

.nl-consent span {
    font-family: 'Switzer', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.85vw, 13px);
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}


/* ===========================================
   RESPONSIVE
   =========================================== */

/* Responsive Media Queries */
@media (max-width: 900px) {
    .nl-hero {
        align-items: flex-end;
        padding-bottom: 60px;
    }

    .nl-hero-content {
        padding: 0 24px;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    .nl-hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .nl-hero-subtitle {
        font-size: 16px;
    }

    .nl-hero-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 5%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0) 90%
        );
    }

    .nl-hero-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nl-hero-title {
        font-size: 2.2rem;
    }

    .nl-hero-subtitle {
        font-size: 15px;
    }

    .nl-email-row {
        height: 52px;
    }

    .nl-prefs-box {
        padding: 20px 20px;
    }
}

.why_newsletter {
    color: #FFFFFF;
    font-family: Switzer, sans-serif;
    font-size: clamp(42px, 5vw, 56px); /* Escala suave em telas menores */
    letter-spacing: -0.02em;
    font-weight: 480; /*tamanho da fonte do titulo */
    line-height: 1.05;
    
}
.why_newsletter_subtitle {
    color: rgba(238, 234, 233, 0.75);
    font-family: Switzer, sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    max-width: 520px;
    margin: 0 auto;
    margin-top: 15px;
}

/* Body overrides */
body {
    background-color: #0F0F0F !important;
    color: #F8FAFC;
}
.main-wrapper {
    background: transparent !important;
}
.newsletter-content_title {
    color: #FFFFFF;
    font-family: Switzer, sans-serif;
    font-size: clamp(42px, 5vw, 56px); /* Escala suave em telas menores */
    letter-spacing: normal;
    font-weight: 480; /*tamanho da fonte do titulo */
    line-height: 1.05;
}
.newsletter-content_subtitle {
    color: rgba(238, 234, 233, 0.75);
    font-family: Switzer, sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    max-width: 520px;
    margin: 0 auto;
    margin-top: 15px;
}

/* RIGHT: Scrolling Content */

.newsletter-content-image_title {
    color: #FFFFFF;
    font-family: Switzer, sans-serif;
    font-size: clamp(42px, 5vw, 56px); /* Escala suave em telas menores */
    letter-spacing: normal;
    font-weight: 480; /*tamanho da fonte do titulo */
    line-height: 1.05;
}

.newsletter-content-image_subtitle {
    color: rgba(238, 234, 233, 0.75);
    font-family: Switzer, sans-serif;
    font-size: clamp(15px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    max-width: 520px;
    margin-top: 15px;
}