/* INOVESTAY — ESTILO CENTRAL (LANDING PAGE COMERCIAL) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #006CE4;
    --primary-hover: #0056b3;
    --secondary: #0A6FF5;
    --dark: #102A43;
    --dark-light: #243B53;
    --text: #1F2937;
    --text-muted: #64748B;
    --bg: #F5F9FF;
    --bg-white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET E PADRÕES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* SEÇÕES COMUNS */
section {
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* BOTÕES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 108, 228, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 108, 228, 0.6);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--bg-white);
}

.btn-dark:hover {
    background-color: var(--dark-light);
    transform: translateY(-2px);
}

/* HEADER STICKY */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(245, 249, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 10px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled .container {
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    gap: 10px;
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul a {
    font-weight: 600;
    color: var(--dark-light);
    font-size: 0.95rem;
}

nav ul a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    font-weight: 600;
    color: var(--dark);
    margin-right: 10px;
}

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

/* MENU HAMBURGUER (MOBILE) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    padding: 100px 30px 40px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav ul a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-light);
    border-bottom: 1px solid var(--border);
}

.mobile-nav ul a:hover {
    color: var(--primary);
}

.mobile-nav-divider {
    border-bottom: 1px solid var(--border);
    margin: 8px 0;
}

body.no-scroll {
    overflow: hidden;
}

/* HERO SECTION */
.hero {
    padding-top: 180px;
    background: radial-gradient(120% 120% at 50% 10%, #FFFFFF 30%, #E2F0FF 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--dark);
}

.hero-content h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-light);
}

.hero-tagline svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* BENEFÍCIOS / RECURSOS */
.benefits {
    background-color: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit-card {
    background-color: var(--bg);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background-color: rgba(0, 108, 228, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
}

/* PROBLEMA VS SOLUÇÃO */
.problem-solution {
    background-color: var(--bg);
}

.problem-solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.problem-box, .solution-box {
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.problem-box {
    background-color: #FFF5F5;
    border-left: 6px solid var(--danger);
}

.solution-box {
    background-color: #F0FDF4;
    border-left: 6px solid var(--success);
}

.problem-box h2, .solution-box h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.problem-box h2 { color: #9B1C1C; }
.solution-box h2 { color: #166534; }

.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.problem-list svg { color: var(--danger); width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.solution-list svg { color: var(--success); width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }

/* COMO FUNCIONA */
.how-it-works {
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 30px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, rgba(0, 108, 228, 0.1) 0%, rgba(10, 111, 245, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: -15px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* INTEGRAÇÕES */
.integrations {
    background-color: var(--bg);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.logo-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition);
    gap: 15px;
}

.logo-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.logo-item span.channel-title {
    font-weight: 700;
    color: var(--dark);
    font-family: var(--font-heading);
}

.logo-item .channel-logo-img {
    height: 35px;
    width: auto;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-available { background-color: #D1FAE5; color: #065F46; }
.badge-soon { background-color: #FEF3C7; color: #92400E; }
.badge-ical { background-color: #DBEAFE; color: #1E40AF; }
.badge-cancelled { background-color: #FEE2E2; color: #991B1B; }

/* COMPARAÇÃO */
.comparison {
    background-color: var(--bg-white);
}

.comparison-table-wrapper {
    overflow-x: auto;
}

table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

table.comparison-table th, table.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

table.comparison-table th {
    background-color: var(--dark);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

table.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--dark-light);
}

table.comparison-table td.highlight {
    background-color: rgba(0, 108, 228, 0.04);
    font-weight: 700;
    color: var(--primary);
}

table.comparison-table td svg {
    width: 22px;
    height: 22px;
}

table.comparison-table td svg.check { color: var(--success); }
table.comparison-table td svg.times { color: var(--danger); }

/* PLANOS E PREÇOS */
.pricing {
    background-color: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.price-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.price-card.popular::before {
    content: "MAIS ESCOLHIDO";
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price-val {
    margin-bottom: 25px;
}

.price-val .amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark);
}

.price-val .period {
    color: var(--text-muted);
}

.price-features {
    margin-bottom: 35px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.price-features svg {
    color: var(--success);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* FAQ / SANFONA */
.faq {
    background-color: var(--bg-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    font-family: var(--font-heading);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
    padding-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

.faq-question svg {
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* CAPTURA DE LEADS COM FORMULÁRIO */
.lead-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--bg-white);
}

.lead-section h2 {
    color: var(--bg-white);
}

.lead-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-info h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.lead-info p {
    font-size: 1.15rem;
    opacity: 0.85;
    margin-bottom: 40px;
}

.lead-stats {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--bg-white);
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.lead-form-box {
    background-color: var(--bg-white);
    color: var(--text);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 108, 228, 0.15);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.lead-response {
    margin-top: 20px;
    padding: 12px;
    border-radius: var(--radius);
    display: none;
}

.lead-response.success { display: block; background-color: #D1FAE5; color: #065F46; }
.lead-response.error { display: block; background-color: #FEE2E2; color: #991B1B; }

/* FOOTER */
footer {
    background-color: #0B1D33;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer .logo {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

/* PÁGINAS DE AUTENTICAÇÃO (LOGIN / CADASTRO) */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 60px;
    background: radial-gradient(120% 120% at 50% 10%, #FFFFFF 30%, #E2F0FF 100%);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background-color: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 45px 40px;
}

.auth-card .logo {
    justify-content: center;
    margin-bottom: 25px;
}

.auth-card h1 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 10px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.auth-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    background-color: #FEE2E2;
    color: #991B1B;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.auth-footer-note {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer-note a {
    color: var(--primary);
    font-weight: 600;
}

.input-prefix-group {
    display: flex;
    align-items: stretch;
}

.input-prefix-group .input-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.input-prefix-group .form-control {
    border-radius: var(--radius);
}

.input-prefix-group > :first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-prefix-group > :last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .hero .container, .problem-solution-container, .lead-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    header > .container > nav {
        display: none; /* Substituído pelo menu hamburguer no mobile */
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }
}

@media (max-width: 576px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ANIMAÇÕES GERAIS EM CSS */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-in"].animated {
    opacity: 1;
}

[data-animate="slide-up"] {
    transform: translateY(40px);
}

[data-animate="slide-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="slide-left"] {
    transform: translateX(40px);
}

[data-animate="slide-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="slide-right"] {
    transform: translateX(-40px);
}

[data-animate="slide-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animate="scale"] {
    transform: scale(0.9);
}

[data-animate="scale"].animated {
    opacity: 1;
    transform: scale(1);
}

/* PAINEL ADMINISTRATIVO */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px 0;
}

.admin-sidebar .logo {
    color: #fff;
    padding: 0 24px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
}

.admin-sidebar .logo svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #CBD5E1;
    font-weight: 500;
    font-size: 14px;
}

.admin-nav a i {
    width: 18px;
    text-align: center;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-nav a.active {
    background: var(--primary);
    color: #fff;
}

.admin-main {
    flex: 1;
    min-width: 0;
    background: var(--bg);
}

.admin-topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-topbar h1 {
    font-size: 20px;
}

.admin-topbar .admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.admin-topbar .admin-user a {
    color: var(--primary);
    font-weight: 600;
}

.admin-content {
    padding: 64px 32px 32px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 108, 228, 0.1);
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 14px;
}

.stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.admin-panels {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-panels { grid-template-columns: 1fr; }
}

.admin-panel {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.admin-panel h2 {
    font-size: 16px;
    margin-bottom: 16px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th {
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

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

.admin-empty {
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px 0;
    text-align: center;
}

.sync-log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.sync-log-item:last-child {
    border-bottom: none;
}

/* ---------- Calendário (admin/calendar.php) ---------- */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.calendar-header h2 {
    margin: 0;
    min-width: 200px;
    text-align: center;
}

.calendar-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.calendar-nav-btn:hover {
    background: var(--bg);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    padding-bottom: 6px;
}

.calendar-day {
    min-height: 90px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-day--empty {
    border: none;
}

.calendar-day__number {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.calendar-event-chip {
    display: block;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    font-weight: 600;
}

.calendar-event-more {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .calendar-day { min-height: 60px; }
}

/* ---------- Integrações (admin/integrations.php) ---------- */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.integration-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.integration-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.integration-card__form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.integration-card__form label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.integration-card__form input {
    padding: 0.6em 0.8em;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

.integration-card__form button {
    align-self: flex-start;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5em 1.2em;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
}

.integration-card__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 10px;
}
