/* Formulário público de adesão — alinhado ao visual de /acompanhamento */
:root {
    --oz-navy: #03153f;
    --oz-blue: #0a4ea8;
    --oz-cyan: #1aa7e0;
    --oz-ink: #0b1220;
    --oz-muted: #5b6b82;
    --oz-surface: rgba(255, 255, 255, 0.96);
    --oz-line: rgba(10, 78, 168, 0.14);
    --oz-shadow: 0 22px 50px rgba(2, 13, 70, 0.28);
    --oz-radius: 22px;
    --font-display: "Sora", sans-serif;
    --font-body: "Outfit", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--oz-ink);
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 167, 224, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 45% at 95% 5%, rgba(10, 78, 168, 0.55), transparent 50%),
        radial-gradient(circle at 50% 120%, rgba(3, 21, 63, 0.9), transparent 45%),
        linear-gradient(165deg, #020b33 0%, #04186f 42%, #0a3f8c 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
    opacity: 0.45;
}

.wrap,
.container-adesao {
    width: min(920px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 56px;
    position: relative;
    z-index: 1;
}

.hero-brand {
    text-align: center;
    color: #fff;
    margin-bottom: 22px;
    animation: riseIn 0.7s ease both;
}

.hero-brand a { display: inline-block; text-decoration: none; }

.hero-logo {
    display: block;
    width: min(340px, 82vw);
    height: auto;
    margin: 0 auto 18px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero-brand h1 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.2;
}

.hero-brand p {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(226, 236, 255, 0.88);
}

.panel,
.card-adesao,
.hero-box {
    background: var(--oz-surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--oz-radius);
    box-shadow: var(--oz-shadow);
    padding: clamp(20px, 3vw, 28px);
    margin-bottom: 16px;
    animation: riseIn 0.75s ease both;
}

.hero-box {
    animation-delay: 0.05s;
}

.hero-box p {
    margin: 0;
    color: var(--oz-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.card-adesao { animation-delay: 0.1s; }

.panel-title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--oz-navy);
}

.panel-lead,
.text-muted-light {
    margin: 0 0 18px;
    color: var(--oz-muted) !important;
    font-size: 0.94rem;
    line-height: 1.5;
}

.form-label,
.form-check-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: #243247 !important;
    margin-bottom: 6px;
}

.form-control,
.form-select {
    min-height: 48px;
    border-radius: 12px;
    border-color: #d5deeb;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    background: #fff;
    color: var(--oz-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--oz-cyan);
    box-shadow: 0 0 0 4px rgba(26, 167, 224, 0.18);
}

.form-control:disabled,
.form-select:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.btn-oz,
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0a4ea8;
    --bs-btn-border-color: #0a4ea8;
    --bs-btn-hover-bg: #083d84;
    --bs-btn-hover-border-color: #083d84;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #062f66;
    --bs-btn-active-border-color: #062f66;
    --bs-btn-disabled-bg: #94a3b8;
    --bs-btn-disabled-border-color: #94a3b8;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.7rem 1.1rem;
}

.btn-success {
    --bs-btn-bg: #15803d;
    --bs-btn-border-color: #15803d;
    --bs-btn-hover-bg: #166534;
    --bs-btn-hover-border-color: #166534;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.7rem 1.1rem;
}

.btn-outline-light,
.btn-oz-soft,
.btn-outline-secondary {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1rem;
    color: var(--oz-navy);
    border-color: #cbd5e1;
    background: #fff;
}

.btn-outline-light:hover,
.btn-oz-soft:hover,
.btn-outline-secondary:hover {
    background: #f1f5f9;
    color: var(--oz-navy);
    border-color: #94a3b8;
}

.step-badges {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
    overflow: visible;
}

.step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    background: #f1f6fd;
    border: 1px solid #dbe7f7;
    color: #64748b;
    background-clip: padding-box;
    overflow: visible;
    -webkit-font-smoothing: antialiased;
}

.step-badge.active {
    /* Gradiente suave vertical — evita o “corte” na ponta esquerda do radius */
    background-color: #0a4ea8;
    background-image: linear-gradient(180deg, #1aa7e0 0%, #0f6fd6 48%, #0a4ea8 100%);
    border: 1px solid rgba(147, 197, 253, 0.45);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(26, 167, 224, 0.12), 0 10px 22px rgba(10, 78, 168, 0.22);
}

.step-pane { display: none; }
.step-pane.active { display: block; }

.decreto-intro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.decreto-intro-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
    color: #0a4ea8;
    font-size: 1.45rem;
    border: 1px solid #dbe7f7;
}
.decreto-titulo {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--oz-navy, #03145d);
}
.decreto-texto {
    color: #64748b;
    line-height: 1.55;
    font-size: 0.95rem;
}
.decreto-viewer {
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    background: #f8fbff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 78, 168, 0.08);
}
.decreto-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-bottom: 1px solid #dbe7f7;
    background: #fff;
}
.decreto-viewer-label {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #475569;
}
.decreto-viewer-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: min(72vh, 720px);
    background: #e2e8f0;
}
.decreto-viewer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}
.decreto-viewer-fallback {
    padding: 10px 14px 12px;
    font-size: 0.88rem;
    color: #64748b;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
.decreto-viewer-fallback a {
    color: #0a4ea8;
    font-weight: 600;
}

@media (max-width: 768px) {
    .decreto-intro {
        flex-direction: column;
    }
    .decreto-viewer-frame {
        aspect-ratio: 3 / 4;
        max-height: min(70vh, 640px);
    }
}

.tipo-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tipo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #dbe7f7;
    border-radius: 18px;
    padding: 22px;
    background: #f8fbff;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    min-height: 190px;
    color: var(--oz-ink);
}

.tipo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 167, 224, 0.55);
    box-shadow: 0 12px 28px rgba(10, 78, 168, 0.1);
}

.tipo-card.selected {
    border-color: #0a4ea8;
    box-shadow: 0 0 0 1px rgba(10, 78, 168, 0.25), 0 14px 30px rgba(10, 78, 168, 0.14);
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
}

.tipo-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tipo-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(26, 167, 224, 0.16), rgba(10, 78, 168, 0.18));
    color: #0a4ea8;
}

.tipo-card-icon .totem-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.tipo-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oz-navy);
}

.tipo-card p {
    margin: 0;
    flex: 1 1 auto;
    color: var(--oz-muted);
    line-height: 1.55;
    font-size: 0.92rem;
}

.tipo-card-footer {
    margin-top: auto;
    padding-top: 16px;
}

.tipo-card-tag,
.tipo-cadastro-fixo-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.tipo-card-tag--pf-pj {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.tipo-card-tag--pj,
.tipo-cadastro-totem-tag {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.campos-bloqueados {
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.campos-bloqueados.desbloqueado {
    opacity: 1;
    pointer-events: auto;
    user-select: auto;
}

.cpf-status {
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

.cpf-status.valido { color: #15803d; }
.cpf-status.invalido { color: #b91c1c; }

.helper-box,
.etapa-cameras-intro,
.qtd-cameras-panel,
.totem-anexos-box,
.camera-card {
    background: #f8fbff;
    border: 1px solid #dbe7f7;
    border-radius: 16px;
    padding: 16px 18px;
    color: #334155;
}

.helper-box ul {
    margin-bottom: 0;
    color: var(--oz-muted);
}

.camera-card {
    margin-bottom: 16px;
}

.camera-card-title {
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--oz-navy);
}

.adesao-localizacao-status { min-height: 18px; margin-bottom: 8px; }
.adesao-localizacao-status.is-erro { color: #b91c1c; }
.adesao-localizacao-status.is-ok { color: #15803d; }
.adesao-localizacao-status.is-info { color: var(--oz-muted); }

.adesao-localizacao-mapa {
    height: 240px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe7f7;
    background: #eef2ff;
}

.coordenada-readonly[readonly] {
    background: #f1f5f9;
    color: #334155;
    cursor: default;
}

.campo-obrigatorio {
    color: #dc2626;
    font-weight: 800;
}

.label-com-ajuda {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
}

.btn-ajuda-campo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(26, 167, 224, 0.14);
    color: #0a4ea8;
    cursor: pointer;
}

.btn-ajuda-campo:hover,
.btn-ajuda-campo:focus {
    background: rgba(26, 167, 224, 0.28);
    color: var(--oz-navy);
    outline: none;
}

.qtd-cameras-panel { padding: 18px; }
.qtd-cameras-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.qtd-cameras-modo {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 167, 224, 0.14);
    color: #0a4ea8;
    white-space: nowrap;
}

.qtd-cameras-modo.planilha {
    background: #fff7ed;
    color: #c2410c;
}

.qtd-cameras-select-wrap { max-width: 280px; }
.qtd-cameras-select {
    font-size: 18px;
    font-weight: 700;
}

.qtd-cameras-legenda {
    margin-top: 10px;
    font-size: 13px;
    color: var(--oz-muted);
}

.preview-table {
    max-height: 360px;
    overflow: auto;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.preview-table table {
    margin-bottom: 0;
    color: #0f172a;
}

.feedback-box {
    display: none;
    margin-bottom: 18px;
    border-radius: 14px;
    padding: 14px 16px;
    border: 0;
    font-weight: 500;
}

.feedback-box.show { display: block; }

.feedback-box.success {
    background: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.feedback-box.error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.feedback-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(10, 78, 168, 0.08);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.recaptcha-adesao-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 18px;
    padding: 16px 14px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #dbe7f7;
}

.recaptcha-adesao-inner {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 304px;
    min-height: 78px;
}

/* Verificação de e-mail */
.email-verificacao {
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbe7f7;
}

.email-verificacao-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.email-verificacao-status {
    margin-top: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--oz-muted);
}

.email-verificacao-status.is-ok { color: #15803d; }
.email-verificacao-status.is-erro { color: #b91c1c; }
.email-verificacao-status.is-info { color: #1d4ed8; }

.email-verificado-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 0.84rem;
    font-weight: 700;
}

#email[readonly] {
    background: #f1f5f9;
    cursor: default;
}

.email-codigo-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.email-codigo-wrap .form-control {
    max-width: 160px;
    letter-spacing: 0.22em;
    font-weight: 700;
    text-align: center;
}

.footer-nav {
    text-align: center;
    margin-top: 18px;
}

.footer-nav a {
    color: rgba(226, 236, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(226, 236, 255, 0.35);
    padding-bottom: 2px;
}

.footer-nav a:hover {
    color: #fff;
    border-color: #fff;
}

.adesao-footer-brand {
    margin-top: 36px;
    padding: 8px 0 8px;
    text-align: center;
    animation: riseIn 0.8s ease 0.12s both;
}

.adesao-footer-rule {
    width: min(220px, 42%);
    height: 1px;
    margin: 0 auto 22px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(226, 236, 255, 0.55) 50%,
        transparent 100%
    );
}

.adesao-footer-logo {
    display: block;
    width: min(360px, 78vw);
    height: auto;
    margin: 0 auto 18px;
    /* Logo branco sobre fundo preto: o preto some no azul da página */
    mix-blend-mode: screen;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
    opacity: 0.96;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.adesao-footer-brand:hover .adesao-footer-logo {
    opacity: 1;
    transform: translateY(-1px);
}

.adesao-footer-brand .footer-nav {
    margin-top: 6px;
}

.aviso-rtsp {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #fcd9a4;
    border-left: 4px solid #f59e0b;
    border-radius: 16px;
    background: linear-gradient(120deg, #fffbeb 0%, #fefce8 70%);
    color: #3f3f46;
}

.aviso-rtsp-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.aviso-rtsp-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.15rem;
    color: #fff;
    background-image: linear-gradient(160deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
    box-shadow: 0 6px 14px rgba(217, 119, 6, 0.26);
}

.aviso-rtsp-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #92400e;
}

.aviso-rtsp-text {
    margin: 4px 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #57534e;
}

.aviso-rtsp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.aviso-rtsp-col {
    padding: 12px 14px;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
}

.aviso-rtsp-col-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.aviso-rtsp-col.is-nao .aviso-rtsp-col-title { color: #b91c1c; }
.aviso-rtsp-col.is-sim .aviso-rtsp-col-title { color: #15803d; }

.aviso-rtsp-col ul {
    margin: 0;
    padding-left: 18px;
}

.aviso-rtsp-col li {
    line-height: 1.7;
}

.aviso-rtsp-col code {
    font-size: 0.82rem;
    /* URLs longas não podem estourar a coluna no celular */
    overflow-wrap: anywhere;
    color: #1e293b;
    background: #f1f5f9;
    padding: 1px 5px;
    border-radius: 5px;
}

.campo-dica-rtsp {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--oz-muted);
}

.resumo-planilha-erro {
    color: #b91c1c !important;
    font-weight: 600;
}

.preview-url-invalida {
    color: #b91c1c;
    font-weight: 600;
    background: #fef2f2;
}

.adesao-tutorial {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: -4px 0 22px;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid #dbe7f7;
    background: linear-gradient(120deg, #eff6ff 0%, #f8fbff 62%);
    box-shadow: 0 10px 24px rgba(10, 78, 168, 0.08);
    animation: riseIn 0.6s ease both;
}

.adesao-tutorial[hidden] {
    display: none;
}

.adesao-tutorial-thumb {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.5rem;
    color: #fff;
    background-image: linear-gradient(160deg, #1aa7e0 0%, #0f6fd6 55%, #0a4ea8 100%);
    box-shadow: 0 8px 18px rgba(10, 78, 168, 0.26);
}

.adesao-tutorial-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.adesao-tutorial-kicker,
.adesao-video-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--oz-cyan);
}

.adesao-tutorial-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--oz-navy);
}

.adesao-tutorial-hint {
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--oz-muted);
}

.adesao-tutorial-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

.adesao-video-modal .modal-content {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--oz-radius);
    background: var(--oz-surface);
    box-shadow: var(--oz-shadow);
    overflow: hidden;
}

.adesao-video-modal .modal-header {
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--oz-line);
}

.adesao-video-modal .modal-title {
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-size: 1.16rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--oz-navy);
}

.adesao-video-modal .modal-body {
    padding: 18px 22px 22px;
}

.adesao-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #dbe7f7;
    background: #020b33;
    box-shadow: 0 16px 36px rgba(2, 13, 70, 0.22);
}

.adesao-video-media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    /* contain evita corte caso a gravação não seja 16:9 */
    object-fit: contain;
    background: #020b33;
}

.adesao-video-nota {
    margin: 14px 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--oz-muted);
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .step-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .tipo-cards { grid-template-columns: 1fr; }
    .step-badges { grid-template-columns: 1fr; }
    .wizard-actions {
        flex-direction: column;
        gap: 10px;
    }
    .wizard-actions .btn,
    .helper-box .btn {
        width: 100%;
    }
    .qtd-cameras-top { flex-direction: column; }
}

@media (max-width: 576px) {
    .wrap,
    .container-adesao {
        width: min(100% - 20px, 920px);
        padding: 18px 0 36px;
    }
    .panel,
    .card-adesao,
    .hero-box {
        padding: 18px;
        border-radius: 18px;
    }
    .hero-logo { width: min(280px, 88vw); }
    .recaptcha-adesao-inner {
        transform: scale(0.94);
        transform-origin: center center;
    }
    .email-codigo-wrap .form-control { max-width: 100%; }
}

@media (max-width: 640px) {
    .aviso-rtsp-grid { grid-template-columns: minmax(0, 1fr); }
    .adesao-tutorial {
        flex-wrap: wrap;
        gap: 12px;
    }
    .adesao-tutorial-cta { width: 100%; }
    .adesao-video-modal .modal-body { padding: 14px 16px 18px; }
    .adesao-video-frame { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-brand,
    .panel,
    .card-adesao,
    .hero-box,
    .adesao-tutorial {
        animation: none !important;
    }
}
