:root {
    /* Paleta de cores refinada */
    --bg-dark: #0a0a10;
    --bg-card: #12121a;
    --bg-card-hover: #171724;
    --text: #f0f0f5;
    --muted: #9e9eb5;
    --brand-1: #0052cc;
    --brand-2: #0cb0f0;
    --brand-3: #ff9500;
    --text-dark: #1f2937;
    --text-light: #f9fafb;
    --bg-light: #f3f4f6;
    --success: #39E000;
    --danger: #ff4d4f;
    --shadow: 0 10px 30px rgba(0, 0, 0, .5);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, .3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #2a2a3a;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-1);
}

/* Efeito de gradiente refinado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(800px 400px at 85% -5%, rgba(0, 153, 255, 0.25), transparent 60%),
        radial-gradient(700px 350px at 5% 15%, rgba(0, 162, 255, 0.15), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER ESTILIZADO */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(12px);
    background: rgba(11, 11, 18, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 15px 0;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header__img {
    width: 160px;
    height: auto;
    transition: var(--transition);
}

.header__img:hover {
    opacity: 0.9;
}

.header__nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.header__ul {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.header__li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__li a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.header__li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--brand-1), var(--brand-2));
    transition: var(--transition);
}

.header__li a:hover {
    color: #fff;
}

.header__li a:hover::after {
    width: 100%;
}

.header__hamburger {
    display: none;
    background: none;
    color: #fff;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.header__hamburger:hover {
    background: rgba(255, 255, 255, .1);
}

.header__cta {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  
}

.btn.primary {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    box-shadow: var(--shadow-light);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(12, 176, 240, 0.3);
}

.btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, .08);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ===== AJUSTE FINAL: MOSTRAR BURGUER CORRETO NO MOBILE ===== */
@media (max-width: 768px) {
    /* Esconde o menu desktop */
    .header__nav {
        display: none;
    }

    /* Mostra o hamburguer do header */
    .header__hamburger {
        display: block;
    }
}

/* Offcanvas Mobile Styles */
.offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.offcanvas.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.off-body {
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(135deg, #12121a, #0a0a10);
    padding: 25px 20px;
    border-right: 1px solid rgba(12, 176, 240, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: contain;
}

#closeOff {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

#closeOff:hover {
    background: rgba(12, 176, 240, 0.2);
    border-color: #0cb0f0;
    color: #0cb0f0;
    transform: rotate(90deg);
}

#closeOff i {
    font-size: 20px;
}

.off-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}



.off-links a {
    color: #f0f0f5;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.off-links a i {
    width: 20px;
    height: 20px;
    color: #0cb0f0;
}

.off-links a:hover {
    background: rgba(12, 176, 240, 0.1);
    border-color: rgba(12, 176, 240, 0.2);
    transform: translateX(10px);
    color: #0cb0f0;
}

.off-links a.active {
    background: linear-gradient(90deg, rgba(12, 176, 240, 0.2), transparent);
    border-left: 3px solid #0cb0f0;
    color: #0cb0f0;
}

/* Botão Hamburguer */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
    position: relative;
}

.hamburger-btn i {
    width: 28px;
    height: 28px;
    color: #f0f0f5;
    transition: color 0.3s ease;
}

.hamburger-btn:hover i {
    color: #0cb0f0;
}

/* Responsivo */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
    
    .off-body {
        width: 85%;
    }
}


/* MENU DE LOGIN */
.login-container {
    position: relative;
    display: inline-block;
}

.login-select {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 180px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 1000;
}

.login-select.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
}

.login-option:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--brand-2);
}

.login-option i {
    width: 16px;
    text-align: center;
    color: var(--brand-2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SEÇÃO PRINCIPAL DOS PLANOS */
.planos-main {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.planos-header {
    text-align: center;
    margin-bottom: 60px;
}

.planos-logo {
    height: 80px;
    margin-bottom: 20px;
}

.planos-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.planos-subtitle {
    color: var(--muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* CONTAINER DOS CARDS DOS PLANOS */
.planos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* CARD DO PLANO */
.plano-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.plano-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-2);
    box-shadow: var(--shadow);
}

.plano-card.destaque {
    border: 2px solid var(--brand-2);
    position: relative;
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(12, 176, 240, 0.15), rgba(0, 82, 204, 0.08));
}

.plano-card.destaque:hover {
    transform: translateY(-10px) scale(1.05);
}

.plano-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* TÍTULO DO PLANO */
.plano-titulo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

/* PREÇO DO PLANO */
.plano-preco {
    margin: 20px 0;
}

.plano-preco .valor {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    display: block;
}

.plano-preco .periodo {
    color: var(--muted);
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* DESCRIÇÃO DO PLANO */
.plano-desc {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
    min-height: 40px;
}

/* LISTA DE BENEFÍCIOS */
.plano-lista {
    list-style: none;
    margin: 25px 0;
    text-align: left;
    flex-grow: 1;
    padding: 0;
}

.plano-lista li {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plano-lista li i {
    color: var(--brand-2);
    margin-top: 2px;
    flex-shrink: 0;
}

/* BOTÃO DO PLANO */
.btn-plano {
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
}

.btn-plano:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 176, 240, 0.3);
}

.btn-plano:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* BADGES */
.badge-gratuito,
.badge-popular,
.badge-premium {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gratuito {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
}

.badge-popular {
    background: var(--brand-1);
    color: #fff;
}

.badge-premium {
    background: var(--brand-3);
    color: #fff;
}

/* FOOTER DA SEÇÃO DE PLANOS */
.planos-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.text-muted {
    color: var(--muted) !important;
    font-size: 14px;
    margin-bottom: 5px;
}

/* ALERTAS */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    text-align: center;
}

/* .alert-danger {
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
    border: 1px solid rgba(255, 77, 79, 0.2);
} */

/* FOOTER DO SITE */
.footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 60px 0 40px;
    color: var(--muted);
    background: var(--bg-card);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
    .planos-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plano-card.destaque {
        transform: scale(1);
    }
    
    .plano-card.destaque:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 991px) {
    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: block;
    }

    .header__cta .btn:not(.primary) {
        display: none;
    }
}

@media (max-width: 768px) {
    .planos-main {
        padding: 60px 0;
    }
    
    .planos-title {
        font-size: 28px;
    }
    
    .planos-subtitle {
        font-size: 16px;
    }
    
    .planos-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .header__cta .btn.primary {
        display: none;
    }
    
    .header__content {
        padding: 0 15px;
    }
}

@media (max-width: 575px) {
    .header__img {
        width: 130px;
    }
    
    .plano-card {
        padding: 25px 20px;
    }
    
    .plano-preco .valor {
        font-size: 30px;
    }
    
    .plano-titulo {
        font-size: 22px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}