/* ===========================
   TGNHOST — Dark Modern Theme
   =========================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:         #0a0a0f;
    --bg-2:       #111118;
    --bg-3:       #16161f;
    --border:     rgba(255,255,255,0.07);
    --accent:     #00e5a0;
    --accent-dim: rgba(0,229,160,0.12);
    --accent-glow:rgba(0,229,160,0.25);
    --bad:        rgba(255,80,80,0.08);
    --bad-border: rgba(255,80,80,0.3);
    --text:       #e8e8f0;
    --text-muted: #7a7a9a;
    --white:      #ffffff;
    --radius:     12px;
    --radius-lg:  20px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Syne', sans-serif;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========= LABELS ========= */
.label-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--accent-glow);
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 18px;
}

.label-tag.light {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

/* ========= NAVBAR ========= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10,10,15,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links li a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn-nav {
    background: var(--accent) !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    border-radius: 8px !important;
}
.btn-nav:hover {
    background: #00ffb3 !important;
    color: #000 !important;
}

/* ========= HAMBURGER ========= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========= HERO ========= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,229,160,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,160,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0,229,160,0.1), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-3);
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat strong {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ========= BOTÕES ========= */
.btn-main {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-main:hover {
    background: #00ffb3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-main.btn-large {
    font-size: 1.1rem;
    padding: 18px 40px;
    border-radius: var(--radius-lg);
}

.btn-ghost {
    display: inline-block;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
}

/* ========= SECTIONS ========= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    color: var(--white);
}

/* ========= PROBLEMA ========= */
.section-problema {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.problema-text h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.problema-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.75;
}

.problema-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prob-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid;
}

.prob-card.bad {
    background: var(--bad);
    border-color: var(--bad-border);
}

.prob-card.good {
    background: var(--accent-dim);
    border-color: var(--accent-glow);
}

.prob-icon {
    font-size: 1.1rem;
    font-weight: 800;
    min-width: 28px;
    text-align: center;
    margin-top: 2px;
}

.prob-card.bad .prob-icon { color: #ff5050; }
.prob-card.good .prob-icon { color: var(--accent); }

.prob-card strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.prob-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ========= SERVIÇOS ========= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
    border-color: rgba(0,229,160,0.3);
    transform: translateY(-4px);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(0,229,160,0.06), var(--bg-2));
    border-color: rgba(0,229,160,0.25);
}

.service-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #000;
    background: var(--accent);
    padding: 3px 10px;
    border-radius: 99px;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* ========= COMO FUNCIONA ========= */
.section-como {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-num {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.step h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.step-arrow {
    color: var(--accent);
    font-size: 1.5rem;
    opacity: 0.4;
    margin-top: 16px;
    flex-shrink: 0;
}

/* ========= DIFERENCIAIS ========= */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.diff-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color 0.3s;
}

.diff-item:hover {
    border-color: rgba(0,229,160,0.25);
}

.diff-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.diff-item h4 {
    color: var(--white);
    margin-bottom: 8px;
}

.diff-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ========= CTA FINAL ========= */
.cta-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    border-top: 1px solid var(--border);
    padding: 120px 0;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-inner h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-inner > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-note {
    margin-top: 18px !important;
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* ========= FOOTER ========= */
footer {
    padding: 48px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    font-size: 20px;
    margin-bottom: 4px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-copy {
    font-size: 0.78rem !important;
    opacity: 0.5;
    margin-top: 8px;
}

/* ========= WHATSAPP FLOAT ========= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: white;
    animation: floatIn 0.5s ease 1s both;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

@keyframes floatIn {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
    .problema-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: 1fr; }
    .diff-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 8px 0; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: rgba(10,10,15,0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav-links.open { display: flex; }
    .nav-links li a { padding: 12px 16px; border-radius: 8px; }
    .hamburger { display: flex; }
    .diff-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { gap: 16px; }
    .stat-divider { height: 28px; }
}