/* ============================================================
   Apex Drones — Trabalhos (portfólio) e Perguntas frequentes
   Usa os tokens de main.css (cores, raios, container, fonte).
   ============================================================ */

.apx-ico {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
}

/* ---------- Menu ---------- */

.nav-list a.nav-upper {
	text-transform: none;
}

.nav-list .current-menu-item > a {
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

/* ---------- Elementos de seção ---------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--primary);
}

.eyebrow--light,
.page-hero .eyebrow {
	color: var(--peri);
}

.eyebrow-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 4px rgba(67, 198, 184, 0.18);
}

.eyebrow-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid rgba(67, 198, 184, 0.6);
	animation: apx-ping 2.4s ease-out infinite;
}

@keyframes apx-ping {
	0% { transform: scale(0.6); opacity: 1; }
	80%, 100% { transform: scale(2); opacity: 0; }
}

.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: 48px;
}

.section-lead {
	margin-top: 22px;
	max-width: 36em;
	font-size: 18px;
	line-height: 1.55;
	color: var(--text-dark);
}

.section-lead--light {
	color: rgba(255, 255, 255, 0.82);
}

.section-head-btn {
	flex-shrink: 0;
}

.section-head-note {
	font-size: 14px;
	color: var(--text-dark);
	opacity: 0.8;
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 1.5px solid rgba(58, 61, 147, 0.45);
}

.btn-outline:hover,
.btn-outline:focus-visible {
	border-color: var(--primary);
	background: rgba(58, 61, 147, 0.06);
	transform: translateY(-2px);
}

.btn .apx-ico {
	width: 18px;
	height: 18px;
}

.btn-ghost .apx-ico {
	margin-left: -4px;
}

/* ---------- Cabeçalho das páginas internas ---------- */

.page-hero {
	position: relative;
	overflow: hidden;
	color: var(--white);
	background: var(--grad-hero);
	padding: calc(var(--header-h) + 54px) 0 72px;
}

.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('../imgs/bgalpha_apexdrones.webp') center / cover no-repeat;
	opacity: 0.16;
	mix-blend-mode: luminosity;
	pointer-events: none;
}

.page-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(90% 120% at 15% 0%, rgba(99, 105, 255, 0.22) 0%, transparent 55%), linear-gradient(180deg, transparent 60%, rgba(0, 0, 24, 0.35) 100%);
	pointer-events: none;
}

.page-hero-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(130, 134, 242, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 134, 242, 0.09) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(70% 90% at 80% 30%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 90% at 80% 30%, #000 0%, transparent 75%);
	pointer-events: none;
	z-index: 1;
}

.page-hero-corner {
	position: absolute;
	width: 46px;
	height: 46px;
	border-color: rgba(130, 134, 242, 0.55);
	border-style: solid;
	z-index: 1;
	pointer-events: none;
}

.page-hero-corner--tl {
	top: calc(var(--header-h) + 18px);
	left: 24px;
	border-width: 2px 0 0 2px;
	border-radius: 6px 0 0 0;
}

.page-hero-corner--br {
	right: 24px;
	bottom: 22px;
	border-width: 0 2px 2px 0;
	border-radius: 0 0 6px 0;
}

.page-hero-inner {
	position: relative;
	z-index: 2;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.breadcrumb li + li::before {
	content: "/";
	margin: 0 10px;
	color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
	color: var(--white);
}

.breadcrumb span[aria-current] {
	max-width: 46ch;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.page-hero-title {
	max-width: 22ch;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.page-hero--question .page-hero-title {
	max-width: 28ch;
	font-size: clamp(28px, 3.4vw, 44px);
}

.page-hero-lead {
	margin-top: 22px;
	max-width: 44em;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.84);
}

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero-stats li {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid rgba(130, 134, 242, 0.35);
	background: rgba(14, 14, 39, 0.35);
	backdrop-filter: blur(6px);
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.hero-stats strong {
	font-size: 20px;
	font-weight: 700;
	color: var(--white);
}

.hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.hero-chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.92);
}

.hero-chips .apx-ico {
	width: 17px;
	height: 17px;
	color: var(--peri);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.draft-flag {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 150;
	transform: translateX(-50%);
	padding: 10px 18px;
	border-radius: 999px;
	background: #B87503;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: var(--shadow-lg);
	max-width: calc(100% - 32px);
	text-align: center;
}

/* ---------- Cards de trabalho ---------- */

.job-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.job-grid-item[hidden] {
	display: none;
}

.job-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--radius-md);
	background: var(--white);
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(27, 27, 69, 0.04), 0 22px 44px -30px rgba(14, 14, 50, 0.45);
	border: 1px solid rgba(27, 27, 69, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 1px 0 rgba(27, 27, 69, 0.04), 0 34px 60px -30px rgba(14, 14, 50, 0.55);
}

.job-card-media {
	position: relative;
	aspect-ratio: 4 / 5;
	background: linear-gradient(135deg, #1B1B45, #3A3D93);
	overflow: hidden;
}

.job-card-img,
.job-card-img img {
	display: block;
	width: 100%;
	height: 100%;
}

.job-card-img img {
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}

.job-card:hover .job-card-img img {
	transform: scale(1.05);
}

.job-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 30, 0.35) 0%, transparent 28%, transparent 55%, rgba(0, 0, 30, 0.78) 100%);
	pointer-events: none;
}

.job-card-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, 0.35);
}

.job-card-placeholder .apx-ico {
	width: 64px;
	height: 64px;
}

.job-card-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	max-width: calc(100% - 32px);
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(14, 14, 39, 0.55);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--white);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.job-card-quick {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.job-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding: 0 14px 0 6px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	background: rgba(14, 14, 39, 0.5);
	backdrop-filter: blur(8px);
	color: var(--white);
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.job-chip:hover,
.job-chip:focus-visible {
	background: rgba(58, 61, 147, 0.9);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.job-chip:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.job-chip-icon {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.job-chip-icon .apx-ico {
	width: 14px;
	height: 14px;
}

.job-chip--video .job-chip-icon {
	background: var(--accent);
}

.job-chip--video .job-chip-icon .apx-ico {
	fill: currentColor;
	margin-left: 2px;
}

.job-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 22px 24px 24px;
}

.job-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: 10px;
	font-size: 13.5px;
	color: var(--card-slate);
}

.job-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.job-card-meta .apx-ico {
	width: 15px;
	height: 15px;
	color: var(--accent);
}

.job-card-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink-title);
}

.job-card-title a {
	transition: color 0.2s ease;
}

.job-card-title a:hover,
.job-card-title a:focus-visible {
	color: var(--primary);
}

.job-card-summary {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--text-dark);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.job-card-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--primary);
	align-self: flex-start;
}

.job-card-more .apx-ico {
	width: 17px;
	height: 17px;
	transition: transform 0.2s ease;
}

.job-card-more:hover .apx-ico,
.job-card-more:focus-visible .apx-ico {
	transform: translateX(4px);
}

/* ---------- Home: trabalhos ---------- */

.home-jobs {
	background: var(--grad-hero);
	color: var(--white);
	overflow: hidden;
}

.home-jobs::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(110% 100% at 50% 30%, rgba(6, 6, 30, 0.25) 30%, rgba(0, 0, 20, 0.55) 100%);
	pointer-events: none;
}

.home-jobs .container {
	position: relative;
	z-index: 1;
}

.home-jobs .job-card {
	border-color: transparent;
}

.deco-dots--jobs {
	left: 3%;
	top: 70px;
	opacity: 0.55;
}

.home-jobs-more {
	display: none;
	margin-top: 40px;
	text-align: center;
}

/* ---------- Listagem de trabalhos ---------- */

.jobs-archive {
	background: #F4F4FA;
}

.job-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 36px;
}

.job-filter {
	height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(58, 61, 147, 0.22);
	background: var(--white);
	color: var(--ink-title);
	font-size: 15px;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.job-filter:hover {
	border-color: var(--primary);
}

.job-filter.is-active {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--white);
}

.empty-note {
	text-align: center;
	padding: 64px 24px;
	color: var(--text-dark);
}

.empty-note .apx-ico {
	width: 48px;
	height: 48px;
	color: var(--peri);
	margin-bottom: 12px;
}

/* ---------- Página do trabalho ---------- */

.job-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 72px;
	align-items: start;
}

.job-overview-grid--novideo {
	grid-template-columns: minmax(0, 820px);
}

.entry-content {
	font-size: 18px;
	line-height: 1.75;
	color: var(--text-dark);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(22px, 2vw, 27px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ink-title);
}

.entry-content h3 {
	margin-top: 1.5em;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink-title);
}

.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}

.entry-content strong {
	color: var(--ink-title);
}

.entry-content a {
	color: var(--primary);
	text-decoration: underline;
	text-decoration-color: rgba(58, 61, 147, 0.35);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.entry-content a:hover {
	text-decoration-color: currentColor;
}

.entry-content ul,
.entry-content ol {
	padding-left: 0;
	list-style: none;
}

.entry-content ul li,
.entry-content ol li {
	position: relative;
	padding-left: 30px;
}

.entry-content li + li {
	margin-top: 10px;
}

.entry-content ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--accent);
	transform: rotate(45deg);
	box-shadow: 0 0 0 3px rgba(99, 105, 255, 0.15);
}

.entry-content ol {
	counter-reset: apx-ol;
}

.entry-content ol li {
	counter-increment: apx-ol;
}

.entry-content ol li::before {
	content: counter(apx-ol);
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--primary);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--accent);
	font-size: 1.05em;
	color: var(--ink-title);
}

.job-facts {
	margin-top: 48px;
	padding: 28px 30px;
	border-radius: var(--radius-md);
	background: var(--lav-about);
	border: 1px solid rgba(58, 61, 147, 0.1);
}

.job-facts-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 18px;
}

.job-facts dl {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 28px;
}

.job-facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--card-slate);
}

.job-facts dt .apx-ico {
	width: 16px;
	height: 16px;
	color: var(--accent);
}

.job-facts dd {
	margin: 4px 0 0 24px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ink-title);
}

.job-video-col {
	position: sticky;
	top: calc(var(--header-h) + 10px);
}

.job-video {
	margin: 0;
}

.job-video-frame {
	position: relative;
	aspect-ratio: 9 / 16;
	max-height: calc(100vh - var(--header-h) - 80px);
	margin-inline: auto;
	border-radius: 20px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 40px 70px -35px rgba(4, 4, 30, 0.7), 0 0 0 1px rgba(27, 27, 69, 0.08);
}

.job-video--landscape .job-video-frame {
	aspect-ratio: 16 / 9;
}

.job-video-frame video,
.job-video-frame iframe,
.job-video-lite,
.job-video-lite img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.job-video-frame video {
	object-fit: cover;
	background: #000;
}

.job-video-lite {
	padding: 0;
	cursor: pointer;
	background: #000;
}

.job-video-lite img {
	object-fit: cover;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.job-video-lite:hover img {
	opacity: 1;
}

.job-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 84px;
	height: 84px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.9);
	background: rgba(14, 14, 39, 0.35);
	color: #fff;
	display: grid;
	place-items: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.job-video-play .apx-ico {
	width: 32px;
	height: 32px;
	fill: currentColor;
	margin-left: 4px;
}

.job-video-lite:hover .job-video-play {
	transform: translate(-50%, -50%) scale(1.06);
	background: rgba(58, 61, 147, 0.85);
}

.job-video figcaption {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--card-slate);
}

.job-video figcaption .apx-ico {
	width: 14px;
	height: 14px;
	fill: var(--accent);
	color: var(--accent);
}

/* Galeria */

.job-gallery {
	background: #F4F4FA;
}

.job-gallery .section-head {
	margin-bottom: 36px;
}

.gallery-grid {
	columns: 4 220px;
	column-gap: 18px;
}

.gallery-item {
	break-inside: avoid;
	margin: 0 0 18px;
}

.gallery-open {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 14px;
	overflow: hidden;
	background: #DADBEA;
	cursor: zoom-in;
}

.gallery-open img {
	width: 100%;
	transition: transform 0.5s cubic-bezier(.2, .7, .2, 1), filter 0.3s ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
	transform: scale(1.04);
	filter: brightness(0.85);
}

.gallery-open:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.gallery-zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.92);
	color: var(--primary);
	opacity: 0;
	transform: scale(0.8);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-open:hover .gallery-zoom,
.gallery-open:focus-visible .gallery-zoom {
	opacity: 1;
	transform: none;
}

.gallery-item figcaption {
	margin-top: 10px;
	padding: 0 4px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-dark);
}

/* ---------- Faixa de CTA ---------- */

.cta-band {
	padding: 0 0 96px;
	background: inherit;
}

.job-single + .cta-band,
.jobs-archive + .cta-band {
	background: #F4F4FA;
}

.faq-archive + .cta-band {
	background: var(--white);
}

.cta-band-box {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px 56px;
	padding: 48px 56px;
	border-radius: var(--radius-lg);
	background: linear-gradient(110deg, #1B1B45 0%, #000030 50%, #3A3D93 130%);
	color: var(--white);
	box-shadow: var(--shadow-lg);
}

.cta-band-dots {
	position: absolute;
	right: -20px;
	top: -20px;
	width: 220px;
	height: 220px;
	background-image: radial-gradient(rgba(130, 134, 242, 0.5) 2px, transparent 2.2px);
	background-size: 20px 20px;
	mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
	pointer-events: none;
}

.cta-band-copy {
	position: relative;
	max-width: 36em;
}

.cta-band-title {
	font-size: clamp(24px, 2.3vw, 32px);
	font-weight: 700;
	line-height: 1.25;
}

.cta-band-copy p {
	margin-top: 12px;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.8);
}

.cta-band-actions {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.cta-band-whats {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.2s ease;
}

.cta-band-whats:hover,
.cta-band-whats:focus-visible {
	color: var(--white);
}

/* ---------- Relacionados ---------- */

.related-jobs {
	background: var(--white);
}

.related-faq {
	background: var(--lav-about);
}

.related-faq-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 64px;
	align-items: start;
}

.related-faq-grid .btn {
	margin-top: 30px;
}

/* ---------- Acordeon (FAQ) ---------- */

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border-radius: 14px;
	background: var(--white);
	border: 1px solid rgba(27, 27, 69, 0.1);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[hidden] {
	display: none;
}

.faq-item:hover {
	border-color: rgba(58, 61, 147, 0.3);
}

.faq-item[open]:not(.is-closing) {
	border-color: rgba(58, 61, 147, 0.35);
	box-shadow: 0 18px 40px -28px rgba(14, 14, 50, 0.45);
}

.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 22px 20px 24px;
	cursor: pointer;
	list-style: none;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
	border-radius: 14px;
}

.faq-q {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink-title);
}

.faq-toggle {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lav-about);
	color: var(--primary);
	transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open]:not(.is-closing) .faq-toggle {
	transform: rotate(45deg);
	background: var(--primary);
	color: var(--white);
}

.faq-a {
	overflow: hidden;
}

.faq-a-inner {
	padding: 0 24px 22px;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text-dark);
}

.faq-a-inner a:not(.faq-more) {
	color: var(--primary);
	text-decoration: underline;
}

.faq-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary);
}

.faq-more .apx-ico {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.faq-more:hover .apx-ico,
.faq-more:focus-visible .apx-ico {
	transform: translateX(4px);
}

/* Home: FAQ */

.home-faq {
	background: var(--white);
}

.home-faq-grid {
	display: grid;
	grid-template-columns: 0.75fr 1.25fr;
	gap: 64px;
	align-items: start;
}

.home-faq-copy {
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.home-faq-copy .btn {
	margin-top: 32px;
}

/* ---------- Página do FAQ ---------- */

.faq-search {
	position: relative;
	max-width: 620px;
	margin-top: 34px;
}

.faq-search .apx-ico {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: var(--peri);
	pointer-events: none;
}

.faq-search input {
	width: 100%;
	height: 58px;
	padding: 0 22px 0 54px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	color: var(--white);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-search input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.faq-search input:focus {
	outline: none;
	border-color: var(--peri);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 4px rgba(130, 134, 242, 0.25);
}

.faq-archive {
	background: #F4F4FA;
}

.faq-archive-grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.faq-nav {
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.faq-nav-title {
	margin-bottom: 12px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--card-slate);
}

.faq-nav ul {
	display: grid;
	gap: 4px;
	border-left: 2px solid rgba(58, 61, 147, 0.12);
}

.faq-nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-left: -2px;
	padding: 10px 14px;
	border-left: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-dark);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.faq-nav a:hover {
	color: var(--primary);
}

.faq-nav a.is-active {
	color: var(--primary);
	border-left-color: var(--primary);
	background: rgba(58, 61, 147, 0.06);
}

.faq-nav small {
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--white);
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: var(--card-slate);
}

.faq-group {
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.faq-group + .faq-group {
	margin-top: 56px;
}

.faq-group[hidden] {
	display: none;
}

.faq-group-head {
	margin-bottom: 20px;
}

.faq-group-head h2 {
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 700;
	color: var(--ink-title);
}

.faq-group-head p {
	margin-top: 6px;
	font-size: 16px;
	color: var(--text-dark);
}

.faq-item {
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.faq-empty {
	padding: 48px 24px;
	border-radius: var(--radius-md);
	background: var(--white);
	text-align: center;
	color: var(--text-dark);
}

.faq-empty .apx-ico {
	width: 40px;
	height: 40px;
	color: var(--peri);
	margin-bottom: 10px;
}

.faq-empty p + p {
	margin-top: 6px;
}

.faq-empty .btn {
	margin-top: 22px;
}

/* ---------- Página de uma pergunta ---------- */

.faq-single {
	background: var(--white);
}

.faq-single-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 72px;
	align-items: start;
}

.faq-single-main {
	max-width: 780px;
}

.faq-answer-box {
	position: relative;
	padding: 30px 32px;
	border-radius: var(--radius-md);
	background: linear-gradient(135deg, #EEF0FD 0%, #E0E5F5 100%);
	border: 1px solid rgba(99, 105, 255, 0.22);
	margin-bottom: 44px;
}

.faq-answer-box::before {
	content: "";
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--accent);
}

.faq-answer-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
}

.faq-answer-label .apx-ico {
	width: 16px;
	height: 16px;
	fill: var(--accent);
	color: var(--accent);
}

.faq-answer-text {
	font-size: 19px;
	line-height: 1.65;
	font-weight: 500;
	color: var(--ink-title);
}

.faq-inline-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	margin-top: 52px;
	padding: 24px 28px;
	border-radius: var(--radius-md);
	background: var(--bg-dark);
	color: var(--white);
}

.faq-inline-cta strong {
	display: block;
	font-size: 18px;
	line-height: 1.35;
}

.faq-inline-cta span {
	display: block;
	margin-top: 4px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
}

.faq-inline-cta .btn {
	flex-shrink: 0;
}

.faq-pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
}

.faq-pager a {
	display: block;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid rgba(27, 27, 69, 0.1);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.faq-pager a:hover,
.faq-pager a:focus-visible {
	border-color: var(--primary);
	transform: translateY(-2px);
}

.faq-pager-next {
	grid-column: 2;
	text-align: right;
}

.faq-pager small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--card-slate);
}

.faq-pager small .apx-ico {
	width: 14px;
	height: 14px;
}

.faq-pager span {
	display: block;
	margin-top: 6px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink-title);
}

.faq-single-side {
	position: sticky;
	top: calc(var(--header-h) + 16px);
}

.side-card {
	padding: 26px;
	border-radius: var(--radius-md);
	background: #F4F4FA;
	border: 1px solid rgba(27, 27, 69, 0.06);
}

.side-card-title {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
}

.side-links li + li {
	border-top: 1px solid rgba(27, 27, 69, 0.08);
}

.side-links a {
	display: block;
	padding: 12px 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--ink-title);
	transition: color 0.2s ease;
}

.side-links a:hover,
.side-links a:focus-visible {
	color: var(--primary);
}

.side-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--primary);
}

.side-card-more .apx-ico {
	width: 16px;
	height: 16px;
}

/* ---------- Lightbox ---------- */

.lb {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: grid;
	/* minmax(0, 1fr): a faixa de miniaturas rola em vez de alargar a coluna. */
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto minmax(0, 1fr) auto auto;
	background: rgba(4, 4, 22, 0.96);
	backdrop-filter: blur(8px);
	color: var(--white);
	animation: lb-in 0.2s ease;
}

.lb[hidden] {
	display: none;
}

@keyframes lb-in {
	from { opacity: 0; }
}

.lb-top {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px 8px 24px;
	min-height: 64px;
}

.lb-count {
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, 0.7);
}

.lb-title {
	flex: 1;
	min-width: 0;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgba(255, 255, 255, 0.9);
}

.lb-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 88px;
	min-height: 0;
	touch-action: pan-y;
}

.lb-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	transition: opacity 0.2s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.lb.is-loading .lb-img {
	opacity: 0.25;
}

.lb-spinner {
	position: absolute;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.2);
	border-top-color: var(--white);
	animation: lb-spin 0.8s linear infinite;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.lb.is-loading .lb-spinner {
	opacity: 1;
}

@keyframes lb-spin {
	to { transform: rotate(360deg); }
}

.lb-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lb-btn:hover,
.lb-btn:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.45);
}

.lb-btn:focus-visible {
	outline: 2px solid var(--peri);
	outline-offset: 2px;
}

.lb-prev,
.lb-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.lb-prev {
	left: 20px;
}

.lb-next {
	right: 20px;
}

.lb.is-single .lb-prev,
.lb.is-single .lb-next,
.lb.is-single .lb-thumbs {
	display: none;
}

.lb-caption {
	max-width: 760px;
	margin: 0 auto;
	padding: 14px 24px 0;
	text-align: center;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.lb-thumbs {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 16px 20px 20px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.lb-thumbs::-webkit-scrollbar {
	display: none;
}

.lb-thumb {
	flex-shrink: 0;
	width: 52px;
	height: 66px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: #222;
	opacity: 0.5;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.lb-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lb-thumb:hover {
	opacity: 0.85;
}

.lb-thumb.is-active {
	opacity: 1;
	border-color: var(--accent);
}

/* Modal de vídeo: vídeos horizontais / YouTube */

.video-modal-frame.is-landscape {
	width: min(960px, calc(100vw - 48px), calc((100vh - 120px) * 16 / 9));
}

/* ---------- Responsivo ---------- */

@media (max-width: 1120px) {
	.job-overview-grid {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 48px;
	}

	.faq-single-grid {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 48px;
	}
}

@media (max-width: 1024px) {
	.job-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.home-faq-grid,
	.related-faq-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.home-faq-copy {
		position: static;
	}

	.faq-archive-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.faq-nav {
		position: static;
	}

	.faq-nav ul {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		border-left: 0;
	}

	.faq-nav a {
		margin-left: 0;
		padding: 8px 14px;
		border: 1px solid rgba(58, 61, 147, 0.18);
		border-radius: 999px;
		background: var(--white);
	}

	.faq-nav a.is-active {
		border-color: var(--primary);
	}
}

@media (max-width: 860px) {
	.page-hero {
		padding-top: calc(var(--header-h) + 28px);
		padding-bottom: 56px;
	}

	.page-hero-corner {
		display: none;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 36px;
	}

	.home-jobs .section-head-btn {
		display: none;
	}

	.home-jobs-more {
		display: block;
	}

	.job-overview-grid {
		grid-template-columns: 1fr;
	}

	.job-video-col {
		position: static;
		order: -1;
	}

	.job-video-frame {
		max-width: 360px;
	}

	.job-video--landscape .job-video-frame {
		max-width: none;
	}

	.faq-single-grid {
		grid-template-columns: 1fr;
	}

	.faq-single-side {
		position: static;
	}

	.cta-band-box {
		flex-direction: column;
		align-items: flex-start;
		padding: 36px 28px;
	}

	.cta-band-actions {
		align-items: flex-start;
	}

	.cta-band {
		padding-bottom: 72px;
	}

	.lb-stage {
		padding: 8px 12px;
	}

	/* No celular a navegação é por gesto e miniaturas. */
	.lb-prev,
	.lb-next {
		display: none;
	}

	.lb-thumbs {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	.job-grid {
		grid-template-columns: 1fr;
	}

	.job-facts dl {
		grid-template-columns: 1fr;
	}

	.entry-content {
		font-size: 17px;
	}

	.gallery-grid {
		columns: 2;
		column-gap: 12px;
	}

	.gallery-item {
		margin-bottom: 12px;
	}

	.faq-item summary {
		padding: 18px 16px 18px 18px;
	}

	.faq-q {
		font-size: 16px;
	}

	.faq-a-inner {
		padding: 0 18px 18px;
	}

	.faq-inline-cta {
		flex-direction: column;
		align-items: flex-start;
	}

	.faq-pager {
		grid-template-columns: 1fr;
	}

	.faq-pager-next {
		grid-column: 1;
	}

	.faq-answer-box {
		padding: 24px 22px;
	}

	.faq-answer-text {
		font-size: 17px;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.breadcrumb span[aria-current] {
		max-width: 22ch;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eyebrow-dot::after {
		animation: none;
	}

	.job-card,
	.job-card-img img,
	.gallery-open img {
		transition: none;
	}
}
