/**
 * Caotize Onboarding — onboarding.css
 * Tema: fundo preto, texto branco, detalhes em amarelo #f5c518
 * Font: Lexend Deca (herdada do tema)
 */

/* =========================================================
   VARIÁVEIS
   ========================================================= */
:root {
    --czon-bg:          #111111;
    --czon-accent:      #f5c518;
    --czon-accent-dim:  rgba(245, 197, 24, 0.18);
    --czon-accent-glow: rgba(245, 197, 24, 0.06);
    --czon-text:        #ffffff;
    --czon-text-muted:  rgba(255, 255, 255, 0.55);
    --czon-border:      rgba(255, 255, 255, 0.1);
    --czon-surface:     rgba(255, 255, 255, 0.05);
    --czon-radius-sm:   10px;
    --czon-radius-md:   14px;
    --czon-radius-lg:   20px;
}


/* =========================================================
   BLOCO DA HOME — WRAPPER
   ========================================================= */
.czon-wrap {
    background:    #000;
    border-radius: 10px;
    padding:       32px 24px;
    color:         var(--czon-text);
    font-family:   'Lexend Deca', sans-serif;
}

.czon-titulo {
    font-size:   24px;
    font-weight: 700;
    color:       var(--czon-text);
    margin:      0 0 8px;
    line-height: 1.3;
}

.czon-subtitulo {
    font-size:   15px;
    color:       var(--czon-text);
    opacity:     0.75;
    margin:      10px 0 0 0;
    line-height: 1.5;
    text-align: center;
}

.czon-question {
    font-size:     18px;
    color:         var(--czon-text);
    margin-top:    24px;
    margin-bottom: 0;
    line-height:   1.4;
}


/* =========================================================
   BOTÕES DE ESCOLHA (Sim / Não)
   ========================================================= */
.czon-choices {
    display:    flex;
    gap:        12px;
    flex-wrap:  wrap;
    margin-top: 16px;
    justify-content: center;
}

.czon-btn-choice {
    border:        2px solid var(--czon-accent);
    color:         var(--czon-text);
    background:    transparent;
    padding:       12px 24px;
    border-radius: 12px;
    cursor:        pointer;
    font-family:   inherit;
    font-size:     15px;
    font-weight:   600;
    transition:    background 0.2s ease, color 0.2s ease;
}

.czon-btn-choice:hover,
.czon-btn-choice:focus {
    background: var(--czon-accent);
    color:      #111111;
    outline:    none;
}


/* =========================================================
   BOTÕES GERAIS
   ========================================================= */
.czon-btn-primary {
    background:      var(--czon-accent);
    color:           #111111;
    padding:         12px 28px;
    border-radius:   12px;
    font-weight:     700;
    font-size:       15px;
    text-decoration: none;
    display:         inline-block;
    border:          none;
    cursor:          pointer;
    font-family:     inherit;
    transition:      opacity 0.2s ease;
}

.czon-btn-primary:hover,
.czon-btn-primary:focus {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
    outline:         none;
}

.czon-btn-secondary {
    background:      transparent;
    border:          1px solid var(--czon-border);
    color:           var(--czon-text);
    padding:         10px 20px;
    border-radius:   var(--czon-radius-sm);
    cursor:          pointer;
    font-family:     inherit;
    font-size:       14px;
    font-weight:     500;
    text-decoration: none;
    display:         inline-block;
    transition:      border-color 0.2s ease, background 0.2s ease;
}

.czon-btn-secondary:hover,
.czon-btn-secondary:focus {
    border-color:    var(--czon-accent);
    background:      var(--czon-accent-glow);
    color:           var(--czon-text);
    text-decoration: none;
    outline:         none;
}


/* =========================================================
   STEP: KNOWN-CHECK — CHECKBOXES
   ========================================================= */
.czon-checkboxes {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   12px;
    margin:                16px 0;
}

.czon-checkbox-label {
    display:        flex;
    align-items:    center;
    gap:            10px;
    background:     var(--czon-surface);
    border-radius:  var(--czon-radius-sm);
    padding:        12px;
    cursor:         pointer;
    border:         1px solid transparent;
    transition:     border-color 0.2s ease;
    color:          var(--czon-text);
    font-size:      14px;
    margin:         0;
    line-height:    1.4;
}

.czon-checkbox-label:has(input:checked) {
    border-color: var(--czon-accent);
}

.czon-tool-checkbox {
    accent-color: var(--czon-accent);
    width:        16px;
    height:       16px;
    flex-shrink:  0;
    cursor:       pointer;
}

.czon-checkbox-icon {
    font-size:   20px;
    flex-shrink: 0;
}


/* =========================================================
   STEP: TOUR-TOOL — ícone e conteúdo
   ========================================================= */
.czon-tool-header {
    text-align: center;
    margin-bottom: 8px;
}

.czon-tool-icon-big {
    font-size:   48px;
    display:     block;
    text-align:  center;
    margin:      16px 0 8px;
    line-height: 1;
}

.czon-tool-name {
    font-size:   20px;
    font-weight: 700;
    color:       var(--czon-text);
    text-align:  center;
    display:     block;
    margin:      0 0 8px;
}

.czon-tool-description {
    font-size:   14px;
    color:       var(--czon-text);
    opacity:     0.8;
    text-align:  center;
    line-height: 1.6;
    margin:      0 0 16px;
}


/* =========================================================
   PROGRESS BAR
   ========================================================= */
.czon-progress-bar {
    height:        4px;
    background:    rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow:      hidden;
    margin:        12px 0 4px;
}

.czon-progress-fill {
    height:        100%;
    background:    var(--czon-accent);
    border-radius: 2px;
    transition:    width 0.4s ease;
    width:         0%;
}

.czon-progress-text {
    font-size:  13px;
    color:      var(--czon-text-muted);
    margin:     0 0 16px;
    display:    block;
    text-align: right;
}


/* =========================================================
   BOTÕES DE AÇÃO DO TOUR-TOOL
   ========================================================= */
.czon-tool-actions {
    display:     flex;
    gap:         12px;
    flex-wrap:   wrap;
    margin-top:  24px;
    align-items: center;
}

.czon-btn-conhecer-tool {
    background:      var(--czon-accent);
    color:           #111111;
    padding:         12px 24px;
    border-radius:   12px;
    font-weight:     700;
    font-size:       14px;
    text-decoration: none;
    display:         inline-block;
    transition:      opacity 0.2s ease;
    border:          none;
    cursor:          pointer;
    font-family:     inherit;
}

.czon-btn-conhecer-tool:hover,
.czon-btn-conhecer-tool:focus {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
    outline:         none;
}

.czon-btn-skip {
    background:  transparent;
    border:      1px solid var(--czon-border);
    color:       var(--czon-text);
    padding:     10px 18px;
    border-radius: var(--czon-radius-sm);
    cursor:      pointer;
    font-family: inherit;
    font-size:   13px;
    opacity:     0.7;
    transition:  opacity 0.2s ease, border-color 0.2s ease;
}

.czon-btn-skip:hover,
.czon-btn-skip:focus {
    opacity:      1;
    border-color: rgba(255, 255, 255, 0.35);
    outline:      none;
}


/* =========================================================
   GRID DE FERRAMENTAS — USUÁRIO LOGADO
   ========================================================= */
.czon-tools-grid {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin-top:     20px;
}

.czon-tool-card {
    display:         flex;
    align-items:     center;
    gap:             14px;
    background:      var(--czon-surface);
    border-radius:   var(--czon-radius-md);
    padding:         14px 18px;
    border:          1px solid var(--czon-border);
    transition:      border-color 0.2s ease, background 0.2s ease;
    text-decoration: none;
    color:           var(--czon-text);
    margin: 5px;
}

.czon-tool-card:hover {
    border-color:    rgba(255, 255, 255, 0.25);
    text-decoration: none;
    color:           var(--czon-text);
}

.czon-tool-card.czon-used {
    border-color: rgba(255, 255, 255, 0.2);
    opacity:      0.75;
}

.czon-tool-card.czon-next {
    border-color: var(--czon-accent);
    background:   var(--czon-accent-glow);
}

.czon-tool-card.czon-pending {
    opacity: 0.5;
}

.czon-tool-icon {
    font-size:   26px;
    width:       38px;
    text-align:  center;
    flex-shrink: 0;
}

.czon-tool-info {
    flex:      1;
    min-width: 0;
}

.czon-tool-label {
    font-weight:   700;
    color:         var(--czon-text);
    display:       block;
    font-size:     15px;
    margin-bottom: 2px;
}

.czon-tool-status {
    font-size: 13px;
    color:     var(--czon-text-muted);
    display:   block;
}

.czon-tool-card.czon-next .czon-tool-status {
    color: var(--czon-accent);
}

.czon-btn-conhecer {
    background:      var(--czon-accent);
    color:           #111111;
    padding:         8px 18px;
    border-radius:   var(--czon-radius-sm);
    font-size:       14px;
    font-weight:     700;
    text-decoration: none;
    white-space:     nowrap;
    flex-shrink:     0;
    display:         inline-block;
    transition:      opacity 0.2s ease;
    border:          none;
    cursor:          pointer;
    font-family:     inherit;
    box-sizing:      border-box;
}

.czon-btn-conhecer:hover,
.czon-btn-conhecer:focus {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
    outline:         none;
}


/* =========================================================
   BLOCO PÓS-TOUR
   ========================================================= */
.czon-posttour-pages {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin-top:     20px;
}

.czon-posttour-link {
    display:         block;
    background:      var(--czon-surface);
    border-radius:   var(--czon-radius-md);
    padding:         16px 20px;
    border:          1px solid var(--czon-border);
    text-decoration: none;
    color:           var(--czon-text);
    font-weight:     600;
    font-size:       15px;
    transition:      border-color 0.2s ease, color 0.2s ease;
}

.czon-posttour-link:hover,
.czon-posttour-link:focus {
    border-color:    var(--czon-accent);
    color:           var(--czon-accent);
    text-decoration: none;
    outline:         none;
}


/* =========================================================
   BLOCO DESLOGADO — LISTA DE FERRAMENTAS
   ========================================================= */
.czon-tools-list {
    display:        flex;
    flex-direction: column;
    gap:            10px;
    margin-top:     24px;
}

.czon-tool-card-unlogged {
    display:       flex;
    align-items:   center;
    gap:           14px;
    background:    var(--czon-surface);
    border:        1px solid var(--czon-border);
    border-radius: var(--czon-radius-md);
    padding:       14px 18px;
    transition:    border-color 0.2s ease;
}

.czon-tool-icon-sm {
    font-size:   24px;
    width:       36px;
    text-align:  center;
    flex-shrink: 0;
}

.czon-tool-card-unlogged .czon-tool-info {
    flex:      1;
    min-width: 0;
}

.czon-tool-card-unlogged .czon-tool-label {
    font-size:   15px;
    font-weight: 700;
    color:       var(--czon-text);
    display:     block;
    margin:      0 0 3px;
}

.czon-tool-desc {
    font-size:   13px;
    color:       var(--czon-text-muted);
    margin:      0;
    line-height: 1.5;
}

.czon-btn-login {
    background:      transparent;
    border:          1px solid var(--czon-accent);
    color:           var(--czon-accent);
    padding:         8px 16px;
    border-radius:   var(--czon-radius-sm);
    font-size:       13px;
    font-weight:     700;
    text-decoration: none;
    white-space:     nowrap;
    flex-shrink:     0;
    display:         inline-block;
    transition:      background 0.2s ease, color 0.2s ease;
    font-family:     inherit;
}

.czon-btn-login:hover,
.czon-btn-login:focus {
    background:      var(--czon-accent);
    color:           #111111;
    text-decoration: none;
    outline:         none;
}

/* =========================================================
   BLOCO DESLOGADO — EXTRAS (posttour)
   ========================================================= */
.czon-extras {
    margin-top: 28px;
}

.czon-section-label {
    font-size:     13px;
    font-weight:   700;
    color:         var(--czon-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin:        0 0 10px;
}

/* =========================================================
   BLOCO DESLOGADO — CTA CADASTRO / LOGIN
   ========================================================= */
.czon-signup-cta {
    margin-top:  32px;
    padding-top: 24px;
    border-top:  1px solid var(--czon-border);
    text-align:  center;
}

.czon-cta-headline {
    font-size:     18px;
    font-weight:   700;
    color:         var(--czon-text);
    margin:        0 0 16px;
    line-height:   1.4;
    text-align: center;
}

/* Wrapper do botão Google / login — centraliza e dá respiro */
.czon-login-cta {
    display:         flex;
    justify-content: center;
    margin-top:      20px;
}

/* =========================================================
   TOUR DE FERRAMENTAS — OVERLAY E TOOLTIP
   ========================================================= */

/* Overlay: layer de pointer-events none que envolve tudo */
#czon-tour-overlay {
    position:       fixed;
    inset:          0;
    z-index:        99990;
    pointer-events: none;
}

/* Elemento destacado — spotlight via box-shadow */
.czon-highlight {
    position:       relative;
    z-index:        99995 !important;
    box-shadow:
        0 0 0 3px var(--czon-accent),
        0 0 0 9999px rgba(0, 0, 0, 0.85);
    border-radius:  8px;
    pointer-events: auto;
}

/* Tooltip */
#czon-tour-tooltip {
    position:       fixed;
    z-index:        99999;
    background:     #111111;
    border:         1px solid var(--czon-accent);
    border-radius:  16px;
    padding:        20px 24px;
    max-width:      320px;
    box-shadow:     0 8px 32px rgba(0, 0, 0, 0.7);
    pointer-events: auto;
    font-family:    'Lexend Deca', sans-serif;
    top:            50%;
    left:           50%;
    transform:      translate(-50%, -50%);
}

/* Botão fechar */
#czon-tour-close {
    position:    absolute;
    top:         10px;
    right:       12px;
    background:  transparent;
    border:      none;
    color:       var(--czon-text-muted);
    font-size:   16px;
    cursor:      pointer;
    padding:     4px 6px;
    line-height: 1;
    transition:  color 0.2s ease;
    font-family: inherit;
}

#czon-tour-close:hover {
    color: var(--czon-text);
}

.czon-tooltip-step-counter {
    font-size:      12px;
    color:          var(--czon-accent);
    font-weight:    600;
    margin-bottom:  8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.czon-tooltip-text {
    color:       var(--czon-text);
    font-size:   15px;
    line-height: 1.6;
    margin:      0 0 16px;
}

.czon-tooltip-actions {
    display: flex;
    gap:     8px;
}

#czon-tour-prev,
#czon-tour-next {
    border:        1px solid var(--czon-accent);
    color:         var(--czon-accent);
    background:    transparent;
    padding:       8px 14px;
    border-radius: var(--czon-radius-sm);
    cursor:        pointer;
    font-family:   inherit;
    font-size:     13px;
    font-weight:   600;
    transition:    background 0.2s ease, color 0.2s ease;
    flex:          1;
}

#czon-tour-prev:hover,
#czon-tour-prev:focus,
#czon-tour-next:hover,
#czon-tour-next:focus {
    background: var(--czon-accent);
    color:      #111111;
    outline:    none;
}


/* =========================================================
   TOUR — CTA FINAL
   ========================================================= */
#czon-tour-cta {
    position:       fixed;
    bottom:         24px;
    left:           50%;
    transform:      translateX(-50%);
    background:     #111111;
    border:         1px solid var(--czon-accent);
    border-radius:  20px;
    padding:        20px 28px;
    text-align:     center;
    z-index:        99999;
    pointer-events: auto;
    max-width:      400px;
    width:          calc(100% - 48px);
    box-shadow:     0 8px 32px rgba(0, 0, 0, 0.7);
    font-family:    'Lexend Deca', sans-serif;
}

#czon-tour-cta[hidden] {
    display: none;
}

.czon-cta-text {
    color:       var(--czon-text);
    font-size:   16px;
    font-weight: 600;
    margin:      0 0 8px;
    line-height: 1.4;
}

.czon-cta-instruction {
    font-size:   14px;
    color:       var(--czon-text-muted);
    margin:      8px 0 0;
    line-height: 1.5;
}

.czon-cta-feedback {
    font-size:   15px;
    color:       var(--czon-accent);
    font-weight: 700;
    margin:      8px 0 0;
}

.czon-btn-register {
    display:         inline-block;
    background:      var(--czon-accent);
    color:           #111111;
    padding:         12px 28px;
    border-radius:   12px;
    font-weight:     700;
    font-size:       15px;
    text-decoration: none;
    margin-top:      12px;
    transition:      opacity 0.2s ease;
}

.czon-btn-register[hidden] {
    display: none;
}

.czon-btn-register:hover,
.czon-btn-register:focus {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
    outline:         none;
}


/* =========================================================
   RESUMO DE ATIVIDADE — MINI CARDS
   ========================================================= */
.czon-activity-summary {
    display:         flex;
    flex-wrap:       wrap;
    gap:             8px;
    margin:          0;
    justify-content: center;
}

.czon-activity-card {
    display:        flex;
    align-items:    center;
    gap:            6px;
    background:     var(--czon-surface);
    border:         1px solid var(--czon-border);
    border-radius:  var(--czon-radius-sm);
    padding:        8px 14px;
    white-space:    nowrap;
    transition:     border-color 0.2s ease;
}

.czon-activity-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.czon-activity-icon {
    font-size:   18px;
    line-height: 1;
    flex-shrink: 0;
}

.czon-activity-count {
    font-size:   15px;
    font-weight: 700;
    color:       var(--czon-accent);
    line-height: 1;
}

.czon-activity-label {
    font-size:   13px;
    color:       var(--czon-text-muted);
    line-height: 1;
}
.czon-activity-label a {
    color: #FFF;
}

/* =========================================================
   TOUR — PREVINE OVERFLOW HORIZONTAL DO SPOTLIGHT
   box-shadow: 0 0 0 9999px extrapola o viewport; overflow-x
   escondido enquanto o overlay estiver no DOM.
   ========================================================= */
body:has(#czon-tour-overlay) {
    overflow-x: hidden;
}


/* =========================================================
   MEDITADOR — BARRA DE MENSAGEM FINAL (abaixo dos menus)
   Posicionada na base do popup, sem cobrir os menus acima.
   ========================================================= */
#czon-med-msg {
    position:        absolute;
    bottom:          0;
    left:            0;
    right:           0;
    background:      rgba(0, 0, 0, 0.95);
    z-index:         99999;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    padding:         20px 20px 24px;
    text-align:      center;
    font-family:     'Lexend Deca', sans-serif;
    animation:       czon-fade-in 0.35s ease;
    border-top:      1px solid rgba(255, 255, 255, 0.12);
}
#czon-med-entendi {
  text-shadow: none;
}
@keyframes czon-fade-in {
    from { opacity: 0; transform: scale(0.97); }
    to   { opacity: 1; transform: scale(1); }
}

.czon-med-texto {
    font-size:   16px;
    font-weight: 600;
    line-height: 1.5;
    color:       #ffffff;
    margin:      0 0 16px;
    max-width:   500px;
}

#czon-med-entendi,
.czon-med-proxima {
    display:         inline-block;
    background:      var(--czon-accent);
    color:           #111111;
    padding:         11px 24px;
    border-radius:   12px;
    font-weight:     700;
    font-size:       14px;
    border:          none;
    cursor:          pointer;
    text-decoration: none;
    font-family:     inherit;
    transition:      opacity 0.2s ease, transform 0.15s ease;
    line-height:     1.3;
}

#czon-med-entendi:hover,
.czon-med-proxima:hover {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
    transform:       translateY(-1px);
}

.czon-med-opcoes {
    display:         flex;
    flex-wrap:       wrap;
    gap:             14px;
    justify-content: center;
}

#czon-med-continuar {
    background:    transparent;
    border:        2px solid var(--czon-accent) !important;
    color:         var(--czon-accent);
    padding:       9px 20px;
    border-radius: 12px;
    font-weight:   700;
    font-size:     14px;
    cursor:        pointer;
    font-family:   inherit;
    transition:    background 0.2s ease, color 0.2s ease;
}

#czon-med-continuar:hover {
    background: var(--czon-accent);
    color:      #111111;
}

@media (max-width: 600px) {
    .czon-med-texto {
        font-size: 18px;
    }

    #czon-med-entendi,
    .czon-med-proxima,
    #czon-med-continuar {
        width:      100%;
        text-align: center;
        padding:    14px 20px;
        box-sizing: border-box;
    }

    .czon-med-opcoes {
        flex-direction: column;
        width:          100%;
    }
}


/* =========================================================
   ENERGIZADOR — BARRA DE MENSAGEM FIXA NO FUNDO
   Aparece em cima da página (position: fixed) ao longo das
   3 fases do guia reativo.
   ========================================================= */
#czon-ene-msg {
    position:        fixed;
    bottom:          0;
    left:            0;
    right:           0;
    background:      rgba(0, 0, 0, 0.95);
    z-index:         99999;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    padding:         16px 20px 24px;
    text-align:      center;
    font-family:     'Lexend Deca', sans-serif;
    border-top:      1px solid rgba(255, 255, 255, 0.12);
    animation:       czon-fade-in 0.35s ease;
    pointer-events:  auto;
}

.czon-ene-texto {
    font-size:   16px;
    font-weight: 600;
    line-height: 1.5;
    color:       #ffffff;
    margin:      0 0 12px;
    max-width:   500px;
}

#czon-ene-btn {
    display:      inline-block;
    background:   var(--czon-accent);
    color:        #111111;
    padding:      11px 24px;
    border-radius: 12px;
    font-weight:  700;
    font-size:    14px;
    border:       none;
    cursor:       pointer;
    font-family:  inherit;
    transition:   opacity 0.2s ease;
}

#czon-ene-btn:hover {
    opacity: 0.88;
    color:   #111111;
}

.czon-ene-opcoes {
    display:         flex;
    flex-wrap:       wrap;
    gap:             14px;
    justify-content: center;
}

#czon-ene-continuar,
#czon-ene-btn-clear {
    background:    transparent;
    border:        2px solid var(--czon-accent) !important;
    color:         var(--czon-accent);
    padding:       9px 20px;
    border-radius: 12px;
    font-weight:   700;
    font-size:     14px;
    cursor:        pointer;
    font-family:   inherit;
    transition:    background 0.2s ease, color 0.2s ease;
}

#czon-ene-continuar:hover,
#czon-ene-btn-clear:hover {
    background: var(--czon-accent);
    color:      #111111;
}

.czon-ene-proxima {
    display:         inline-block;
    background:      var(--czon-accent);
    color:           #111111;
    padding:         11px 24px;
    border-radius:   12px;
    font-weight:     700;
    font-size:       14px;
    text-decoration: none;
    font-family:     inherit;
    transition:      opacity 0.2s ease;
}

.czon-ene-proxima:hover {
    opacity:         0.88;
    color:           #111111;
    text-decoration: none;
}

@media (max-width: 600px) {
    .czon-ene-texto {
        font-size: 14px;
    }

    #czon-ene-btn,
    .czon-ene-proxima,
    #czon-ene-continuar,
    #czon-ene-btn-clear {
        width:      100%;
        text-align: center;
        box-sizing: border-box;
    }

    .czon-ene-opcoes {
        flex-direction: column;
        width:          100%;
    }
}


/* =========================================================
   RESPONSIVO — max-width 600px
   ========================================================= */
@media (max-width: 600px) {
    .czon-wrap {
        padding: 20px 16px;
    }

    .czon-titulo {
        font-size: 20px;
    }

    .czon-choices {
        flex-direction: column;
    }

    .czon-btn-choice {
        width:      100%;
        text-align: center;
    }

    .czon-checkboxes {
        grid-template-columns: 1fr;
    }

    .czon-tools-grid {
        gap: 8px;
    }

    .czon-tool-card {
        flex-wrap: wrap;
    }

    .czon-btn-conhecer {
        width:      100%;
        text-align: center;
    }

    #czon-tour-tooltip {
        max-width: calc(100vw - 32px);
        position:  fixed;
        bottom:    110px;
        left:      16px;
        right:     16px;
        top:       auto;
        transform: none;
    }

    #czon-tour-cta {
        bottom: 16px;
        width:  calc(100% - 32px);
    }

    .czon-tool-actions {
        flex-direction: column;
    }

    .czon-btn-conhecer-tool,
    .czon-btn-skip {
        width:      100%;
        text-align: center;
        box-sizing: border-box;
    }

    .czon-activity-summary {
        gap: 6px;
    }

    .czon-activity-card {
        padding:   6px 10px;
        flex-grow: 1;
        justify-content: center;
    }
}

/* =========================================================
   POSTTOUR — link "Rever tutoriais"
   ========================================================= */
.czon-reopen-link {
    display:         inline-block;
    margin:          16px auto 0;
    padding:         8px 16px;
    color:           var(--czon-accent);
    text-decoration: none;
    border:          1px solid var(--czon-accent-dim);
    border-radius:   var(--czon-radius-sm);
    font-size:       14px;
    transition:      background 0.2s, border-color 0.2s;
}

.czon-reopen-link:hover {
    background:    var(--czon-accent-glow);
    border-color:  var(--czon-accent);
    text-decoration: none;
}

.czon-posttour .czon-reopen-link {
    display: block;
    width:   fit-content;
}

/* =========================================================
   POSTTOUR — "Continue sua jornada" (fallback quando tudo visto)
   ========================================================= */
.czon-jornada-done {
    text-align:  center;
    padding:     24px 16px;
    color:       var(--czon-accent);
    font-size:   16px;
    font-weight: 500;
}

/* ========================================================================
 * Fases (capítulo 2 — Créditos e Afiliado)
 * ======================================================================== */

.czon-phases-grid {
    display:               grid;
    grid-template-columns: 1fr;
    gap:                   12px;
    margin-top:            16px;
}

@media (min-width: 720px) {
    .czon-phases-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.czon-phase-card {
    border-left: 3px solid #c9a227;
}

.czon-phase-card.czon-next {
    box-shadow: 0 0 0 1px #c9a227 inset;
}

.czon-phase-card .czon-tool-desc {
    margin:      4px 0 6px;
    font-size:   13px;
    opacity:     .82;
    line-height: 1.4;
}

#czon-phases-block .czon-titulo {
    margin-top: 0;
}
