/* ===== RESET SIMPLES ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f5f7;
    color: #111827;
    line-height: 1.6;
}

/* ===== LAYOUT GERAL ===== */

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 0;
}

.section-light {
    padding: 48px 0;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

/* ===== HEADER ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 0.98rem;
    font-weight: 600;
}

.brand-role {
    font-size: 0.8rem;
    color: #6b7280;
}

.nav {
    display: flex;
    gap: 16px;
}

.nav a {
    font-size: 0.88rem;
    color: #4b5563;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
    color: #111827;
    border-color: #2563eb;
}

/* ===== HERO ===== */

.hero {
    padding: 40px 0 36px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 0.98rem;
    color: #4b5563;
    max-width: 480px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Card do Hero */

.hero-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 18px 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.hero-link {
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: none;
}

.hero-link:hover {
    text-decoration: underline;
}

/* Ícones */

.app-icon-big,
.app-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.app-icon-big {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.app-icon-small {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

/* ===== BOTÕES ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 9px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-secondary {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #1f2937;
}

.btn-secondary:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.btn-ghost {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #1f2937;
}

.btn-ghost:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.btn-small {
    padding: 7px 12px;
    font-size: 0.82rem;
}

/* ===== SEÇÕES / TÍTULOS ===== */

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* ===== LISTA DE APPS ===== */

.app-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 14px;
}

.app-card-main {
    display: flex;
    gap: 12px;
}

.app-card-main h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.app-card-main p {
    font-size: 0.9rem;
    color: #4b5563;
}

.app-card-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== CONTATO ===== */

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.contact-box {
    padding: 14px 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.contact-email {
    display: inline-block;
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: none;
    margin: 4px 0;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ===== FOOTER ===== */

.site-footer {
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 12px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
    color: #6b7280;
}

.footer-sub {
    font-size: 0.78rem;
}

/* ===== PÁGINA DE DETALHES DO APP ===== */

.app-hero {
    padding: 32px 0 28px;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.app-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 22px;
}

.app-hero-main {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.app-hero-main h1 {
    font-size: 1.7rem;
    margin-bottom: 6px;
}

.app-hero-main p {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.app-hero-actions {
    display: flex;
    gap: 8px;
}

.app-hero-side .info-box {
    background-color: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 14px;
}

.info-box h2 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-box ul {
    list-style: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.info-box li {
    margin-bottom: 4px;
}

.info-note {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Texto / blocos */

.text-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 18px;
}

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 12px 12px 14px;
}

.feature-card h3 {
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.feature-card p {
    font-size: 0.87rem;
    color: #4b5563;
}

/* Política */

.policy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #111827;
}

.policy h3 {
    margin-top: 10px;
    font-size: 1rem;
}

.policy ul {
    margin-left: 16px;
    margin-top: 4px;
    list-style: disc;
}

.policy li {
    margin-bottom: 4px;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 880px) {
    .hero-inner,
    .app-hero-inner,
    .contact-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-card {
        flex-direction: column;
    }

    .app-card-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .nav {
        display: none; /* depois você pode implementar um menu mobile se quiser */
    }

    .hero-inner {
        gap: 18px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .app-hero-main {
        flex-direction: column;
    }
}
