/* CaraCore MKT — Portal (padrão delivery como Seed) */

:root {
    --bg-dark: #1a1d21;
    --bg-card: #252a30;
    --bg-elevated: #2d333b;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --accent-blue: #58a6ff;
    --accent-gold: #d4a853;
    --accent-green: #3fb950;
    --border: #373e47;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    min-height: 100vh;
    padding: 0 20px 40px;
}

.wrapper { max-width: 900px; margin: 0 auto; }

.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 24px;
    padding-top: 16px;
}
.breadcrumb a { color: var(--accent-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-secondary); }

header {
    padding: 48px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

header .subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Convite: entre em casa — Sala de Notícias + loja */
.convite-casa {
    margin: 40px 0 48px;
    padding: 32px 36px;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    text-align: center;
}
.convite-casa h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.convite-casa > p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.65;
}
.convite-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}
.convite-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.convite-btn:hover { transform: translateY(-1px); }
.convite-btn-sala {
    background: var(--accent-gold);
    color: #1a1d21;
    border: none;
}
.convite-btn-sala:hover { box-shadow: 0 4px 14px rgba(212, 168, 83, 0.4); }
.convite-btn-loja {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.convite-btn-loja:hover { box-shadow: 0 4px 14px rgba(88, 166, 255, 0.3); }
.convite-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}
.convite-casa .convite-img {
    max-width: 100%;
    width: 320px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.methodology { margin: 40px 0 48px; }

.methodology .card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 32px;
}

.methodology .card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.methodology .card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.methodology .card p strong { color: var(--text-primary); }
.methodology .card.card-differential { margin-top: 20px; }

.nav-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.nav-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-card:hover {
    border-color: var(--accent-blue);
    background: var(--bg-elevated);
}

.nav-card .icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.nav-card .icon svg { width: 100%; height: 100%; }

.nav-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.nav-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

footer p { margin-bottom: 8px; }
footer a { color: var(--accent-blue); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Páginas internas (feedback, tecnologia, readme) */
.intro { margin: 24px 0; color: var(--text-secondary); }
.intro p { margin-bottom: 12px; }
.channels { display: grid; gap: 16px; margin: 24px 0; }
.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: block;
}
.channel-card:hover { border-color: var(--accent-blue); }
.channel-card .icon { font-size: 1.5rem; margin-bottom: 8px; }
.channel-card .title { font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.channel-card .desc { font-size: 0.9rem; color: var(--text-secondary); }
.no-phone, .lgpd { margin: 16px 0; padding: 12px; background: var(--bg-elevated); border-radius: 8px; font-size: 0.9rem; color: var(--text-secondary); }
.back { margin-top: 32px; }
.back a { color: var(--accent-blue); text-decoration: none; }
.back a:hover { text-decoration: underline; }

.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 20px;
}
.section-card h2 { font-size: 1.1rem; color: var(--accent-gold); margin-bottom: 12px; }
.section-card p, .section-card ul { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.section-card a { color: var(--accent-blue); }

.page-seed-narrow.wrapper { max-width: 640px; }
