﻿/* 
   Reenergisa Squeeze Page Style - Premium Artistry Edition
*/

:root {
    /* Paleta Oficial Energisa / Reenergisa (Ajuste Claro) */
    --primary: #01A8CB;
    /* Azul Turquesa Claro */
    --primary-dark: #0089A7;
    /* VersÃ£o um pouco mais escura */
    --primary-gradient: linear-gradient(135deg, #01A8CB 0%, #0089A7 100%);

    --secondary: #F37021;
    /* Laranja Energisa */
    --secondary-gradient: linear-gradient(135deg, #F37021 0%, #D95E16 100%);

    --text-main: #2D3748;
    --text-light: #718096;

    --bg-body: #F7FAFC;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.6);

    --container-width: 1400px;
    --shadow-soft: 0 10px 30px rgba(1, 168, 203, 0.15);
    /* Sombra ajustada para turquesa */
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
    /* Fundo ArtÃ­stico Sutil com Cores Energisa + Textura Tech */
    /* background-color removido para nÃ£o duplicar, jÃ¡ herdado */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(1, 168, 203, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(243, 112, 33, 0.03) 0%, transparent 40%),
        linear-gradient(rgba(1, 168, 203, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 168, 203, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    /* Grid de 30px */
}

/* AnimaÃ§Ãµes de Entrada (Motion Design) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Os elementos usarÃ£o a classe .reveal via JS */

/* Header de Impacto - Estilos Mantidos */

/* Inputs Modernos com Wrapper para Ãcones */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    /* Ãcone cinza por padrÃ£o */
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s;
}

/* Quando focar na div pai (ou no input dentro dela), muda a cor do Ã­cone */
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

/* Inputs Modernos */
input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(1, 168, 203, 0.15);
    outline: none;
}

/* Radio Buttons Estilizados (Type Select) */
.type-select {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    background: #F1F5F9;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.radio-label:hover {
    background: #E2E8F0;
    transform: translateY(-2px);
}

/* Ãcones dentro do radio label */
.radio-label i {
    font-size: 1.2rem;
    color: inherit;
}

/* Estado Ativo do Radio (Visual) */
.radio-label input[type="radio"] {
    display: none;
    /* Esconde o radio padrÃ£o */
}

.radio-label:has(input:checked) {
    background: rgba(1, 168, 203, 0.1);
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(1, 168, 203, 0.1);
}

/* Header de Impacto */
.impact-header {
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    padding: 50px 0;
    margin-bottom: 40px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    /* Corte diagonal moderno */
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.2);
}

.impact-header h1 {
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
}

.impact-header .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.impact-header .subtitle strong {
    font-weight: 800;
}

/* Logo do Header Responsivo */
/* Logo Texto (Novo Branding) */
.header-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
    text-decoration: none;
    /* Caso seja link */
}

.header-logo-text:hover {
    transform: translateY(-2px);
}

.brand-conecta {
    font-family: 'Mulish', 'Trebuchet MS', sans-serif;
    font-weight: 700;
    color: #4A5568;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.brand-reenergisa {
    font-family: 'Mulish', 'Trebuchet MS', sans-serif;
    font-weight: 800;
    /* Bold */
    color: #009BBE;
    /* Brand Cyan (Page 31) */
    font-size: 1.8rem;
    /* Slightly larger */
    letter-spacing: -0.5px;
    text-transform: lowercase;
    /* Enforce brand rule */
}

/* Footer Logo */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
    cursor: pointer;
}

/* CorreÃ§Ã£o de Container e Alinhamento */


/* Banner Full Width (Estilo Moldura Premium) */
.banner-full-width {
    width: 100%;
    max-width: var(--container-width);
    /* Alinha com o conteÃºdo */
    margin: 0 auto 50px;
    /* Centraliza na tela */
    background: var(--white);
    padding: 10px;
    /* Moldura branca */
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 75, 141, 0.15);
    /* Sombra azulada profunda */
}

.banner-full-width img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Arredonda a imagem dentro da moldura */
}

/* Corpo Principal */
.main-content {
    padding: 0 0 80px;
    /* Remove padding top pois banner encosta no header se quiser, ou ajustar */
}

/* Layout Grid Main */
/* Inputs Modernos - CorreÃ§Ã£o Definitiva de Padding */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    /* Garante espaÃ§o para o Ã­cone (esq) e conforto (dir) */
    padding: 14px 16px 14px 50px !important;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #F8FAFC;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

/* CorreÃ§Ã£o container e grid */
.container {
    max-width: var(--container-width);
    /* 1400px */
    width: 100%;
    /* Garante que ocupe o espaÃ§o */
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout Grid Main (Refatorado com Grid Areas) */
.grid-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    grid-template-areas: "benefits form";
    /* Desktop: Lado a Lado */
    gap: 60px;
    align-items: start;
    margin-top: 20px;
    width: 100%;
}

/* Coluna Esquerda: BenefÃ­cios */
.left-col {
    grid-area: benefits;
    /* Nomeia a Ã¡rea */
    padding-top: 10px;
    max-width: 500px;
    margin: 0 auto;
}

/* Coluna Direita: FormulÃ¡rio */
.right-col {
    grid-area: form;
    /* Nomeia a Ã¡rea */
}



.benefit-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.benefit-box .highlight {
    color: var(--secondary);
    /* Laranja */
    background-color: var(--white);
    padding: 2px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(243, 112, 33, 0.2);
    display: inline-block;
    font-weight: 900;
    transform: skewX(-10deg);
    /* Slight dynamic skew */
}

/* Remove underline effect */
.benefit-box .highlight::after {
    display: none;
}

/* Un-skew text inside if needed, but for numbers it looks cool. Keeping it simple. */

.benefit-list {
    list-style: none;
    margin-top: 30px;
}

.benefit-list li {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.logos-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    /* Removida borda para fluxo mais limpo */
    padding-left: 20px;
    /* Alinha com o texto (padding) dos cards de benefÃ­cios */
}

.benefit-list li:hover {
    transform: translateX(5px);
    border-color: rgba(0, 174, 239, 0.2);
}

.benefit-list li i {
    color: var(--white);
    background: var(--secondary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;

    box-shadow: 0 2px 5px rgba(247, 148, 29, 0.3);
}

/* Parceiros (Carrossel Infinito) */
.partners-carousel {
    margin-top: 41px;
    padding-left: 20px;
    opacity: 0.9;
}

.partners-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* MÃ¡scara de gradiente nas pontas para suavizar entrada/saÃ­da */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLogos 20s linear infinite;
}

.carousel-logo {
    height: 80px;
    padding: 0 15px;
    /* EspaÃ§o lateral */
    /* background: rgba(255, 255, 255, 0.6);  <-- Opcional: pode remover fundo se o logo jÃ¡ tiver fundo transparente */
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

/* Suporte para Imagens de Logo */
.carousel-logo img {
    height: 80%;
    /* Ocupa 70% da altura da caixa para dar respiro */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    /* Preto e branco e discreto */
    transition: all 0.3s ease;
}

.carousel-logo:hover,
.carousel-logo.active {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(1, 168, 203, 0.1);
}

.carousel-logo:hover img,
.carousel-logo.active img {
    filter: grayscale(0%) opacity(1);
    /* Cor original ao passar mouse ou no centro */
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move metade (jÃ¡ que duplicamos) */
}

/* Coluna Direita (FormulÃ¡rio ArtÃ­stico) */
.form-box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--white);
    position: relative;
}

.form-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 20px 30px;
    text-align: center;
    position: relative;
}

.form-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--primary-dark) transparent transparent;
}

.form-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-box form {
    padding: 35px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

/* Inputs Modernos */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #F8FAFC;
    color: var(--text-main);
    transition: all 0.3s ease;
    font-weight: 500;
}

input:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.1);
    outline: none;
}

input::placeholder {
    color: #A0AEC0;
    font-weight: 400;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #4A5568;
}

/* Radio Buttons Estilizados */
.type-select {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    background: #F1F5F9;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.logo-img {
    height: auto;
    max-height: 80px;
    /* Altura aumentada para melhor leitura */
    max-width: 200px;
}

.radio-label:hover {
    background: #E2E8F0;
}

/* Estado Ativo do Radio (Visual) */
.radio-label input:checked+span {
    color: var(--primary-dark);
}

.radio-label:has(input:checked) {
    background: rgba(0, 174, 239, 0.05);
    border-color: var(--primary);
    background: rgba(1, 168, 203, 0.1);
    border-color: var(--primary);
    color: var(--primary-dark);
    box-shadow: 0 4px 10px rgba(1, 168, 203, 0.1);
}

/* Neon Background Decorativo (Otimizado) */
.neon-bg-container {
    position: fixed;
    /* Mudar para Fixed melhora performance no scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.6;
    transform: translateZ(0);
    /* ForÃ§a GPU */
}

/* Upload de Arquivos Customizado */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #F8FAFC;
    border: 2px dashed #CBD5E0;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
    font-weight: 500;
}

.file-label:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(1, 168, 203, 0.1);
}

.file-label i {
    font-size: 1.5rem;
}

.file-label input[type="file"] {
    display: none;
    /* Esconde o input nativo feio */
}

.file-name {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #A0AEC0;
    text-align: center;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.neon-bg-container svg {
    width: 100%;
    height: 100%;
}

.neon-path {
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    fill: none;
    /* Filtro reduzido para melhor performance */
    filter: drop-shadow(0 0 8px rgba(1, 168, 203, 0.5)) drop-shadow(0 0 20px rgba(1, 168, 203, 0.3));
    animation: pulseNeon 3s ease-in-out infinite alternate;
    will-change: opacity;
    /* Avisa o navegador para otimizar */
}

@keyframes pulseNeon {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 0.8;
    }
}

/* BotÃµes de AÃ§Ã£o */
.form-actions {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.btn-action {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-orange {
    background: var(--secondary-gradient);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(247, 148, 29, 0.25);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(247, 148, 29, 0.35);
    filter: brightness(1.05);
}

.btn-orange-outline {
    background: #fff;
    color: #25D366;
    border: 2px solid #25D366;
}

.btn-orange-outline:hover {
    background: #25D366;
    color: #fff;
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* 
   Staggered Header Layout (New Request) 
   Title Left / Logo Right - Mulish Font
*/

.impact-header {
    background: var(--primary-gradient) !important;
    /* Revert to Blue Gradient */
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.2);
}


.staggered-header-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.impact-header .staggered-title {
    font-family: 'Mulish', 'Trebuchet MS', sans-serif !important;
    font-weight: 800;
    text-transform: none !important;
    line-height: 1.1;
    color: var(--white) !important;
    /* White Text */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Restore shadow for readability on blue */

    /* Mobile Default */
    text-align: center;
    align-self: center;
    margin-bottom: 5px;
    font-size: 2.5rem;
    letter-spacing: -1.5px;
}

.staggered-logo-wrapper {
    /* Mobile Default */
    align-self: center;
}

/* Update Brand Conecta to match */
.brand-conecta {
    font-family: 'Mulish', 'Trebuchet MS', sans-serif !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    /* White Text */
    text-transform: capitalize !important;
    font-size: 1.8rem;
    letter-spacing: -0.5px !important;
    /* Relax tracking slightly for Conecta */
}

/* Ensure reenergisa stays same (lowercase, white) */
.brand-reenergisa {
    font-family: 'Mulish', 'Trebuchet MS', sans-serif !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    /* White Text */
    font-size: 1.8rem;
    letter-spacing: -1px !important;
    text-transform: lowercase !important;
}

/* Tablet & Desktop Staggering */
@media (min-width: 768px) {
    .staggered-header-container {
        max-width: var(--container-width);
        /* Match banner max-width */
        margin: 0 auto;
        padding: 0 10px;
        /* Match banner padding roughly if it has any */
    }

    .impact-header .staggered-title {
        text-align: right;
        align-self: center;
        margin-right: 35%;
        /* Aumentado um pouco mais */
        margin-left: 0;
        max-width: 100%;
        font-size: 3.5rem;
    }

    .impact-header .staggered-title.bottom-line {
        text-align: left;
        align-self: center;
        margin-left: 35%;
        /* Aumentado um pouco mais */
        margin-right: 0;
        margin-top: -10px;
    }
}

/* Footer Simplificado */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
    font-size: 0.85rem;
    border-top: 1px solid #E2E8F0;
}

/* Responsividade */
@media (max-width: 768px) {
    .banner-full-width img {
        max-height: none;
        /* Permitir altura total no mobile para nÃ£o cortar o Storie */
    }

    .impact-header {
        padding: 30px 0;
    }

    .header-logo-text {
        padding: 5px 15px;
        font-size: 0.9rem;
        /* Adjust for mobile */
    }

    .brand-conecta,
    .brand-reenergisa {
        font-size: 0.9rem;
        /* Adjust for mobile */
    }

    .impact-header .staggered-title {
        font-size: 2rem;
    }

    .footer-logo {
        margin-bottom: 10px;
    }

    .footer-logo-text {
        padding: 3px 10px;
        font-size: 0.8rem;
        /* Adjust for mobile */
    }

    /* Layout Mobile Simplificado (Flexbox) */
    .grid-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        margin-top: 0;
    }

    .left-col {
        order: 1;
        /* BenefÃ­cios Primeiro */
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .right-col {
        order: 2;
        /* Form Depois */
        width: 100%;
    }

    .benefit-list li {
        justify-content: center;
        font-size: 1.1rem;
    }

    .logos-area {
        justify-content: center;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .form-box form {
        padding: 25px 20px;
    }
}

/* Form Row (Side by Side) */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 480px) {

    /* Manter Estado e Cidade lado a lado no mobile */
    .form-row {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 10px;
    }
}

/* 
   Fake Page (Termos)
   Looks like a real page but lives inside index.html
*/
.terms-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    /* Topo absoluto */
    overflow-y: auto;
    /* Scroll prÃ³prio */
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* Animação de Saída */
.terms-page-overlay.closing {
    animation: slideOutRight 0.4s ease-in forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.terms-header {
    background: var(--primary-gradient);
    padding: 30px 0;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.terms-header h1 {
    font-family: 'Mulish', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    margin: 0;
}

.terms-container {
    min-height: 100vh;
    background: #fff;
}

.container-legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    /* Padding bottom extra */
}

.legal-content h4 {
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Mulish', sans-serif;
    text-transform: uppercase;
    border-left: 4px solid var(--secondary);
    padding-left: 10px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    background: #F8FAFC;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.legal-content li {
    margin-bottom: 10px;
    color: #4A5568;
}

/* Animations */
@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}