@font-face {
    font-family: 'Decoy';
    src: url('fonts/Decoy-Light.eot');
    src: url('fonts/Decoy-Light.eot?#iefix') format('embedded-opentype'),
        url('fonts/Decoy-Light.woff2') format('woff2'),
        url('fonts/Decoy-Light.woff') format('woff'),
        url('fonts/Decoy-Light.ttf') format('truetype'),
        url('fonts/Decoy-Light.svg#Decoy-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Decoy';
    src: url('fonts/Decoy-Regular.eot');
    src: url('fonts/Decoy-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/Decoy-Regular.woff2') format('woff2'),
        url('fonts/Decoy-Regular.woff') format('woff'),
        url('fonts/Decoy-Regular.ttf') format('truetype'),
        url('fonts/Decoy-Regular.svg#Decoy-Regular') format('svg');
    font-weight: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Decoy';
    src: url('fonts/Decoy-Medium.eot');
    src: url('fonts/Decoy-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/Decoy-Medium.woff2') format('woff2'),
        url('fonts/Decoy-Medium.woff') format('woff'),
        url('fonts/Decoy-Medium.ttf') format('truetype'),
        url('fonts/Decoy-Medium.svg#Decoy-Medium') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Decoy';
    src: url('fonts/Decoy-Black.eot');
    src: url('fonts/Decoy-Black.eot?#iefix') format('embedded-opentype'),
        url('fonts/Decoy-Black.woff2') format('woff2'),
        url('fonts/Decoy-Black.woff') format('woff'),
        url('fonts/Decoy-Black.ttf') format('truetype'),
        url('fonts/Decoy-Black.svg#Decoy-Black') format('svg');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Decoy';
    src: url('fonts/Decoy-UltraBlack.eot');
    src: url('fonts/Decoy-UltraBlack.eot?#iefix') format('embedded-opentype'),
        url('fonts/Decoy-UltraBlack.woff2') format('woff2'),
        url('fonts/Decoy-UltraBlack.woff') format('woff'),
        url('fonts/Decoy-UltraBlack.ttf') format('truetype'),
        url('fonts/Decoy-UltraBlack.svg#Decoy-UltraBlack') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Decoy', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fab622;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    gap: 30px;
    flex-direction: column;
    background-image:
        url('chocolate.webp'),
        url('doces.webp'),
        url('topo-esquerda.png'),
        url('topo-direita.png'),
        url('base-esquerda.png'),
        url('base-direita.png');

    /* Posicionando cada uma em seu respectivo canto */
    background-position:
        100% 50%,
        15% 90%,
        left top,
        right top,
        left bottom,
        right bottom;

    background-repeat: no-repeat;
    background-size: 80vh, 50vh, 200px, 200px, 200px, 200px;
    padding: 1rem;
}

p {
    color: #652f23;
}

.logo img {
    width: 310px;
}

.container {
    background: rgba(247, 198, 90, 0.9);
    ;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    flex-direction: column;
}

h1 {
    text-align: center;
    color: #652f23;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-wrap-style: pretty;
}

h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #652f23;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.2rem;
    color: #652f23;
    font-size: 0.8rem;
}

input,
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    color: #652f23;
}

input:focus,
select:focus {
    border-color: #652f23;
    /* Bauducco Red */
    outline: none;
}

button {
    width: 100%;
    padding: 1rem;
    background-color: #e1251c;
    /* Bauducco Red */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Decoy', Tahoma, Geneva, Verdana, sans-serif;
}

button:hover {
    background-color: #c41a1f;
}

.error {
    color: #e1251c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.success-container {
    text-align: center;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 30px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #e31e24;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #652f23;
    line-height: 1.2;
    cursor: pointer;
    max-width: 300px;
}

.checkbox-group a:hover {
    color: #b7181d;
}

/* Stepper */
.stepper-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
    transform: translateY(-50%);
}

.step-dot {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ddd;
    color: #652f23;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    z-index: 1;
    font-size: 13px;
    line-height: 13px;
    position: relative;
    transition: all 0.3s ease;
}

.step-dot span {
    display: flex;
    width: auto;
    height: auto;
    position: relative;
    top: -1px;
}

.step-dot.active {
    background: #e1251c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.2);
}

.step-dot.completed {
    background: #e1251c;
    color: white;
}

.step-buttons {
    display: flex;
}

/* Copy Button */
.copy-btn {
    background: none;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    margin-left: 8px;
    vertical-align: middle;
    transition: background 0.2s;
    width: 30px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    color: #652f23;

}

.copy-btn:hover {
    background: transparent;
    color: #e1251c;
}

p.senha {
    margin-top: 15px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 5px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    width: 300px;
    animation: fadeIn 0.3s ease;
}

.modal-content p {
    color: #652f23;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.confirm-data {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 5px;
}

.confirm-data strong {
    color: #652f23;
    font-size: 1.1rem;
}

.hidden {
    display: none !important;
}

.captcha-group {
    background: transparent;
    padding: 0;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-indicator {
    margin-bottom: 20px;
    font-weight: bold;
    color: #666;
    text-align: center;
}

.confirm-data p {
    margin: 5px 0;
    font-size: 1.1rem;
}

.confirm-data strong {
    color: #e31e24;
}

.btn-secondary {
    background: #999;
    margin-right: 10px;
}

.captcha-group label {
    display: block;
    margin-bottom: 1rem;
    color: #652f23;
    font-size: 1.5rem;
    text-align: center;
}

.btn {
    padding: 1rem;
    background-color: #e1251c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Decoy', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
}

.btn:hover {
    background-color: #c41a1f;
}

@media (max-width: 512px) {
    body {
        background-size: 500px, 33vh, 100px, 100px, 100px, 100px;
        background-position: 28vw 15vh, 2vw 80vh, left top, right top, left bottom, right bottom;
    }

    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .logo img {
        width: 240px;
    }

    .confirm-data {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 5px;
    margin: auto 0;
}

    .confirm-data p {
        margin: 5px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        line-height: 20px;
        text-wrap-style: pretty;
        font-size: 1rem;
        font-weight: 700;
    }
     .confirm-data p strong {
        color: #652f23;
        font-weight: 800;
    }

    .container {
        background: rgba(247, 198, 90, 0.9);
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 500px;
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .stepper-container {
        margin-bottom: auto;
    }

    form {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: flex-start;
    }

    .step.active {
        display: flex;
        flex-direction: column;
        height: 100%;
        margin: auto 0 ;
    }

    .step-buttons {
        display: flex;
        margin-top: auto;
    }

    .captcha-group {
        background: transparent;
        padding: 0;
        border-radius: 4px;
        margin-bottom: 1rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #video-container h1{
        font-size: 2rem;
    }

     #video-container .btn {
        padding: 1rem;
        background-color: #e1251c;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        font-family: 'Decoy', Tahoma, Geneva, Verdana, sans-serif;
        text-decoration: none;
    }
}


@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
