/* ============================================================
   INDYARD — estilos do tema
   Identidade de indyard.pt (vermelho #E70300, grafite, Montserrat/Lato) com design novo.
   ============================================================ */

:root {
	--red: #E70300;
	--red-dark: #BF0200;
	--red-soft: #FDECEC;
	--ink: #1B1D23;
	--ink-2: #24272F;
	--navy: #1B313E;
	--text: #4A4D55;
	--muted: #6E717A;
	--line: #E6E7EB;
	--bg: #FFFFFF;
	--bg-alt: #F5F6F8;
	--on-dark: #FFFFFF;
	--on-dark-muted: #B3B6BE;
	--line-dark: rgba(255, 255, 255, .12);

	--font-h: 'Montserrat', sans-serif;
	--font-b: 'Lato', sans-serif;

	--max: 1200px;
	--radius: 10px;
	--ease: .25s ease;
	--shadow: 0 18px 40px rgba(27, 29, 35, .1);
	--header-h: 88px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); font-size: 17px; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
/* Compatibilidade com o WPBakery (js_composer), ativo no site real: o CSS dele dá a .container e .nav
   um "clearfix" (::before/::after com content: " "). Em grelhas e flex esses pseudo-elementos contam
   como itens e desalinham o layout (ex.: cartões Empresa/Candidato em escada). O tema não usa floats. */
body .container::before, body .container::after, body .nav::before, body .nav::after { content: none; display: none; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--red); color: #fff; padding: .5rem 1rem; }
.idy-icon { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.eyebrow { display: inline-block; font-family: var(--font-h); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.eyebrow--light { color: #FF4D4A; }
.section__title { font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); }
.section__lead { margin-top: 14px; font-size: 19px; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 700; font-size: 14px; color: var(--red); }
.link-arrow .idy-icon { transition: transform var(--ease); }
.link-arrow:hover .idy-icon { transform: translateX(4px); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 16px 26px; border-radius: 6px; border: 2px solid transparent; white-space: nowrap; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease); }
.btn:hover { transform: translateY(-2px); }
/* Todos os botões com fundo sólido (opaco). Mantêm a borda de 2px e a forma.
   Vermelho: fundo vermelho, borda vermelho-escuro, texto branco — em qualquer fundo. */
.btn--red, .category.category--all, .to-top { background: var(--red); border: 2px solid var(--red-dark); color: #fff; }
.btn--red:hover, .category.category--all:hover, .to-top:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.category.category--all .idy-icon { color: #fff; }
/* Voltar ao topo: passa por fundos brancos, vermelhos e escuros — borda branca e sombra para se destacar. */
.to-top { border-color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
/* Grafite (sobre fotografias e fundos escuros): fundo sólido com borda clara. */
.btn--glass, .btn--outline { background: #33363F; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--glass:hover, .btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--ink); color: #fff; }

/* --- Ícone de fundo dos cartões (serviços da homepage, Mission/Vision, Values) ---
   O cartão precisa de position: relative + overflow: hidden, e o texto de z-index: 1. */
/* Tamanho em --bg-size (170px por omissão) e distância ao canto em --bg-gap (12px). O desenho vem
   encostado ao canto inferior direito da caixa (idy_icon( $nome, 'corner' )), por isso não precisa de acertos. */
.bg-icon { --bg-size: 170px; --bg-gap: 12px; position: absolute; right: var(--bg-gap); bottom: var(--bg-gap); z-index: 0; line-height: 0; color: var(--red); opacity: .07; pointer-events: none; transform-origin: bottom right; transition: opacity .4s ease, transform .4s ease; }
.bg-icon .idy-icon { width: var(--bg-size); height: var(--bg-size); }
:hover > .bg-icon { opacity: .13; transform: scale(1.05) rotate(-4deg); }
/* --- Header --- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.header__inner.container { max-width: 1340px; }
.header__logo { flex: none; }
.header__logo-img { width: auto; height: 58px; }
.nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav__menu { display: flex; gap: 4px; }
.nav__menu a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 8px; font-family: var(--font-h); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); white-space: nowrap; transition: color var(--ease); }
.nav__menu a .idy-icon { width: 13px; height: 13px; color: var(--red); }
/* Ícones do plugin Menu Icons (menu feito no WordPress): mesmo tamanho e cor dos do tema. */
.nav__menu a ._mi { width: auto; height: auto; margin: 0; font-size: 13px; line-height: 1; color: var(--red); vertical-align: middle; }
.nav__menu a::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav__menu a:hover { color: var(--red); }
.nav__menu a:hover::after, .nav__menu .current-menu-item > a::after, .nav__menu .current_page_item > a::after { transform: scaleX(1); }
.nav__menu .current-menu-item > a, .nav__menu .current_page_item > a { color: var(--red); }
/* Submenu (Candidate → Personal Area / Favorites / Job Alerts): abre ao passar o rato ou com o teclado */
.nav__menu > li { position: relative; }
.nav__menu .menu-item-has-children > a::before { content: ''; order: 2; width: 6px; height: 6px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.nav__menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { display: flex; width: 100%; padding: 11px 12px; border-radius: 6px; font-size: 12px; }
.nav__menu .sub-menu a::after { display: none; }
.nav__menu .sub-menu a:hover, .nav__menu .sub-menu .current-menu-item > a { background: var(--red-soft); color: var(--red); }
.nav__cta { padding: 12px 18px; font-size: 12px; }

/* Botões de língua PT / EN: mesma forma dos outros botões (cantos 6px, borda 2px, maiúsculas).
   O ativo usa a variante vermelha translúcida do "Send Application"; o outro, borda neutra. */
.lang-switch { display: inline-flex; gap: 6px; }
.lang-switch__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 12px; border: 2px solid var(--line); border-radius: 6px; background: #fff; font-family: var(--font-h); font-size: 12px; font-weight: 700; line-height: 1.7; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease); }
.lang-switch__btn:hover { border-color: rgba(231, 3, 0, .55); color: var(--red); transform: translateY(-2px); }
.lang-switch__btn.is-active { background: var(--red); border-color: var(--red-dark); color: #fff; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }
.nav__toggle .idy-icon { width: 28px; height: 28px; }

/* --- Hero / slider --- */
.hero { position: relative; height: clamp(520px, 78vh, 720px); overflow: hidden; background: var(--ink); color: #fff; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity 1s ease, visibility 1s, transform 6s ease; }
.slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 21, 26, .92) 0%, rgba(20, 21, 26, .7) 45%, rgba(20, 21, 26, .15) 100%); }
.slide__content { position: relative; padding-bottom: 40px; }
.slide__content > * { max-width: 640px; opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .3s; }
/* Ao carregar a página, o 1.º slide faz a mesma entrada que na troca de slides (fade + zoom out
   da imagem, texto a subir). Em CSS para correr desde o primeiro frame; o JS retira .is-intro
   na primeira troca de slide, para não repetir a animação. */
.hero.is-intro .slide.is-active { animation: idy-fade-in 1s ease both, idy-zoom-out 6s ease both; }
.hero.is-intro .slide.is-active .slide__content > * { animation: idy-rise .7s ease both; }
.hero.is-intro .slide.is-active .slide__content > :nth-child(1) { animation-delay: .25s; }
.hero.is-intro .slide.is-active .slide__content > :nth-child(2) { animation-delay: .35s; }
.hero.is-intro .slide.is-active .slide__content > :nth-child(3) { animation-delay: .45s; }
.hero.is-intro .slide.is-active .slide__content > :nth-child(4) { animation-delay: .55s; }
@keyframes idy-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes idy-zoom-out { from { transform: scale(1.04); } to { transform: scale(1); } }
@keyframes idy-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.slide__title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 22px; }
.slide__text { font-size: clamp(17px, 1.7vw, 21px); color: #D9DBE0; margin-bottom: 34px; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 110px; display: flex; justify-content: space-between; align-items: center; z-index: 2; pointer-events: none; }
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background var(--ease), width var(--ease); }
.hero__dot.is-active { width: 56px; background: var(--red); }
.hero__arrows { display: flex; gap: 10px; }
/* Mesmo fundo e borda do .btn--glass ("Send Email") */
.hero__arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); background: #33363F; color: #fff; cursor: pointer; transition: background var(--ease), color var(--ease); }
.hero__arrow:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* --- Audiences (sobrepostas ao hero) --- */
.audiences { position: relative; z-index: 3; margin-top: -80px; }
.audiences__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience { display: flex; align-items: center; gap: 22px; padding: 30px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform var(--ease), border-color var(--ease); }
.audience:hover { transform: translateY(-4px); border-color: var(--red); }
.audience__icon { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--red); color: #fff; }
.audience__icon .idy-icon { width: 34px; height: 34px; }
.audience + .audience .audience__icon { background: var(--ink); }
.audience__body { display: grid; gap: 4px; flex: 1; }
.audience__kicker { font-family: var(--font-h); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.audience__title { font-family: var(--font-h); font-size: 19px; line-height: 1.3; color: var(--ink); }
.audience__text { font-size: 15px; color: var(--muted); }
.audience__go { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--bg-alt); color: var(--ink); transition: background var(--ease), color var(--ease); }
.audience:hover .audience__go { background: var(--red); color: #fff; }

/* Zoom + fade in do conteúdo dos cartões. O JS põe .will-animate (para que, sem JS, o conteúdo
   apareça normalmente) e depois .is-in quando os cartões entram no ecrã. */
.audiences.will-animate .audience__icon,
.audiences.will-animate .audience__kicker,
.audiences.will-animate .audience__title,
.audiences.will-animate .audience__text,
.audiences.will-animate .audience__go { opacity: 0; transform: scale(.6); }
.audiences.will-animate .audience__kicker,
.audiences.will-animate .audience__title,
.audiences.will-animate .audience__text { transform: scale(.92); transform-origin: left center; }
.audiences.is-in .audience__icon,
.audiences.is-in .audience__kicker,
.audiences.is-in .audience__title,
.audiences.is-in .audience__text,
.audiences.is-in .audience__go { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .25, 1.15); }
.audiences.is-in .audience__icon { transition-delay: .1s; }
.audiences.is-in .audience__kicker { transition-delay: .22s; }
.audiences.is-in .audience__title { transition-delay: .3s; }
.audiences.is-in .audience__text { transition-delay: .38s; }
.audiences.is-in .audience__go { transition-delay: .5s; }
.audiences.is-in .audience + .audience .audience__icon { transition-delay: .3s; }
.audiences.is-in .audience + .audience .audience__kicker { transition-delay: .42s; }
.audiences.is-in .audience + .audience .audience__title { transition-delay: .5s; }
.audiences.is-in .audience + .audience .audience__text { transition-delay: .58s; }
.audiences.is-in .audience + .audience .audience__go { transition-delay: .7s; }

/* --- Sections --- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section__more { margin-top: 40px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { position: relative; padding: 40px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease); }
.service::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__num { position: absolute; top: 22px; right: 28px; font-family: var(--font-h); font-weight: 800; font-size: 46px; line-height: 1; color: var(--bg-alt); }
.service__title, .service p { position: relative; z-index: 1; }
.service__title { font-size: 21px; color: var(--ink); margin: 34px 0 12px; }
.service p { color: var(--muted); font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--on-dark-muted); }
.about__media { position: relative; min-height: 560px; background-size: cover; background-position: center; overflow: hidden; isolation: isolate; }
/* Zoom out lento da fotografia (como no hero) quando o bloco entra no ecrã. A fotografia é repetida
   numa camada própria (::before, background: inherit) para o selo vermelho não fazer zoom. */
.about__media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: inherit; background-size: cover; background-position: center; }
.about__media.will-zoom-out::before { transform: scale(1.04); }
.about__media.is-in::before { transform: scale(1); transition: transform 6s ease; }
.about__badge { position: absolute; right: -1px; bottom: 48px; display: flex; align-items: center; gap: 14px; padding: 20px 26px; background: var(--red); color: #fff; border-radius: var(--radius) 0 0 var(--radius); }
.about__badge .idy-icon { width: 34px; height: 34px; }
.about__badge span { display: grid; font-size: 14px; line-height: 1.35; }
.about__badge strong { font-family: var(--font-h); font-size: 18px; }
.about__content { padding: 100px clamp(24px, 6vw, 96px); align-self: center; }
.about__content .section__title { color: #fff; margin-bottom: 22px; }
.about__content p { margin-bottom: 34px; }

/* Employment by category */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); font-family: var(--font-h); font-weight: 600; color: var(--ink); transition: border-color var(--ease), color var(--ease), box-shadow var(--ease); }
.category small { font-family: var(--font-b); font-weight: 400; color: var(--muted); }
.category .idy-icon { color: var(--red); transition: transform var(--ease); }
.category:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
.category:hover .idy-icon { transform: translateX(4px); }

/* Animação "card stack": o JS empilha os cartões de cada linha na posição do primeiro
   e, quando a secção entra no ecrã, distribui-os para a direita (ver main.js). */
.stack-group > * { position: relative; transform-origin: right center; }
.stack-group > * { border-radius: var(--radius); transition: box-shadow .8s ease; }
.stack-group.is-stacked > * { box-shadow: 0 8px 20px rgba(27, 29, 35, .08); }

/* Send application */
.infobox { background: var(--red); color: #fff; padding: 70px 0; background-image: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .14), transparent 40%); }
.infobox__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.infobox__title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 8px; }
.infobox p { color: rgba(255, 255, 255, .85); max-width: 560px; }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-top: 80px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; gap: 56px; padding-bottom: 60px; }
.footer__logo { font-family: var(--font-h); font-weight: 800; font-size: 30px; color: #fff; letter-spacing: -.02em; margin-bottom: 16px; }
.footer__logo span { color: var(--red); }
.footer__col--about p { margin-bottom: 20px; max-width: 360px; }
.footer__title { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer__links { display: grid; gap: 8px; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .idy-icon { color: var(--red); margin-top: .3em; }
.footer a:not(.link-arrow):hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--ease), visibility var(--ease), transform var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ============================================================
   Páginas interiores (About Us, Services, Company, Contacts)
   ============================================================ */

/* Topo da página */
.page-hero { position: relative; background-color: var(--ink); background-size: cover; background-position: center; color: #fff; padding: 110px 0 100px; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 21, 26, .92) 0%, rgba(20, 21, 26, .7) 50%, rgba(20, 21, 26, .35) 100%); }
.page-hero__inner > * { max-width: 680px; animation: idy-rise .7s ease both; }
.page-hero__inner > :nth-child(2) { animation-delay: .08s; }
.page-hero__inner > :nth-child(3) { animation-delay: .16s; }
.page-hero__inner > :nth-child(4) { animation-delay: .24s; }
.page-hero__title { font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 18px; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #D9DBE0; }
.breadcrumb { display: flex; gap: 10px; font-family: var(--font-h); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); margin-bottom: 34px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: #FF4D4A; }

.section--dark { background: var(--ink); color: var(--on-dark-muted); }
.section__title--light { color: #fff; }

/* Duas colunas */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.split--center { align-items: center; }
.split__text { color: var(--muted); margin-top: 22px; }
.split__text--light { color: var(--on-dark-muted); margin-bottom: 30px; }
.quote { font-family: var(--font-h); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--ink); padding-left: 24px; border-left: 4px solid var(--red); }

/* Missão / Visão */
.mv { display: grid; gap: 20px; }
.mv__card { position: relative; overflow: hidden; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mv__title, .mv__card p { position: relative; z-index: 1; }
.mv__title { font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.mv__card p { font-size: 16px; }

/* Processo (timeline) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.timeline__step { position: relative; padding: 30px 26px 28px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--red); box-shadow: 0 6px 18px rgba(27, 29, 35, .04); }
.timeline__num { display: block; font-family: var(--font-h); font-weight: 800; font-size: 34px; line-height: 1; color: var(--red); opacity: .25; margin-bottom: 14px; }
.timeline__step p { font-family: var(--font-h); font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--ink); }
.note { display: flex; align-items: center; gap: 12px; margin-top: 34px; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--line); color: var(--text); }
.note .idy-icon { color: var(--red); width: 22px; height: 22px; }

/* Lista de vantagens */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .03); color: #E4E6EB; font-size: 16px; line-height: 1.55; }
.checklist .idy-icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 1px; }

/* Áreas de intervenção */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile__label { min-width: 0; overflow-wrap: anywhere; }
/* Áreas de intervenção: ícone de fundo mais pequeno, à medida da altura do quadrado. */
.tile--bg { position: relative; overflow: hidden; min-height: 120px; align-items: flex-start; padding: 24px; font-size: 17px; }
.tile--bg .tile__label { position: relative; z-index: 1; overflow-wrap: normal; max-width: 75%; }
.tile--bg .bg-icon { --bg-size: 96px; --bg-gap: 10px; }.tiles--links { grid-template-columns: repeat(3, 1fr); }
.tiles--links .tile { height: 100%; }
.tiles--links .tile__label { flex: 1; }
.tiles--links .tile > .idy-icon { color: var(--red); transition: transform var(--ease); }
.tiles--links .tile:hover > .idy-icon { transform: translateX(4px); }
.tile { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-family: var(--font-h); font-weight: 600; color: var(--ink); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.tile:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }
.tile__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.tile__icon .idy-icon { width: 24px; height: 24px; }

/* Valores */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { position: relative; overflow: hidden; min-height: 200px; padding: 32px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow var(--ease), transform var(--ease); }
.value:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value__title, .value p { position: relative; z-index: 1; }
.value__title { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 16px; }

/* Serviços (página Services) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease); }
.svc::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
/* Ícone de fundo (.bg-icon) no canto inferior direito; o texto fica por cima. */
.svc__title, .svc__text, .svc__points { position: relative; z-index: 1; }
.svc__title { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.svc__text { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.svc__points { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.svc__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.svc__points .idy-icon { color: var(--red); margin-top: .3em; }
.svc-grid--dark .svc { background: var(--ink-2); border-color: var(--line-dark); }
/* Nos cartões escuros o vermelho a 7% quase não se vê: mais intenso. */
.svc-grid--dark .bg-icon { opacity: .16; }
.svc-grid--dark .svc:hover > .bg-icon { opacity: .26; }
.svc-grid--dark .svc__title { color: #fff; }
.svc-grid--dark .svc__text { color: var(--on-dark-muted); }
.svc-grid--dark .svc__points { border-color: var(--line-dark); }
.svc-grid--dark .svc__points li { color: #E4E6EB; }
.section--dark .section__lead { color: var(--on-dark-muted); }

.about__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 4px 0 34px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.about__facts li { display: grid; gap: 2px; }
.about__facts strong { font-family: var(--font-h); font-weight: 800; font-size: 28px; line-height: 1.1; color: #fff; }
.about__facts span { font-size: 13px; color: var(--on-dark-muted); }

/* Números da empresa */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.fact { padding: 30px 28px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__value { display: block; font-family: var(--font-h); font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; color: var(--red); margin-bottom: 8px; }
.fact__label { font-size: 14px; color: var(--muted); }
.facts--overlap { position: relative; z-index: 2; margin-top: -54px; box-shadow: var(--shadow); border-color: transparent; }
/* Zoom in + fade in dos números ao carregar a página, um a um (valor e depois a legenda). */
.facts--overlap .fact__value, .facts--overlap .fact__label { animation: idy-zoom-in .7s cubic-bezier(.2, .8, .25, 1.15) both; }
.facts--overlap .fact__label { animation-name: idy-zoom-in-soft; }
.facts--overlap .fact:nth-child(1) .fact__value { animation-delay: .35s; }
.facts--overlap .fact:nth-child(1) .fact__label { animation-delay: .45s; }
.facts--overlap .fact:nth-child(2) .fact__value { animation-delay: .5s; }
.facts--overlap .fact:nth-child(2) .fact__label { animation-delay: .6s; }
.facts--overlap .fact:nth-child(3) .fact__value { animation-delay: .65s; }
.facts--overlap .fact:nth-child(3) .fact__label { animation-delay: .75s; }
.facts--overlap .fact:nth-child(4) .fact__value { animation-delay: .8s; }
.facts--overlap .fact:nth-child(4) .fact__label { animation-delay: .9s; }
.fact__value, .fact__label { display: block; }
@keyframes idy-zoom-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

/* Grupos de blocos com zoom in + fade in ao entrar no ecrã (classe .zoom-group; o JS põe
   .will-zoom e depois .is-in, e --i com a posição de cada bloco). O fill "backwards" liberta
   o transform no fim, para o hover dos blocos continuar a funcionar. */
.zoom-group.will-zoom:not(.is-in) > * { opacity: 0; }
.zoom-group.is-in > * { animation: idy-zoom-in-block .6s cubic-bezier(.2, .8, .25, 1.12) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes idy-zoom-in-block { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes idy-zoom-in-soft { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* Ficha da empresa (About Us) */
.profile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.profile div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.profile dd { color: var(--ink); font-weight: 700; }

.section--audiences .section__head { margin-bottom: 36px; }
.audiences--inline { margin-top: 0; }

/* Company: o que fazemos / como */
.duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.duo__card { position: relative; overflow: hidden; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
/* Ícone de fundo (.bg-icon) no canto inferior direito (página Company); o conteúdo fica por cima. */
.duo__card > :not(.bg-icon) { position: relative; z-index: 1; }
.duo__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 22px; }
.duo__icon .idy-icon { width: 26px; height: 26px; }
.duo__title { font-size: 26px; color: var(--ink); margin-bottom: 14px; }
.duo__card p + p { margin-top: 14px; }

/* Formulários + cartão de contactos */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form { padding: 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 20px); }
.form__title { font-size: clamp(24px, 2.4vw, 30px); color: var(--ink); margin-bottom: 8px; }
.form__intro { color: var(--muted); margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form__field { display: grid; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__field label { font-family: var(--font-h); font-size: 13px; font-weight: 600; color: var(--ink); }
.form__field label span, .form__required span { color: var(--red); }
.form__field input, .form__field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); transition: border-color var(--ease), background var(--ease), box-shadow var(--ease); }
.form__field textarea { resize: vertical; min-height: 150px; }
.form__field input:focus, .form__field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(231, 3, 0, .1); }
.form__submit { margin-top: 26px; }
.form__required { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { margin-bottom: 24px; padding: 14px 18px; border-radius: 8px; font-weight: 700; font-size: 15px; }
.form__notice--success { background: #E8F6EC; color: #1E6B34; }
.form__notice--warning { background: var(--red-soft); color: var(--red-dark); }
.section--alt .form { border-color: transparent; }

.contact-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 40px 36px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-muted); }
.contact-card__title { font-size: 24px; color: #fff; margin-bottom: 6px; }
.contact-card > p { margin-bottom: 26px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 2px solid var(--red); background: rgba(231, 3, 0, .18); color: #fff; }
.contact-list small { display: block; font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #FF4D4A; margin-bottom: 2px; }
.contact-list span { color: #fff; line-height: 1.5; }
.contact-list a:hover { color: #FF4D4A; }

.map { line-height: 0; }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.6) contrast(1.05); }

/* ============================================================
   Ofertas de emprego e área do candidato
   ============================================================ */

/* Pesquisa (sobreposta ao topo da página Jobs) */
.job-search { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: -42px; padding: 10px; background: #fff; border-radius: calc(var(--radius) + 2px); box-shadow: var(--shadow); }
.job-search__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); border-radius: 8px; background: var(--bg-alt); }
.job-search__field input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 15px 0; outline: none; }
.job-search__field:focus-within { box-shadow: 0 0 0 2px var(--red) inset; }

.section--jobs { padding-top: 56px; }
.jobs-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.jobs-filters { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.jobs-filters > form { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.jobs-filters__title { font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.jobs-filters__reset { margin-top: 6px; }
.jobs-filters__box { position: relative; overflow: hidden; padding: 26px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-muted); font-size: 15px; }
.jobs-filters__box .jobs-filters__title { color: #fff; }
.jobs-filters__box p { margin-bottom: 14px; }
.jobs-filters__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 50%; border: 2px solid var(--red); background: rgba(231, 3, 0, .18); color: #fff; }

/* Caixa de seleção */
.check { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--text); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 2px solid var(--line); border-radius: 5px; color: transparent; transition: background var(--ease), border-color var(--ease); }
.check__box .idy-icon { width: 13px; height: 13px; }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); color: #fff; }
.check input:focus-visible + .check__box { outline: 2px solid var(--red); outline-offset: 2px; }

.jobs-results__count { margin-bottom: 20px; color: var(--muted); }
.jobs-results__count strong { color: var(--red); }

/* Cartão de oferta */
.job-list { display: grid; gap: 14px; }
.job-card { position: relative; display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.job-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card__main { flex: 1; display: flex; align-items: center; gap: 20px; padding: 22px 24px; min-width: 0; }
.job-card__icon { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.job-card__icon .idy-icon { width: 24px; height: 24px; }
.job-card__body { display: grid; gap: 6px; flex: 1; min-width: 0; }
.job-card__title { font-family: var(--font-h); font-size: 18px; line-height: 1.3; color: var(--ink); }
.job-card:hover .job-card__title { color: var(--red); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); }
.job-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card__meta .idy-icon { color: var(--red); width: 15px; height: 15px; }
.job-card__excerpt { font-size: 15px; color: var(--muted); }
.job-card__type { align-self: center; flex: none; padding: 6px 12px; border-radius: 99px; font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-alt); color: var(--ink); }
.job-card__type--tempo-inteiro, .job-card__type--full-time { background: var(--red-soft); color: var(--red); }
.job-card .fav--compact { display: flex; align-items: center; padding: 0 20px 0 4px; }

/* Favorito */
.fav__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 18px; border: 2px solid var(--line); border-radius: 6px; background: #fff; font-family: var(--font-h); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: border-color var(--ease), color var(--ease), background var(--ease); }
.fav__btn:hover { border-color: var(--red); color: var(--red); }
.fav.is-on .fav__btn { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.fav__btn .idy-icon { width: 18px; height: 18px; }
.fav--compact .fav__btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--red); }

/* Paginação e estado vazio */
.pagination { display: flex; gap: 6px; margin-top: 28px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-h); font-weight: 600; color: var(--ink); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--red); color: var(--red); }
.empty { padding: 56px 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.empty__icon .idy-icon { width: 28px; height: 28px; }
.empty__title { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }
.empty__actions { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Oferta individual */
.page-hero__title--job { font-size: clamp(30px, 4.2vw, 50px); text-transform: none; }
.job-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: #D9DBE0; }
.job-hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.job-hero-meta .idy-icon { color: #FF4D4A; }
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.job-content__text { max-width: none; margin-bottom: 40px; color: var(--text); }
.job-content .form { margin-top: 8px; }
/* Candidatura do WP Job Manager (site real): botão e formulário do plugin com o aspeto do tema. */
.job-apply .application_button, .job-apply input[type="submit"], .job-apply button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; border: 2px solid var(--red-dark); border-radius: 6px; background: var(--red); color: #fff; font-family: var(--font-h); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background var(--ease), color var(--ease); }
.job-apply .application_button:hover, .job-apply input[type="submit"]:hover, .job-apply button[type="submit"]:hover { background: var(--red-dark); color: #fff; }
.job-apply .application_details { margin-top: 22px; }
.job-apply fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.job-apply label { display: block; margin-bottom: 6px; font-family: var(--font-h); font-size: 13px; font-weight: 600; color: var(--ink); }
.job-apply input[type="text"], .job-apply input[type="email"], .job-apply input[type="tel"], .job-apply textarea, .job-apply select { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); }
.job-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.job-overview { padding: 30px; border-radius: var(--radius); background: var(--bg-alt); display: grid; gap: 14px; }
.job-overview__title { font-size: 20px; color: var(--ink); }
.job-overview dl { display: grid; gap: 14px; margin-bottom: 8px; }
.job-overview dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.job-overview dt .idy-icon { color: var(--red); width: 15px; height: 15px; }
.job-overview dd { padding-left: 23px; font-weight: 700; color: var(--ink); }
.job-overview__apply { width: 100%; }
.job-aside__back { justify-self: start; }

/* Campo de ficheiro (CV) */
.file { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed var(--line); border-radius: 8px; background: var(--bg-alt); color: var(--muted); font-weight: 400 !important; font-family: var(--font-b) !important; font-size: 15px !important; cursor: pointer; transition: border-color var(--ease); }
.file .idy-icon { color: var(--red); width: 22px; height: 22px; }
.file:hover, .file__input:focus-visible + .file { border-color: var(--red); }
.file.has-file { border-style: solid; border-color: var(--red); color: var(--ink); }
.file__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-alt); }

/* Área pessoal */
.section--account { padding-top: 56px; }
.account-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; padding: 6px; border-radius: calc(var(--radius) + 2px); background: var(--bg-alt); }
.account-nav__link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 8px; font-family: var(--font-h); font-size: 13px; font-weight: 600; color: var(--ink); transition: background var(--ease), color var(--ease); }
.account-nav__link .idy-icon { color: var(--red); width: 16px; height: 16px; }
.account-nav__link:hover { color: var(--red); }
.account-nav__link.is-active { background: #fff; color: var(--red); box-shadow: 0 4px 14px rgba(27, 29, 35, .06); }
.account-nav__link--out { margin-left: auto; color: var(--muted); }
.account__reason { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 700; color: var(--ink); }
.account__reason .idy-icon { color: var(--red); }
.account__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.account__form { display: grid; gap: 16px; align-content: start; }
.account__form .form__title { margin-bottom: 0; }
.account__form .form__intro { margin-bottom: 4px; }
.account__form .form__submit { margin-top: 6px; justify-self: start; }
.account__form .form__required { margin-top: 0; }
.account__form .form__required a { color: var(--red); }
.account__form + .account__form { background: var(--bg-alt); border-color: transparent; }

.dashboard { display: grid; gap: 24px; }
.dashboard__profile { display: flex; align-items: center; gap: 18px; }
.dashboard__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-h); font-size: 26px; font-weight: 800; }
.dashboard__name { display: block; font-family: var(--font-h); font-size: 22px; color: var(--ink); }
.dashboard__email { color: var(--muted); }
.dashboard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card { display: grid; gap: 4px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--ease), box-shadow var(--ease); }
.stat-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.stat-card__icon { color: var(--red); margin-bottom: 8px; }
.stat-card__icon .idy-icon { width: 26px; height: 26px; }
.stat-card__value { font-family: var(--font-h); font-size: 36px; font-weight: 800; line-height: 1; color: var(--ink); }
.stat-card__label { color: var(--muted); font-size: 15px; }
.dashboard__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-muted); }
.dashboard__cta-title { font-size: 20px; color: #fff; margin-bottom: 4px; }

/* Ferramentas do candidato (página Candidate) */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool { display: grid; gap: 10px; padding: 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow var(--ease), border-color var(--ease); }
.tool:hover { box-shadow: var(--shadow); border-color: var(--red); }
.tool__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; background: var(--red); color: #fff; }
.tool__icon .idy-icon { width: 26px; height: 26px; }
.tool__title { font-family: var(--font-h); font-size: 20px; color: var(--ink); }
.tool__text { color: var(--muted); font-size: 16px; }
.duo__btn { margin-top: 22px; }

/* Alertas */
.alerts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.alerts__list { padding: 34px; border-radius: var(--radius); background: var(--bg-alt); }
.alerts__title { font-size: 22px; color: var(--ink); margin-bottom: 18px; }
.alerts__list ul { display: grid; gap: 12px; }
.alerts__empty { color: var(--muted); }
.alert-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 8px; background: #fff; }
.alert-item__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.alert-item__body { flex: 1; display: grid; min-width: 0; }
.alert-item__body strong { font-family: var(--font-h); color: var(--ink); }
.alert-item__body span { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-item__delete { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.alert-item__delete:hover { background: var(--red-soft); color: var(--red); }

.checklist--card li { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; background: none; font-size: 15px; }
.contact-card__more { margin: 22px 0 14px; }
.contact-card__more a { color: #fff; text-decoration: underline; }
.addon { min-width: 0; }

/* ============================================================
   Notícias
   ============================================================ */

/* Grelha: 2 artigos por linha */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease); }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--red); opacity: .25; }
.news-card__placeholder .idy-icon { width: 64px; height: 64px; }
.news-card__date { position: absolute; left: 20px; top: 20px; display: grid; justify-items: center; min-width: 64px; padding: 8px 10px; border-radius: 8px; background: var(--red); color: #fff; font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.news-card__date strong { font-size: 24px; line-height: 1; letter-spacing: 0; }
.news-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 28px 30px 30px; }
.news-card__title { font-size: 21px; line-height: 1.3; color: var(--ink); }
.news-card__title a:hover { color: var(--red); }
.news-card__excerpt { color: var(--muted); font-size: 16px; flex: 1; }
.news-card .link-arrow { align-self: flex-start; }

/* Artigo */
.page-hero--post::before { background: linear-gradient(90deg, rgba(20, 21, 26, .94) 0%, rgba(20, 21, 26, .75) 55%, rgba(20, 21, 26, .45) 100%); }
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.post-content__image { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; }
.post-content__image img { width: 100%; }
.post-content__text { max-width: none; font-size: 18px; color: var(--text); }
.post-content__text h2, .post-content__text h3 { color: var(--ink); margin-top: 1.8rem; }
.post-content__text ul, .post-content__text ol { padding-left: 1.4em; list-style: revert; }
.post-content__text li + li { margin-top: .4rem; }
.post-content__text blockquote { padding-left: 22px; border-left: 4px solid var(--red); font-family: var(--font-h); font-size: 20px; color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav__link { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--ease), box-shadow var(--ease); }
.post-nav__link:hover { border-color: var(--red); box-shadow: var(--shadow); }
.post-nav__link small { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-h); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.post-nav__link strong { font-family: var(--font-h); color: var(--ink); line-height: 1.35; }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__link--next small { justify-content: flex-end; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }

/* "Do you have any questions?" */
.questions { position: relative; overflow: hidden; padding: 32px 30px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-muted); }
.questions__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--red); color: #fff; }
.questions__icon .idy-icon { width: 24px; height: 24px; }
.questions__title { font-size: 22px; color: #fff; margin-bottom: 10px; }
.questions > p { margin-bottom: 18px; font-size: 16px; }
.questions__list { display: grid; gap: 10px; margin-bottom: 24px; }
.questions__list li { display: flex; align-items: center; gap: 10px; color: #fff; }
.questions__list .idy-icon { color: #FF4D4A; }
.questions__list a:hover { color: #FF4D4A; }

.recent { padding: 26px; border-radius: var(--radius); background: var(--bg-alt); }
.recent__title { font-size: 18px; color: var(--ink); margin-bottom: 16px; }
.recent ul { display: grid; gap: 14px; }
.recent__item { display: flex; gap: 14px; align-items: center; }
.recent__img { width: 64px; height: 64px; flex: none; border-radius: 8px; object-fit: cover; }
.recent__item strong { display: block; font-family: var(--font-h); font-size: 14px; line-height: 1.35; color: var(--ink); }
.recent__item:hover strong { color: var(--red); }
.recent__item small { color: var(--muted); font-size: 13px; }

/* Páginas genéricas (index.php) */
.page-head { background: var(--ink); color: #fff; padding: 70px 0; }
.page-head__title { font-size: clamp(30px, 4vw, 46px); }
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.2rem; }
.prose a { color: var(--red); text-decoration: underline; }
.entry + .entry { margin-top: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.slide, .slide__content > *, .service, .audience { transition: none; }
	.hero.is-intro .slide.is-active, .hero.is-intro .slide.is-active .slide__content > *, .page-hero__inner > *, .facts--overlap .fact__value, .facts--overlap .fact__label { animation: none; }
}

/* --- Responsivo --- */
@media (max-width: 1180px) {
	.nav__toggle { display: block; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.header.is-open .nav { display: flex; }
	.nav__menu { flex-direction: column; gap: 0; }
	.nav__menu a { display: flex; padding: 13px 0; border-bottom: 1px solid var(--line); }
	.nav__menu a::after { display: none; }
	.nav__menu .menu-item-has-children > a::before { display: none; }
	.nav__menu .sub-menu { position: static; min-width: 0; padding: 0 0 0 18px; border: 0; border-left: 2px solid var(--red-soft); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.nav__menu .sub-menu a { padding: 11px 0; border-radius: 0; }
	.nav__menu .sub-menu a:hover, .nav__menu .sub-menu .current-menu-item > a { background: none; }
	.lang-switch { align-self: flex-start; }
	.categories { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
	.timeline, .values { grid-template-columns: repeat(2, 1fr); }
	.tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
	.audiences__grid, .services, .about, .footer__grid { grid-template-columns: 1fr; }
	.jobs-layout, .job-layout, .alerts, .account__grid, .post-layout { grid-template-columns: 1fr; }
	.post-aside { position: static; }
	.jobs-filters, .job-aside { position: static; }
	.tools, .dashboard__stats { grid-template-columns: 1fr 1fr; }
	.split, .duo, .form-layout { grid-template-columns: 1fr; gap: 32px; }
	.svc-grid, .profile { grid-template-columns: 1fr 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.fact:nth-child(3) { border-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
	.contact-card { position: static; }
	.about__media { min-height: 340px; }
	.about__content { padding: 70px 24px; }
	.categories { grid-template-columns: repeat(2, 1fr); }
	.section__head--row, .infobox__inner { flex-direction: column; align-items: flex-start; }
	.footer__grid { gap: 40px; }
}

@media (max-width: 640px) {
	:root { --header-h: 70px; }
	.job-search { flex-direction: column; margin-top: -32px; }
	.tools, .dashboard__stats, .news-grid, .post-nav { grid-template-columns: 1fr; }
	.post-nav__link--next { grid-column: auto; }
	.news-card__body { padding: 22px; }
	.job-card__main { flex-wrap: wrap; gap: 14px; padding: 18px; }
	.job-card__icon { display: none; }
	.job-card__type { order: -1; }
	.dashboard__cta { flex-direction: column; align-items: flex-start; }
	.account-nav__link { padding: 10px 12px; }
	.account-nav__link--out { margin-left: 0; }
	.page-hero { padding: 70px 0 64px; }
	.timeline, .values, .tiles, .form__grid, .svc-grid, .profile { grid-template-columns: 1fr; }
	.form, .duo__card, .svc { padding: 28px 22px; }
	.fact { padding: 22px 12px; }
	.contact-card { padding: 30px 22px; }
	.map iframe { height: 320px; }
	.container { padding: 0 16px; }
	.header__logo-img { height: 44px; }
	.hero { height: 660px; }
	.slide { align-items: flex-start; padding-top: 56px; }
	.slide::before { background: linear-gradient(180deg, rgba(20, 21, 26, .55) 0%, rgba(20, 21, 26, .9) 100%); }
	.hero__controls { bottom: 104px; }
	.hero__arrows { display: none; }
	.audience { padding: 22px; gap: 16px; }
	.audience__icon { width: 56px; height: 56px; }
	.audience__icon .idy-icon { width: 26px; height: 26px; }
	.audience__go { display: none; }
	.section { padding: 76px 0; }
	.categories { grid-template-columns: 1fr; }
	.about__badge { bottom: 24px; }
}

/* Empregos por categoria: um grupo por categoria-mãe. */
.cat-groups { display: grid; gap: 56px; }
.cat-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-group__title { margin: 0; font-size: 1.5rem; }
