/* =========================FONTES========================= */
/* Importar Montserrat do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'NeuePlakBold';
    src: url('../fonts/Neue Plak Text Black.ttf') format('truetype');
}

@font-face {
    font-family: 'NeuePlakRegular';
    src: url('../fonts/Neue Plak Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'NeuePlakCondensedEB';
    src: url('../fonts/Neue Plak Condensed ExtraBlack.ttf') format('truetype');
}

@font-face {
    font-family: 'NeuePlakLight';
    src: url('../fonts/Neue Plak Text Light.ttf') format('truetype');
}

@font-face {
    font-family: 'NeuePlakSemiBold';
    src: url('../fonts/Neue Plak Text SemiBold.ttf') format('truetype');
}

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

/* =========================VARIÁVEIS========================= */
:root {
    --bg-gradient-dark: linear-gradient(180deg, #0d2d3f, #021929);
    --orange-btn: #ff7b00;
    --orange-strong: #f0b719;
    --blue-btn: #0c2d3f;
    --text-light: #ffffff;
    --text-muted: #cfd8dc;
    --bg-form: #f2f2f2;
}

/* =========================BODY========================= */
body {
    font-family: 'NeuePlakRegular', sans-serif;
    background: #ffffff;
    padding-top: 70px;
}

/* =========================MENU========================= */
.menu {
    width: 100vw;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.menu.menu-hidden {
    transform: translateY(-100%);
}

.menu-corpo {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-corpo-item1 {
    width: 15%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.menu-corpo-item1 img {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.menu-corpo-item2 {
    width: 52%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.menu-corpo-item2-comum {
    width: 30%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-corpo-item2-comum a {
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    cursor: pointer;
    transition: color 0.5s;
    text-align: center;
}

.menu-corpo-item2-comum p {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: clamp(0.656rem, 1.125vw, 0.844rem);
    color: #203141;
    margin: 0;
    user-select: none;
    transition: color 0.5s;
}

.menu-corpo-item2-comum a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff7900;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s, background-color 0.5s;
}

.menu-corpo-item2-comum a:hover::after,
.menu-corpo-item2-comum a:active::after,
.menu-corpo-item2-comum a:focus::after {
    transform-origin: left;
    transform: scaleX(1);
}

.menu-corpo-item2-especial {
    width: 30%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botao-portal {
    background-color: #203141;
    color: #ffffff;
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: clamp(0.656rem, 1.125vw, 0.844rem);
    text-decoration: none;
    padding: 0.563rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    text-align: center;
}

.botao-portal:hover {
    background-color: #11202d;
}

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #203141;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =========================SECTION========================= */
.hero {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 0 20px;
    align-items: stretch;
}

/* =========================CARD LEFT========================= */
.card-left {
    background: var(--bg-gradient-dark);
    border-radius: 24px;
    padding: 48px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-left h1 {
    font-family: 'NeuePlakBold';
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 32px;
    margin-top: 48px;
}

.card-left h1 strong {
    color: var(--orange-strong);
}

.margin {
    margin-top: 30px;
    margin-bottom: 100px;
}

.card-left p {
    color: var(--text-muted);
    max-width: 420px;
}

/* ÍCONES */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
}

.feature img {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    object-fit: contain;
}

.feature span {
    font-family: 'NeuePlakRegular', sans-serif;
    color: var(--text-light);
    line-height: 1.4;
}

/* BOTÃO */
.btn-orange {
    background: linear-gradient(90deg, #ff7b00, #ff9a1f);
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 40px;
    font-family: 'NeuePlakBold';
    cursor: pointer;
    width: fit-content;
}

/* =========================CARD RIGHT========================= */
.card-right {
    background: var(--bg-form);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-right form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.form-fields {
    flex-grow: 1;
}

.card-right h2 {
    font-family: 'NeuePlakBold';
    font-size: 28px;
    margin-bottom: 32px;
    margin-top: 48px;
    color: #0c2d3f;
}

/* FORM */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'NeuePlakRegular';
}

.btn-blue {
    margin-top: auto;
    background: var(--blue-btn);
    color: #fff;
    border: none;
    padding: 16px 48px;
    border-radius: 40px;
    font-family: 'NeuePlakBold';
    cursor: pointer;
    display: block;
    width: fit-content;
}

.disclaimer-form {
    color: #555;
    font-size: 12px;
    text-align: start;
    margin-top: 16px;
    margin-left: 16px;
    letter-spacing: 0.5px;
}

/* =========================SECTION PROCESS========================= */
.process {
    background: #eff5ff;
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* TITULO */
.process-title {
    font-family: 'NeuePlakBold';
    font-size: 32px;
    color: #0c2d3f;
    margin-bottom: 24px;
    line-height: 1.3;
}

/* BOTÃO */
.btn-cta {
    background: #ff7b00;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 40px;
    font-family: 'NeuePlakBold';
    cursor: pointer;
    margin-bottom: 60px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD INDIVIDUAL */
.card {
    background: #0d2d3f;
    padding: 40px 30px;
    border-radius: 24px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h3 {
    font-family: 'NeuePlakBold';
    font-size: 20px;
    margin-bottom: 24px;
}

.card img {
    width: 110px;
    margin-bottom: 24px;
}

.highlight {
    color: #ff7b00;
    font-family: 'NeuePlakBold';
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    font-family: 'NeuePlakRegular';
    font-size: 15px;
    line-height: 1.5;
    color: #d0e3f0;
}

/* LEGAL */
.legal {
    display: block;
    margin-top: 40px;
    font-size: 12px;
    color: #6c7a89;
}

/* =========================SECTION REGIONAL========================= */
.regional {
    position: relative;
    background: #eff5ff;
    padding: 100px 20px;
    text-align: center;
    overflow: visible;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regional-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* TITULO */
.regional-title {
    font-family: 'NeuePlakBold';
    font-size: 34px;
    color: #ff7a00;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* SUBTITULO */
.regional-subtitle {
    font-family: 'NeuePlakRegular';
    font-size: 27px;
    color: #0c2d3f;
    margin-bottom: 40px;
}

/* BENEFÍCIOS */
.regional-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.benefit {
    font-family: 'NeuePlakRegular';
    font-size: 24px;
    color: #0c2d3f;
    position: relative;
    padding-left: 36px;
}

/* CHECK LARANJA */
.benefit::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #ff7a00;
    font-weight: bold;
    font-size: 24px;
}

/* =========================SECTION PLANS========================= */
.plans {
    padding: 100px 20px;
    background: #eff5ff;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.duvidas {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding: 48px 20px;
    background-color: #eff5ff;
}
.duvidas h2 {
    font-size: 28px;
    text-align: center;
    color: #0c2d3f;
    margin-bottom: 32px;
}
.duvidas-lista {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.duvidas-item {
    border-bottom: 1px solid #ff7900;
    list-style: none;
}
.duvidas-pergunta {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 16px;
    color: #0c2d3f;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.duvidas-pergunta::-webkit-details-marker {
    display: none;
}
.duvidas-pergunta::marker {
    display: none;
}
.duvidas-icone {
    color: #ff7b00;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.duvidas-item[open] .duvidas-icone {
    transform: rotate(180deg);
}
.duvidas-resposta {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
    color: #203141;
    line-height: 1.5;
    padding-bottom: 20px;
    padding-right: 32px;
}
.bloco {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, #0d2d3f, #021929);
    border-radius: 40px;
    padding: 56px 48px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    width: 1200px;
}

.bloco h1 {
    color: white;
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
}

.bloco p {
    color: #cfd8dc;
    font-size: 16px;
    margin-bottom: 24px;
}

.bloco button {
    background:#ff7b00;
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(255, 123, 0, 0.35);
}

.bloco span {
    display: block;
    color: #9ea8ad;
    font-size: 11px;
    margin-top: 16px;
}
/* CARD BASE */
.plan-card {
    background: #f2f2f2;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid #d9e3ea;
    transition: 0.3s ease;
}

.plan-card h3 {
    font-family: 'NeuePlakBold';
    font-size: 20px;
    color: #0c2d3f;
    margin-bottom: 30px;
}

/* PORCENTAGEM */
.plan-percentage {
    font-family: 'NeuePlakCondensedEB';
    font-size: 143px;
    line-height: 1;
    color: #0c2d3f;
    margin-bottom: 10px;
}

/* TEXTO DESCONTO */
.plan-discount {
    font-family: 'NeuePlakBold';
    font-size: 18px;
    color: #0c2d3f;
    margin-bottom: 5px;
}

.plan-info {
    font-family: 'NeuePlakRegular';
    color: #6c7a89;
    margin-bottom: 30px;
}

/* BOTÃO PADRÃO */
.plan-btn {
    background: #ff7a00;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'NeuePlakBold';
    cursor: pointer;
}

/* ELITE */
.plan-card.elite {
    background: #ff7a00;
    color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.plan-card.elite h3,
.plan-card.elite .plan-discount {
    color: #0c2d3f;
}

.plan-card.elite .plan-percentage {
    color: #0c2d3f;
}

.plan-card.elite .plan-info {
    color: #ffffff;
}

.elite-btn {
    background: #0c2d3f;
    color: #fff;
}

/* BADGE */
.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #0c2d3f;
    color: #fff;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: 'NeuePlakBold';
}


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

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .menu-corpo {
        width: 90%;
    }

    .hero {
        max-width: 90%;
        margin: 40px auto;
        gap: 24px;
    }

    .card-left h1 {
        font-size: 24px;
        margin-top: 32px;
    }

    .card-right h2 {
        font-size: 24px;
        margin-top: 32px;
    }

    .process-title {
        font-size: 28px;
    }

    .regional-title {
        font-size: 30px;
    }

    .regional-subtitle {
        font-size: 22px;
    }

    .bloco {
        width: 100%;
        padding: 48px 32px;
    }

    .bloco h1 {
        font-size: 24px;
    }
}

/* Mobile e Tablet pequeno (até 768px) */
@media (max-width: 768px) {
    /* Menu Mobile */
    .menu {
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    .menu-corpo {
        width: 90%;
    }

    .menu-corpo-item1 {
        width: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-corpo-item2 {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 60px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .menu-corpo-item2.active {
        right: 0;
    }

    .menu-corpo-item2-comum,
    .menu-corpo-item2-especial {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .menu-corpo-item2-comum a {
        width: 100%;
        text-align: left;
    }

    .menu-corpo-item2-comum p {
        font-size: 16px;
    }

    .botao-portal {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    /* Hero Section */
    .hero {
        grid-template-columns: 1fr;
        margin: 30px auto;
        gap: 20px;
    }

    .card-left,
    .card-right {
        padding: 32px 24px;
    }

    .card-left h1 {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .card-right h2 {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 24px;
    }

    .margin {
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 32px;
    }

    .feature img {
        width: 56px;
        height: 56px;
    }

    .feature span {
        font-size: 11px;
    }

    .btn-orange,
    .btn-blue {
        width: 100%;
        padding: 14px 24px;
        font-size: 14px;
    }

    /* Process Section */
    .process {
        padding: 60px 20px;
    }

    .process-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .btn-cta {
        padding: 12px 32px;
        margin-bottom: 40px;
        font-size: 14px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .card {
        padding: 32px 20px;
        max-width: 400px;
        width: 100%;
    }

    .card h3 {
        font-size: 18px;
    }

    .card img {
        width: 90px;
    }

    .highlight {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }

    /* Regional Section */
    .regional {
        padding: 60px 20px;
        min-height: 500px;
    }

    .regional-title {
        font-size: 24px;
    }

    .regional-subtitle {
        font-size: 18px;
    }

    .regional-benefits {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-left: 20px;
    }

    .benefit {
        font-size: 18px;
    }

    /* Plans Section */
    .plans {
        padding: 60px 20px;
    }

    .plans-container {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .plan-card {
        padding: 40px 24px;
        max-width: 400px;
        width: 100%;
    }

    .plan-percentage {
        font-size: 100px;
    }

    .plan-discount {
        font-size: 16px;
    }

    .plan-info {
        font-size: 14px;
    }

    /* FAQ */
    .duvidas {
        padding: 40px 20px;
    }

    .duvidas h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .duvidas-pergunta {
        font-size: 14px;
        padding: 16px 0;
    }

    .duvidas-resposta {
        font-size: 13px;
    }

    /* CTA Final */
    .bloco {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .bloco h1 {
        font-size: 20px;
    }

    .bloco p {
        font-size: 14px;
    }

    .bloco button {
        padding: 14px 32px;
        font-size: 13px;
    }

    /* Footer */
    .footer-energia {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo {
        width: 180px;
    }

    .footer-address {
        font-size: 14px;
    }

    .footer-divider {
        width: 100%;
    }

    .footer-legal {
        font-size: 11px;
    }

    .footer-right {
        text-align: left;
        margin-top: 0;
    }

    .footer-instagram {
        font-size: 13px;
    }

    .footer-button {
        padding: 10px 16px;
        font-size: 11px;
    }

    .footer-bg-logo {
        width: 350px;
        transform: translate(-50%, -50%);
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .menu-corpo-item2 {
        width: 80%;
    }

    .card-left h1 {
        font-size: 20px;
    }

    .card-right h2 {
        font-size: 20px;
    }

    .card-left,
    .card-right {
        padding: 24px 20px;
    }

    .features {
        gap: 12px;
    }

    .feature img {
        width: 48px;
        height: 48px;
    }

    .feature span {
        font-size: 10px;
    }

    .process-title {
        font-size: 20px;
    }

    .regional-title {
        font-size: 20px;
    }

    .regional-subtitle {
        font-size: 16px;
    }

    .benefit {
        font-size: 16px;
    }

    .plan-percentage {
        font-size: 80px;
    }

    .bloco h1 {
        font-size: 18px;
    }

    .footer-bg-logo {
        width: 280px;
    }
}

/* =========================FOOTER========================= */
.footer-energia {
    position: relative;
    background: #1f3141;
    color: #ffffff;
    padding: 60px 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Container principal */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
}

/* Logo principal */
.footer-logo {
    width: 220px;
    margin-bottom: 20px;
}

/* Endereço */
.footer-address {
    font-family: "NeuePlakRegular";
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Linha divisória */
.footer-divider {
    width: 420px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

/* Texto legal */
.footer-legal {
    font-family: "Neue Plak Text Light", "NeuePlakRegular", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.7;
    max-width: 600px;
}

/* Lado direito */
.footer-right {
    text-align: right;
    margin-top: 40px;
}

/* Instagram */
.footer-instagram {
    font-family: "NeuePlakRegular";
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Botão */
.footer-button {
    background: #132733;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: "NeuePlakRegular";
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: default;
}

/* Logo de fundo centralizada */
.footer-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 250px), -50%);
    width: 700px;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

/* Responsivo Footer */
@media (max-width: 900px) {
    .footer-energia {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-divider {
        width: 100%;
    }

    .footer-right {
        text-align: left;
        margin-top: 0;
    }

    .footer-bg-logo {
        width: 400px;
    }
}


/* =========================MODAL========================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-title {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 28px;
    color: #0c2d3f;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-valor-principal {
    color: #ff7b00;
    margin-bottom: 16px;
}

.modal-valor-principal p {
    margin: 0;
    line-height: 1.3;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.modal-prefixo,
.modal-sufixo {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 40px;
    white-space: nowrap;
}

.modal-numero {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 58px;
    white-space: nowrap;
}

.modal-valores-secundarios {
    color: #0c2d3f;
    margin-bottom: 24px;
    line-height: 1.8;
}

.modal-valores-secundarios p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.modal-prefixo-sec,
.modal-sufixo-sec {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 18px;
    white-space: nowrap;
}

.modal-numero-sec {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 22px;
    white-space: nowrap;
}

.modal-texto {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.5;
}

.modal-btn {
    background: linear-gradient(90deg, #ff7b00, #ff9a1f);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 40px;
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3);
}

.modal-btn:active {
    transform: translateY(0);
}

/* Responsivo Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 24px;
        max-width: 90%;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .modal-prefixo,
    .modal-sufixo {
        font-size: 24px;
    }

    .modal-numero {
        font-size: 36px;
    }

    .modal-prefixo-sec,
    .modal-sufixo-sec {
        font-size: 13px;
    }

    .modal-numero-sec {
        font-size: 16px;
    }

    .modal-texto {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .modal-btn {
        padding: 14px 32px;
        font-size: 13px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 32px 20px;
    }

    .modal-title {
        font-size: 16px;
    }

    .modal-prefixo,
    .modal-sufixo {
        font-size: 20px;
    }

    .modal-numero {
        font-size: 30px;
    }

    .modal-prefixo-sec,
    .modal-sufixo-sec {
        font-size: 11px;
    }

    .modal-numero-sec {
        font-size: 14px;
    }

    .modal-valores-secundarios {
        font-size: 14px;
    }
}


/* =========================SEÇÃO DE DADOS PARA CONTRATO========================= */
.contract-data-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.contract-data-wrapper {
    width: 100%;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    min-height: 600px;
}

/* LADO ESQUERDO */
.contract-sidebar {
    width: 320px;
    background: linear-gradient(180deg, #2f3e50, #1f2c3a);
    color: #fff;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contract-sidebar h1 {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.contract-sidebar p {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.security-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-box div {
    font-size: 24px;
}

.security-box span {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.4;
}

.security-box strong {
    font-family: 'NeuePlakBold', sans-serif;
}

/* LADO DIREITO - FORMULÁRIO */
.contract-form-area {
    flex: 1;
    padding: 40px 50px;
    overflow-y: auto;
    background: #ffffff;
}

.contract-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.contract-full {
    grid-column: span 2;
}

.contract-form-area label {
    font-family: 'NeuePlakSemiBold', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contract-form-area input,
.contract-form-area select {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 14px;
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
    color: #374151;
    outline: none;
    transition: all 0.2s ease;
}

.contract-form-area input:focus,
.contract-form-area select:focus {
    border-color: #334155;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(51, 65, 85, 0.08);
}

.contract-form-area input::placeholder {
    color: #9ca3af;
}

.contract-form-area select option {
    background: #ffffff;
    color: #374151;
}

.contract-section-title {
    margin: 26px 0 10px;
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contract-checkbox-group {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contract-checkbox-group label {
    font-family: 'NeuePlakRegular', sans-serif;
    text-transform: none;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    cursor: pointer;
}

.contract-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contract-actions {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contract-btn {
    height: 46px;
    padding: 0 26px;
    border-radius: 999px;
    border: none;
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.contract-btn-back {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.contract-btn-back:hover {
    background: #f3f4f6;
}

.contract-btn-primary {
    background: linear-gradient(90deg, #2f3e50, #1f2c3a);
    color: #fff;
    min-width: 260px;
    box-shadow: 0 6px 18px rgba(31, 44, 58, 0.25);
}

.contract-btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

/* Responsivo para dados do contrato */
@media (max-width: 1024px) {
    .contract-data-wrapper {
        flex-direction: column;
    }

    .contract-sidebar {
        width: 100%;
        padding: 30px 24px;
    }

    .contract-form-area {
        padding: 30px 24px;
    }

    .contract-form-grid {
        grid-template-columns: 1fr;
    }

    .contract-full {
        grid-column: span 1;
    }

    .contract-actions {
        flex-direction: column;
        gap: 12px;
    }

    .contract-btn-primary,
    .contract-btn-back {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contract-data-section {
        margin: 40px auto;
        padding: 0 10px;
    }

    .contract-data-wrapper {
        border-radius: 12px;
    }

    .contract-sidebar h1 {
        font-size: 24px;
    }

    .contract-form-area {
        padding: 24px 20px;
    }
}

/* =========================SEÇÃO DE CONTRATO========================= */
.contract-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Estilos para visualização do contrato */
.contract-view-header {
    margin-bottom: 30px;
}

.contract-view-header h2 {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 24px;
    color: #374151;
    margin-bottom: 8px;
    margin-top: 16px;
}

.contract-view-subtitle {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
    color: #6b7280;
}

.contract-view-info-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}

.contract-view-info-box h3 {
    font-family: 'NeuePlakBold', sans-serif;
    font-size: 16px;
    color: #374151;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contract-view-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contract-view-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contract-view-label {
    font-family: 'NeuePlakSemiBold', sans-serif;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.contract-view-value {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.contract-widget-wrapper {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 800px;
    height: 80vh; /* 80% da altura da viewport */
}

.clicksign-container {
    width: 100%;
    min-height: 800px;
    height: 100%;
}

/* Forçar iframe do Clicksign a ocupar 100% */
.clicksign-container iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 800px;
}

.loading-contract {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 10;
}

.loading-contract.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #2f3e50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-contract p {
    margin-top: 20px;
    color: #6b7280;
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 14px;
}

.contract-view-disclaimer {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 10px;
}

.contract-view-disclaimer p {
    font-family: 'NeuePlakRegular', sans-serif;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsivo para visualização do contrato */
@media (max-width: 768px) {
    .contract-section {
        margin: 40px auto;
        padding: 0 10px;
    }

    .contract-view-header h2 {
        font-size: 20px;
    }

    .contract-view-details {
        grid-template-columns: 1fr;
    }

    .contract-widget-wrapper {
        min-height: 600px;
        height: 70vh; /* 70% da altura da viewport no mobile */
    }

    .clicksign-container {
        min-height: 600px;
        height: 100%;
    }
    
    /* Forçar iframe do Clicksign a ocupar 100% no mobile */
    .clicksign-container iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 600px;
    }
}
