/* ============================================
   ARTE A — 2026 Big Tech Premium Card
   VelocidadeReal | partner-offer.css
   ============================================ */

/* CSS Variables */
:root {
    --partner-color: #EF4444;
    --partner-bg-glow: rgba(239, 68, 68, 0.08);
}

/* ── Outer card ── */
.preview-arte-card,
.preview-arte-card * { box-sizing: border-box; }

.preview-arte-card {
    background: linear-gradient(145deg, #0B1220 0%, #131B21 100%);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.09);
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-bottom: 20px;
    /* NOTE: NO container-type here — causes card to collapse in flex/modal contexts */
}
.preview-arte-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Subtle noise overlay */
.preview-arte-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    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");
}

/* ── Top ambient glow line ── */
.preview-top-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--partner-color) 50%, transparent 100%);
    opacity: 0.85;
    z-index: 2;
}

/* ── A1 HEADER: Badge + Logo panel ── */
/* ── A1 BRAND ZONE: full-width logo hero + floating badge ── */
.a1-brand-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 22px;  /* updated for inline badge */
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    gap: 6px;
    background: var(--partner-bg-glow);
}

/* Soft radial glow behind the logo */
.a1-brand-zone::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--partner-bg-glow);
    filter: blur(50px);
    opacity: 3;
    z-index: 0;
    pointer-events: none;
}

/* Base badge styles (layout-agnostic) */
.preview-badge-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 20px;
    padding: 6px 13px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: auto;
}

/* Inside brand zone: inline layout for badge */
.a1-brand-zone .preview-badge-bar {
    position: relative;
    top: auto; left: auto; right: auto;
    margin-bottom: 15px;
    align-self: center;
    border-color: rgba(0, 230, 163, 0.3);
    background: rgba(0, 230, 163, 0.05);
    z-index: 2;
}
.preview-arte-card .preview-badge-icon {
    color: #00E6A3;
}
.preview-arte-card .preview-badge-text {
    color: #00E6A3;
}
.preview-badge-icon {
    font-size: 10px;
    line-height: 1;
    flex-shrink: 0;
}
.preview-badge-text {
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

/* Logo hero: centered, big, prominent */
.a1-brand-zone img {
    max-height: 52px;
    max-width: 150px;
    object-fit: contain;
    display: none;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
}

/* Name fallback (text logo) */
.partner-name-fallback {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    display: none;
    letter-spacing: -2px;
    color: var(--partner-color);
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px var(--partner-bg-glow);
}

/* Plan badge below logo */
.preview-plan-badge,
.partner-title {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    line-height: 1;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* ── COPY section ── */
.preview-copy-inside {
    padding: 18px 22px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: transparent;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.preview-copy-headline {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    overflow-wrap: break-word;
}
.preview-arte-card .preview-copy-headline {
    text-align: center;
}
.preview-copy-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-wrap: break-word;
}
.preview-arte-card .bullet-item svg {
    color: #00E6A3;
}

/* ── STATS CARD: Speed | Price ── */
.a1-safe-zone {
    margin: 18px 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    container-type: inline-size;
}
.a1-stats {
    display: flex;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.a1-stat {
    flex: 1;
    min-width: 0;     /* permite que a coluna encolha em telas pequenas */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.a1-stat-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 5px;
}
.a1-stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    min-width: 0;       /* permite flex-item encolher */
    overflow: visible;  /* números NUNCA devem ser cortados */
}
.a1-stat-divider { display: none; }

/* Speed in stats — NÃO usar ellipsis em valores numéricos */
.a1-stats .speed-val {
    font-size: clamp(24px, 12cqw, 38px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: #00E6A3;
    font-family: 'Inter', sans-serif;
}
.a1-stats .speed-unit {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    padding-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-end;
}

/* Price in stats — NÃO usar ellipsis em valores monetários */
.a1-stats .partner-price-val {
    font-size: clamp(20px, 9cqw, 28px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}
.a1-stats .preview-price-currency {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    align-self: flex-end;
    padding-bottom: 2px;
}
/* /mês e destaque ficam abaixo do valor, em .a1-price-meta */
.a1-price-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    flex-wrap: wrap;
}
.a1-price-meta .preview-price-period {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
}
.a1-stats .preview-destaque-text {
    font-size: 8px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── CTA BUTTON ── */
.preview-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: none;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--partner-color) 0%, color-mix(in srgb, var(--partner-color) 80%, #000) 100%);
    box-shadow: 0 4px 24px var(--partner-bg-glow), 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    position: relative;
    overflow: hidden;
}
.preview-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
}
.preview-cta:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.08);
    box-shadow: 0 10px 32px var(--partner-bg-glow), 0 4px 16px rgba(0,0,0,0.4);
}

/* ── FEATURES ROW ── */
.preview-features {
    display: flex;
    justify-content: space-around;
    padding: 14px 22px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
}
.preview-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    width: 33%;
}
.preview-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: rgba(255,255,255,0.6);
}
.preview-arte-card .preview-feature-icon {
    color: #00E6A3;
}
.preview-feature-icon svg { width: 15px; height: 15px; }
.preview-feature-text {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── HIDDEN: old speed-dial / logo-row / arte-inner — scoped to production card only ── */
#partner-offer-card .preview-speed-dial,
#partner-offer-card .preview-speed-dial-bg,
#partner-offer-card .preview-speed-dial-inner,
#partner-offer-card .preview-speed-info,
#partner-offer-card .preview-speed-wrap,
#partner-offer-card .preview-logo-row,
#partner-offer-card .preview-logo-wrap,
#partner-offer-card .preview-arte-inner,
#partner-offer-card .preview-price-section,
#partner-offer-card .preview-speed-label,
#partner-offer-card .preview-speed-value,
#partner-offer-card .preview-speed-sub,
#partner-offer-card .speed-val-large { display: none !important; }



/* Old duplicate removed */
/* ============================================
   ARTE B â€” Minimalista (White Premium)
   partner-offer.css | VelocidadeReal
   ============================================ */
.preview-arte-card-b,
.preview-arte-card-b * { box-sizing: border-box; }

.preview-arte-card-b {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: #0f172a;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.preview-arte-card-b:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
}

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

/* Main content wrapper */
.ab-content {
    padding: 28px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Badge pill + Logo row */
.ab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}
.ab-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: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    opacity: 0.9;
    white-space: nowrap;
    flex-shrink: 0;
}
.ab-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 48px;
}
.ab-logo-wrap img {
    max-height: 48px;
    max-width: 130px;
    object-fit: contain;
    display: none;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}
.ab-logo-fallback {
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    display: none;
    letter-spacing: -1px;
    color: var(--partner-color, #10b981);
}

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

/* Bullets */
.ab-bullets {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Divider */
.ab-divider { height: 1px; background: #f1f5f9; }

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

/* CTA Button - Arte B */
.ab-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.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    letter-spacing: 0.2px;
}
.ab-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
    filter: brightness(1.05);
}


/* ============================================
   ARTE C â€” Dark Theme
   partner-offer.css | VelocidadeReal
   ============================================ */
.preview-arte-card-c,
.preview-arte-card-c * { box-sizing: border-box; }

.preview-arte-card-c {
    background: rgba(13, 17, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-shadow: 0 0 40px var(--partner-bg-glow, rgba(239,68,68,0.10));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.preview-arte-card-c:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 50px var(--partner-bg-glow, rgba(239,68,68,0.18));
}

/* Main content wrapper */
.ac-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Corner badge ("MAIS ESCOLHIDO" etc) */
.ac-corner-badge {
    position: absolute;
    top: 0; right: 0;
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 0 20px 0 12px;
    display: none;
    z-index: 2;
}

/* Logo block */
.ac-logo-block {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.ac-logo-wrap {
    background: var(--partner-bg-glow, rgba(255,255,255,0.05));
    border-radius: 12px;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 100px;
}
.ac-logo-wrap img {
    max-height: 35px;
    max-width: 100%;
    object-fit: contain;
    display: none;
}
.ac-logo-fallback {
    font-size: 14px;
    font-weight: 900;
    font-style: italic;
    display: none;
    letter-spacing: -1px;
    color: #ffffff;
}

/* Speed block */
.ac-speed-block { margin-bottom: 14px; }
.ac-speed-val {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--partner-color, #ef4444);
    font-family: 'Inter', sans-serif;
}
.ac-speed-unit {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    margin-left: 4px;
    line-height: 1.8;
}

/* Price block */
.ac-price-block {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.ac-price-from {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}
.ac-price-currency {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    align-self: flex-end;
    padding-bottom: 2px;
}
.ac-price-val {
    font-size: 30px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    font-family: 'Inter', sans-serif;
}
.ac-price-period {
    font-size: 12px;
    color: #94a3b8;
    align-self: flex-end;
    padding-bottom: 2px;
}

/* Bullets */
.ac-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

/* CTA Button - Arte C */
.ac-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: var(--partner-color, #ef4444);
    box-shadow: 0 0 20px var(--partner-bg-glow, rgba(239,68,68,0.3));
    transition: transform 0.15s ease, filter 0.15s ease;
}
.ac-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
