/* Global base stylesheet (tokens + layout primitives + small utilities)
   Section-specific styling lives in the dedicated CSS files loaded after this one.
*/

:root {
    --primary-color: #9B6B9E;
    --secondary-color: #49A5AA;
    --tertiary-color: #4B6AA8;
    --text-color: #2D2D2D;
    --white: #FFFFFF;

    --neutral-color: #f6f4fa;
    --neutral-alt: #f0f0f2;
    --section-bg-1: #f7f7fa;
    --section-bg-2: #f3f7fa;

    --gradient: linear-gradient(135deg, #9B6B9E, #4B6AA8);
    --soft-shadow: rgba(155, 107, 158, 0.08);
    --highlight-color-1: #9B6B9E;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-padding-top, 24px);
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--fixed-bars-height, var(--header-height, 0px));
    font-family: 'Poppins', sans-serif;
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--neutral-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin: 0 0 1rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.cta-section {
    text-align: center;
    margin-top: 2.5rem;
}

/* Global CTA button (used across multiple sections) */
.cta-button {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 1.1em 2.5em;
    font-size: 1.18rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(155, 107, 158, 0.22);
    transition: filter 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cta-button:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.cta-button.cta-large {
    padding: 1.1em 2.5em;
    font-size: 1.18rem;
    border-radius: 30px;
}

.fb-pixel-noscript {
    display: none;
}

/* Price: keep only small typography rules that aren't covered elsewhere yet.
   (If you want, we can migrate these to price6.css next.) */
.total-value {
    background: #f8f8fc;
    border: 1.5px solid var(--primary-color);
    border-radius: 14px;
    box-shadow: 0 2px 8px #9B6B9E11;
    padding: 1.2rem 1rem 1.1rem 1rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.total-value .total-label {
    font-size: 1.08rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5em;
    letter-spacing: 0.2px;
}

.total-value .original-price {
    text-decoration: line-through;
    text-decoration-color: #e61313;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.total-value .preco-de-label,
.total-value .preco-por-label,
.total-value .preco-parcelado-label {
    color: #888;
    font-weight: 500;
    margin-right: 0.3em;
}

.total-value .preco-por {
    font-weight: 700;
    font-size: 1.8rem;
}

.total-value .preco-parcelado {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.5rem;
}

.total-value .preco-economia {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.2em;
    color: #1dbf73;
}

/* Promo bar */
.promo-bar {
    position: fixed;
    top: var(--fixed-header-height, var(--header-height, 0px));
    left: 0;
    right: 0;
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(155, 107, 158, 0.08);
    z-index: 950;
}

.promo-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    flex-wrap: wrap;
}

.promo-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-size: 0.88rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
}

.promo-text {
    font-weight: 600;
    font-size: 0.98rem;
}

.promo-code {
    background: #fff;
    color: var(--primary-color);
    font-weight: 800;
    padding: 0.22rem 0.6rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.98rem;
    box-shadow: 0 4px 18px rgba(155, 107, 158, 0.08);
}

.promo-cta {
    opacity: 0.92;
    font-size: 0.95rem;
}

.promo-spacer {
    height: 0;
}

@media (max-width: 600px) {
    section {
        padding: 4rem 0;
    }

    .promo-bar .container {
        padding: 0.7rem 0.8rem;
        gap: 0.45rem;
    }

    .promo-spacer {
        height: 0;
    }
}
