/*
 * Clan | Black Friday + Natal 2026
 * Landing estática fiel à direção visual apresentada.
 * Tokens de marca no :root, sem Bootstrap nem alterações globais ao projeto Clan.
 */
.bfn-page {
  --clan-dark-blue: #001d6c;
  --clan-purple: #491d8b;
  --clan-magenta: #7b1fa2;
  --clan-pink: #d81b60;
  --clan-orange: #ff5722;
  --clan-yellow: #ffc107;
  --ink: #0b1038;
  --muted: #626681;
  --hairline: #e9e9f2;
  --canvas: #ffffff;
  --violet: #4e08b8;
  --shadow: 0 7px 26px rgba(21, 14, 73, .075);
  /* Comentário pt-PT: alinhado ao .container Bootstrap do header/footer (xxl = 1320). */
  --container: 1320px;
  --ease: cubic-bezier(.2,.8,.25,1);
}
.bfn-main *, .bfn-main *::before, .bfn-main *::after { box-sizing: border-box; }
html:has(body.bfn-page) { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.bfn-page { min-width: 320px; background: var(--canvas); }
/* Comentário pt-PT: tipografia Clan (Lato + Roboto Slab). */
.bfn-main { color: var(--ink); font-family: var(--font-lato, "Lato", sans-serif); -webkit-font-smoothing: antialiased; }
.bfn-main button, .bfn-main input, .bfn-main select { font: inherit; }
.bfn-main button, .bfn-main a { -webkit-tap-highlight-color: transparent; }
.bfn-main button { cursor: pointer; }
.bfn-main a { color: inherit; }
.bfn-main a.bfn-button--yellow { color: #10102a; }
.bfn-main a.bfn-button--purple,
.bfn-main button.bfn-button--purple,
.bfn-main button.bfn-button--search { color: #fff; }
.bfn-main svg { display: block; }
.bfn-main img { display: block; max-width: 100%; }
.bfn-main [hidden] { display: none !important; }
.bfn-svg-sprite, .bfn-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.bfn-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
/* Comentário pt-PT: mesma grelha que .container do site (gutter 12px + breakpoints BS5). */
.bfn-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(12px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}
@media (min-width: 576px) { .bfn-container { max-width: 540px; } }
@media (min-width: 768px) { .bfn-container { max-width: 720px; } }
@media (min-width: 992px) { .bfn-container { max-width: 960px; } }
@media (min-width: 1200px) { .bfn-container { max-width: 1140px; } }
@media (min-width: 1400px) { .bfn-container { max-width: 1320px; } }
.bfn-main :where(a, button, select, input, summary):focus-visible { outline: 3px solid #ffb700; outline-offset: 4px; }
.bfn-skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 12px 16px; border-radius: 6px; background: var(--clan-dark-blue); color: #fff; font-weight: 700; }
.bfn-skip-link:focus { top: 10px; }
.bfn-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; border: 0; border-radius: 999px; padding: 11px 23px; text-decoration: none; font-family: var(--font-lato, "Lato", sans-serif); font-weight: 700; font-size: 13px; line-height: 1.3; white-space: nowrap; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease); }
.bfn-button:hover { transform: translateY(-2px); }
.bfn-button .bfn-icon { width: 18px; height: 18px; stroke-width: 2.1; }
.bfn-button--yellow { min-width: 236px; background: linear-gradient(110deg, #ffbf00, #ffd018 59%, #ffb700); color: #10102a; box-shadow: 0 8px 19px rgba(255,183,0,.18); }
.bfn-button--yellow:hover { box-shadow: 0 13px 27px rgba(255,183,0,.26); color: #10102a; }
.bfn-button--purple { background: #5511b7; color: #fff; border-radius: 12px; }

/* 2. Dark, energetic campaign hero */
/* Comentário pt-PT: altura ao conteúdo — ritmo vertical alinhado ao padding do topo. */
.bfn-campaign-hero { position: relative; isolation: isolate; min-height: 0; height: auto; overflow: hidden; background: radial-gradient(ellipse at 59% 35%, rgba(89,28,168,.55), transparent 38%), linear-gradient(117deg, #001758 0%, #080c4a 27%, #18065f 55%, #210658 72%, #090d4b 100%); }
/* Comentário pt-PT: fade à esquerda para o texto; a arte preenche o resto em ecrãs largos. */
.bfn-campaign-hero::before { position: absolute; content: ""; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(1,12,58,.88) 0%, rgba(1,12,58,.72) 28%, rgba(1,12,58,.28) 48%, rgba(1,12,58,.05) 62%, transparent 74%), radial-gradient(ellipse at 0% 100%, rgba(170,15,141,.28), transparent 42%); }
/* Comentário pt-PT: só padding vertical — o gutter horizontal vem do .bfn-container. */
.bfn-hero-inner { position: relative; z-index: 3; min-height: 0; height: auto; display: flex; align-items: flex-start; padding-block: 48px 100px; }
.bfn-hero-copy { width: min(100%, 530px); }
.bfn-eyebrow { margin: 0; font-family: var(--font-lato, "Lato", sans-serif); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .23em; }
.bfn-hero-eyebrow { color: #fff; margin: 2px 0 12px; }
.bfn-eyebrow-plus { color: #ffca70; padding-inline: 5px; }
.bfn-hero-copy h1 { max-width: 530px; margin: 0; color: #fff; font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: clamp(43px, 4.5vw, 65px); line-height: .96; font-weight: 800; letter-spacing: -.061em; text-wrap: balance; }
.bfn-hero-gradient-text { display: block; background: linear-gradient(93deg, #ff7397 0%, #ff4686 18%, #ff734d 52%, #ffc32a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bfn-punctuation { color: #ff377a; }
.bfn-hero-subtitle { max-width: 480px; color: rgba(255,255,255,.96); font-size: 15px; font-weight: 430; line-height: 1.65; margin: 12px 0 13px; }
.bfn-hero-actions { position: relative; z-index: 4; display: flex; align-items: center; gap: 12px; margin-top: 20px; }
/* Comentário pt-PT: arte 2× (1832px) — pode crescer sem granulado até ~ultrawide. */
.bfn-hero-artwork { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: clamp(560px, 58vw, 1400px); pointer-events: none; user-select: none; }
.bfn-hero-artwork .bfn-hero-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 18% center; filter: saturate(1.08); }
.bfn-hero-bottom-glow { position: absolute; inset: auto -12% -84px -11%; height: 205px; z-index: 0; background: radial-gradient(ellipse at 55% 100%, rgba(249,63,129,.18), transparent 62%); pointer-events: none; }
.bfn-hero-flare { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(60px); opacity: .5; }
.bfn-hero-flare--left { background: #5b147c; width: 300px; height: 130px; bottom: -100px; left: -70px; }
.bfn-hero-flare--right { background: #4d23ce; width: 390px; height: 280px; top: 60px; right: 200px; opacity: .32; }

@media (min-width: 1600px) {
  .bfn-hero-artwork { width: min(62vw, 1680px); }
  .bfn-hero-artwork .bfn-hero-art { object-position: 22% center; }
}
@media (min-width: 1920px) {
  .bfn-hero-artwork { width: min(64vw, 1832px); }
}

/* 3. Floating translucent info band */
/* Comentário pt-PT: overlap ~metade do padding inferior → vão ≈ padding-top do hero. */
.bfn-stats-outer { position: relative; z-index: 9; margin-top: -52px; }
.bfn-stats-bar { width: 100%; min-height: 98px; padding: 15px 25px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; background: linear-gradient(100deg, rgba(62,30,133,.91), rgba(84,53,148,.84) 42%, rgba(69,50,128,.91) 100%); box-shadow: 0 13px 32px rgba(21,16,63,.17), inset 0 1px 0 rgba(255,255,255,.15); color: #fff; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: grid; align-items: center; grid-template-columns: minmax(240px, 1.7fr) 1px repeat(4, minmax(0, 1fr)); column-gap: 24px; }
.bfn-stats-lead { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bfn-stats-icon { width: 54px; height: 48px; stroke-width: 1.55; color: #f0a9fb; }
.bfn-stats-lead-copy { min-width: 0; }
.bfn-stat-figure { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 8px; font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: 18px; line-height: 1.2; font-weight: 600; white-space: normal; }
.bfn-stat-figure strong { font-weight: 800; font-size: 28px; letter-spacing: -.04em; }
.bfn-stats-lead-label { font-family: var(--font-lato, "Lato", sans-serif); font-size: 15px; line-height: 1.3; font-weight: 700; }
.bfn-stat-divider { width: 1px; align-self: center; height: 48px; background: rgba(255,255,255,.52); }
.bfn-stat-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bfn-stat-item .bfn-icon { width: 33px; height: 33px; stroke-width: 1.7; }
.bfn-stat-item span { font-size: 10px; font-weight: 500; line-height: 1.45; max-width: 120px; }

/* 4. Search, listing and cards */
.bfn-jobs-section { padding-top: 35px; }
.bfn-section-heading { display: flex; gap: 28px; align-items: flex-end; justify-content: space-between; padding-bottom: 16px; }
.bfn-section-eyebrow { color: #8419d5; letter-spacing: .225em; margin: 0 0 8px; }
.bfn-section-heading h2 { margin: 0; color: #0b0d32; font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: clamp(30px, 3.24vw, 42px); letter-spacing: -.058em; line-height: 1.12; font-weight: 800; }
.bfn-link-all { flex: none; border: none; border-bottom: 1.6px solid #8c3ce4; background: transparent; color: #4e07ac; display: inline-flex; align-items: center; gap: 7px; padding: 0 0 4px; margin-bottom: 2px; font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: 12px; font-weight: 700; }
.bfn-link-all .bfn-icon { width: 16px; height: 16px; }
.bfn-link-all:hover { color: #a51bcc; }
.bfn-filters { display: grid; grid-template-columns: 1.02fr 1.02fr 1.25fr minmax(140px, 158px); gap: 10px; padding: 8px; border: 1px solid #e9e9f1; border-radius: 16px; box-shadow: 0 5px 20px rgba(16,17,60,.07); background: #fff; overflow: visible; }
/* Comentário pt-PT: selects com tipografia e contraste Clan. */
.bfn-filter-control { display: grid; grid-template-columns: 32px 1fr 18px; grid-template-rows: 18px 22px; align-items: center; column-gap: 8px; padding: 10px 12px 10px 14px; min-width: 0; min-height: 56px; border: 1.5px solid #e4e0f0; border-radius: 14px; position: relative; background: linear-gradient(180deg, #fff 0%, #f7f4fc 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease); }
.bfn-filter-control::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--clan-purple, #491d8b), #9221ce); }
.bfn-filter-icon { grid-row: 1 / span 2; grid-column: 1; color: var(--clan-purple, #491d8b); display: grid; place-items: center; }
.bfn-filter-icon .bfn-icon { width: 20px; height: 20px; stroke-width: 2; }
.bfn-filter-control label { grid-column: 2; grid-row: 1; font-family: var(--font-lato, "Lato", sans-serif); font-size: 11px; font-weight: 700; color: #6b6487; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.bfn-filter-control label strong { font-weight: 700; color: #1c1946; }
.bfn-filter-control input { grid-column: 2; grid-row: 2; width: 100%; min-width: 0; font-family: var(--font-lato, "Lato", sans-serif); font-size: 14px; font-weight: 700; color: #001d6c; border: 0; outline: none; background: transparent; padding: 0 4px 0 0; appearance: none; -webkit-appearance: none; }
.bfn-filter-control input:focus-visible { outline: 0; }
.bfn-filter-control:hover { border-color: #cfc4e8; background: #fff; }
.bfn-filter-control:focus-within,
.bfn-filter-control.is-open { border-color: var(--clan-purple, #491d8b); background: #fff; box-shadow: 0 0 0 3px rgba(73,29,139,.12); }
.bfn-filter-control input::placeholder { color: #8b849d; font-weight: 600; opacity: 1; }
.bfn-filter-control input::-webkit-search-cancel-button { cursor: pointer; }
.bfn-select-chevron { grid-column: 3; grid-row: 1 / 3; width: 18px; height: 18px; color: var(--clan-purple, #491d8b); pointer-events: none; transition: transform .18s var(--ease); }
.bfn-filter-control.is-open .bfn-select-chevron { transform: rotate(180deg); }
.bfn-filter-control--search { grid-template-columns: 32px 1fr; background: #fff; }
.bfn-filter-control--search::before { display: none; }

/* Comentário pt-PT: select nativo oculto; lista custom com respiração Clan. */
.bfn-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.bfn-select-trigger {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  border: 0;
  padding: 0 4px 0 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-lato, "Lato", sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #001d6c;
  line-height: 1.25;
}
.bfn-select-trigger:focus-visible { outline: 0; }
.bfn-select-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bfn-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid #e4e0f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 14, 73, .14), 0 2px 0 rgba(255,255,255,.6) inset;
  max-height: min(340px, 55vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 4px;
}
.bfn-select-option {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--font-lato, "Lato", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c1946;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.bfn-select-option:hover,
.bfn-select-option.is-active {
  background: #f3edff;
  color: var(--clan-purple, #491d8b);
}
.bfn-select-option[aria-selected="true"] {
  background: linear-gradient(90deg, #f0e8ff, #f7f2ff);
  color: var(--clan-dark-blue, #001d6c);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--clan-purple, #491d8b);
}
/* Comentário pt-PT: Pesquisar alinhado ao btn-clan (azul escuro Clan). */
.bfn-button--search { width: 100%; height: 56px; min-height: 56px; padding-inline: 16px; border-radius: 14px; background: var(--clan-dark-blue, #001d6c); color: #fff; font-family: var(--font-lato, "Lato", sans-serif); font-size: 14px; font-weight: 700; gap: 8px; box-shadow: 0 4px 14px rgba(0,29,108,.18); }
.bfn-button--search:hover { background: var(--clan-purple, #491d8b); color: #fff; box-shadow: 0 6px 18px rgba(73,29,139,.22); }
.bfn-button--search .bfn-icon { width: 18px; height: 18px; stroke-width: 2.2; }
.bfn-result-meta { min-height: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 2px 4px; }
.bfn-result-meta p { margin: 0; font-size: 11px; line-height: 1.4; color: #6b6883; }
.bfn-result-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.bfn-demo-status { color: #8b849d; font-size: 10px; }
.bfn-reset-filters { background: none; border: none; padding: 3px; color: #6419bc; font-size: 11px; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.bfn-reset-filters .bfn-icon { width: 13px; height: 13px; }
/* Comentário pt-PT: teste 3 cards por linha (mais espaço para logo + badges). */
.bfn-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bfn-job-card { background: #fff; min-height: 214px; border: 1px solid #ededf3; border-radius: 15px; padding: 14px 14px 15px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s ease; min-width: 0; }
.bfn-job-card:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(35,18,85,.12); border-color: #dbcafa; }
.bfn-job-card-top { display: flex; align-items: flex-start; justify-content: space-between; min-height: 46px; }
.bfn-card-icon-wrap { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #f4eafd; color: #6211d5; }
.bfn-card-icon-wrap--retalho { background: #ffe3f2; color: #fa1983; }
.bfn-card-icon-wrap--logistica { background: #f3eafd; color: #6a1bd9; }
.bfn-card-icon-wrap--distribuicao { background: #ffede5; color: #fa5a1b; }
.bfn-card-icon-wrap--apoio { background: #efe6ff; color: #7117c5; }
.bfn-card-icon-wrap .bfn-icon { width: 26px; height: 26px; stroke-width: 2.1; }
/* Comentário pt-PT: contentor do logotipo da empresa no card. */
.bfn-card-icon-wrap--logo {
  width: 88px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ebe6f5;
  padding: 6px 8px;
  box-shadow: 0 1px 2px rgba(20, 16, 43, .04);
}
.bfn-card-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.bfn-save-job { color: #a6a6bc; background: transparent; border: 0; display: grid; place-items: center; height: 28px; width: 28px; padding: 2px; border-radius: 8px; }
.bfn-save-job:hover { background: #fff0fa; color: #d81b60; }
.bfn-save-job[aria-pressed="true"] { color: #ec2482; }
.bfn-save-job[aria-pressed="true"] .bfn-icon { fill: #ffe2f0; }
.bfn-save-job .bfn-icon { width: 20px; height: 20px; }
.bfn-job-card h3 { color: #15133d; font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: 16px; font-weight: 800; margin: 10px 0 6px; line-height: 1.24; letter-spacing: -.035em; }
.bfn-job-card-description { color: #717087; font-size: 12px; line-height: 1.55; margin: 0 0 9px; min-height: 36px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* Comentário pt-PT: localização e regime em destaque — são o que mais diferencia as ofertas. */
.bfn-job-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 12px; }
.bfn-job-tag { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; border-radius: 10px; background: #f3edff; border: 1px solid #e4d8f8; padding: 8px 12px; color: #3d2a6e; font-family: var(--font-lato, "Lato", sans-serif); font-size: 13px; line-height: 1.25; font-weight: 700; white-space: nowrap; }
.bfn-job-tag .bfn-icon { width: 16px; height: 16px; color: #5e15c6; stroke-width: 2.1; flex: none; }
.bfn-card-link { align-self: flex-start; border: none; border-bottom: 1px solid #a566f1; background: transparent; padding: 0 0 3px; color: #5a15ba; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; line-height: 1.35; }
.bfn-card-link:hover { color: #c221a8; border-color: #c221a8; }
.bfn-card-link .bfn-icon { width: 15px; height: 15px; stroke-width: 2.1; }
.bfn-empty-state { border: 1px dashed #d9c8ed; border-radius: 18px; padding: 40px 24px; text-align: center; background: #fdfbff; }
.bfn-empty-state-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #f2e6ff; color: #6b19cb; margin: 0 auto 18px; }
.bfn-empty-state-icon .bfn-icon { width: 26px; height: 26px; }
.bfn-empty-state h3 { font-size: 19px; margin: 0 0 8px; }
.bfn-empty-state p { margin: 0 0 19px; color: #77758a; }
.bfn-load-more-wrap { display: flex; align-items: center; justify-content: center; }
.bfn-button--load-more { margin-top: 22px; color: #4d0ab6; background: #f8f4ff; border: 1px solid #e5d9fa; }
.bfn-button--load-more:hover { background: #eee5fc; }

/* 5. Closing invitation */
.bfn-closing-section { padding-top: 23px; padding-bottom: 30px; }
.bfn-closing-banner { min-height: 202px; position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px; padding: 25px 44px 25px 52px; background: radial-gradient(ellipse at 80% 30%, rgba(96,12,174,.65), transparent 60%), linear-gradient(120deg, #08145b, #24085a 70%, #16064c); color: #fff; }
.bfn-closing-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,10,61,.68) 0%, rgba(13,9,73,.45) 39%, transparent 80%); }
.bfn-closing-art { position: absolute; z-index: -2; width: 100%; min-width: 900px; height: 100%; object-fit: cover; object-position: center; inset: 0; pointer-events: none; }
.bfn-closing-copy { position: relative; z-index: 2; max-width: 420px; }
.bfn-closing-eyebrow { color: #e078e7; margin: 0 0 10px; }
.bfn-closing-copy h2 { font-family: var(--font-roboto-slab, "Roboto Slab", serif); font-size: clamp(29px, 3.05vw, 39px); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; margin: 0 0 11px; }
.bfn-closing-copy p:not(.bfn-eyebrow) { color: #f1e9fb; margin: 0; max-width: 395px; line-height: 1.5; font-size: 13px; }
/* Comentário pt-PT: contraste do CTA amarelo no banner escuro (evita herdar branco). */
.bfn-closing-button { position: relative; z-index: 2; margin-top: 19px; color: #10102a !important; }
.bfn-closing-button:hover { color: #10102a !important; }
.bfn-closing-button .bfn-icon { color: #10102a; stroke: #10102a; }


.bfn-demo-dialog { padding: 0; max-width: min(440px,calc(100vw - 32px)); border: 0; border-radius: 20px; color: var(--ink); box-shadow: 0 24px 90px rgba(18,10,54,.32); }
.bfn-demo-dialog::backdrop { background: rgba(7,6,40,.62); backdrop-filter: blur(3px); }
.bfn-dialog-contents { position: relative; padding: 33px 31px; }
.bfn-dialog-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; color: #66617e; background: #f7f5fa; border-radius: 50%; }
.bfn-dialog-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #f4e9ff; color: #711aca; }
.bfn-dialog-icon .bfn-icon { width: 25px; height: 25px; }
.bfn-dialog-contents h2 { margin: 18px 0 10px; font-size: 24px; letter-spacing: -.045em; }
.bfn-dialog-contents p { color: #6d6887; line-height: 1.6; font-size: 14px; margin: 0 0 24px; }

/* Responsive tablet */
@media (max-width: 1190px) {
  .bfn-stats-bar { column-gap: 13px; padding-inline: 21px; grid-template-columns: minmax(250px, 1.75fr) 1px repeat(4, minmax(0,1fr)); }
  .bfn-stat-item { gap: 7px; }
  .bfn-stat-item .bfn-icon { width: 27px; height: 27px; }
  .bfn-stat-item span { font-size: 9px; }
  .bfn-hero-artwork { width: clamp(480px, 55vw, 900px); }
  .bfn-job-card { padding-inline: 13px; }
}
@media (max-width: 1020px) {
  .bfn-hero-copy { width: 500px; position: relative; z-index: 3; }
  .bfn-hero-artwork { width: min(70vw, 720px); right: -8%; opacity: .92; }
  .bfn-hero-artwork .bfn-hero-art { object-position: 10% center; }
  .bfn-campaign-hero::before { background: linear-gradient(90deg, rgba(1,12,58,.9) 0%, rgba(1,12,58,.7) 38%, rgba(1,12,58,.2) 62%, transparent 78%), radial-gradient(ellipse at 0% 100%, rgba(170,15,141,.28), transparent 42%); }
  .bfn-stats-bar { grid-template-columns: 1.4fr repeat(2,minmax(0,1fr)); padding: 19px 25px; row-gap: 17px; }
  .bfn-stats-lead { grid-row: 1 / 3; }
  .bfn-stat-divider { display: none; }
  .bfn-stat-item { justify-self: start; }
  .bfn-stat-item .bfn-icon { width: 30px; height: 30px; }
  .bfn-stat-item span { font-size: 11px; max-width: 160px; }
  .bfn-job-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bfn-job-card { min-height: 215px; }
  .bfn-job-card-description { min-height: 38px; }
  .bfn-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bfn-button--search { height: 56px; }
  .bfn-closing-banner { padding-inline: 35px; }
}
@media (max-width: 740px) {
  /* Comentário pt-PT: imagem full-bleed + gradiente escuro sob o texto. */
  .bfn-campaign-hero { min-height: 0; height: auto; }
  .bfn-hero-inner { min-height: 0; height: auto; padding-block: 28px 96px; }
  .bfn-hero-copy { max-width: 565px; position: relative; z-index: 3; }
  .bfn-hero-copy h1 { font-size: clamp(38px, 7.5vw, 52px); }
  .bfn-hero-subtitle { font-size: 14px; max-width: 420px; margin: 10px 0 0; }
  .bfn-hero-actions { margin-top: 16px; }
  .bfn-hero-artwork {
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 1;
    z-index: 0;
  }
  .bfn-hero-artwork .bfn-hero-art {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 72% 40%;
    filter: saturate(1.1);
  }
  .bfn-campaign-hero::after {
    display: block;
    position: absolute;
    z-index: 2;
    content: "";
    pointer-events: none;
    inset: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(2, 8, 48, .9) 0%, rgba(2, 8, 48, .78) 42%, rgba(2, 8, 48, .42) 72%, rgba(2, 8, 48, .62) 100%);
  }
  .bfn-stats-outer { margin-top: -44px; }
  .bfn-stats-bar { grid-template-columns: 1fr 1fr; gap: 17px 14px; padding: 21px; }
  .bfn-stats-lead { grid-column: 1 / -1; grid-row: auto; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .bfn-stats-lead .bfn-stats-icon { width: 46px; height: 46px; }
  .bfn-stat-item { gap: 10px; }
  .bfn-stat-item span { font-size: 11px; }
  .bfn-jobs-section { padding-top: 39px; }
  .bfn-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .bfn-section-heading h2 { font-size: clamp(30px, 5vw, 40px); }
  .bfn-closing-banner { min-height: 285px; padding: 28px; align-items: flex-start; flex-direction: column; justify-content: space-between; }
  .bfn-closing-copy h2 { font-size: clamp(31px, 5.4vw, 40px); }
  .bfn-closing-button { margin-top: 0; }
  .bfn-closing-art { left: -18%; width: 125%; }
}
@media (max-width: 520px) {
  .bfn-campaign-hero { min-height: 0; height: auto; }
  .bfn-hero-inner { min-height: 0; height: auto; padding-block: 22px 88px; }
  .bfn-hero-eyebrow { font-size: 9.5px; letter-spacing: .2em; margin: 0 0 10px; }
  .bfn-hero-copy h1 { font-size: clamp(34px, 9.2vw, 44px); letter-spacing: -.064em; }
  .bfn-hero-subtitle { max-width: 92%; font-size: 13px; line-height: 1.55; margin: 10px 0 0; }
  .bfn-hero-actions { gap: 9px; flex-wrap: wrap; margin-top: 14px; }
  .bfn-hero-actions .bfn-button { min-height: 43px; font-size: 11px; padding-inline: 15px; }
  .bfn-hero-actions .bfn-button--yellow { min-width: 0; }
  .bfn-hero-artwork .bfn-hero-art { object-position: 68% 35%; }
  .bfn-campaign-hero::after {
    background: linear-gradient(180deg, rgba(2, 8, 48, .92) 0%, rgba(2, 8, 48, .8) 40%, rgba(2, 8, 48, .45) 70%, rgba(2, 8, 48, .66) 100%);
  }
  .bfn-stats-outer { margin-top: -40px; }
  .bfn-stats-bar { padding: 19px 17px; border-radius: 16px; column-gap: 10px; }
  .bfn-stats-lead { gap: 13px; }
  .bfn-stat-figure strong { font-size: 26px; }
  .bfn-stats-lead-label { font-size: 12px; }
  .bfn-metric-caption { font-size: 8px; white-space: normal; }
  .bfn-stat-item { gap: 7px; }
  .bfn-stat-item .bfn-icon { width: 26px; height: 26px; }
  .bfn-stat-item span { font-size: 10px; }
  .bfn-jobs-section { padding-top: 36px; }
  .bfn-section-heading { padding-bottom: 17px; }
  .bfn-section-heading h2 { font-size: 30px; }
  .bfn-section-eyebrow { font-size: 10px; }
  .bfn-filters { grid-template-columns: 1fr; gap: 8px; padding: 9px; }
  .bfn-filter-control { min-height: 56px; }
  .bfn-filter-control label { font-size: 11px; }
  .bfn-filter-control input,
  .bfn-select-trigger { font-size: 16px; }
  .bfn-select-option { min-height: 48px; padding: 14px 16px; font-size: 16px; }
  .bfn-result-meta { align-items: flex-start; flex-direction: column; min-height: 22px; gap: 5px; padding: 8px 2px; }
  .bfn-result-actions { justify-content: flex-start; }
  .bfn-job-grid { grid-template-columns: 1fr; gap: 13px; }
  .bfn-job-card { min-height: 200px; padding: 16px 17px; }
  .bfn-job-card h3 { font-size: 17px; }
  .bfn-job-card-description { font-size: 12px; min-height: unset; }
  .bfn-job-tag { font-size: 13px; padding: 9px 12px; }
  .bfn-closing-section { padding-top: 24px; }
  .bfn-closing-banner { min-height: 305px; padding: 25px; }
  .bfn-closing-art { width: 780px; min-width: 780px; left: -100px; top: 26px; height: 300px; object-fit: fill; opacity: .85; mask-image: linear-gradient(to bottom, transparent, #000 38%, #000); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 38%, #000); }
  .bfn-closing-banner::after { background: linear-gradient(90deg, rgba(4,10,61,.65),rgba(4,10,61,.18)); }
  .bfn-closing-copy h2 { font-size: 32px; }
  .bfn-closing-copy p:not(.bfn-eyebrow) { font-size: 12px; max-width: 310px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.bfn-page) { scroll-behavior: auto; }
  .bfn-main *, .bfn-main *::before, .bfn-main *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
