* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.4;
    color: #000;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #000;
    padding: 20px 0;
}

.logo {
    display: block;
}

.logo img {
    height: 80px;
    width: auto;
    min-width: 200px;
    min-height: 60px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: transparent;
    object-fit: contain;
}

/* Main Content */
.main {
    padding: 0;
    background-color: #fff;
}

/* Affiliate Banner */
.affiliate-banner {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    margin: 20px auto 0;
    max-width: 1200px;
    font-size: 11px;
    color: #999;
    text-align: center;
}

.link-button {
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    margin-left: 5px;
}

.link-button:hover {
    color: #666;
}

/* Page Header - Gradiente Azul/Roxo Escuro */
.page-header {
    margin-bottom: 0;
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #4a2c7a 50%, #2d1b4e 100%);
    padding: 80px 0 100px 0;
    border-radius: 0;
    min-height: 500px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400"><rect fill="rgba(255,255,255,0.05)" width="600" height="400"/><path d="M300,200 L400,150 L500,200 L450,300 L350,300 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.page-header-image {
    display: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.update-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
}

.update-info strong {
    color: #fff;
    font-weight: 700;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 10px 0 20px 0;
    color: #fff;
    line-height: 1.2;
}

.intro-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
}

/* Featured Offer - Card Roxo Claro */
.featured-offer {
    background: linear-gradient(135deg, #6b4c93 0%, #8b6fb8 50%, #7a5ba3 100%);
    border-radius: 8px;
    padding: 30px 40px;
    margin: -50px auto 50px auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    color: #fff;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.featured-offer::before {
    display: none;
}

.featured-offer-logo {
    position: relative;
    z-index: 1;
}

.featured-offer-logo {
    min-width: 200px;
}

.featured-offer-logo img {
    max-width: 225px;
    width: auto;
    height: 40px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.featured-offer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.featured-badge,
.featured-score,
.featured-discount {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-label,
.score-label,
.discount-label {
    font-size: 12px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-number {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.score-value,
.discount-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.cta-button {
    background-color: #f31b4f;
    color: #fff;
    padding: 16px 32px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.2s;
    margin-left: auto;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #d11542;
}

/* Providers List */
.providers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.provider-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}

.provider-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.provider-link {
    display: grid;
    grid-template-columns: 100px 360px 264px 240px;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: 
        "logo title title score"
        "logo description features score"
        "logo description features score"
        "logo description features score";
    padding: 32px;
    text-decoration: none;
    color: inherit;
    gap: 0;
    align-items: start;
    min-height: 200px;
}

.provider-score-wrapper {
    grid-row: 1 / -1;
    grid-column: 4;
}

.provider-logo-wrapper {
    grid-area: logo;
    display: flex;
    align-items: flex-start;
}

.provider-header {
    grid-area: title;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-left: 20px;
}

.provider-logo-wrapper {
    grid-area: logo;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.provider-logo {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: transparent;
}

.provider-number {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.provider-description {
    grid-area: description;
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 20px;
}

.provider-features {
    grid-area: features;
    list-style: none;
    margin-bottom: 15px;
    padding-left: 20px;
}

.provider-features li {
    padding: 4px 0;
    padding-left: 22px;
    position: relative;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.provider-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.provider-score-wrapper {
    grid-row: 1 / -1;
    grid-column: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: transparent;
    border-left: 1px solid #e0e0e0;
    height: 100%;
    min-height: 150px;
}

.provider-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 16px;
}

.provider-score-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.02em;
}

.provider-score-value {
    font-size: 34px;
    font-weight: 800;
    color: #111827;
}

.provider-score-outof {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.provider-cta {
    background-color: #16a34a;
    color: #fff;
    padding: 18px 16px;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    display: block;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.provider-cta:hover {
    background-color: #15803d;
}

/* Legal Pages */
.legal-page {
    background-color: #fff;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    line-height: 1.8;
    color: #333;
}

.legal-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.legal-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page p {
    margin-bottom: 15px;
    font-size: 16px;
    text-align: justify;
}

.legal-page ul {
    margin: 15px 0 15px 30px;
    list-style-type: disc;
}

.legal-page li {
    margin-bottom: 8px;
    font-size: 16px;
}

.legal-page strong {
    font-weight: 600;
    color: #333;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

/* How We Choose */
.how-we-choose {
    background-color: #fff;
    border-radius: 0;
    padding: 40px;
    margin: 0 auto 40px auto;
    max-width: 1200px;
    border: 1px solid #e0e0e0;
}

.how-we-choose h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.how-we-choose p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    height: 80px;
    width: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    filter: brightness(0) invert(1);
}

.footer-logo text {
    fill: white !important;
}

.footer-separator {
    border: none;
    border-top: 1px solid #333;
    margin: 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a,
.footer-links .link-button {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover,
.footer-links .link-button:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 14px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 80px 0;
        min-height: 400px;
    }

    .page-header-content {
        padding: 0 20px;
    }

    .page-header h1 {
        font-size: 28px;
        color: #fff;
    }

    .featured-offer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        margin: -40px 20px 40px 20px;
    }

    .featured-offer-content {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .cta-button {
        margin-left: 0;
        width: 100%;
    }

    /* Cards (mobile): empilha o grid e deixa score+botão em largura total */
    .providers-list {
        padding: 0 16px;
    }

    .provider-link {
        grid-template-columns: 80px 1fr;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "logo title"
            "description description"
            "features features"
            "score score";
        padding: 20px;
        min-height: auto;
        row-gap: 10px;
    }

    .provider-logo {
        width: 64px;
        height: 64px;
        max-width: 64px;
        max-height: 64px;
    }

    .provider-header {
        padding-left: 12px;
        margin-bottom: 0;
    }

    .provider-number {
        font-size: 18px;
    }

    .provider-description {
        padding-left: 0;
        margin-bottom: 0;
    }

    .provider-features {
        padding-left: 0;
        margin-bottom: 0;
    }

    .provider-score-wrapper {
        grid-column: 1 / -1;
        grid-row: auto;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding: 16px 0 0 0;
        margin-top: 8px;
        min-height: auto;
        align-items: center;
    }

    .provider-score {
        margin-bottom: 12px;
    }

    .provider-score-value {
        font-size: 32px;
    }

    .provider-cta {
        width: 100%;
        white-space: normal;
        padding: 16px 14px;
    }

    .how-we-choose {
        padding: 30px 20px;
    }
}

@media (max-width: 420px) {
    .provider-link {
        grid-template-columns: 64px 1fr;
        padding: 18px;
    }

    .provider-number {
        font-size: 17px;
    }

    .provider-score-value {
        font-size: 30px;
    }
}
