/* ==========================================================================
   GUILDER HUB - ESTILO GLOBAL (style.css)
   ========================================================================== */

:root {
    --primary-color: #E12F2B; /* Vermelho ADOULAS */
    --secondary-color: #2d3748;
    --bg-light: #f7fafc;
    --text-muted: #718096;
    
    --guilder-blue: #00B4FF;
    --guilder-dark: #0b0f19;
    --guilder-card: #151b2b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--secondary-color);
}

/* ==========================================================================
   1. PAINEL INTERNO E COMPONENTES BASE
   ========================================================================== */

.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.brand-logo {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-hero {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: -40px;
}

.page-hero h1 {
    font-weight: 700;
    color: #2d3748;
    font-size: 2.2rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 10px auto 0;
}

.register-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    background: white;
    overflow: hidden;
    position: relative;
}

/* WIZARD STEPS */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    background: var(--bg-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #cbd5e0;
    border: 2px solid #e2e8f0;
    transition: 0.3s;
}

.step-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(225, 47, 43, 0.2);
}

.step-item.finish {
    background: #48bb78;
    color: white;
    border-color: #48bb78;
}

.step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.step-item.active + .step-label { color: var(--primary-color); }

.main-footer {
    margin-top: 80px;
    background: white;
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hover-up { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-up:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }
.transition-3s { transition: 0.3s; }

.text-danger { color: #E12F2B !important; }
.bg-danger { background-color: #E12F2B !important; }
.btn-danger { background-color: #E12F2B; border-color: #E12F2B; }
.btn-danger:hover { background-color: #c52724; border-color: #c52724; }

/* SIDEBAR */
.sidebar {
    min-width: 260px;
    max-width: 260px;
    transition: margin-left .35s ease-in-out,left .35s ease-in-out,margin-right .35s ease-in-out,right .35s ease-in-out;
    direction: ltr;
    background: #222E3C;
    color: #fff;
}

.sidebar-content { background: #222E3C; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar-brand { font-weight: 600; font-size: 1.15rem; padding: 1.15rem 1.5rem; display: block; color: #f8f9fa; text-decoration: none; text-align: center; }
.sidebar-brand:hover { color: #fff; text-decoration: none; }
.sidebar-nav { padding-left: 0; list-style: none; margin-bottom: 0; }
.sidebar-header { background: transparent; padding: 1.5rem 1.5rem .375rem; font-size: .75rem; color: #ced4da; text-transform: uppercase; }
.sidebar-link, a.sidebar-link { display: block; padding: .625rem 1.625rem; color: rgba(233, 236, 239, .5); position: relative; text-decoration: none; transition: color .075s ease-in-out; border-left: 3px solid transparent; }
.sidebar-link svg, .sidebar-link i { margin-right: .75rem; color: rgba(233, 236, 239, .5); width: 18px; height: 18px; vertical-align: middle; }
.sidebar-link:hover { color: rgba(233, 236, 239, .75); background: rgba(255,255,255,0.05); border-left-color: #3b7ddd; }
.sidebar-link:hover svg, .sidebar-link:hover i { color: rgba(233, 236, 239, .75); }
.sidebar-item.active .sidebar-link { color: #fff; background: linear-gradient(90deg,rgba(59,125,221,.1),rgba(59,125,221,.0875) 50%,transparent); border-left-color: #3b7ddd; }
.sidebar-item.active .sidebar-link svg, .sidebar-item.active .sidebar-link i { color: #fff; }
.sidebar-content .sidebar-cta-content { padding: 1.5rem; margin: 1.5rem; background: #2b3947; border-radius: .3rem; color: #fff; }


/* ==========================================================================
   2. LANDING PAGE / HOME (GUILDER DARK MODE)
   ========================================================================== */

/* BOTÕES NEON */
.btn-neon-guilder {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2rem; border-radius: 50px; font-weight: bold; font-size: 0.875rem;
    color: #ffffff !important; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px;
    background-color: rgba(0, 162, 232, 0.15); border: 1px solid rgba(0, 162, 232, 0.4); 
    backdrop-filter: blur(12px); box-shadow: 0 4px 15px rgba(0, 162, 232, 0.2); transition: all 0.3s ease;
}
.btn-neon-guilder:hover {
    background-color: rgba(0, 162, 232, 0.25); border-color: #00a2e8; transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 162, 232, 0.6), inset 0 0 10px rgba(0, 162, 232, 0.3); color: #ffffff;
}
.btn-neon-guilder i { margin-left: 8px; font-size: 1rem; transition: transform 0.3s ease; }
.btn-neon-guilder:hover i { transform: translateX(5px); }

.btn-neon-whatsapp {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; border-radius: 0.75rem; font-weight: bold; font-size: 1rem;
    color: #ffffff !important; text-decoration: none;
    background-color: rgba(37, 211, 102, 0.15); border: 1px solid rgba(37, 211, 102, 0.4); 
    backdrop-filter: blur(12px); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2); transition: all 0.3s ease;
}
.btn-neon-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.25); border-color: #25D366; transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), inset 0 0 10px rgba(37, 211, 102, 0.3);
}
.btn-neon-whatsapp i { font-size: 1.2rem; color: #25D366; transition: all 0.3s ease; }
.btn-neon-whatsapp:hover i { color: #ffffff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }

.badge-neon-green {
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 8px 16px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase; box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); margin-bottom: 20px; width: 100%;
}
.badge-neon-green i { font-size: 1.1rem; color: #10b981; }

/* =========================================
   GUILDER DARK MODE - SEÇÕES GENÉRICAS
========================================= */
.gld-section { 
    color: #f8fafc; 
    padding: 80px 0; 
}
.gld-card { 
    background: rgba(30, 41, 59, 0.7); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    width: 100%; 
}
.gld-title { 
    font-size: 2.8rem; 
    font-weight: 900; 
    color: #ffffff; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    letter-spacing: -1px; 
}
.gld-text { 
    color: #94a3b8; 
    font-size: 1.15rem; 
    line-height: 1.6; 
    margin-bottom: 35px; 
}
.gld-list-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    margin-bottom: 16px; 
    color: #cbd5e1; 
    font-weight: 500; 
    font-size: 1.05rem; 
}
.gld-check { 
    color: #0ea5e9; 
    font-size: 1.2rem; 
}

/* A Mágica da Tabela Mockup */
.gld-table-row { 
    display: flex !important; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    color: #f8fafc; 
    width: 100%; 
}
.gld-table-row > div { 
    display: block; 
}

/* TOGGLE TIPO iPHONE */
.gld-toggle {
    appearance: none; -webkit-appearance: none; width: 40px; height: 22px; background: #475569;
    border-radius: 20px; position: relative; cursor: pointer; outline: none;
}
.gld-toggle:checked { background: #0ea5e9; }
.gld-toggle::after {
    content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
    background: #ffffff; border-radius: 50%; transition: 0.3s;
}
.gld-toggle:checked::after { transform: translateX(18px); }

/* DOBRA PRINCIPAL HOME */
.g-home-dobra-wrapper { background: linear-gradient(180deg, #0b0f19 0%, #111827 100%); padding: 100px 20px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #e2e8f0; overflow: hidden; }
.g-home-dobra-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.g-home-dobra-text { flex: 1; }
.g-home-dobra-badge { display: inline-block; background: rgba(0, 162, 232, 0.1); color: #00a2e8; border: 1px solid rgba(0, 162, 232, 0.3); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 25px; letter-spacing: 1px; }
.g-home-dobra-text h2 { color: #ffffff; font-size: 3.2rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.g-home-dobra-text h2 span { background: linear-gradient(90deg, #00a2e8 0%, #004e92 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.g-home-dobra-text p { font-size: 1.15rem; color: #94a3b8; line-height: 1.7; margin-bottom: 40px; }
.g-home-dobra-btn { background: linear-gradient(90deg, #004e92 0%, #00a2e8 100%); color: #ffffff; padding: 18px 40px; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.1rem; display: inline-flex; align-items: center; box-shadow: 0 10px 20px rgba(0, 162, 232, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.g-home-dobra-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 162, 232, 0.4); color: #fff; }
.g-home-dobra-btn i { margin-left: 10px; }
.g-home-dobra-visual { flex: 1; position: relative; }
.g-home-dobra-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; background: radial-gradient(circle, rgba(0, 162, 232, 0.15) 0%, transparent 60%); z-index: 0; }
.g-home-dobra-mockup { position: relative; z-index: 1; background: #1e293b; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 30px 60px rgba(0,0,0,0.6); transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: transform 0.5s ease; overflow: hidden; }
.g-home-dobra-mockup:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }
.g-home-dobra-mockup-header { background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px; display: flex; gap: 8px; }
.g-home-dobra-dot { width: 12px; height: 12px; border-radius: 50%; }
.g-home-dobra-mockup img { width: 100%; display: block; opacity: 0.85; }

/* PLANOS DE ASSINATURA (SaaS) */
.saas-pricing-wrapper { font-family: 'Nunito', sans-serif; color: #ffffff; padding: 60px 20px; box-sizing: border-box; background-color: transparent; }
.saas-pricing-wrapper * { box-sizing: border-box; }
.saas-hero { text-align: center; margin-bottom: 50px; max-width: 1000px; margin-left: auto; margin-right: auto; }
.saas-hero .badge-top { background: rgba(0, 180, 255, 0.1); color: #00B4FF; padding: 6px 15px; border-radius: 50px; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 20px; display: inline-block; border: 1px solid rgba(0, 180, 255, 0.3); }
.saas-hero h1 { font-weight: 900; font-size: 3rem; color: #ffffff; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.2; }
.saas-hero h1 span { color: #00B4FF; }

.saas-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1150px; margin: 0 auto; align-items: stretch; }
.saas-pricing-card { background: var(--guilder-card); border-radius: 20px; padding: 35px 25px; border: 1px solid #1e293b; position: relative; display: flex; flex-direction: column; transition: all 0.4s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.saas-pricing-card:hover { transform: translateY(-8px); border-color: #334155; }
.saas-pricing-card.destaque { border: 2px solid #00B4FF; box-shadow: 0 15px 40px rgba(0, 180, 255, 0.15); transform: scale(1.05); z-index: 10; background: linear-gradient(180deg, #111827 0%, #151b2b 100%); }
.saas-pricing-card.destaque:hover { transform: scale(1.05) translateY(-5px); }
.saas-badge-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #ff7e5f, #feb47b); color: white; padding: 5px 20px; border-radius: 50px; font-weight: 900; font-size: 0.75rem; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(255, 126, 95, 0.4); white-space: nowrap; }

.saas-plan-name { font-size: 1.4rem; font-weight: 900; margin-bottom: 8px; color: #ffffff; }
.saas-pricing-card.destaque .saas-plan-name { color: #00B4FF; }
.saas-plan-desc { color: #94a3b8; font-size: 0.85rem; margin-bottom: 20px; line-height: 1.4; min-height: 40px; }
.saas-price-tag { font-size: 2.5rem; font-weight: 900; color: #ffffff; line-height: 1; margin-bottom: 10px; display: flex; align-items: flex-start; }
.saas-price-currency { font-size: 1.1rem; font-weight: 600; color: #64748b; margin-right: 5px; margin-top: 5px; }
.saas-price-period { font-size: 0.9rem; color: #64748b; font-weight: 600; margin-left: 5px; margin-top: 15px; }
.saas-price-subtext { font-size: 0.75rem; color: #475569; font-weight: 600; margin-bottom: 20px; min-height: 15px; display: block;}

.saas-feature-list { list-style: none; padding: 0; margin: 0 0 25px 0; flex-grow: 1; border-top: 1px dashed #334155; padding-top: 20px; }
.saas-feature-list li { padding: 6px 0; font-weight: 600; color: #cbd5e1; display: flex; align-items: flex-start; font-size: 0.85rem; }
.saas-feature-list i.fa-check { color: #10b981; margin-right: 10px; margin-top: 4px; font-size: 0.95rem; }

.btn-assinar { padding: 12px; border-radius: 10px; font-weight: 700; font-size: 0.9rem; transition: 0.3s; width: 100%; border: none; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; display: block; cursor: pointer; }
.btn-light-outline { background: transparent; color: #00B4FF; border: 2px solid rgba(0, 180, 255, 0.3); }
.btn-light-outline:hover { background: rgba(0, 180, 255, 0.1); color: #00B4FF; border-color: #00B4FF; }
.btn-neon { background: #00B4FF; color: #ffffff; box-shadow: 0 4px 15px rgba(0, 180, 255, 0.3); }
.btn-neon:hover { background: #009ce0; color: #ffffff; box-shadow: 0 6px 20px rgba(0, 180, 255, 0.5); transform: translateY(-2px); }

/* INTEGRAÇÕES */
.home-int-wrapper { background-color: var(--guilder-dark); padding: 100px 20px; border-top: 1px solid #1e293b; }
.home-int-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.home-int-container h2 { font-weight: 900; font-size: 2.8rem; color: #ffffff; margin-bottom: 20px; }
.home-int-container p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 50px; }
.int-logos-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.int-logo-box { background: var(--guilder-card); border: 1px solid #1e293b; width: 100px; height: 100px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; transition: 0.3s; color: #ffffff; }
.int-logo-box:hover { transform: translateY(-5px); border-color: #00B4FF; box-shadow: 0 10px 20px rgba(0, 180, 255, 0.1); }

/* SEÇÃO API */
.home-api-wrapper { background: linear-gradient(135deg, #050509 0%, #111827 100%); padding: 100px 20px; border-top: 1px solid #1e293b; }
.home-api-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.home-api-text h2 { font-weight: 900; font-size: 2.8rem; color: #ffffff; margin-bottom: 20px; }
.home-api-text h2 span { color: #00B4FF; }
.home-api-text p { color: #94a3b8; font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; }
.home-code-box { background: #050509; border: 1px solid #1e293b; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.home-code-header { background: var(--guilder-card); padding: 15px; border-bottom: 1px solid #1e293b; display: flex; gap: 8px; }
.home-code-body { padding: 20px; font-family: monospace; color: #abb2bf; font-size: 0.9rem; line-height: 1.5; }

/* FAQ */
.home-faq-wrapper { padding: 100px 20px; background-color: #050509; }
.home-faq-container { max-width: 700px; margin: 0 auto; }
.faq-header-home { text-align: center; margin-bottom: 50px; }
.faq-header-home h2 { font-weight: 900; font-size: 2.8rem; color: #ffffff; margin-bottom: 15px; }
.faq-header-home p { color: #94a3b8; font-size: 1.1rem; }
.faq-item-home { background: var(--guilder-card); border: 1px solid #1e293b; border-radius: 16px; margin-bottom: 15px; overflow: hidden; }
.faq-btn-home { width: 100%; text-align: left; background: transparent; border: none; padding: 20px 25px; color: #ffffff; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: 0.3s; }
.faq-btn-home:hover { background: rgba(0, 180, 255, 0.05); color: #00B4FF; }
.faq-icon { transition: transform 0.3s; color: #00B4FF; }
.faq-btn-home.active .faq-icon { transform: rotate(180deg); }
.faq-body-home { padding: 0 25px 25px; color: #94a3b8; line-height: 1.7; display: none; border-top: 1px dashed #334155; margin-top: 10px; padding-top: 20px; }


/* ==========================================================================
   3. RESPONSIVIDADE GERAL (Tudo centralizado aqui)
   ========================================================================== */

@media (max-width: 1150px) {
    .saas-grid-cards { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .saas-pricing-card.destaque { transform: none; }
    .saas-pricing-card.destaque:hover { transform: translateY(-5px); }
}

@media (max-width: 992px) {
    .g-home-dobra-container { flex-direction: column; text-align: center; gap: 40px; }
    .g-home-dobra-text h2 { font-size: 2.2rem; }
    .g-home-dobra-mockup { transform: none; }
    .g-home-dobra-mockup:hover { transform: none; }
    
    .home-api-grid { grid-template-columns: 1fr; text-align: center; }
    
    .display-4 { font-size: 2.5rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.75rem; }
    
    .gradient-cta-box { padding: 40px 20px; margin-top: 40px; }
}

@media (max-width: 768px) {
    .saas-grid-cards { grid-template-columns: 1fr; max-width: 400px;}
    .saas-hero h1 { font-size: 2.2rem; }
    .saas-pricing-card { padding: 30px 20px; }
    
    .check-list-item { font-size: 15px; align-items: flex-start; }
    
    .gradient-cta-box .d-flex.gap-3, .col-lg-8 .d-flex.gap-3 { flex-direction: column; width: 100%; }
    .btn { width: 100%; margin-bottom: 5px; }
    .card { margin-top: 20px; }
}