* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}
/* ============================================
   VARIÁVEIS E RESET
   ============================================ */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-dark: #1f2937;
    
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s ease;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;

}
/*Avisos creditos painel.php*/
.creditos-alerta {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    margin-top: 0.75rem;
}

.creditos-alerta.erro {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 50px;
    width: auto;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/*Login*/
.input-password {
    position: relative;
    width: 100%;
}

.input-password input {
    width: 100%;
    padding: 12px 45px 12px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: 0.2s ease;
}

.input-password input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    outline: none;
}

.btn-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    font-size: 16px;
    transition: 0.2s;
}

.btn-toggle:hover {
    color: #000;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   SEÇÃO HERO
   ============================================ */

.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/*Hero stat*/
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    gap: 3px;
    line-height: 1;
}

.stat-prefix,
.stat-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 4px;
}

/*hero imagem*/
.hero-image {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 90px;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 90px;
    /* 🎨 sombra moderna profissional */
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.18));
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-6px);
}

/* ============================================
   SEÇÃO DE RECURSOS
   ============================================ */

.recursos {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.recurso-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.recurso-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.recurso-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
}

.recurso-icon svg {
    width: 32px;
    height: 32px;
}

.recurso-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.recurso-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SEÇÃO DE PLANOS
   ============================================ */

.planos {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plano-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plano-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.plano-active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.plano-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: var(--success-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.coming-soon-badge {
    background-color: var(--warning-color);
}

.plano-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.plano-icon svg {
    width: 32px;
    height: 32px;
}

.plano-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plano-descricao {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.plano-preco {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.preco-valor {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.preco-periodo {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.plano-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plano-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.plano-coming-soon {
    opacity: 0.7;
}

/* =============================
   TUTORIAL
   ============================= */
.tutorial {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.tutorial-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.tutorial-header .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.25;
}

.tutorial-header .section-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
}

/* Layout principal */
.tutorial-content {
    display: flex;
    align-items: center;
    gap: 64px;
}

/* STEPS */
.tutorial-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.tutorial-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 52px;
    width: 2px;
    height: calc(100% + 8px);
    background: linear-gradient(to bottom, #e2e8f0, transparent);
}

.step-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 0.05em;
    min-width: 24px;
    margin-top: 4px;
}

.step-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.step-icon svg {
    width: 20px;
    height: 20px;
    stroke: #6366f1;
}

.tutorial-step:hover .step-icon {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.step-body {
    flex: 1;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

.step-desc strong {
    color: #334155;
    font-weight: 600;
}

/* VIDEO */
.tutorial-video {
    flex: 1;
    max-width: 500px;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    aspect-ratio: 16/9;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.45);
    transition: opacity 0.3s;
    cursor: pointer;
}

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

.play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #6366f1;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.play-btn:hover {
    transform: scale(1.1);
    background: #4f46e5;
}

.play-btn svg {
    width: 26px;
    height: 26px;
    margin-left: 4px;
}

.video-label {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* Controles */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.vc-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.vc-btn:hover { opacity: 1; }

.vc-progress {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.vc-bar {
    height: 100%;
    background: #6366f1;
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
}

.vc-time {
    color: #fff;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0.85;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .tutorial-content {
        flex-direction: column;
        gap: 48px;
    }

    .tutorial-video {
        width: 100%;
        max-width: 100%;
    }

    .tutorial-steps {
        width: 100%;
    }

    .tutorial-header .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .tutorial {
        padding: 64px 0;
    }

    .tutorial-header {
        margin-bottom: 40px;
    }

    .step-icon {
        width: 38px;
        height: 38px;
    }

    .play-btn {
        width: 56px;
        height: 56px;
    }
}
/* ============================================
   SEÇÃO CTA
   ============================================ */

.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--text-white);
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ============================================
   MODAIS
   ============================================ */

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

.modal.active {
    display: flex;
}

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

.modal-content {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-xl);
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--text-primary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modal-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.modal-footer a:hover {
    text-decoration: underline;
}



/*=============================================
  PAINEL.php
  ============================================= */
.pacotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.pacote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0.9rem 0.5rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    text-decoration: none;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.pacote-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
    transform: translateY(-2px);
}

.pacote-btn.popular {
    border-color: var(--primary-color);
    background: #eef2ff;
}

.pacote-btn.destaque {
    border-color: #f4c542;
    background: #fffbeb;
}

.pacote-tag {
    position: absolute;
    top: -10px;
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
}

.pacote-btn.destaque .pacote-tag {
    background: #f4c542;
    color: #0f172a;
}

.pacote-qtd {
    font-size: 0.85rem;
    font-weight: 600;
}

.pacote-preco {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pacote-bonus {
    font-size: 0.72rem;
    color: #16a34a;
    font-weight: 600;
}


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

@media (max-width: 768px) {
    .hero,
    #inicio,
    #recursos,
    #planos,
    #contato {
        scroll-margin-top: 80px; /* ajuste conforme a altura do seu navbar */
    }
    
    .nav-menu {
        display: none;
        position: fixed;   
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;

    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        display: flex;          /* essencial! */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-image {
        margin-top: 15px;
        order: -1;              /* move a imagem para cima */
        width: 100%;
        max-width: 280px;
        margin-bottom: -135px;
    }

    .hero-img {
        width: 100%;
        height: auto;
        display: block;
    }

    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .planos-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        align-items: center;  /* centraliza os itens */
    }

    .user-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
    }

    .nav-buttons .btn {
        width: 50%;
        text-align: center;
        justify-content: center;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /*table painel*/
     .card table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .card table thead {
        display: none;
    }
    
    .card table tbody {
        display: block;
        width: 100%;
    }
    
    .card table tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        margin-bottom: 1rem;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .card table td {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.875rem;
    }

    .card table td:last-child {
        border-bottom: none;
    }

    .card table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        font-size: 0.75rem;
        text-transform: uppercase;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .plano-card {
        padding: 1.5rem;
    }

    .preco-valor {
        font-size: 1.75rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}
