* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: #222;
}

/* Header vermelho */
.header-red {
    background: #c00;
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Arial Narrow', Haettenschweiler, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.icon-search {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}
.icon-search::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 8px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}

.icon-menu {
    width: 22px;
    height: 2px;
    background: #fff;
    box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
}

/* Faixa preta (ticker) */
.ticker-wrap {
    background: #111;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker 20s linear infinite;
}

.ticker span {
    padding-right: 4em;
    white-space: nowrap;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Main */
main {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 16px 24px;
}

.headline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
    max-width: 90%;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.urgent {
    color: #c00;
    text-transform: uppercase;
}

/* VSL */
.vsl {
    position: relative;
    max-width: 380px;
    margin: 0 auto 0;
}

.vsl-wrap {
    padding: 178.1481% 0 0 0;
    position: relative;
    overflow: hidden;
}

.vsl iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste para o player da Vturb (sem espaço branco gigante) */
.vsl-vturb-wrap {
    padding: 0;
    height: auto;
}

/* Card de oferta abaixo da VSL */
.pricing-card-wrap {
    max-width: 380px;
    margin: 4px auto 0;
    padding: 0 16px;
}

/* Oferta escondida até o momento exato */
.pricing-card-wrap.delayed-offer {
    display: none;              /* não ocupa espaço antes da hora */
}

.pricing-card-wrap.delayed-offer.offer-visible {
    display: block;
}

.pricing-card {
    border-radius: 14px;
    border: 2px solid #e53935;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 0.9rem;
}

.pricing-card-header {
    background: #f57c00;
    padding: 8px 8px 10px;
    color: #fff;
}

.pricing-ribbon {
    display: inline-block;
    background: #2e7d32;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.pricing-subtitle {
    font-size: 0.8rem;
}

.pricing-image {
    padding: 10px 12px 0;
}

.pricing-image img {
    display: block;
    width: 100%;
    height: auto;
}

.pricing-main {
    padding: 10px 14px 14px;
}

.pricing-price {
    margin-bottom: 4px;
}

.price-big {
    font-size: 1.4rem;
    font-weight: 700;
}

.price-per {
    margin-left: 2px;
}

.pricing-old {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 4px;
}

.new-price {
    font-weight: 700;
}

.pricing-saving {
    background: #ffeb3b;
    color: #444;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.pricing-cta {
    display: block;
    margin: 6px 0 8px;
    padding: 12px 16px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
}

.pricing-free {
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 2px;
}

.pricing-guarantee {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 8px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 0.7rem;
}

.card-flag {
    border-radius: 4px;
    padding: 4px 6px;
    background: #eee;
}

.viewer-count {
    font-size: 0.9rem;
    color: #b33;
    margin-top: 0;
    text-align: center;
    font-weight: normal;
}

/* Imagem da oferta entre VSL e comentários */
.offer-image {
    max-width: 380px;
    margin: 12px auto 0;
    padding: 0 16px;
}

.offer-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* CTA: escondido até o momento exato */
.cta-wrap {
    max-width: 380px;
    margin: 12px auto 0;
    padding: 0 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.cta-wrap.cta-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background: #c00;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(204, 0, 0, 0.4);
    transition: background 0.2s, transform 0.05s;
}

.cta-button:hover {
    background: #a00;
}

.cta-button:active {
    transform: scale(0.98);
}

/* Comentários */
.comments {
    margin-top: 24px;
}

.comments-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-card {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-name {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-text {
    font-size: 0.9rem;
    margin: 4px 0 6px;
    color: #333;
}

.comment-meta {
    font-size: 0.8rem;
    color: #666;
}

.comment-reactions {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.85rem;
}

.comment-reactions-like {
    color: #1a73e8;
}

/* Rodapé */
.site-footer {
    background: #1f2933;
    color: #e5e7eb;
    padding: 32px 16px 40px;
    margin-top: 32px;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-copy {
    text-align: center;
    margin-bottom: 12px;
}

.footer-links {
    text-align: center;
    margin-bottom: 16px;
}

.footer-links a {
    color: #f9fafb;
    text-decoration: none;
    font-weight: 500;
}

.footer-links .sep {
    margin: 0 6px;
    color: #9ca3af;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 4px;
}

.footer-text {
    line-height: 1.5;
    color: #d1d5db;
}

.footer-text.small {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 10px;
}

/* Botão secreto de debug */
.debug-button {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: none;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(17, 24, 39, 0.85);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.debug-button-visible {
    display: inline-block;
}
