/* HORIZONTAL PARTNER OFFER CARD (for Página da Cidade) */

.horizontal-partner-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, #0B1220 0%, #131B21 100%);
    position: relative;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.06) inset;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    container-type: inline-size;
    container-name: horizontal-card;
}

.horizontal-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.08) inset;
}

.horizontal-partner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hp-top-accent {
    height: 2px;
    width: 100%;
    background: var(--partner-color, #EF4444);
}

.hp-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px 16px;
    width: 100%;
}

.hp-badge-bar {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    border: 1px solid rgba(0, 230, 163, 0.3);
    background: rgba(0, 230, 163, 0.05);
    color: #00E6A3;
    margin-bottom: 16px;
}
.hp-badge-icon { font-size: 11px; line-height: 1; flex-shrink: 0; }
.hp-badge-text { line-height: 1.3; }

/* LEFT: COPY */
.hp-copy-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-copy-headline {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.hp-copy-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hp-copy-bullets .bullet-item {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}
.hp-copy-bullets .bullet-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #00E6A3;
}

.hp-logo-side {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    position: relative;
}
.hp-logo-side::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: url('/img/map-brazil-dots.svg') no-repeat right center;
    background-size: contain;
    opacity: 0.1;
    z-index: 0;
}
.hp-logo-wrap {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hp-logo {
    max-height: 48px;
    max-width: 140px;
    object-fit: contain;
}
.hp-plan-badge {
    position: relative;
    z-index: 1;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    background: transparent;
    border: none;
    padding: 0;
}

/* SAFE ZONE (Row 2) */
.hp-safe-zone {
    margin: 0 24px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    container-type: inline-size;
}

.hp-stats {
    display: flex;
    flex: 1;
    min-width: 0; /* Anti-break */
    align-items: center;
    gap: 24px;
}
.hp-stat {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hp-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.07);
}
.hp-stat-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    letter-spacing: 1.2px;
}
.hp-stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.hp-speed-val {
    font-size: clamp(24px, 8cqw, 42px);
    font-weight: 900;
    color: #00E6A3;
    line-height: 1;
    letter-spacing: -1.5px;
    white-space: nowrap;
}
.hp-speed-unit {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hp-price-currency {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
}
.hp-price-val {
    font-size: clamp(22px, 7cqw, 32px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}
.hp-price-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.hp-price-period {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}
.hp-destaque-text {
    font-size: 9px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    font-weight: 600;
}

/* CTA in Safe Zone */
.hp-cta-btn {
    flex: 0 0 auto;
    padding: 16px 28px;
    margin: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--partner-color) 0%, color-mix(in srgb, var(--partner-color) 80%, #000) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px var(--partner-bg-glow);
    white-space: nowrap; /* Anti-break */
}
.hp-cta-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--partner-bg-glow);
}

/* ROW 3 (FEATURES) */
.hp-features {
    display: flex;
    justify-content: space-between;
    padding: 0 32px 20px;
}
.hp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E6A3;
}
.hp-feature-icon svg { width: 18px; height: 18px; }
.hp-feature-text {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTAINER RESPONSIVE FIX (Intelligent Adaptation) */
@container horizontal-card (max-width: 600px) {
    .hp-row-1 {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 16px 16px 12px;
        align-items: center;
        gap: 12px;
    }
    .hp-copy-side {
        margin-bottom: 0;
        flex: 1;
        min-width: 0;
    }
    .hp-logo-side {
        flex: 0 0 90px;
        width: 90px;
        align-items: flex-end;
    }
    .hp-logo-side::before {
        display: none;
    }
    .hp-logo {
        max-width: 100%;
        max-height: 40px;
    }
    .hp-copy-headline {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .hp-copy-bullets .bullet-item {
        font-size: 10px;
    }
    .hp-badge-bar {
        padding: 4px 8px;
        font-size: 7.5px;
        margin-bottom: 10px;
    }
    .hp-safe-zone {
        flex-direction: column;
        margin: 0 16px 16px;
        padding: 12px;
        gap: 12px;
    }
    .hp-stats {
        width: 100%;
        justify-content: space-between;
    }
    .hp-cta-btn {
        width: 100%;
        padding: 14px 20px;
    }
    .hp-features {
        padding: 0 16px 16px;
        flex-direction: column;
        gap: 8px;
    }
    .hp-feature-text {
        font-size: 11px;
    }
}
@container horizontal-card (max-width: 380px) {
    .hp-stats {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hp-stat-divider {
        width: 100%;
        height: 1px;
    }
}


/* ============================================
   HORIZONTAL ARTE B â€” White Premium 2-col
   partner-offer-horizontal.css
   ============================================ */
.horizontal-partner-card-b,
.horizontal-partner-card-b * { box-sizing: border-box; }

.horizontal-partner-card-b {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #0f172a;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    container-type: inline-size;
    container-name: hb-card;
}
.horizontal-partner-card-b:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.13), 0 4px 10px rgba(0,0,0,0.06);
}

/* Top accent bar */
.hb-top-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--partner-color, #10b981);
    z-index: 1;
}

/* 2-column layout */
.hb-layout {
    display: flex;
    min-height: 200px;
}

/* Left copy column */
.hb-copy-col {
    flex: 1;
    padding: 28px 20px 20px 24px; /* 28px top clears accent bar */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    min-width: 0;
}

.hb-top-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Badge pill */
.hb-badge-pill {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--partner-color, #10b981);
    border: 1.5px solid var(--partner-color, #10b981);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
    opacity: 0.9;
}

/* Headline */
.hb-headline {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.3px;
    max-width: 300px;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Bullets */
.hb-bullets {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 2px;
}

/* Bottom block: stats + CTA */
.hb-bottom-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

/* Stats */
.hb-stats {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.hb-stat { display: flex; flex-direction: column; gap: 2px; }
.hb-stat-label {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hb-stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;
}
.hb-speed-val {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    color: var(--partner-color, #10b981);
    letter-spacing: -2px;
    font-family: 'Inter', sans-serif;
}
.hb-speed-unit {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    align-self: flex-end;
    padding-bottom: 3px;
}
.hb-stat-divider {
    width: 1px;
    height: 44px;
    background: #e2e8f0;
    align-self: flex-end;
}
.hb-price-currency {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    align-self: flex-end;
    padding-bottom: 3px;
}
.hb-price-val {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    letter-spacing: -1.5px;
    font-family: 'Inter', sans-serif;
}
.hb-price-period {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    align-self: flex-end;
    padding-bottom: 3px;
}

/* CTA Button */
.hb-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: var(--partner-color, #10b981);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    letter-spacing: 0.2px;
}
.hb-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    filter: brightness(1.05);
}

/* Right brand column */
.hb-brand-col {
    width: 165px;
    flex-shrink: 0;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.hb-brand-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--partner-color, #10b981);
    pointer-events: none;
}
.hb-brand-circle-1 {
    bottom: -50px; right: -50px;
    width: 150px; height: 150px;
    opacity: 0.06;
}
.hb-brand-circle-2 {
    top: -30px; left: -30px;
    width: 90px; height: 90px;
    opacity: 0.04;
}

/* Logo */
.hb-logo-img {
    max-height: 60px;
    max-width: 130px;
    object-fit: contain;
    display: none;
    position: relative;
    z-index: 1;
}
.hb-logo-fallback {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    display: none;
    letter-spacing: -1px;
    color: var(--partner-color, #10b981);
    text-align: center;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

/* ============================================
   CONTAINER RESPONSIVE FOR ARTE B
   ============================================ */
@container hb-card (max-width: 600px) {
    .hb-layout {
        flex-direction: row;
        align-items: center;
        min-height: auto;
    }
    .hb-copy-col {
        padding: 20px 16px 16px;
    }
    .hb-brand-col {
        width: 100px;
        padding: 16px 10px;
        align-self: stretch;
    }
    .hb-headline {
        font-size: 16px;
    }
    .hb-speed-val {
        font-size: 28px;
    }
    .hb-price-val {
        font-size: 26px;
    }
    .hb-cta {
        padding: 12px 16px;
        font-size: 14px;
    }
    .hb-logo-img {
        max-height: 40px;
    }
    .hb-brand-circle-1 {
        bottom: -20px; right: -20px;
        width: 80px; height: 80px;
    }
    .hb-brand-circle-2 {
        display: none;
    }
    .hb-stats {
        gap: 12px;
    }
}
@container hb-card (max-width: 400px) {
    .hb-layout {
        flex-direction: column;
    }
    .hb-brand-col {
        width: 100%;
        flex-direction: row;
        padding: 16px;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        justify-content: space-between;
        align-items: center;
    }
    .hb-brand-circle-1 {
        top: -30px; bottom: auto; right: -10px;
    }
}

/* ============================================
   HORIZONTAL ARTE C â€” uses shared .ac-* classes
   Only wrapper override needed
   ============================================ */
.horizontal-partner-card-c {
    margin-bottom: 25px;
    width: 100%;
}

/* Dropdown link container */
.city-partner-link-container {
    display: none;
    margin-bottom: 25px;
    text-align: center;
}
.city-partner-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: underline;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.city-partner-link:hover {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.4);
}
