/* ============================================================
   MYSIMTRAVEL - CATEGORY / DESTINO PAGE
   Carregado nas paginas com template "Categoria de Destino"
   e tambem reaproveitado pela pagina de planos recomendados.
   ============================================================ */

.site-main--category { padding: 0; background: var(--color-white); }

/* ── HERO ─────────────────────────────────────────────── */
.cat-hero {
    position: relative;
    padding: var(--space-3xl) 0 var(--space-4xl);
    background: linear-gradient(135deg, #FFF8F5 0%, #FFE9DD 60%, #FFD7C2 100%);
    border-bottom: 1px solid var(--color-gray-100);
    overflow: hidden;
}

.cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px 320px at 88% 12%, rgba(255, 80, 0, 0.18), transparent 60%),
        radial-gradient(500px 260px at 8% 92%, rgba(255, 80, 0, 0.12), transparent 60%);
}

.cat-hero .breadcrumb {
    position: relative;
    z-index: 1;
    padding-bottom: var(--space-xl);
}

.cat-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.cat-hero__content { max-width: 640px; }

.cat-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cat-hero__badge i { color: var(--color-primary); }

.cat-hero__title {
    font-size: clamp(2rem, 4.5vw, var(--text-5xl));
    line-height: 1.05;
    color: var(--color-dark);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    letter-spacing: -0.5px;
}

.cat-hero__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    font-size: 2.4rem;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    line-height: 1;
}

.cat-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-700);
    line-height: 1.65;
    margin-bottom: var(--space-xl);
    max-width: 580px;
}

.cat-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.cat-hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 14px rgba(255, 80, 0, 0.08);
}

.cat-hero__feature i { color: var(--color-primary); font-size: 13px; }

.cat-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cat-hero__actions .btn--outline {
    background: transparent;
    color: var(--color-dark);
    border: 1.5px solid var(--color-dark);
}

.cat-hero__actions .btn--outline:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ── TRUST CARD ───────────────────────────────────────── */
.cat-hero__trust-card { position: relative; z-index: 1; }

.trust-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.trust-card::after {
    content: '';
    position: absolute;
    inset: auto -50px -50px auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 80, 0, 0.14), transparent 70%);
    pointer-events: none;
}

.trust-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.trust-card__stars { display: flex; gap: 2px; color: #FBBF24; font-size: var(--text-base); }

.trust-card__header strong {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--color-dark);
    line-height: 1;
}

.trust-card__text {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-100);
    position: relative;
    z-index: 1;
}

.trust-card__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.trust-card__list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
}

.trust-card__list li i {
    color: var(--color-success);
    font-size: 14px;
    flex-shrink: 0;
}

/* ── PRODUCTS SECTION ─────────────────────────────────── */
.cat-products {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.cat-products .section-header { margin-bottom: var(--space-2xl); }

.cat-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

/* ── PRODUCT CARD ─────────────────────────────────────── */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary-light);
}

.product-card__sale {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-error);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.product-card__type {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 45, 47, 0.92);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.product-card__type--esim {
    background: linear-gradient(135deg, #4A6CF7, #2851DB);
}

.product-card__image {
    position: relative;
    background: linear-gradient(135deg, var(--color-gray-50), var(--color-primary-50));
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.product-card__image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__placeholder i {
    font-size: 3.5rem;
    color: var(--color-gray-300);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-xl);
    gap: var(--space-md);
}

.product-card__title {
    font-size: var(--text-lg);
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.product-card__title a {
    color: var(--color-dark);
    transition: color var(--transition-fast);
}

.product-card__title a:hover { color: var(--color-primary); }

.product-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.product-card__spec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 6px 12px;
    border-radius: var(--radius-full);
}

.product-card__spec i { font-size: 10px; }

.product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.product-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.product-card__price-label {
    display: block;
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-card__price-old {
    font-size: var(--text-sm);
    color: var(--color-gray-400);
    text-decoration: line-through;
    margin-right: var(--space-sm);
}

.product-card__price-current {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-primary);
}

.product-card__price-current .woocommerce-Price-amount {
    font-family: var(--font-display);
    font-weight: 800;
}

.product-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-dark);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.product-card__btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(2px);
}

.cat-products__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-4xl);
    color: var(--color-gray-500);
    background: var(--color-gray-50);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--color-gray-300);
}

.cat-products__empty i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
    color: var(--color-primary);
}

/* ── CAT HOW (Como funciona) ──────────────────────────── */
.cat-how {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.cat-how__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.cat-how__step {
    position: relative;
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.cat-how__step:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(255, 80, 0, 0.1);
}

.cat-how__step-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary-light);
    line-height: 1;
}

.cat-how__step-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-lg);
    box-shadow: 0 12px 24px rgba(255, 80, 0, 0.25);
}

.cat-how__step-icon i { font-size: var(--text-2xl); }

.cat-how__step h4 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.cat-how__step p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ── COBERTURA ─────────────────────────────────────────── */
.cat-coverage__card {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-50), #FFF8F5);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    border: 1px solid rgba(255, 80, 0, 0.15);
    overflow: hidden;
}

.cat-coverage__card::before {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 80, 0, 0.18), transparent 70%);
    pointer-events: none;
}

.cat-coverage__header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.cat-coverage__header > i {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    font-size: var(--text-2xl);
    box-shadow: 0 12px 24px rgba(255, 80, 0, 0.3);
    flex-shrink: 0;
}

.cat-coverage__header h3 {
    font-size: var(--text-2xl);
    margin-bottom: 4px;
    color: var(--color-dark);
}

.cat-coverage__header p {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

.cat-coverage__countries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.cat-coverage__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-dark);
    background: var(--color-white);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-fast);
}

.cat-coverage__tag:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 80, 0, 0.12);
}

.cat-coverage__tag i {
    color: var(--color-success);
    font-size: 13px;
}

/* ── SEO CONTENT ──────────────────────────────────────── */
.cat-seo-content { background: var(--color-white); }

.cat-seo-content__body h2 {
    font-size: var(--text-3xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.cat-seo-content__body h3 {
    font-size: var(--text-2xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}

.cat-seo-content__body p,
.cat-seo-content__body ul,
.cat-seo-content__body ol {
    color: var(--color-gray-700);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.cat-seo-content__body ul,
.cat-seo-content__body ol {
    padding-left: var(--space-xl);
}

.cat-seo-content__body ul li { list-style: disc; }
.cat-seo-content__body ol li { list-style: decimal; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .cat-hero { padding: var(--space-2xl) 0 var(--space-3xl); }
    .cat-hero__inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .cat-hero__content { max-width: none; }
    .cat-hero__title { font-size: var(--text-4xl); }
    .cat-products__grid { grid-template-columns: repeat(2, 1fr); }
    .cat-how__grid { grid-template-columns: 1fr; }
    .cat-coverage__card { padding: var(--space-2xl); }
}

@media (max-width: 768px) {
    .cat-hero__title {
        font-size: var(--text-3xl);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    .cat-hero__flag {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
    .cat-hero__features { gap: 6px; }
    .cat-hero__feature {
        padding: 8px 14px;
        font-size: var(--text-xs);
    }
    .cat-hero__actions { flex-direction: column; }
    .cat-hero__actions .btn { width: 100%; justify-content: center; }
    .cat-products__grid { grid-template-columns: 1fr; }
    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }
    .product-card__btn { justify-content: center; }
    .cat-coverage__header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .cat-hero__title { font-size: var(--text-2xl); }
    .cat-hero__subtitle { font-size: var(--text-base); }
    .cat-coverage__card { padding: var(--space-xl); }
    .trust-card { padding: var(--space-xl); }
}
