*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Container principal */
.hero {
    position: relative;
    height: 100vh;
    background: url("./assets/bg.jpg") center / cover no-repeat;
}

.hero-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 80px;
    z-index: 10;
}

.hero-left img {
    height: 80%;
    max-height: 550px;
    width: auto;
}

/* Overlay inferior */
.overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0));

    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Overlay superior */
.overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0));

    mix-blend-mode: multiply;
    pointer-events: none;
}

/* Container do bloco do formulário */
.lead-form {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    /* ajusta conforme teu layout */
    width: 400px;
    color: rgba(255, 255, 255, 0.85);
    z-index: 10;
}

/* Cabeçalho do formulário */
.lead-form__header {
    margin-bottom: 28px;
}

.lead-form__overline {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.lead-form__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

/* Campos */
.lead-form__fields {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.input-group {
    position: relative;
    width: 100%;
}

.field {
    width: 100%;
    height: 44px;
    padding: 16px 0 4px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    /* Remove radius nativo do iOS */
}

.field:focus {
    border-bottom-color: #fff;
}

/* Floating label */
.floating-label {
    position: absolute;
    left: 0;
    top: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: 0.2s ease all;
}

.field:focus~.floating-label,
.field:not(:placeholder-shown)~.floating-label {
    top: -4px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Linha do checkbox + botão */
.lead-form__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check__box {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    transition: all 0.2s ease;
}

.check__box::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.check input:checked+.check__box {
    background: #fff;
    border-color: #fff;
}

.check input:checked+.check__box::after {
    border-color: #000;
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.check__text {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.75);
}

.check__text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.check__text a:hover {
    color: rgba(255, 255, 255, 1);
}

/* Botão */
.btn-send {
    height: 44px;
    min-width: 150px;
    padding: 0 24px;
    background: #fff;
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-send .arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    background: #f8f8f8;
}

.btn-send:hover .arrow {
    transform: translateX(4px);
}

/* Loading state */
.btn-send.loading {
    pointer-events: none;
    opacity: 0.8;
    cursor: wait;
    position: relative;
    color: transparent;
}

.btn-send.loading .arrow {
    display: none;
}

.btn-send.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Conteúdo futuro */
.content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    pointer-events: none;
}

/* =====================================================
   NOVA SEÇÃO (ABOUT)
   ===================================================== */
.about-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #DBD4CE;
    padding: 10vh 15vw 10vh 15vw;
    min-height: 90vh;
}

.about-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 500px;
    padding-right: 40px;
}

.about-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    margin-top: 0;
    margin-bottom: 24px;
}

.about-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
}

.about-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.about-logo {
    height: 32px;
    width: auto;
    filter: brightness(0);
}

.about-separator {
    font-size: 28px;
    font-weight: 100;
    color: #000;
}

.about-video {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 40vw;
    width: 100%;
}

.about-grafismo {
    position: absolute;
    right: -30vw;
    top: 30%;
    transform: translateY(-50%);
    height: 120%;
    z-index: 1;
    pointer-events: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 8px;
    /* Adicionando um leve arredondamento nas bordas do vídeo, opcional */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsividade NOVA SEÇÃO (ABOUT) */

@media (max-width: 1440px) {
    .about-section {
        padding: 10vh 10vw 10vh 15vw;
    }
}

@media (max-width: 1024px) {
    .about-section {
        flex-direction: column;
        padding: 10vh 15vw 10vh 15vw;
        text-align: center;
    }

    .about-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-logos {
        justify-content: center;
    }

    .about-video {
        max-width: 100%;
    }

    .about-grafismo {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 28px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-logo {
        height: 28px;
    }

    .about-separator {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 50px 20px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .about-logo {
        height: 24px;
    }
}

/* Seção abaixo da imagem */
.after-hero {
    width: 100%;
    height: 450px;
    background-color: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Linha das logos */
.logos-row {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Linha fina de informações legais */
.legal-row {
    width: 100%;
    height: auto;
    min-height: 20px;
    margin-bottom: 24px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.legal-row p {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0;
}

.agency-row {
    width: 100%;
    padding: 0 40px 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

.agency-row p {
    margin: 0;
}

.agency-row a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.agency-row a:hover {
    color: #fff;
}

.logos-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Logos SVG */
.logo {
    height: 60px;
    width: auto;
    display: block;
}

.cms {
    height: 50px;
    width: auto;
    display: block;
}

/* Operadores (+ e |) */
.operator {
    color: #fff;
    font-size: 64px;
    font-weight: 100;
    line-height: 1;
    opacity: 0.8;
}

/* Ajustes finos opcionais */
.operator.plus {
    margin: 0 4px;
}

.operator.or {
    margin: 0 8px;
    font-size: 64px;
    /* barra um pouco mais alta, estilo PSD */
}

/* =====================================================
   RESPONSIVIDADE - Telas menores que 1366px
   ===================================================== */

/* Tablet landscape e desktops pequenos */
@media (max-width: 1365px) {
    .hero {
        height: auto;
        min-height: auto;
        display: block;
        padding-bottom: 0;
    }

    .hero-left {
        position: relative;
        padding-left: 0;
        display: flex;
        justify-content: center;
        padding-top: 40px;
        height: auto;
    }

    .hero-left img {
        height: auto;
        max-height: 400px;
        max-width: 90%;
    }

    .lead-form {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 40px 30px;
    }

    /* Gradientes apenas na imagem de fundo */
    .overlay-top,
    .overlay-bottom {
        z-index: 1;
    }

    /* Rodapé fora do contexto do hero */
    .after-hero {
        position: relative;
        z-index: 10;
        height: auto;
        min-height: 350px;
        padding: 40px 20px;
    }

    .logos-row {
        gap: 20px;
    }

    .logo {
        height: 60px;
    }

    .cms {
        height: 50px;
        width: auto;
        display: block;
    }

    .operator {
        font-size: 48px;
    }
}

/* Tablet portrait */
@media (max-width: 1024px) {
    .hero-left img {
        max-height: 350px;
    }

    .lead-form {
        max-width: 450px;
        padding: 30px 25px;
    }

    .logos-row {
        gap: 16px;
    }

    .logo {
        height: 50px;
    }

    .cms {
        height: 40px;
        width: auto;
        display: block;
    }

    .operator {
        font-size: 40px;
    }

    .legal-row {
        margin-bottom: 30px;
    }
}

/* Mobile landscape e tablets pequenos */
@media (max-width: 768px) {
    .hero {
        background-position: center center;
    }

    .hero-left {
        padding-top: 30px;
    }

    .hero-left img {
        max-height: 300px;
        max-width: 85%;
    }

    .lead-form {
        max-width: 100%;
        padding: 30px 20px;

        /* =====================================================
           BLUR DE FUNDO - APENAS MOBILE
           Ajuste os valores abaixo conforme necessário:
           - blur(): intensidade do desfoque (8px a 20px são bons valores)
           - background: cor de fundo semi-transparente (ajuste o alpha)
           ===================================================== */
        backdrop-filter: blur(4px);
        /* AJUSTE: intensidade do blur */
        -webkit-backdrop-filter: blur(4px);
        /* Safari/iOS */
        background: rgba(0, 0, 0, 0.1);
        /* AJUSTE: opacidade do fundo escuro (0.3 a 0.6) */
        border-radius: 40px;
        /* AJUSTE: bordas arredondadas se quiser */

        /* =====================================================
           FEATHER (BORDAS SUAVES DO BLUR) - APENAS TOPO
           Ajuste o valor em pixels para controlar a transição:
           - 60px = transição suave de 60px no topo
           - Aumente para mais suavidade, diminua para menos
           ===================================================== */
        -webkit-mask-image: linear-gradient(to bottom,
                transparent 0%,
                black 60px,
                /* AJUSTE: distância do feather no topo */
                black 100%);
        /* Sólido até embaixo */
        mask-image: linear-gradient(to bottom,
                transparent 0%,
                black 60px,
                /* AJUSTE: distância do feather no topo */
                black 100%);
        /* Sólido até embaixo */
    }

    .lead-form__header {
        text-align: center;
    }

    .lead-form__title {
        font-size: 20px;
    }

    .lead-form__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .check {
        justify-content: center;
    }

    .check__text {
        text-align: left;
    }

    .btn-send {
        width: 100%;
        height: 44px;
    }

    /* Rodapé com logos empilhadas */
    .after-hero {
        min-height: auto;
        padding: 50px 20px 30px;
    }

    .logos-row {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .logo {
        height: 55px;
    }

    .cms {
        height: 35px;
        width: auto;
        display: block;
    }

    .operator {
        font-size: 32px;
    }

    .operator.plus,
    .operator.or {
        margin: 0;
    }

    /* Troca | por em dash no mobile */
    .operator.or {
        font-size: 0;
        /* esconde o | */
    }

    .operator.or::after {
        content: "—";
        font-size: 32px;
    }

    .legal-row {
        margin-bottom: 20px;
    }

    .agency-row {
        text-align: center;
        padding: 0 20px 20px;
    }

    .legal-row p {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .hero-left {
        padding-top: 60px;
    }

    .hero-left img {
        max-height: 250px;
        max-width: 80%;
    }

    .lead-form {
        padding: 60px 32px 60px 32px;
        margin-top: 20px;
    }

    .lead-form__header {
        margin-bottom: 24px;
        text-align: left;
    }

    .lead-form__title {
        font-size: 22px;
        line-height: 1.4;
    }

    .lead-form__overline {
        font-size: 10px;
    }

    .field {
        height: 44px;
        font-size: 16px;
        /* Previne zoom no iOS */
    }

    .lead-form__fields {
        gap: 20px;
        margin-bottom: 24px;
    }

    .check__text {
        font-size: 10px;
    }

    .btn-send {
        height: 46px;
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    .logos-row {
        gap: 16px;
    }

    .logo {
        height: 45px;
    }

    .operator {
        font-size: 28px;
    }

    .legal-row {
        margin-bottom: 15px;
        padding: 0 16px;
    }

    .agency-row {
        padding: 0 16px 15px;
    }

    .legal-row p {
        font-size: 12px;
    }

    .overlay-bottom {
        height: 300px;
    }
}

/* Mobile muito pequeno */
@media (max-width: 360px) {
    .hero-left img {
        max-height: 210px;
    }

    .lead-form {
        padding: 80px 16px 50px 16px;
    }

    .lead-form__headline {
        font-size: 16px;
    }

    .logo {
        height: 40px;
    }

    .legal-row {
        margin-bottom: 20px;
        padding-top: 36px;
    }

    .legal-row p {
        font-size: 12px;
    }
}

/* =====================================================
   MODAL DE SUCESSO
   ===================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #111;
    border: none;
    border-radius: 12px;
    padding: 56px 48px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

.modal-icon--error {
    background: #2a1111;
    color: #ff5555;
    box-shadow: 0 8px 16px rgba(255, 85, 85, 0.1);
}

.modal-title {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
}

.modal-text {
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.modal-btn {
    height: 44px;
    min-width: 140px;
    padding: 0 32px;
    background: #fff;
    border: none;
    border-radius: 4px;
    color: #000;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    background: #f8f8f8;
}