/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de cores roxo escuro */
    --primary-purple: #6B46C1;
    --dark-purple: #4C1D95;
    --light-purple: #8B5CF6;
    --purple-gradient: linear-gradient(135deg, #6B46C1 0%, #8B5CF6 100%);
    
    /* Cores do Instagram para o botão */
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --instagram-hover: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    
    /* Cores neutras */
    --bg-dark: #0F0F23;
    --bg-secondary: #1A1A2E;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --border-color: #374151;
    
    /* Tipografia */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-purple: 0 10px 25px rgba(107, 70, 193, 0.3);
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

[hidden] { display: none !important; }

/* Tema claro: sobrescreve variáveis para alto contraste em fundo claro */
body.theme-light {
    --bg-dark: #f3f4f6;
    --bg-secondary: #f3f4f6;
    --text-primary: #0f172a; /* slate-900 */
    --text-secondary: #475569; /* slate-600 */
    --border-color: #e2e8f0; /* slate-200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Fundo animado suavizado para tema claro */
body.theme-light::before {
    background:
        radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

/* Cards e botões no tema claro: branco + roxo, alto contraste */
body.theme-light .service-card { background: #ffffff; border-color: #e5e7eb; box-shadow: var(--shadow-md); }
body.theme-light .card-desc { color: var(--text-secondary); }
body.theme-light .platform-btn { background: #ffffff; border-color: #e5e7eb; }
body.theme-light .platform-btn:hover { border-color: var(--primary-purple); }
body.theme-light .continue-button { box-shadow: var(--shadow-md); }

/* Promoções no tema claro */
body.theme-light .promo-item { background: #ffffff; border-color: #e5e7eb; }
body.theme-light .promo-item:hover { border-color: var(--primary-purple); }
body.theme-light .promo-highlight { color: #ffffff; background: var(--primary-purple); border: none; }
/* Checkout: melhorar contraste no tema claro para preview e stats */
body.theme-light #profilePreview { color: #0f172a; }
body.theme-light #profilePreview strong { color: #0f172a; }
body.theme-light #checkoutProfileStats { color: #0f172a !important; }

/* Áudio: trilha e gradiente com roxo em fundo claro */
body.theme-light .audio-progress { background: linear-gradient(90deg, rgba(107,70,193,0.25) 0%, rgba(139,92,246,0.25) 100%); }
body.theme-light .audio-progress::-webkit-slider-runnable-track { background: rgba(15,23,42,0.12); }
body.theme-light .audio-progress::-moz-range-track { background: rgba(15,23,42,0.12); }

/* Tutoriais e toasts: manter roxo com contraste em claro */
body.theme-light .tutorial-pop { border-color: #6366F1; background: rgba(99, 102, 241, 0.18); color: #111827; }
body.theme-light .tutorial-pop .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorialAudio { border-color: #cc2366; background: var(--instagram-gradient); color: #ffffff; }
body.theme-light #tutorialAudio .tutorial-pop-text { color: #ffffff; }
body.theme-light #tutorialAudio .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorialAudio::after { border-top-color: #cc2366; }
body.theme-light #tutorialPlatform { border-color: #cc2366; background: var(--instagram-gradient); color: #ffffff; }
body.theme-light #tutorialPlatform .tutorial-pop-text { color: #ffffff; }
body.theme-light #tutorialPlatform .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorialPlatform::after { border-top-color: #cc2366 !important; }
body.theme-light #tutorial3Usuario { border-color: #cc2366; background: var(--instagram-gradient); color: #ffffff; }
body.theme-light #tutorial3Usuario .tutorial-pop-text { color: #ffffff; }
body.theme-light #tutorial3Usuario .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorial3Usuario::after { border-top-color: #cc2366 !important; }
body.theme-light #tutorial4Validar { border-color: #cc2366; background: var(--instagram-gradient); color: #ffffff; }
body.theme-light #tutorial4Validar .tutorial-pop-text { color: #ffffff; }
body.theme-light #tutorial4Validar .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorial4Validar::after { border-top-color: #cc2366 !important; }
body.theme-light #tutorial5Pedido { border-color: #cc2366; background: var(--instagram-gradient); color: #ffffff; }
body.theme-light #tutorial5Pedido .tutorial-pop-text { color: #ffffff; }
body.theme-light #tutorial5Pedido .tutorial-pop-step { color: #ffffff; }
body.theme-light #tutorial5Pedido::after { border-top-color: #cc2366 !important; }
/* Seta segue a cor do balão específico no tema claro */
/* body.theme-light .tutorial-pop::after { border-top-color: #0f172a; } */
body.theme-light .toast { background: #ffffff; }

/* Notificações de venda no checkout: canto inferior esquerdo */
.checkout-page .toast-container { position: fixed; bottom: 1rem; right: 1rem; left: auto; top: auto; z-index: 1000; display: flex; flex-direction: column; gap: 0.4rem; }
.checkout-page .toast { display: flex; align-items: center; gap: 0.28rem; background: #ffffff; color: #0f172a; border: 1px solid #e5e7eb; box-shadow: 0 6px 16px rgba(0,0,0,0.10); padding: 0.24rem 0.80rem; border-radius: 6px; max-width: 240px; font-size: 0.74rem; font-family: 'Segoe UI', system-ui, sans-serif; transition: opacity 0.7s ease, transform 0.7s ease; }
.checkout-page .toast { position: relative; }
.checkout-page .toast-close { position: absolute; top: 4px; right: 6px; background: transparent; border: 0; color: #64748b; font-size: 0.6rem; line-height: 1; cursor: pointer; }
.checkout-page .toast-platform { width: 18px; height: 18px; flex-shrink: 0; color: currentColor; }
.checkout-page .toast-body { display: grid; gap: 0.04rem; }
.checkout-page .toast-meta { display: flex; align-items: center; gap: 0.25rem; }
.checkout-page .toast-dot { width: 6px; height: 6px; border-radius: 999px; background: #10b981; flex-shrink: 0; }
.checkout-page .toast-title { font-weight: 700; color: #0f172a; font-size: 0.80rem; }
.checkout-page .toast-desc { color: #334155; font-size: 0.74rem; }
.checkout-page .toast-time { color: #64748b; font-size: 0.72rem; }
@media (min-width: 1024px) {
  .checkout-page .toast-title { font-size: calc(0.80rem + 1px); }
  .checkout-page .toast-desc { font-size: calc(0.74rem + 1px); }
  .checkout-page .toast-time { font-size: calc(0.72rem + 1px); }
  .checkout-page .toast { max-width: 260px; padding: 0.32rem 0.90rem; }
}

/* Tema claro: card roxo com bom contraste */
body.theme-light .checkout-page .toast { background: #0f172a; border-color: #0f172a; color: #ffffff; }
body.theme-light .checkout-page .toast-close { color: #c4b5fd; }
body.theme-light .checkout-page .toast-platform { color: #ffffff; }
body.theme-light .checkout-page .toast-title { color: #ffffff; }
body.theme-light .checkout-page .toast-desc { color: #e5e7eb; }
body.theme-light .checkout-page .toast-time { color: #c4b5fd; }
body.theme-light #plataformaCard .card-desc { color: #0f172a; }

/* Background animado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out;
}

/* Marca do site (Checkout) */
.checkout-page .site-brand {
    position: absolute;
    top: 1rem;
    left: calc(2rem + 80px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}
.checkout-page .site-logo {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: contain;
}
.checkout-page .logo-light { display: none; }
body.theme-light .checkout-page .logo-dark { display: none; }
body.theme-light .checkout-page .logo-light { display: inline-block; }
.checkout-page .site-brand-text {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Letreiro no header */
.checkout-page .header-ticker { margin-top: -8px; margin-bottom: calc(0.35rem + 6px); text-align: center; }
.checkout-page .header-ticker .ticker-item { display: inline-block; font-weight: 700; color: var(--text-primary); transition: opacity 0.6s ease, transform 0.6s ease; }
.checkout-page .header-ticker .ticker-item.enter { opacity: 1; transform: translateY(0); }
.checkout-page .header-ticker .ticker-item.leave { opacity: 0; transform: translateY(-8px); }

/* Conteúdo principal */
.main-content {
    width: 100%;
    max-width: 960px;
    animation: fadeInUp 1s ease-out 0.3s both;
}
html, body { overflow-x: hidden; }
.checkout-page .cards-grid.checkout-grid { justify-content: center; justify-items: stretch; align-items: stretch; }
.checkout-page .service-card { width: 100%; margin: 0 auto; box-sizing: border-box; }
.checkout-page #clientFetchBtn { display: inline-block !important; }
.checkout-page .client-tools.active { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.checkout-page #tipoCards .service-card .card-content { display: flex; align-items: center; justify-content: center; }
@media (max-width: 639px) {
  .checkout-page .option-card, .checkout-page .plan-card { width: 100%; min-height: 92px; display: flex; align-items: center; justify-content: center; text-align: center; }
}
@media (min-width: 1024px) {
  .checkout-page .option-card { min-height: 120px; }
  .checkout-page #quantidadeSelectCard { max-width: 100%; }
  .checkout-page .section-block,
  .checkout-page #tipoDescCard,
  .checkout-page #planCards,
  .checkout-page #orderBumpInline,
  .checkout-page #resumo,
  .checkout-page #perfilCard { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .checkout-page .plan-cards { padding-left: 0; padding-right: 0; }
}
/* Centralização total dos cards de seguidores (desktop e mobile) */
.checkout-page #tipoCards .service-card { display: flex; align-items: center; justify-content: center; min-height: 140px; }
.checkout-page #tipoCards .service-card .card-content { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.2rem; width: 100%; height: 100%; text-align: center; }
.checkout-page #tipoCards .service-card .card-title, .checkout-page #tipoCards .service-card .card-desc { margin: 0; }
.checkout-page .plan-cards { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 1rem; max-width: 100%; margin: 0 auto; justify-content: flex-start; justify-items: stretch; align-items: stretch; }
@media (max-width: 1024px) { .checkout-page .plan-cards { grid-template-columns: repeat(2, minmax(240px, 1fr)); } }
@media (max-width: 640px) { .checkout-page .plan-cards { grid-template-columns: 1fr; max-width: 100%; } }
.checkout-page .client-tools { display: none; }
@media (max-width: 640px) {
    .checkout-page .header { margin-top: 2rem; }
  .checkout-page .client-tools.active { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
  .checkout-page .client-tools .select-input { max-width: 220px; }
  .checkout-page #clientFetchBtn { display: block; margin: 0.5rem auto 0; }
}

/* Blocos de seção e cards de serviços */
.section-block {
    margin: 2rem auto;
}

.section-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Centralizar seções com um único card (desktop) */
.section-block.centered .section-label {
    text-align: center;
}
/* Centralizar apenas o rótulo quando necessário (desktop) */
@media (min-width: 769px) {
    .centered-label {
        text-align: center;
    }
}
/* Mobile: centralizar somente o texto do label de Seguidores */
@media (max-width: 768px) {
    .centered-label {
        text-align: center;
    }
}
@media (min-width: 769px) {
    .section-block.centered .cards-grid:not(.checkout-grid) {
        grid-template-columns: minmax(280px, 360px);
        justify-content: center;
        justify-items: center;
    }
    .checkout-page #tipoCards,
    .checkout-page #tipoDescCard,
    .checkout-page #planCards,
    .checkout-page #orderBumpInline,
    .checkout-page #resumo,
    .checkout-page #perfilCard {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Unificar largura dos blocos de tipo, descrição e planos no checkout */
.checkout-page #tipoCards,
.checkout-page #tipoDescCard,
.checkout-page #planCards,
.checkout-page #perfilCard,
.checkout-page #orderBumpInline,
.checkout-page #resumo {
    width: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* Resumo: permitir quebra de linha para bullets das promoções */
.checkout-page #resumo #resPromos {
  white-space: pre-line;
  display: block;
}

.service-card {
    display: block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #6B46C1;
}

/* Card desabilitado (Seguidores Orgânicos) */
.service-card.disabled {
    cursor: not-allowed;
    opacity: 0.6;
    filter: grayscale(25%);
    border-style: dashed;
}
.service-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}
.service-card.disabled::after {
    content: 'Disponível para teste somente após primeira compra.';
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2.25rem;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
}
.service-card.disabled:hover::after {
    display: block;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    overflow: visible;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Inputs de seleção com estética de card */
.select-input {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.875rem 1.125rem;
    border: 1px solid #4B5563; /* contraste um pouco maior */
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: var(--font-family);
    box-shadow: var(--shadow-sm);
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.select-input:hover {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.10);
}

.select-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.45);
    background: rgba(107, 70, 193, 0.12);
}

.select-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (min-width: 1024px) {
    .select-input {
        padding: 1rem 1.25rem; /* mais largo no desktop */
        font-size: 1.05rem;
    }
}

/* Container do botão */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Botão continuar com estilo Instagram */
.continue-button {
    background: var(--instagram-gradient);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
    position: relative;
    overflow: hidden;
    animation: buttonSlideIn 0.8s ease-out;
}

.continue-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.continue-button:hover::before {
    left: 100%;
}

.continue-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(240, 148, 51, 0.4);
}

.continue-button:active {
    transform: translateY(-1px) scale(1.02);
}
.continue-button.small {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: var(--shadow-purple);
}

.status-green { color: #22c55e; }
.status-yellow { color: #f59e0b; }
.status-red { color: #ef4444; }
.status-blue { color: #3b82f6; }
.service-card.disabled { opacity: 0.6; pointer-events: none; }
.status-warning { color: var(--text-secondary); font-weight: 600; }
.status-maint-icon { width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; color: #fff; filter: grayscale(100%); }
.theme-light .status-maint-icon { color: #000; }

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    transition: transform 0.3s ease;
}

.continue-button:hover .button-icon {
    transform: translateX(5px);
}

/* Ajustes específicos para o botão Comprar seguidores */
#buyFollowersBtn {
    text-decoration: none !important;
    padding: 0.7rem 3rem; /* menor altura, mais largo */
    min-width: 220px;
}
#buyFollowersBtn .button-text {
    text-decoration: none !important;
    text-transform: uppercase;
}

/* Botão de copiar estilo ícone */
.copy-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.copy-icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: #1d4ed8; }
.copy-icon-btn:active { transform: translateY(0); }
.copy-icon-btn svg { display:block; width: 24px; height: 24px; }
.copy-icon-btn.copied { border-color: #22c55e; }

/* Botão de alternância de tema */
.theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}
.theme-toggle:hover {
    border-color: var(--primary-purple);
    transform: translateY(-1px);
}
.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.35);
}
/* Ícones de tema (sol/lua): desktop usa texto, mobile usa ícones
   No tema claro, mostrar lua preta (ação: escurecer)
   No tema escuro, mostrar sol claro (ação: clarear) */
.theme-toggle .icon { font-size: 1.1rem; line-height: 1; display: none; }
.theme-toggle .theme-label { display: inline; }
/* Mobile: esconder texto e mostrar ícones com cores conforme tema */
@media (max-width: 768px) {
  .theme-toggle .theme-label { display: none; }
  .theme-toggle .icon { display: inline; }
  /* Tema CLARO: ícone lua preta */
  body.theme-light .theme-toggle .icon-moon { display: inline; color: #000000 !important; }
  body.theme-light .theme-toggle .icon-sun { display: none; }
  /* Tema ESCURO: ícone sol branco */
  body:not(.theme-light) .theme-toggle .icon-sun { display: inline; color: #ffffff !important; }
  body:not(.theme-light) .theme-toggle .icon-moon { display: none; }
  /* Garantir cor nos SVGs */
  .theme-toggle .icon-sun svg { color: #ffffff !important; }
  .theme-toggle .icon-moon svg { color: #000000 !important; }
  /* Mobile: remover fundo/borda do toggle e mostrar somente ícone */
  .fixed-menu .theme-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
  }
  /* Mobile + Tema CLARO: botão Cliente escuro */
   body.theme-light .fixed-menu .client-btn {
     background: #0f172a;
     color: #ffffff;
     border-color: #0f172a;
   }
   /* Mobile + Tema ESCURO: botão Cliente claro */
   body:not(.theme-light) .fixed-menu .client-btn {
     background: #ffffff;
     color: #0f172a;
     border-color: var(--border-color);
   }
   /* Mobile: reduzir padding-top para aproximar conteúdo do topo */
   body.has-fixed-menu { padding-top: 52px; }
 }
/* Tema claro: deixar theme-toggle e client-btn com paleta escura para combinar com toasts */
body.theme-light .theme-toggle { background: #0f172a; color: #ffffff; border-color: #0f172a; }
body.theme-light .theme-toggle:hover { border-color: #6B46C1; }
body.theme-light .client-btn { background: #0f172a; color: #ffffff; border-color: #0f172a; }
body.theme-light .client-btn:hover { border-color: #6B46C1; }

/* Menu fixo no topo */
.fixed-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  z-index: 2000;
}
.fixed-menu .menu-left,
.fixed-menu .menu-right { display: flex; align-items: center; gap: 0.5rem; }
.fixed-menu .site-brand { position: static; }
.fixed-menu .site-logo { width: 50px; height: 50px; }
.fixed-menu .site-brand-text { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.01em; color: var(--text-primary); white-space: nowrap; }
.fixed-menu .theme-toggle { position: static; top: auto; right: auto; }
.fixed-menu .client-btn { position: static; }

/* Mobile: padronizar tamanho dos botões e reduzir fonte da marca */
@media (max-width: 768px) {
  .fixed-menu .site-brand-text {
    font-size: 1.05rem;
    letter-spacing: 0.01em;
  }
  .fixed-menu .menu-right {
    gap: 8px;
  }
  /* Cliente: menor e com borda mais arredondada */
  .fixed-menu .client-btn {
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }
  /* Toggle de tema: mantém dimensões padrão */
  .fixed-menu .theme-toggle {
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    min-width: 40px;
  }
}

@media (min-width: 1024px) {
  .fixed-menu .menu-left { margin-left: calc(2rem + 60px); }
}

/* Offset para evitar sobreposição do conteúdo */
body.has-fixed-menu { padding-top: 64px; }

/* Ajuste de visibilidade dos logos claro/escuro no menu */
.logo-dark { display: inline; }
.logo-light { display: none; }
body.theme-light .logo-dark { display: none; }
body.theme-light .logo-light { display: inline; }

/* Toggle de plataforma (Instagram/TikTok) */
.platform-toggle {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0.5rem 0 1rem;
}
.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    font-weight: 600;
}
.platform-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary-purple); }
.platform-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.3); }
.platform-btn.instagram,
.platform-btn.tiktok {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}
.platform-btn svg { color: currentColor; }

.audio-player { display: flex; gap: 0.35rem; align-items: center; flex-wrap: wrap; }
.audio-element { width: 100%; display: none; }
.audio-controls { display: grid; grid-template-columns: auto 1fr auto; gap: 0.25rem; align-items: center; width: 100%; position: relative; overflow: visible; }
.audio-speed-btn { padding: 0.4rem 0.75rem; border: 1px solid var(--border-color); border-radius: 999px; background: var(--bg-secondary); color: var(--text-primary); cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.audio-speed-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: var(--primary-purple); }
.audio-speed-btn.active { border-color: var(--primary-purple); box-shadow: var(--shadow-sm); }
.audio-progress { width: 100%; height: 4px; appearance: none; background: linear-gradient(90deg, rgba(107,70,193,0.35) 0%, rgba(139,92,246,0.35) 100%); border-radius: 999px; outline: none; }
.audio-progress::-webkit-slider-runnable-track { height: 4px; background: rgba(255,255,255,0.12); border-radius: 999px; }
.audio-progress::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; background: var(--primary-purple); border-radius: 50%; margin-top: -4px; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.audio-progress::-moz-range-track { height: 4px; background: rgba(255,255,255,0.12); border-radius: 999px; }
.audio-progress::-moz-range-thumb { width: 12px; height: 12px; background: var(--primary-purple); border: none; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.audio-time { color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.audio-speed-row { display: flex; gap: 0.35rem; margin-top: 0; }

.checkout-page #audioCard .card-content { padding: 0.45rem 0.6rem; }


/* Desktop: reduzir largura do card de áudio e posicionar tutorial acima do botão */
@media (min-width: 1024px) {
  .checkout-page #audioCard { max-width: 560px; margin: 0 auto; margin-top: -10px; }
  .checkout-page #audioCard .card-content { padding: 0.35rem 0.6rem; }
#tutorialAudio { top: auto; bottom: auto; left: 0; transform: none; }
#tutorialPlatform { top: auto; bottom: auto; left: 0; transform: none; }
}

/* Posicionar tutorial de plataforma sobre os botões */
.platform-toggle { position: relative; }
#tutorialPlatform { position: absolute; }

/* Posicionar tutoriais de usuário e validar acima dos controles */
#tutorial3Usuario { position: absolute; }
#tutorial4Validar { position: absolute; }
@media (max-width: 639px) {
  #tutorial4Validar { margin-top: 50px; }
}

/* Posicionar tutorial de finalizar acima do botão */
.action-container { position: relative; }
#tutorial5Pedido { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); }
.checkout-page #paymentCard .phone-field { display: flex; flex-direction: column; align-items: center; }
.checkout-page #paymentCard .phone-field .select-input { max-width: 320px; }

/* Promoções */
.promo-list { display: grid; gap: 0.75rem; }
.promo-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 0.9rem; border: 1px solid var(--border-color); border-radius: 12px; background: #232336; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.promo-item:hover { border-color: var(--primary-purple); box-shadow: var(--shadow-sm); }
.promo-item input[type="checkbox"] { margin-top: 0.2rem; }
.promo-content { display: grid; gap: 0.2rem; }
.promo-highlight { font-weight: 700; color: #ffffff; background: var(--primary-purple); border: none; border-radius: 8px; padding: 0.15rem 0.5rem; text-transform: uppercase; letter-spacing: 0.02em; display: inline-block; }
.promo-title { font-weight: 600; color: var(--text-primary); }
.promo-item.warranty30 .promo-title { color: var(--primary-purple); text-transform: uppercase; }
.promo-item.warranty60 .promo-title { color: #ffffff; text-transform: none; }
.checkout-page #warranty60InfoBtn { background: var(--bg-secondary) !important; border: none !important; color: var(--text-primary) !important; box-shadow: none !important; }
.checkout-page #warranty60InfoBtn::before { display: none !important; }
.checkout-page #warranty60InfoBtn:hover { transform: none !important; box-shadow: none !important; }
.checkout-page #commentsExampleBtn { background: var(--bg-secondary) !important; border: none !important; color: var(--text-primary) !important; box-shadow: none !important; }
.checkout-page #commentsExampleBtn::before { display: none !important; }
.checkout-page #commentsExampleBtn:hover { transform: none !important; box-shadow: none !important; }
.checkout-page #warranty30InfoBtn,
.checkout-page #warrantyLifetimeInfoBtn { background: var(--bg-secondary) !important; border: none !important; color: var(--text-primary) !important; box-shadow: none !important; }
.checkout-page #warranty30InfoBtn::before,
.checkout-page #warrantyLifetimeInfoBtn::before { display: none !important; }
.checkout-page #warranty30InfoBtn:hover,
.checkout-page #warrantyLifetimeInfoBtn:hover { transform: none !important; box-shadow: none !important; }
.promo-item.warranty60 { background: #232336; border-color: var(--border-color); }
.promo-item.warrantyLifetime { background: #232336; border-color: var(--border-color); }
.promo-desc { color: var(--text-secondary); font-size: 0.95rem; }
.promo-item.upgrade { background: #232336; border-color: var(--border-color); }
.promo-item.comments { background: #232336; border-color: var(--border-color); }
.promo-item.warranty30 { background: #232336; border-color: var(--border-color); }
.promo-prices { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.likes-control { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.35rem; }
.likes-control .likes-arrow { padding: 0.25rem 0.5rem; border: 1px solid var(--border-color); border-radius: 999px; background: var(--bg-secondary); color: var(--text-primary); }
.likes-control .likes-qty { min-width: 48px; text-align: center; font-weight: 700; color: var(--text-primary); }
/* Balão de curtidas (usa estética dos tutorial-pop) */
.checkout-page #likesPromoTip { display: none; position: absolute; bottom: calc(100% + 6px); right: 0 !important; }
.checkout-page #likesPromoTip .tutorial-pop-text { color: var(--text-secondary); }
.promo-tip { position: absolute; right: 0; bottom: calc(100% + 6px); background: var(--bg-secondary); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 8px; padding: 6px 8px; font-size: 0.85rem; line-height: 1.2; max-width: 220px; box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .promo-tip { font-size: 0.8rem; max-width: 200px; } }
.promo-prices .old-price { color: #9ca3af; text-decoration: line-through; }
.promo-prices .discount-badge { background: rgba(34,197,94,0.18); color: #86efac; border: 1px solid rgba(34,197,94,0.35); border-radius: 999px; padding: 0.1rem 0.5rem; font-size: 0.8rem; }
.promo-prices .new-price { color: #22C55E; font-weight: 700; }

@media (min-width: 1024px) {
  /* Desktop: aumentar 2px textos das promoções */
  .promo-title { font-size: calc(1rem + 2px); }
  .promo-desc { font-size: calc(0.95rem + 2px); }
}

/* Depoimentos */
.testimonials-section { display: flex; justify-content: center; align-items: center; padding: 1rem 0; margin: 0.75rem 0 120px; width: 100%; flex-direction: column; }
.testimonials-carousel { display: grid; grid-template-columns: auto minmax(640px, 760px) auto; gap: 0.05rem; align-items: center; }
.testimonials-title { font-family: var(--font-family); font-weight: 700; font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.carousel-btn { padding: 0.5rem 0.9rem; border: 1px solid #0f172a; border-radius: 999px; background: #0f172a; color: #ffffff; cursor: pointer; font-size: 1.15rem; }
.testimonials-carousel .prev { justify-self: end; transform: translateX(14px); }
.testimonials-carousel .next { justify-self: start; transform: translateX(-14px); }
.carousel-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; display: flex; justify-content: center; }
.carousel-track { display: flex; gap: 0.5rem; align-items: center; padding: 0.25rem; justify-content: center; position: relative; width: max-content; }

@media (min-width: 1024px) {
  .audio-controls { grid-template-columns: auto 3fr auto; }
}
.carousel-item { position: relative; width: 340px; aspect-ratio: 9/16; height: auto; border-radius: 22px; overflow: hidden; transition: opacity 0.25s ease; box-shadow: none; scroll-snap-align: center; }
.carousel-item.active { width: 340px; aspect-ratio: 9/16; height: auto; opacity: 1; transform: none; box-shadow: 0 30px 70px rgba(0,0,0,0.35); z-index: 3; }
.carousel-item.pos-left, .carousel-item.pos-right { display: none; }
.carousel-item.pos-hidden-left { display: none; }
.carousel-item.pos-hidden-right { display: none; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; image-rendering: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }

@media (max-width: 640px) {
  .testimonials-carousel { grid-template-columns: auto minmax(340px, 94vw) auto; gap: 0.08rem; }
  .carousel-viewport { padding: 0 4px; }
  .carousel-track { gap: 0.35rem; }
  .carousel-item { width: clamp(200px, 60vw, 280px); height: auto; border-radius: 18px; }
  .carousel-item.active { width: clamp(280px, 70vw, 340px); height: auto; }
  .carousel-item.pos-left, .carousel-item.pos-right { display: none; }
  .testimonials-carousel .prev { transform: translateX(12px); }
  .testimonials-carousel .next { transform: translateX(-12px); }
  .checkout-page #warranty60InfoBtn,
  .checkout-page #commentsExampleBtn,
  .checkout-page #warranty30InfoBtn,
  .checkout-page #warrantyLifetimeInfoBtn { padding: 0.2rem 0.6rem !important; font-size: 12px !important; line-height: 1 !important; }
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.footer .footer-bar { display: flex; justify-content: space-between; align-items: center; max-width: 60vw; min-width: 420px; margin: 0 auto; padding: 0.5rem 1rem; }
@media (max-width: 640px) {
  .footer .footer-bar { max-width: 92vw; min-width: 0; }
  /* Ocultar link/ícone do Instagram no rodapé no mobile */
  .footer .instagram-link { display: none !important; }
}
.footer .footer-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text-secondary); text-decoration: none; }
.footer .footer-link:hover { color: var(--text-primary); }
.footer .footer-center { color: var(--text-secondary); }

/* Destaque selecionado para inputs de seleção (mobile) */
.select-input.selected { border-color: var(--primary-purple); box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.35); }

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(107, 70, 193, 0.3);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes buttonSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        margin-bottom: 2rem;
    }
    
    .video-container {
        border-radius: 15px;
        margin-bottom: 1.5rem;
    }
    
    .continue-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    #checkCheckoutButton { padding: 0.875rem 2rem !important; font-size: 1rem !important; margin-left: 0 !important; }
    #checkCheckoutButton .button-icon { width: 18px !important; height: 18px !important; }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .continue-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    #checkCheckoutButton { padding: 0.75rem 1.5rem !important; font-size: 0.9rem !important; margin-left: 0 !important; }
    #checkCheckoutButton .button-icon { width: 16px !important; height: 16px !important; }
}

@media (max-width: 640px) {
  #checkCheckoutButton .button-text { font-size: 1em !important; }
}

@media (min-width: 1024px) {
  #checkCheckoutButton { padding: 0.30rem 0.52rem !important; font-size: 13px !important; }
  #checkCheckoutButton .button-icon { width: 18px !important; height: 18px !important; }
}

/* Estados de foco para acessibilidade */
.continue-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.5);
}

.video-player:focus {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Estilo para quando o vídeo está carregando */
.video-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Título mais escuro no tema claro */
body.theme-light .checkout-page .title { color: #0f172a; text-shadow: none; }
/* Tema claro: subtítulo com contraste mais alto */
body.theme-light .checkout-page .subtitle { color: #0f172a; }

/* Destaque de seleção de cards (tipo e plano) */
.checkout-page .service-card.active { border-color: var(--primary-purple); box-shadow: var(--shadow-md); }
body.theme-light .checkout-page .service-card.active { border-color: var(--primary-purple); box-shadow: var(--shadow-md); }

/* Badge de desconto mais escura no tema claro */
body.theme-light .promo-prices .discount-badge {
  background: rgba(34,197,94,0.22);
  color: #166534;
  border-color: rgba(34,197,94,0.45);
}
body.theme-light .promo-prices .new-price { color: #22C55E; }

.checkout-page .client-tools { display: none; }
@media (max-width: 640px) {
  .checkout-page .header { margin-top: 1.2rem; }
  .checkout-page .header-ticker { margin-top: -12px; margin-bottom: 4px; }
  .checkout-page .client-tools { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
  .checkout-page .client-tools .select-input { max-width: 220px; }
  .checkout-page.container { padding-left: 1rem; padding-right: 1rem; }
  .checkout-page .cards-grid.checkout-grid { justify-content: center; }
  .checkout-page .cards-grid.checkout-grid { padding-left: 10px; padding-right: 10px; }
  .checkout-page .section-block { padding-left: 10px; padding-right: 10px; }
  .checkout-page .cards-grid.checkout-grid { padding-left: 10px; padding-right: 10px; }
  .checkout-page.container { justify-content: center; align-items: center; }
  /* Mobile: cards especiais ocupam 100% de largura */
  .checkout-page #perfilCard, .checkout-page #orderBumpInline, .checkout-page #resumo { width: calc(100vw - 20px) !important; max-width: none !important; margin-left: calc(50% - 50vw + 10px) !important; margin-right: calc(50% - 50vw + 10px) !important; }
  .checkout-page #perfilCard .card-content, .checkout-page #orderBumpInline .card-content, .checkout-page #resumo .card-content { align-items: stretch; width: 100%; padding-left: 0; padding-right: 0; }
  .checkout-page #orderBumpInline, .checkout-page #resumo { padding-left: 10px; padding-right: 10px; }
  .checkout-page #grupoUsername #checkCheckoutButton { margin-left: 0 !important; }
  .checkout-page #grupoUsername { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0.2rem; width: 100%; align-items: stretch; }
  .checkout-page #grupoUsername .continue-button { height: 100%; display: flex; align-items: center; justify-content: center; }
  .checkout-page .service-card { padding-left: 1rem; padding-right: 1rem; }
  .checkout-page #perfilCard { margin-left: 0; margin-right: 0; padding-left: 10px; padding-right: 10px; box-sizing: border-box; }
  .checkout-page #perfilCard .card-content { padding-left: 0; padding-right: 0; }
  .checkout-page #perfilCard .input-group { width: 100%; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .checkout-page #perfilCard .select-input { box-sizing: border-box; width: 100%; padding-left: 0.75rem; padding-right: 0.75rem; border-color: var(--border-color); box-shadow: none; }
  .checkout-page #perfilCard .tutorial-highlight { width: 100%; margin-left: 0; margin-right: 0; outline: 0; box-shadow: none; border: 0; }
  .checkout-page #perfilCard .select-input.selected,
  .checkout-page #perfilCard .select-input:focus { border-color: var(--border-color) !important; box-shadow: none !important; outline: none !important; }
  .checkout-page #grupoUsername .continue-button:focus { box-shadow: none !important; outline: none !important; }
  .checkout-page #orderBumpInline, .checkout-page #resumo { width: calc(100vw - 20px) !important; margin-left: calc(50% - 50vw + 10px) !important; margin-right: calc(50% - 50vw + 10px) !important; padding-left: 10px; padding-right: 10px; }
  .checkout-page #orderBumpInline .card-desc, .checkout-page #resumo .card-desc { padding-left: 0; padding-right: 0; }
  /* Mobile: telefone maior e centralizar texto informativo */
  .phone-label { font-size: calc(1rem + 3px); }
  .phone-hint { font-size: calc(0.875rem + 3px); text-align: center; }
  .checkout-page #paymentCard .phone-field .select-input { max-width: 100%; }
  .checkout-page #paymentCard .phone-field .select-input { font-size: 16px; }

  /* Mobile: garantir afastamento das bordas para demais cards */
  .checkout-page #audioCard,
  .checkout-page #tipoDescCard,
  .checkout-page #depoimentosCard,
  .checkout-page #plataformaCard,
  .checkout-page #planCards .service-card {
    width: calc(100vw - 20px) !important;
    margin-left: calc(50% - 50vw + 10px) !important;
    margin-right: calc(50% - 50vw + 10px) !important;
  }
}

.client-btn {
    position: fixed;
    top: 64px;
    right: 16px;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, transform 0.2s ease;
    z-index: 3000;
}
.client-btn:hover { border-color: #6B46C1; transform: translateY(-1px); }
.client-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.35); }
/* Página de Cliente (nova tela) */
.client-page {
    position: fixed;
    inset: 0;
    display: none;
    background: var(--bg-primary);
    z-index: 1002;
}
.client-page .client-page-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.client-title { text-align: center; color: var(--text-primary); margin-bottom: 0.25rem; }
.client-desc { text-align: center; color: var(--text-secondary); margin-bottom: 1rem; }
.client-form { max-width: 460px; margin: 0.5rem auto 1rem; }
.client-actions { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.client-orders { max-width: 720px; margin: 0 auto; }

/* Evitar zoom ao focar em inputs no mobile (iOS) */
.client-page .select-input, .client-page input[type=tel] { font-size: 16px; }
.refil-page .select-input, .refil-page input[type=text], .refil-page input[type=tel] { font-size: 16px; }

.price-old { color: #9ca3af; text-decoration: line-through; margin-right: 6px; }
.price-new { color: #22c55e; font-weight: 700; }

.audio-controls { position: relative; }
.tutorial-pop { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 10px; box-shadow: var(--shadow-md); padding: 0.5rem 0.7rem; color: var(--text-primary); display: flex; flex-direction: column; align-items: center; gap: 0.25rem; z-index: 4000; pointer-events: none; max-width: 280px; white-space: normal; line-height: 1.3; }
.checkout-page .tutorial-pop { display: none !important; }
.checkout-page #tutorialAudio { display: block !important; pointer-events: auto; cursor: grab; user-select: none; transform: none; top: 30px !important; }
.checkout-page #tutorialPlatform { display: block !important; top: 50px !important; }
.checkout-page #tutorialAudio.hide { display: none !important; }
.checkout-page #tutorialPlatform.hide { display: none !important; }
.checkout-page #tutorial4Validar { display: block !important; transform: none !important; }
.checkout-page #tutorial4Validar.hide { display: none !important; }
.checkout-page .phone-field #tutorial4Validar { top: 140px !important; left: 448px !important; }
.checkout-page #tutorial3Usuario { display: block !important; top: 70px !important; }
.checkout-page #tutorial3Usuario.hide { display: none !important; }
.checkout-page #tutorialAudio.dragging { cursor: grabbing; }
.checkout-page #tutorialAudio { display: block !important; }
.checkout-page #tutorialAudio { transform: none; }
.tutorial-pop.hide { display: none !important; }
.tutorial-pop::after { content: ""; position: absolute; bottom: -6px; left: var(--tip-arrow-left, 50%); transform: translateX(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--bg-secondary); }
.checkout-page #tutorial5Pedido { display: block !important; }
.checkout-page #tutorial5Pedido.hide { display: none !important; }
.checkout-page .button-container { position: relative; }
.checkout-page .button-container #tutorial5Pedido { top: calc(100% + 22px) !important; bottom: auto !important; }
@media (max-width: 640px) {
  .checkout-page .phone-field #tutorial4Validar { left: 8px !important; top: 160px !important; }
}
@media (max-width: 480px) {
  .checkout-page .phone-field #tutorial4Validar { left: 8px !important; top: 170px !important; }
}
.tutorial-pop .tutorial-pop-step { display: inline-block; background: transparent; color: var(--text-secondary); border-radius: 0; font-size: 0.75rem; padding: 0; margin: 0; }
body.theme-light .tutorial-pop .tutorial-pop-step { color: #ffffff !important; }
.tutorial-pop .tutorial-pop-text { font-size: 0.9rem; display: block; }
.tutorial-pop-input { top: auto; bottom: auto; }

/* Realce de orientação para grupos alvo */
.tutorial-highlight { outline: 2px solid rgba(107,70,193,0.45); box-shadow: 0 0 0 3px rgba(107,70,193,0.25); border-radius: 12px; }

/* Botão Voltar (página Cliente) sem gradiente/laranja */
.btn-back { background: #ffffff; color: #111827; border: 1px solid var(--border-color); box-shadow: none; }
.btn-back::before { display: none; }
.btn-back:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
body.theme-light .btn-back { background: #f9fafb; color: #111827; }

body:not(.theme-light) .theme-toggle { background: #ffffff; color: #111827; border-color: #e5e7eb; }
body:not(.theme-light) .theme-toggle:hover { border-color: #6B46C1; }

.checkout-page.container {
    max-width: 100%;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    justify-content: flex-start;
    align-items: stretch;
}
.checkout-page .main-content {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}
@media (min-width: 1024px) {
  .checkout-page.container { padding-left: 2rem; padding-right: 2rem; }
  .checkout-page .main-content { max-width: 1440px; width: 100%; }
}
.checkout-page .cards-grid.checkout-grid { width: 100%; }
.checkout-page .phone-hint { font-size: 1.125rem !important; }
.checkout-page .phone-label { font-size: calc(1.125rem + 8px) !important; }
.checkout-page .button-container { margin-top: calc(2rem + 50px) !important; }
.checkout-page .subtitle { max-width: none; }
.checkout-page #perfilCard .card-title { font-size: calc(0.9rem + 1px); }
.checkout-page #perfilCard .card-desc { font-size: calc(0.95rem + 1px); }
.checkout-page #perfilCard .select-input { font-size: calc(1rem + 1px); }
.checkout-page #perfilCard .continue-button .button-text { font-size: calc(1rem + 1px); }

/* Tema claro: contraste melhor para Garantia estendida */
body.theme-light .promo-item.warranty60 .promo-title { color: #111827; }

/* Tema claro: título Plataforma em preto */
body.theme-light #plataformaCard .card-title { color: #0f172a; }
body.theme-light #plataformaCard .platform-help { color: #0f172a !important; }
body.theme-light .checkout-page .phone-hint { color: #0f172a !important; }

/* Tema claro: botões do guia de áudio na paleta do toast */
body.theme-light .audio-speed-btn { background: #0f172a; color: #ffffff; border-color: #0f172a; }
body.theme-light .audio-speed-btn:hover { border-color: #6B46C1; }

/* Modal simples para Garantia 60 */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; z-index: 1000; align-items: center; justify-content: center; }
.modal-dialog { width: 100%; max-width: 420px; margin: 0 auto; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow-lg); color: var(--text-primary); height: 85vh; aspect-ratio: 9 / 16; display: flex; flex-direction: column; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-color); }
.modal-title { font-weight: 700; }
.modal-close { background: transparent; border: none; color: var(--text-primary); font-size: 1rem; cursor: pointer; }
.modal-body { padding: 1rem; flex: 1; overflow: auto; }
.modal-footer { padding: 0.9rem 1rem; border-top: 1px solid var(--border-color); display: flex; justify-content: center; }
body.theme-light .modal-dialog { background: #ffffff; border-color: #e5e7eb; }

/* Centralização das dicas do perfil Instagram */
.checkout-page #perfilHints { text-align: center; }
.checkout-page #perfilHints .perfil-hint { line-height: 1.25; }
.checkout-page #perfilHints .perfil-hint.strong { font-weight: 700; color: var(--text-primary); }
.modal-image-placeholder { width: 100%; aspect-ratio: 9 / 16; }

@media (max-width: 640px) {
  .checkout-page #grupoUsername { grid-template-columns: 1fr; justify-items: center; }
  .checkout-page #grupoUsername .continue-button { height: auto; justify-self: center; margin-top: 0.25rem; }
  .checkout-page #buyFollowersBtn { width: calc(100vw - 20px); max-width: calc(100vw - 20px); margin-top: 14px !important; }
  .checkout-page #buyFollowersBtn .button-text { white-space: nowrap; }
  /* Subir o card de áudio ainda mais */
    .checkout-page #audioCard { margin-top: -16px; }
  .audio-player { gap: 0.25rem; }
  .audio-controls { gap: 0.2rem; }
  .audio-progress { height: 3px; }
  .audio-progress::-webkit-slider-runnable-track { height: 3px; }
  .audio-progress::-webkit-slider-thumb { width: 10px; height: 10px; margin-top: -4px; }
  .audio-progress::-moz-range-track { height: 3px; }
  .audio-progress::-moz-range-thumb { width: 10px; height: 10px; }
  .checkout-page #audioCard .card-content { padding: 0.3rem 0.5rem; }
  .audio-speed-btn { padding: 0.3rem 0.5rem; }
  .checkout-page .site-brand { left: 0.5rem; }
  .continue-button, .platform-btn, .likes-arrow, .carousel-btn { touch-action: manipulation; }
}

.why-oppus-slider { margin: 2rem auto; }
.slider-container { display: flex; overflow-x: auto; gap: 0.75rem; padding: 0.25rem; scroll-snap-type: x mandatory; justify-content: center; }
.slider-slide { flex: 0 0 auto; width: 260px; text-align: center; scroll-snap-align: center; transform: scale(0.9); opacity: 0.85; transition: transform 0.25s ease, opacity 0.25s ease; }
.slider-slide.active { transform: scale(1.05); opacity: 1; }
.slider-slide img { width: 100%; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); }
.slider-slide.active img { box-shadow: var(--shadow-lg); }
.slide-title { margin-top: 0.5rem; font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.slide-desc { margin-top: 0.25rem; font-size: 0.95rem; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px) { .slider-slide { width: 80vw; } }

.value-props { display: flex; gap: 1.6rem; justify-content: center; align-items: flex-start; margin-top: 140px; margin-bottom: 80px; flex-wrap: wrap; }
.likes-control { position: relative; }
.value-prop-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; background: transparent; border: none; color: var(--text-primary); }
.value-prop-row { display: inline-flex; align-items: center; gap: 0.35rem; }
.value-prop-icon { width: 94px; height: 94px; color: currentColor; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15)); background: transparent; object-fit: contain; }
.value-prop-metric { color: #C9216B; font-weight: 800; font-size: 1.8rem; letter-spacing: 0.02em; }
.value-prop-caption { color: var(--text-secondary); font-size: 1rem; text-align: center; line-height: 1.3; }
.value-prop-arrow { color: #C9216B; font-weight: 800; margin-left: 0.08rem; }
 .value-prop-caption .caption-mobile { display: none; }
 .value-prop-caption .caption-desktop { display: inline; }
/* Desktop: aproximar ícones, métricas e legendas dos dois primeiros itens */
.value-prop-item:nth-child(1) .value-prop-row { transform: translateX(-4px); }
.value-prop-item:nth-child(1) .value-prop-caption { transform: translateX(-4px); }
.value-prop-item:nth-child(2) .value-prop-row { transform: translateX(-2px); }
.value-prop-item:nth-child(2) .value-prop-caption { transform: translateX(-2px); }
@media (max-width: 640px) {
  .value-prop-icon { width: 68px; height: 68px; }
  .value-props { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.2rem; row-gap: 0.4rem; justify-items: center; align-items: start; margin-top: 72px; }
  .value-prop-item { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; max-width: 32vw; }
  .value-prop-row { display: flex; flex-direction: row; align-items: center; gap: 0.05rem; }
  .value-prop-item:nth-child(1) .value-prop-row { transform: translateX(-2px); }
  .value-prop-item:nth-child(1) .value-prop-caption { transform: translateX(-2px); }
  .value-prop-item:nth-child(2) .value-prop-row { transform: translateX(-2px); }
  .value-prop-item:nth-child(2) .value-prop-caption { transform: translateX(-2px); }
  .value-prop-item:nth-child(2) .value-prop-icon { transform: translateX(3px); }
  .value-prop-item:nth-child(3) .value-prop-row { transform: translateX(1px); }
  .value-prop-metric { font-size: 1.8rem; line-height: 1; }
  .value-prop-caption { font-size: 1rem; line-height: 1.2; white-space: normal; word-break: break-word; text-align: center; }
  .value-prop-caption .caption-desktop { display: none; }
  .value-prop-caption .caption-mobile { display: inline; }
}
 .faq-section { width: 100%; }
 .faq-grid { display: grid; gap: 0.8rem; grid-template-columns: 1fr; }
 .faq-card .card-content { gap: 0.4rem; }
 .faq-question { width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 0.5rem; background: transparent; border: none; color: var(--text-primary); font-size: 1.15rem; font-weight: 700; padding: 0.2rem 0.1rem; cursor: pointer; text-align: left; }
 .faq-toggle { color: var(--text-secondary); width: 18px; height: 18px; }
 .faq-card .faq-toggle { transition: transform 0.2s ease; }
 .faq-card.open .faq-toggle { transform: rotate(180deg); }
 .faq-answer { color: var(--text-secondary); font-size: 1rem; line-height: 1.5; }
 .faq-card.open .faq-answer { display: block; }
 #faqSection .testimonials-title { font-size: calc(1rem + 11px); font-family: var(--font-family); font-weight: 700; }
 #faqSection { margin-top: 350px; font-family: var(--font-family); }
 @media (min-width: 1024px) { #faqSection { max-width: 600px; margin: 350px auto 0; } }
 .faq-label { font-size: 1.05rem; }

