@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Source+Serif+4:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
    --preto: #0a0a0a;
    --preto-suave: #161414;
    --sangue: #6e0f13;
    --vermelho: #b3211f;
    --vermelho-vivo: #d62b28;
    --marfim: #f7f4f1;
    --branco: #ffffff;
    --amarelo: #fbe200;
    --texto-escuro: #1c1a1a;
    --texto-claro: #f2ede9;

    --fonte-display: 'Fraunces', Georgia, serif;
    --fonte-corpo: 'Source Serif 4', Georgia, serif;
    --fonte-ui: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--fonte-ui);
    color: var(--texto-escuro);
    background: var(--preto);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* ---------- BOTÕES ---------- */

.btn {
    display: inline-block;
    font-family: var(--fonte-ui);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.btn-primario {
    background-color: var(--vermelho-vivo);
    color: var(--branco);
}

.btn-primario:hover {
    background-color: #ea3330;
}

.btn-secundario {
    background-color: var(--vermelho-vivo);
    color: var(--branco);
}

.btn-secundario:hover {
    background-color: #ea3330;
}

.btn-header {
    background-color: var(--vermelho-vivo);
    color: var(--branco);
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
}

.btn-header:hover {
    background-color: #ea3330;
}

/* ---------- FAIXA DE RISCO ---------- */
/* Ecoa as listras do logo (fita de sinalização), pra o amarelo não ficar isolado no cabeçalho */

.faixa-risco {
    height: 10px;
    width: 100%;
    background: repeating-linear-gradient(135deg,
            var(--preto) 0px,
            var(--preto) 16px,
            var(--amarelo) 16px,
            var(--amarelo) 32px);
}

/* ---------- CABEÇALHO ---------- */

.cabecalho {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px -20px rgba(28, 26, 26, 0.25);
}

.cabecalho-conteudo {
    max-width: 1100px;
    margin: 0 auto;
    height: 84px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-sindicato {
    height: 52px;
    width: auto;
    border-radius: 4px;
    cursor: pointer;
}

/* ---------- HERO ---------- */

.hero {
    position: relative;
    height: auto;
    overflow: hidden;
    background-color: #000000;
    object-position: center;
}

.hero-imagem {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-imagem img {
    width: 30%;
    height: auto;
}

.hero-cta {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #000000;
}

/* ---------- MANIFESTO: paginado em carrossel ---------- */

.manifesto {
    position: relative;
    background-color: var(--marfim);
    padding: 5rem 2rem 6rem;
}

.manifesto-conteudo {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.manifesto-eyebrow {
    display: block;
    font-family: var(--fonte-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--texto-escuro);
    margin-bottom: 2rem;
    text-align: center;
}

.manifesto-eyebrow-head {
    display: block;
    font-family: var(--fonte-display);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--vermelho-vivo);
    margin-bottom: 2rem;
    text-align: center;
}

.manifesto-carrossel {
    display: block;
}

.manifesto-paginas {
    width: 100%;
    min-width: 0;
}

.manifesto-controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 2rem 0 2rem;
}

.manifesto-texto {
    font-family: var(--fonte-corpo);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--texto-escuro);
    margin: 0 0 1.25rem;
}

.manifesto-texto:last-child {
    margin-bottom: 0;
}

.manifesto-texto em {
    font-style: italic;
    color: #4a4444;
}

.manifesto-texto strong {
    color: var(--vermelho-vivo);
    font-weight: 600;
}

.manifesto-subtitulo {
    font-size: 1.05rem;
    color: #4a4444;
    border-left: 3px solid var(--vermelho-vivo);
    padding-left: 1rem;
}

.manifesto-data {
    font-family: var(--fonte-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--vermelho-vivo);
    display: block;
    margin-bottom: 0.75rem;
}

.manifesto-lista {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.manifesto-lista li {
    font-family: var(--fonte-corpo);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--texto-escuro);
    padding-left: 1.4rem;
    position: relative;
}

.manifesto-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--vermelho-vivo);
}

.manifesto-destaque {
    font-family: var(--fonte-display);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.4;
    color: var(--texto-escuro);
    border-left: 3px solid var(--vermelho-vivo);
    padding-left: 1rem;
    margin: 0 0 1.5rem;
}

.manifesto-assinatura {
    font-family: var(--fonte-ui);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6a6464;
    margin: 0;
}

.manifesto-assinatura strong {
    color: var(--texto-escuro);
}

.manifesto-assinatura a {
    color: var(--vermelho-vivo);
    font-weight: 600;
}

.manifesto-seta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--vermelho-vivo);
    background: transparent;
    color: var(--vermelho-vivo);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.manifesto-seta:hover {
    background-color: var(--vermelho-vivo);
    border-color: var(--vermelho-vivo);
    color: var(--branco);
}

.manifesto-seta:disabled {
    opacity: 0.3;
    cursor: default;
}

.manifesto-seta:disabled:hover {
    background-color: transparent;
    color: var(--vermelho-vivo);
    border-color: var(--vermelho-vivo);
}

.manifesto-indicador {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.ponto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(28, 26, 26, 0.2);
    cursor: pointer;
}

.ponto.ativo {
    background-color: var(--vermelho-vivo);
}

.manifesto-conteudo .btn {
    margin-top: 0;
}

.manifesto-conteudo > .btn-secundario {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ---------- FORMULÁRIO ---------- */

.assinar {
    background-color: var(--marfim);
    padding: 2rem 1.5rem 7rem;
    display: flex;
    justify-content: center;
}

.assinar-card {
    width: 100%;
    max-width: 460px;
    background: var(--branco);
    border-radius: 6px;
    box-shadow: 0 20px 50px -20px rgba(28, 26, 26, 0.25);
    padding: 3rem 2.5rem;
    text-align: center;
}

.assinar-eyebrow {
    display: block;
    font-family: var(--fonte-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vermelho);
    margin-bottom: 0.6rem;
    text-align: center;
}

.assinar-titulo {
    font-family: var(--fonte-display);
    font-weight: 600;
    font-size: 2rem;
    margin: 0 0 0.9rem;
}

.assinar-descricao {
    font-family: var(--fonte-corpo);
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4444;
    margin: 0 0 2rem;
}

.assinar-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: left;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.campo label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto-escuro);
}

.campo input {
    font-family: var(--fonte-ui);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #d8d2ce;
    border-radius: 4px;
    background: var(--marfim);
    color: var(--texto-escuro);
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.campo input:focus {
    border-color: var(--vermelho-vivo);
    background-color: var(--branco);
}

.btn-form {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

.assinar-privacidade {
    font-size: 0.78rem;
    color: #8a8380;
    text-align: center;
    margin: 0.5rem 0 0;
}

.sindicatos {
    font-size: 0.78rem;
    color: #8a8380;
    text-align: center;
    margin: 0.5rem 0 0;
}

.assinar-erro {
    font-family: var(--fonte-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vermelho-vivo);
    background-color: #fdeceb;
    border: 1px solid #f3c9c6;
    border-radius: 4px;
    padding: 0.65rem 0.9rem;
    margin: 0;
    text-align: center;
}

/* ---------- MODAL DE CONFIRMAÇÃO ---------- */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: rgba(10, 10, 10, 0.72);
}

.modal-overlay[hidden] {
    display: none;
}

.modal-conteudo {
    position: relative;
    width: 100%;
    max-width: 420px;
    background-color: var(--branco);
    border-radius: 8px;
    padding: 2.75rem 2rem 2.25rem;
    text-align: center;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}

.modal-fechar {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #8a8380;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.modal-fechar:hover {
    background-color: var(--marfim);
    color: var(--texto-escuro);
}

.modal-icone {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background-color: #e7f6ec;
    color: #1c7a3e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-titulo {
    font-family: var(--fonte-display);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--texto-escuro);
    margin: 0 0 0.75rem;
}

.modal-texto {
    font-family: var(--fonte-corpo);
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4444;
    margin: 0 0 1.75rem;
}

.modal-btn {
    width: 100%;
}

/* ---------- RODAPÉ ---------- */

.rodape {
    background-color: var(--preto);
    color: rgba(242, 237, 233, 0.6);
    text-align: center;
    font-size: 0.85rem;
    padding: 2rem 1rem;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 640px) {
    .hero {
        min-height: 60vh;
    }

    .hero-imagem {
        height: 60vh;
    }

    .hero-cta {
        padding: 2rem 1.25rem;
    }

    .manifesto {
        padding: 3.5rem 1.25rem 4rem;
    }

    .manifesto-eyebrow {
        font-size: 1.2rem;
    }

    .manifesto-carrossel {
        gap: 0.5rem;
    }

    .manifesto-seta {
        width: 36px;
        height: 36px;
    }

    .assinar-card {
        padding: 2.25rem 1.5rem;
    }
}

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--vermelho-vivo);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}