/* Barretos Hoje — mobile-first, tema claro */
:root {
  --navy: #12203f;
  --navy-soft: #243456;
  --orange: #e85d04;
  --orange-2: #f6a11a;
  --orange-dark: #c44100;
  --red: #e11d2e;
  --bg: #f3f4f7;
  --card: #fff;
  --muted: #5c6578;
  --line: #e6e8ee;
  --whatsapp: #1f9e4b;
  --whatsapp-2: #25d366;
  --header-h: 58px;
  --sponsor-h: 44px;
  --ticker-h: 36px;
  --shadow: 0 8px 24px rgba(18, 32, 63, 0.08);
  --radius: 16px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--navy);
  line-height: 1.45;
  min-height: 100dvh;
  padding-bottom: calc(var(--ticker-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.02em; margin: 0; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
  border-radius: 8px;
}
.skip:focus { left: 8px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(18, 32, 63, 0.05);
  min-height: var(--header-h);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: var(--navy);
  display: grid;
  place-items: center;
}
.logo-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}
.logo-word span { color: var(--orange); }

.nav-desktop { display: none; }
.nav-desktop a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 6px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.ao-vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  border-radius: 999px;
  line-height: 1;
  flex: 0 0 auto;
}
.ao-vivo i {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.8);
  animation: pulse 1.6s ease-out infinite;
}
.ao-vivo.is-off {
  background: #9aa3b2;
}
.ao-vivo.is-off i { animation: none; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.hamburger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  margin-right: -6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.header.is-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .hamburger span:nth-child(2) { opacity: 0; }
.header.is-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 14px 16px;
}
.header.is-open .nav-mobile { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] { color: var(--orange); }

/* ===== Promoções ===== */
.promos {
  background: linear-gradient(105deg, #e85d04 0%, #f08c16 55%, #f6b13a 100%);
  color: #fff;
  padding: 10px 0 12px;
}
.promos-inner { max-width: var(--max); margin: 0 auto; }
.promos-head { padding: 0 16px 6px; }
.promos-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
  margin-bottom: 4px;
}
.promos h1 {
  font-size: clamp(1.45rem, 6.4vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.promos .lead {
  margin: 4px 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}
.badge-exemplo {
  display: inline-block;
  margin-top: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.45);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.promos-carousel {
  position: relative;
  display: block;
  padding: 4px 0 0;
}
.promo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(18, 32, 63, 0.22);
  display: grid;
  place-items: center;
  z-index: 3;
  padding: 0;
  transition: opacity 0.2s, transform 0.15s;
}
.promo-arrow-prev { left: 8px; }
.promo-arrow-next { right: 8px; }
.promo-arrow:hover { transform: translateY(-50%) scale(1.06); }
.promo-arrow:active { transform: translateY(-50%) scale(0.96); }
.promo-arrow:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.promo-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(18, 32, 63, 0.12);
}
.promos-carousel.no-scroll .promo-arrow { visibility: hidden; }
.promos-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px 6px;
  scrollbar-width: none;
}
.promos-track::-webkit-scrollbar { display: none; }

.promos-more {
  display: flex;
  justify-content: center;
  padding: 8px 16px 2px;
}
.btn-todas {
  flex: 0 1 auto;
  min-width: min(100%, 260px);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(18, 32, 63, 0.14);
}
.btn-todas:hover { color: var(--orange-dark); }
.promos-track .btn-whatsapp .full { display: none; }
.promos-track .btn-whatsapp .short { display: inline; }

.promo-card {
  flex: 0 0 calc(100% - 32px);
  scroll-snap-align: start;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 8px 10px;
  align-items: start;
}
.promo-photo {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3f6;
  grid-row: span 2;
  position: relative;
}
.promo-photo img { width: 100%; height: 100%; object-fit: cover; }
.promo-photo .tag {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--red);
  padding: 3px 5px;
  border-radius: 6px;
  white-space: nowrap;
}
.promo-photo .tag.destaque { background: var(--orange); }
.promo-photo .tag.ate { background: #d97706; }
.promo-shop {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}
.promo-product { color: var(--muted); font-size: 0.85rem; margin: 2px 0 6px; }
.promo-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.promo-old {
  color: #8b93a3;
  text-decoration: line-through;
  font-size: 0.85rem;
}
.promo-new {
  color: var(--red);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}
.promo-new small { font-size: 0.65em; margin-right: 1px; }
.promo-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}
.promo-actions .btn {
  white-space: nowrap;
  padding: 0 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  flex: 1;
}
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp .short { display: none; }
.btn-whatsapp:hover { filter: brightness(1.05); }
.btn-maps {
  background: #eef1f6;
  color: var(--navy);
  border: 1px solid var(--line);
}
.promos-empty {
  margin: 8px 16px 0;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 16px;
}

/* ===== Sponsor ===== */
.sponsor-strip {
  background: linear-gradient(90deg, #f08a16, #f4b03a);
  color: var(--navy);
  min-height: var(--sponsor-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.92rem;
  text-align: center;
}
.sponsor-strip strong {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.sponsor-kicker { font-weight: 600; opacity: 0.85; }

/* ===== Programação ===== */
.wrap { max-width: var(--max); margin: 0 auto; padding: 20px 16px 8px; }
.programacao h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.programacao-grid { display: grid; gap: 16px; }

.on-air {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  background: #0b0d12;
  color: #fff;
  border-radius: 14px 14px 0 0;
  padding: 8px 10px;
}
.on-air[hidden] { display: none !important; }
.on-air-flag {
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 7px;
  border-radius: 6px;
}
.on-air-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}
.player-stage {
  background: #0b0d12;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.on-air:not([hidden]) + .player-stage {
  border-radius: 0 0 14px 14px;
  box-shadow: none;
}
.player-block { box-shadow: var(--shadow); border-radius: 14px; }
.player-stage iframe,
.player-stage .player-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-placeholder {
  display: grid;
  place-items: center;
  color: #c5c8d0;
  text-align: center;
  padding: 16px;
  background: radial-gradient(circle at 30% 20%, #1c2230, #0b0d12);
}
.credit {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.credit a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.player-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(18,32,63,0.04);
}
.btn-yt { background: var(--navy); color: #fff; }
.btn-yt:hover { background: var(--navy-soft); }

.guia {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guia table { width: 100%; border-collapse: collapse; }
.guia th, .guia td { text-align: left; padding: 12px 14px; }
.guia thead th {
  background: #f7f8fb;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.guia tbody tr { border-top: 1px solid var(--line); }
.guia tbody tr.is-agora { background: #fff6eb; }
.guia .hora {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  width: 72px;
  color: var(--navy);
}
.guia .prog { font-weight: 600; }
.pill-agora {
  display: inline-block;
  margin-left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
  vertical-align: middle;
}
.status-msg {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.btn-historico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 16px;
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--navy);
  box-sizing: border-box;
}
.btn-historico:hover { border-color: var(--orange); color: var(--orange-dark); }

/* ===== Histórico ===== */
.historico {
  display: none;
  margin-top: 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.historico.is-open { display: block; }
.historico h3 {
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.day-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.day-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef1f6;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.day-tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}
.hist-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0d12;
  border-radius: 12px;
  overflow: hidden;
  margin: 8px 0 12px;
  max-width: 560px;
}
.hist-player iframe,
.hist-player .hist-empty {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hist-empty {
  display: grid;
  place-items: center;
  color: #c5c8d0;
  font-size: 0.9rem;
  padding: 12px;
  text-align: center;
}
.hist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hist-item {
  text-align: left;
  background: #f7f8fb;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  display: block;
  width: 100%;
  color: var(--navy);
}
.hist-item:hover, .hist-item.is-playing { border-color: var(--orange); }
.hist-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #ddd; }
.hist-item .meta { padding: 8px; }
.hist-item .meta b { display: block; font-size: 0.82rem; line-height: 1.3; }
.hist-item .meta span { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }

/* ===== Outras seções ===== */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 16px 24px;
}
.section h2 {
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--orange);
  margin: 12px 0;
}
.cards {
  display: grid;
  gap: 12px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; text-transform: none; letter-spacing: 0; font-family: var(--font); }
.info-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

/* ===== Ticker ===== */
.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: linear-gradient(90deg, #e85d04, #f08c16);
  color: #fff;
  min-height: var(--ticker-h);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.ticker-icon {
  flex: 0 0 auto;
  padding: 0 2px 0 14px;
  font-size: 1rem;
  line-height: 1;
}
.ticker-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-left: 4px;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 12px), transparent);
}
.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding: 8px 16px 8px 2px;
  font-weight: 700;
  font-size: 0.88rem;
  animation: ticker 28s linear infinite;
}
.ticker-move span { margin: 0 0.6em; opacity: 0.8; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Footer ===== */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 24px 16px 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer strong { color: var(--navy); }
.footer a { color: var(--navy); font-weight: 700; }
.footer p { margin: 0 0 8px; }

/* ===== Cinema ===== */
.cinema-dim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 16, 0.78);
  z-index: 90;
  border: 0;
  padding: 0;
  width: 100%;
  cursor: pointer;
}
body.cinema .cinema-dim { display: block; }
body.cinema { overflow: hidden; }
body.cinema .header { z-index: 120; }
body.cinema .sponsor-strip {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 110;
}
body.cinema .player-col { position: relative; z-index: 115; }
body.cinema .player-block {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + var(--sponsor-h) + 10px);
  transform: translateX(-50%);
  width: min(96vw, 1100px);
  z-index: 116;
  background: #0b0d12;
}
body.cinema .player-stage {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - var(--header-h) - var(--sponsor-h) - 90px);
  border-radius: 0 0 12px 12px;
}
body.cinema .player-actions,
body.cinema .credit { position: relative; z-index: 115; }

/* ===== Desktop ===== */
@media (min-width: 900px) {
  :root { --header-h: 64px; }
  .hamburger, .nav-mobile { display: none !important; }
  .header-inner { padding: 8px 24px; gap: 22px; }
  .logo { flex: 0 0 auto; }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
  }
  .ao-vivo { font-size: 0.72rem; padding: 8px 12px; }
  .promos { padding: 18px 0 18px; }
  .promos-head { padding: 0 24px 10px; }
  .promos-carousel {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 10px;
    padding: 4px 16px 0;
  }
  .promo-arrow {
    position: static;
    transform: none;
    width: 52px;
    height: 52px;
  }
  .promo-arrow:hover { transform: scale(1.06); }
  .promo-arrow:active { transform: scale(0.96); }
  .promo-arrow:disabled { transform: none; }
  .promos-track {
    overflow-x: auto;
    padding: 4px 2px 6px;
    gap: 14px;
  }
  .promo-card {
    flex: 0 0 calc((100% - 28px) / 3);
    width: auto;
    grid-template-columns: 88px 1fr;
  }
  .promo-photo { width: 88px; height: 88px; }
  .promos-more { padding: 10px 24px 2px; }
  .wrap { padding: 10px 24px 8px; }
  .programacao h2 { margin-bottom: 8px; }
  .btn { min-height: 40px; }
  .programacao-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 22px;
    align-items: start;
  }
  .btn-historico { width: auto; padding: 0 22px; }
  .hist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section { padding: 8px 24px 32px; }
  .footer { padding: 28px 24px 36px; }
  .ticker { position: static; }
}


@media (min-width: 1200px) {
  .promo-card { grid-template-columns: 80px 1fr; }
  .promo-photo { width: 80px; height: 80px; }
  .promo-new { font-size: 1.4rem; }
  .btn-whatsapp .full { display: none; }
  .btn-whatsapp .short { display: inline; }
  .promos { padding: 10px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .ticker-move {
    animation: none;
    white-space: normal;
    padding-right: 12px;
  }
  .ticker-track { mask-image: none; overflow: auto; }
  .ao-vivo i { animation: none; }
}

/* ===== Página Promoções ===== */
.promos-page-wrap { padding-bottom: 8px; }
.page-promos .promos-page {
  padding: 20px 0 32px;
}
.promos-page-head { padding: 0 16px 16px; }
.promos-page-head h1 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  text-transform: uppercase;
  color: var(--orange);
}
.promos-page-head .lead { margin: 6px 0 0; color: var(--muted); }
.promos-page-head .badge-exemplo {
  background: rgba(232, 93, 4, 0.12);
  border-color: rgba(232, 93, 4, 0.35);
  color: var(--orange-dark);
}
.voltar-inicio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.voltar-inicio:hover { color: var(--orange-dark); }
.promos-list {
  display: grid;
  gap: 12px;
  padding: 0 16px;
}
.promos-list .promo-card {
  flex: none;
  width: auto;
  grid-template-columns: 96px 1fr;
}
.promos-list .promo-photo { width: 96px; height: 96px; }
.promos-list-empty {
  margin: 0 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  color: var(--muted);
}
.page-promos { padding-bottom: 0; }

@media (min-width: 700px) {
  .promos-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 24px; }
  .promos-page-head { padding: 0 24px 20px; }
}
@media (min-width: 1100px) {
  .promos-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== Páginas internas: busca, chips, listagens ===== */
.page-head { padding: 8px 0 16px; }
.page-head h1 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  text-transform: uppercase;
  color: var(--orange);
}
.page-head .lead { margin: 6px 0 0; color: var(--muted); }
.page-head .badge-exemplo {
  background: rgba(232, 93, 4, 0.12);
  border-color: rgba(232, 93, 4, 0.35);
  color: var(--orange-dark);
}
.search-box {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--navy);
  margin: 12px 0 10px;
  box-shadow: 0 1px 2px rgba(18,32,63,0.04);
}
.search-box:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.dir-list, .tur-list { display: grid; gap: 12px; }
.dir-card, .tur-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.dir-card h3, .tur-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 4px;
}
.dir-meta, .tur-meta { color: var(--muted); font-size: 0.88rem; margin: 0 0 6px; }
.dir-card p, .tur-card p { margin: 0 0 8px; font-size: 0.92rem; }
.badge-patrocinio {
  display: inline-block;
  margin-left: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}
.dir-actions, .tur-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dir-actions .btn, .tur-actions .btn { flex: 1 1 140px; }
.tur-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0d12;
  border-radius: 12px;
  overflow: hidden;
  margin: 10px 0 8px;
}
.tur-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-empty {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  color: var(--muted);
}
.teaser-row { display: grid; gap: 12px; }
.teaser-actions { margin-top: 14px; }
.teaser-actions .btn { flex: 0 1 auto; min-width: min(100%, 240px); }
body.page-inner { padding-bottom: 0; }

@media (min-width: 700px) {
  .dir-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tur-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teaser-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .dir-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ===== Acessibilidade ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== Home: emprego e formação ===== */
.home-actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.home-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 88px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--navy);
  border: 1px solid var(--line);
}
.home-action:hover,
.home-action:focus-visible {
  border-color: var(--orange);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.home-action strong {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--orange);
}
.home-action span { color: var(--muted); font-size: 0.92rem; }

/* ===== Vagas / cursos extras ===== */
.badge-exemplo-card {
  margin: 0 0 0 6px;
  vertical-align: middle;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.35);
  color: var(--orange-dark);
}
.vaga-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.vaga-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f3f4f7;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}
.cta-anuncie {
  background: #fff;
  border: 1px dashed rgba(232, 93, 4, 0.45);
  border-radius: var(--radius);
  padding: 14px;
  margin: 0 0 16px;
}
.cta-anuncie p { margin: 0 0 10px; color: var(--muted); font-size: 0.92rem; }
.cta-anuncie .btn { width: 100%; flex: 1 1 auto; }
.curso-grupo { margin: 0 0 18px; }
.curso-grupo-titulo {
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  color: var(--navy);
  margin: 4px 0 10px;
}
#lista-cursos.dir-list { display: block; }

/* ===== Currículo ===== */
.privacy-note {
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #eef6ff;
  border-radius: 12px;
  color: var(--navy);
  font-size: 0.92rem;
}
.cv-layout { max-width: var(--max); margin: 0 auto; padding: 0 16px 32px; display: grid; gap: 22px; }
.cv-form, .cv-preview-col { min-width: 0; }
.cv-form h2, .cv-preview-col h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 12px;
}
.cv-form label, .cv-item label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 10px 0 6px;
}
.cv-form input[type="text"],
.cv-form input[type="file"],
.cv-form textarea,
.cv-item input,
.cv-item textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  background: #fff;
  color: var(--navy);
}
.cv-form textarea, .cv-item textarea { min-height: 72px; resize: vertical; }
.cv-form input:focus, .cv-form textarea:focus,
.cv-item input:focus, .cv-item textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.cv-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0 8px;
}
.cv-block-head h3 { font-family: var(--font); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.cv-block-head .btn { flex: 0 0 auto; min-width: 0; }
.cv-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px 12px;
  margin: 0 0 10px;
}
.cv-item legend { font-weight: 700; padding: 0 6px; }
.cv-item .btn-remove { width: 100%; margin-top: 8px; }
.cv-form-actions, .cv-foto-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cv-form-actions .btn { flex: 1 1 160px; }
.cv-sheet {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  color: #1a1a1a;
}
.cv-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.cv-photo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 84px;
}
.cv-sheet h3 { font-size: 1.45rem; margin: 0 0 4px; text-transform: none; letter-spacing: 0; }
.cv-sheet h4 { font-family: var(--font); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); margin: 14px 0 6px; }
.cv-sheet p, .cv-sheet li { margin: 0 0 6px; font-size: 0.92rem; line-height: 1.4; }
.cv-sheet ul { margin: 0; padding-left: 18px; }
.cv-period { color: var(--muted); font-size: 0.82rem !important; }
.cv-empty { color: var(--muted); }
.cv-skills { line-height: 1.5; }

@media (min-width: 700px) {
  .home-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-anuncie .btn { width: auto; }
}
@media (min-width: 900px) {
  .nav-desktop { gap: 8px; flex-wrap: wrap; }
  .nav-desktop a { font-size: 0.82rem; padding: 8px 4px; }
  .cv-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding: 0 24px 40px; }
  .cv-preview-col { position: sticky; top: calc(var(--header-h) + 12px); }
}

@media print {
  body.page-curriculo { background: #fff; padding: 0; }
  body.page-curriculo .skip,
  body.page-curriculo .header,
  body.page-curriculo .sponsor-strip,
  body.page-curriculo .page-head,
  body.page-curriculo .cv-form,
  body.page-curriculo .cv-preview-col h2,
  body.page-curriculo .footer { display: none !important; }
  body.page-curriculo .cv-layout { display: block; padding: 0; margin: 0; max-width: none; }
  body.page-curriculo .cv-sheet {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
  @page { size: A4; margin: 14mm; }
}


/* ===== Vagas em foto / cursos em vídeo ===== */
.btn-anuncie-foto {
  width: 100%;
  flex: none;
  min-height: 56px;
  margin: 14px 0 18px;
  padding: 12px 16px;
  text-align: center;
  line-height: 1.25;
}
.vaga-feed { display: grid; gap: 20px; }
.vaga-flyer {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0 0 14px;
}
.vaga-foto {
  display: block;
  width: 100%;
  padding: 0;
  position: relative;
  background: #ececec;
}
.vaga-foto img {
  width: 100%;
  height: auto;
  max-height: min(46vh, 340px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}
.vaga-foto .badge-exemplo-card {
  position: absolute;
  top: 10px;
  left: 10px;
  margin: 0;
}
.vaga-flyer-meta {
  margin: 10px 14px 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.vaga-flyer .btn-whatsapp {
  display: flex;
  width: calc(100% - 28px);
  margin: 0 14px;
  min-height: 52px;
  flex: none;
}
.vaga-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 14, 24, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 12px 16px;
}
.vaga-lightbox[hidden] { display: none !important; }
.vaga-lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 80px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.vaga-lightbox-fechar {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}
body.lightbox-open { overflow: hidden; }

.video-grid { display: grid; gap: 16px; }
.video-card h2 {
  font-family: var(--font);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 10px 2px 0;
  line-height: 1.3;
}
.video-facade, .video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #0b0d12;
  overflow: hidden;
  position: relative;
}
.video-facade { padding: 0; }
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
@media (min-width: 700px) {
  .vaga-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* ===== Currículo v2 — formulário e folha A4 ===== */
body.page-curriculo {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  scroll-padding-top: calc(var(--header-h) + 12px);
  scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
.cvf-form :is(.cvf-chip, .cvf-input, .cvf-add, .cvf-check, .cvf-item, .cvf-card, .cvf-remove) {
  scroll-margin-top: calc(var(--header-h) + 12px);
  scroll-margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
.cvf-layout {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px 28px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}
.cvf-form, .cvf-preview, .cvp-box, #cvp-page {
  min-width: 0;
  max-width: 100%;
}
.cvf-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 6px 16px 16px;
  margin: 0 0 14px;
  box-shadow: 0 1px 2px rgba(18, 32, 63, 0.04);
}
.cvf-card:last-child { margin-bottom: 0; }
.cvf-card legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0 6px;
  color: var(--navy);
}
.cvf-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  letter-spacing: 0;
}
.cvf-opt { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.cvf-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 12px 0 6px;
}
.cvf-input,
.cvf-form select.cvf-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--navy);
  appearance: auto;
}
.cvf-form textarea.cvf-input { min-height: 84px; resize: vertical; line-height: 1.4; }
.cvf-input:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}
.cvf-input:disabled { background: #f3f4f7; color: var(--muted); }
.cvf-file { padding: 8px; }
.cvf-row {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 10px;
}
.cvf-hint { margin: 8px 0 6px; color: var(--muted); font-size: 0.86rem; }
.cvf-hint.is-on, .cvf-saved.is-on { color: var(--whatsapp); }
.cvf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.cvf-check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: 0 0 22px;
  accent-color: var(--navy);
}
.cvf-item {
  border: 1px solid var(--line);
  background: #f8f9fb;
  border-radius: 14px;
  padding: 8px 12px 12px;
  margin: 10px 0 0;
}
.cvf-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 2px;
}
.cvf-item-head strong { font-size: 0.92rem; }
.cvf-remove {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 8px;
  color: #333;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cvf-remove:hover, .cvf-remove:focus {
  background: #f3f4f7;
  color: #111;
}
.cvf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}
.cvf-full { grid-column: 1 / -1; }
.cvf-half { grid-column: span 1; }
.cvf-small { width: 100%; margin-top: 10px; flex: 1 1 auto; }
.cvf-add {
  width: 100%;
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 52px;
  font-size: 0.98rem;
  font-weight: 700;
  border: 1.5px dashed var(--navy);
  background: #fff;
  color: var(--navy);
  border-radius: 12px;
}
.cvf-add:hover, .cvf-add:focus {
  background: #f4f5f7;
}
.cvf-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin: 8px 0 4px;
}
@media (max-width: 380px) {
  .cvf-checks { grid-template-columns: 1fr; }
}
.cvf-foto-pos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 6px;
}
.cvf-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.cvf-radio input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--navy);
}
.cvf-radio:has(input:checked) {
  border-color: var(--navy);
  background: #f3f4f7;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.cvf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.cvf-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
  text-align: left;
}
.cvf-chip.is-on {
  background: #e8f6ee;
  border-color: #b7e0c6;
  color: #145c32;
}
.cvf-chip-long {
  width: 100%;
  border-radius: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.cvf-chip-long.is-on { background: #eef6ff; border-color: #c5d8f0; color: var(--navy); }

.cvf-preview h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 10px;
}
.cvf-modelos { display: grid; gap: 10px; margin: 0 0 14px; }
.cvf-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cvf-choice-label { font-weight: 700; font-size: 0.88rem; margin-right: 4px; }
.cvf-choice .chip[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.cvf-cor {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cfd3dc;
  padding: 0;
  flex: 0 0 36px;
}
.cvf-cor[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }
.cvp-box {
  width: 100%;
  max-width: 794px;
  overflow: hidden;
  background: #cfd3dc;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cvp-box #cvp-page { width: 100%; overflow: hidden; }
.cvp-page {
  width: 794px;
  min-height: 1122px;
  background: #fff;
  color: #1c1c1c;
  transform-origin: top left;
  box-sizing: border-box;
  font-family: "Segoe UI", Calibri, "Liberation Sans", Arial, sans-serif;
  overflow: hidden;
}
.cvf-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.cvf-actions .btn, .cvf-big { flex: 1 1 160px; }
.cvf-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(18, 32, 63, 0.06);
}
.cvf-bar .btn { flex: 1; }
.cvf-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.cvf-toast[hidden] { display: none !important; }


.cvf-subhead {
  font-weight: 800;
  font-size: 0.95rem;
  margin: 16px 0 0;
  color: var(--navy);
}
.cvf-row-rua { grid-template-columns: 1.7fr 0.7fr; }
.cvf-addline {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.cvf-addline .cvf-input { flex: 1; min-width: 0; }
.cvf-addline .btn { flex: 0 0 auto; width: auto; min-width: 7.5rem; }

/* Folha A4 — preto e branco */
.cvp-page {
  width: 794px;
  min-height: 1122px;
  padding: 40px 50px 36px;
  background: #fff;
  color: #111;
  font-family: "Segoe UI", Calibri, "Liberation Sans", Arial, sans-serif;
}
.cvp-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 0 0 8px;
  justify-content: space-between;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cvp-head-txt { min-width: 0; flex: 1; }
.cvp-foto {
  width: 108px;
  height: 144px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 2px;
  flex: 0 0 108px;
  background: #eee;
  filter: grayscale(1);
  border: 1px solid #111;
}
.cvp-page h1 {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 8px;
  text-transform: none;
  color: #000;
}
.cvp-ph { color: #888; font-weight: 600; }
.cvp-contato {
  margin: 0 0 2px;
  color: #111;
  font-size: 12px;
  line-height: 1.5;
}
.cvp-gap { display: inline-block; width: 1.15em; }
.cvp-sec {
  margin: 14px 0 0;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cvp-sec h2 {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 8px;
  padding: 0 0 4px;
  border-bottom: 1px solid #000;
}
.cvp-item {
  margin: 0 0 9px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.cvp-item:last-child { margin-bottom: 0; }
.cvp-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.cvp-item strong { font-size: 13px; color: #000; font-weight: 700; }
.cvp-per { font-size: 11.5px; color: #111; white-space: nowrap; }
.cvp-sub, .cvp-sub-inline { font-size: 12.5px; color: #222; margin-top: 1px; font-style: italic; }
.cvp-item p, .cvp-item li, .cvp-sec > p, .cvp-cursos li, .cvp-sec > ul li {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #111;
}
.cvp-item ul, .cvp-sec > ul, .cvp-cursos { margin: 3px 0 0; padding-left: 18px; }
.cvp-list {
  margin: 0;
  line-height: 1.55;
}
.cvp-list span { white-space: nowrap; }
.cvp-list span:not(:last-child)::after { content: "  ·  "; }

/* Compactação para caber em 1 página, sem cortar conteúdo */
.cvp-page.cvp-compact { padding: 30px 40px 26px; }
.cvp-page.cvp-compact .cvp-foto { width: 93px; height: 124px; flex-basis: 93px; }
.cvp-page.cvp-compact h1 { font-size: 23px; margin-bottom: 6px; }
.cvp-page.cvp-compact .cvp-sec { margin-top: 11px; }
.cvp-page.cvp-compact .cvp-item { margin-bottom: 7px; }
.cvp-page.cvp-compact .cvp-head { margin-bottom: 4px; }
.cvp-page.cvp-compact .cvp-item p,
.cvp-page.cvp-compact .cvp-item li,
.cvp-page.cvp-compact .cvp-sec > p,
.cvp-page.cvp-compact .cvp-cursos li,
.cvp-page.cvp-compact .cvp-contato { font-size: 12px; }

.cvp-page.cvp-compact2 { padding: 24px 34px 20px; }
.cvp-page.cvp-compact2 h1 { font-size: 21px; margin-bottom: 5px; }
.cvp-page.cvp-compact2 .cvp-foto { width: 84px; height: 112px; flex-basis: 84px; }
.cvp-page.cvp-compact2 .cvp-sec { margin-top: 8px; }
.cvp-page.cvp-compact2 .cvp-sec h2 { margin-bottom: 6px; }
.cvp-page.cvp-compact2 .cvp-item { margin-bottom: 5px; }
.cvp-page.cvp-compact2 .cvp-item p,
.cvp-page.cvp-compact2 .cvp-item li,
.cvp-page.cvp-compact2 .cvp-sec > p,
.cvp-page.cvp-compact2 .cvp-contato,
.cvp-page.cvp-compact2 .cvp-cursos li,
.cvp-page.cvp-compact2 .cvp-list { font-size: 11.5px; line-height: 1.35; }

/* Host usado só na captura do PDF (fora do fluxo, canto da tela) */
.cvp-print-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 794px;
  background: #fff;
  z-index: 2147483646;
}
.cvp-print-host .cvp-page { transform: none !important; box-shadow: none; }

@media (min-width: 960px) {
  body.page-curriculo { padding-bottom: 0; }
  .cvf-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding: 0 24px 40px; }
  .cvf-preview { position: sticky; top: calc(var(--header-h) + 10px); }
  .cvf-bar { display: none; }
}
@media (max-width: 380px) {
  .cvf-row, .cvf-grid { grid-template-columns: 1fr; }
  .cvf-half { grid-column: 1 / -1; }
}

@media print {
  body.page-curriculo { background: #fff; padding: 0 !important; }
  body.page-curriculo .skip,
  body.page-curriculo .header,
  body.page-curriculo .sponsor-strip,
  body.page-curriculo .page-head,
  body.page-curriculo .cvf-form,
  body.page-curriculo .cvf-preview h2,
  body.page-curriculo .cvf-modelos,
  body.page-curriculo .cvf-actions,
  body.page-curriculo .cvf-saved,
  body.page-curriculo .cvf-bar,
  body.page-curriculo .cvf-toast,
  body.page-curriculo .footer,
  body.page-curriculo .ticker { display: none !important; }
  body.page-curriculo .cvf-layout,
  body.page-curriculo .cvf-preview,
  body.page-curriculo .cvp-box,
  body.page-curriculo #cvp-page {
    display: block;
    padding: 0;
    margin: 0;
    max-width: none;
    width: auto;
    height: auto !important;
    overflow: visible;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
  }
  body.page-curriculo .cvp-page {
    transform: none !important;
    width: 210mm !important;
    min-height: 297mm;
    box-shadow: none;
  }
  @page { size: A4; margin: 0; }
}
