/* ============================================ */
/* Lancôme - ESTILOS UNIFICADOS        */
/* ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
    color: #000000;
    line-height: 1.4;
    padding: 1.5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container principal com grid 2 colunas no desktop */
.main-grid {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: #ffffff;
}

/* COLUNA ESQUERDA (FORMULÁRIO E CONTEÚDO) */
.form-col {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

/* Logo centralizado - 300px de largura */
.logo-wrapper {
    text-align: center;
    margin-bottom: 0.5rem;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: inline-block;
}

/* Logo mobile - aparece apenas no mobile */
.logo-mobile {
    display: none;
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-mobile img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Títulos e textos - COR PRETA */
.title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 0.2rem;
    text-align: center;
}

.description {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #1a1a1a;
    font-weight: 400;
    max-width: 95%;
    text-align: center;
}

/* Formulário sem labels, inputs com placeholder preto e fundo branco */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.input-field {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 4px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.input-field::placeholder {
    color: #000 !important;
    font-weight: 500 !important;
}

.input-field:focus {
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Checkbox personalizado e alinhamento */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0.25rem 0 0.5rem;
}

.checkbox-group input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    accent-color: #000000;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-group a:hover {
    opacity: 0.7;
}

/* Botão preto com texto CADASTRE-SE - SEM BORDER RADIUS, CENTRALIZADO */
.btn-submit {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 250px;
    display: block;
    margin: auto;
    font-family: inherit;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background-color: #333333;
    transform: scale(0.98);
}

.btn-submit:active {
    transform: scale(0.97);
}

/* Mensagens de erro / sucesso */
.error-msg {
    font-size: 0.75rem;
    color: #cc0000;
    margin-top: -0.5rem;
    margin-bottom: 0.25rem;
}

.success-message,
.api-success {
    color: #006600;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

.api-error {
    background-color: #ffdddd;
    color: #cc0000;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

.hidden {
    display: none;
}

/* Required field indicator */
.required-indicator {
    font-size: 0.7rem;
    color: #000;
    text-align: left;
    margin-top: 0.5rem;
}

/* COLUNA DIREITA (VIDEO) - SEM BORDER RADIUS */
.video-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.3);
}

video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

.clip-path {
    clip-path: inset(20px);
}

/* RESPONSIVIDADE: mobile */
@media (max-width: 900px) {
    body {
        padding: 1.5rem 1rem;
    }

    .main-grid {
        display: flex;
        flex-direction: column;
        gap: 0rem;
    }

    /* Escondemos o logo da coluna esquerda no mobile */
    .form-col .logo-wrapper {
        display: none;
    }

    /* Mostramos o logo mobile no topo */
    .logo-mobile {
        display: block;
        order: 1;
    }

    /* Vídeo em segundo lugar */
    .video-col {
        order: 2;
        padding-bottom: 30px;
    }

    /* Conteúdo do formulário em terceiro */
    .form-col {
        order: 3;
    }
}

/* pequenos ajustes para telas muito grandes */
@media (min-width: 1600px) {
    .main-grid {
        max-width: 1400px;
        gap: 3rem;
    }
}

/* Link do rodapé / política inline */
.footer-note {
    font-size: 0.7rem;
    color: #555;
    text-align: center;
    margin-top: 1rem;
    border-top: 1px solid #cccccc;
    padding-top: 1rem;
}

.footer-note a {
    color: #000000;
}

/* ============================================ */
/* CREATOR LANCÔME (LORDLBRA-3467)              */
/* ============================================ */
.creator {
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    color: #000000;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

.creator-heading {
    text-align: left;
    margin-bottom: 1.5rem;
}

.creator-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1.1rem;
}

.creator-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: uppercase;
}

.creator .form-fields {
    gap: 0.9rem;
    margin-top: 0;
}

.creator .input-field {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    padding: 1rem 0 0.45rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

.creator .input-field::placeholder {
    color: #000000 !important;
    font-weight: 400 !important;
    opacity: 1;
}

.creator .input-field:focus {
    box-shadow: none;
    border-bottom-width: 2px;
}

.creator .input-field.has-error {
    border-bottom-color: #cc0000;
}

.creator .error-msg {
    margin-top: -0.6rem;
    margin-bottom: 0;
}

/* Os contêineres de erro vazios não somam espaço entre os campos */
.creator .error-msg:empty {
    display: none;
}

/* Pergunta Sim / Não com caixas quadradas */
.radio-question {
    border: none;
    padding: 0;
    margin: 1.25rem 0 0 0.15rem;
}

.radio-question legend {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 0.9rem;
    padding: 0;
}

.radio-options {
    display: flex;
    gap: 1rem;
}

.square-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.square-option input,
.creator .checkbox-group input {
    appearance: none;
    -webkit-appearance: none;
    width: 0.75rem;
    height: 0.75rem;
    margin: 0;
    border: 1px solid #000000;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.square-option input:checked,
.creator .checkbox-group input:checked {
    background-color: #000000;
    box-shadow: inset 0 0 0 2px #ffffff;
}

.creator .checkbox-group {
    gap: 0.55rem;
    margin: 1.1rem 0 0;
}

.creator .checkbox-group input {
    margin-top: 0.3rem;
}

.creator .checkbox-group label {
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #000000;
}

.creator .checkbox-group a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.creator .required-indicator {
    font-size: 0.72rem;
    font-weight: 400;
    margin-top: 0.4rem;
}

.creator .btn-submit {
    width: 100%;
    border-radius: 2px;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .creator-heading {
        margin-top: 0.5rem;
    }

    .creator-title {
        font-size: 1.2rem;
    }

    .creator-subtitle {
        font-size: 0.95rem;
    }
}

/* Success page - Creator Lancôme */
/* Imagem maior, colada nas bordas (sem padding do body nem gap da grade) */
body.success-page {
    padding: 0;
    display: block;
}

.success-page .main-grid {
    max-width: none;
    grid-template-columns: 48% 1fr;
    gap: 0;
}

.success-page .video-col {
    display: block;
    align-self: start;
}

.success-page .video-col img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.success-page .form-col {
    max-width: 620px;
    padding: 2rem 3rem;
}

.creator-success {
    text-align: left;
}

.creator-success-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

.creator-success-text {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.creator .creator-success-btn {
    text-align: center;
    text-decoration: none;
    text-transform: none;
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .success-page .video-col {
        padding-bottom: 0;
        align-self: stretch;
    }

    .success-page .form-col {
        max-width: none;
        padding: 2rem 1rem;
    }

    .creator-success {
        margin-top: 0.5rem;
    }

    .creator-success-title {
        font-size: 1.15rem;
    }

    .creator-success-text {
        font-size: 0.9rem;
    }
}

/* ============================================ */
/* PÁGINAS DE SUCCESS Y ERROR                   */
/* ============================================ */
.form-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2rem;
    text-align: center;
}

.header-image {
    text-align: center;
    margin-bottom: 2rem;
}

.header-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.success-container,
.error-container {
    padding: 2rem 1rem;
}

.success-title,
.error-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 1rem;
}

.success-message,
.error-message-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.btn-home {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-home:hover {
    background-color: #333333;
    transform: scale(0.98);
}

.duplicate-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #cc0000;
}

.duplicate-message a {
    color: #000000;
}

@media (max-width: 600px) {
    .form-container {
        padding: 1.5rem;
    }

    .success-title,
    .error-title {
        font-size: 1.8rem;
    }

    .success-message,
    .error-message-text {
        font-size: 1rem;
    }
}