/**
 * GoCore Solutions — Segmentação de 2 Vertentes
 * Desenvolvimento de Software vs Apps Prontas a Consumir
 */

/* ═══════════════════════════════════════════════════
   TOPBAR NAVIGATION — 2 VERTENTES
═══════════════════════════════════════════════════ */

.topnav-main {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    color: #62768c;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #1e5eff;
    background: rgba(30, 94, 255, 0.08);
    border-color: rgba(30, 94, 255, 0.12);
}

.nav-link.is-active {
    color: #1e5eff;
    background: rgba(30, 94, 255, 0.12);
    border-color: rgba(30, 94, 255, 0.24);
}

.nav-icon {
    font-size: 1.1rem;
    display: inline-block;
}

.nav-label {
    display: inline;
}

@media (max-width: 768px) {
    .topnav-main {
        gap: 4px;
        margin: 0 12px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .nav-label {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   HERO SEGMENTADO
═══════════════════════════════════════════════════ */

.hero-segmented {
    background: linear-gradient(135deg, #1e5eff 0%, #52a7ff 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-segmented::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 94, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-segmented .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-segmented .eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-segmented h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-segmented .hero-text {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.95);
}

/* ═══════════════════════════════════════════════════
   SEÇÃO TOGGLE (Dev vs Apps)
═══════════════════════════════════════════════════ */

.hero-section-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    color: #1e5eff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.toggle-icon {
    font-size: 2rem;
    display: block;
}

.toggle-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-label strong {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.toggle-label small {
    font-size: 0.875rem;
    opacity: 0.85;
}

.toggle-btn.active .toggle-label small {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-section-toggle {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .toggle-btn {
        padding: 20px 24px;
    }

    .toggle-icon {
        font-size: 1.75rem;
    }
}

/* ═══════════════════════════════════════════════════
   SECTION DEVELOPER (Dev Flow)
═══════════════════════════════════════════════════ */

.section-dev {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
    padding: 80px 40px;
}

.section-dev .section-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-dev .eyebrow {
    color: #1e5eff;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.section-dev h2 {
    color: #17324d;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-dev > .section-content > p {
    color: #62768c;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   DEV CARDS GRID
═══════════════════════════════════════════════════ */

.dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 80px;
}

.dev-card {
    background: white;
    border: 1px solid rgba(30, 94, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(22, 49, 84, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dev-card:hover {
    border-color: rgba(30, 94, 255, 0.2);
    box-shadow: 0 16px 40px rgba(22, 49, 84, 0.1);
    transform: translateY(-4px);
}

.dev-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.dev-card h3 {
    color: #17324d;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.dev-card p {
    color: #62768c;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.dev-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.dev-features li {
    color: #62768c;
    font-size: 0.875rem;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
}

.dev-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e5eff;
    font-weight: 700;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════
   WORKFLOW STEPS
═══════════════════════════════════════════════════ */

.dev-workflow {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 60px;
}

.dev-workflow h3 {
    color: #17324d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 36px;
    text-align: center;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.step {
    position: relative;
    text-align: center;
}

.step::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1e5eff;
    border-radius: 50%;
    z-index: 1;
}

.step::after {
    content: '';
    position: absolute;
    top: -20px;
    left: calc(50% + 50px);
    width: calc(100% - 100px);
    height: 2px;
    background: linear-gradient(90deg, #1e5eff, transparent);
}

.step:last-child::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e5eff, #52a7ff);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step p {
    color: #62768c;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step p strong {
    color: #17324d;
    display: block;
    margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════
   DEV RESOURCES
═══════════════════════════════════════════════════ */

.dev-resources {
    margin-top: 60px;
}

.dev-resources h3 {
    color: #17324d;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

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

.resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(30, 94, 255, 0.08), rgba(82, 167, 255, 0.08));
    border: 1px solid rgba(30, 94, 255, 0.12);
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    color: inherit;
}

.resource-card:hover {
    border-color: rgba(30, 94, 255, 0.24);
    background: linear-gradient(135deg, rgba(30, 94, 255, 0.12), rgba(82, 167, 255, 0.12));
    transform: translateY(-2px);
}

.resource-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.resource-card strong {
    color: #17324d;
    font-size: 1rem;
    margin-bottom: 4px;
}

.resource-card small {
    color: #62768c;
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════
   SECTION APPS (Consumer Flow)
═══════════════════════════════════════════════════ */

.section-apps {
    background: linear-gradient(180deg, #fef8f5 0%, #fef1ea 100%);
    padding: 80px 40px;
}

.section-apps .section-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-apps .eyebrow {
    color: #e97857;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.section-apps h2 {
    color: #31231c;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-apps > .section-content > p {
    color: #7f685d;
    font-size: 1.125rem;
    line-height: 1.6;
}

.section-apps .section-apps-lead {
    color: #7f685d;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 540px;
}

/* Plataforma — cards corporativos (PMS, channel, booking, caixa, revenue) */
.apps-platform-value {
    margin-bottom: 80px;
}

.platform-value-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 1040px;
    margin: 0 auto;
}

.platform-value-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: #fff;
    border: 1px solid rgba(49, 35, 28, 0.12);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(49, 35, 28, 0.06);
    transition:
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    box-sizing: border-box;
}

.platform-value-card:hover {
    box-shadow: 0 8px 28px rgba(49, 35, 28, 0.1);
    border-color: rgba(233, 120, 87, 0.35);
}

.platform-value-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 120, 87, 0.12);
    color: #9a2e3a;
    border-radius: 14px;
}

.platform-value-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.platform-value-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #31231c;
}

.platform-value-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #7f685d;
    line-height: 1.5;
}

.platform-value-link {
    color: #1e5eff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.platform-value-link:hover {
    color: #174bcc;
}

.apps-flagship-cta {
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    text-align: center;
    padding: 1.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(233, 120, 87, 0.15);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(49, 35, 28, 0.05);
}

.apps-flagship-cta p {
    margin: 0 0 1rem;
    color: #7f685d;
    line-height: 1.55;
    font-size: 0.95rem;
}

.apps-flagship-cta strong {
    color: #31231c;
}

/* ═══════════════════════════════════════════════════
   APP CARDS (legado — outros blocos / reutilização)
═══════════════════════════════════════════════════ */

.apps-showcase {
    margin-bottom: 80px;
}

.app-card {
    background: white;
    border: 1px solid rgba(233, 120, 87, 0.1);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(49, 35, 28, 0.06);
    transition: all 0.3s ease;
}

.app-card:hover {
    border-color: rgba(233, 120, 87, 0.2);
    box-shadow: 0 16px 40px rgba(49, 35, 28, 0.1);
    transform: translateY(-4px);
}

.app-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(233, 120, 87, 0.08), rgba(246, 182, 154, 0.08));
    border: 2px solid rgba(233, 120, 87, 0.2);
    padding: 48px;
}

.app-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e97857, #f5a66b);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.app-card h3 {
    color: #31231c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.app-description {
    color: #7f685d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.app-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.app-stats span {
    background: rgba(233, 120, 87, 0.1);
    color: #e97857;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.app-features {
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(233, 120, 87, 0.05);
    border-radius: 8px;
}

.app-features strong {
    color: #31231c;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.app-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-features li {
    color: #7f685d;
    font-size: 0.875rem;
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e97857;
    font-weight: 700;
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ═══════════════════════════════════════════════════
   INTEGRAÇÕES
═══════════════════════════════════════════════════ */

.apps-integration {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 60px;
    text-align: center;
}

.apps-integration h3 {
    color: #31231c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.integration-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.integration-badge {
    background: linear-gradient(135deg, rgba(233, 120, 87, 0.08), rgba(246, 182, 154, 0.08));
    border: 1px solid rgba(233, 120, 87, 0.12);
    color: #e97857;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════ */

.apps-pricing {
    margin-top: 60px;
}

.apps-pricing h3 {
    color: #31231c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

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

.pricing-card {
    background: white;
    border: 1px solid rgba(233, 120, 87, 0.1);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.pricing-card h4 {
    color: #31231c;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-card p {
    color: #7f685d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */

.section-cta {
    background: linear-gradient(135deg, #1e5eff 0%, #52a7ff 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

.section-cta.centered {
    max-width: 900px;
    margin: 0 auto;
}

.section-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-cta p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-segmented {
        padding: 60px 24px;
    }

    .hero-segmented h1 {
        font-size: 2rem;
    }

    .hero-segmented .hero-text {
        font-size: 1rem;
    }

    .section-dev,
    .section-apps {
        padding: 60px 24px;
    }

    .section-dev .section-heading,
    .section-apps .section-heading {
        margin-bottom: 48px;
    }

    .section-dev h2,
    .section-apps h2 {
        font-size: 1.75rem;
    }

    .dev-workflow,
    .apps-integration {
        padding: 32px 24px;
    }

    .workflow-steps,
    .pricing-options {
        grid-template-columns: 1fr;
    }

    .step::after {
        display: none;
    }

    .dev-grid,
    .apps-grid,
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
