/* ========================= */
/* PROJECT STORE PAGE STYLES */
/* ========================= */

/* Base */
.page-project-store {
    background: var(--brand-blue);
}

/* ---------------------------------------- */
/* 1. HERO SECTION */
/* ---------------------------------------- */
.project-store-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--brand-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.project-store-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(50, 58, 204, 0.95) 0%,
        rgba(42, 48, 179, 0.98) 100%
    );
    z-index: 1;
}

.project-store-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-store-hero .eyebrow {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-yellow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.project-store-hero h1 {
    font-family: "Dosis", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--brand-yellow);
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project-store-hero .hero-description {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-store-hero .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: "DM Sans", sans-serif;
}

.button-primary {
    background: var(--brand-yellow);
    color: var(--brand-blue-hero);
    border-color: var(--brand-yellow);
}

.button-primary:hover {
    background: #fdfd6b;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--brand-blue-hero);
}

.button-secondary {
    border: 2px solid var(--brand-yellow);
    background: transparent;
    color: var(--brand-yellow);
}

.button-secondary:hover {
    background: rgba(255, 255, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--brand-yellow);
}

/* ---------------------------------------- */
/* 2. SECTIONS COM FUNDO BRANCO */
/* ---------------------------------------- */
.page-project-store section:not(.project-store-hero):not(.project-store-final-cta) {
    padding: 80px 0;
    background: white;
}

.page-project-store section:nth-child(even):not(.project-store-hero):not(.project-store-final-cta) {
    background-color: var(--bg-light);
}

/* Container para todas as sections */
.page-project-store .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .eyebrow {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.section-header h2 {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    color: var(--brand-blue);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--brand-yellow);
    border-radius: 2px;
}

.section-header p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ink-700);
    max-width: 700px;
    margin: 16px auto 0;
}

/* ---------------------------------------- */
/* 3. GRIDS DE CONTEÚDO */
/* ---------------------------------------- */
.content-grid,
.cards-grid {
    display: grid;
    gap: 24px;
}

.two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Cards de conteúdo */
.content-card {
    background: white;
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.content-card h3 {
    font-family: "Dosis", sans-serif;
    font-size: 1.4rem;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 600;
}

.content-card p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-700);
    margin-bottom: 0;
}

/* ---------------------------------------- */
/* 4. HIGHLIGHT PANEL (Important distinction) */
/* ---------------------------------------- */
.highlight-panel {
    background: linear-gradient(135deg, rgba(50, 58, 204, 0.05) 0%, rgba(50, 58, 204, 0.08) 100%);
    border: 2px solid var(--brand-yellow);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
}

.highlight-panel .eyebrow {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.highlight-panel h2 {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    color: var(--brand-blue);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.highlight-panel p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-700);
    margin-bottom: 16px;
}

.highlight-panel a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.highlight-panel a:hover {
    color: var(--brand-blue-hero);
    border-bottom-color: var(--brand-orange);
    text-decoration: none;
}

.highlight-panel .button-group {
    margin-top: 24px;
}

/* ---------------------------------------- */
/* 5. FEATURE LIST GRID (What is included) */
/* ---------------------------------------- */
.feature-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-item {
    background: white;
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    padding: 24px 24px 24px 60px;
    position: relative;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item::before {
    content: "◆";
    position: absolute;
    left: 24px;
    top: 28px;
    font-size: 1.2rem;
    color: var(--brand-yellow);
}

.feature-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.feature-item h3 {
    font-family: "Dosis", sans-serif;
    font-size: 1.2rem;
    color: var(--brand-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-700);
    margin-bottom: 0;
}

/* ---------------------------------------- */
/* 6. AUTHORITY PANEL (Methodology) */
/* ---------------------------------------- */
.authority-panel {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.08) 0%, rgba(255, 255, 0, 0.05) 100%);
    border-left: 4px solid var(--brand-yellow);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 40px;
    position: relative;
}

.authority-panel .eyebrow {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.authority-panel h2 {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    color: var(--brand-blue);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 20px;
}

.authority-panel p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink-700);
    margin-bottom: 16px;
}

/* ---------------------------------------- */
/* 7. STEPS LIST (How it works) */
/* ---------------------------------------- */
.steps-list {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0;
}

.steps-list li {
    background: white;
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    padding: 24px 24px 24px 72px;
    position: relative;
    box-shadow: var(--shadow);
    counter-increment: step-counter;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 0;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 24px;
    top: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--brand-yellow);
    color: var(--brand-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.steps-list li:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.steps-list h3 {
    font-family: "Dosis", sans-serif;
    font-size: 1.2rem;
    color: var(--brand-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.steps-list p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-700);
    margin-bottom: 0;
}

/* ---------------------------------------- */
/* 8. PROJECT CARDS (Available projects) */
/* ---------------------------------------- */
.project-card {
    background: white;
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-yellow);
    border-radius: 2px 2px 0 0;
}

.project-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.project-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}

.project-meta {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    opacity: 0.8;
}

.project-card h3 {
    font-family: "Dosis", sans-serif;
    font-size: 1.4rem;
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-weight: 600;
}

.project-card p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-700);
    margin-bottom: 12px;
}

.project-companies {
    font-size: 0.9rem !important;
    background: rgba(247, 248, 255, 0.6);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--brand-yellow);
}

.project-companies strong {
    color: var(--brand-blue);
    font-weight: 700;
}

.project-pricing {
    font-weight: 600 !important;
    color: var(--brand-blue) !important;
    margin-top: auto !important;
    padding-top: 16px;
    border-top: 1px solid #EEF0FF;
}

.project-pricing strong {
    color: var(--brand-blue);
}

.project-card .button {
    margin-top: 16px;
    align-self: flex-start;
    background: var(--brand-blue);
    color: white;
    border: 2px solid var(--brand-blue);
}

.project-card .button:hover {
    background: var(--brand-blue-hero);
    color: white;
    border-color: var(--brand-blue-hero);
    text-decoration: none;
}

/* Background alternado para a seção de catálogo */
.project-store-catalog {
    background: var(--bg-light);
}

.project-store-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid #EEF0FF;
}

.project-store-note p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--ink-700);
    margin-bottom: 0;
    opacity: 0.85;
}

.project-store-note a {
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.project-store-note a:hover {
    border-bottom-color: var(--brand-orange);
    text-decoration: none;
}

/* ---------------------------------------- */
/* 9. COMPARISON CARDS */
/* ---------------------------------------- */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.comparison-card {
    background: white;
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.comparison-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.comparison-card h3 {
    font-family: "Dosis", sans-serif;
    font-size: 1.3rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #EEF0FF;
}

.comparison-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.comparison-card li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-700);
}

.comparison-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--brand-yellow);
    border-radius: 50%;
}

.comparison-card-primary {
    border: 1px solid #EEF0FF;
    background: white;
}

.comparison-card-primary h3 {
    color: var(--brand-blue);
}

/* ---------------------------------------- */
/* 10. FAQ SECTION */
/* ---------------------------------------- */
.project-store-faq {
    background: white;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-list details {
    border: 1px solid #EEF0FF;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-list details:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #D0D4FF;
}

.faq-list details[open] {
    border-color: var(--brand-blue);
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 56px 20px 20px;
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    color: var(--brand-blue);
    font-size: 1.05rem;
    position: relative;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.faq-list summary:hover {
    background-color: rgba(247, 248, 255, 0.5);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    color: var(--brand-blue);
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 248, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.faq-list details[open] summary::after {
    content: "–";
    background: var(--brand-blue);
    color: white;
}

.faq-list details p {
    padding: 0 20px 20px 20px;
    color: var(--ink-700);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: "DM Sans", system-ui, sans-serif;
}

.faq-list details a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.faq-list details a:hover {
    color: var(--brand-blue-hero);
    border-bottom-color: var(--brand-orange);
    text-decoration: none;
}

/* ---------------------------------------- */
/* 11. FINAL CTA */
/* ---------------------------------------- */
.project-store-final-cta {
    padding: 80px 0;
    background: var(--brand-blue);
    position: relative;
    overflow: hidden;
}

.project-store-final-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(50, 58, 204, 0.95) 0%,
        rgba(42, 48, 179, 0.98) 100%
    );
    z-index: 1;
}

.project-store-final-cta .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.cta-panel .eyebrow {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-yellow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.cta-panel h2 {
    font-family: "Dosis", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--brand-yellow);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-panel p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
}

.cta-panel .button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------- */
/* 12. RESPONSIVIDADE */
/* ---------------------------------------- */
@media (max-width: 1024px) {
    .three-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-list {
        grid-template-columns: 1fr;
    }
    
    .feature-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-store-hero {
        padding: 60px 0 40px;
    }

    .project-store-hero h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }

    .two-columns,
    .three-columns {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    section:not(.project-store-hero) {
        padding: 60px 0;
    }

    .highlight-panel,
    .authority-panel {
        padding: 30px 24px;
    }

    .project-card {
        padding: 24px;
    }

    .steps-list li {
        padding: 20px 20px 20px 60px;
    }

    .section-header h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .cta-panel h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

@media (max-width: 480px) {
    .project-store-hero {
        padding: 40px 0 30px;
    }

    .content-card,
    .feature-item,
    .comparison-card {
        padding: 20px;
    }

    .feature-item {
        padding-left: 50px;
    }

    .feature-item::before {
        left: 20px;
        top: 24px;
    }

        .steps-list li {
        padding: 20px 16px 20px 56px;
    }

    .steps-list li::before {
        left: 12px;
        top: 20px;
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .project-card {
        padding: 20px;
    }

    .highlight-panel,
    .authority-panel {
        padding: 24px 20px;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
}