:root {
    color-scheme: light only;
}

a:visited {
    color: inherit;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.clear {
    clear: both;
}

body {
    margin: 0;
    padding: 0;
    background: #F6F9FB;
}

.clear {
    clear: both;
}

html { scroll-behavior: smooth; }

textarea:focus,
input:focus,
select:focus {
    outline: none;
}

:root{
    --montserrat: 'Montserrat', sans-serif;
    --poppins: 'Poppins', sans-serif;
    --azul: #001C2D;
    --preto: #000;
    --branco: #fff;
    --vermelho: #FF002F;
    --trans: 0.3s ease-in-out;
}

#header{
    position: absolute;
    z-index: 3;
    top: 59px;
    right: 59px;
}

/* ===== BANNER ===== */
#banner {
    position: relative;
    width: 100%;
    min-height: 864px;
    display: flex;
    align-items: stretch;
}

.banner-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-bottom-left-radius: 174px;
    background: url(../imagens/fundo-banner-verde.webp);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#banner::after{
    content: '';
    position: absolute;
    background: url('../imagens/after-banner.webp');
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 299px;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 40px 80px;
    gap: 81px;
}

/* ---- Banner Left (lado direito do form) ---- */
.banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 567px;
}

.banner-titulo {
    font-family: var(--poppins);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 16px;
}

.banner-subtitulo {
    font-family: var(--poppins);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 5.76px;
    color: #fff;
    margin-bottom: 56px;
}

/* ---- Stories Button ---- */
.stories-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
}

.stories-btn:hover {
    transform: scale(1.05);
}

.stories-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2c98a 0%, #CBBBA0 55%, #a89070 100%);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stories-thumb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('../imagens/fundo-banner.webp') center center / cover no-repeat;
    position: relative;
}

.stories-yt-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 170px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
    z-index: 0;
}

.stories-thumb-cover {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
}

.stories-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 28, 45, 0.45);
    border-radius: 50%;
    z-index: 2;
}

.stories-play {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
    position: relative;
    z-index: 3;
}

.stories-label {
    font-family: var(--montserrat);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ---- Banner Form Wrap ---- */
.banner-form-wrap {
    width: 524px;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.is-open {
    display: flex;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal__container {
    position: relative;
    z-index: 1;
    width: 1300px;
    max-width: 90%;
}

.video-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 2;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
}

.video-modal__close:hover {
    color: #fff;
}

.video-modal__close svg {
    width: 24px;
    height: 24px;
}

.video-modal__ratio {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
    background: #000;
}

.video-modal__ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CONFIRMATION MODAL ===== */
.confirm-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.confirm-modal.is-open {
    display: flex;
}

.confirm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.confirm-modal__box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 40px 48px 36px;
    width: 100%;
    max-width: 480px;
    margin: 16px;
}

.confirm-modal__title {
    font-family: var(--poppins);
    font-size: 22px;
    font-weight: 700;
    color: #CBBBA0;
    margin-bottom: 6px;
}

.confirm-modal__warning {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fdf6ec;
    border: 1px solid #e8d5a3;
    border-left: 4px solid #c8972a;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}

.confirm-modal__warning-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: #c8972a;
}

.confirm-modal__warning-body {
    flex: 1;
}

.confirm-modal__warning-label {
    display: block;
    font-family: var(--montserrat);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #a67c1a;
    margin-bottom: 8px;
}

.confirm-modal__warning-body p {
    font-family: var(--montserrat);
    font-size: 12px;
    line-height: 1.65;
    color: #5a4a2f;
    margin: 0;
}

.confirm-modal__warning-body p + p {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0c98a;
}

.confirm-modal__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    border-top: 1px solid #e8e8e8;
}

.confirm-modal__list li {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
}

.confirm-modal__list li span:first-child {
    font-family: var(--montserrat);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #CBBBA0;
    margin-bottom: 3px;
}

.confirm-modal__list li span:last-child {
    font-family: var(--montserrat);
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

.confirm-modal__actions {
    display: flex;
    gap: 12px;
}

.confirm-modal__btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 4px;
    font-family: var(--montserrat);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background var(--trans), color var(--trans);
}

.confirm-modal__btn--edit {
    background: #f0f0f0;
    color: #444;
}

.confirm-modal__btn--edit:hover {
    background: #ddd;
}

.confirm-modal__btn--confirm {
    background: #CBBBA0;
    color: #fff;
}

.confirm-modal__btn--confirm:hover {
    background: #b8a88d;
}

/* Card wrap — contém o cordão + o card branco */
.form-card-wrap {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    padding-top: 68px;
}

.form-card__cord {
    position: absolute;
    top: 57px;
    left: -13px;
    margin: 0;
    line-height: 0;
    pointer-events: none;
    z-index: 3;
}

/* Card */
.form-card {
    background: #fff;
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.12);
    padding: 54px 53.5px 52px;
    position: relative;
    z-index: 2;
}

.form-card__sobre {
    font-family: var(--montserrat);
    font-size: 18px;
    font-weight: 400;
    color: var(--preto);
    text-align: center;
    margin-bottom: 12px;
}

.form-card__logo {
    text-align: center;
    margin-bottom: 13px;
}

.form-card__logo img {
    max-width: 200px;
    height: auto;
    display: inline-block;
}

.form-card__instr {
    font-family: var(--montserrat);
    font-size: 11px;
    font-weight: 400;
    color: var(--preto);
    text-align: center;
    margin-bottom: 6px;
}

/* Honeypot — invisível para humanos, visível para bots */
.hp-field {
    display: none;
}

/* Form controls */
.formcon {
    position: relative;
    margin-top: 20px;
}

.input-form {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 0.5px solid var(--preto);
    background: transparent;
    color: var(--preto);
    font-family: var(--montserrat);
    font-size: 14px;
    outline: none;
    transition: var(--trans);
    border-radius: 13px;
}

.input-form::placeholder {
    color: transparent;
}

.formcon label {
    position: absolute;
    left: 14px;
    top: 11px;
    color: var(--preto);
    font-family: var(--montserrat);
    font-size: 14px;
    pointer-events: none;
    transition: var(--trans);
}

.input-form:focus + label,
.input-form:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: #fff;
    padding: 0 4px;
    border-radius: 4px;
    opacity: 1;
}

.input-form:focus {
    opacity: 1;
}

/* Label flutua quando o formcon tem erro com mensagem no placeholder */
.formcon--erro label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: #fff;
    padding: 0 4px;
    border-radius: 4px;
    opacity: 1;
    color: var(--vermelho);
}

/* Placeholder de erro em vermelho */
.input-form.error::placeholder {
    color: var(--vermelho);
    opacity: 1;
}

.formcon__info-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.formcon__opcional {
    font-weight: 400;
    opacity: 0.55;
}

/* Checkbox */
.check-label {
display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--montserrat);
    font-weight: 800;
    font-size: 10px;
    color: #001C2D;
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.check-label input[type="checkbox"] {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1.4px solid #001C2D;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.check-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 0;
    width: 5px;
    height: 8px;
    border: solid #001C2D;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit */
.btn-submit {
    width: 100%;
    padding: 8px;
    background: #001C2D;
    color: #fff;
    border: 1px solid transparent;
    border-bottom-left-radius: 14px;
    font-family: var(--montserrat);
    font-weight: 700;
    font-size: 19px;
    cursor: pointer;
    transition: var(--trans);
}

.btn-submit:hover {
    background: #fff;
    border-color: #001C2D;
    color: #001C2D;
}

/* Estados de erro */
@keyframes shakeX {
    from, to { transform: translate3d(0, 0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate3d(-8px, 0, 0); }
    20%, 40%, 60%, 80% { transform: translate3d(8px, 0, 0); }
}

.shake {
    animation: shakeX 0.5s ease-in-out;
}

.input-form.error {
    border-color: var(--vermelho) !important;
    opacity: 1;
}

.input-form.error + label {
    color: var(--vermelho) !important;
}

/* LEGAL */
#legal {
    padding: 157px 0 183px;
}

#legal .container{
    width: 1318px;
    max-width: 90%;
    margin: 0 auto;
}

#legal p {
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: var(--preto);
    margin-bottom: 20px;
    letter-spacing: 0.96px;
    text-align: center;
}

#legal strong { font-weight: 700; }
#legal span { font-weight: 400; }

.btn-regulamento {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    padding: 10px 24px;
    background: #001C2D;
    color: #fff;
    font-family: var(--montserrat);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #001C2D;
    transition: var(--trans);
}

.btn-regulamento:hover,
.btn-regulamento:visited,
.btn-regulamento:active {
    color: #fff;
}

.btn-regulamento:hover {
    background: #fff;
    color: #001C2D;
}

/* FOOTER */

#footer{
    background: linear-gradient(89.63deg, #95B7E2 -0.27%, #32639E 49.67%, #000015 84.37%);
    position: relative;
    z-index: 1;
}

#footer::after{
    content: '';
    position: absolute;
    background: url(../imagens/after-footer.webp);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 100%;
    height: 87px;
    left: 0;
    top: -86px;
    z-index: -1;
}


#footer .container{
    position: relative;
    padding: 18.5px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* section:not(#banner){
    display: none
} */

/* ===== RESPONSIVO ===== */

@media screen and (max-width: 1440px) {
    #header {
        top: 36px;
        right: 36px;
    }

    .video-modal__ratio iframe {
        height: 446px;
    }

    .video-modal__ratio {
        padding-bottom: 466px;
    }
}

@media screen and (max-width: 1280px) {
    .banner-titulo {
        font-size: 36px;
    }

    .banner-subtitulo {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .banner-form-wrap {
        width: 440px;
    }

    .banner-left {
        width: 290px;
    }
}

@media screen and (max-width: 1100px) {
    #header {
        top: 24px;
        right: 24px;
    }

    .banner-titulo {
        font-size: 30px;
    }

    .banner-subtitulo {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .banner-form-wrap {
        width: 400px;
    }

    .banner-left {
        width: 260px;
    }
}

@media screen and (max-width: 1024px) {
    #header {
        top: 16px;
        right: 16px;
    }

    #header img {
        max-width: 120px;
    }

    .banner-inner {
        border-bottom-left-radius: 100px;
    }

    .banner-content {
        flex-direction: column-reverse;
        align-items: center;
        padding: 45px 24px 80px;
        gap: 40px;
    }

    .banner-left {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .banner-titulo {
        font-size: 32px;
        text-align: center;
    }

    .banner-subtitulo {
        font-size: 22px;
        text-align: center;
        letter-spacing: 3px;
    }

    .banner-form-wrap {
        width: 100%;
        max-width: 500px;
    }

    .form-card__cord {
        top: -16px;
    }

    .form-card-wrap {
        max-width: 500px;
        margin: 0 auto;
        padding-top: 0;
    }

    #legal {
        padding: 149px 0 130px;
    }
}

@media screen and (max-width: 768px) {
    #header {
        top: 14px;
        right: 14px;
    }

    #header img {
        max-width: 100px;
    }

    .banner-inner {
        border-bottom-left-radius: 60px;
    }

    .banner-titulo {
        font-size: 26px;
        letter-spacing: 0.06em;
    }

    .banner-subtitulo {
        font-size: 18px;
        letter-spacing: 2.5px;
        margin-bottom: 40px;
    }

    .stories-ring {
        width: 120px;
        height: 120px;
    }

    .form-card {
        padding: 40px 32px;
    }

    #legal {
        padding: 30px 0 110px;
    }
}

@media screen and (max-width: 600px) {
    .banner-titulo {
        font-size: 22px;
    }

    .banner-subtitulo {
        font-size: 16px;
        letter-spacing: 2px;
    }
}

@media screen and (max-width: 490px) {
    #header img {
        max-width: 80px;
    }

    .form-card {
        padding: 36px 24px;
    }

    .banner-titulo {
        font-size: 20px;
    }

    .banner-subtitulo {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    .btn-submit {
        font-size: 17px;
    }
}

@media screen and (max-width: 480px) {
    .banner-inner {
        border-bottom-left-radius: 40px;
    }

    .banner-titulo {
        font-size: 18px;
    }

    .banner-subtitulo {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .stories-ring {
        width: 100px;
        height: 100px;
    }

    .stories-play {
        width: 28px;
        height: 28px;
    }

    .form-card {
        padding: 32px 20px;
    }

    .btn-submit {
        font-size: 16px;
    }
}

@media screen and (max-width: 450px) {
    #legal {
        padding: 24px 0 90px;
    }
}

@media screen and (max-width: 400px) {
    .banner-titulo {
        font-size: 17px;
    }

    .banner-subtitulo {
        font-size: 12px;
        letter-spacing: 0.8px;
    }

    .form-card {
        padding: 28px 16px;
    }
}

@media screen and (max-width: 360px) {
    .form-card {
        padding: 24px 14px;
    }

    .formcon label {
        top: 13px;
        font-size: 12px;
    }

    .banner-titulo {
        font-size: 15px;
    }
}