body {
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h2 {
    font-size: 2.2rem;
    text-align: left;
}

p {
    font-size: 1.1rem;
    text-align: left;
}

main>section {
    background-color: var(--background-color);
}

main>section:nth-of-type(even) {
    background-color: var(--section-bg);
}

.banner-pag {
    width: 100%;
    height: 56vh;
    padding: 0;
    background-image: url('./images/pagamentos/banner_pagamentos.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.two-column-layout {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

.two-column-layout:last-child {
    margin-bottom: 0;
}

.two-column-layout .column {
    flex: 1;
}

.two-column-layout .column p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.two-column-img {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.two-column-img .column h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: left;
}

.two-column-img .column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.problem-section p {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: bold;
    text-align: center;
    color: var(--primary-color);
}


/* --- GRID DE CENÁRIOS (CARDS) --- */

.scenarios-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.scenario-card {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    min-height: 80px;
}

.scenario-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}


.gateway-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.gateway-indicator img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    /* Remove espaços fantasmas */
}

.mp-style .gateway-indicator {
    background-color: #FFE600;
}

.rp-style .gateway-indicator {
    background-color: #042C4F;
}

.multi-style .gateway-indicator {
    background: linear-gradient(135deg, #3dabda, #3279c0);
}

.scenario-card span {
    font-family: 'Gilroy', sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.3;
    font-weight: 500;
}


.scenario-card.multi-style .gateway-indicator img {
    filter: brightness(0) invert(1);
    width: 28px;
}

body.dark-mode .scenario-card {
    background-color: #1E1E1E;
    border-color: #333;
}

body.dark-mode .scenario-card span {
    color: #f1f1f1;
}

/* =========================================
   RESPONSIVO - PAGAMENTOS
   ========================================= */

/* --- TABLET E LAPTOPS MENORES (Até 991px) --- */
@media (max-width: 1024px) {

    /* Quebra o layout de 2 colunas para 1 coluna */
    .two-column-layout {
        flex-direction: column;
        gap: 40px;
    }

   .banner-pag {
        background-image: url('images/pagamentos/banner_tablet.png');
        height: 80vh;
        background-size: fill;
    }
    .two-column-layout .column h2,
    .two-column-layout .column p {
        text-align: left;
    }
}

@media (max-width: 480px) {

    section {
        padding: 40px 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h2 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: left;
    }

    p {
        font-size: 1.1rem !important;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .banner-pag {
        background-image: url('images/pagamentos/banner_tablet.png');
        height: 50vh;
        background-size: fill;
    }

    .project-content img,
    .mockup-container img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .comparison-grid,
    .mobile-screens-grid {
        grid-template-columns: 1fr;
        /* Força 1 coluna só */
        gap: 30px;
    }
}