/* ============================================================
   renovar-cie-2026.css
   Página: /blog/renovar-carteirinha-estudante-2026/
   Depende de styles.css (institucional) já carregado antes.
   ============================================================ */

body { font-family: 'Geist', Arial, Helvetica, sans-serif; }

.evt-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.evt-bg-white { background: var(--white); }
.evt-bg-soft  { background: var(--soft); }
.evt-text-centered { text-align: center; }

main .section { padding-top: 68px; padding-bottom: 68px; }
@media (max-width: 820px) { main .section { padding-top: 50px; padding-bottom: 50px; } }
@media (max-width: 560px) { main .section { padding-top: 42px; padding-bottom: 42px; } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
#como-renovar, #documentos, #precos, #duvidas { scroll-margin-top: 84px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.page-guia a:focus-visible,
.page-guia button:focus-visible,
.page-guia summary:focus-visible,
.page-guia select:focus-visible,
.page-guia input:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px;
}

/* ─── Header (mesmo padrão da página de evento) ──────────────── */
.micro-header {
  position: sticky; top: 0; z-index: 150;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.micro-header-inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.micro-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.micro-brand img { height: 46px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; display: block; }
.micro-brand .guide-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue-dark); background: var(--blue-soft); padding: 4px 9px; border-radius: 6px;
  white-space: nowrap;
}
.micro-nav { display: flex; align-items: center; gap: 20px; margin-left: 24px; flex-wrap: wrap; }
.micro-nav a { font-size: 13px; font-weight: 700; color: #354b58; white-space: nowrap; }
.micro-nav a:hover { color: var(--blue); }
.micro-header-cta { margin-left: auto; flex-shrink: 0; }
.btn-event-header { max-width: 280px; white-space: normal; line-height: 1.25; text-align: center; padding: 11px 18px; font-size: 13px; }
.event-cta-short { display: none; }
@media (max-width: 1050px) {
  .micro-nav { display: none; }
  .btn-event-header .event-cta-full { display: none; }
  .btn-event-header .event-cta-short { display: inline; }
  .btn-event-header { max-width: none; white-space: nowrap; }
  .micro-header .mobile-nav { position: relative; display: block; margin-left: 0; flex: 0 0 auto; }
  .micro-header .mobile-nav summary {
    width: 42px; height: 42px; display: grid; align-content: center; gap: 5px;
    border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; list-style: none;
  }
  .micro-header .mobile-nav summary::-webkit-details-marker { display: none; }
  .micro-header .mobile-nav summary span { height: 2px; border-radius: 2px; background: var(--navy); }
  .micro-header .mobile-nav nav {
    position: absolute; right: 0; top: 50px; width: min(260px, calc(100vw - 32px));
    display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px;
    padding: 8px; background: var(--white); box-shadow: var(--shadow); z-index: 200;
  }
  .micro-header .mobile-nav nav a { border-bottom: 1px solid var(--line); padding: 13px; color: var(--ink); font-size: 14px; font-weight: 700; }
  .micro-header .mobile-nav nav a:last-child { border: 0; }
}
@media (max-width: 480px) {
  .micro-header-inner { gap: 8px; }
  .micro-brand .guide-tag { display: none; }
  .micro-brand img { height: 34px; }
  .btn-event-header { padding: 9px 10px; font-size: 11.5px; min-height: 36px; }
  .micro-header .mobile-nav summary { width: 36px; height: 36px; }
}
.event-cta-micro { display: none; }
@media (max-width: 340px) {
  .micro-header-inner { gap: 5px; }
  .micro-brand { gap: 0; }
  .micro-brand img { height: 26px; }
  .btn-event-header .event-cta-short { display: none; }
  .btn-event-header .event-cta-micro { display: inline; }
  .btn-event-header { padding: 8px 9px; font-size: 11px; min-height: 34px; }
  .micro-header .mobile-nav summary { width: 32px; height: 32px; padding: 8px; }
}

.breadcrumb { background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumb .container { padding: 10px 0; font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--blue-dark); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: #b7c7cf; }
.breadcrumb strong { color: var(--ink); font-weight: 700; }

/* ─── Placeholder de imagem (16:9, preto) ────────────────────── */
.img-placeholder { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; line-height: 0; }
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── Hero editorial ──────────────────────────────────────────── */
.guia-hero { background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%); }
.guia-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 52px 0; }
.evt-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); border: 1px solid #cdeaf7;
  color: var(--blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.guia-hero h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.18; letter-spacing: -.02em; color: var(--navy); }
.guia-hero .evt-sub { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 14px 0 18px; max-width: 540px; }
.guia-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); margin-bottom: 24px; }
.guia-meta strong { color: var(--ink); }
.guia-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) { .guia-hero-grid { grid-template-columns: 1fr; padding: 36px 0; gap: 24px; } }

/* ─── Box de destaque (validade) ─────────────────────────────── */
.info-box {
  border-left: 4px solid var(--blue); background: var(--blue-soft);
  border-radius: 0 12px 12px 0; padding: 14px 18px; color: var(--blue-dark);
  font-size: 14.5px; font-weight: 700; margin-top: 18px;
}

/* ─── Cards genéricos (por que renovar) ──────────────────────── */
.feature-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.feature-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--soft); }
.feature-card .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 10px; }
.feature-card .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card p { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .feature-cards { grid-template-columns: 1fr; } }

/* ─── Passo a passo ───────────────────────────────────────────── */
.step-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.step-card:first-of-type { border-top: 0; }
.step-card.is-reverse { direction: rtl; }
.step-card.is-reverse > * { direction: ltr; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.step-card h3 { font-size: clamp(18px,2.2vw,21px); color: var(--navy); margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin: 0 0 12px; }
.step-card ul { margin: 10px 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.step-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 8px; }
@media (max-width: 800px) { .step-card, .step-card.is-reverse { grid-template-columns: 1fr; direction: ltr; } }

/* ─── Preços dentro do passo 2 ────────────────────────────────── */
.price-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.price-mini { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--white); }
.price-mini .lbl { font-size: 12px; font-weight: 700; color: var(--muted); }
.price-mini .val { font-size: 22px; font-weight: 900; color: var(--navy); margin: 4px 0 8px; }
.price-mini ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 480px) { .price-mini-grid { grid-template-columns: 1fr; } }

/* ─── Vídeo ────────────────────────────────────────────────────── */
.video-shell { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 24px 48px -20px rgba(6,43,69,.3); display: flex; }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fallback { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--blue-dark); font-weight: 600; }

/* ─── Listas simples (quem pode / dicas) ─────────────────────── */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.pill-list span { font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
.notice-box { border-left: 4px solid #c94b4b; background: #fdf3f3; border-radius: 0 12px 12px 0; padding: 14px 16px; color: #7a2a2a; font-size: 13.5px; line-height: 1.6; margin-top: 16px; }

.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.tip-item { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--white); font-size: 13.5px; color: var(--ink); }
.tip-item .n { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--navy); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 640px) { .tips-grid { grid-template-columns: 1fr; } }

/* ─── CTA em destaque ─────────────────────────────────────────── */
.cta-final { background: var(--navy); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; font-size: clamp(24px,3vw,32px); margin: 0 0 10px; }
.cta-final p { color: #cdd9e2; font-size: 14.5px; max-width: 520px; margin: 0 auto 20px; }
.cta-price-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.cta-price-row div { font-size: 14px; color: #cdd9e2; }
.cta-price-row strong { display: block; font-size: 20px; color: #fff; margin-top: 2px; }
.cta-final .button-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.evt-updated { color: var(--muted); font-size: 13px; }
.evt-p-muted { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* ─── Classes de limpeza de estilo inline ────────────────────── */
.guia-section-title { font-size: clamp(24px,3vw,30px); margin-top: 8px; }
.guia-section-title-small { font-size: clamp(22px,2.8vw,26px); margin-top: 8px; }
.guia-heading-mt8 { margin-top: 8px; }
.guia-text-spacing { margin-top: 12px; }
.step-card-text { padding: 36px 0; border-top: 1px solid var(--line); }
.step-card-bordered { border-top: 1px solid var(--line); }
.video-section-spacing { margin-top: 20px; }
.cta-eyebrow-light { color: #9fc9e8; }

/* ─── Vídeo do hero: clique para reproduzir ──────────────────── */
.video-poster-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  z-index: 0; display: block;
}
.video-poster-btn {
  position: relative; z-index: 1;
  flex: 1 1 auto; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  cursor: pointer; font-family: inherit; text-align: center; line-height: normal;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(4,10,18,.42);
  transition: background-color .15s ease;
}
.video-poster-btn:hover { background: rgba(4,10,18,.58); }
.video-poster-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.video-poster-btn .play-icon {
  width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.video-poster-btn .play-label { color: #fff; font-size: 14.5px; font-weight: 700; }

/* ─── Box compacto de orientação (elegibilidade) ─────────────── */
.help-mini-box { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--white); margin-top: 16px; }
.help-mini-box strong { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 6px; }
.help-mini-box p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; }

/* ─── Fontes e atualização (bloco discreto) ──────────────────── */
.fontes-discretas { max-width: 100%; margin: 0; padding: 34px 24px 38px; border-top: 1px solid var(--line); background: var(--soft); }
.fontes-discretas .container-inner { max-width: 820px; margin: 0 auto; }
.fontes-discretas strong { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fontes-discretas p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 14px; }
.fontes-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.fontes-links a { font-size: 13px; font-weight: 700; color: var(--blue-dark); padding: 6px 0; }
.fontes-links a:hover { text-decoration: underline; }
