/* --- Resets e Cores --- */
:root {
    --bg-color: #faf7f2;
    --text-main: #2b2b2b;
    --text-muted: #6e6e6e;
    --accent-color: #d4a373;
    --card-bg: #ffffff;
    --cta-bg: #1f2421;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
.main-header {
    background-color: var(--card-bg);
    padding: 50px 0 36px 0;
    text-align: center;
    border-bottom: 1px solid #eaddcf;
}

.main-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.main-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 18px;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.85rem;
    font-weight: 600;
}

.legend-male {
    color: #2b2b2b;
}

.legend-female {
    color: #d4a373;
}

/* --- Layout Principal --- */
.content-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

/* --- Cards de Posições --- */
.positions-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.position-card {
    background-color: var(--card-bg);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #eeeada;
    transition: box-shadow 0.2s;
}

.position-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.card-image {
    width: 110px;
    height: 100px;
    flex-shrink: 0;
    background-color: #fcfaf7;
    border-radius: 10px;
    border: 1px solid #eeddcc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.minimal-art {
    width: 100%;
    height: 100%;
    display: block;
}

.card-info {
    flex: 1;
}

.card-info h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    background-color: #f5ebe0;
    color: #a3704c;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 7px;
}

.description {
    font-size: 0.93rem;
    color: var(--text-muted);
}

/* --- Sidebar Premium --- */
.cta-box {
    background-color: var(--cta-bg);
    color: #ffffff;
    padding: 32px 28px;
    border-radius: 18px;
    text-align: center;
    position: sticky;
    top: 30px;
}

.cta-badge {
    background-color: var(--accent-color);
    color: #1f2421;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-box h3 {
    margin: 18px 0 10px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-box>p {
    color: #b5b5b5;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-features li {
    font-size: 0.88rem;
    color: #d4d4d4;
}

.cta-price {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    margin-right: 10px;
    font-size: 1rem;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.btn-buy {
    display: block;
    width: 100%;
    background-color: var(--accent-color);
    color: #1f2421;
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-buy:hover {
    background-color: #c49363;
}

.btn-buy:active {
    transform: scale(0.99);
}

.stripe-secure {
    font-size: 0.78rem;
    margin-top: 12px;
    color: #666;
}

.cta-note {
    font-size: 0.75rem;
    color: #555;
    margin-top: 6px;
}

/* --- Rodapé --- */
.main-footer {
    text-align: center;
    padding: 36px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #eaddcf;
    background-color: #ffffff;
}

/* --- Desktop --- */
@media (min-width: 768px) {
    .content-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .positions-grid {
        flex: 1.8;
    }

    .cta-sidebar {
        flex: 1;
        max-width: 340px;
    }
}

/* --- Centralização Forçada de Anúncios --- */
.ad-container {
    width: 100%;
    margin: 25px 0;
    text-align: center !important;
    display: block !important;
    clear: both;
}

/* Força centralização de qualquer div, iframe ou ins criado pelo script */
.ad-container > *,
.ad-container iframe,
.ad-container div {
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    display: inline-block !important;
    text-align: center !important;
}