/* ======================================================================
   WORKSHOP — Imigração para o Paraguai (landing page de inscrição)
   Depende de styles.css já estar carregado ANTES deste arquivo:
   usa as variáveis de :root e reaproveita .wrap, .eyebrow, .reveal,
   .reveal.in, .section-alt, .btn, .field (definidos em styles.css).
   ====================================================================== */

/* ===== MINI HEADER (sem menu completo, só logo + voltar) ===== */
.miniheader {
    padding: 18px 0;
    border-bottom: 1px solid var(--paper-line);
}

.miniheader .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.miniheader .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 17px;
    color: var(--forest);
}

.miniheader .logo .mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
}

.back-link {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-link:hover {
    color: var(--forest);
}

/* ===== HERO (ajustes específicos sobre o .hero base de styles.css) ===== */
.hero {
    padding: 64px 0 72px;
    /* base .hero já traz o gradiente/fundo pontilhado de styles.css */
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-inner .eyebrow {
    justify-content: center;
}

.hero-inner h1 {
    max-width: none;
}

.hero-inner p.lead {
    margin-left: auto;
    margin-right: auto;
}

.vagas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(161, 61, 61, .18);
    border: 1px solid var(--stamp);
    color: var(--white);
    font-family: var(--mono);
    font-size: 12.5px;
    letter-spacing: .06em;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.vagas-badge .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e35b5b;
    animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid rgba(251, 250, 245, .22);
    border-radius: 999px;
    color: rgba(251, 250, 245, .92);
}

.hero-ctas {
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
}

/* botão maior, específico do CTA principal do workshop */
.hero .btn-primary,
.ticket-body .btn-primary {
    padding: 16px 30px;
    font-size: 15.5px;
}

.price-note {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(251, 250, 245, .7);
}

.price-note strong {
    color: var(--gold-soft);
    font-family: var(--mono);
    font-size: 14px;
}

/* ===== SECTION HEAD (centralizado, diferente do padrão à esquerda do site) ===== */

.section-head {
    max-width: 600px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head p {
    margin-left: auto;
    margin-right: auto;
}

/* ===== APRENDIZADOS ===== */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.learn-card {
    background: var(--white);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 22px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.learn-card .ic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--paper-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--forest);
}

.learn-card p {
    font-size: 14.5px;
    color: var(--ink);
    line-height: 1.5;
    font-weight: 500;
}

/* ===== COMO FUNCIONA (própria, para não colidir com .process-list do site) ===== */
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.how-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}

.how-item {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.how-item .pnum {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--forest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 17px;
    color: var(--forest);
    position: relative;
    z-index: 2;
    margin: 0 auto 16px;
}

.how-item h3 {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 6px;
}

.how-item p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.rules-box {
    max-width: 720px;
    margin: 40px auto 0;
    background: var(--paper-dim);
    border: 1px solid var(--paper-line);
    border-radius: var(--radius);
    padding: 24px 26px;
}

.rules-box h4 {
    font-family: var(--serif);
    font-size: 16px;
    color: var(--forest);
    margin-bottom: 10px;
    font-weight: 600;
}

.rules-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rules-box li {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    display: flex;
    gap: 8px;
}

.rules-box li::before {
    content: '—';
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== SOBRE (versão compacta, própria da landing) ===== */
.about-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius);
    padding: 28px 30px;
}

.about-strip .initials {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--forest-mid);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    flex-shrink: 0;
}

.about-strip p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(251, 250, 245, .88);
}

.about-strip strong {
    color: var(--gold-soft);
}

/* ===== INSCRIÇÃO (bilhete / ticket) ===== */
.ticket-section {
    background: var(--forest-deep);
    color: var(--white);
}

.ticket-section .section-head h2 {
    color: var(--white);
}

.ticket-section .section-head p {
    color: rgba(251, 250, 245, .75);
}

.ticket-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.ticket {
    background: var(--paper);
    color: var(--ink);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .35);
}

.ticket-top {
    padding: 26px 26px 20px;
    border-bottom: 2px dashed var(--paper-line);
    position: relative;
}

.ticket-top::before,
.ticket-top::after {
    content: '';
    position: absolute;
    bottom: -11px;
    width: 22px;
    height: 22px;
    background: var(--forest-deep);
    border-radius: 50%;
}

.ticket-top::before {
    left: -11px;
}

.ticket-top::after {
    right: -11px;
}

.ticket-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--stamp);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ticket-top h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--forest);
}

.ticket-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 10px;
}

.ticket-price .amount {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--forest);
}

.ticket-price .per {
    font-size: 12.5px;
    color: var(--ink-soft);
}

.ticket-body {
    padding: 24px 26px 28px;
}

/* reseta o estilo genérico de <form> do styles.css (fundo/borda/padding),
   já que aqui o "cartão" visual é o .ticket, não o <form> em si */
#workshopForm {
    background: none;
    border: none;
    padding: 0;
}

.terms-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 18px 0 20px;
    padding: 14px 14px;
    background: var(--paper-dim);
    border-radius: var(--radius);
    border: 1px solid var(--paper-line);
}

.terms-row input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--forest);
    flex-shrink: 0;
}

.terms-row label {
    font-size: 12px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.terms-row strong {
    color: var(--forest);
}

#workshopForm .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
}

#workshopForm .btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.ticket-note {
    font-size: 11.5px;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 14px;
    opacity: .85;
}

.vagas-counter {
    text-align: center;
    margin-top: 20px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: rgba(251, 250, 245, .7);
    letter-spacing: .04em;
}

.vagas-counter strong {
    color: var(--gold-soft);
}

/* ===== FOOTER (versão enxuta da landing) ===== */
.workshop-footer {
    background: var(--forest-deep);
    color: rgba(251, 250, 245, .65);
    padding: 32px 0;
    border-top: 1px solid rgba(251, 250, 245, .1);
}

.workshop-footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
}

.workshop-footer a:hover {
    color: var(--white);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 760px) {
    .learn-grid {
        grid-template-columns: 1fr;
    }

    .how-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }

    .how-grid::before {
        display: none;
    }

    .about-strip {
        flex-direction: column;
        text-align: center;
    }

    .ticket-top {
        padding: 22px 20px 18px;
    }

    .ticket-body {
        padding: 20px 20px 24px;
    }
}

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